diff --git a/include/aarch64/vmlinux.h b/include/aarch64/vmlinux.h index 0a07c47..f254767 120000 --- a/include/aarch64/vmlinux.h +++ b/include/aarch64/vmlinux.h @@ -1 +1 @@ -vmlinux_6.6.h \ No newline at end of file +vmlinux_6.14.h \ No newline at end of file diff --git a/include/aarch64/vmlinux_6.6.h b/include/aarch64/vmlinux_6.14.h similarity index 83% rename from include/aarch64/vmlinux_6.6.h rename to include/aarch64/vmlinux_6.14.h index 2af12b0..f02bca2 100644 --- a/include/aarch64/vmlinux_6.6.h +++ b/include/aarch64/vmlinux_6.14.h @@ -13,6 +13,14 @@ #define __weak __attribute__((weak)) #endif +#ifndef __bpf_fastcall +#if __has_attribute(bpf_fastcall) +#define __bpf_fastcall __attribute__((bpf_fastcall)) +#else +#define __bpf_fastcall +#endif +#endif + enum { AT_PKT_END = -1, BEYOND_PKT_END = -2, @@ -32,8 +40,7 @@ enum { AX25_VALUES_N2 = 10, AX25_VALUES_PACLEN = 11, AX25_VALUES_PROTOCOL = 12, - AX25_VALUES_DS_TIMEOUT = 13, - AX25_MAX_VALUES = 14, + AX25_MAX_VALUES = 13, }; enum { @@ -65,6 +72,7 @@ enum { BPF_FIB_LKUP_RET_UNSUPP_LWT = 6, BPF_FIB_LKUP_RET_NO_NEIGH = 7, BPF_FIB_LKUP_RET_FRAG_NEEDED = 8, + BPF_FIB_LKUP_RET_NO_SRC_ADDR = 9, }; enum { @@ -72,6 +80,8 @@ enum { BPF_FIB_LOOKUP_OUTPUT = 2, BPF_FIB_LOOKUP_SKIP_NEIGH = 4, BPF_FIB_LOOKUP_TBID = 8, + BPF_FIB_LOOKUP_SRC = 16, + BPF_FIB_LOOKUP_MARK = 32, }; enum { @@ -92,11 +102,6 @@ enum { BPF_F_ADJ_ROOM_DECAP_L3_IPV6 = 256, }; -enum { - BPF_F_BROADCAST = 8, - BPF_F_EXCLUDE_INGRESS = 16, -}; - enum { BPF_F_GET_BRANCH_RECORDS_SIZE = 1, }; @@ -113,12 +118,18 @@ enum { enum { BPF_F_INGRESS = 1, + BPF_F_BROADCAST = 8, + BPF_F_EXCLUDE_INGRESS = 16, +}; + +enum { + BPF_F_KPROBE_MULTI_RETURN = 1, }; enum { - BPF_F_NEIGH = 2, - BPF_F_PEER = 4, - BPF_F_NEXTHOP = 8, + BPF_F_NEIGH = 65536, + BPF_F_PEER = 131072, + BPF_F_NEXTHOP = 262144, }; enum { @@ -137,6 +148,10 @@ enum { BPF_F_INNER_MAP = 4096, BPF_F_LINK = 8192, BPF_F_PATH_FD = 16384, + BPF_F_VTYPE_BTF_OBJ_FD = 32768, + BPF_F_TOKEN_FD = 65536, + BPF_F_SEGV_ON_FAULT = 131072, + BPF_F_NO_USER_CONV = 262144, }; enum { @@ -160,6 +175,7 @@ enum { enum { BPF_F_TIMER_ABS = 1, + BPF_F_TIMER_CPU_PIN = 2, }; enum { @@ -234,6 +250,9 @@ enum { enum { BPF_SKB_TSTAMP_UNSPEC = 0, BPF_SKB_TSTAMP_DELIVERY_MONO = 1, + BPF_SKB_CLOCK_REALTIME = 0, + BPF_SKB_CLOCK_MONOTONIC = 1, + BPF_SKB_CLOCK_TAI = 2, }; enum { @@ -272,9 +291,9 @@ enum { }; enum { - BPF_STRUCT_OPS_TYPE_bpf_dummy_ops = 0, - BPF_STRUCT_OPS_TYPE_tcp_congestion_ops = 1, - __NR_BPF_STRUCT_OPS_TYPE = 2, + BPF_TASK_ITER_ALL_PROCS = 0, + BPF_TASK_ITER_ALL_THREADS = 1, + BPF_TASK_ITER_PROC_THREADS = 2, }; enum { @@ -290,7 +309,8 @@ enum { BPF_TCP_LISTEN = 10, BPF_TCP_CLOSING = 11, BPF_TCP_NEW_SYN_RECV = 12, - BPF_TCP_MAX_STATES = 13, + BPF_TCP_BOUND_INACTIVE = 13, + BPF_TCP_MAX_STATES = 14, }; enum { @@ -300,7 +320,7 @@ enum { }; enum { - BTF_FIELDS_MAX = 10, + BTF_FIELDS_MAX = 11, }; enum { @@ -387,6 +407,11 @@ enum { CAP_HWCAP = 1, }; +enum { + CMIS_MODULE_LOW_PWR = 1, + CMIS_MODULE_READY = 3, +}; + enum { CRNG_EMPTY = 0, CRNG_EARLY = 1, @@ -533,6 +558,16 @@ enum { DEVCONF_MAX = 59, }; +enum { + DIR_OFFSET_FIRST = 2, + DIR_OFFSET_EOD = 2147483647, +}; + +enum { + DIR_OFFSET_MIN = 3, + DIR_OFFSET_MAX = 2147483646, +}; + enum { DISCOVERED = 16, EXPLORED = 32, @@ -596,6 +631,14 @@ enum { ETHTOOL_A_BITSET_MAX = 5, }; +enum { + ETHTOOL_A_C33_PSE_PW_LIMIT_UNSPEC = 0, + ETHTOOL_A_C33_PSE_PW_LIMIT_MIN = 1, + ETHTOOL_A_C33_PSE_PW_LIMIT_MAX = 2, + __ETHTOOL_A_C33_PSE_PW_LIMIT_CNT = 3, + __ETHTOOL_A_C33_PSE_PW_LIMIT_MAX = 2, +}; + enum { ETHTOOL_A_CABLE_AMPLITUDE_UNSPEC = 0, ETHTOOL_A_CABLE_AMPLITUDE_PAIR = 1, @@ -608,8 +651,15 @@ enum { ETHTOOL_A_CABLE_FAULT_LENGTH_UNSPEC = 0, ETHTOOL_A_CABLE_FAULT_LENGTH_PAIR = 1, ETHTOOL_A_CABLE_FAULT_LENGTH_CM = 2, - __ETHTOOL_A_CABLE_FAULT_LENGTH_CNT = 3, - ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 2, + ETHTOOL_A_CABLE_FAULT_LENGTH_SRC = 3, + __ETHTOOL_A_CABLE_FAULT_LENGTH_CNT = 4, + ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 3, +}; + +enum { + ETHTOOL_A_CABLE_INF_SRC_UNSPEC = 0, + ETHTOOL_A_CABLE_INF_SRC_TDR = 1, + ETHTOOL_A_CABLE_INF_SRC_ALCD = 2, }; enum { @@ -638,8 +688,9 @@ enum { ETHTOOL_A_CABLE_RESULT_UNSPEC = 0, ETHTOOL_A_CABLE_RESULT_PAIR = 1, ETHTOOL_A_CABLE_RESULT_CODE = 2, - __ETHTOOL_A_CABLE_RESULT_CNT = 3, - ETHTOOL_A_CABLE_RESULT_MAX = 2, + ETHTOOL_A_CABLE_RESULT_SRC = 3, + __ETHTOOL_A_CABLE_RESULT_CNT = 4, + ETHTOOL_A_CABLE_RESULT_MAX = 3, }; enum { @@ -745,8 +796,10 @@ enum { ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES = 26, ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES = 27, ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS = 28, - __ETHTOOL_A_COALESCE_CNT = 29, - ETHTOOL_A_COALESCE_MAX = 28, + ETHTOOL_A_COALESCE_RX_PROFILE = 29, + ETHTOOL_A_COALESCE_TX_PROFILE = 30, + __ETHTOOL_A_COALESCE_CNT = 31, + ETHTOOL_A_COALESCE_MAX = 30, }; enum { @@ -807,8 +860,18 @@ enum { ETHTOOL_A_HEADER_DEV_INDEX = 1, ETHTOOL_A_HEADER_DEV_NAME = 2, ETHTOOL_A_HEADER_FLAGS = 3, - __ETHTOOL_A_HEADER_CNT = 4, - ETHTOOL_A_HEADER_MAX = 3, + ETHTOOL_A_HEADER_PHY_INDEX = 4, + __ETHTOOL_A_HEADER_CNT = 5, + ETHTOOL_A_HEADER_MAX = 4, +}; + +enum { + ETHTOOL_A_IRQ_MODERATION_UNSPEC = 0, + ETHTOOL_A_IRQ_MODERATION_USEC = 1, + ETHTOOL_A_IRQ_MODERATION_PKTS = 2, + ETHTOOL_A_IRQ_MODERATION_COMPS = 3, + __ETHTOOL_A_IRQ_MODERATION_CNT = 4, + ETHTOOL_A_IRQ_MODERATION_MAX = 3, }; enum { @@ -895,6 +958,19 @@ enum { ETHTOOL_A_MODULE_EEPROM_MAX = 7, }; +enum { + ETHTOOL_A_MODULE_FW_FLASH_UNSPEC = 0, + ETHTOOL_A_MODULE_FW_FLASH_HEADER = 1, + ETHTOOL_A_MODULE_FW_FLASH_FILE_NAME = 2, + ETHTOOL_A_MODULE_FW_FLASH_PASSWORD = 3, + ETHTOOL_A_MODULE_FW_FLASH_STATUS = 4, + ETHTOOL_A_MODULE_FW_FLASH_STATUS_MSG = 5, + ETHTOOL_A_MODULE_FW_FLASH_DONE = 6, + ETHTOOL_A_MODULE_FW_FLASH_TOTAL = 7, + __ETHTOOL_A_MODULE_FW_FLASH_CNT = 8, + ETHTOOL_A_MODULE_FW_FLASH_MAX = 7, +}; + enum { ETHTOOL_A_MODULE_UNSPEC = 0, ETHTOOL_A_MODULE_HEADER = 1, @@ -934,6 +1010,20 @@ enum { ETHTOOL_A_PHC_VCLOCKS_MAX = 3, }; +enum { + ETHTOOL_A_PHY_UNSPEC = 0, + ETHTOOL_A_PHY_HEADER = 1, + ETHTOOL_A_PHY_INDEX = 2, + ETHTOOL_A_PHY_DRVNAME = 3, + ETHTOOL_A_PHY_NAME = 4, + ETHTOOL_A_PHY_UPSTREAM_TYPE = 5, + ETHTOOL_A_PHY_UPSTREAM_INDEX = 6, + ETHTOOL_A_PHY_UPSTREAM_SFP_NAME = 7, + ETHTOOL_A_PHY_DOWNSTREAM_SFP_NAME = 8, + __ETHTOOL_A_PHY_CNT = 9, + ETHTOOL_A_PHY_MAX = 8, +}; + enum { ETHTOOL_A_PLCA_UNSPEC = 0, ETHTOOL_A_PLCA_HEADER = 1, @@ -957,14 +1047,30 @@ enum { ETHTOOL_A_PRIVFLAGS_MAX = 2, }; +enum { + ETHTOOL_A_PROFILE_UNSPEC = 0, + ETHTOOL_A_PROFILE_IRQ_MODERATION = 1, + __ETHTOOL_A_PROFILE_CNT = 2, + ETHTOOL_A_PROFILE_MAX = 1, +}; + enum { ETHTOOL_A_PSE_UNSPEC = 0, ETHTOOL_A_PSE_HEADER = 1, ETHTOOL_A_PODL_PSE_ADMIN_STATE = 2, ETHTOOL_A_PODL_PSE_ADMIN_CONTROL = 3, ETHTOOL_A_PODL_PSE_PW_D_STATUS = 4, - __ETHTOOL_A_PSE_CNT = 5, - ETHTOOL_A_PSE_MAX = 4, + ETHTOOL_A_C33_PSE_ADMIN_STATE = 5, + ETHTOOL_A_C33_PSE_ADMIN_CONTROL = 6, + ETHTOOL_A_C33_PSE_PW_D_STATUS = 7, + ETHTOOL_A_C33_PSE_PW_CLASS = 8, + ETHTOOL_A_C33_PSE_ACTUAL_PW = 9, + ETHTOOL_A_C33_PSE_EXT_STATE = 10, + ETHTOOL_A_C33_PSE_EXT_SUBSTATE = 11, + ETHTOOL_A_C33_PSE_AVAIL_PW_LIMIT = 12, + ETHTOOL_A_C33_PSE_PW_LIMIT_RANGES = 13, + __ETHTOOL_A_PSE_CNT = 14, + ETHTOOL_A_PSE_MAX = 13, }; enum { @@ -985,8 +1091,10 @@ enum { ETHTOOL_A_RINGS_RX_PUSH = 14, ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN = 15, ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN_MAX = 16, - __ETHTOOL_A_RINGS_CNT = 17, - ETHTOOL_A_RINGS_MAX = 16, + ETHTOOL_A_RINGS_HDS_THRESH = 17, + ETHTOOL_A_RINGS_HDS_THRESH_MAX = 18, + __ETHTOOL_A_RINGS_CNT = 19, + ETHTOOL_A_RINGS_MAX = 18, }; enum { @@ -996,8 +1104,10 @@ enum { ETHTOOL_A_RSS_HFUNC = 3, ETHTOOL_A_RSS_INDIR = 4, ETHTOOL_A_RSS_HKEY = 5, - __ETHTOOL_A_RSS_CNT = 6, - ETHTOOL_A_RSS_MAX = 5, + ETHTOOL_A_RSS_INPUT_XFRM = 6, + ETHTOOL_A_RSS_START_CONTEXT = 7, + __ETHTOOL_A_RSS_CNT = 8, + ETHTOOL_A_RSS_MAX = 7, }; enum { @@ -1056,6 +1166,17 @@ enum { ETHTOOL_A_STATS_GRP_MAX = 9, }; +enum { + ETHTOOL_A_STATS_PHY_RX_PKTS = 0, + ETHTOOL_A_STATS_PHY_RX_BYTES = 1, + ETHTOOL_A_STATS_PHY_RX_ERRORS = 2, + ETHTOOL_A_STATS_PHY_TX_PKTS = 3, + ETHTOOL_A_STATS_PHY_TX_BYTES = 4, + ETHTOOL_A_STATS_PHY_TX_ERRORS = 5, + __ETHTOOL_A_STATS_PHY_CNT = 6, + ETHTOOL_A_STATS_PHY_MAX = 5, +}; + enum { ETHTOOL_A_STATS_RMON_UNDERSIZE = 0, ETHTOOL_A_STATS_RMON_OVERSIZE = 1, @@ -1116,6 +1237,17 @@ enum { ETHTOOL_A_STRSET_MAX = 3, }; +enum { + ETHTOOL_A_TSCONFIG_UNSPEC = 0, + ETHTOOL_A_TSCONFIG_HEADER = 1, + ETHTOOL_A_TSCONFIG_HWTSTAMP_PROVIDER = 2, + ETHTOOL_A_TSCONFIG_TX_TYPES = 3, + ETHTOOL_A_TSCONFIG_RX_FILTERS = 4, + ETHTOOL_A_TSCONFIG_HWTSTAMP_FLAGS = 5, + __ETHTOOL_A_TSCONFIG_CNT = 6, + ETHTOOL_A_TSCONFIG_MAX = 5, +}; + enum { ETHTOOL_A_TSINFO_UNSPEC = 0, ETHTOOL_A_TSINFO_HEADER = 1, @@ -1123,8 +1255,28 @@ enum { ETHTOOL_A_TSINFO_TX_TYPES = 3, ETHTOOL_A_TSINFO_RX_FILTERS = 4, ETHTOOL_A_TSINFO_PHC_INDEX = 5, - __ETHTOOL_A_TSINFO_CNT = 6, - ETHTOOL_A_TSINFO_MAX = 5, + ETHTOOL_A_TSINFO_STATS = 6, + ETHTOOL_A_TSINFO_HWTSTAMP_PROVIDER = 7, + __ETHTOOL_A_TSINFO_CNT = 8, + ETHTOOL_A_TSINFO_MAX = 7, +}; + +enum { + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_UNSPEC = 0, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_INDEX = 1, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_QUALIFIER = 2, + __ETHTOOL_A_TS_HWTSTAMP_PROVIDER_CNT = 3, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_MAX = 2, +}; + +enum { + ETHTOOL_A_TS_STAT_UNSPEC = 0, + ETHTOOL_A_TS_STAT_TX_PKTS = 1, + ETHTOOL_A_TS_STAT_TX_LOST = 2, + ETHTOOL_A_TS_STAT_TX_ERR = 3, + ETHTOOL_A_TS_STAT_TX_ONESTEP_PKTS_UNCONFIRMED = 4, + __ETHTOOL_A_TS_STAT_CNT = 5, + ETHTOOL_A_TS_STAT_MAX = 4, }; enum { @@ -1213,8 +1365,13 @@ enum { ETHTOOL_MSG_PLCA_NTF = 41, ETHTOOL_MSG_MM_GET_REPLY = 42, ETHTOOL_MSG_MM_NTF = 43, - __ETHTOOL_MSG_KERNEL_CNT = 44, - ETHTOOL_MSG_KERNEL_MAX = 43, + ETHTOOL_MSG_MODULE_FW_FLASH_NTF = 44, + ETHTOOL_MSG_PHY_GET_REPLY = 45, + ETHTOOL_MSG_PHY_NTF = 46, + ETHTOOL_MSG_TSCONFIG_GET_REPLY = 47, + ETHTOOL_MSG_TSCONFIG_SET_REPLY = 48, + __ETHTOOL_MSG_KERNEL_CNT = 49, + ETHTOOL_MSG_KERNEL_MAX = 48, }; enum { @@ -1262,8 +1419,12 @@ enum { ETHTOOL_MSG_PLCA_GET_STATUS = 41, ETHTOOL_MSG_MM_GET = 42, ETHTOOL_MSG_MM_SET = 43, - __ETHTOOL_MSG_USER_CNT = 44, - ETHTOOL_MSG_USER_MAX = 43, + ETHTOOL_MSG_MODULE_FW_FLASH_ACT = 44, + ETHTOOL_MSG_PHY_GET = 45, + ETHTOOL_MSG_TSCONFIG_GET = 46, + ETHTOOL_MSG_TSCONFIG_SET = 47, + __ETHTOOL_MSG_USER_CNT = 48, + ETHTOOL_MSG_USER_MAX = 47, }; enum { @@ -1271,13 +1432,8 @@ enum { ETHTOOL_STATS_ETH_MAC = 1, ETHTOOL_STATS_ETH_CTRL = 2, ETHTOOL_STATS_RMON = 3, - __ETHTOOL_STATS_CNT = 4, -}; - -enum { - ETHTOOL_TCP_DATA_SPLIT_UNKNOWN = 0, - ETHTOOL_TCP_DATA_SPLIT_DISABLED = 1, - ETHTOOL_TCP_DATA_SPLIT_ENABLED = 2, + ETHTOOL_STATS_PHY = 4, + __ETHTOOL_STATS_CNT = 5, }; enum { @@ -1285,6 +1441,7 @@ enum { ETHTOOL_UDP_TUNNEL_TYPE_GENEVE = 1, ETHTOOL_UDP_TUNNEL_TYPE_VXLAN_GPE = 2, __ETHTOOL_UDP_TUNNEL_TYPE_CNT = 3, + ETHTOOL_UDP_TUNNEL_TYPE_MAX = 2, }; enum { @@ -1294,6 +1451,12 @@ enum { ETH_RSS_HASH_FUNCS_COUNT = 3, }; +enum { + EVENTFS_SAVE_MODE = 65536, + EVENTFS_SAVE_UID = 131072, + EVENTFS_SAVE_GID = 262144, +}; + enum { EVENT_FILE_FL_ENABLED = 1, EVENT_FILE_FL_RECORDED_CMD = 2, @@ -1306,6 +1469,7 @@ enum { EVENT_FILE_FL_TRIGGER_COND = 256, EVENT_FILE_FL_PID_FILTER = 512, EVENT_FILE_FL_WAS_ENABLED = 1024, + EVENT_FILE_FL_FREED = 2048, }; enum { @@ -1320,12 +1484,19 @@ enum { EVENT_FILE_FL_TRIGGER_COND_BIT = 8, EVENT_FILE_FL_PID_FILTER_BIT = 9, EVENT_FILE_FL_WAS_ENABLED_BIT = 10, + EVENT_FILE_FL_FREED_BIT = 11, }; enum { EVENT_TRIGGER_FL_PROBE = 1, }; +enum { + FGRAPH_TYPE_RESERVED = 0, + FGRAPH_TYPE_BITMAP = 1, + FGRAPH_TYPE_DATA = 2, +}; + enum { FIB6_NO_SERNUM_CHANGE = 0, }; @@ -1381,6 +1552,7 @@ enum { FOLL_PIN = 524288, FOLL_FAST_ONLY = 1048576, FOLL_UNLOCKABLE = 2097152, + FOLL_MADV_POPULATE = 4194304, }; enum { @@ -1461,6 +1633,7 @@ enum { FTRACE_OPS_FL_TRACE_ARRAY = 32768, FTRACE_OPS_FL_PERMANENT = 65536, FTRACE_OPS_FL_DIRECT = 131072, + FTRACE_OPS_FL_SUBOP = 262144, }; enum { @@ -1577,6 +1750,11 @@ enum { __ICMP_MIB_MAX = 30, }; +enum { + IDX_MODULE_ID = 0, + IDX_ST_OPS_COMMON_VALUE_ID = 1, +}; + enum { IFAL_ADDRESS = 1, IFAL_LABEL = 2, @@ -1843,7 +2021,9 @@ enum { IFLA_DEVLINK_PORT = 62, IFLA_GSO_IPV4_MAX_SIZE = 63, IFLA_GRO_IPV4_MAX_SIZE = 64, - __IFLA_MAX = 65, + IFLA_DPLL_PIN = 65, + IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, + __IFLA_MAX = 67, }; enum { @@ -2030,6 +2210,17 @@ enum { INET_FLAGS_NODEFRAG = 17, INET_FLAGS_BIND_ADDRESS_NO_PORT = 18, INET_FLAGS_DEFER_CONNECT = 19, + INET_FLAGS_MC6_LOOP = 20, + INET_FLAGS_RECVERR6_RFC4884 = 21, + INET_FLAGS_MC6_ALL = 22, + INET_FLAGS_AUTOFLOWLABEL_SET = 23, + INET_FLAGS_AUTOFLOWLABEL = 24, + INET_FLAGS_DONTFRAG = 25, + INET_FLAGS_RECVERR6 = 26, + INET_FLAGS_REPFLOW = 27, + INET_FLAGS_RTALERT_ISOLATE = 28, + INET_FLAGS_SNDFLOW = 29, + INET_FLAGS_RTALERT = 30, }; enum { @@ -2048,6 +2239,13 @@ enum { __INET_ULP_INFO_MAX = 4, }; +enum { + INSN_F_FRAMENO_MASK = 7, + INSN_F_SPI_MASK = 63, + INSN_F_SPI_SHIFT = 3, + INSN_F_STACK_ACCESS = 512, +}; + enum { INVERT = 1, PROCESS_AND = 2, @@ -2110,47 +2308,6 @@ enum { IORES_DESC_CXL = 9, }; -enum { - IORING_REGISTER_BUFFERS = 0, - IORING_UNREGISTER_BUFFERS = 1, - IORING_REGISTER_FILES = 2, - IORING_UNREGISTER_FILES = 3, - IORING_REGISTER_EVENTFD = 4, - IORING_UNREGISTER_EVENTFD = 5, - IORING_REGISTER_FILES_UPDATE = 6, - IORING_REGISTER_EVENTFD_ASYNC = 7, - IORING_REGISTER_PROBE = 8, - IORING_REGISTER_PERSONALITY = 9, - IORING_UNREGISTER_PERSONALITY = 10, - IORING_REGISTER_RESTRICTIONS = 11, - IORING_REGISTER_ENABLE_RINGS = 12, - IORING_REGISTER_FILES2 = 13, - IORING_REGISTER_FILES_UPDATE2 = 14, - IORING_REGISTER_BUFFERS2 = 15, - IORING_REGISTER_BUFFERS_UPDATE = 16, - IORING_REGISTER_IOWQ_AFF = 17, - IORING_UNREGISTER_IOWQ_AFF = 18, - IORING_REGISTER_IOWQ_MAX_WORKERS = 19, - IORING_REGISTER_RING_FDS = 20, - IORING_UNREGISTER_RING_FDS = 21, - IORING_REGISTER_PBUF_RING = 22, - IORING_UNREGISTER_PBUF_RING = 23, - IORING_REGISTER_SYNC_CANCEL = 24, - IORING_REGISTER_FILE_ALLOC_RANGE = 25, - IORING_REGISTER_LAST = 26, - IORING_REGISTER_USE_REGISTERED_RING = 2147483648, -}; - -enum { - IOSQE_FIXED_FILE_BIT = 0, - IOSQE_IO_DRAIN_BIT = 1, - IOSQE_IO_LINK_BIT = 2, - IOSQE_IO_HARDLINK_BIT = 3, - IOSQE_ASYNC_BIT = 4, - IOSQE_BUFFER_SELECT_BIT = 5, - IOSQE_CQE_SKIP_SUCCESS_BIT = 6, -}; - enum { IP6_FH_F_FRAG = 1, IP6_FH_F_AUTH = 2, @@ -2184,7 +2341,9 @@ enum { IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, + IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, + IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, IPPROTO_MAX = 263, }; @@ -2195,7 +2354,7 @@ enum { IPSTATS_MIB_INOCTETS = 2, IPSTATS_MIB_INDELIVERS = 3, IPSTATS_MIB_OUTFORWDATAGRAMS = 4, - IPSTATS_MIB_OUTPKTS = 5, + IPSTATS_MIB_OUTREQUESTS = 5, IPSTATS_MIB_OUTOCTETS = 6, IPSTATS_MIB_INHDRERRORS = 7, IPSTATS_MIB_INTOOBIGERRORS = 8, @@ -2227,7 +2386,8 @@ enum { IPSTATS_MIB_ECT0PKTS = 34, IPSTATS_MIB_CEPKTS = 35, IPSTATS_MIB_REASM_OVERLAPS = 36, - __IPSTATS_MIB_MAX = 37, + IPSTATS_MIB_OUTPKTS = 37, + __IPSTATS_MIB_MAX = 38, }; enum { @@ -2280,6 +2440,29 @@ enum { IPV6_SADDR_RULE_MAX = 9, }; +enum { + IP_TUNNEL_CSUM_BIT = 0, + IP_TUNNEL_ROUTING_BIT = 1, + IP_TUNNEL_KEY_BIT = 2, + IP_TUNNEL_SEQ_BIT = 3, + IP_TUNNEL_STRICT_BIT = 4, + IP_TUNNEL_REC_BIT = 5, + IP_TUNNEL_VERSION_BIT = 6, + IP_TUNNEL_NO_KEY_BIT = 7, + IP_TUNNEL_DONT_FRAGMENT_BIT = 8, + IP_TUNNEL_OAM_BIT = 9, + IP_TUNNEL_CRIT_OPT_BIT = 10, + IP_TUNNEL_GENEVE_OPT_BIT = 11, + IP_TUNNEL_VXLAN_OPT_BIT = 12, + IP_TUNNEL_NOCACHE_BIT = 13, + IP_TUNNEL_ERSPAN_OPT_BIT = 14, + IP_TUNNEL_GTP_OPT_BIT = 15, + IP_TUNNEL_VTI_BIT = 16, + IP_TUNNEL_SIT_ISATAP_BIT = 16, + IP_TUNNEL_PFCP_OPT_BIT = 17, + __IP_TUNNEL_FLAG_NUM = 18, +}; + enum { IRQCHIP_FWNODE_REAL = 0, IRQCHIP_FWNODE_NAMED = 1, @@ -2299,6 +2482,7 @@ enum { IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND = 512, IRQCHIP_AFFINITY_PRE_STARTUP = 1024, IRQCHIP_IMMUTABLE = 2048, + IRQCHIP_MOVE_DEFERRED = 4096, }; enum { @@ -2315,7 +2499,6 @@ enum { IRQD_AFFINITY_SET = 4096, IRQD_LEVEL = 8192, IRQD_WAKEUP_STATE = 16384, - IRQD_MOVE_PCNTXT = 32768, IRQD_IRQ_DISABLED = 65536, IRQD_IRQ_MASKED = 131072, IRQD_IRQ_INPROGRESS = 262144, @@ -2327,11 +2510,10 @@ enum { IRQD_SINGLE_TARGET = 16777216, IRQD_DEFAULT_TRIGGER_SET = 33554432, IRQD_CAN_RESERVE = 67108864, - IRQD_MSI_NOMASK_QUIRK = 134217728, - IRQD_HANDLE_ENFORCE_IRQCTX = 268435456, - IRQD_AFFINITY_ON_ACTIVATE = 536870912, - IRQD_IRQ_ENABLED_ON_SUSPEND = 1073741824, - IRQD_RESEND_WHEN_IN_PROGRESS = 2147483648, + IRQD_HANDLE_ENFORCE_IRQCTX = 134217728, + IRQD_AFFINITY_ON_ACTIVATE = 268435456, + IRQD_IRQ_ENABLED_ON_SUSPEND = 536870912, + IRQD_RESEND_WHEN_IN_PROGRESS = 1073741824, }; enum { @@ -2366,6 +2548,7 @@ enum { IRQ_DOMAIN_FLAG_NO_MAP = 64, IRQ_DOMAIN_FLAG_MSI_PARENT = 256, IRQ_DOMAIN_FLAG_MSI_DEVICE = 512, + IRQ_DOMAIN_FLAG_DESTROY_GC = 1024, IRQ_DOMAIN_FLAG_NONCORE = 65536, }; @@ -2398,7 +2581,6 @@ enum { IRQ_NOREQUEST = 2048, IRQ_NOAUTOEN = 4096, IRQ_NO_BALANCING = 8192, - IRQ_MOVE_PCNTXT = 16384, IRQ_NESTED_THREAD = 32768, IRQ_NOTHREAD = 65536, IRQ_PER_CPU_DEVID = 131072, @@ -2423,6 +2605,7 @@ enum { KF_ARG_LIST_NODE_ID = 2, KF_ARG_RB_ROOT_ID = 3, KF_ARG_RB_NODE_ID = 4, + KF_ARG_WORKQUEUE_ID = 5, }; enum { @@ -2453,118 +2636,124 @@ enum { LINUX_MIB_TIMEWAITKILLED = 13, LINUX_MIB_PAWSACTIVEREJECTED = 14, LINUX_MIB_PAWSESTABREJECTED = 15, - LINUX_MIB_DELAYEDACKS = 16, - LINUX_MIB_DELAYEDACKLOCKED = 17, - LINUX_MIB_DELAYEDACKLOST = 18, - LINUX_MIB_LISTENOVERFLOWS = 19, - LINUX_MIB_LISTENDROPS = 20, - LINUX_MIB_TCPHPHITS = 21, - LINUX_MIB_TCPPUREACKS = 22, - LINUX_MIB_TCPHPACKS = 23, - LINUX_MIB_TCPRENORECOVERY = 24, - LINUX_MIB_TCPSACKRECOVERY = 25, - LINUX_MIB_TCPSACKRENEGING = 26, - LINUX_MIB_TCPSACKREORDER = 27, - LINUX_MIB_TCPRENOREORDER = 28, - LINUX_MIB_TCPTSREORDER = 29, - LINUX_MIB_TCPFULLUNDO = 30, - LINUX_MIB_TCPPARTIALUNDO = 31, - LINUX_MIB_TCPDSACKUNDO = 32, - LINUX_MIB_TCPLOSSUNDO = 33, - LINUX_MIB_TCPLOSTRETRANSMIT = 34, - LINUX_MIB_TCPRENOFAILURES = 35, - LINUX_MIB_TCPSACKFAILURES = 36, - LINUX_MIB_TCPLOSSFAILURES = 37, - LINUX_MIB_TCPFASTRETRANS = 38, - LINUX_MIB_TCPSLOWSTARTRETRANS = 39, - LINUX_MIB_TCPTIMEOUTS = 40, - LINUX_MIB_TCPLOSSPROBES = 41, - LINUX_MIB_TCPLOSSPROBERECOVERY = 42, - LINUX_MIB_TCPRENORECOVERYFAIL = 43, - LINUX_MIB_TCPSACKRECOVERYFAIL = 44, - LINUX_MIB_TCPRCVCOLLAPSED = 45, - LINUX_MIB_TCPDSACKOLDSENT = 46, - LINUX_MIB_TCPDSACKOFOSENT = 47, - LINUX_MIB_TCPDSACKRECV = 48, - LINUX_MIB_TCPDSACKOFORECV = 49, - LINUX_MIB_TCPABORTONDATA = 50, - LINUX_MIB_TCPABORTONCLOSE = 51, - LINUX_MIB_TCPABORTONMEMORY = 52, - LINUX_MIB_TCPABORTONTIMEOUT = 53, - LINUX_MIB_TCPABORTONLINGER = 54, - LINUX_MIB_TCPABORTFAILED = 55, - LINUX_MIB_TCPMEMORYPRESSURES = 56, - LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 57, - LINUX_MIB_TCPSACKDISCARD = 58, - LINUX_MIB_TCPDSACKIGNOREDOLD = 59, - LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 60, - LINUX_MIB_TCPSPURIOUSRTOS = 61, - LINUX_MIB_TCPMD5NOTFOUND = 62, - LINUX_MIB_TCPMD5UNEXPECTED = 63, - LINUX_MIB_TCPMD5FAILURE = 64, - LINUX_MIB_SACKSHIFTED = 65, - LINUX_MIB_SACKMERGED = 66, - LINUX_MIB_SACKSHIFTFALLBACK = 67, - LINUX_MIB_TCPBACKLOGDROP = 68, - LINUX_MIB_PFMEMALLOCDROP = 69, - LINUX_MIB_TCPMINTTLDROP = 70, - LINUX_MIB_TCPDEFERACCEPTDROP = 71, - LINUX_MIB_IPRPFILTER = 72, - LINUX_MIB_TCPTIMEWAITOVERFLOW = 73, - LINUX_MIB_TCPREQQFULLDOCOOKIES = 74, - LINUX_MIB_TCPREQQFULLDROP = 75, - LINUX_MIB_TCPRETRANSFAIL = 76, - LINUX_MIB_TCPRCVCOALESCE = 77, - LINUX_MIB_TCPBACKLOGCOALESCE = 78, - LINUX_MIB_TCPOFOQUEUE = 79, - LINUX_MIB_TCPOFODROP = 80, - LINUX_MIB_TCPOFOMERGE = 81, - LINUX_MIB_TCPCHALLENGEACK = 82, - LINUX_MIB_TCPSYNCHALLENGE = 83, - LINUX_MIB_TCPFASTOPENACTIVE = 84, - LINUX_MIB_TCPFASTOPENACTIVEFAIL = 85, - LINUX_MIB_TCPFASTOPENPASSIVE = 86, - LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 87, - LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 88, - LINUX_MIB_TCPFASTOPENCOOKIEREQD = 89, - LINUX_MIB_TCPFASTOPENBLACKHOLE = 90, - LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 91, - LINUX_MIB_BUSYPOLLRXPACKETS = 92, - LINUX_MIB_TCPAUTOCORKING = 93, - LINUX_MIB_TCPFROMZEROWINDOWADV = 94, - LINUX_MIB_TCPTOZEROWINDOWADV = 95, - LINUX_MIB_TCPWANTZEROWINDOWADV = 96, - LINUX_MIB_TCPSYNRETRANS = 97, - LINUX_MIB_TCPORIGDATASENT = 98, - LINUX_MIB_TCPHYSTARTTRAINDETECT = 99, - LINUX_MIB_TCPHYSTARTTRAINCWND = 100, - LINUX_MIB_TCPHYSTARTDELAYDETECT = 101, - LINUX_MIB_TCPHYSTARTDELAYCWND = 102, - LINUX_MIB_TCPACKSKIPPEDSYNRECV = 103, - LINUX_MIB_TCPACKSKIPPEDPAWS = 104, - LINUX_MIB_TCPACKSKIPPEDSEQ = 105, - LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 106, - LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 107, - LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 108, - LINUX_MIB_TCPWINPROBE = 109, - LINUX_MIB_TCPKEEPALIVE = 110, - LINUX_MIB_TCPMTUPFAIL = 111, - LINUX_MIB_TCPMTUPSUCCESS = 112, - LINUX_MIB_TCPDELIVERED = 113, - LINUX_MIB_TCPDELIVEREDCE = 114, - LINUX_MIB_TCPACKCOMPRESSED = 115, - LINUX_MIB_TCPZEROWINDOWDROP = 116, - LINUX_MIB_TCPRCVQDROP = 117, - LINUX_MIB_TCPWQUEUETOOBIG = 118, - LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 119, - LINUX_MIB_TCPTIMEOUTREHASH = 120, - LINUX_MIB_TCPDUPLICATEDATAREHASH = 121, - LINUX_MIB_TCPDSACKRECVSEGS = 122, - LINUX_MIB_TCPDSACKIGNOREDDUBIOUS = 123, - LINUX_MIB_TCPMIGRATEREQSUCCESS = 124, - LINUX_MIB_TCPMIGRATEREQFAILURE = 125, - LINUX_MIB_TCPPLBREHASH = 126, - __LINUX_MIB_MAX = 127, + LINUX_MIB_PAWS_OLD_ACK = 16, + LINUX_MIB_DELAYEDACKS = 17, + LINUX_MIB_DELAYEDACKLOCKED = 18, + LINUX_MIB_DELAYEDACKLOST = 19, + LINUX_MIB_LISTENOVERFLOWS = 20, + LINUX_MIB_LISTENDROPS = 21, + LINUX_MIB_TCPHPHITS = 22, + LINUX_MIB_TCPPUREACKS = 23, + LINUX_MIB_TCPHPACKS = 24, + LINUX_MIB_TCPRENORECOVERY = 25, + LINUX_MIB_TCPSACKRECOVERY = 26, + LINUX_MIB_TCPSACKRENEGING = 27, + LINUX_MIB_TCPSACKREORDER = 28, + LINUX_MIB_TCPRENOREORDER = 29, + LINUX_MIB_TCPTSREORDER = 30, + LINUX_MIB_TCPFULLUNDO = 31, + LINUX_MIB_TCPPARTIALUNDO = 32, + LINUX_MIB_TCPDSACKUNDO = 33, + LINUX_MIB_TCPLOSSUNDO = 34, + LINUX_MIB_TCPLOSTRETRANSMIT = 35, + LINUX_MIB_TCPRENOFAILURES = 36, + LINUX_MIB_TCPSACKFAILURES = 37, + LINUX_MIB_TCPLOSSFAILURES = 38, + LINUX_MIB_TCPFASTRETRANS = 39, + LINUX_MIB_TCPSLOWSTARTRETRANS = 40, + LINUX_MIB_TCPTIMEOUTS = 41, + LINUX_MIB_TCPLOSSPROBES = 42, + LINUX_MIB_TCPLOSSPROBERECOVERY = 43, + LINUX_MIB_TCPRENORECOVERYFAIL = 44, + LINUX_MIB_TCPSACKRECOVERYFAIL = 45, + LINUX_MIB_TCPRCVCOLLAPSED = 46, + LINUX_MIB_TCPDSACKOLDSENT = 47, + LINUX_MIB_TCPDSACKOFOSENT = 48, + LINUX_MIB_TCPDSACKRECV = 49, + LINUX_MIB_TCPDSACKOFORECV = 50, + LINUX_MIB_TCPABORTONDATA = 51, + LINUX_MIB_TCPABORTONCLOSE = 52, + LINUX_MIB_TCPABORTONMEMORY = 53, + LINUX_MIB_TCPABORTONTIMEOUT = 54, + LINUX_MIB_TCPABORTONLINGER = 55, + LINUX_MIB_TCPABORTFAILED = 56, + LINUX_MIB_TCPMEMORYPRESSURES = 57, + LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 58, + LINUX_MIB_TCPSACKDISCARD = 59, + LINUX_MIB_TCPDSACKIGNOREDOLD = 60, + LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 61, + LINUX_MIB_TCPSPURIOUSRTOS = 62, + LINUX_MIB_TCPMD5NOTFOUND = 63, + LINUX_MIB_TCPMD5UNEXPECTED = 64, + LINUX_MIB_TCPMD5FAILURE = 65, + LINUX_MIB_SACKSHIFTED = 66, + LINUX_MIB_SACKMERGED = 67, + LINUX_MIB_SACKSHIFTFALLBACK = 68, + LINUX_MIB_TCPBACKLOGDROP = 69, + LINUX_MIB_PFMEMALLOCDROP = 70, + LINUX_MIB_TCPMINTTLDROP = 71, + LINUX_MIB_TCPDEFERACCEPTDROP = 72, + LINUX_MIB_IPRPFILTER = 73, + LINUX_MIB_TCPTIMEWAITOVERFLOW = 74, + LINUX_MIB_TCPREQQFULLDOCOOKIES = 75, + LINUX_MIB_TCPREQQFULLDROP = 76, + LINUX_MIB_TCPRETRANSFAIL = 77, + LINUX_MIB_TCPRCVCOALESCE = 78, + LINUX_MIB_TCPBACKLOGCOALESCE = 79, + LINUX_MIB_TCPOFOQUEUE = 80, + LINUX_MIB_TCPOFODROP = 81, + LINUX_MIB_TCPOFOMERGE = 82, + LINUX_MIB_TCPCHALLENGEACK = 83, + LINUX_MIB_TCPSYNCHALLENGE = 84, + LINUX_MIB_TCPFASTOPENACTIVE = 85, + LINUX_MIB_TCPFASTOPENACTIVEFAIL = 86, + LINUX_MIB_TCPFASTOPENPASSIVE = 87, + LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 88, + LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 89, + LINUX_MIB_TCPFASTOPENCOOKIEREQD = 90, + LINUX_MIB_TCPFASTOPENBLACKHOLE = 91, + LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 92, + LINUX_MIB_BUSYPOLLRXPACKETS = 93, + LINUX_MIB_TCPAUTOCORKING = 94, + LINUX_MIB_TCPFROMZEROWINDOWADV = 95, + LINUX_MIB_TCPTOZEROWINDOWADV = 96, + LINUX_MIB_TCPWANTZEROWINDOWADV = 97, + LINUX_MIB_TCPSYNRETRANS = 98, + LINUX_MIB_TCPORIGDATASENT = 99, + LINUX_MIB_TCPHYSTARTTRAINDETECT = 100, + LINUX_MIB_TCPHYSTARTTRAINCWND = 101, + LINUX_MIB_TCPHYSTARTDELAYDETECT = 102, + LINUX_MIB_TCPHYSTARTDELAYCWND = 103, + LINUX_MIB_TCPACKSKIPPEDSYNRECV = 104, + LINUX_MIB_TCPACKSKIPPEDPAWS = 105, + LINUX_MIB_TCPACKSKIPPEDSEQ = 106, + LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 107, + LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 108, + LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 109, + LINUX_MIB_TCPWINPROBE = 110, + LINUX_MIB_TCPKEEPALIVE = 111, + LINUX_MIB_TCPMTUPFAIL = 112, + LINUX_MIB_TCPMTUPSUCCESS = 113, + LINUX_MIB_TCPDELIVERED = 114, + LINUX_MIB_TCPDELIVEREDCE = 115, + LINUX_MIB_TCPACKCOMPRESSED = 116, + LINUX_MIB_TCPZEROWINDOWDROP = 117, + LINUX_MIB_TCPRCVQDROP = 118, + LINUX_MIB_TCPWQUEUETOOBIG = 119, + LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 120, + LINUX_MIB_TCPTIMEOUTREHASH = 121, + LINUX_MIB_TCPDUPLICATEDATAREHASH = 122, + LINUX_MIB_TCPDSACKRECVSEGS = 123, + LINUX_MIB_TCPDSACKIGNOREDDUBIOUS = 124, + LINUX_MIB_TCPMIGRATEREQSUCCESS = 125, + LINUX_MIB_TCPMIGRATEREQFAILURE = 126, + LINUX_MIB_TCPPLBREHASH = 127, + LINUX_MIB_TCPAOREQUIRED = 128, + LINUX_MIB_TCPAOBAD = 129, + LINUX_MIB_TCPAOKEYNOTFOUND = 130, + LINUX_MIB_TCPAOGOOD = 131, + LINUX_MIB_TCPAODROPPEDICMPS = 132, + __LINUX_MIB_MAX = 133, }; enum { @@ -2581,7 +2770,12 @@ enum { LINUX_MIB_TLSRXDEVICERESYNC = 10, LINUX_MIB_TLSDECRYPTRETRY = 11, LINUX_MIB_TLSRXNOPADVIOL = 12, - __LINUX_MIB_TLSMAX = 13, + LINUX_MIB_TLSRXREKEYOK = 13, + LINUX_MIB_TLSRXREKEYERROR = 14, + LINUX_MIB_TLSTXREKEYOK = 15, + LINUX_MIB_TLSTXREKEYERROR = 16, + LINUX_MIB_TLSRXREKEYRECEIVED = 17, + __LINUX_MIB_TLSMAX = 18, }; enum { @@ -2614,7 +2808,11 @@ enum { LINUX_MIB_XFRMFWDHDRERROR = 26, LINUX_MIB_XFRMOUTSTATEINVALID = 27, LINUX_MIB_XFRMACQUIREERROR = 28, - __LINUX_MIB_XFRMMAX = 29, + LINUX_MIB_XFRMOUTSTATEDIRERROR = 29, + LINUX_MIB_XFRMINSTATEDIRERROR = 30, + LINUX_MIB_XFRMINIPTFSERROR = 31, + LINUX_MIB_XFRMOUTNOQSPACE = 32, + __LINUX_MIB_XFRMMAX = 33, }; enum { @@ -2662,6 +2860,13 @@ enum { MAX_OPT_ARGS = 3, }; +enum { + MDBA_GET_ENTRY_UNSPEC = 0, + MDBA_GET_ENTRY = 1, + MDBA_GET_ENTRY_ATTRS = 2, + __MDBA_GET_ENTRY_MAX = 3, +}; + enum { MDBA_SET_ENTRY_UNSPEC = 0, MDBA_SET_ENTRY = 1, @@ -2697,7 +2902,9 @@ enum { MSI_FLAG_DEV_SYSFS = 16, MSI_FLAG_ALLOC_SIMPLE_MSI_DESCS = 32, MSI_FLAG_FREE_MSI_DESCS = 64, - MSI_FLAG_NOMASK_QUIRK = 128, + MSI_FLAG_USE_DEV_FWNODE = 128, + MSI_FLAG_PARENT_PM_DEV = 256, + MSI_FLAG_PCI_MSI_MASK_PARENT = 512, MSI_GENERIC_FLAGS_MASK = 65535, MSI_DOMAIN_FLAGS_MASK = 4294901760, MSI_FLAG_MULTI_PCI_MSI = 65536, @@ -2705,7 +2912,7 @@ enum { MSI_FLAG_LEVEL_CAPABLE = 262144, MSI_FLAG_MSIX_CONTIGUOUS = 524288, MSI_FLAG_PCI_MSIX_ALLOC_DYN = 1048576, - MSI_FLAG_PCI_IMS = 2097152, + MSI_FLAG_NO_AFFINITY = 2097152, }; enum { @@ -2721,6 +2928,11 @@ enum { NAPIF_STATE_SCHED_THREADED = 512, }; +enum { + NAPI_F_PREFER_BUSY_POLL = 1, + NAPI_F_END_ON_RESCHED = 2, +}; + enum { NAPI_STATE_SCHED = 0, NAPI_STATE_MISSED = 1, @@ -2823,9 +3035,8 @@ enum { enum { NEIGH_ARP_TABLE = 0, NEIGH_ND_TABLE = 1, - NEIGH_DN_TABLE = 2, - NEIGH_NR_TABLES = 3, - NEIGH_LINK_TABLE = 3, + NEIGH_NR_TABLES = 2, + NEIGH_LINK_TABLE = 2, }; enum { @@ -2876,8 +3087,106 @@ enum { NETDEV_A_DEV_PAD = 2, NETDEV_A_DEV_XDP_FEATURES = 3, NETDEV_A_DEV_XDP_ZC_MAX_SEGS = 4, - __NETDEV_A_DEV_MAX = 5, - NETDEV_A_DEV_MAX = 4, + NETDEV_A_DEV_XDP_RX_METADATA_FEATURES = 5, + NETDEV_A_DEV_XSK_FEATURES = 6, + __NETDEV_A_DEV_MAX = 7, + NETDEV_A_DEV_MAX = 6, +}; + +enum { + NETDEV_A_DMABUF_IFINDEX = 1, + NETDEV_A_DMABUF_QUEUES = 2, + NETDEV_A_DMABUF_FD = 3, + NETDEV_A_DMABUF_ID = 4, + __NETDEV_A_DMABUF_MAX = 5, + NETDEV_A_DMABUF_MAX = 4, +}; + +enum { + NETDEV_A_NAPI_IFINDEX = 1, + NETDEV_A_NAPI_ID = 2, + NETDEV_A_NAPI_IRQ = 3, + NETDEV_A_NAPI_PID = 4, + NETDEV_A_NAPI_DEFER_HARD_IRQS = 5, + NETDEV_A_NAPI_GRO_FLUSH_TIMEOUT = 6, + NETDEV_A_NAPI_IRQ_SUSPEND_TIMEOUT = 7, + __NETDEV_A_NAPI_MAX = 8, + NETDEV_A_NAPI_MAX = 7, +}; + +enum { + NETDEV_A_PAGE_POOL_ID = 1, + NETDEV_A_PAGE_POOL_IFINDEX = 2, + NETDEV_A_PAGE_POOL_NAPI_ID = 3, + NETDEV_A_PAGE_POOL_INFLIGHT = 4, + NETDEV_A_PAGE_POOL_INFLIGHT_MEM = 5, + NETDEV_A_PAGE_POOL_DETACH_TIME = 6, + NETDEV_A_PAGE_POOL_DMABUF = 7, + __NETDEV_A_PAGE_POOL_MAX = 8, + NETDEV_A_PAGE_POOL_MAX = 7, +}; + +enum { + NETDEV_A_PAGE_POOL_STATS_INFO = 1, + NETDEV_A_PAGE_POOL_STATS_ALLOC_FAST = 8, + NETDEV_A_PAGE_POOL_STATS_ALLOC_SLOW = 9, + NETDEV_A_PAGE_POOL_STATS_ALLOC_SLOW_HIGH_ORDER = 10, + NETDEV_A_PAGE_POOL_STATS_ALLOC_EMPTY = 11, + NETDEV_A_PAGE_POOL_STATS_ALLOC_REFILL = 12, + NETDEV_A_PAGE_POOL_STATS_ALLOC_WAIVE = 13, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_CACHED = 14, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_CACHE_FULL = 15, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RING = 16, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RING_FULL = 17, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RELEASED_REFCNT = 18, + __NETDEV_A_PAGE_POOL_STATS_MAX = 19, + NETDEV_A_PAGE_POOL_STATS_MAX = 18, +}; + +enum { + NETDEV_A_QSTATS_IFINDEX = 1, + NETDEV_A_QSTATS_QUEUE_TYPE = 2, + NETDEV_A_QSTATS_QUEUE_ID = 3, + NETDEV_A_QSTATS_SCOPE = 4, + NETDEV_A_QSTATS_RX_PACKETS = 8, + NETDEV_A_QSTATS_RX_BYTES = 9, + NETDEV_A_QSTATS_TX_PACKETS = 10, + NETDEV_A_QSTATS_TX_BYTES = 11, + NETDEV_A_QSTATS_RX_ALLOC_FAIL = 12, + NETDEV_A_QSTATS_RX_HW_DROPS = 13, + NETDEV_A_QSTATS_RX_HW_DROP_OVERRUNS = 14, + NETDEV_A_QSTATS_RX_CSUM_COMPLETE = 15, + NETDEV_A_QSTATS_RX_CSUM_UNNECESSARY = 16, + NETDEV_A_QSTATS_RX_CSUM_NONE = 17, + NETDEV_A_QSTATS_RX_CSUM_BAD = 18, + NETDEV_A_QSTATS_RX_HW_GRO_PACKETS = 19, + NETDEV_A_QSTATS_RX_HW_GRO_BYTES = 20, + NETDEV_A_QSTATS_RX_HW_GRO_WIRE_PACKETS = 21, + NETDEV_A_QSTATS_RX_HW_GRO_WIRE_BYTES = 22, + NETDEV_A_QSTATS_RX_HW_DROP_RATELIMITS = 23, + NETDEV_A_QSTATS_TX_HW_DROPS = 24, + NETDEV_A_QSTATS_TX_HW_DROP_ERRORS = 25, + NETDEV_A_QSTATS_TX_CSUM_NONE = 26, + NETDEV_A_QSTATS_TX_NEEDS_CSUM = 27, + NETDEV_A_QSTATS_TX_HW_GSO_PACKETS = 28, + NETDEV_A_QSTATS_TX_HW_GSO_BYTES = 29, + NETDEV_A_QSTATS_TX_HW_GSO_WIRE_PACKETS = 30, + NETDEV_A_QSTATS_TX_HW_GSO_WIRE_BYTES = 31, + NETDEV_A_QSTATS_TX_HW_DROP_RATELIMITS = 32, + NETDEV_A_QSTATS_TX_STOP = 33, + NETDEV_A_QSTATS_TX_WAKE = 34, + __NETDEV_A_QSTATS_MAX = 35, + NETDEV_A_QSTATS_MAX = 34, +}; + +enum { + NETDEV_A_QUEUE_ID = 1, + NETDEV_A_QUEUE_IFINDEX = 2, + NETDEV_A_QUEUE_TYPE = 3, + NETDEV_A_QUEUE_NAPI_ID = 4, + NETDEV_A_QUEUE_DMABUF = 5, + __NETDEV_A_QUEUE_MAX = 6, + NETDEV_A_QUEUE_MAX = 5, }; enum { @@ -2885,12 +3194,23 @@ enum { NETDEV_CMD_DEV_ADD_NTF = 2, NETDEV_CMD_DEV_DEL_NTF = 3, NETDEV_CMD_DEV_CHANGE_NTF = 4, - __NETDEV_CMD_MAX = 5, - NETDEV_CMD_MAX = 4, + NETDEV_CMD_PAGE_POOL_GET = 5, + NETDEV_CMD_PAGE_POOL_ADD_NTF = 6, + NETDEV_CMD_PAGE_POOL_DEL_NTF = 7, + NETDEV_CMD_PAGE_POOL_CHANGE_NTF = 8, + NETDEV_CMD_PAGE_POOL_STATS_GET = 9, + NETDEV_CMD_QUEUE_GET = 10, + NETDEV_CMD_NAPI_GET = 11, + NETDEV_CMD_QSTATS_GET = 12, + NETDEV_CMD_BIND_RX = 13, + NETDEV_CMD_NAPI_SET = 14, + __NETDEV_CMD_MAX = 15, + NETDEV_CMD_MAX = 14, }; enum { NETDEV_NLGRP_MGMT = 0, + NETDEV_NLGRP_PAGE_POOL = 1, }; enum { @@ -2906,8 +3226,8 @@ enum { NETIF_F_HW_VLAN_CTAG_FILTER_BIT = 9, NETIF_F_VLAN_CHALLENGED_BIT = 10, NETIF_F_GSO_BIT = 11, - NETIF_F_LLTX_BIT = 12, - NETIF_F_NETNS_LOCAL_BIT = 13, + __UNUSED_NETIF_F_12 = 12, + __UNUSED_NETIF_F_13 = 13, NETIF_F_GRO_BIT = 14, NETIF_F_LRO_BIT = 15, NETIF_F_GSO_SHIFT = 16, @@ -2933,7 +3253,7 @@ enum { NETIF_F_GSO_LAST = 34, NETIF_F_FCOE_CRC_BIT = 35, NETIF_F_SCTP_CRC_BIT = 36, - NETIF_F_FCOE_MTU_BIT = 37, + __UNUSED_NETIF_F_37 = 37, NETIF_F_NTUPLE_BIT = 38, NETIF_F_RXHASH_BIT = 39, NETIF_F_RXCSUM_BIT = 40, @@ -3036,6 +3356,20 @@ enum { NFPROTO_NUMPROTO = 11, }; +enum { + NHA_GROUP_STATS_ENTRY_UNSPEC = 0, + NHA_GROUP_STATS_ENTRY_ID = 1, + NHA_GROUP_STATS_ENTRY_PACKETS = 2, + NHA_GROUP_STATS_ENTRY_PACKETS_HW = 3, + __NHA_GROUP_STATS_ENTRY_MAX = 4, +}; + +enum { + NHA_GROUP_STATS_UNSPEC = 0, + NHA_GROUP_STATS_ENTRY = 1, + __NHA_GROUP_STATS_MAX = 2, +}; + enum { NHA_RES_BUCKET_UNSPEC = 0, NHA_RES_BUCKET_PAD = 0, @@ -3070,7 +3404,11 @@ enum { NHA_FDB = 11, NHA_RES_GROUP = 12, NHA_RES_BUCKET = 13, - __NHA_MAX = 14, + NHA_OP_FLAGS = 14, + NHA_GROUP_STATS = 15, + NHA_HW_STATS_ENABLE = 16, + NHA_HW_STATS_USED = 17, + __NHA_MAX = 18, }; enum { @@ -3094,7 +3432,9 @@ enum { NLA_REJECT = 17, NLA_BE16 = 18, NLA_BE32 = 19, - __NLA_TYPE_MAX = 20, + NLA_SINT = 20, + NLA_UINT = 21, + __NLA_TYPE_MAX = 22, }; enum { @@ -3103,24 +3443,19 @@ enum { }; enum { - OPT_MODE = 0, + OPT_UID = 0, + OPT_GID = 1, + OPT_MODE = 2, + OPT_DELEGATE_CMDS = 3, + OPT_DELEGATE_MAPS = 4, + OPT_DELEGATE_PROGS = 5, + OPT_DELEGATE_ATTACHS = 6, }; enum { Opt_uid = 0, Opt_gid = 1, Opt_mode = 2, - Opt_err = 3, -}; - -enum { - PCI_STD_RESOURCES = 0, - PCI_STD_RESOURCE_END = 5, - PCI_ROM_RESOURCE = 6, - PCI_BRIDGE_RESOURCES = 7, - PCI_BRIDGE_RESOURCE_END = 10, - PCI_NUM_RESOURCES = 11, - DEVICE_COUNT_RESOURCE = 11, }; enum { @@ -3161,29 +3496,6 @@ enum { POOL_EARLY_BITS = 128, }; -enum { - POOL_MANAGER_ACTIVE = 1, - POOL_DISASSOCIATED = 4, - WORKER_DIE = 2, - WORKER_IDLE = 4, - WORKER_PREP = 8, - WORKER_CPU_INTENSIVE = 64, - WORKER_UNBOUND = 128, - WORKER_REBOUND = 256, - WORKER_NOT_RUNNING = 456, - NR_STD_WORKER_POOLS = 2, - UNBOUND_POOL_HASH_ORDER = 6, - BUSY_WORKER_HASH_ORDER = 6, - MAX_IDLE_WORKERS_RATIO = 4, - IDLE_WORKER_TIMEOUT = 75000, - MAYDAY_INITIAL_TIMEOUT = 2, - MAYDAY_INTERVAL = 25, - CREATE_COOLDOWN = 250, - RESCUER_NICE_LEVEL = -20, - HIGHPRI_NICE_LEVEL = -20, - WQ_NAME_LEN = 24, -}; - enum { POWER_SUPPLY_SCOPE_UNKNOWN = 0, POWER_SUPPLY_SCOPE_SYSTEM = 1, @@ -3258,12 +3570,6 @@ enum { REGION_MIXED = 2, }; -enum { - REG_OP_ISFREE = 0, - REG_OP_ALLOC = 1, - REG_OP_RELEASE = 2, -}; - enum { REQ_F_FIXED_FILE_BIT = 0, REQ_F_IO_DRAIN_BIT = 1, @@ -3279,23 +3585,29 @@ enum { REQ_F_LINK_TIMEOUT_BIT = 12, REQ_F_NEED_CLEANUP_BIT = 13, REQ_F_POLLED_BIT = 14, - REQ_F_BUFFER_SELECTED_BIT = 15, - REQ_F_BUFFER_RING_BIT = 16, - REQ_F_REISSUE_BIT = 17, - REQ_F_CREDS_BIT = 18, - REQ_F_REFCOUNT_BIT = 19, - REQ_F_ARM_LTIMEOUT_BIT = 20, - REQ_F_ASYNC_DATA_BIT = 21, - REQ_F_SKIP_LINK_CQES_BIT = 22, - REQ_F_SINGLE_POLL_BIT = 23, - REQ_F_DOUBLE_POLL_BIT = 24, - REQ_F_PARTIAL_IO_BIT = 25, + REQ_F_HYBRID_IOPOLL_STATE_BIT = 15, + REQ_F_BUFFER_SELECTED_BIT = 16, + REQ_F_BUFFER_RING_BIT = 17, + REQ_F_REISSUE_BIT = 18, + REQ_F_CREDS_BIT = 19, + REQ_F_REFCOUNT_BIT = 20, + REQ_F_ARM_LTIMEOUT_BIT = 21, + REQ_F_ASYNC_DATA_BIT = 22, + REQ_F_SKIP_LINK_CQES_BIT = 23, + REQ_F_SINGLE_POLL_BIT = 24, + REQ_F_DOUBLE_POLL_BIT = 25, REQ_F_APOLL_MULTISHOT_BIT = 26, REQ_F_CLEAR_POLLIN_BIT = 27, - REQ_F_HASH_LOCKED_BIT = 28, - REQ_F_SUPPORT_NOWAIT_BIT = 29, - REQ_F_ISREG_BIT = 30, - __REQ_F_LAST_BIT = 31, + REQ_F_SUPPORT_NOWAIT_BIT = 28, + REQ_F_ISREG_BIT = 29, + REQ_F_POLL_NO_LAZY_BIT = 30, + REQ_F_CAN_POLL_BIT = 31, + REQ_F_BL_EMPTY_BIT = 32, + REQ_F_BL_NO_RECYCLE_BIT = 33, + REQ_F_BUFFERS_COMMIT_BIT = 34, + REQ_F_BUF_NODE_BIT = 35, + REQ_F_HAS_METADATA_BIT = 36, + __REQ_F_LAST_BIT = 37, }; enum { @@ -3351,7 +3663,11 @@ enum { RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, + RTM_NEWMULTICAST = 56, + RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, + RTM_NEWANYCAST = 60, + RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -3442,12 +3758,13 @@ enum { SD_ASYM_CPUCAPACITY = 32, SD_ASYM_CPUCAPACITY_FULL = 64, SD_SHARE_CPUCAPACITY = 128, - SD_SHARE_PKG_RESOURCES = 256, - SD_SERIALIZE = 512, - SD_ASYM_PACKING = 1024, - SD_PREFER_SIBLING = 2048, - SD_OVERLAP = 4096, - SD_NUMA = 8192, + SD_CLUSTER = 256, + SD_SHARE_LLC = 512, + SD_SERIALIZE = 1024, + SD_ASYM_PACKING = 2048, + SD_PREFER_SIBLING = 4096, + SD_OVERLAP = 8192, + SD_NUMA = 16384, }; enum { @@ -3479,6 +3796,136 @@ enum { __SEG6_CMD_MAX = 5, }; +enum { + SFF8024_ID_UNK = 0, + SFF8024_ID_SFF_8472 = 2, + SFF8024_ID_SFP = 3, + SFF8024_ID_DWDM_SFP = 11, + SFF8024_ID_QSFP_8438 = 12, + SFF8024_ID_QSFP_8436_8636 = 13, + SFF8024_ID_QSFP28_8636 = 17, + SFF8024_ID_QSFP_DD = 24, + SFF8024_ID_OSFP = 25, + SFF8024_ID_DSFP = 27, + SFF8024_ID_QSFP_PLUS_CMIS = 30, + SFF8024_ID_SFP_DD_CMIS = 31, + SFF8024_ID_SFP_PLUS_CMIS = 32, + SFF8024_ENCODING_UNSPEC = 0, + SFF8024_ENCODING_8B10B = 1, + SFF8024_ENCODING_4B5B = 2, + SFF8024_ENCODING_NRZ = 3, + SFF8024_ENCODING_8472_MANCHESTER = 4, + SFF8024_ENCODING_8472_SONET = 5, + SFF8024_ENCODING_8472_64B66B = 6, + SFF8024_ENCODING_8436_MANCHESTER = 6, + SFF8024_ENCODING_8436_SONET = 4, + SFF8024_ENCODING_8436_64B66B = 5, + SFF8024_ENCODING_256B257B = 7, + SFF8024_ENCODING_PAM4 = 8, + SFF8024_CONNECTOR_UNSPEC = 0, + SFF8024_CONNECTOR_SC = 1, + SFF8024_CONNECTOR_FIBERJACK = 6, + SFF8024_CONNECTOR_LC = 7, + SFF8024_CONNECTOR_MT_RJ = 8, + SFF8024_CONNECTOR_MU = 9, + SFF8024_CONNECTOR_SG = 10, + SFF8024_CONNECTOR_OPTICAL_PIGTAIL = 11, + SFF8024_CONNECTOR_MPO_1X12 = 12, + SFF8024_CONNECTOR_MPO_2X16 = 13, + SFF8024_CONNECTOR_HSSDC_II = 32, + SFF8024_CONNECTOR_COPPER_PIGTAIL = 33, + SFF8024_CONNECTOR_RJ45 = 34, + SFF8024_CONNECTOR_NOSEPARATE = 35, + SFF8024_CONNECTOR_MXC_2X16 = 36, + SFF8024_ECC_UNSPEC = 0, + SFF8024_ECC_100G_25GAUI_C2M_AOC = 1, + SFF8024_ECC_100GBASE_SR4_25GBASE_SR = 2, + SFF8024_ECC_100GBASE_LR4_25GBASE_LR = 3, + SFF8024_ECC_100GBASE_ER4_25GBASE_ER = 4, + SFF8024_ECC_100GBASE_SR10 = 5, + SFF8024_ECC_100GBASE_CR4 = 11, + SFF8024_ECC_25GBASE_CR_S = 12, + SFF8024_ECC_25GBASE_CR_N = 13, + SFF8024_ECC_10GBASE_T_SFI = 22, + SFF8024_ECC_10GBASE_T_SR = 28, + SFF8024_ECC_5GBASE_T = 29, + SFF8024_ECC_2_5GBASE_T = 30, +}; + +enum { + SFP_PHYS_ID = 0, + SFP_PHYS_EXT_ID = 1, + SFP_PHYS_EXT_ID_SFP = 4, + SFP_CONNECTOR = 2, + SFP_COMPLIANCE = 3, + SFP_ENCODING = 11, + SFP_BR_NOMINAL = 12, + SFP_RATE_ID = 13, + SFF_RID_8079 = 1, + SFF_RID_8431_RX_ONLY = 2, + SFF_RID_8431_TX_ONLY = 4, + SFF_RID_8431 = 6, + SFF_RID_10G8G = 14, + SFP_LINK_LEN_SM_KM = 14, + SFP_LINK_LEN_SM_100M = 15, + SFP_LINK_LEN_50UM_OM2_10M = 16, + SFP_LINK_LEN_62_5UM_OM1_10M = 17, + SFP_LINK_LEN_COPPER_1M = 18, + SFP_LINK_LEN_50UM_OM4_10M = 18, + SFP_LINK_LEN_50UM_OM3_10M = 19, + SFP_VENDOR_NAME = 20, + SFP_VENDOR_OUI = 37, + SFP_VENDOR_PN = 40, + SFP_VENDOR_REV = 56, + SFP_OPTICAL_WAVELENGTH_MSB = 60, + SFP_OPTICAL_WAVELENGTH_LSB = 61, + SFP_CABLE_SPEC = 60, + SFP_CC_BASE = 63, + SFP_OPTIONS = 64, + SFP_OPTIONS_HIGH_POWER_LEVEL = 8192, + SFP_OPTIONS_PAGING_A2 = 4096, + SFP_OPTIONS_RETIMER = 2048, + SFP_OPTIONS_COOLED_XCVR = 1024, + SFP_OPTIONS_POWER_DECL = 512, + SFP_OPTIONS_RX_LINEAR_OUT = 256, + SFP_OPTIONS_RX_DECISION_THRESH = 128, + SFP_OPTIONS_TUNABLE_TX = 64, + SFP_OPTIONS_RATE_SELECT = 32, + SFP_OPTIONS_TX_DISABLE = 16, + SFP_OPTIONS_TX_FAULT = 8, + SFP_OPTIONS_LOS_INVERTED = 4, + SFP_OPTIONS_LOS_NORMAL = 2, + SFP_BR_MAX = 66, + SFP_BR_MIN = 67, + SFP_VENDOR_SN = 68, + SFP_DATECODE = 84, + SFP_DIAGMON = 92, + SFP_DIAGMON_DDM = 64, + SFP_DIAGMON_INT_CAL = 32, + SFP_DIAGMON_EXT_CAL = 16, + SFP_DIAGMON_RXPWR_AVG = 8, + SFP_DIAGMON_ADDRMODE = 4, + SFP_ENHOPTS = 93, + SFP_ENHOPTS_ALARMWARN = 128, + SFP_ENHOPTS_SOFT_TX_DISABLE = 64, + SFP_ENHOPTS_SOFT_TX_FAULT = 32, + SFP_ENHOPTS_SOFT_RX_LOS = 16, + SFP_ENHOPTS_SOFT_RATE_SELECT = 8, + SFP_ENHOPTS_APP_SELECT_SFF8079 = 4, + SFP_ENHOPTS_SOFT_RATE_SFF8431 = 2, + SFP_SFF8472_COMPLIANCE = 94, + SFP_SFF8472_COMPLIANCE_NONE = 0, + SFP_SFF8472_COMPLIANCE_REV9_3 = 1, + SFP_SFF8472_COMPLIANCE_REV9_5 = 2, + SFP_SFF8472_COMPLIANCE_REV10_2 = 3, + SFP_SFF8472_COMPLIANCE_REV10_4 = 4, + SFP_SFF8472_COMPLIANCE_REV11_0 = 5, + SFP_SFF8472_COMPLIANCE_REV11_3 = 6, + SFP_SFF8472_COMPLIANCE_REV11_4 = 7, + SFP_SFF8472_COMPLIANCE_REV12_0 = 8, + SFP_CC_EXT = 95, +}; + enum { SKBFL_ZEROCOPY_ENABLE = 1, SKBFL_SHARED_FRAG = 2, @@ -3583,8 +4030,9 @@ enum { SOF_TIMESTAMPING_OPT_TX_SWHW = 16384, SOF_TIMESTAMPING_BIND_PHC = 32768, SOF_TIMESTAMPING_OPT_ID_TCP = 65536, - SOF_TIMESTAMPING_LAST = 65536, - SOF_TIMESTAMPING_MASK = 131071, + SOF_TIMESTAMPING_OPT_RX_FILTER = 131072, + SOF_TIMESTAMPING_LAST = 131072, + SOF_TIMESTAMPING_MASK = 262143, }; enum { @@ -3601,7 +4049,6 @@ enum { SWP_PAGE_DISCARD = 1024, SWP_STABLE_WRITES = 2048, SWP_SYNCHRONOUS_IO = 4096, - SWP_SCANNING = 16384, }; enum { @@ -3620,6 +4067,16 @@ enum { TASK_COMM_LEN = 16, }; +enum { + TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT = 1, + TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST = 2, + TCA_FLOWER_KEY_FLAGS_TUNNEL_CSUM = 4, + TCA_FLOWER_KEY_FLAGS_TUNNEL_DONT_FRAGMENT = 8, + TCA_FLOWER_KEY_FLAGS_TUNNEL_OAM = 16, + TCA_FLOWER_KEY_FLAGS_TUNNEL_CRIT_OPT = 32, + __TCA_FLOWER_KEY_FLAGS_MAX = 33, +}; + enum { TCA_STATS_UNSPEC = 0, TCA_STATS_BASIC = 1, @@ -3667,6 +4124,7 @@ enum { TCPF_LISTEN = 1024, TCPF_CLOSING = 2048, TCPF_NEW_SYN_RECV = 4096, + TCPF_BOUND_INACTIVE = 8192, }; enum { @@ -3691,6 +4149,7 @@ enum { TCP_BPF_SYN = 1005, TCP_BPF_SYN_IP = 1006, TCP_BPF_SYN_MAC = 1007, + TCP_BPF_SOCK_OPS_CB_FLAGS = 1008, }; enum { @@ -3711,7 +4170,8 @@ enum { TCP_LISTEN = 10, TCP_CLOSING = 11, TCP_NEW_SYN_RECV = 12, - TCP_MAX_STATES = 13, + TCP_BOUND_INACTIVE = 13, + TCP_MAX_STATES = 14, }; enum { @@ -3834,78 +4294,85 @@ enum { TP_ERR_NON_UNIQ_SYMBOL = 10, TP_ERR_BAD_RETPROBE = 11, TP_ERR_NO_TRACEPOINT = 12, - TP_ERR_BAD_ADDR_SUFFIX = 13, - TP_ERR_NO_GROUP_NAME = 14, - TP_ERR_GROUP_TOO_LONG = 15, - TP_ERR_BAD_GROUP_NAME = 16, - TP_ERR_NO_EVENT_NAME = 17, - TP_ERR_EVENT_TOO_LONG = 18, - TP_ERR_BAD_EVENT_NAME = 19, - TP_ERR_EVENT_EXIST = 20, - TP_ERR_RETVAL_ON_PROBE = 21, - TP_ERR_NO_RETVAL = 22, - TP_ERR_BAD_STACK_NUM = 23, - TP_ERR_BAD_ARG_NUM = 24, - TP_ERR_BAD_VAR = 25, - TP_ERR_BAD_REG_NAME = 26, - TP_ERR_BAD_MEM_ADDR = 27, - TP_ERR_BAD_IMM = 28, - TP_ERR_IMMSTR_NO_CLOSE = 29, - TP_ERR_FILE_ON_KPROBE = 30, - TP_ERR_BAD_FILE_OFFS = 31, - TP_ERR_SYM_ON_UPROBE = 32, - TP_ERR_TOO_MANY_OPS = 33, - TP_ERR_DEREF_NEED_BRACE = 34, - TP_ERR_BAD_DEREF_OFFS = 35, - TP_ERR_DEREF_OPEN_BRACE = 36, - TP_ERR_COMM_CANT_DEREF = 37, - TP_ERR_BAD_FETCH_ARG = 38, - TP_ERR_ARRAY_NO_CLOSE = 39, - TP_ERR_BAD_ARRAY_SUFFIX = 40, - TP_ERR_BAD_ARRAY_NUM = 41, - TP_ERR_ARRAY_TOO_BIG = 42, - TP_ERR_BAD_TYPE = 43, - TP_ERR_BAD_STRING = 44, - TP_ERR_BAD_SYMSTRING = 45, - TP_ERR_BAD_BITFIELD = 46, - TP_ERR_ARG_NAME_TOO_LONG = 47, - TP_ERR_NO_ARG_NAME = 48, - TP_ERR_BAD_ARG_NAME = 49, - TP_ERR_USED_ARG_NAME = 50, - TP_ERR_ARG_TOO_LONG = 51, - TP_ERR_NO_ARG_BODY = 52, - TP_ERR_BAD_INSN_BNDRY = 53, - TP_ERR_FAIL_REG_PROBE = 54, - TP_ERR_DIFF_PROBE_TYPE = 55, - TP_ERR_DIFF_ARG_TYPE = 56, - TP_ERR_SAME_PROBE = 57, - TP_ERR_NO_EVENT_INFO = 58, - TP_ERR_BAD_ATTACH_EVENT = 59, - TP_ERR_BAD_ATTACH_ARG = 60, - TP_ERR_NO_EP_FILTER = 61, - TP_ERR_NOSUP_BTFARG = 62, - TP_ERR_NO_BTFARG = 63, - TP_ERR_NO_BTF_ENTRY = 64, - TP_ERR_BAD_VAR_ARGS = 65, - TP_ERR_NOFENTRY_ARGS = 66, - TP_ERR_DOUBLE_ARGS = 67, - TP_ERR_ARGS_2LONG = 68, - TP_ERR_ARGIDX_2BIG = 69, - TP_ERR_NO_PTR_STRCT = 70, - TP_ERR_NOSUP_DAT_ARG = 71, - TP_ERR_BAD_HYPHEN = 72, - TP_ERR_NO_BTF_FIELD = 73, - TP_ERR_BAD_BTF_TID = 74, - TP_ERR_BAD_TYPE4STR = 75, + TP_ERR_BAD_TP_NAME = 13, + TP_ERR_BAD_ADDR_SUFFIX = 14, + TP_ERR_NO_GROUP_NAME = 15, + TP_ERR_GROUP_TOO_LONG = 16, + TP_ERR_BAD_GROUP_NAME = 17, + TP_ERR_NO_EVENT_NAME = 18, + TP_ERR_EVENT_TOO_LONG = 19, + TP_ERR_BAD_EVENT_NAME = 20, + TP_ERR_EVENT_EXIST = 21, + TP_ERR_RETVAL_ON_PROBE = 22, + TP_ERR_NO_RETVAL = 23, + TP_ERR_BAD_STACK_NUM = 24, + TP_ERR_BAD_ARG_NUM = 25, + TP_ERR_BAD_VAR = 26, + TP_ERR_BAD_REG_NAME = 27, + TP_ERR_BAD_MEM_ADDR = 28, + TP_ERR_BAD_IMM = 29, + TP_ERR_IMMSTR_NO_CLOSE = 30, + TP_ERR_FILE_ON_KPROBE = 31, + TP_ERR_BAD_FILE_OFFS = 32, + TP_ERR_SYM_ON_UPROBE = 33, + TP_ERR_TOO_MANY_OPS = 34, + TP_ERR_DEREF_NEED_BRACE = 35, + TP_ERR_BAD_DEREF_OFFS = 36, + TP_ERR_DEREF_OPEN_BRACE = 37, + TP_ERR_COMM_CANT_DEREF = 38, + TP_ERR_BAD_FETCH_ARG = 39, + TP_ERR_ARRAY_NO_CLOSE = 40, + TP_ERR_BAD_ARRAY_SUFFIX = 41, + TP_ERR_BAD_ARRAY_NUM = 42, + TP_ERR_ARRAY_TOO_BIG = 43, + TP_ERR_BAD_TYPE = 44, + TP_ERR_BAD_STRING = 45, + TP_ERR_BAD_SYMSTRING = 46, + TP_ERR_BAD_BITFIELD = 47, + TP_ERR_ARG_NAME_TOO_LONG = 48, + TP_ERR_NO_ARG_NAME = 49, + TP_ERR_BAD_ARG_NAME = 50, + TP_ERR_USED_ARG_NAME = 51, + TP_ERR_ARG_TOO_LONG = 52, + TP_ERR_NO_ARG_BODY = 53, + TP_ERR_BAD_INSN_BNDRY = 54, + TP_ERR_FAIL_REG_PROBE = 55, + TP_ERR_DIFF_PROBE_TYPE = 56, + TP_ERR_DIFF_ARG_TYPE = 57, + TP_ERR_SAME_PROBE = 58, + TP_ERR_NO_EVENT_INFO = 59, + TP_ERR_BAD_ATTACH_EVENT = 60, + TP_ERR_BAD_ATTACH_ARG = 61, + TP_ERR_NO_EP_FILTER = 62, + TP_ERR_NOSUP_BTFARG = 63, + TP_ERR_NO_BTFARG = 64, + TP_ERR_NO_BTF_ENTRY = 65, + TP_ERR_BAD_VAR_ARGS = 66, + TP_ERR_NOFENTRY_ARGS = 67, + TP_ERR_DOUBLE_ARGS = 68, + TP_ERR_ARGS_2LONG = 69, + TP_ERR_ARGIDX_2BIG = 70, + TP_ERR_NO_PTR_STRCT = 71, + TP_ERR_NOSUP_DAT_ARG = 72, + TP_ERR_BAD_HYPHEN = 73, + TP_ERR_NO_BTF_FIELD = 74, + TP_ERR_BAD_BTF_TID = 75, + TP_ERR_BAD_TYPE4STR = 76, + TP_ERR_NEED_STRING_TYPE = 77, + TP_ERR_TOO_MANY_EARGS = 78, }; enum { TRACEFS_EVENT_INODE = 2, - TRACEFS_EVENT_TOP_INODE = 4, + TRACEFS_GID_PERM_SET = 4, + TRACEFS_UID_PERM_SET = 8, + TRACEFS_INSTANCE_INODE = 16, }; enum { TRACE_ARRAY_FL_GLOBAL = 1, + TRACE_ARRAY_FL_BOOT = 2, + TRACE_ARRAY_FL_MOD_INIT = 4, }; enum { @@ -3917,31 +4384,31 @@ enum { }; enum { - TRACE_EVENT_FL_FILTERED = 1, - TRACE_EVENT_FL_CAP_ANY = 2, - TRACE_EVENT_FL_NO_SET_FILTER = 4, - TRACE_EVENT_FL_IGNORE_ENABLE = 8, - TRACE_EVENT_FL_TRACEPOINT = 16, - TRACE_EVENT_FL_DYNAMIC = 32, - TRACE_EVENT_FL_KPROBE = 64, - TRACE_EVENT_FL_UPROBE = 128, - TRACE_EVENT_FL_EPROBE = 256, - TRACE_EVENT_FL_FPROBE = 512, - TRACE_EVENT_FL_CUSTOM = 1024, + TRACE_EVENT_FL_CAP_ANY = 1, + TRACE_EVENT_FL_NO_SET_FILTER = 2, + TRACE_EVENT_FL_IGNORE_ENABLE = 4, + TRACE_EVENT_FL_TRACEPOINT = 8, + TRACE_EVENT_FL_DYNAMIC = 16, + TRACE_EVENT_FL_KPROBE = 32, + TRACE_EVENT_FL_UPROBE = 64, + TRACE_EVENT_FL_EPROBE = 128, + TRACE_EVENT_FL_FPROBE = 256, + TRACE_EVENT_FL_CUSTOM = 512, + TRACE_EVENT_FL_TEST_STR = 1024, }; enum { - TRACE_EVENT_FL_FILTERED_BIT = 0, - TRACE_EVENT_FL_CAP_ANY_BIT = 1, - TRACE_EVENT_FL_NO_SET_FILTER_BIT = 2, - TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 3, - TRACE_EVENT_FL_TRACEPOINT_BIT = 4, - TRACE_EVENT_FL_DYNAMIC_BIT = 5, - TRACE_EVENT_FL_KPROBE_BIT = 6, - TRACE_EVENT_FL_UPROBE_BIT = 7, - TRACE_EVENT_FL_EPROBE_BIT = 8, - TRACE_EVENT_FL_FPROBE_BIT = 9, - TRACE_EVENT_FL_CUSTOM_BIT = 10, + TRACE_EVENT_FL_CAP_ANY_BIT = 0, + TRACE_EVENT_FL_NO_SET_FILTER_BIT = 1, + TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 2, + TRACE_EVENT_FL_TRACEPOINT_BIT = 3, + TRACE_EVENT_FL_DYNAMIC_BIT = 4, + TRACE_EVENT_FL_KPROBE_BIT = 5, + TRACE_EVENT_FL_UPROBE_BIT = 6, + TRACE_EVENT_FL_EPROBE_BIT = 7, + TRACE_EVENT_FL_FPROBE_BIT = 8, + TRACE_EVENT_FL_CUSTOM_BIT = 9, + TRACE_EVENT_FL_TEST_STR_BIT = 10, }; enum { @@ -3957,11 +4424,7 @@ enum { TRACE_INTERNAL_TRANSITION_BIT = 9, TRACE_BRANCH_BIT = 10, TRACE_IRQ_BIT = 11, - TRACE_GRAPH_BIT = 12, - TRACE_GRAPH_DEPTH_START_BIT = 13, - TRACE_GRAPH_DEPTH_END_BIT = 14, - TRACE_GRAPH_NOTRACE_BIT = 15, - TRACE_RECORD_RECURSION_BIT = 16, + TRACE_RECORD_RECURSION_BIT = 12, }; enum { @@ -3971,6 +4434,13 @@ enum { TRACE_FUNC_OPT_HIGHEST_BIT = 4, }; +enum { + TRACE_GRAPH_FL = 1, + TRACE_GRAPH_DEPTH_START_BIT = 2, + TRACE_GRAPH_DEPTH_END_BIT = 3, + TRACE_GRAPH_NOTRACE_BIT = 4, +}; + enum { TRACE_NOP_OPT_ACCEPT = 1, TRACE_NOP_OPT_REFUSE = 2, @@ -3995,6 +4465,18 @@ enum { UDP_BPF_NUM_PROTS = 2, }; +enum { + UDP_FLAGS_CORK = 0, + UDP_FLAGS_NO_CHECK6_TX = 1, + UDP_FLAGS_NO_CHECK6_RX = 2, + UDP_FLAGS_GRO_ENABLED = 3, + UDP_FLAGS_ACCEPT_FRAGLIST = 4, + UDP_FLAGS_ACCEPT_L4 = 5, + UDP_FLAGS_ENCAP_ENABLED = 6, + UDP_FLAGS_UDPLITE_SEND_CC = 7, + UDP_FLAGS_UDPLITE_RECV_CC = 8, +}; + enum { UDP_MIB_NUM = 0, UDP_MIB_INDATAGRAMS = 1, @@ -4029,50 +4511,6 @@ enum { WALK_NOFOLLOW = 4, }; -enum { - WORK_STRUCT_PENDING_BIT = 0, - WORK_STRUCT_INACTIVE_BIT = 1, - WORK_STRUCT_PWQ_BIT = 2, - WORK_STRUCT_LINKED_BIT = 3, - WORK_STRUCT_COLOR_SHIFT = 4, - WORK_STRUCT_COLOR_BITS = 4, - WORK_STRUCT_PENDING = 1, - WORK_STRUCT_INACTIVE = 2, - WORK_STRUCT_PWQ = 4, - WORK_STRUCT_LINKED = 8, - WORK_STRUCT_STATIC = 0, - WORK_NR_COLORS = 16, - WORK_CPU_UNBOUND = 256, - WORK_STRUCT_FLAG_BITS = 8, - WORK_OFFQ_FLAG_BASE = 4, - __WORK_OFFQ_CANCELING = 4, - WORK_OFFQ_FLAG_BITS = 1, - WORK_OFFQ_POOL_SHIFT = 5, - WORK_OFFQ_LEFT = 59, - WORK_OFFQ_POOL_BITS = 31, - WORK_BUSY_PENDING = 1, - WORK_BUSY_RUNNING = 2, - WORKER_DESC_LEN = 24, -}; - -enum { - WQ_UNBOUND = 2, - WQ_FREEZABLE = 4, - WQ_MEM_RECLAIM = 8, - WQ_HIGHPRI = 16, - WQ_CPU_INTENSIVE = 32, - WQ_SYSFS = 64, - WQ_POWER_EFFICIENT = 128, - __WQ_DESTROYING = 32768, - __WQ_DRAINING = 65536, - __WQ_ORDERED = 131072, - __WQ_LEGACY = 262144, - __WQ_ORDERED_EXPLICIT = 524288, - WQ_MAX_ACTIVE = 512, - WQ_UNBOUND_MAX_ACTIVE = 512, - WQ_DFL_ACTIVE = 256, -}; - enum { XA_CHECK_SCHED = 4096, }; @@ -4085,12 +4523,6 @@ enum { XDP_ATTACHED_MULTI = 4, }; -enum { - XDP_METADATA_KFUNC_RX_TIMESTAMP = 0, - XDP_METADATA_KFUNC_RX_HASH = 1, - MAX_XDP_METADATA_KFUNC = 2, -}; - enum { XFRM_LOOKUP_ICMP = 1, XFRM_LOOKUP_QUEUE = 2, @@ -4155,7 +4587,6 @@ enum { _IRQ_NOREQUEST = 2048, _IRQ_NOTHREAD = 65536, _IRQ_NOAUTOEN = 4096, - _IRQ_MOVE_PCNTXT = 16384, _IRQ_NO_BALANCING = 8192, _IRQ_NESTED_THREAD = 32768, _IRQ_PER_CPU_DEVID = 131072, @@ -4163,7 +4594,7 @@ enum { _IRQ_DISABLE_UNLAZY = 524288, _IRQ_HIDDEN = 1048576, _IRQ_NO_DEBUG = 2097152, - _IRQF_MODIFY_MASK = 2096911, + _IRQF_MODIFY_MASK = 2080527, }; enum { @@ -4194,48 +4625,59 @@ enum { enum { __SCHED_FEAT_PLACE_LAG = 0, __SCHED_FEAT_PLACE_DEADLINE_INITIAL = 1, - __SCHED_FEAT_RUN_TO_PARITY = 2, - __SCHED_FEAT_NEXT_BUDDY = 3, - __SCHED_FEAT_CACHE_HOT_BUDDY = 4, - __SCHED_FEAT_WAKEUP_PREEMPTION = 5, - __SCHED_FEAT_HRTICK = 6, - __SCHED_FEAT_HRTICK_DL = 7, - __SCHED_FEAT_DOUBLE_TICK = 8, - __SCHED_FEAT_NONTASK_CAPACITY = 9, - __SCHED_FEAT_TTWU_QUEUE = 10, - __SCHED_FEAT_SIS_PROP = 11, - __SCHED_FEAT_SIS_UTIL = 12, - __SCHED_FEAT_WARN_DOUBLE_CLOCK = 13, - __SCHED_FEAT_RT_PUSH_IPI = 14, - __SCHED_FEAT_RT_RUNTIME_SHARE = 15, - __SCHED_FEAT_LB_MIN = 16, - __SCHED_FEAT_ATTACH_AGE_LOAD = 17, - __SCHED_FEAT_WA_IDLE = 18, - __SCHED_FEAT_WA_WEIGHT = 19, - __SCHED_FEAT_WA_BIAS = 20, - __SCHED_FEAT_UTIL_EST = 21, - __SCHED_FEAT_UTIL_EST_FASTUP = 22, - __SCHED_FEAT_LATENCY_WARN = 23, - __SCHED_FEAT_HZ_BW = 24, - __SCHED_FEAT_NR = 25, -}; - -enum { - __SD_BALANCE_NEWIDLE = 0, - __SD_BALANCE_EXEC = 1, - __SD_BALANCE_FORK = 2, - __SD_BALANCE_WAKE = 3, - __SD_WAKE_AFFINE = 4, - __SD_ASYM_CPUCAPACITY = 5, - __SD_ASYM_CPUCAPACITY_FULL = 6, - __SD_SHARE_CPUCAPACITY = 7, - __SD_SHARE_PKG_RESOURCES = 8, - __SD_SERIALIZE = 9, - __SD_ASYM_PACKING = 10, - __SD_PREFER_SIBLING = 11, - __SD_OVERLAP = 12, - __SD_NUMA = 13, - __SD_FLAG_CNT = 14, + __SCHED_FEAT_PLACE_REL_DEADLINE = 2, + __SCHED_FEAT_RUN_TO_PARITY = 3, + __SCHED_FEAT_PREEMPT_SHORT = 4, + __SCHED_FEAT_NEXT_BUDDY = 5, + __SCHED_FEAT_PICK_BUDDY = 6, + __SCHED_FEAT_CACHE_HOT_BUDDY = 7, + __SCHED_FEAT_DELAY_DEQUEUE = 8, + __SCHED_FEAT_DELAY_ZERO = 9, + __SCHED_FEAT_WAKEUP_PREEMPTION = 10, + __SCHED_FEAT_HRTICK = 11, + __SCHED_FEAT_HRTICK_DL = 12, + __SCHED_FEAT_NONTASK_CAPACITY = 13, + __SCHED_FEAT_TTWU_QUEUE = 14, + __SCHED_FEAT_SIS_UTIL = 15, + __SCHED_FEAT_WARN_DOUBLE_CLOCK = 16, + __SCHED_FEAT_RT_PUSH_IPI = 17, + __SCHED_FEAT_RT_RUNTIME_SHARE = 18, + __SCHED_FEAT_LB_MIN = 19, + __SCHED_FEAT_ATTACH_AGE_LOAD = 20, + __SCHED_FEAT_WA_IDLE = 21, + __SCHED_FEAT_WA_WEIGHT = 22, + __SCHED_FEAT_WA_BIAS = 23, + __SCHED_FEAT_UTIL_EST = 24, + __SCHED_FEAT_LATENCY_WARN = 25, + __SCHED_FEAT_NR = 26, +}; + +enum { + ___GFP_DMA_BIT = 0, + ___GFP_HIGHMEM_BIT = 1, + ___GFP_DMA32_BIT = 2, + ___GFP_MOVABLE_BIT = 3, + ___GFP_RECLAIMABLE_BIT = 4, + ___GFP_HIGH_BIT = 5, + ___GFP_IO_BIT = 6, + ___GFP_FS_BIT = 7, + ___GFP_ZERO_BIT = 8, + ___GFP_UNUSED_BIT = 9, + ___GFP_DIRECT_RECLAIM_BIT = 10, + ___GFP_KSWAPD_RECLAIM_BIT = 11, + ___GFP_WRITE_BIT = 12, + ___GFP_NOWARN_BIT = 13, + ___GFP_RETRY_MAYFAIL_BIT = 14, + ___GFP_NOFAIL_BIT = 15, + ___GFP_NORETRY_BIT = 16, + ___GFP_MEMALLOC_BIT = 17, + ___GFP_COMP_BIT = 18, + ___GFP_NOMEMALLOC_BIT = 19, + ___GFP_HARDWALL_BIT = 20, + ___GFP_THISNODE_BIT = 21, + ___GFP_ACCOUNT_BIT = 22, + ___GFP_ZEROTAGS_BIT = 23, + ___GFP_LAST_BIT = 24, }; enum { @@ -4262,8 +4704,7 @@ enum { __ctx_convertBPF_PROG_TYPE_STRUCT_OPS = 20, __ctx_convertBPF_PROG_TYPE_EXT = 21, __ctx_convertBPF_PROG_TYPE_SYSCALL = 22, - __ctx_convertBPF_PROG_TYPE_NETFILTER = 23, - __ctx_convert_unused = 24, + __ctx_convert_unused = 23, }; enum { @@ -4318,7 +4759,8 @@ typedef enum { PHY_INTERFACE_MODE_10GKR = 30, PHY_INTERFACE_MODE_QUSGMII = 31, PHY_INTERFACE_MODE_1000BASEKX = 32, - PHY_INTERFACE_MODE_MAX = 33, + PHY_INTERFACE_MODE_10G_QXGMII = 33, + PHY_INTERFACE_MODE_MAX = 34, } phy_interface_t; typedef enum { @@ -4342,6 +4784,26 @@ enum __sk_action { __SK_NONE = 3, }; +enum _slab_flag_bits { + _SLAB_CONSISTENCY_CHECKS = 0, + _SLAB_RED_ZONE = 1, + _SLAB_POISON = 2, + _SLAB_KMALLOC = 3, + _SLAB_HWCACHE_ALIGN = 4, + _SLAB_CACHE_DMA = 5, + _SLAB_CACHE_DMA32 = 6, + _SLAB_STORE_USER = 7, + _SLAB_PANIC = 8, + _SLAB_TYPESAFE_BY_RCU = 9, + _SLAB_TRACE = 10, + _SLAB_NOLEAKTRACE = 11, + _SLAB_NO_MERGE = 12, + _SLAB_NO_USER_FLAGS = 13, + _SLAB_OBJECT_POISON = 14, + _SLAB_CMPXCHG_DOUBLE = 15, + _SLAB_FLAGS_LAST_BIT = 16, +}; + enum aarch64_insn_adr_type { AARCH64_INSN_ADR_TYPE_ADRP = 0, AARCH64_INSN_ADR_TYPE_ADR = 1, @@ -4585,23 +5047,25 @@ enum aarch64_insn_special_register { AARCH64_INSN_SPCLREG_SP_EL2 = 61968, }; +enum aarch64_insn_system_register { + AARCH64_INSN_SYSREG_TPIDR_EL1 = 18052, + AARCH64_INSN_SYSREG_TPIDR_EL2 = 26242, + AARCH64_INSN_SYSREG_SP_EL0 = 16904, +}; + enum aarch64_insn_variant { AARCH64_INSN_VARIANT_32BIT = 0, AARCH64_INSN_VARIANT_64BIT = 1, }; -enum aarch64_map { - AA64_MAP_VVAR = 0, - AA64_MAP_VDSO = 1, -}; - enum aarch64_regset { REGSET_GPR = 0, REGSET_FPR = 1, REGSET_TLS = 2, REGSET_HW_BREAK = 3, REGSET_HW_WATCH = 4, - REGSET_SYSTEM_CALL = 5, + REGSET_FPMR = 5, + REGSET_SYSTEM_CALL = 6, }; enum aarch64_reloc_op { @@ -4617,11 +5081,6 @@ enum addr_type_t { ANYCAST_ADDR = 2, }; -enum alarmtimer_restart { - ALARMTIMER_NORESTART = 0, - ALARMTIMER_RESTART = 1, -}; - enum alarmtimer_type { ALARM_REALTIME = 0, ALARM_BOOTTIME = 1, @@ -4650,6 +5109,10 @@ enum arch_timer_spi_nr { ARCH_TIMER_MAX_TIMER_SPI = 2, }; +enum arm64_bp_harden_el1_vectors { + EL1_VECTOR_KPTI = 0, +}; + enum arm64_hyp_spectre_vector { HYP_VECTOR_DIRECT = 0, HYP_VECTOR_SPECTRE_DIRECT = 1, @@ -4729,10 +5192,12 @@ enum blake2s_lengths { BLAKE2S_256_HASH_SIZE = 32, }; -enum blk_bounce { - BLK_BOUNCE_NONE = 0, - BLK_BOUNCE_HIGH = 1, -}; +enum blk_integrity_checksum { + BLK_INTEGRITY_CSUM_NONE = 0, + BLK_INTEGRITY_CSUM_IP = 1, + BLK_INTEGRITY_CSUM_CRC = 2, + BLK_INTEGRITY_CSUM_CRC64 = 3, +} __attribute__((mode(byte))); enum blk_unique_id { BLK_UID_T10 = 1, @@ -4740,12 +5205,6 @@ enum blk_unique_id { BLK_UID_NAA = 3, }; -enum blk_zoned_model { - BLK_ZONED_NONE = 0, - BLK_ZONED_HA = 1, - BLK_ZONED_HM = 2, -}; - enum bp_type_idx { TYPE_INST = 0, TYPE_DATA = 1, @@ -4762,6 +5221,10 @@ enum bpf_access_type { BPF_WRITE = 2, }; +enum bpf_addr_space_cast { + BPF_ADDR_SPACE_CAST = 1, +}; + enum bpf_adj_room_mode { BPF_ADJ_ROOM_NET = 0, BPF_ADJ_ROOM_MAC = 1, @@ -4773,36 +5236,40 @@ enum bpf_arg_type { ARG_PTR_TO_MAP_KEY = 2, ARG_PTR_TO_MAP_VALUE = 3, ARG_PTR_TO_MEM = 4, - ARG_CONST_SIZE = 5, - ARG_CONST_SIZE_OR_ZERO = 6, - ARG_PTR_TO_CTX = 7, - ARG_ANYTHING = 8, - ARG_PTR_TO_SPIN_LOCK = 9, - ARG_PTR_TO_SOCK_COMMON = 10, - ARG_PTR_TO_INT = 11, - ARG_PTR_TO_LONG = 12, - ARG_PTR_TO_SOCKET = 13, - ARG_PTR_TO_BTF_ID = 14, - ARG_PTR_TO_RINGBUF_MEM = 15, - ARG_CONST_ALLOC_SIZE_OR_ZERO = 16, - ARG_PTR_TO_BTF_ID_SOCK_COMMON = 17, - ARG_PTR_TO_PERCPU_BTF_ID = 18, - ARG_PTR_TO_FUNC = 19, - ARG_PTR_TO_STACK = 20, - ARG_PTR_TO_CONST_STR = 21, - ARG_PTR_TO_TIMER = 22, - ARG_PTR_TO_KPTR = 23, - ARG_PTR_TO_DYNPTR = 24, - __BPF_ARG_TYPE_MAX = 25, + ARG_PTR_TO_ARENA = 5, + ARG_CONST_SIZE = 6, + ARG_CONST_SIZE_OR_ZERO = 7, + ARG_PTR_TO_CTX = 8, + ARG_ANYTHING = 9, + ARG_PTR_TO_SPIN_LOCK = 10, + ARG_PTR_TO_SOCK_COMMON = 11, + ARG_PTR_TO_SOCKET = 12, + ARG_PTR_TO_BTF_ID = 13, + ARG_PTR_TO_RINGBUF_MEM = 14, + ARG_CONST_ALLOC_SIZE_OR_ZERO = 15, + ARG_PTR_TO_BTF_ID_SOCK_COMMON = 16, + ARG_PTR_TO_PERCPU_BTF_ID = 17, + ARG_PTR_TO_FUNC = 18, + ARG_PTR_TO_STACK = 19, + ARG_PTR_TO_CONST_STR = 20, + ARG_PTR_TO_TIMER = 21, + ARG_KPTR_XCHG_DEST = 22, + ARG_PTR_TO_DYNPTR = 23, + __BPF_ARG_TYPE_MAX = 24, ARG_PTR_TO_MAP_VALUE_OR_NULL = 259, ARG_PTR_TO_MEM_OR_NULL = 260, - ARG_PTR_TO_CTX_OR_NULL = 263, - ARG_PTR_TO_SOCKET_OR_NULL = 269, - ARG_PTR_TO_STACK_OR_NULL = 276, - ARG_PTR_TO_BTF_ID_OR_NULL = 270, - ARG_PTR_TO_UNINIT_MEM = 32772, + ARG_PTR_TO_CTX_OR_NULL = 264, + ARG_PTR_TO_SOCKET_OR_NULL = 268, + ARG_PTR_TO_STACK_OR_NULL = 275, + ARG_PTR_TO_BTF_ID_OR_NULL = 269, + ARG_PTR_TO_UNINIT_MEM = 67141636, ARG_PTR_TO_FIXED_SIZE_MEM = 262148, - __BPF_ARG_TYPE_LIMIT = 33554431, + __BPF_ARG_TYPE_LIMIT = 134217727, +}; + +enum bpf_async_type { + BPF_ASYNC_TYPE_TIMER = 0, + BPF_ASYNC_TYPE_WQ = 1, }; enum bpf_attach_type { @@ -4855,7 +5322,16 @@ enum bpf_attach_type { BPF_TCX_INGRESS = 46, BPF_TCX_EGRESS = 47, BPF_TRACE_UPROBE_MULTI = 48, - __MAX_BPF_ATTACH_TYPE = 49, + BPF_CGROUP_UNIX_CONNECT = 49, + BPF_CGROUP_UNIX_SENDMSG = 50, + BPF_CGROUP_UNIX_RECVMSG = 51, + BPF_CGROUP_UNIX_GETPEERNAME = 52, + BPF_CGROUP_UNIX_GETSOCKNAME = 53, + BPF_NETKIT_PRIMARY = 54, + BPF_NETKIT_PEER = 55, + BPF_TRACE_KPROBE_SESSION = 56, + BPF_TRACE_UPROBE_SESSION = 57, + __MAX_BPF_ATTACH_TYPE = 58, }; enum bpf_audit { @@ -4926,6 +5402,12 @@ enum bpf_cmd { BPF_ITER_CREATE = 33, BPF_LINK_DETACH = 34, BPF_PROG_BIND_MAP = 35, + BPF_TOKEN_CREATE = 36, + __MAX_BPF_CMD = 37, +}; + +enum bpf_cond_pseudo_jmp { + BPF_MAY_GOTO = 0, }; enum bpf_core_relo_kind { @@ -5193,6 +5675,10 @@ enum bpf_jit_poke_reason { BPF_POKE_REASON_TAIL_CALL = 0, }; +enum bpf_kfunc_flags { + BPF_F_PAD_ZEROS = 1, +}; + enum bpf_link_type { BPF_LINK_TYPE_UNSPEC = 0, BPF_LINK_TYPE_RAW_TRACEPOINT = 1, @@ -5207,7 +5693,9 @@ enum bpf_link_type { BPF_LINK_TYPE_NETFILTER = 10, BPF_LINK_TYPE_TCX = 11, BPF_LINK_TYPE_UPROBE_MULTI = 12, - MAX_BPF_LINK_TYPE = 13, + BPF_LINK_TYPE_NETKIT = 13, + BPF_LINK_TYPE_SOCKMAP = 14, + __MAX_BPF_LINK_TYPE = 15, }; enum bpf_lru_list_type { @@ -5241,6 +5729,7 @@ enum bpf_map_type { BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED = 19, BPF_MAP_TYPE_CGROUP_STORAGE = 19, BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 20, + BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE_DEPRECATED = 21, BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 21, BPF_MAP_TYPE_QUEUE = 22, BPF_MAP_TYPE_STACK = 23, @@ -5253,6 +5742,8 @@ enum bpf_map_type { BPF_MAP_TYPE_BLOOM_FILTER = 30, BPF_MAP_TYPE_USER_RINGBUF = 31, BPF_MAP_TYPE_CGRP_STORAGE = 32, + BPF_MAP_TYPE_ARENA = 33, + __MAX_BPF_MAP_TYPE = 34, }; enum bpf_netdev_command { @@ -5307,6 +5798,7 @@ enum bpf_prog_type { BPF_PROG_TYPE_SK_LOOKUP = 30, BPF_PROG_TYPE_SYSCALL = 31, BPF_PROG_TYPE_NETFILTER = 32, + __MAX_BPF_PROG_TYPE = 33, }; enum bpf_reg_liveness { @@ -5337,16 +5829,17 @@ enum bpf_reg_type { PTR_TO_XDP_SOCK = 15, PTR_TO_BTF_ID = 16, PTR_TO_MEM = 17, - PTR_TO_BUF = 18, - PTR_TO_FUNC = 19, - CONST_PTR_TO_DYNPTR = 20, - __BPF_REG_TYPE_MAX = 21, + PTR_TO_ARENA = 18, + PTR_TO_BUF = 19, + PTR_TO_FUNC = 20, + CONST_PTR_TO_DYNPTR = 21, + __BPF_REG_TYPE_MAX = 22, PTR_TO_MAP_VALUE_OR_NULL = 260, PTR_TO_SOCKET_OR_NULL = 267, PTR_TO_SOCK_COMMON_OR_NULL = 268, PTR_TO_TCP_SOCK_OR_NULL = 269, PTR_TO_BTF_ID_OR_NULL = 272, - __BPF_REG_TYPE_LIMIT = 33554431, + __BPF_REG_TYPE_LIMIT = 134217727, }; enum bpf_ret_code { @@ -5376,7 +5869,7 @@ enum bpf_return_type { RET_PTR_TO_DYNPTR_MEM_OR_NULL = 262, RET_PTR_TO_BTF_ID_OR_NULL = 264, RET_PTR_TO_BTF_ID_TRUSTED = 1048584, - __BPF_RET_TYPE_LIMIT = 33554431, + __BPF_RET_TYPE_LIMIT = 134217727, }; enum bpf_stack_build_id_status { @@ -5392,6 +5885,7 @@ enum bpf_stack_slot_type { STACK_ZERO = 3, STACK_DYNPTR = 4, STACK_ITER = 5, + STACK_IRQ_FLAG = 6, }; enum bpf_stats_type { @@ -5464,8 +5958,10 @@ enum bpf_type_flag { NON_OWN_REF = 4194304, DYNPTR_TYPE_SKB = 8388608, DYNPTR_TYPE_XDP = 16777216, - __BPF_TYPE_FLAG_MAX = 16777217, - __BPF_TYPE_LAST_FLAG = 16777216, + MEM_ALIGNED = 33554432, + MEM_WRITE = 67108864, + __BPF_TYPE_FLAG_MAX = 67108865, + __BPF_TYPE_LAST_FLAG = 67108864, }; enum bpf_xdp_mode { @@ -5475,18 +5971,35 @@ enum bpf_xdp_mode { __MAX_XDP_MODE = 3, }; +enum btf_arg_tag { + ARG_TAG_CTX = 1, + ARG_TAG_NONNULL = 2, + ARG_TAG_TRUSTED = 4, + ARG_TAG_NULLABLE = 8, + ARG_TAG_ARENA = 16, +}; + +enum btf_field_iter_kind { + BTF_FIELD_ITER_IDS = 0, + BTF_FIELD_ITER_STRS = 1, +}; + enum btf_field_type { BPF_SPIN_LOCK = 1, BPF_TIMER = 2, BPF_KPTR_UNREF = 4, BPF_KPTR_REF = 8, - BPF_KPTR = 12, - BPF_LIST_HEAD = 16, - BPF_LIST_NODE = 32, - BPF_RB_ROOT = 64, - BPF_RB_NODE = 128, - BPF_GRAPH_NODE_OR_ROOT = 240, - BPF_REFCOUNT = 256, + BPF_KPTR_PERCPU = 16, + BPF_KPTR = 28, + BPF_LIST_HEAD = 32, + BPF_LIST_NODE = 64, + BPF_RB_ROOT = 128, + BPF_RB_NODE = 256, + BPF_GRAPH_NODE = 320, + BPF_GRAPH_ROOT = 160, + BPF_REFCOUNT = 512, + BPF_WORKQUEUE = 1024, + BPF_UPTR = 2048, }; enum btf_func_linkage { @@ -5503,13 +6016,14 @@ enum btf_kfunc_hook { BTF_KFUNC_HOOK_TRACING = 4, BTF_KFUNC_HOOK_SYSCALL = 5, BTF_KFUNC_HOOK_FMODRET = 6, - BTF_KFUNC_HOOK_CGROUP_SKB = 7, + BTF_KFUNC_HOOK_CGROUP = 7, BTF_KFUNC_HOOK_SCHED_ACT = 8, BTF_KFUNC_HOOK_SK_SKB = 9, BTF_KFUNC_HOOK_SOCKET_FILTER = 10, BTF_KFUNC_HOOK_LWT = 11, BTF_KFUNC_HOOK_NETFILTER = 12, - BTF_KFUNC_HOOK_MAX = 13, + BTF_KFUNC_HOOK_KPROBE = 13, + BTF_KFUNC_HOOK_MAX = 14, }; enum bug_trap_type { @@ -5544,7 +6058,8 @@ enum cc_attr { CC_ATTR_GUEST_STATE_ENCRYPT = 3, CC_ATTR_GUEST_UNROLL_STRING_IO = 4, CC_ATTR_GUEST_SEV_SNP = 5, - CC_ATTR_HOTPLUG_DISABLED = 6, + CC_ATTR_GUEST_SNP_SECURE_TSC = 6, + CC_ATTR_HOST_SEV_SNP = 7, }; enum chacha_constants { @@ -5571,7 +6086,19 @@ enum clock_event_state { enum clocksource_ids { CSID_GENERIC = 0, CSID_ARM_ARCH_COUNTER = 1, - CSID_MAX = 2, + CSID_S390_TOD = 2, + CSID_X86_TSC_EARLY = 3, + CSID_X86_TSC = 4, + CSID_X86_KVM_CLK = 5, + CSID_X86_ART = 6, + CSID_MAX = 7, +}; + +enum cmis_cdb_fw_write_mechanism { + CMIS_CDB_FW_WRITE_MECHANISM_NONE = 0, + CMIS_CDB_FW_WRITE_MECHANISM_LPL = 1, + CMIS_CDB_FW_WRITE_MECHANISM_EPL = 16, + CMIS_CDB_FW_WRITE_MECHANISM_BOTH = 17, }; enum compact_priority { @@ -5615,6 +6142,7 @@ enum cons_flags { CON_BRL = 32, CON_EXTENDED = 64, CON_SUSPENDED = 128, + CON_NBCON = 256, }; enum cpio_fields { @@ -5636,8 +6164,8 @@ enum cpio_fields { }; enum cpu_idle_type { - CPU_IDLE = 0, - CPU_NOT_IDLE = 1, + __CPU_NOT_IDLE = 0, + CPU_IDLE = 1, CPU_NEWLY_IDLE = 2, CPU_MAX_IDLE_TYPES = 3, }; @@ -5662,11 +6190,6 @@ enum cpu_usage_stat { NR_STATS = 10, }; -enum cpu_util_type { - FREQUENCY_UTIL = 0, - ENERGY_UTIL = 1, -}; - enum cpufreq_table_sorting { CPUFREQ_TABLE_UNSORTED = 0, CPUFREQ_TABLE_SORTED_ASCENDING = 1, @@ -5683,186 +6206,180 @@ enum cpuhp_state { CPUHP_PERF_POWER = 5, CPUHP_PERF_SUPERH = 6, CPUHP_X86_HPET_DEAD = 7, - CPUHP_X86_APB_DEAD = 8, - CPUHP_X86_MCE_DEAD = 9, - CPUHP_VIRT_NET_DEAD = 10, - CPUHP_IBMVNIC_DEAD = 11, - CPUHP_SLUB_DEAD = 12, - CPUHP_DEBUG_OBJ_DEAD = 13, - CPUHP_MM_WRITEBACK_DEAD = 14, - CPUHP_MM_DEMOTION_DEAD = 15, - CPUHP_MM_VMSTAT_DEAD = 16, - CPUHP_SOFTIRQ_DEAD = 17, - CPUHP_NET_MVNETA_DEAD = 18, - CPUHP_CPUIDLE_DEAD = 19, - CPUHP_ARM64_FPSIMD_DEAD = 20, - CPUHP_ARM_OMAP_WAKE_DEAD = 21, - CPUHP_IRQ_POLL_DEAD = 22, - CPUHP_BLOCK_SOFTIRQ_DEAD = 23, - CPUHP_BIO_DEAD = 24, - CPUHP_ACPI_CPUDRV_DEAD = 25, - CPUHP_S390_PFAULT_DEAD = 26, - CPUHP_BLK_MQ_DEAD = 27, - CPUHP_FS_BUFF_DEAD = 28, - CPUHP_PRINTK_DEAD = 29, - CPUHP_MM_MEMCQ_DEAD = 30, - CPUHP_PERCPU_CNT_DEAD = 31, - CPUHP_RADIX_DEAD = 32, - CPUHP_PAGE_ALLOC = 33, - CPUHP_NET_DEV_DEAD = 34, - CPUHP_PCI_XGENE_DEAD = 35, - CPUHP_IOMMU_IOVA_DEAD = 36, - CPUHP_LUSTRE_CFS_DEAD = 37, - CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 38, - CPUHP_PADATA_DEAD = 39, - CPUHP_AP_DTPM_CPU_DEAD = 40, - CPUHP_RANDOM_PREPARE = 41, - CPUHP_WORKQUEUE_PREP = 42, - CPUHP_POWER_NUMA_PREPARE = 43, - CPUHP_HRTIMERS_PREPARE = 44, - CPUHP_PROFILE_PREPARE = 45, - CPUHP_X2APIC_PREPARE = 46, - CPUHP_SMPCFD_PREPARE = 47, - CPUHP_RELAY_PREPARE = 48, - CPUHP_SLAB_PREPARE = 49, - CPUHP_MD_RAID5_PREPARE = 50, - CPUHP_RCUTREE_PREP = 51, - CPUHP_CPUIDLE_COUPLED_PREPARE = 52, - CPUHP_POWERPC_PMAC_PREPARE = 53, - CPUHP_POWERPC_MMU_CTX_PREPARE = 54, - CPUHP_XEN_PREPARE = 55, - CPUHP_XEN_EVTCHN_PREPARE = 56, - CPUHP_ARM_SHMOBILE_SCU_PREPARE = 57, - CPUHP_SH_SH3X_PREPARE = 58, - CPUHP_NET_FLOW_PREPARE = 59, - CPUHP_TOPOLOGY_PREPARE = 60, - CPUHP_NET_IUCV_PREPARE = 61, - CPUHP_ARM_BL_PREPARE = 62, - CPUHP_TRACE_RB_PREPARE = 63, - CPUHP_MM_ZS_PREPARE = 64, - CPUHP_MM_ZSWP_MEM_PREPARE = 65, - CPUHP_MM_ZSWP_POOL_PREPARE = 66, - CPUHP_KVM_PPC_BOOK3S_PREPARE = 67, - CPUHP_ZCOMP_PREPARE = 68, - CPUHP_TIMERS_PREPARE = 69, - CPUHP_MIPS_SOC_PREPARE = 70, - CPUHP_BP_PREPARE_DYN = 71, - CPUHP_BP_PREPARE_DYN_END = 91, - CPUHP_BP_KICK_AP = 92, - CPUHP_BRINGUP_CPU = 93, - CPUHP_AP_IDLE_DEAD = 94, - CPUHP_AP_OFFLINE = 95, - CPUHP_AP_CACHECTRL_STARTING = 96, - CPUHP_AP_SCHED_STARTING = 97, - CPUHP_AP_RCUTREE_DYING = 98, - CPUHP_AP_CPU_PM_STARTING = 99, - CPUHP_AP_IRQ_GIC_STARTING = 100, - CPUHP_AP_IRQ_HIP04_STARTING = 101, - CPUHP_AP_IRQ_APPLE_AIC_STARTING = 102, - CPUHP_AP_IRQ_ARMADA_XP_STARTING = 103, - CPUHP_AP_IRQ_BCM2836_STARTING = 104, - CPUHP_AP_IRQ_MIPS_GIC_STARTING = 105, - CPUHP_AP_IRQ_RISCV_STARTING = 106, - CPUHP_AP_IRQ_LOONGARCH_STARTING = 107, - CPUHP_AP_IRQ_SIFIVE_PLIC_STARTING = 108, - CPUHP_AP_ARM_MVEBU_COHERENCY = 109, - CPUHP_AP_MICROCODE_LOADER = 110, - CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 111, - CPUHP_AP_PERF_X86_STARTING = 112, - CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 113, - CPUHP_AP_PERF_X86_CQM_STARTING = 114, - CPUHP_AP_PERF_X86_CSTATE_STARTING = 115, - CPUHP_AP_PERF_XTENSA_STARTING = 116, - CPUHP_AP_MIPS_OP_LOONGSON3_STARTING = 117, - CPUHP_AP_ARM_VFP_STARTING = 118, - CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 119, - CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 120, - CPUHP_AP_PERF_ARM_ACPI_STARTING = 121, - CPUHP_AP_PERF_ARM_STARTING = 122, - CPUHP_AP_PERF_RISCV_STARTING = 123, - CPUHP_AP_ARM_L2X0_STARTING = 124, - CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 125, - CPUHP_AP_ARM_ARCH_TIMER_STARTING = 126, - CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 127, - CPUHP_AP_JCORE_TIMER_STARTING = 128, - CPUHP_AP_ARM_TWD_STARTING = 129, - CPUHP_AP_QCOM_TIMER_STARTING = 130, - CPUHP_AP_TEGRA_TIMER_STARTING = 131, - CPUHP_AP_ARMADA_TIMER_STARTING = 132, - CPUHP_AP_MARCO_TIMER_STARTING = 133, - CPUHP_AP_MIPS_GIC_TIMER_STARTING = 134, - CPUHP_AP_ARC_TIMER_STARTING = 135, - CPUHP_AP_RISCV_TIMER_STARTING = 136, - CPUHP_AP_CLINT_TIMER_STARTING = 137, - CPUHP_AP_CSKY_TIMER_STARTING = 138, - CPUHP_AP_TI_GP_TIMER_STARTING = 139, - CPUHP_AP_HYPERV_TIMER_STARTING = 140, - CPUHP_AP_DUMMY_TIMER_STARTING = 141, - CPUHP_AP_ARM_XEN_STARTING = 142, - CPUHP_AP_ARM_CORESIGHT_STARTING = 143, - CPUHP_AP_ARM_CORESIGHT_CTI_STARTING = 144, - CPUHP_AP_ARM64_ISNDEP_STARTING = 145, - CPUHP_AP_SMPCFD_DYING = 146, - CPUHP_AP_X86_TBOOT_DYING = 147, - CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 148, - CPUHP_AP_ONLINE = 149, - CPUHP_TEARDOWN_CPU = 150, - CPUHP_AP_ONLINE_IDLE = 151, - CPUHP_AP_HYPERV_ONLINE = 152, - CPUHP_AP_KVM_ONLINE = 153, - CPUHP_AP_SCHED_WAIT_EMPTY = 154, - CPUHP_AP_SMPBOOT_THREADS = 155, - CPUHP_AP_X86_VDSO_VMA_ONLINE = 156, - CPUHP_AP_IRQ_AFFINITY_ONLINE = 157, - CPUHP_AP_BLK_MQ_ONLINE = 158, - CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 159, - CPUHP_AP_X86_INTEL_EPB_ONLINE = 160, - CPUHP_AP_PERF_ONLINE = 161, - CPUHP_AP_PERF_X86_ONLINE = 162, - CPUHP_AP_PERF_X86_UNCORE_ONLINE = 163, - CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 164, - CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 165, - CPUHP_AP_PERF_X86_RAPL_ONLINE = 166, - CPUHP_AP_PERF_X86_CQM_ONLINE = 167, - CPUHP_AP_PERF_X86_CSTATE_ONLINE = 168, - CPUHP_AP_PERF_X86_IDXD_ONLINE = 169, - CPUHP_AP_PERF_S390_CF_ONLINE = 170, - CPUHP_AP_PERF_S390_SF_ONLINE = 171, - CPUHP_AP_PERF_ARM_CCI_ONLINE = 172, - CPUHP_AP_PERF_ARM_CCN_ONLINE = 173, - CPUHP_AP_PERF_ARM_HISI_CPA_ONLINE = 174, - CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 175, - CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 176, - CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 177, - CPUHP_AP_PERF_ARM_HISI_PA_ONLINE = 178, - CPUHP_AP_PERF_ARM_HISI_SLLC_ONLINE = 179, - CPUHP_AP_PERF_ARM_HISI_PCIE_PMU_ONLINE = 180, - CPUHP_AP_PERF_ARM_HNS3_PMU_ONLINE = 181, - CPUHP_AP_PERF_ARM_L2X0_ONLINE = 182, - CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 183, - CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 184, - CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 185, - CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 186, - CPUHP_AP_PERF_ARM_MARVELL_CN10K_DDR_ONLINE = 187, - CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 188, - CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 189, - CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 190, - CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 191, - CPUHP_AP_PERF_POWERPC_HV_24x7_ONLINE = 192, - CPUHP_AP_PERF_POWERPC_HV_GPCI_ONLINE = 193, - CPUHP_AP_PERF_CSKY_ONLINE = 194, - CPUHP_AP_WATCHDOG_ONLINE = 195, - CPUHP_AP_WORKQUEUE_ONLINE = 196, - CPUHP_AP_RANDOM_ONLINE = 197, - CPUHP_AP_RCUTREE_ONLINE = 198, - CPUHP_AP_BASE_CACHEINFO_ONLINE = 199, - CPUHP_AP_ONLINE_DYN = 200, - CPUHP_AP_ONLINE_DYN_END = 230, - CPUHP_AP_MM_DEMOTION_ONLINE = 231, - CPUHP_AP_X86_HPET_ONLINE = 232, - CPUHP_AP_X86_KVM_CLK_ONLINE = 233, - CPUHP_AP_ACTIVE = 234, - CPUHP_ONLINE = 235, + CPUHP_X86_MCE_DEAD = 8, + CPUHP_VIRT_NET_DEAD = 9, + CPUHP_IBMVNIC_DEAD = 10, + CPUHP_SLUB_DEAD = 11, + CPUHP_DEBUG_OBJ_DEAD = 12, + CPUHP_MM_WRITEBACK_DEAD = 13, + CPUHP_MM_VMSTAT_DEAD = 14, + CPUHP_SOFTIRQ_DEAD = 15, + CPUHP_NET_MVNETA_DEAD = 16, + CPUHP_CPUIDLE_DEAD = 17, + CPUHP_ARM64_FPSIMD_DEAD = 18, + CPUHP_ARM_OMAP_WAKE_DEAD = 19, + CPUHP_IRQ_POLL_DEAD = 20, + CPUHP_BLOCK_SOFTIRQ_DEAD = 21, + CPUHP_BIO_DEAD = 22, + CPUHP_ACPI_CPUDRV_DEAD = 23, + CPUHP_S390_PFAULT_DEAD = 24, + CPUHP_BLK_MQ_DEAD = 25, + CPUHP_FS_BUFF_DEAD = 26, + CPUHP_PRINTK_DEAD = 27, + CPUHP_MM_MEMCQ_DEAD = 28, + CPUHP_PERCPU_CNT_DEAD = 29, + CPUHP_RADIX_DEAD = 30, + CPUHP_PAGE_ALLOC = 31, + CPUHP_NET_DEV_DEAD = 32, + CPUHP_PCI_XGENE_DEAD = 33, + CPUHP_IOMMU_IOVA_DEAD = 34, + CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 35, + CPUHP_PADATA_DEAD = 36, + CPUHP_AP_DTPM_CPU_DEAD = 37, + CPUHP_RANDOM_PREPARE = 38, + CPUHP_WORKQUEUE_PREP = 39, + CPUHP_POWER_NUMA_PREPARE = 40, + CPUHP_HRTIMERS_PREPARE = 41, + CPUHP_X2APIC_PREPARE = 42, + CPUHP_SMPCFD_PREPARE = 43, + CPUHP_RELAY_PREPARE = 44, + CPUHP_MD_RAID5_PREPARE = 45, + CPUHP_RCUTREE_PREP = 46, + CPUHP_CPUIDLE_COUPLED_PREPARE = 47, + CPUHP_POWERPC_PMAC_PREPARE = 48, + CPUHP_POWERPC_MMU_CTX_PREPARE = 49, + CPUHP_XEN_PREPARE = 50, + CPUHP_XEN_EVTCHN_PREPARE = 51, + CPUHP_ARM_SHMOBILE_SCU_PREPARE = 52, + CPUHP_SH_SH3X_PREPARE = 53, + CPUHP_TOPOLOGY_PREPARE = 54, + CPUHP_NET_IUCV_PREPARE = 55, + CPUHP_ARM_BL_PREPARE = 56, + CPUHP_TRACE_RB_PREPARE = 57, + CPUHP_MM_ZS_PREPARE = 58, + CPUHP_MM_ZSWP_POOL_PREPARE = 59, + CPUHP_KVM_PPC_BOOK3S_PREPARE = 60, + CPUHP_ZCOMP_PREPARE = 61, + CPUHP_TIMERS_PREPARE = 62, + CPUHP_TMIGR_PREPARE = 63, + CPUHP_MIPS_SOC_PREPARE = 64, + CPUHP_BP_PREPARE_DYN = 65, + CPUHP_BP_PREPARE_DYN_END = 85, + CPUHP_BP_KICK_AP = 86, + CPUHP_BRINGUP_CPU = 87, + CPUHP_AP_IDLE_DEAD = 88, + CPUHP_AP_OFFLINE = 89, + CPUHP_AP_CACHECTRL_STARTING = 90, + CPUHP_AP_SCHED_STARTING = 91, + CPUHP_AP_RCUTREE_DYING = 92, + CPUHP_AP_CPU_PM_STARTING = 93, + CPUHP_AP_IRQ_GIC_STARTING = 94, + CPUHP_AP_IRQ_HIP04_STARTING = 95, + CPUHP_AP_IRQ_APPLE_AIC_STARTING = 96, + CPUHP_AP_IRQ_ARMADA_XP_STARTING = 97, + CPUHP_AP_IRQ_BCM2836_STARTING = 98, + CPUHP_AP_IRQ_MIPS_GIC_STARTING = 99, + CPUHP_AP_IRQ_EIOINTC_STARTING = 100, + CPUHP_AP_IRQ_AVECINTC_STARTING = 101, + CPUHP_AP_IRQ_SIFIVE_PLIC_STARTING = 102, + CPUHP_AP_IRQ_THEAD_ACLINT_SSWI_STARTING = 103, + CPUHP_AP_IRQ_RISCV_IMSIC_STARTING = 104, + CPUHP_AP_IRQ_RISCV_SBI_IPI_STARTING = 105, + CPUHP_AP_ARM_MVEBU_COHERENCY = 106, + CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 107, + CPUHP_AP_PERF_X86_STARTING = 108, + CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 109, + CPUHP_AP_PERF_XTENSA_STARTING = 110, + CPUHP_AP_ARM_VFP_STARTING = 111, + CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 112, + CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 113, + CPUHP_AP_PERF_ARM_ACPI_STARTING = 114, + CPUHP_AP_PERF_ARM_STARTING = 115, + CPUHP_AP_PERF_RISCV_STARTING = 116, + CPUHP_AP_ARM_L2X0_STARTING = 117, + CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 118, + CPUHP_AP_ARM_ARCH_TIMER_STARTING = 119, + CPUHP_AP_ARM_ARCH_TIMER_EVTSTRM_STARTING = 120, + CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 121, + CPUHP_AP_JCORE_TIMER_STARTING = 122, + CPUHP_AP_ARM_TWD_STARTING = 123, + CPUHP_AP_QCOM_TIMER_STARTING = 124, + CPUHP_AP_TEGRA_TIMER_STARTING = 125, + CPUHP_AP_ARMADA_TIMER_STARTING = 126, + CPUHP_AP_MIPS_GIC_TIMER_STARTING = 127, + CPUHP_AP_ARC_TIMER_STARTING = 128, + CPUHP_AP_REALTEK_TIMER_STARTING = 129, + CPUHP_AP_RISCV_TIMER_STARTING = 130, + CPUHP_AP_CLINT_TIMER_STARTING = 131, + CPUHP_AP_CSKY_TIMER_STARTING = 132, + CPUHP_AP_TI_GP_TIMER_STARTING = 133, + CPUHP_AP_HYPERV_TIMER_STARTING = 134, + CPUHP_AP_DUMMY_TIMER_STARTING = 135, + CPUHP_AP_ARM_XEN_STARTING = 136, + CPUHP_AP_ARM_XEN_RUNSTATE_STARTING = 137, + CPUHP_AP_ARM_CORESIGHT_STARTING = 138, + CPUHP_AP_ARM_CORESIGHT_CTI_STARTING = 139, + CPUHP_AP_ARM64_ISNDEP_STARTING = 140, + CPUHP_AP_SMPCFD_DYING = 141, + CPUHP_AP_HRTIMERS_DYING = 142, + CPUHP_AP_TICK_DYING = 143, + CPUHP_AP_X86_TBOOT_DYING = 144, + CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 145, + CPUHP_AP_ONLINE = 146, + CPUHP_TEARDOWN_CPU = 147, + CPUHP_AP_ONLINE_IDLE = 148, + CPUHP_AP_HYPERV_ONLINE = 149, + CPUHP_AP_KVM_ONLINE = 150, + CPUHP_AP_SCHED_WAIT_EMPTY = 151, + CPUHP_AP_SMPBOOT_THREADS = 152, + CPUHP_AP_IRQ_AFFINITY_ONLINE = 153, + CPUHP_AP_BLK_MQ_ONLINE = 154, + CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 155, + CPUHP_AP_X86_INTEL_EPB_ONLINE = 156, + CPUHP_AP_PERF_ONLINE = 157, + CPUHP_AP_PERF_X86_ONLINE = 158, + CPUHP_AP_PERF_X86_UNCORE_ONLINE = 159, + CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 160, + CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 161, + CPUHP_AP_PERF_S390_CF_ONLINE = 162, + CPUHP_AP_PERF_S390_SF_ONLINE = 163, + CPUHP_AP_PERF_ARM_CCI_ONLINE = 164, + CPUHP_AP_PERF_ARM_CCN_ONLINE = 165, + CPUHP_AP_PERF_ARM_HISI_CPA_ONLINE = 166, + CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 167, + CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 168, + CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 169, + CPUHP_AP_PERF_ARM_HISI_PA_ONLINE = 170, + CPUHP_AP_PERF_ARM_HISI_SLLC_ONLINE = 171, + CPUHP_AP_PERF_ARM_HISI_PCIE_PMU_ONLINE = 172, + CPUHP_AP_PERF_ARM_HNS3_PMU_ONLINE = 173, + CPUHP_AP_PERF_ARM_L2X0_ONLINE = 174, + CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 175, + CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 176, + CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 177, + CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 178, + CPUHP_AP_PERF_ARM_MARVELL_CN10K_DDR_ONLINE = 179, + CPUHP_AP_PERF_ARM_MRVL_PEM_ONLINE = 180, + CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 181, + CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 182, + CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 183, + CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 184, + CPUHP_AP_PERF_POWERPC_HV_24x7_ONLINE = 185, + CPUHP_AP_PERF_POWERPC_HV_GPCI_ONLINE = 186, + CPUHP_AP_PERF_CSKY_ONLINE = 187, + CPUHP_AP_TMIGR_ONLINE = 188, + CPUHP_AP_WATCHDOG_ONLINE = 189, + CPUHP_AP_WORKQUEUE_ONLINE = 190, + CPUHP_AP_RANDOM_ONLINE = 191, + CPUHP_AP_RCUTREE_ONLINE = 192, + CPUHP_AP_KTHREADS_ONLINE = 193, + CPUHP_AP_BASE_CACHEINFO_ONLINE = 194, + CPUHP_AP_ONLINE_DYN = 195, + CPUHP_AP_ONLINE_DYN_END = 235, + CPUHP_AP_X86_HPET_ONLINE = 236, + CPUHP_AP_X86_KVM_CLK_ONLINE = 237, + CPUHP_AP_ACTIVE = 238, + CPUHP_ONLINE = 239, }; enum cpuhp_sync_state { @@ -5875,12 +6392,17 @@ enum cpuhp_sync_state { }; enum ctx_state { - CONTEXT_DISABLED = -1, - CONTEXT_KERNEL = 0, - CONTEXT_IDLE = 1, - CONTEXT_USER = 2, - CONTEXT_GUEST = 3, - CONTEXT_MAX = 4, + CT_STATE_DISABLED = -1, + CT_STATE_KERNEL = 0, + CT_STATE_IDLE = 1, + CT_STATE_USER = 2, + CT_STATE_GUEST = 3, + CT_STATE_MAX = 4, +}; + +enum d_real_type { + D_REAL_DATA = 0, + D_REAL_METADATA = 1, }; enum d_walk_ret { @@ -5906,9 +6428,9 @@ enum dccp_state { DCCP_TIME_WAIT = 6, DCCP_CLOSED = 7, DCCP_NEW_SYN_RECV = 12, - DCCP_PARTOPEN = 13, - DCCP_PASSIVE_CLOSEREQ = 14, - DCCP_MAX_STATES = 15, + DCCP_PARTOPEN = 14, + DCCP_PASSIVE_CLOSEREQ = 15, + DCCP_MAX_STATES = 16, }; enum dentry_d_lock_class { @@ -6034,8 +6556,39 @@ enum die_val { DIE_OOPS = 1, }; +enum dim_cq_period_mode { + DIM_CQ_PERIOD_MODE_START_FROM_EQE = 0, + DIM_CQ_PERIOD_MODE_START_FROM_CQE = 1, + DIM_CQ_PERIOD_NUM_MODES = 2, +}; + +enum dim_state { + DIM_START_MEASURE = 0, + DIM_MEASURE_IN_PROGRESS = 1, + DIM_APPLY_NEW_PROFILE = 2, +}; + +enum dim_stats_state { + DIM_STATS_WORSE = 0, + DIM_STATS_SAME = 1, + DIM_STATS_BETTER = 2, +}; + +enum dim_step_result { + DIM_STEPPED = 0, + DIM_TOO_TIRED = 1, + DIM_ON_EDGE = 2, +}; + +enum dim_tune_state { + DIM_PARKING_ON_TOP = 0, + DIM_PARKING_TIRED = 1, + DIM_GOING_RIGHT = 2, + DIM_GOING_LEFT = 3, +}; + enum dl_bw_request { - dl_bw_req_check_overflow = 0, + dl_bw_req_deactivate = 0, dl_bw_req_alloc = 1, dl_bw_req_free = 2, }; @@ -6093,6 +6646,92 @@ enum error_detector { ERROR_DETECTOR_WARN = 2, }; +enum ethnl_sock_type { + ETHTOOL_SOCK_TYPE_MODULE_FW_FLASH = 0, +}; + +enum ethtool_c33_pse_admin_state { + ETHTOOL_C33_PSE_ADMIN_STATE_UNKNOWN = 1, + ETHTOOL_C33_PSE_ADMIN_STATE_DISABLED = 2, + ETHTOOL_C33_PSE_ADMIN_STATE_ENABLED = 3, +}; + +enum ethtool_c33_pse_ext_state { + ETHTOOL_C33_PSE_EXT_STATE_ERROR_CONDITION = 1, + ETHTOOL_C33_PSE_EXT_STATE_MR_MPS_VALID = 2, + ETHTOOL_C33_PSE_EXT_STATE_MR_PSE_ENABLE = 3, + ETHTOOL_C33_PSE_EXT_STATE_OPTION_DETECT_TED = 4, + ETHTOOL_C33_PSE_EXT_STATE_OPTION_VPORT_LIM = 5, + ETHTOOL_C33_PSE_EXT_STATE_OVLD_DETECTED = 6, + ETHTOOL_C33_PSE_EXT_STATE_PD_DLL_POWER_TYPE = 7, + ETHTOOL_C33_PSE_EXT_STATE_POWER_NOT_AVAILABLE = 8, + ETHTOOL_C33_PSE_EXT_STATE_SHORT_DETECTED = 9, +}; + +enum ethtool_c33_pse_ext_substate_error_condition { + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_NON_EXISTING_PORT = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_UNDEFINED_PORT = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_INTERNAL_HW_FAULT = 3, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_COMM_ERROR_AFTER_FORCE_ON = 4, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_UNKNOWN_PORT_STATUS = 5, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_HOST_CRASH_TURN_OFF = 6, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_HOST_CRASH_FORCE_SHUTDOWN = 7, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_CONFIG_CHANGE = 8, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_DETECTED_OVER_TEMP = 9, +}; + +enum ethtool_c33_pse_ext_substate_mr_pse_enable { + ETHTOOL_C33_PSE_EXT_SUBSTATE_MR_PSE_ENABLE_DISABLE_PIN_ACTIVE = 1, +}; + +enum ethtool_c33_pse_ext_substate_option_detect_ted { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_DETECT_TED_DET_IN_PROCESS = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_DETECT_TED_CONNECTION_CHECK_ERROR = 2, +}; + +enum ethtool_c33_pse_ext_substate_option_vport_lim { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_HIGH_VOLTAGE = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_LOW_VOLTAGE = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_VOLTAGE_INJECTION = 3, +}; + +enum ethtool_c33_pse_ext_substate_ovld_detected { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OVLD_DETECTED_OVERLOAD = 1, +}; + +enum ethtool_c33_pse_ext_substate_power_not_available { + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_BUDGET_EXCEEDED = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_PORT_PW_LIMIT_EXCEEDS_CONTROLLER_BUDGET = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_PD_REQUEST_EXCEEDS_PORT_LIMIT = 3, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_HW_PW_LIMIT = 4, +}; + +enum ethtool_c33_pse_ext_substate_short_detected { + ETHTOOL_C33_PSE_EXT_SUBSTATE_SHORT_DETECTED_SHORT_CONDITION = 1, +}; + +enum ethtool_c33_pse_pw_d_status { + ETHTOOL_C33_PSE_PW_D_STATUS_UNKNOWN = 1, + ETHTOOL_C33_PSE_PW_D_STATUS_DISABLED = 2, + ETHTOOL_C33_PSE_PW_D_STATUS_SEARCHING = 3, + ETHTOOL_C33_PSE_PW_D_STATUS_DELIVERING = 4, + ETHTOOL_C33_PSE_PW_D_STATUS_TEST = 5, + ETHTOOL_C33_PSE_PW_D_STATUS_FAULT = 6, + ETHTOOL_C33_PSE_PW_D_STATUS_OTHERFAULT = 7, +}; + +enum ethtool_cmis_cdb_cmd_id { + ETHTOOL_CMIS_CDB_CMD_QUERY_STATUS = 0, + ETHTOOL_CMIS_CDB_CMD_MODULE_FEATURES = 64, + ETHTOOL_CMIS_CDB_CMD_FW_MANAGMENT_FEATURES = 65, + ETHTOOL_CMIS_CDB_CMD_START_FW_DOWNLOAD = 257, + ETHTOOL_CMIS_CDB_CMD_WRITE_FW_BLOCK_LPL = 259, + ETHTOOL_CMIS_CDB_CMD_WRITE_FW_BLOCK_EPL = 260, + ETHTOOL_CMIS_CDB_CMD_COMPLETE_FW_DOWNLOAD = 263, + ETHTOOL_CMIS_CDB_CMD_RUN_FW_IMAGE = 265, + ETHTOOL_CMIS_CDB_CMD_COMMIT_FW_IMAGE = 266, +}; + enum ethtool_fec_config_bits { ETHTOOL_FEC_NONE_BIT = 0, ETHTOOL_FEC_AUTO_BIT = 1, @@ -6110,6 +6749,12 @@ enum ethtool_flags { ETH_FLAG_RXHASH = 268435456, }; +enum ethtool_header_flags { + ETHTOOL_FLAG_COMPACT_BITSETS = 1, + ETHTOOL_FLAG_OMIT_REPLY = 2, + ETHTOOL_FLAG_STATS = 4, +}; + enum ethtool_link_ext_state { ETHTOOL_LINK_EXT_STATE_AUTONEG = 0, ETHTOOL_LINK_EXT_STATE_LINK_TRAINING_FAILURE = 1, @@ -6267,7 +6912,8 @@ enum ethtool_link_mode_bit_indices { ETHTOOL_LINK_MODE_10baseT1S_Full_BIT = 99, ETHTOOL_LINK_MODE_10baseT1S_Half_BIT = 100, ETHTOOL_LINK_MODE_10baseT1S_P2MP_Half_BIT = 101, - __ETHTOOL_LINK_MODE_MASK_NBITS = 102, + ETHTOOL_LINK_MODE_10baseT1BRR_Full_BIT = 102, + __ETHTOOL_LINK_MODE_MASK_NBITS = 103, }; enum ethtool_mac_stats_src { @@ -6285,6 +6931,13 @@ enum ethtool_mm_verify_status { ETHTOOL_MM_VERIFY_STATUS_DISABLED = 5, }; +enum ethtool_module_fw_flash_status { + ETHTOOL_MODULE_FW_FLASH_STATUS_STARTED = 1, + ETHTOOL_MODULE_FW_FLASH_STATUS_IN_PROGRESS = 2, + ETHTOOL_MODULE_FW_FLASH_STATUS_COMPLETED = 3, + ETHTOOL_MODULE_FW_FLASH_STATUS_ERROR = 4, +}; + enum ethtool_module_power_mode { ETHTOOL_MODULE_POWER_MODE_LOW = 1, ETHTOOL_MODULE_POWER_MODE_HIGH = 2, @@ -6322,6 +6975,20 @@ enum ethtool_podl_pse_pw_d_status { ETHTOOL_PODL_PSE_PW_D_STATUS_ERROR = 7, }; +enum ethtool_reset_flags { + ETH_RESET_MGMT = 1, + ETH_RESET_IRQ = 2, + ETH_RESET_DMA = 4, + ETH_RESET_FILTER = 8, + ETH_RESET_OFFLOAD = 16, + ETH_RESET_MAC = 32, + ETH_RESET_PHY = 64, + ETH_RESET_RAM = 128, + ETH_RESET_AP = 256, + ETH_RESET_DEDICATED = 65535, + ETH_RESET_ALL = 4294967295, +}; + enum ethtool_sfeatures_retval_bits { ETHTOOL_F_UNSUPPORTED__BIT = 0, ETHTOOL_F_WISH__BIT = 1, @@ -6350,7 +7017,9 @@ enum ethtool_stringset { ETH_SS_STATS_ETH_MAC = 18, ETH_SS_STATS_ETH_CTRL = 19, ETH_SS_STATS_RMON = 20, - ETH_SS_COUNT = 21, + ETH_SS_STATS_PHY = 21, + ETH_SS_TS_FLAGS = 22, + ETH_SS_COUNT = 23, }; enum ethtool_supported_ring_param { @@ -6359,6 +7028,14 @@ enum ethtool_supported_ring_param { ETHTOOL_RING_USE_TX_PUSH = 4, ETHTOOL_RING_USE_RX_PUSH = 8, ETHTOOL_RING_USE_TX_PUSH_BUF_LEN = 16, + ETHTOOL_RING_USE_TCP_DATA_SPLIT = 32, + ETHTOOL_RING_USE_HDS_THRS = 64, +}; + +enum ethtool_tcp_data_split { + ETHTOOL_TCP_DATA_SPLIT_UNKNOWN = 0, + ETHTOOL_TCP_DATA_SPLIT_DISABLED = 1, + ETHTOOL_TCP_DATA_SPLIT_ENABLED = 2, }; enum event_command_flags { @@ -6381,8 +7058,32 @@ enum event_type_t { EVENT_FLEXIBLE = 1, EVENT_PINNED = 2, EVENT_TIME = 4, - EVENT_CPU = 8, + EVENT_FROZEN = 8, + EVENT_CPU = 16, + EVENT_CGROUP = 32, EVENT_ALL = 3, + EVENT_TIME_FROZEN = 12, +}; + +enum exact_level { + NOT_EXACT = 0, + EXACT = 1, + RANGE_WITHIN = 2, +}; + +enum execmem_range_flags { + EXECMEM_KASAN_SHADOW = 1, + EXECMEM_ROX_CACHE = 2, +}; + +enum execmem_type { + EXECMEM_DEFAULT = 0, + EXECMEM_MODULE_TEXT = 0, + EXECMEM_KPROBES = 1, + EXECMEM_FTRACE = 2, + EXECMEM_BPF = 3, + EXECMEM_MODULE_DATA = 4, + EXECMEM_TYPE_MAX = 5, }; enum fail_dup_mod_reason { @@ -6423,19 +7124,31 @@ enum fetch_op { FETCH_OP_ARG = 7, FETCH_OP_FOFFS = 8, FETCH_OP_DATA = 9, - FETCH_OP_DEREF = 10, - FETCH_OP_UDEREF = 11, - FETCH_OP_ST_RAW = 12, - FETCH_OP_ST_MEM = 13, - FETCH_OP_ST_UMEM = 14, - FETCH_OP_ST_STRING = 15, - FETCH_OP_ST_USTRING = 16, - FETCH_OP_ST_SYMSTR = 17, - FETCH_OP_MOD_BF = 18, - FETCH_OP_LP_ARRAY = 19, - FETCH_OP_TP_ARG = 20, - FETCH_OP_END = 21, - FETCH_NOP_SYMBOL = 22, + FETCH_OP_EDATA = 10, + FETCH_OP_DEREF = 11, + FETCH_OP_UDEREF = 12, + FETCH_OP_ST_RAW = 13, + FETCH_OP_ST_MEM = 14, + FETCH_OP_ST_UMEM = 15, + FETCH_OP_ST_STRING = 16, + FETCH_OP_ST_USTRING = 17, + FETCH_OP_ST_SYMSTR = 18, + FETCH_OP_ST_EDATA = 19, + FETCH_OP_MOD_BF = 20, + FETCH_OP_LP_ARRAY = 21, + FETCH_OP_TP_ARG = 22, + FETCH_OP_END = 23, + FETCH_NOP_SYMBOL = 24, +}; + +enum fgt_group_id { + __NO_FGT_GROUP__ = 0, + HFGxTR_GROUP = 1, + HDFGRTR_GROUP = 2, + HDFGWTR_GROUP = 2, + HFGITR_GROUP = 3, + HAFGRTR_GROUP = 4, + __NR_FGT_GROUP_IDS__ = 5, }; enum fib6_walk_state { @@ -6471,7 +7184,11 @@ enum fid_type { FILEID_NILFS_WITH_PARENT = 98, FILEID_FAT_WITHOUT_PARENT = 113, FILEID_FAT_WITH_PARENT = 114, + FILEID_INO64_GEN = 129, + FILEID_INO64_GEN_PARENT = 130, FILEID_LUSTRE = 151, + FILEID_BCACHEFS_WITHOUT_PARENT = 177, + FILEID_BCACHEFS_WITH_PARENT = 178, FILEID_KERNFS = 254, FILEID_INVALID = 255, }; @@ -6548,8 +7265,9 @@ enum fixed_addresses { FIX_PTE = 965, FIX_PMD = 966, FIX_PUD = 967, - FIX_PGD = 968, - __end_of_fixed_addresses = 969, + FIX_P4D = 968, + FIX_PGD = 969, + __end_of_fixed_addresses = 970, }; enum flow_action_hw_stats { @@ -6637,6 +7355,16 @@ enum flow_dissect_ret { FLOW_DISSECT_RET_CONTINUE = 4, }; +enum flow_dissector_ctrl_flags { + FLOW_DIS_IS_FRAGMENT = 1, + FLOW_DIS_FIRST_FRAG = 2, + FLOW_DIS_F_TUNNEL_CSUM = 4, + FLOW_DIS_F_TUNNEL_DONT_FRAGMENT = 8, + FLOW_DIS_F_TUNNEL_OAM = 16, + FLOW_DIS_F_TUNNEL_CRIT_OPT = 32, + FLOW_DIS_ENCAPSULATION = 64, +}; + enum flow_dissector_key_id { FLOW_DISSECTOR_KEY_CONTROL = 0, FLOW_DISSECTOR_KEY_BASIC = 1, @@ -6687,26 +7415,22 @@ enum folio_references { FOLIOREF_ACTIVATE = 3, }; -enum format_type { - FORMAT_TYPE_NONE = 0, - FORMAT_TYPE_WIDTH = 1, - FORMAT_TYPE_PRECISION = 2, - FORMAT_TYPE_CHAR = 3, - FORMAT_TYPE_STR = 4, - FORMAT_TYPE_PTR = 5, - FORMAT_TYPE_PERCENT_CHAR = 6, - FORMAT_TYPE_INVALID = 7, - FORMAT_TYPE_LONG_LONG = 8, - FORMAT_TYPE_ULONG = 9, - FORMAT_TYPE_LONG = 10, - FORMAT_TYPE_UBYTE = 11, - FORMAT_TYPE_BYTE = 12, - FORMAT_TYPE_USHORT = 13, - FORMAT_TYPE_SHORT = 14, - FORMAT_TYPE_UINT = 15, - FORMAT_TYPE_INT = 16, - FORMAT_TYPE_SIZE_T = 17, - FORMAT_TYPE_PTRDIFF = 18, +enum folio_walk_level { + FW_LEVEL_PTE = 0, + FW_LEVEL_PMD = 1, + FW_LEVEL_PUD = 2, +}; + +enum format_state { + FORMAT_STATE_NONE = 0, + FORMAT_STATE_NUM = 1, + FORMAT_STATE_WIDTH = 2, + FORMAT_STATE_PRECISION = 3, + FORMAT_STATE_CHAR = 4, + FORMAT_STATE_STR = 5, + FORMAT_STATE_PTR = 6, + FORMAT_STATE_PERCENT_CHAR = 7, + FORMAT_STATE_INVALID = 8, }; enum fp_type { @@ -6718,6 +7442,7 @@ enum fp_type { enum freeze_holder { FREEZE_HOLDER_KERNEL = 1, FREEZE_HOLDER_USERSPACE = 2, + FREEZE_MAY_NEST = 4, }; enum freq_qos_req_type { @@ -6764,10 +7489,18 @@ enum fsconfig_command { enum fsnotify_data_type { FSNOTIFY_EVENT_NONE = 0, - FSNOTIFY_EVENT_PATH = 1, - FSNOTIFY_EVENT_INODE = 2, - FSNOTIFY_EVENT_DENTRY = 3, - FSNOTIFY_EVENT_ERROR = 4, + FSNOTIFY_EVENT_FILE_RANGE = 1, + FSNOTIFY_EVENT_PATH = 2, + FSNOTIFY_EVENT_INODE = 3, + FSNOTIFY_EVENT_DENTRY = 4, + FSNOTIFY_EVENT_ERROR = 5, +}; + +enum fsnotify_group_prio { + FSNOTIFY_PRIO_NORMAL = 0, + FSNOTIFY_PRIO_CONTENT = 1, + FSNOTIFY_PRIO_PRE_CONTENT = 2, + __FSNOTIFY_PRIO_NUM = 3, }; enum fsnotify_iter_type { @@ -6798,6 +7531,7 @@ enum ftrace_dump_mode { DUMP_NONE = 0, DUMP_ALL = 1, DUMP_ORIG = 2, + DUMP_PARAM = 3, }; enum ftrace_ops_cmd { @@ -6861,41 +7595,29 @@ enum group_type { group_overloaded = 6, }; -enum hash_algo { - HASH_ALGO_MD4 = 0, - HASH_ALGO_MD5 = 1, - HASH_ALGO_SHA1 = 2, - HASH_ALGO_RIPE_MD_160 = 3, - HASH_ALGO_SHA256 = 4, - HASH_ALGO_SHA384 = 5, - HASH_ALGO_SHA512 = 6, - HASH_ALGO_SHA224 = 7, - HASH_ALGO_RIPE_MD_128 = 8, - HASH_ALGO_RIPE_MD_256 = 9, - HASH_ALGO_RIPE_MD_320 = 10, - HASH_ALGO_WP_256 = 11, - HASH_ALGO_WP_384 = 12, - HASH_ALGO_WP_512 = 13, - HASH_ALGO_TGR_128 = 14, - HASH_ALGO_TGR_160 = 15, - HASH_ALGO_TGR_192 = 16, - HASH_ALGO_SM3_256 = 17, - HASH_ALGO_STREEBOG_256 = 18, - HASH_ALGO_STREEBOG_512 = 19, - HASH_ALGO__LAST = 20, +enum handle_to_path_flags { + HANDLE_CHECK_PERMS = 1, + HANDLE_CHECK_SUBTREE = 2, }; enum hk_type { - HK_TYPE_TIMER = 0, - HK_TYPE_RCU = 1, + HK_TYPE_DOMAIN = 0, + HK_TYPE_MANAGED_IRQ = 1, + HK_TYPE_KERNEL_NOISE = 2, + HK_TYPE_MAX = 3, + HK_TYPE_TICK = 2, + HK_TYPE_TIMER = 2, + HK_TYPE_RCU = 2, HK_TYPE_MISC = 2, - HK_TYPE_SCHED = 3, - HK_TYPE_TICK = 4, - HK_TYPE_DOMAIN = 5, - HK_TYPE_WQ = 6, - HK_TYPE_MANAGED_IRQ = 7, - HK_TYPE_KTHREAD = 8, - HK_TYPE_MAX = 9, + HK_TYPE_WQ = 2, + HK_TYPE_KTHREAD = 2, +}; + +enum hprobe_state { + HPROBE_LEASED = 0, + HPROBE_STABLE = 1, + HPROBE_GONE = 2, + HPROBE_CONSUMED = 3, }; enum hrtimer_base_type { @@ -6945,6 +7667,12 @@ enum hwtstamp_flags { HWTSTAMP_FLAG_MASK = 1, }; +enum hwtstamp_provider_qualifier { + HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, + HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, + HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +}; + enum hwtstamp_rx_filters { HWTSTAMP_FILTER_NONE = 0, HWTSTAMP_FILTER_ALL = 1, @@ -6966,8 +7694,9 @@ enum hwtstamp_rx_filters { }; enum hwtstamp_source { - HWTSTAMP_SOURCE_NETDEV = 0, - HWTSTAMP_SOURCE_PHYLIB = 1, + HWTSTAMP_SOURCE_UNSPEC = 0, + HWTSTAMP_SOURCE_NETDEV = 1, + HWTSTAMP_SOURCE_PHYLIB = 2, }; enum hwtstamp_tx_types { @@ -7053,7 +7782,79 @@ enum io_uring_op { IORING_OP_URING_CMD = 46, IORING_OP_SEND_ZC = 47, IORING_OP_SENDMSG_ZC = 48, - IORING_OP_LAST = 49, + IORING_OP_READ_MULTISHOT = 49, + IORING_OP_WAITID = 50, + IORING_OP_FUTEX_WAIT = 51, + IORING_OP_FUTEX_WAKE = 52, + IORING_OP_FUTEX_WAITV = 53, + IORING_OP_FIXED_FD_INSTALL = 54, + IORING_OP_FTRUNCATE = 55, + IORING_OP_BIND = 56, + IORING_OP_LISTEN = 57, + IORING_OP_LAST = 58, +}; + +enum io_uring_register_op { + IORING_REGISTER_BUFFERS = 0, + IORING_UNREGISTER_BUFFERS = 1, + IORING_REGISTER_FILES = 2, + IORING_UNREGISTER_FILES = 3, + IORING_REGISTER_EVENTFD = 4, + IORING_UNREGISTER_EVENTFD = 5, + IORING_REGISTER_FILES_UPDATE = 6, + IORING_REGISTER_EVENTFD_ASYNC = 7, + IORING_REGISTER_PROBE = 8, + IORING_REGISTER_PERSONALITY = 9, + IORING_UNREGISTER_PERSONALITY = 10, + IORING_REGISTER_RESTRICTIONS = 11, + IORING_REGISTER_ENABLE_RINGS = 12, + IORING_REGISTER_FILES2 = 13, + IORING_REGISTER_FILES_UPDATE2 = 14, + IORING_REGISTER_BUFFERS2 = 15, + IORING_REGISTER_BUFFERS_UPDATE = 16, + IORING_REGISTER_IOWQ_AFF = 17, + IORING_UNREGISTER_IOWQ_AFF = 18, + IORING_REGISTER_IOWQ_MAX_WORKERS = 19, + IORING_REGISTER_RING_FDS = 20, + IORING_UNREGISTER_RING_FDS = 21, + IORING_REGISTER_PBUF_RING = 22, + IORING_UNREGISTER_PBUF_RING = 23, + IORING_REGISTER_SYNC_CANCEL = 24, + IORING_REGISTER_FILE_ALLOC_RANGE = 25, + IORING_REGISTER_PBUF_STATUS = 26, + IORING_REGISTER_NAPI = 27, + IORING_UNREGISTER_NAPI = 28, + IORING_REGISTER_CLOCK = 29, + IORING_REGISTER_CLONE_BUFFERS = 30, + IORING_REGISTER_SEND_MSG_RING = 31, + IORING_REGISTER_RESIZE_RINGS = 33, + IORING_REGISTER_MEM_REGION = 34, + IORING_REGISTER_LAST = 35, + IORING_REGISTER_USE_REGISTERED_RING = 2147483648, +}; + +enum io_uring_sqe_flags_bit { + IOSQE_FIXED_FILE_BIT = 0, + IOSQE_IO_DRAIN_BIT = 1, + IOSQE_IO_LINK_BIT = 2, + IOSQE_IO_HARDLINK_BIT = 3, + IOSQE_ASYNC_BIT = 4, + IOSQE_BUFFER_SELECT_BIT = 5, + IOSQE_CQE_SKIP_SUCCESS_BIT = 6, +}; + +enum ioam6_event_attr { + IOAM6_EVENT_ATTR_UNSPEC = 0, + IOAM6_EVENT_ATTR_TRACE_NAMESPACE = 1, + IOAM6_EVENT_ATTR_TRACE_NODELEN = 2, + IOAM6_EVENT_ATTR_TRACE_TYPE = 3, + IOAM6_EVENT_ATTR_TRACE_DATA = 4, + __IOAM6_EVENT_ATTR_MAX = 5, +}; + +enum ioam6_event_type { + IOAM6_EVENT_UNSPEC = 0, + IOAM6_EVENT_TRACE = 1, }; enum ip6_defrag_users { @@ -7072,8 +7873,6 @@ enum ip_conntrack_dir { IP_CT_DIR_MAX = 2, }; -enum ip_conntrack_info; - enum ip_defrag_users { IP_DEFRAG_LOCAL_DELIVER = 0, IP_DEFRAG_CALL_RA_CHAIN = 1, @@ -7094,11 +7893,13 @@ enum ipi_msg_type { IPI_RESCHEDULE = 0, IPI_CALL_FUNC = 1, IPI_CPU_STOP = 2, - IPI_CPU_CRASH_STOP = 3, + IPI_CPU_STOP_NMI = 3, IPI_TIMER = 4, IPI_IRQ_WORK = 5, - IPI_WAKEUP = 6, - NR_IPI = 7, + NR_IPI = 6, + IPI_CPU_BACKTRACE = 6, + IPI_KGDB_ROUNDUP = 7, + MAX_IPI = 8, }; enum irq_domain_bus_token { @@ -7117,7 +7918,8 @@ enum irq_domain_bus_token { DOMAIN_BUS_PCI_DEVICE_MSIX = 12, DOMAIN_BUS_DMAR = 13, DOMAIN_BUS_AMDVI = 14, - DOMAIN_BUS_PCI_DEVICE_IMS = 15, + DOMAIN_BUS_DEVICE_MSI = 15, + DOMAIN_BUS_WIRED_TO_MSI = 16, }; enum irq_gc_flags { @@ -7144,12 +7946,13 @@ enum irqreturn { typedef enum irqreturn irqreturn_t; enum iter_type { - ITER_IOVEC = 0, - ITER_KVEC = 1, + ITER_UBUF = 0, + ITER_IOVEC = 1, ITER_BVEC = 2, - ITER_XARRAY = 3, - ITER_DISCARD = 4, - ITER_UBUF = 5, + ITER_KVEC = 3, + ITER_FOLIOQ = 4, + ITER_XARRAY = 5, + ITER_DISCARD = 6, }; enum its_vcpu_info_cmd_type { @@ -7186,16 +7989,6 @@ enum kernel_read_file_id { READING_MAX_ID = 7, }; -enum key_being_used_for { - VERIFYING_MODULE_SIGNATURE = 0, - VERIFYING_FIRMWARE_SIGNATURE = 1, - VERIFYING_KEXEC_PE_SIGNATURE = 2, - VERIFYING_KEY_SIGNATURE = 3, - VERIFYING_KEY_SELF_SIGNATURE = 4, - VERIFYING_UNSPECIFIED_SIGNATURE = 5, - NR__KEY_BEING_USED_FOR = 6, -}; - enum kfunc_ptr_arg_type { KF_ARG_PTR_TO_CTX = 0, KF_ARG_PTR_TO_ALLOC_BTF_ID = 1, @@ -7210,6 +8003,11 @@ enum kfunc_ptr_arg_type { KF_ARG_PTR_TO_CALLBACK = 10, KF_ARG_PTR_TO_RB_ROOT = 11, KF_ARG_PTR_TO_RB_NODE = 12, + KF_ARG_PTR_TO_NULL = 13, + KF_ARG_PTR_TO_CONST_STR = 14, + KF_ARG_PTR_TO_MAP = 15, + KF_ARG_PTR_TO_WORKQUEUE = 16, + KF_ARG_PTR_TO_IRQ_FLAG = 17, }; enum kmalloc_cache_type { @@ -7254,6 +8052,14 @@ enum kprobe_slot_state { SLOT_USED = 2, }; +enum kunwind_source { + KUNWIND_SOURCE_UNKNOWN = 0, + KUNWIND_SOURCE_FRAME = 1, + KUNWIND_SOURCE_CALLER = 2, + KUNWIND_SOURCE_TASK = 3, + KUNWIND_SOURCE_REGS_PC = 4, +}; + enum kvm_arch_timers { TIMER_PTIMER = 0, TIMER_VTIMER = 1, @@ -7268,7 +8074,8 @@ enum kvm_bus { KVM_PIO_BUS = 1, KVM_VIRTIO_CCW_NOTIFY_BUS = 2, KVM_FAST_MMIO_BUS = 3, - KVM_NR_BUSES = 4, + KVM_IOCSR_BUS = 4, + KVM_NR_BUSES = 5, }; enum kvm_mode { @@ -7351,6 +8158,7 @@ enum lru_status { LRU_ROTATE = 2, LRU_SKIP = 3, LRU_RETRY = 4, + LRU_STOP = 5, }; enum lruvec_flags { @@ -7403,6 +8211,17 @@ enum lwtunnel_ip_t { __LWTUNNEL_IP_MAX = 9, }; +enum maple_status { + ma_active = 0, + ma_start = 1, + ma_root = 2, + ma_none = 3, + ma_pause = 4, + ma_overflow = 5, + ma_underflow = 6, + ma_error = 7, +}; + enum maple_type { maple_dense = 0, maple_leaf_64 = 1, @@ -7417,8 +8236,12 @@ enum mapping_flags { AS_UNEVICTABLE = 3, AS_EXITING = 4, AS_NO_WRITEBACK_TAGS = 5, - AS_LARGE_FOLIO_SUPPORT = 6, - AS_RELEASE_ALWAYS = 7, + AS_RELEASE_ALWAYS = 6, + AS_STABLE_WRITES = 7, + AS_INACCESSIBLE = 8, + AS_FOLIO_ORDER_BITS = 5, + AS_FOLIO_ORDER_MIN = 16, + AS_FOLIO_ORDER_MAX = 21, }; enum memblock_flags { @@ -7427,6 +8250,7 @@ enum memblock_flags { MEMBLOCK_MIRROR = 2, MEMBLOCK_NOMAP = 4, MEMBLOCK_DRIVER_MANAGED = 8, + MEMBLOCK_RSRV_NOINIT = 16, }; enum memcg_memory_event { @@ -7443,14 +8267,14 @@ enum memcg_memory_event { }; enum memcg_stat_item { - MEMCG_SWAP = 40, - MEMCG_SOCK = 41, - MEMCG_PERCPU_B = 42, - MEMCG_VMALLOC = 43, - MEMCG_KMEM = 44, - MEMCG_ZSWAP_B = 45, - MEMCG_ZSWAPPED = 46, - MEMCG_NR_STAT = 47, + MEMCG_SWAP = 43, + MEMCG_SOCK = 44, + MEMCG_PERCPU_B = 45, + MEMCG_VMALLOC = 46, + MEMCG_KMEM = 47, + MEMCG_ZSWAP_B = 48, + MEMCG_ZSWAPPED = 49, + MEMCG_NR_STAT = 50, }; enum meminit_context { @@ -7477,7 +8301,6 @@ enum migrate_mode { MIGRATE_ASYNC = 0, MIGRATE_SYNC_LIGHT = 1, MIGRATE_SYNC = 2, - MIGRATE_SYNC_NO_COPY = 3, }; enum migrate_reason { @@ -7490,7 +8313,8 @@ enum migrate_reason { MR_CONTIG_RANGE = 6, MR_LONGTERM_PIN = 7, MR_DEMOTION = 8, - MR_TYPES = 9, + MR_DAMON = 9, + MR_TYPES = 10, }; enum migratetype { @@ -7558,8 +8382,28 @@ enum msi_desc_filter { enum msi_domain_ids { MSI_DEFAULT_DOMAIN = 0, - MSI_SECONDARY_DOMAIN = 1, - MSI_MAX_DEVICE_IRQDOMAINS = 2, + MSI_MAX_DEVICE_IRQDOMAINS = 1, +}; + +enum mthp_stat_item { + MTHP_STAT_ANON_FAULT_ALLOC = 0, + MTHP_STAT_ANON_FAULT_FALLBACK = 1, + MTHP_STAT_ANON_FAULT_FALLBACK_CHARGE = 2, + MTHP_STAT_ZSWPOUT = 3, + MTHP_STAT_SWPIN = 4, + MTHP_STAT_SWPIN_FALLBACK = 5, + MTHP_STAT_SWPIN_FALLBACK_CHARGE = 6, + MTHP_STAT_SWPOUT = 7, + MTHP_STAT_SWPOUT_FALLBACK = 8, + MTHP_STAT_SHMEM_ALLOC = 9, + MTHP_STAT_SHMEM_FALLBACK = 10, + MTHP_STAT_SHMEM_FALLBACK_CHARGE = 11, + MTHP_STAT_SPLIT = 12, + MTHP_STAT_SPLIT_FAILED = 13, + MTHP_STAT_SPLIT_DEFERRED = 14, + MTHP_STAT_NR_ANON = 15, + MTHP_STAT_NR_ANON_PARTIALLY_MAPPED = 16, + __MTHP_STAT_COUNT = 17, }; enum multi_stop_state { @@ -7570,6 +8414,14 @@ enum multi_stop_state { MULTI_STOP_EXIT = 4, }; +enum nbcon_prio { + NBCON_PRIO_NONE = 0, + NBCON_PRIO_NORMAL = 1, + NBCON_PRIO_EMERGENCY = 2, + NBCON_PRIO_PANIC = 3, + NBCON_PRIO_MAX = 4, +}; + enum net_device_flags { IFF_UP = 1, IFF_BROADCAST = 2, @@ -7654,40 +8506,42 @@ enum netdev_offload_xstats_type { }; enum netdev_priv_flags { - IFF_802_1Q_VLAN = 1ULL, - IFF_EBRIDGE = 2ULL, - IFF_BONDING = 4ULL, - IFF_ISATAP = 8ULL, - IFF_WAN_HDLC = 16ULL, - IFF_XMIT_DST_RELEASE = 32ULL, - IFF_DONT_BRIDGE = 64ULL, - IFF_DISABLE_NETPOLL = 128ULL, - IFF_MACVLAN_PORT = 256ULL, - IFF_BRIDGE_PORT = 512ULL, - IFF_OVS_DATAPATH = 1024ULL, - IFF_TX_SKB_SHARING = 2048ULL, - IFF_UNICAST_FLT = 4096ULL, - IFF_TEAM_PORT = 8192ULL, - IFF_SUPP_NOFCS = 16384ULL, - IFF_LIVE_ADDR_CHANGE = 32768ULL, - IFF_MACVLAN = 65536ULL, - IFF_XMIT_DST_RELEASE_PERM = 131072ULL, - IFF_L3MDEV_MASTER = 262144ULL, - IFF_NO_QUEUE = 524288ULL, - IFF_OPENVSWITCH = 1048576ULL, - IFF_L3MDEV_SLAVE = 2097152ULL, - IFF_TEAM = 4194304ULL, - IFF_RXFH_CONFIGURED = 8388608ULL, - IFF_PHONY_HEADROOM = 16777216ULL, - IFF_MACSEC = 33554432ULL, - IFF_NO_RX_HANDLER = 67108864ULL, - IFF_FAILOVER = 134217728ULL, - IFF_FAILOVER_SLAVE = 268435456ULL, - IFF_L3MDEV_RX_HANDLER = 536870912ULL, - IFF_NO_ADDRCONF = 1073741824ULL, - IFF_TX_SKB_NO_LINEAR = 2147483648ULL, - IFF_CHANGE_PROTO_DOWN = 4294967296ULL, - IFF_SEE_ALL_HWTSTAMP_REQUESTS = 8589934592ULL, + IFF_802_1Q_VLAN = 1, + IFF_EBRIDGE = 2, + IFF_BONDING = 4, + IFF_ISATAP = 8, + IFF_WAN_HDLC = 16, + IFF_XMIT_DST_RELEASE = 32, + IFF_DONT_BRIDGE = 64, + IFF_DISABLE_NETPOLL = 128, + IFF_MACVLAN_PORT = 256, + IFF_BRIDGE_PORT = 512, + IFF_OVS_DATAPATH = 1024, + IFF_TX_SKB_SHARING = 2048, + IFF_UNICAST_FLT = 4096, + IFF_TEAM_PORT = 8192, + IFF_SUPP_NOFCS = 16384, + IFF_LIVE_ADDR_CHANGE = 32768, + IFF_MACVLAN = 65536, + IFF_XMIT_DST_RELEASE_PERM = 131072, + IFF_L3MDEV_MASTER = 262144, + IFF_NO_QUEUE = 524288, + IFF_OPENVSWITCH = 1048576, + IFF_L3MDEV_SLAVE = 2097152, + IFF_TEAM = 4194304, + IFF_RXFH_CONFIGURED = 8388608, + IFF_PHONY_HEADROOM = 16777216, + IFF_MACSEC = 33554432, + IFF_NO_RX_HANDLER = 67108864, + IFF_FAILOVER = 134217728, + IFF_FAILOVER_SLAVE = 268435456, + IFF_L3MDEV_RX_HANDLER = 536870912, + IFF_NO_ADDRCONF = 1073741824, + IFF_TX_SKB_NO_LINEAR = 2147483648, +}; + +enum netdev_qstats_scope { + NETDEV_QSTATS_SCOPE_QUEUE = 1, }; enum netdev_queue_state_t { @@ -7696,6 +8550,27 @@ enum netdev_queue_state_t { __QUEUE_STATE_FROZEN = 2, }; +enum netdev_queue_type { + NETDEV_QUEUE_TYPE_RX = 0, + NETDEV_QUEUE_TYPE_TX = 1, +}; + +enum netdev_reg_state { + NETREG_UNINITIALIZED = 0, + NETREG_REGISTERED = 1, + NETREG_UNREGISTERING = 2, + NETREG_UNREGISTERED = 3, + NETREG_RELEASED = 4, + NETREG_DUMMY = 5, +}; + +enum netdev_stat_type { + NETDEV_PCPU_STAT_NONE = 0, + NETDEV_PCPU_STAT_LSTATS = 1, + NETDEV_PCPU_STAT_TSTATS = 2, + NETDEV_PCPU_STAT_DSTATS = 3, +}; + enum netdev_state_t { __LINK_STATE_START = 0, __LINK_STATE_PRESENT = 1, @@ -7724,6 +8599,17 @@ enum netdev_xdp_act { NETDEV_XDP_ACT_MASK = 127, }; +enum netdev_xdp_rx_metadata { + NETDEV_XDP_RX_METADATA_TIMESTAMP = 1, + NETDEV_XDP_RX_METADATA_HASH = 2, + NETDEV_XDP_RX_METADATA_VLAN_TAG = 4, +}; + +enum netdev_xsk_flags { + NETDEV_XSK_FLAGS_TX_TIMESTAMP = 1, + NETDEV_XSK_FLAGS_TX_CHECKSUM = 2, +}; + enum netevent_notif_type { NETEVENT_NEIGH_UPDATE = 1, NETEVENT_REDIRECT = 2, @@ -7750,6 +8636,8 @@ enum netlink_attribute_type { NL_ATTR_TYPE_NESTED = 13, NL_ATTR_TYPE_NESTED_ARRAY = 14, NL_ATTR_TYPE_BITFIELD32 = 15, + NL_ATTR_TYPE_SINT = 16, + NL_ATTR_TYPE_UINT = 17, }; enum netlink_policy_type_attr { @@ -7795,18 +8683,7 @@ enum nexthop_event_type { NEXTHOP_EVENT_REPLACE = 1, NEXTHOP_EVENT_RES_TABLE_PRE_REPLACE = 2, NEXTHOP_EVENT_BUCKET_REPLACE = 3, -}; - -enum nf_dev_hooks { - NF_NETDEV_INGRESS = 0, - NF_NETDEV_EGRESS = 1, - NF_NETDEV_NUMHOOKS = 2, -}; - -enum nf_hook_ops_type { - NF_HOOK_OP_UNDEFINED = 0, - NF_HOOK_OP_NF_TABLES = 1, - NF_HOOK_OP_BPF = 2, + NEXTHOP_EVENT_HW_STATS_REPORT_DELTA = 4, }; enum nf_inet_hooks { @@ -7819,30 +8696,6 @@ enum nf_inet_hooks { NF_INET_INGRESS = 5, }; -enum nf_ip_hook_priorities { - NF_IP_PRI_FIRST = -2147483648, - NF_IP_PRI_RAW_BEFORE_DEFRAG = -450, - NF_IP_PRI_CONNTRACK_DEFRAG = -400, - NF_IP_PRI_RAW = -300, - NF_IP_PRI_SELINUX_FIRST = -225, - NF_IP_PRI_CONNTRACK = -200, - NF_IP_PRI_MANGLE = -150, - NF_IP_PRI_NAT_DST = -100, - NF_IP_PRI_FILTER = 0, - NF_IP_PRI_SECURITY = 50, - NF_IP_PRI_NAT_SRC = 100, - NF_IP_PRI_SELINUX_LAST = 225, - NF_IP_PRI_CONNTRACK_HELPER = 300, - NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, - NF_IP_PRI_LAST = 2147483647, -}; - -enum nf_log_type { - NF_LOG_TYPE_LOG = 0, - NF_LOG_TYPE_ULOG = 1, - NF_LOG_TYPE_MAX = 2, -}; - enum nfs_opnum4 { OP_ACCESS = 3, OP_CLOSE = 4, @@ -7925,6 +8778,7 @@ enum nh_notifier_info_type { NH_NOTIFIER_INFO_TYPE_GRP = 1, NH_NOTIFIER_INFO_TYPE_RES_TABLE = 2, NH_NOTIFIER_INFO_TYPE_RES_BUCKET = 3, + NH_NOTIFIER_INFO_TYPE_GRP_HW_STATS = 4, }; enum nla_policy_validation { @@ -7995,7 +8849,10 @@ enum node_stat_item { NR_KERNEL_STACK_KB = 37, NR_PAGETABLE = 38, NR_SECONDARY_PAGETABLE = 39, - NR_VM_NODE_STAT_ITEMS = 40, + PGDEMOTE_KSWAPD = 40, + PGDEMOTE_DIRECT = 41, + PGDEMOTE_KHUGEPAGED = 42, + NR_VM_NODE_STAT_ITEMS = 43, }; enum node_states { @@ -8029,6 +8886,10 @@ enum owner_state { OWNER_NONSPINNABLE = 8, }; +enum page_size_enum { + __PAGE_SIZE = 4096, +}; + enum page_walk_action { ACTION_SUBTREE = 0, ACTION_CONTINUE = 1, @@ -8059,33 +8920,45 @@ enum pageflags { PG_waiters = 7, PG_active = 8, PG_workingset = 9, - PG_error = 10, - PG_slab = 11, - PG_owner_priv_1 = 12, - PG_arch_1 = 13, - PG_reserved = 14, - PG_private = 15, - PG_private_2 = 16, - PG_mappedtodisk = 17, - PG_reclaim = 18, - PG_swapbacked = 19, - PG_unevictable = 20, - PG_mlocked = 21, - __NR_PAGEFLAGS = 22, - PG_readahead = 18, - PG_anon_exclusive = 17, - PG_checked = 12, - PG_swapcache = 12, - PG_fscache = 16, - PG_pinned = 12, + PG_owner_priv_1 = 10, + PG_owner_2 = 11, + PG_arch_1 = 12, + PG_reserved = 13, + PG_private = 14, + PG_private_2 = 15, + PG_reclaim = 16, + PG_swapbacked = 17, + PG_unevictable = 18, + PG_dropbehind = 19, + PG_mlocked = 20, + __NR_PAGEFLAGS = 21, + PG_readahead = 16, + PG_swapcache = 10, + PG_checked = 10, + PG_anon_exclusive = 11, + PG_mappedtodisk = 11, + PG_fscache = 15, + PG_pinned = 10, PG_savepinned = 4, - PG_foreign = 12, - PG_xen_remapped = 12, - PG_isolated = 18, + PG_foreign = 10, + PG_xen_remapped = 10, + PG_isolated = 16, PG_reported = 3, - PG_has_hwpoisoned = 10, - PG_hugetlb = 8, + PG_has_hwpoisoned = 8, PG_large_rmappable = 9, + PG_partially_mapped = 16, +}; + +enum pagetype { + PGTY_buddy = 240, + PGTY_offline = 241, + PGTY_table = 242, + PGTY_guard = 243, + PGTY_hugetlb = 244, + PGTY_slab = 245, + PGTY_zsmalloc = 246, + PGTY_unaccepted = 247, + PGTY_mapcount_underflow = 255, }; enum pci_p2pdma_map_type { @@ -8135,7 +9008,8 @@ enum perf_branch_sample_type { PERF_SAMPLE_BRANCH_TYPE_SAVE = 65536, PERF_SAMPLE_BRANCH_HW_INDEX = 131072, PERF_SAMPLE_BRANCH_PRIV_SAVE = 262144, - PERF_SAMPLE_BRANCH_MAX = 524288, + PERF_SAMPLE_BRANCH_COUNTERS = 524288, + PERF_SAMPLE_BRANCH_MAX = 1048576, }; enum perf_branch_sample_type_shift { @@ -8158,7 +9032,8 @@ enum perf_branch_sample_type_shift { PERF_SAMPLE_BRANCH_TYPE_SAVE_SHIFT = 16, PERF_SAMPLE_BRANCH_HW_INDEX_SHIFT = 17, PERF_SAMPLE_BRANCH_PRIV_SAVE_SHIFT = 18, - PERF_SAMPLE_BRANCH_MAX_SHIFT = 19, + PERF_SAMPLE_BRANCH_COUNTERS_SHIFT = 19, + PERF_SAMPLE_BRANCH_MAX_SHIFT = 20, }; enum perf_callchain_context { @@ -8331,6 +9206,16 @@ enum perf_hw_id { PERF_COUNT_HW_MAX = 10, }; +enum perf_pmu_scope { + PERF_PMU_SCOPE_NONE = 0, + PERF_PMU_SCOPE_CORE = 1, + PERF_PMU_SCOPE_DIE = 2, + PERF_PMU_SCOPE_CLUSTER = 3, + PERF_PMU_SCOPE_PKG = 4, + PERF_PMU_SCOPE_SYS_WIDE = 5, + PERF_PMU_MAX_SCOPE = 6, +}; + enum perf_probe_config { PERF_PROBE_CONFIG_IS_RETPROBE = 1, PERF_UPROBE_REF_CTR_OFFSET_BITS = 32, @@ -8408,6 +9293,11 @@ enum phy_tunable_id { __ETHTOOL_PHY_TUNABLE_COUNT = 4, }; +enum phy_upstream { + PHY_UPSTREAM_MAC = 0, + PHY_UPSTREAM_PHY = 1, +}; + enum pid_type { PIDTYPE_PID = 0, PIDTYPE_TGID = 1, @@ -8466,80 +9356,81 @@ enum power_supply_notifier_events { enum power_supply_property { POWER_SUPPLY_PROP_STATUS = 0, POWER_SUPPLY_PROP_CHARGE_TYPE = 1, - POWER_SUPPLY_PROP_HEALTH = 2, - POWER_SUPPLY_PROP_PRESENT = 3, - POWER_SUPPLY_PROP_ONLINE = 4, - POWER_SUPPLY_PROP_AUTHENTIC = 5, - POWER_SUPPLY_PROP_TECHNOLOGY = 6, - POWER_SUPPLY_PROP_CYCLE_COUNT = 7, - POWER_SUPPLY_PROP_VOLTAGE_MAX = 8, - POWER_SUPPLY_PROP_VOLTAGE_MIN = 9, - POWER_SUPPLY_PROP_VOLTAGE_MAX_DESIGN = 10, - POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN = 11, - POWER_SUPPLY_PROP_VOLTAGE_NOW = 12, - POWER_SUPPLY_PROP_VOLTAGE_AVG = 13, - POWER_SUPPLY_PROP_VOLTAGE_OCV = 14, - POWER_SUPPLY_PROP_VOLTAGE_BOOT = 15, - POWER_SUPPLY_PROP_CURRENT_MAX = 16, - POWER_SUPPLY_PROP_CURRENT_NOW = 17, - POWER_SUPPLY_PROP_CURRENT_AVG = 18, - POWER_SUPPLY_PROP_CURRENT_BOOT = 19, - POWER_SUPPLY_PROP_POWER_NOW = 20, - POWER_SUPPLY_PROP_POWER_AVG = 21, - POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN = 22, - POWER_SUPPLY_PROP_CHARGE_EMPTY_DESIGN = 23, - POWER_SUPPLY_PROP_CHARGE_FULL = 24, - POWER_SUPPLY_PROP_CHARGE_EMPTY = 25, - POWER_SUPPLY_PROP_CHARGE_NOW = 26, - POWER_SUPPLY_PROP_CHARGE_AVG = 27, - POWER_SUPPLY_PROP_CHARGE_COUNTER = 28, - POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT = 29, - POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX = 30, - POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE = 31, - POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE_MAX = 32, - POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT = 33, - POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT_MAX = 34, - POWER_SUPPLY_PROP_CHARGE_CONTROL_START_THRESHOLD = 35, - POWER_SUPPLY_PROP_CHARGE_CONTROL_END_THRESHOLD = 36, - POWER_SUPPLY_PROP_CHARGE_BEHAVIOUR = 37, - POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT = 38, - POWER_SUPPLY_PROP_INPUT_VOLTAGE_LIMIT = 39, - POWER_SUPPLY_PROP_INPUT_POWER_LIMIT = 40, - POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN = 41, - POWER_SUPPLY_PROP_ENERGY_EMPTY_DESIGN = 42, - POWER_SUPPLY_PROP_ENERGY_FULL = 43, - POWER_SUPPLY_PROP_ENERGY_EMPTY = 44, - POWER_SUPPLY_PROP_ENERGY_NOW = 45, - POWER_SUPPLY_PROP_ENERGY_AVG = 46, - POWER_SUPPLY_PROP_CAPACITY = 47, - POWER_SUPPLY_PROP_CAPACITY_ALERT_MIN = 48, - POWER_SUPPLY_PROP_CAPACITY_ALERT_MAX = 49, - POWER_SUPPLY_PROP_CAPACITY_ERROR_MARGIN = 50, - POWER_SUPPLY_PROP_CAPACITY_LEVEL = 51, - POWER_SUPPLY_PROP_TEMP = 52, - POWER_SUPPLY_PROP_TEMP_MAX = 53, - POWER_SUPPLY_PROP_TEMP_MIN = 54, - POWER_SUPPLY_PROP_TEMP_ALERT_MIN = 55, - POWER_SUPPLY_PROP_TEMP_ALERT_MAX = 56, - POWER_SUPPLY_PROP_TEMP_AMBIENT = 57, - POWER_SUPPLY_PROP_TEMP_AMBIENT_ALERT_MIN = 58, - POWER_SUPPLY_PROP_TEMP_AMBIENT_ALERT_MAX = 59, - POWER_SUPPLY_PROP_TIME_TO_EMPTY_NOW = 60, - POWER_SUPPLY_PROP_TIME_TO_EMPTY_AVG = 61, - POWER_SUPPLY_PROP_TIME_TO_FULL_NOW = 62, - POWER_SUPPLY_PROP_TIME_TO_FULL_AVG = 63, - POWER_SUPPLY_PROP_TYPE = 64, - POWER_SUPPLY_PROP_USB_TYPE = 65, - POWER_SUPPLY_PROP_SCOPE = 66, - POWER_SUPPLY_PROP_PRECHARGE_CURRENT = 67, - POWER_SUPPLY_PROP_CHARGE_TERM_CURRENT = 68, - POWER_SUPPLY_PROP_CALIBRATE = 69, - POWER_SUPPLY_PROP_MANUFACTURE_YEAR = 70, - POWER_SUPPLY_PROP_MANUFACTURE_MONTH = 71, - POWER_SUPPLY_PROP_MANUFACTURE_DAY = 72, - POWER_SUPPLY_PROP_MODEL_NAME = 73, - POWER_SUPPLY_PROP_MANUFACTURER = 74, - POWER_SUPPLY_PROP_SERIAL_NUMBER = 75, + POWER_SUPPLY_PROP_CHARGE_TYPES = 2, + POWER_SUPPLY_PROP_HEALTH = 3, + POWER_SUPPLY_PROP_PRESENT = 4, + POWER_SUPPLY_PROP_ONLINE = 5, + POWER_SUPPLY_PROP_AUTHENTIC = 6, + POWER_SUPPLY_PROP_TECHNOLOGY = 7, + POWER_SUPPLY_PROP_CYCLE_COUNT = 8, + POWER_SUPPLY_PROP_VOLTAGE_MAX = 9, + POWER_SUPPLY_PROP_VOLTAGE_MIN = 10, + POWER_SUPPLY_PROP_VOLTAGE_MAX_DESIGN = 11, + POWER_SUPPLY_PROP_VOLTAGE_MIN_DESIGN = 12, + POWER_SUPPLY_PROP_VOLTAGE_NOW = 13, + POWER_SUPPLY_PROP_VOLTAGE_AVG = 14, + POWER_SUPPLY_PROP_VOLTAGE_OCV = 15, + POWER_SUPPLY_PROP_VOLTAGE_BOOT = 16, + POWER_SUPPLY_PROP_CURRENT_MAX = 17, + POWER_SUPPLY_PROP_CURRENT_NOW = 18, + POWER_SUPPLY_PROP_CURRENT_AVG = 19, + POWER_SUPPLY_PROP_CURRENT_BOOT = 20, + POWER_SUPPLY_PROP_POWER_NOW = 21, + POWER_SUPPLY_PROP_POWER_AVG = 22, + POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN = 23, + POWER_SUPPLY_PROP_CHARGE_EMPTY_DESIGN = 24, + POWER_SUPPLY_PROP_CHARGE_FULL = 25, + POWER_SUPPLY_PROP_CHARGE_EMPTY = 26, + POWER_SUPPLY_PROP_CHARGE_NOW = 27, + POWER_SUPPLY_PROP_CHARGE_AVG = 28, + POWER_SUPPLY_PROP_CHARGE_COUNTER = 29, + POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT = 30, + POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX = 31, + POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE = 32, + POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE_MAX = 33, + POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT = 34, + POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT_MAX = 35, + POWER_SUPPLY_PROP_CHARGE_CONTROL_START_THRESHOLD = 36, + POWER_SUPPLY_PROP_CHARGE_CONTROL_END_THRESHOLD = 37, + POWER_SUPPLY_PROP_CHARGE_BEHAVIOUR = 38, + POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT = 39, + POWER_SUPPLY_PROP_INPUT_VOLTAGE_LIMIT = 40, + POWER_SUPPLY_PROP_INPUT_POWER_LIMIT = 41, + POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN = 42, + POWER_SUPPLY_PROP_ENERGY_EMPTY_DESIGN = 43, + POWER_SUPPLY_PROP_ENERGY_FULL = 44, + POWER_SUPPLY_PROP_ENERGY_EMPTY = 45, + POWER_SUPPLY_PROP_ENERGY_NOW = 46, + POWER_SUPPLY_PROP_ENERGY_AVG = 47, + POWER_SUPPLY_PROP_CAPACITY = 48, + POWER_SUPPLY_PROP_CAPACITY_ALERT_MIN = 49, + POWER_SUPPLY_PROP_CAPACITY_ALERT_MAX = 50, + POWER_SUPPLY_PROP_CAPACITY_ERROR_MARGIN = 51, + POWER_SUPPLY_PROP_CAPACITY_LEVEL = 52, + POWER_SUPPLY_PROP_TEMP = 53, + POWER_SUPPLY_PROP_TEMP_MAX = 54, + POWER_SUPPLY_PROP_TEMP_MIN = 55, + POWER_SUPPLY_PROP_TEMP_ALERT_MIN = 56, + POWER_SUPPLY_PROP_TEMP_ALERT_MAX = 57, + POWER_SUPPLY_PROP_TEMP_AMBIENT = 58, + POWER_SUPPLY_PROP_TEMP_AMBIENT_ALERT_MIN = 59, + POWER_SUPPLY_PROP_TEMP_AMBIENT_ALERT_MAX = 60, + POWER_SUPPLY_PROP_TIME_TO_EMPTY_NOW = 61, + POWER_SUPPLY_PROP_TIME_TO_EMPTY_AVG = 62, + POWER_SUPPLY_PROP_TIME_TO_FULL_NOW = 63, + POWER_SUPPLY_PROP_TIME_TO_FULL_AVG = 64, + POWER_SUPPLY_PROP_TYPE = 65, + POWER_SUPPLY_PROP_USB_TYPE = 66, + POWER_SUPPLY_PROP_SCOPE = 67, + POWER_SUPPLY_PROP_PRECHARGE_CURRENT = 68, + POWER_SUPPLY_PROP_CHARGE_TERM_CURRENT = 69, + POWER_SUPPLY_PROP_CALIBRATE = 70, + POWER_SUPPLY_PROP_MANUFACTURE_YEAR = 71, + POWER_SUPPLY_PROP_MANUFACTURE_MONTH = 72, + POWER_SUPPLY_PROP_MANUFACTURE_DAY = 73, + POWER_SUPPLY_PROP_MODEL_NAME = 74, + POWER_SUPPLY_PROP_MANUFACTURER = 75, + POWER_SUPPLY_PROP_SERIAL_NUMBER = 76, }; enum power_supply_type { @@ -8558,19 +9449,6 @@ enum power_supply_type { POWER_SUPPLY_TYPE_WIRELESS = 12, }; -enum power_supply_usb_type { - POWER_SUPPLY_USB_TYPE_UNKNOWN = 0, - POWER_SUPPLY_USB_TYPE_SDP = 1, - POWER_SUPPLY_USB_TYPE_DCP = 2, - POWER_SUPPLY_USB_TYPE_CDP = 3, - POWER_SUPPLY_USB_TYPE_ACA = 4, - POWER_SUPPLY_USB_TYPE_C = 5, - POWER_SUPPLY_USB_TYPE_PD = 6, - POWER_SUPPLY_USB_TYPE_PD_DRP = 7, - POWER_SUPPLY_USB_TYPE_PD_PPS = 8, - POWER_SUPPLY_USB_TYPE_APPLE_BRICK_ID = 9, -}; - enum print_line_t { TRACE_TYPE_PARTIAL_LINE = 0, TRACE_TYPE_HANDLED = 1, @@ -8578,6 +9456,12 @@ enum print_line_t { TRACE_TYPE_NO_CONSUME = 3, }; +enum priv_stack_mode { + PRIV_STACK_UNKNOWN = 0, + NO_PRIV_STACK = 1, + PRIV_STACK_ADAPTIVE = 2, +}; + enum probe_insn { INSN_REJECTED = 0, INSN_GOOD_NO_SLOT = 1, @@ -8636,16 +9520,6 @@ enum ramfs_param { Opt_mode___2 = 0, }; -enum rcutorture_type { - RCU_FLAVOR = 0, - RCU_TASKS_FLAVOR = 1, - RCU_TASKS_RUDE_FLAVOR = 2, - RCU_TASKS_TRACING_FLAVOR = 3, - RCU_TRIVIAL_FLAVOR = 4, - SRCU_FLAVOR = 5, - INVALID_RCU_FLAVOR = 6, -}; - enum reboot_mode { REBOOT_UNDEFINED = -1, REBOOT_COLD = 0, @@ -8665,6 +9539,12 @@ enum reboot_type { BOOT_CF9_SAFE = 113, }; +enum ref_state_type { + REF_TYPE_PTR = 1, + REF_TYPE_IRQ = 2, + REF_TYPE_LOCK = 3, +}; + enum refcount_saturation_type { REFCOUNT_ADD_NOT_ZERO_OVF = 0, REFCOUNT_ADD_OVF = 1, @@ -8688,6 +9568,19 @@ enum regex_type { MATCH_INDEX = 5, }; +enum reset_control_flags { + RESET_CONTROL_EXCLUSIVE = 4, + RESET_CONTROL_EXCLUSIVE_DEASSERTED = 12, + RESET_CONTROL_EXCLUSIVE_RELEASED = 0, + RESET_CONTROL_SHARED = 1, + RESET_CONTROL_SHARED_DEASSERTED = 9, + RESET_CONTROL_OPTIONAL_EXCLUSIVE = 6, + RESET_CONTROL_OPTIONAL_EXCLUSIVE_DEASSERTED = 14, + RESET_CONTROL_OPTIONAL_EXCLUSIVE_RELEASED = 2, + RESET_CONTROL_OPTIONAL_SHARED = 3, + RESET_CONTROL_OPTIONAL_SHARED_DEASSERTED = 11, +}; + enum resolve_mode { RESOLVE_TBD = 0, RESOLVE_PTR = 1, @@ -8705,6 +9598,13 @@ enum ring_buffer_type { RINGBUF_TYPE_TIME_STAMP = 31, }; +enum ripas { + RSI_RIPAS_EMPTY = 0, + RSI_RIPAS_RAM = 1, + RSI_RIPAS_DESTROYED = 2, + RSI_RIPAS_DEV = 3, +}; + enum rlimit_type { UCOUNT_RLIMIT_NPROC = 0, UCOUNT_RLIMIT_MSGQUEUE = 1, @@ -8713,6 +9613,11 @@ enum rlimit_type { UCOUNT_RLIMIT_COUNTS = 4, }; +enum rmap_level { + RMAP_LEVEL_PTE = 0, + RMAP_LEVEL_PMD = 1, +}; + enum rp_check { RP_CHECK_CALL = 0, RP_CHECK_CHAIN_CALL = 1, @@ -8799,7 +9704,8 @@ enum rtattr_type_t { RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, - __RTA_MAX = 31, + RTA_FLOWLABEL = 31, + __RTA_MAX = 32, }; enum rtnetlink_groups { @@ -8840,7 +9746,10 @@ enum rtnetlink_groups { RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, - __RTNLGRP_MAX = 37, + RTNLGRP_IPV4_MCADDR = 37, + RTNLGRP_IPV6_MCADDR = 38, + RTNLGRP_IPV6_ACADDR = 39, + __RTNLGRP_MAX = 40, }; enum rtnl_kinds { @@ -8853,6 +9762,8 @@ enum rtnl_kinds { enum rtnl_link_flags { RTNL_FLAG_DOIT_UNLOCKED = 1, RTNL_FLAG_BULK_DEL_SUPPORTED = 2, + RTNL_FLAG_DUMP_UNLOCKED = 4, + RTNL_FLAG_DUMP_SPLIT_NLM_DONE = 8, }; enum rw_hint { @@ -8862,7 +9773,7 @@ enum rw_hint { WRITE_LIFE_MEDIUM = 3, WRITE_LIFE_LONG = 4, WRITE_LIFE_EXTREME = 5, -}; +} __attribute__((mode(byte))); enum rwsem_waiter_type { RWSEM_WAITING_FOR_WRITE = 0, @@ -8895,6 +9806,7 @@ enum scale_freq_source { SCALE_FREQ_SOURCE_CPUFREQ = 0, SCALE_FREQ_SOURCE_ARCH = 1, SCALE_FREQ_SOURCE_CPPC = 2, + SCALE_FREQ_SOURCE_VIRT = 3, }; enum scan_balance { @@ -8915,6 +9827,11 @@ enum sctp_msg_flags { MSG_NOTIFICATION = 32768, }; +enum set_event_iter_type { + SET_EVENT_FILE = 0, + SET_EVENT_MOD = 1, +}; + enum sig_handler { HANDLER_CURRENT = 0, HANDLER_SIG_DFL = 1, @@ -8952,86 +9869,152 @@ enum sk_psock_state_bits { SK_PSOCK_RX_STRP_ENABLED = 1, }; +enum sk_rst_reason { + SK_RST_REASON_NOT_SPECIFIED = 0, + SK_RST_REASON_NO_SOCKET = 1, + SK_RST_REASON_TCP_INVALID_ACK_SEQUENCE = 2, + SK_RST_REASON_TCP_RFC7323_PAWS = 3, + SK_RST_REASON_TCP_TOO_OLD_ACK = 4, + SK_RST_REASON_TCP_ACK_UNSENT_DATA = 5, + SK_RST_REASON_TCP_FLAGS = 6, + SK_RST_REASON_TCP_OLD_ACK = 7, + SK_RST_REASON_TCP_ABORT_ON_DATA = 8, + SK_RST_REASON_TCP_TIMEWAIT_SOCKET = 9, + SK_RST_REASON_INVALID_SYN = 10, + SK_RST_REASON_TCP_ABORT_ON_CLOSE = 11, + SK_RST_REASON_TCP_ABORT_ON_LINGER = 12, + SK_RST_REASON_TCP_ABORT_ON_MEMORY = 13, + SK_RST_REASON_TCP_STATE = 14, + SK_RST_REASON_TCP_KEEPALIVE_TIMEOUT = 15, + SK_RST_REASON_TCP_DISCONNECT_WITH_DATA = 16, + SK_RST_REASON_MPTCP_RST_EUNSPEC = 17, + SK_RST_REASON_MPTCP_RST_EMPTCP = 18, + SK_RST_REASON_MPTCP_RST_ERESOURCE = 19, + SK_RST_REASON_MPTCP_RST_EPROHIBIT = 20, + SK_RST_REASON_MPTCP_RST_EWQ2BIG = 21, + SK_RST_REASON_MPTCP_RST_EBADPERF = 22, + SK_RST_REASON_MPTCP_RST_EMIDDLEBOX = 23, + SK_RST_REASON_ERROR = 24, + SK_RST_REASON_MAX = 25, +}; + enum skb_drop_reason { SKB_NOT_DROPPED_YET = 0, SKB_CONSUMED = 1, SKB_DROP_REASON_NOT_SPECIFIED = 2, SKB_DROP_REASON_NO_SOCKET = 3, - SKB_DROP_REASON_PKT_TOO_SMALL = 4, - SKB_DROP_REASON_TCP_CSUM = 5, - SKB_DROP_REASON_SOCKET_FILTER = 6, - SKB_DROP_REASON_UDP_CSUM = 7, - SKB_DROP_REASON_NETFILTER_DROP = 8, - SKB_DROP_REASON_OTHERHOST = 9, - SKB_DROP_REASON_IP_CSUM = 10, - SKB_DROP_REASON_IP_INHDR = 11, - SKB_DROP_REASON_IP_RPFILTER = 12, - SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST = 13, - SKB_DROP_REASON_XFRM_POLICY = 14, - SKB_DROP_REASON_IP_NOPROTO = 15, - SKB_DROP_REASON_SOCKET_RCVBUFF = 16, - SKB_DROP_REASON_PROTO_MEM = 17, - SKB_DROP_REASON_TCP_MD5NOTFOUND = 18, - SKB_DROP_REASON_TCP_MD5UNEXPECTED = 19, - SKB_DROP_REASON_TCP_MD5FAILURE = 20, - SKB_DROP_REASON_SOCKET_BACKLOG = 21, - SKB_DROP_REASON_TCP_FLAGS = 22, - SKB_DROP_REASON_TCP_ZEROWINDOW = 23, - SKB_DROP_REASON_TCP_OLD_DATA = 24, - SKB_DROP_REASON_TCP_OVERWINDOW = 25, - SKB_DROP_REASON_TCP_OFOMERGE = 26, - SKB_DROP_REASON_TCP_RFC7323_PAWS = 27, - SKB_DROP_REASON_TCP_OLD_SEQUENCE = 28, - SKB_DROP_REASON_TCP_INVALID_SEQUENCE = 29, - SKB_DROP_REASON_TCP_RESET = 30, - SKB_DROP_REASON_TCP_INVALID_SYN = 31, - SKB_DROP_REASON_TCP_CLOSE = 32, - SKB_DROP_REASON_TCP_FASTOPEN = 33, - SKB_DROP_REASON_TCP_OLD_ACK = 34, - SKB_DROP_REASON_TCP_TOO_OLD_ACK = 35, - SKB_DROP_REASON_TCP_ACK_UNSENT_DATA = 36, - SKB_DROP_REASON_TCP_OFO_QUEUE_PRUNE = 37, - SKB_DROP_REASON_TCP_OFO_DROP = 38, - SKB_DROP_REASON_IP_OUTNOROUTES = 39, - SKB_DROP_REASON_BPF_CGROUP_EGRESS = 40, - SKB_DROP_REASON_IPV6DISABLED = 41, - SKB_DROP_REASON_NEIGH_CREATEFAIL = 42, - SKB_DROP_REASON_NEIGH_FAILED = 43, - SKB_DROP_REASON_NEIGH_QUEUEFULL = 44, - SKB_DROP_REASON_NEIGH_DEAD = 45, - SKB_DROP_REASON_TC_EGRESS = 46, - SKB_DROP_REASON_QDISC_DROP = 47, - SKB_DROP_REASON_CPU_BACKLOG = 48, - SKB_DROP_REASON_XDP = 49, - SKB_DROP_REASON_TC_INGRESS = 50, - SKB_DROP_REASON_UNHANDLED_PROTO = 51, - SKB_DROP_REASON_SKB_CSUM = 52, - SKB_DROP_REASON_SKB_GSO_SEG = 53, - SKB_DROP_REASON_SKB_UCOPY_FAULT = 54, - SKB_DROP_REASON_DEV_HDR = 55, - SKB_DROP_REASON_DEV_READY = 56, - SKB_DROP_REASON_FULL_RING = 57, - SKB_DROP_REASON_NOMEM = 58, - SKB_DROP_REASON_HDR_TRUNC = 59, - SKB_DROP_REASON_TAP_FILTER = 60, - SKB_DROP_REASON_TAP_TXFILTER = 61, - SKB_DROP_REASON_ICMP_CSUM = 62, - SKB_DROP_REASON_INVALID_PROTO = 63, - SKB_DROP_REASON_IP_INADDRERRORS = 64, - SKB_DROP_REASON_IP_INNOROUTES = 65, - SKB_DROP_REASON_PKT_TOO_BIG = 66, - SKB_DROP_REASON_DUP_FRAG = 67, - SKB_DROP_REASON_FRAG_REASM_TIMEOUT = 68, - SKB_DROP_REASON_FRAG_TOO_FAR = 69, - SKB_DROP_REASON_TCP_MINTTL = 70, - SKB_DROP_REASON_IPV6_BAD_EXTHDR = 71, - SKB_DROP_REASON_IPV6_NDISC_FRAG = 72, - SKB_DROP_REASON_IPV6_NDISC_HOP_LIMIT = 73, - SKB_DROP_REASON_IPV6_NDISC_BAD_CODE = 74, - SKB_DROP_REASON_IPV6_NDISC_BAD_OPTIONS = 75, - SKB_DROP_REASON_IPV6_NDISC_NS_OTHERHOST = 76, - SKB_DROP_REASON_QUEUE_PURGE = 77, - SKB_DROP_REASON_MAX = 78, + SKB_DROP_REASON_SOCKET_CLOSE = 4, + SKB_DROP_REASON_SOCKET_FILTER = 5, + SKB_DROP_REASON_SOCKET_RCVBUFF = 6, + SKB_DROP_REASON_UNIX_DISCONNECT = 7, + SKB_DROP_REASON_UNIX_SKIP_OOB = 8, + SKB_DROP_REASON_PKT_TOO_SMALL = 9, + SKB_DROP_REASON_TCP_CSUM = 10, + SKB_DROP_REASON_UDP_CSUM = 11, + SKB_DROP_REASON_NETFILTER_DROP = 12, + SKB_DROP_REASON_OTHERHOST = 13, + SKB_DROP_REASON_IP_CSUM = 14, + SKB_DROP_REASON_IP_INHDR = 15, + SKB_DROP_REASON_IP_RPFILTER = 16, + SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST = 17, + SKB_DROP_REASON_XFRM_POLICY = 18, + SKB_DROP_REASON_IP_NOPROTO = 19, + SKB_DROP_REASON_PROTO_MEM = 20, + SKB_DROP_REASON_TCP_AUTH_HDR = 21, + SKB_DROP_REASON_TCP_MD5NOTFOUND = 22, + SKB_DROP_REASON_TCP_MD5UNEXPECTED = 23, + SKB_DROP_REASON_TCP_MD5FAILURE = 24, + SKB_DROP_REASON_TCP_AONOTFOUND = 25, + SKB_DROP_REASON_TCP_AOUNEXPECTED = 26, + SKB_DROP_REASON_TCP_AOKEYNOTFOUND = 27, + SKB_DROP_REASON_TCP_AOFAILURE = 28, + SKB_DROP_REASON_SOCKET_BACKLOG = 29, + SKB_DROP_REASON_TCP_FLAGS = 30, + SKB_DROP_REASON_TCP_ABORT_ON_DATA = 31, + SKB_DROP_REASON_TCP_ZEROWINDOW = 32, + SKB_DROP_REASON_TCP_OLD_DATA = 33, + SKB_DROP_REASON_TCP_OVERWINDOW = 34, + SKB_DROP_REASON_TCP_OFOMERGE = 35, + SKB_DROP_REASON_TCP_RFC7323_PAWS = 36, + SKB_DROP_REASON_TCP_RFC7323_PAWS_ACK = 37, + SKB_DROP_REASON_TCP_OLD_SEQUENCE = 38, + SKB_DROP_REASON_TCP_INVALID_SEQUENCE = 39, + SKB_DROP_REASON_TCP_INVALID_ACK_SEQUENCE = 40, + SKB_DROP_REASON_TCP_RESET = 41, + SKB_DROP_REASON_TCP_INVALID_SYN = 42, + SKB_DROP_REASON_TCP_CLOSE = 43, + SKB_DROP_REASON_TCP_FASTOPEN = 44, + SKB_DROP_REASON_TCP_OLD_ACK = 45, + SKB_DROP_REASON_TCP_TOO_OLD_ACK = 46, + SKB_DROP_REASON_TCP_ACK_UNSENT_DATA = 47, + SKB_DROP_REASON_TCP_OFO_QUEUE_PRUNE = 48, + SKB_DROP_REASON_TCP_OFO_DROP = 49, + SKB_DROP_REASON_IP_OUTNOROUTES = 50, + SKB_DROP_REASON_BPF_CGROUP_EGRESS = 51, + SKB_DROP_REASON_IPV6DISABLED = 52, + SKB_DROP_REASON_NEIGH_CREATEFAIL = 53, + SKB_DROP_REASON_NEIGH_FAILED = 54, + SKB_DROP_REASON_NEIGH_QUEUEFULL = 55, + SKB_DROP_REASON_NEIGH_DEAD = 56, + SKB_DROP_REASON_TC_EGRESS = 57, + SKB_DROP_REASON_SECURITY_HOOK = 58, + SKB_DROP_REASON_QDISC_DROP = 59, + SKB_DROP_REASON_QDISC_OVERLIMIT = 60, + SKB_DROP_REASON_QDISC_CONGESTED = 61, + SKB_DROP_REASON_CAKE_FLOOD = 62, + SKB_DROP_REASON_FQ_BAND_LIMIT = 63, + SKB_DROP_REASON_FQ_HORIZON_LIMIT = 64, + SKB_DROP_REASON_FQ_FLOW_LIMIT = 65, + SKB_DROP_REASON_CPU_BACKLOG = 66, + SKB_DROP_REASON_XDP = 67, + SKB_DROP_REASON_TC_INGRESS = 68, + SKB_DROP_REASON_UNHANDLED_PROTO = 69, + SKB_DROP_REASON_SKB_CSUM = 70, + SKB_DROP_REASON_SKB_GSO_SEG = 71, + SKB_DROP_REASON_SKB_UCOPY_FAULT = 72, + SKB_DROP_REASON_DEV_HDR = 73, + SKB_DROP_REASON_DEV_READY = 74, + SKB_DROP_REASON_FULL_RING = 75, + SKB_DROP_REASON_NOMEM = 76, + SKB_DROP_REASON_HDR_TRUNC = 77, + SKB_DROP_REASON_TAP_FILTER = 78, + SKB_DROP_REASON_TAP_TXFILTER = 79, + SKB_DROP_REASON_ICMP_CSUM = 80, + SKB_DROP_REASON_INVALID_PROTO = 81, + SKB_DROP_REASON_IP_INADDRERRORS = 82, + SKB_DROP_REASON_IP_INNOROUTES = 83, + SKB_DROP_REASON_IP_LOCAL_SOURCE = 84, + SKB_DROP_REASON_IP_INVALID_SOURCE = 85, + SKB_DROP_REASON_IP_LOCALNET = 86, + SKB_DROP_REASON_IP_INVALID_DEST = 87, + SKB_DROP_REASON_PKT_TOO_BIG = 88, + SKB_DROP_REASON_DUP_FRAG = 89, + SKB_DROP_REASON_FRAG_REASM_TIMEOUT = 90, + SKB_DROP_REASON_FRAG_TOO_FAR = 91, + SKB_DROP_REASON_TCP_MINTTL = 92, + SKB_DROP_REASON_IPV6_BAD_EXTHDR = 93, + SKB_DROP_REASON_IPV6_NDISC_FRAG = 94, + SKB_DROP_REASON_IPV6_NDISC_HOP_LIMIT = 95, + SKB_DROP_REASON_IPV6_NDISC_BAD_CODE = 96, + SKB_DROP_REASON_IPV6_NDISC_BAD_OPTIONS = 97, + SKB_DROP_REASON_IPV6_NDISC_NS_OTHERHOST = 98, + SKB_DROP_REASON_QUEUE_PURGE = 99, + SKB_DROP_REASON_TC_COOKIE_ERROR = 100, + SKB_DROP_REASON_PACKET_SOCK_ERROR = 101, + SKB_DROP_REASON_TC_CHAIN_NOTFOUND = 102, + SKB_DROP_REASON_TC_RECLASSIFY_LOOP = 103, + SKB_DROP_REASON_VXLAN_INVALID_HDR = 104, + SKB_DROP_REASON_VXLAN_VNI_NOT_FOUND = 105, + SKB_DROP_REASON_MAC_INVALID_SOURCE = 106, + SKB_DROP_REASON_VXLAN_ENTRY_EXISTS = 107, + SKB_DROP_REASON_NO_TX_TARGET = 108, + SKB_DROP_REASON_IP_TUNNEL_ECN = 109, + SKB_DROP_REASON_TUNNEL_TXINFO = 110, + SKB_DROP_REASON_LOCAL_MAC = 111, + SKB_DROP_REASON_ARP_PVLAN_DISABLE = 112, + SKB_DROP_REASON_MAC_IEEE_MAC_CONTROL = 113, + SKB_DROP_REASON_BRIDGE_INGRESS_STP_STATE = 114, + SKB_DROP_REASON_MAX = 115, SKB_DROP_REASON_SUBSYS_MASK = 4294901760, }; @@ -9043,6 +10026,13 @@ enum skb_drop_reason_subsys { SKB_DROP_REASON_SUBSYS_NUM = 4, }; +enum skb_tstamp_type { + SKB_CLOCK_REALTIME = 0, + SKB_CLOCK_MONOTONIC = 1, + SKB_CLOCK_TAI = 2, + __SKB_CLOCK_MAX = 2, +}; + enum sknetlink_groups { SKNLGRP_NONE = 0, SKNLGRP_INET_TCP_DESTROY = 1, @@ -9055,9 +10045,8 @@ enum sknetlink_groups { enum slab_state { DOWN = 0, PARTIAL = 1, - PARTIAL_NODE = 2, - UP = 3, - FULL = 4, + UP = 2, + FULL = 3, }; enum sock_flags { @@ -9089,6 +10078,7 @@ enum sock_flags { SOCK_XDP = 25, SOCK_TSTAMP_NEW = 26, SOCK_RCVMARK = 27, + SOCK_RCVPRIORITY = 28, }; enum sock_shutdown_cmd { @@ -9127,6 +10117,20 @@ enum special_kfunc_type { KF_bpf_dynptr_slice = 16, KF_bpf_dynptr_slice_rdwr = 17, KF_bpf_dynptr_clone = 18, + KF_bpf_percpu_obj_new_impl = 19, + KF_bpf_percpu_obj_drop_impl = 20, + KF_bpf_throw = 21, + KF_bpf_wq_set_callback_impl = 22, + KF_bpf_preempt_disable = 23, + KF_bpf_preempt_enable = 24, + KF_bpf_iter_css_task_new = 25, + KF_bpf_session_cookie = 26, + KF_bpf_get_kmem_cache = 27, + KF_bpf_local_irq_save = 28, + KF_bpf_local_irq_restore = 29, + KF_bpf_iter_num_new = 30, + KF_bpf_iter_num_next = 31, + KF_bpf_iter_num_destroy = 32, }; enum spectre_v4_policy { @@ -9165,9 +10169,25 @@ enum stat_item { NR_SLUB_STAT_ITEMS = 26, }; +enum store_type { + wr_invalid = 0, + wr_new_root = 1, + wr_store_root = 2, + wr_exact_fit = 3, + wr_spanning_store = 4, + wr_split_store = 5, + wr_rebalance = 6, + wr_append = 7, + wr_node_store = 8, + wr_slot_store = 9, +}; + enum string_size_units { STRING_UNITS_10 = 0, STRING_UNITS_2 = 1, + STRING_UNITS_MASK = 1, + STRING_UNITS_NO_SPACE = 1073741824, + STRING_UNITS_NO_BYTES = 2147483648, }; enum sum_check_bits { @@ -9198,6 +10218,7 @@ enum task_work_notify_mode { TWA_RESUME = 1, TWA_SIGNAL = 2, TWA_SIGNAL_NO_IPI = 3, + TWA_NMI_CURRENT = 4, }; enum tc_mq_command { @@ -9285,6 +10306,16 @@ enum tcp_queue { TCP_FRAG_IN_RTX_QUEUE = 1, }; +enum tcp_skb_cb_sacked_flags { + TCPCB_SACKED_ACKED = 1, + TCPCB_SACKED_RETRANS = 2, + TCPCB_LOST = 4, + TCPCB_TAGBITS = 7, + TCPCB_REPAIRED = 16, + TCPCB_EVER_RETRANS = 128, + TCPCB_RETRANS = 146, +}; + enum tcp_synack_type { TCP_SYNACK_NORMAL = 0, TCP_SYNACK_FASTOPEN = 1, @@ -9354,7 +10385,8 @@ enum tlb_flush_reason { TLB_LOCAL_SHOOTDOWN = 2, TLB_LOCAL_MM_SHOOTDOWN = 3, TLB_REMOTE_SEND_IPI = 4, - NR_TLB_FLUSH_REASONS = 5, + TLB_REMOTE_WRONG_CPU = 5, + NR_TLB_FLUSH_REASONS = 6, }; enum tp_func_state { @@ -9372,7 +10404,7 @@ enum tp_transition_sync { enum trace_flag_type { TRACE_FLAG_IRQS_OFF = 1, - TRACE_FLAG_IRQS_NOSUPPORT = 2, + TRACE_FLAG_NEED_RESCHED_LAZY = 2, TRACE_FLAG_NEED_RESCHED = 4, TRACE_FLAG_HARDIRQ = 8, TRACE_FLAG_SOFTIRQ = 16, @@ -9411,13 +10443,14 @@ enum trace_iterator_bits { TRACE_ITER_IRQ_INFO_BIT = 20, TRACE_ITER_MARKERS_BIT = 21, TRACE_ITER_EVENT_FORK_BIT = 22, - TRACE_ITER_PAUSE_ON_TRACE_BIT = 23, - TRACE_ITER_HASH_PTR_BIT = 24, - TRACE_ITER_FUNCTION_BIT = 25, - TRACE_ITER_FUNC_FORK_BIT = 26, - TRACE_ITER_DISPLAY_GRAPH_BIT = 27, - TRACE_ITER_STACKTRACE_BIT = 28, - TRACE_ITER_LAST_BIT = 29, + TRACE_ITER_TRACE_PRINTK_BIT = 23, + TRACE_ITER_PAUSE_ON_TRACE_BIT = 24, + TRACE_ITER_HASH_PTR_BIT = 25, + TRACE_ITER_FUNCTION_BIT = 26, + TRACE_ITER_FUNC_FORK_BIT = 27, + TRACE_ITER_DISPLAY_GRAPH_BIT = 28, + TRACE_ITER_STACKTRACE_BIT = 29, + TRACE_ITER_LAST_BIT = 30, }; enum trace_iterator_flags { @@ -9444,12 +10477,13 @@ enum trace_iterator_flags { TRACE_ITER_IRQ_INFO = 1048576, TRACE_ITER_MARKERS = 2097152, TRACE_ITER_EVENT_FORK = 4194304, - TRACE_ITER_PAUSE_ON_TRACE = 8388608, - TRACE_ITER_HASH_PTR = 16777216, - TRACE_ITER_FUNCTION = 33554432, - TRACE_ITER_FUNC_FORK = 67108864, - TRACE_ITER_DISPLAY_GRAPH = 134217728, - TRACE_ITER_STACKTRACE = 268435456, + TRACE_ITER_TRACE_PRINTK = 8388608, + TRACE_ITER_PAUSE_ON_TRACE = 16777216, + TRACE_ITER_HASH_PTR = 33554432, + TRACE_ITER_FUNCTION = 67108864, + TRACE_ITER_FUNC_FORK = 134217728, + TRACE_ITER_DISPLAY_GRAPH = 268435456, + TRACE_ITER_STACKTRACE = 536870912, }; enum trace_reg { @@ -9476,15 +10510,16 @@ enum trace_type { TRACE_BRANCH = 9, TRACE_GRAPH_RET = 10, TRACE_GRAPH_ENT = 11, - TRACE_USER_STACK = 12, - TRACE_BLK = 13, - TRACE_BPUTS = 14, - TRACE_HWLAT = 15, - TRACE_OSNOISE = 16, - TRACE_TIMERLAT = 17, - TRACE_RAW_DATA = 18, - TRACE_FUNC_REPEATS = 19, - __TRACE_LAST_TYPE = 20, + TRACE_GRAPH_RETADDR_ENT = 12, + TRACE_USER_STACK = 13, + TRACE_BLK = 14, + TRACE_BPUTS = 15, + TRACE_HWLAT = 16, + TRACE_OSNOISE = 17, + TRACE_TIMERLAT = 18, + TRACE_RAW_DATA = 19, + TRACE_FUNC_REPEATS = 20, + __TRACE_LAST_TYPE = 21, }; enum tsq_enum { @@ -9494,6 +10529,7 @@ enum tsq_enum { TCP_WRITE_TIMER_DEFERRED = 3, TCP_DELACK_TIMER_DEFERRED = 4, TCP_MTU_REDUCED_DEFERRED = 5, + TCP_ACK_DEFERRED = 6, }; enum tsq_flags { @@ -9503,6 +10539,7 @@ enum tsq_flags { TCPF_WRITE_TIMER_DEFERRED = 8, TCPF_DELACK_TIMER_DEFERRED = 16, TCPF_MTU_REDUCED_DEFERRED = 32, + TCPF_ACK_DEFERRED = 64, }; enum ttu_flags { @@ -9593,12 +10630,6 @@ enum umount_tree_flags { UMOUNT_CONNECTED = 4, }; -enum uprobe_filter_ctx { - UPROBE_FILTER_REGISTER = 0, - UPROBE_FILTER_UNREGISTER = 1, - UPROBE_FILTER_MMAP = 2, -}; - enum uprobe_task_state { UTASK_RUNNING = 0, UTASK_SSTEP = 1, @@ -9626,111 +10657,214 @@ enum vcpu_sysreg { MPIDR_EL1 = 1, CLIDR_EL1 = 2, CSSELR_EL1 = 3, - SCTLR_EL1 = 4, - ACTLR_EL1 = 5, - CPACR_EL1 = 6, - ZCR_EL1 = 7, - TTBR0_EL1 = 8, - TTBR1_EL1 = 9, - TCR_EL1 = 10, - TCR2_EL1 = 11, - ESR_EL1 = 12, - AFSR0_EL1 = 13, - AFSR1_EL1 = 14, - FAR_EL1 = 15, - MAIR_EL1 = 16, - VBAR_EL1 = 17, - CONTEXTIDR_EL1 = 18, - TPIDR_EL0 = 19, - TPIDRRO_EL0 = 20, - TPIDR_EL1 = 21, - AMAIR_EL1 = 22, - CNTKCTL_EL1 = 23, - PAR_EL1 = 24, - MDSCR_EL1 = 25, - MDCCINT_EL1 = 26, - OSLSR_EL1 = 27, - DISR_EL1 = 28, - PMCR_EL0 = 29, - PMSELR_EL0 = 30, - PMEVCNTR0_EL0 = 31, - PMEVCNTR30_EL0 = 61, - PMCCNTR_EL0 = 62, - PMEVTYPER0_EL0 = 63, - PMEVTYPER30_EL0 = 93, - PMCCFILTR_EL0 = 94, - PMCNTENSET_EL0 = 95, - PMINTENSET_EL1 = 96, - PMOVSSET_EL0 = 97, - PMUSERENR_EL0 = 98, - APIAKEYLO_EL1 = 99, - APIAKEYHI_EL1 = 100, - APIBKEYLO_EL1 = 101, - APIBKEYHI_EL1 = 102, - APDAKEYLO_EL1 = 103, - APDAKEYHI_EL1 = 104, - APDBKEYLO_EL1 = 105, - APDBKEYHI_EL1 = 106, - APGAKEYLO_EL1 = 107, - APGAKEYHI_EL1 = 108, - ELR_EL1 = 109, - SP_EL1 = 110, - SPSR_EL1 = 111, - CNTVOFF_EL2 = 112, - CNTV_CVAL_EL0 = 113, - CNTV_CTL_EL0 = 114, - CNTP_CVAL_EL0 = 115, - CNTP_CTL_EL0 = 116, - RGSR_EL1 = 117, - GCR_EL1 = 118, - TFSR_EL1 = 119, - TFSRE0_EL1 = 120, - PIR_EL1 = 121, - PIRE0_EL1 = 122, - DACR32_EL2 = 123, - IFSR32_EL2 = 124, - FPEXC32_EL2 = 125, - DBGVCR32_EL2 = 126, - VPIDR_EL2 = 127, - VMPIDR_EL2 = 128, - SCTLR_EL2 = 129, - ACTLR_EL2 = 130, - HCR_EL2 = 131, - MDCR_EL2 = 132, - CPTR_EL2 = 133, - HSTR_EL2 = 134, - HACR_EL2 = 135, - HCRX_EL2 = 136, - TTBR0_EL2 = 137, - TTBR1_EL2 = 138, - TCR_EL2 = 139, - VTTBR_EL2 = 140, + TPIDR_EL0 = 4, + TPIDRRO_EL0 = 5, + TPIDR_EL1 = 6, + CNTKCTL_EL1 = 7, + PAR_EL1 = 8, + MDCCINT_EL1 = 9, + OSLSR_EL1 = 10, + DISR_EL1 = 11, + PMCR_EL0 = 12, + PMSELR_EL0 = 13, + PMEVCNTR0_EL0 = 14, + PMEVCNTR30_EL0 = 44, + PMCCNTR_EL0 = 45, + PMEVTYPER0_EL0 = 46, + PMEVTYPER30_EL0 = 76, + PMCCFILTR_EL0 = 77, + PMCNTENSET_EL0 = 78, + PMINTENSET_EL1 = 79, + PMOVSSET_EL0 = 80, + PMUSERENR_EL0 = 81, + APIAKEYLO_EL1 = 82, + APIAKEYHI_EL1 = 83, + APIBKEYLO_EL1 = 84, + APIBKEYHI_EL1 = 85, + APDAKEYLO_EL1 = 86, + APDAKEYHI_EL1 = 87, + APDBKEYLO_EL1 = 88, + APDBKEYHI_EL1 = 89, + APGAKEYLO_EL1 = 90, + APGAKEYHI_EL1 = 91, + RGSR_EL1 = 92, + GCR_EL1 = 93, + TFSRE0_EL1 = 94, + POR_EL0 = 95, + SVCR = 96, + FPMR = 97, + DACR32_EL2 = 98, + IFSR32_EL2 = 99, + FPEXC32_EL2 = 100, + DBGVCR32_EL2 = 101, + SCTLR_EL2 = 102, + ACTLR_EL2 = 103, + CPTR_EL2 = 104, + HACR_EL2 = 105, + ZCR_EL2 = 106, + TTBR0_EL2 = 107, + TTBR1_EL2 = 108, + TCR_EL2 = 109, + PIRE0_EL2 = 110, + PIR_EL2 = 111, + POR_EL2 = 112, + SPSR_EL2 = 113, + ELR_EL2 = 114, + AFSR0_EL2 = 115, + AFSR1_EL2 = 116, + ESR_EL2 = 117, + FAR_EL2 = 118, + HPFAR_EL2 = 119, + MAIR_EL2 = 120, + AMAIR_EL2 = 121, + VBAR_EL2 = 122, + RVBAR_EL2 = 123, + CONTEXTIDR_EL2 = 124, + SP_EL2 = 125, + CNTHP_CTL_EL2 = 126, + CNTHP_CVAL_EL2 = 127, + CNTHV_CTL_EL2 = 128, + CNTHV_CVAL_EL2 = 129, + __SANITISED_REG_START__ = 130, + __after___SANITISED_REG_START__ = 129, + TCR2_EL2 = 130, + MDCR_EL2 = 131, + CNTHCTL_EL2 = 132, + __VNCR_START__ = 133, + __after___VNCR_START__ = 132, + __before_SCTLR_EL1 = 133, + SCTLR_EL1 = 167, + __after_SCTLR_EL1 = 167, + __before_ACTLR_EL1 = 168, + ACTLR_EL1 = 168, + __after_ACTLR_EL1 = 168, + __before_CPACR_EL1 = 169, + CPACR_EL1 = 165, + __after_CPACR_EL1 = 168, + __before_ZCR_EL1 = 169, + ZCR_EL1 = 193, + __after_ZCR_EL1 = 193, + __before_TTBR0_EL1 = 194, + TTBR0_EL1 = 197, + __after_TTBR0_EL1 = 197, + __before_TTBR1_EL1 = 198, + TTBR1_EL1 = 199, + __after_TTBR1_EL1 = 199, + __before_TCR_EL1 = 200, + TCR_EL1 = 169, + __after_TCR_EL1 = 199, + __before_TCR2_EL1 = 200, + TCR2_EL1 = 211, + __after_TCR2_EL1 = 211, + __before_ESR_EL1 = 212, + ESR_EL1 = 172, + __after_ESR_EL1 = 211, + __before_AFSR0_EL1 = 212, + AFSR0_EL1 = 170, + __after_AFSR0_EL1 = 211, + __before_AFSR1_EL1 = 212, + AFSR1_EL1 = 171, + __after_AFSR1_EL1 = 211, + __before_FAR_EL1 = 212, + FAR_EL1 = 201, + __after_FAR_EL1 = 211, + __before_MAIR_EL1 = 212, + MAIR_EL1 = 173, + __after_MAIR_EL1 = 211, + __before_VBAR_EL1 = 212, + VBAR_EL1 = 207, + __after_VBAR_EL1 = 211, + __before_CONTEXTIDR_EL1 = 212, + CONTEXTIDR_EL1 = 166, + __after_CONTEXTIDR_EL1 = 211, + __before_AMAIR_EL1 = 212, + AMAIR_EL1 = 174, + __after_AMAIR_EL1 = 211, + __before_MDSCR_EL1 = 212, + MDSCR_EL1 = 176, + __after_MDSCR_EL1 = 211, + __before_ELR_EL1 = 212, + ELR_EL1 = 203, + __after_ELR_EL1 = 211, + __before_SP_EL1 = 212, + SP_EL1 = 205, + __after_SP_EL1 = 211, + __before_SPSR_EL1 = 212, + SPSR_EL1 = 177, + __after_SPSR_EL1 = 211, + __before_TFSR_EL1 = 212, + TFSR_EL1 = 183, + __after_TFSR_EL1 = 211, + __before_VPIDR_EL2 = 212, + VPIDR_EL2 = 150, + __after_VPIDR_EL2 = 211, + __before_VMPIDR_EL2 = 212, + VMPIDR_EL2 = 143, + __after_VMPIDR_EL2 = 211, + __before_HCR_EL2 = 212, + HCR_EL2 = 148, + __after_HCR_EL2 = 211, + __before_HSTR_EL2 = 212, + HSTR_EL2 = 149, + __after_HSTR_EL2 = 211, + __before_VTTBR_EL2 = 212, + VTTBR_EL2 = 137, + __after_VTTBR_EL2 = 211, + __before_VTCR_EL2 = 212, VTCR_EL2 = 141, - SPSR_EL2 = 142, - ELR_EL2 = 143, - AFSR0_EL2 = 144, - AFSR1_EL2 = 145, - ESR_EL2 = 146, - FAR_EL2 = 147, - HPFAR_EL2 = 148, - MAIR_EL2 = 149, - AMAIR_EL2 = 150, - VBAR_EL2 = 151, - RVBAR_EL2 = 152, - CONTEXTIDR_EL2 = 153, - TPIDR_EL2 = 154, - CNTHCTL_EL2 = 155, - SP_EL2 = 156, - HFGRTR_EL2 = 157, - HFGWTR_EL2 = 158, - HFGITR_EL2 = 159, - HDFGRTR_EL2 = 160, - HDFGWTR_EL2 = 161, - CNTHP_CTL_EL2 = 162, - CNTHP_CVAL_EL2 = 163, - CNTHV_CTL_EL2 = 164, - CNTHV_CVAL_EL2 = 165, - NR_SYS_REGS = 166, + __after_VTCR_EL2 = 211, + __before_TPIDR_EL2 = 212, + TPIDR_EL2 = 151, + __after_TPIDR_EL2 = 211, + __before_HCRX_EL2 = 212, + HCRX_EL2 = 153, + __after_HCRX_EL2 = 211, + __before_PIR_EL1 = 212, + PIR_EL1 = 217, + __after_PIR_EL1 = 217, + __before_PIRE0_EL1 = 218, + PIRE0_EL1 = 215, + __after_PIRE0_EL1 = 217, + __before_POR_EL1 = 218, + POR_EL1 = 218, + __after_POR_EL1 = 218, + __before_HFGRTR_EL2 = 219, + HFGRTR_EL2 = 188, + __after_HFGRTR_EL2 = 218, + __before_HFGWTR_EL2 = 219, + HFGWTR_EL2 = 189, + __after_HFGWTR_EL2 = 218, + __before_HFGITR_EL2 = 219, + HFGITR_EL2 = 190, + __after_HFGITR_EL2 = 218, + __before_HDFGRTR_EL2 = 219, + HDFGRTR_EL2 = 191, + __after_HDFGRTR_EL2 = 218, + __before_HDFGWTR_EL2 = 219, + HDFGWTR_EL2 = 192, + __after_HDFGWTR_EL2 = 218, + __before_HAFGRTR_EL2 = 219, + HAFGRTR_EL2 = 194, + __after_HAFGRTR_EL2 = 218, + __before_CNTVOFF_EL2 = 219, + CNTVOFF_EL2 = 145, + __after_CNTVOFF_EL2 = 218, + __before_CNTV_CVAL_EL0 = 219, + CNTV_CVAL_EL0 = 178, + __after_CNTV_CVAL_EL0 = 218, + __before_CNTV_CTL_EL0 = 219, + CNTV_CTL_EL0 = 179, + __after_CNTV_CTL_EL0 = 218, + __before_CNTP_CVAL_EL0 = 219, + CNTP_CVAL_EL0 = 180, + __after_CNTP_CVAL_EL0 = 218, + __before_CNTP_CTL_EL0 = 219, + CNTP_CTL_EL0 = 181, + __after_CNTP_CTL_EL0 = 218, + __before_ICH_HCR_EL2 = 219, + ICH_HCR_EL2 = 285, + __after_ICH_HCR_EL2 = 285, + NR_SYS_REGS = 286, }; enum vdso_abi { @@ -9757,6 +10891,14 @@ enum verifier_phase { CHECK_TYPE = 1, }; +enum vesa_blank_mode { + VESA_NO_BLANKING = 0, + VESA_VSYNC_SUSPEND = 1, + VESA_HSYNC_SUSPEND = 2, + VESA_POWERDOWN = 3, + VESA_BLANK_MAX = 3, +}; + enum visit_state { NOT_VISITED = 0, VISITED = 1, @@ -9786,35 +10928,32 @@ enum vm_event_item { PGSTEAL_KSWAPD = 19, PGSTEAL_DIRECT = 20, PGSTEAL_KHUGEPAGED = 21, - PGDEMOTE_KSWAPD = 22, - PGDEMOTE_DIRECT = 23, - PGDEMOTE_KHUGEPAGED = 24, - PGSCAN_KSWAPD = 25, - PGSCAN_DIRECT = 26, - PGSCAN_KHUGEPAGED = 27, - PGSCAN_DIRECT_THROTTLE = 28, - PGSCAN_ANON = 29, - PGSCAN_FILE = 30, - PGSTEAL_ANON = 31, - PGSTEAL_FILE = 32, - PGINODESTEAL = 33, - SLABS_SCANNED = 34, - KSWAPD_INODESTEAL = 35, - KSWAPD_LOW_WMARK_HIT_QUICKLY = 36, - KSWAPD_HIGH_WMARK_HIT_QUICKLY = 37, - PAGEOUTRUN = 38, - PGROTATED = 39, - DROP_PAGECACHE = 40, - DROP_SLAB = 41, - OOM_KILL = 42, - UNEVICTABLE_PGCULLED = 43, - UNEVICTABLE_PGSCANNED = 44, - UNEVICTABLE_PGRESCUED = 45, - UNEVICTABLE_PGMLOCKED = 46, - UNEVICTABLE_PGMUNLOCKED = 47, - UNEVICTABLE_PGCLEARED = 48, - UNEVICTABLE_PGSTRANDED = 49, - NR_VM_EVENT_ITEMS = 50, + PGSCAN_KSWAPD = 22, + PGSCAN_DIRECT = 23, + PGSCAN_KHUGEPAGED = 24, + PGSCAN_DIRECT_THROTTLE = 25, + PGSCAN_ANON = 26, + PGSCAN_FILE = 27, + PGSTEAL_ANON = 28, + PGSTEAL_FILE = 29, + PGINODESTEAL = 30, + SLABS_SCANNED = 31, + KSWAPD_INODESTEAL = 32, + KSWAPD_LOW_WMARK_HIT_QUICKLY = 33, + KSWAPD_HIGH_WMARK_HIT_QUICKLY = 34, + PAGEOUTRUN = 35, + PGROTATED = 36, + DROP_PAGECACHE = 37, + DROP_SLAB = 38, + OOM_KILL = 39, + UNEVICTABLE_PGCULLED = 40, + UNEVICTABLE_PGSCANNED = 41, + UNEVICTABLE_PGRESCUED = 42, + UNEVICTABLE_PGMLOCKED = 43, + UNEVICTABLE_PGMUNLOCKED = 44, + UNEVICTABLE_PGCLEARED = 45, + UNEVICTABLE_PGSTRANDED = 46, + NR_VM_EVENT_ITEMS = 47, }; enum vm_fault_reason { @@ -9834,6 +10973,18 @@ enum vm_fault_reason { VM_FAULT_HINDEX_MASK = 983040, }; +enum vma_merge_flags { + VMG_FLAG_DEFAULT = 0, + VMG_FLAG_JUST_EXPAND = 1, +}; + +enum vma_merge_state { + VMA_MERGE_START = 0, + VMA_MERGE_ERROR_NOMEM = 1, + VMA_MERGE_NOMERGE = 2, + VMA_MERGE_SUCCESS = 3, +}; + enum vmscan_throttle_state { VMSCAN_THROTTLE_WRITEBACK = 0, VMSCAN_THROTTLE_ISOLATED = 1, @@ -9875,6 +11026,56 @@ enum wb_state { WB_start_all = 3, }; +enum work_bits { + WORK_STRUCT_PENDING_BIT = 0, + WORK_STRUCT_INACTIVE_BIT = 1, + WORK_STRUCT_PWQ_BIT = 2, + WORK_STRUCT_LINKED_BIT = 3, + WORK_STRUCT_FLAG_BITS = 4, + WORK_STRUCT_COLOR_SHIFT = 4, + WORK_STRUCT_COLOR_BITS = 4, + WORK_STRUCT_PWQ_SHIFT = 8, + WORK_OFFQ_FLAG_SHIFT = 4, + WORK_OFFQ_BH_BIT = 4, + WORK_OFFQ_FLAG_END = 5, + WORK_OFFQ_FLAG_BITS = 1, + WORK_OFFQ_DISABLE_SHIFT = 5, + WORK_OFFQ_DISABLE_BITS = 16, + WORK_OFFQ_POOL_SHIFT = 21, + WORK_OFFQ_LEFT = 43, + WORK_OFFQ_POOL_BITS = 31, +}; + +enum work_cancel_flags { + WORK_CANCEL_DELAYED = 1, + WORK_CANCEL_DISABLE = 2, +}; + +enum work_flags { + WORK_STRUCT_PENDING = 1, + WORK_STRUCT_INACTIVE = 2, + WORK_STRUCT_PWQ = 4, + WORK_STRUCT_LINKED = 8, + WORK_STRUCT_STATIC = 0, +}; + +enum worker_flags { + WORKER_DIE = 2, + WORKER_IDLE = 4, + WORKER_PREP = 8, + WORKER_CPU_INTENSIVE = 64, + WORKER_UNBOUND = 128, + WORKER_REBOUND = 256, + WORKER_NOT_RUNNING = 456, +}; + +enum worker_pool_flags { + POOL_BH = 1, + POOL_MANAGER_ACTIVE = 2, + POOL_DISASSOCIATED = 4, + POOL_BH_DRAINING = 8, +}; + enum wq_affn_scope { WQ_AFFN_DFL = 0, WQ_AFFN_CPU = 1, @@ -9885,6 +11086,52 @@ enum wq_affn_scope { WQ_AFFN_NR_TYPES = 6, }; +enum wq_consts { + WQ_MAX_ACTIVE = 2048, + WQ_UNBOUND_MAX_ACTIVE = 2048, + WQ_DFL_ACTIVE = 1024, + WQ_DFL_MIN_ACTIVE = 8, +}; + +enum wq_flags { + WQ_BH = 1, + WQ_UNBOUND = 2, + WQ_FREEZABLE = 4, + WQ_MEM_RECLAIM = 8, + WQ_HIGHPRI = 16, + WQ_CPU_INTENSIVE = 32, + WQ_SYSFS = 64, + WQ_POWER_EFFICIENT = 128, + __WQ_DESTROYING = 32768, + __WQ_DRAINING = 65536, + __WQ_ORDERED = 131072, + __WQ_LEGACY = 262144, + __WQ_BH_ALLOWS = 17, +}; + +enum wq_internal_consts { + NR_STD_WORKER_POOLS = 2, + UNBOUND_POOL_HASH_ORDER = 6, + BUSY_WORKER_HASH_ORDER = 6, + MAX_IDLE_WORKERS_RATIO = 4, + IDLE_WORKER_TIMEOUT = 75000, + MAYDAY_INITIAL_TIMEOUT = 2, + MAYDAY_INTERVAL = 25, + CREATE_COOLDOWN = 250, + RESCUER_NICE_LEVEL = -20, + HIGHPRI_NICE_LEVEL = -20, + WQ_NAME_LEN = 32, + WORKER_ID_LEN = 42, +}; + +enum wq_misc_consts { + WORK_NR_COLORS = 16, + WORK_CPU_UNBOUND = 512, + WORK_BUSY_PENDING = 1, + WORK_BUSY_RUNNING = 2, + WORKER_DESC_LEN = 32, +}; + enum writeback_sync_modes { WB_SYNC_NONE = 0, WB_SYNC_ALL = 1, @@ -9925,6 +11172,7 @@ enum xdp_rss_hash_type { XDP_RSS_L4_UDP = 32, XDP_RSS_L4_SCTP = 64, XDP_RSS_L4_IPSEC = 128, + XDP_RSS_L4_ICMP = 256, XDP_RSS_TYPE_NONE = 0, XDP_RSS_TYPE_L2 = 0, XDP_RSS_TYPE_L3_IPV4 = 1, @@ -9936,15 +11184,24 @@ enum xdp_rss_hash_type { XDP_RSS_TYPE_L4_IPV4_UDP = 41, XDP_RSS_TYPE_L4_IPV4_SCTP = 73, XDP_RSS_TYPE_L4_IPV4_IPSEC = 137, + XDP_RSS_TYPE_L4_IPV4_ICMP = 265, XDP_RSS_TYPE_L4_IPV6_TCP = 26, XDP_RSS_TYPE_L4_IPV6_UDP = 42, XDP_RSS_TYPE_L4_IPV6_SCTP = 74, XDP_RSS_TYPE_L4_IPV6_IPSEC = 138, + XDP_RSS_TYPE_L4_IPV6_ICMP = 266, XDP_RSS_TYPE_L4_IPV6_TCP_EX = 30, XDP_RSS_TYPE_L4_IPV6_UDP_EX = 46, XDP_RSS_TYPE_L4_IPV6_SCTP_EX = 78, }; +enum xdp_rx_metadata { + XDP_METADATA_KFUNC_RX_TIMESTAMP = 0, + XDP_METADATA_KFUNC_RX_HASH = 1, + XDP_METADATA_KFUNC_RX_VLAN_TAG = 2, + MAX_XDP_METADATA_KFUNC = 3, +}; + enum xfrm_attr_type_t { XFRMA_UNSPEC = 0, XFRMA_ALG_AUTH = 1, @@ -9979,7 +11236,16 @@ enum xfrm_attr_type_t { XFRMA_SET_MARK_MASK = 30, XFRMA_IF_ID = 31, XFRMA_MTIMER_THRESH = 32, - __XFRMA_MAX = 33, + XFRMA_SA_DIR = 33, + XFRMA_NAT_KEEPALIVE_INTERVAL = 34, + XFRMA_SA_PCPU = 35, + XFRMA_IPTFS_DROP_TIME = 36, + XFRMA_IPTFS_REORDER_WINDOW = 37, + XFRMA_IPTFS_DONT_FRAG = 38, + XFRMA_IPTFS_INIT_DELAY = 39, + XFRMA_IPTFS_MAX_QSIZE = 40, + XFRMA_IPTFS_PKT_SIZE = 41, + __XFRMA_MAX = 42, }; enum xfrm_replay_mode { @@ -9997,6 +11263,7 @@ enum xps_map_type { enum zone_flags { ZONE_BOOSTED_WATERMARK = 0, ZONE_RECLAIM_ACTIVE = 1, + ZONE_BELOW_HIGH = 2, }; enum zone_stat_item { @@ -10050,6 +11317,8 @@ typedef int __kernel_timer_t; typedef int __s32; +typedef int class_get_unused_fd_t; + typedef __kernel_clockid_t clockid_t; typedef __s32 s32; @@ -10058,6 +11327,10 @@ typedef s32 compat_int_t; typedef s32 compat_ssize_t; +typedef int folio_walk_flags_t; + +typedef int fpb_t; + typedef int fpi_t; typedef int initcall_entry_t; @@ -10096,6 +11369,8 @@ typedef __kernel_clock_t clock_t; typedef __kernel_off_t off_t; +typedef volatile long int prel64_t; + typedef __kernel_ptrdiff_t ptrdiff_t; typedef __kernel_ssize_t ssize_t; @@ -10146,6 +11421,8 @@ typedef u64 dma_addr_t; typedef __be64 fdt64_t; +typedef u64 io_req_flags_t; + typedef u64 netdev_features_t; typedef u64 p4dval_t; @@ -10182,6 +11459,8 @@ typedef long unsigned int irq_hw_number_t; typedef long unsigned int kernel_ulong_t; +typedef long unsigned int netmem_ref; + typedef long unsigned int perf_trace_t[1024]; typedef long unsigned int pte_marker; @@ -10220,14 +11499,10 @@ typedef __kernel_sa_family_t sa_family_t; typedef __u16 u16; -typedef u16 u_int16_t; - typedef u16 uint16_t; typedef short unsigned int umode_t; -typedef short unsigned int ushort; - typedef signed char __s8; typedef __s8 s8; @@ -10274,6 +11549,10 @@ typedef __u32 __portpair; typedef __u32 __wsum; +typedef unsigned int blk_features_t; + +typedef unsigned int blk_flags_t; + typedef unsigned int blk_mode_t; typedef __u32 blk_opf_t; @@ -10302,29 +11581,27 @@ typedef unsigned int fgf_t; typedef unsigned int fmode_t; +typedef unsigned int fop_flags_t; + typedef unsigned int gfp_t; typedef __kernel_gid32_t gid_t; typedef unsigned int iov_iter_extraction_t; -typedef unsigned int isolate_mode_t; - typedef unsigned int kasan_vmalloc_flags_t; -typedef u32 kprobe_opcode_t; +typedef __le32 kprobe_opcode_t; typedef unsigned int pci_channel_state_t; typedef unsigned int pci_ers_result_t; -typedef unsigned int pcie_reset_state_t; - typedef unsigned int pgtbl_mod_mask; typedef u32 phandle; -typedef u32 probe_opcode_t; +typedef unsigned int pipe_index_t; typedef __kernel_uid32_t projid_t; @@ -10338,8 +11615,6 @@ typedef unsigned int t_key; typedef unsigned int tcflag_t; -typedef u32 u_int32_t; - typedef __kernel_uid32_t uid_t; typedef unsigned int uint; @@ -10389,6 +11664,30 @@ typedef struct { unsigned int timeout; } cisco_proto; +typedef struct { + void *lock; +} class_cpus_read_lock_t; + +struct rq; + +typedef struct { + struct rq *lock; + struct rq *lock2; +} class_double_rq_lock_t; + +typedef struct { + void *lock; + long unsigned int flags; +} class_irqsave_t; + +typedef struct { + void *lock; +} class_jump_label_lock_t; + +typedef struct { + void *lock; +} class_preempt_notrace_t; + typedef struct { void *lock; } class_preempt_t; @@ -10397,15 +11696,27 @@ struct raw_spinlock; typedef struct raw_spinlock raw_spinlock_t; +typedef struct { + raw_spinlock_t *lock; +} class_raw_spinlock_irq_t; + typedef struct { raw_spinlock_t *lock; long unsigned int flags; } class_raw_spinlock_irqsave_t; +typedef struct { + raw_spinlock_t *lock; +} class_raw_spinlock_t; + typedef struct { void *lock; } class_rcu_t; +typedef struct { + void *lock; +} class_rcu_tasks_trace_t; + struct pin_cookie {}; struct rq_flags { @@ -10413,13 +11724,81 @@ struct rq_flags { struct pin_cookie cookie; }; -struct rq; - typedef struct { struct rq *lock; struct rq_flags rf; } class_rq_lock_irqsave_t; +typedef struct { + struct rq *lock; + struct rq_flags rf; +} class_rq_lock_t; + +struct spinlock; + +typedef struct spinlock spinlock_t; + +typedef struct { + spinlock_t *lock; + long unsigned int flags; +} class_spinlock_irqsave_t; + +typedef struct { + spinlock_t *lock; +} class_spinlock_t; + +struct srcu_struct; + +typedef struct { + struct srcu_struct *lock; + int idx; +} class_srcu_t; + +struct task_struct; + +typedef struct { + struct task_struct *lock; + struct rq *rq; + struct rq_flags rf; +} class_task_rq_lock_t; + +struct qspinlock { + union { + atomic_t val; + struct { + u8 locked; + u8 pending; + }; + struct { + u16 locked_pending; + u16 tail; + }; + }; +}; + +typedef struct qspinlock arch_spinlock_t; + +struct qrwlock { + union { + atomic_t cnts; + struct { + u8 wlocked; + u8 __lstate[3]; + }; + }; + arch_spinlock_t wait_lock; +}; + +typedef struct qrwlock arch_rwlock_t; + +typedef struct { + arch_rwlock_t raw_lock; +} rwlock_t; + +typedef struct { + rwlock_t *lock; +} class_write_lock_irq_t; + typedef __kernel_fd_set fd_set; typedef struct { @@ -10431,6 +11810,10 @@ typedef struct { long unsigned int *res_ex; } fd_set_bits; +typedef struct { + atomic64_t refcnt; +} file_ref_t; + typedef struct { unsigned int t391; unsigned int t392; @@ -10470,10 +11853,6 @@ typedef struct { long unsigned int key[2]; } hsiphash_key_t; -typedef struct { - long unsigned int pd; -} hugepd_t; - typedef struct { unsigned int __softirq_pending; long: 64; @@ -10524,6 +11903,7 @@ typedef struct { refcount_t pinned; void *vdso; long unsigned int flags; + u8 pkey_allocation_map; } mm_context_t; typedef struct {} netdevice_tracker; @@ -10535,17 +11915,17 @@ typedef struct { } nodemask_t; typedef struct { - pgdval_t pgd; -} pgd_t; - -typedef struct { - pgd_t pgd; + p4dval_t p4d; } p4d_t; typedef struct { u64 val; } pfn_t; +typedef struct { + pgdval_t pgd; +} pgd_t; + typedef struct { pteval_t pgprot; } pgprot_t; @@ -10561,7 +11941,7 @@ typedef struct { } pte_t; typedef struct { - p4d_t p4d; + pudval_t pud; } pud_t; typedef struct { @@ -10586,39 +11966,6 @@ typedef struct { typedef union { } release_pages_arg; -struct qspinlock { - union { - atomic_t val; - struct { - u8 locked; - u8 pending; - }; - struct { - u16 locked_pending; - u16 tail; - }; - }; -}; - -typedef struct qspinlock arch_spinlock_t; - -struct qrwlock { - union { - atomic_t cnts; - struct { - u8 wlocked; - u8 __lstate[3]; - }; - }; - arch_spinlock_t wait_lock; -}; - -typedef struct qrwlock arch_rwlock_t; - -typedef struct { - arch_rwlock_t raw_lock; -} rwlock_t; - struct seqcount { unsigned int sequence; }; @@ -10645,8 +11992,6 @@ struct spinlock { }; }; -typedef struct spinlock spinlock_t; - typedef struct { seqcount_spinlock_t seqcount; spinlock_t lock; @@ -10744,8 +12089,6 @@ struct hlist_node { struct hlist_node **pprev; }; -struct net_rate_estimator; - struct sk_buff; struct sk_buff_list { @@ -10793,12 +12136,16 @@ struct callback_head { void (*func)(struct callback_head *); }; +struct lock_class_key {}; + struct Qdisc_ops; struct qdisc_size_table; struct netdev_queue; +struct net_rate_estimator; + struct Qdisc { int (*enqueue)(struct sk_buff *, struct Qdisc *, struct sk_buff **); struct sk_buff * (*dequeue)(struct Qdisc *); @@ -10822,6 +12169,7 @@ struct Qdisc { struct qdisc_skb_head q; struct gnet_stats_basic_sync bstats; struct gnet_stats_queue qstats; + int owner; long unsigned int state; long unsigned int state2; struct Qdisc *next_sched; @@ -10837,6 +12185,7 @@ struct Qdisc { spinlock_t seqlock; struct callback_head rcu; netdevice_tracker dev_tracker; + struct lock_class_key root_lock_key; long: 64; long: 64; long: 64; @@ -10901,6 +12250,15 @@ struct Qdisc_ops { struct module *owner; }; +struct __arch_ftrace_regs { + long unsigned int regs[9]; + long unsigned int __unused; + long unsigned int fp; + long unsigned int lr; + long unsigned int sp; + long unsigned int pc; +}; + struct llist_node { struct llist_node *next; }; @@ -10925,6 +12283,14 @@ struct __call_single_data { typedef struct __call_single_data call_single_data_t; +struct tracepoint; + +struct __find_tracepoint_cb_data { + const char *tp_name; + struct tracepoint *tpoint; + struct module *mod; +}; + struct arm64_ftr_reg; struct __ftr_reg_entry { @@ -11249,11 +12615,11 @@ struct address_space { long unsigned int writeback_index; const struct address_space_operations *a_ops; long unsigned int flags; - struct rw_semaphore i_mmap_rwsem; errseq_t wb_err; - spinlock_t private_lock; - struct list_head private_list; - void *private_data; + spinlock_t i_private_lock; + struct list_head i_private_list; + struct rw_semaphore i_mmap_rwsem; + void *i_private_data; }; struct page; @@ -11278,8 +12644,8 @@ struct address_space_operations { int (*writepages)(struct address_space *, struct writeback_control *); bool (*dirty_folio)(struct address_space *, struct folio *); void (*readahead)(struct readahead_control *); - int (*write_begin)(struct file *, struct address_space *, loff_t, unsigned int, struct page **, void **); - int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct page *, void *); + int (*write_begin)(struct file *, struct address_space *, loff_t, unsigned int, struct folio **, void **); + int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct folio *, void *); sector_t (*bmap)(struct address_space *, sector_t); void (*invalidate_folio)(struct folio *, size_t, size_t); bool (*release_folio)(struct folio *, gfp_t); @@ -11289,7 +12655,7 @@ struct address_space_operations { int (*launder_folio)(struct folio *); bool (*is_partially_uptodate)(struct folio *, size_t, size_t); void (*is_dirty_writeback)(struct folio *, bool *, bool *); - int (*error_remove_page)(struct address_space *, struct page *); + int (*error_remove_folio)(struct address_space *, struct folio *); int (*swap_activate)(struct swap_info_struct *, struct file *, sector_t *); void (*swap_deactivate)(struct file *); int (*swap_rw)(struct kiocb *, struct iov_iter *); @@ -11317,6 +12683,29 @@ struct aggregate_device { struct component_match *match; }; +typedef void (*crypto_completion_t)(void *, int); + +struct crypto_tfm; + +struct crypto_async_request { + struct list_head list; + crypto_completion_t complete; + void *data; + struct crypto_tfm *tfm; + u32 flags; +}; + +struct scatterlist; + +struct ahash_request { + struct crypto_async_request base; + unsigned int nbytes; + struct scatterlist *src; + u8 *result; + void *priv; + void *__ctx[0]; +}; + struct rb_node { long unsigned int __rb_parent_color; struct rb_node *rb_right; @@ -11344,7 +12733,7 @@ struct hrtimer { struct alarm { struct timerqueue_node node; struct hrtimer timer; - enum alarmtimer_restart (*function)(struct alarm *, ktime_t); + void (*function)(struct alarm *, ktime_t); enum alarmtimer_type type; int state; void *data; @@ -11359,7 +12748,7 @@ struct timespec64; struct alarm_base { spinlock_t lock; struct timerqueue_head timerqueue; - ktime_t (*get_ktime)(); + ktime_t (*get_ktime)(void); void (*get_timespec)(struct timespec64 *); clockid_t base_clockid; }; @@ -11387,6 +12776,26 @@ struct alloc_context { bool spread_dirty_pages; }; +struct codetag { + unsigned int flags; + unsigned int lineno; + const char *modname; + const char *function; + const char *filename; +}; + +struct alloc_tag_counters; + +struct alloc_tag { + struct codetag ct; + struct alloc_tag_counters *counters; +}; + +struct alloc_tag_counters { + u64 bytes; + u64 calls; +}; + struct alt_instr { s32 orig_offset; s32 alt_offset; @@ -11458,8 +12867,8 @@ struct dev_pm_qos; struct dev_pm_info { pm_message_t power_state; - unsigned int can_wakeup: 1; - unsigned int async_suspend: 1; + bool can_wakeup: 1; + bool async_suspend: 1; bool in_dpm_list: 1; bool is_prepared: 1; bool is_suspended: 1; @@ -11470,7 +12879,7 @@ struct dev_pm_info { bool direct_complete: 1; u32 driver_flags; spinlock_t lock; - unsigned int should_wakeup: 1; + bool should_wakeup: 1; struct pm_subsys_data *subsys_data; void (*set_latency_tolerance)(struct device *, s32); struct dev_pm_qos *qos; @@ -11560,6 +12969,7 @@ struct device { bool state_synced: 1; bool can_match: 1; bool dma_coherent: 1; + bool dma_skip_sync: 1; }; struct resource { @@ -11769,21 +13179,18 @@ struct arch_msi_msg_data { typedef struct arch_msi_msg_data arch_msi_msg_data_t; -typedef bool pstate_check_t(long unsigned int); - struct pt_regs; typedef void probes_handler_t(u32, long int, struct pt_regs *); struct arch_probe_insn { - probe_opcode_t *insn; - pstate_check_t *pstate_cc; probes_handler_t *handler; - long unsigned int restore; }; struct arch_specific_insn { struct arch_probe_insn api; + kprobe_opcode_t *xol_insn; + long unsigned int xol_restore; }; struct clock_event_device { @@ -11869,8 +13276,8 @@ struct arch_tlbflush_unmap_batch {}; struct arch_uprobe { union { - u8 insn[4]; - u8 ixol[4]; + __le32 insn; + __le32 ixol; }; struct arch_probe_insn api; bool simulate; @@ -11878,7 +13285,7 @@ struct arch_uprobe { struct arch_uprobe_task {}; -struct arch_vdso_data {}; +struct arch_vdso_time_data {}; struct net; @@ -11920,12 +13327,14 @@ struct arm64_cpu_capabilities { u8 field_pos; u8 field_width; u8 min_field_value; + u8 max_field_value; u8 hwcap_type; bool sign; long unsigned int hwcap; }; }; const struct arm64_cpu_capabilities *match_list; + const struct cpumask *cpus; }; struct arm64_ftr_bits { @@ -11961,19 +13370,31 @@ struct jit_ctx { int epilogue_offset; int *offset; int exentry_idx; + int nr_used_callee_reg; + u8 used_callee_reg[8]; __le32 *image; + __le32 *ro_image; u32 stack_size; - int fpb_offset; + u64 user_vm_start; + u64 arena_vm_start; + bool fp_used; + bool write; }; struct bpf_binary_header; struct arm64_jit_data { struct bpf_binary_header *header; - u8 *image; + u8 *ro_image; + struct bpf_binary_header *ro_header; struct jit_ctx ctx; }; +struct arm64_mem_crypt_ops { + int (*encrypt)(long unsigned int, int); + int (*decrypt)(long unsigned int, int); +}; + struct arm64_midr_revidr { u32 midr_rv; u32 revidr_mask; @@ -12003,6 +13424,7 @@ struct pmu { const char *name; int type; int capabilities; + unsigned int scope; int *pmu_disable_count; struct perf_cpu_pmu_context *cpu_pmu_context; atomic_t exclusive_cnt; @@ -12037,7 +13459,7 @@ struct pmu { }; struct cpumask { - long unsigned int bits[4]; + long unsigned int bits[8]; }; typedef struct cpumask cpumask_t; @@ -12077,7 +13499,7 @@ struct arm_pmu { void (*stop)(struct arm_pmu *); void (*reset)(void *); int (*map_event)(struct perf_event *); - int num_events; + long unsigned int cntr_mask[1]; bool secure_access; long unsigned int pmceid_bitmap[1]; long unsigned int pmceid_ext_bitmap[1]; @@ -12136,10 +13558,10 @@ struct arpreq { char arp_dev[16]; }; -struct trace_buffer; - struct trace_array; +struct trace_buffer; + struct trace_array_cpu; struct array_buffer { @@ -12152,6 +13574,7 @@ struct array_buffer { struct asym_cap_data { struct list_head link; + struct callback_head rcu; long unsigned int capacity; long unsigned int cpus[0]; }; @@ -12198,9 +13621,13 @@ struct bin_attribute; struct attribute_group { const char *name; umode_t (*is_visible)(struct kobject *, struct attribute *, int); - umode_t (*is_bin_visible)(struct kobject *, struct bin_attribute *, int); + umode_t (*is_bin_visible)(struct kobject *, const struct bin_attribute *, int); + size_t (*bin_size)(struct kobject *, const struct bin_attribute *, int); struct attribute **attrs; - struct bin_attribute **bin_attrs; + union { + struct bin_attribute **bin_attrs; + const struct bin_attribute * const *bin_attrs_new; + }; }; struct audit_ntp_data {}; @@ -12258,7 +13685,6 @@ struct bdi_writeback { struct list_head work_list; struct delayed_work dwork; struct delayed_work bw_dwork; - long unsigned int dirty_sleep; struct list_head bdi_node; }; @@ -12274,6 +13700,7 @@ struct backing_dev_info { unsigned int max_ratio; unsigned int max_prop_frac; atomic_long_t tot_write_bandwidth; + long unsigned int last_bdp_sleep; struct bdi_writeback wb; struct list_head wb_list; wait_queue_head_t wb_waitq; @@ -12283,15 +13710,13 @@ struct backing_dev_info { struct timer_list laptop_mode_wb_timer; }; -struct pid; +struct vfsmount; -struct fown_struct { - rwlock_t lock; - struct pid *pid; - enum pid_type pid_type; - kuid_t uid; - kuid_t euid; - int signum; +struct dentry; + +struct path { + struct vfsmount *mnt; + struct dentry *dentry; }; struct file_ra_state { @@ -12303,47 +13728,46 @@ struct file_ra_state { loff_t prev_pos; }; -struct vfsmount; - -struct dentry; - -struct path { - struct vfsmount *mnt; - struct dentry *dentry; -}; +struct file_operations; struct cred; -struct file_operations; +struct fown_struct; struct file { - union { - struct llist_node f_llist; - struct callback_head f_rcuhead; - unsigned int f_iocb_flags; - }; + file_ref_t f_ref; spinlock_t f_lock; fmode_t f_mode; - atomic_long_t f_count; - struct mutex f_pos_lock; - loff_t f_pos; + const struct file_operations *f_op; + struct address_space *f_mapping; + void *private_data; + struct inode *f_inode; unsigned int f_flags; - struct fown_struct f_owner; + unsigned int f_iocb_flags; const struct cred *f_cred; - struct file_ra_state f_ra; struct path f_path; - struct inode *f_inode; - const struct file_operations *f_op; - u64 f_version; - void *private_data; - struct address_space *f_mapping; + union { + struct mutex f_pos_lock; + u64 f_pipe; + }; + loff_t f_pos; + struct fown_struct *f_owner; errseq_t f_wb_err; errseq_t f_sb_err; + union { + struct callback_head f_task_work; + struct llist_node f_llist; + struct file_ra_state f_ra; + freeptr_t f_freeptr; + }; }; struct backing_file { struct file file; - struct path real_path; + union { + struct path user_path; + freeptr_t bf_freeptr; + }; }; struct bpf_verifier_env; @@ -12420,10 +13844,13 @@ struct bin_attribute { struct attribute attr; size_t size; void *private; - struct address_space * (*f_mapping)(); + struct address_space * (*f_mapping)(void); ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t); + ssize_t (*read_new)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t); ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t); - int (*mmap)(struct file *, struct kobject *, struct bin_attribute *, struct vm_area_struct *); + ssize_t (*write_new)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t); + loff_t (*llseek)(struct file *, struct kobject *, const struct bin_attribute *, loff_t, int); + int (*mmap)(struct file *, struct kobject *, const struct bin_attribute *, struct vm_area_struct *); }; struct bvec_iter { @@ -12453,13 +13880,16 @@ struct bio { blk_opf_t bi_opf; short unsigned int bi_flags; short unsigned int bi_ioprio; + enum rw_hint bi_write_hint; blk_status_t bi_status; atomic_t __bi_remaining; struct bvec_iter bi_iter; - blk_qc_t bi_cookie; + union { + blk_qc_t bi_cookie; + unsigned int __bi_nr_segments; + }; bio_end_io_t *bi_end_io; void *bi_private; - union {}; short unsigned int bi_vcnt; short unsigned int bi_max_vecs; atomic_t __bi_cnt; @@ -12506,8 +13936,6 @@ struct bio_set { struct hlist_node cpuhp_dead; }; -typedef struct bio_vec skb_frag_t; - struct blacklist_entry { struct list_head next; char *buf; @@ -12525,6 +13953,8 @@ struct blake2s_state { struct blk_holder_ops { void (*mark_dead)(struct block_device *, bool); void (*sync)(struct block_device *); + int (*freeze)(struct block_device *); + int (*thaw)(struct block_device *); }; struct blk_independent_access_range { @@ -12540,6 +13970,15 @@ struct blk_independent_access_ranges { struct blk_independent_access_range ia_range[0]; }; +struct blk_integrity { + unsigned char flags; + enum blk_integrity_checksum csum_type; + unsigned char tuple_size; + unsigned char pi_offset; + unsigned char interval_exp; + unsigned char tag_size; +}; + struct blk_plug {}; struct blk_zone { @@ -12561,8 +14000,6 @@ struct gendisk; struct request_queue; -struct super_block; - struct partition_meta_info; struct block_device { @@ -12572,24 +14009,21 @@ struct block_device { struct request_queue *bd_queue; struct disk_stats *bd_stats; long unsigned int bd_stamp; - bool bd_read_only; - u8 bd_partno; - bool bd_write_holder; - bool bd_has_submit_bio; + atomic_t __bd_flags; dev_t bd_dev; + struct address_space *bd_mapping; atomic_t bd_openers; spinlock_t bd_size_lock; - struct inode *bd_inode; void *bd_claiming; void *bd_holder; const struct blk_holder_ops *bd_holder_ops; struct mutex bd_holder_lock; - int bd_fsfreeze_count; int bd_holders; struct kobject *bd_holder_dir; + atomic_t bd_fsfreeze_count; struct mutex bd_fsfreeze_mutex; - struct super_block *bd_fsfreeze_sb; struct partition_meta_info *bd_meta_info; + int bd_writers; struct device bd_device; }; @@ -12641,24 +14075,21 @@ struct bp_cpuinfo { struct bp_slots_histogram tsk_pinned; }; -typedef void (*bp_hardening_cb_t)(); +typedef void (*bp_hardening_cb_t)(void); struct bp_hardening_data { enum arm64_hyp_spectre_vector slot; bp_hardening_cb_t fn; }; -struct bpf_active_lock { - void *ptr; - u32 id; -}; - struct bpf_map_ops; struct btf_record; struct btf; +struct btf_type; + struct bpf_map { const struct bpf_map_ops *ops; struct bpf_map *inner_map_meta; @@ -12676,16 +14107,16 @@ struct bpf_map { u32 btf_vmlinux_value_type_id; struct btf *btf; char name[16]; - long: 64; - long: 64; - long: 64; - long: 64; + struct mutex freeze_mutex; atomic64_t refcnt; atomic64_t usercnt; - struct work_struct work; - struct mutex freeze_mutex; + union { + struct work_struct work; + struct callback_head rcu; + }; atomic64_t writecnt; struct { + const struct btf_type *attach_func_proto; spinlock_t lock; enum bpf_prog_type type; bool jited; @@ -12693,9 +14124,27 @@ struct bpf_map { } owner; bool bypass_spec_v1; bool frozen; + bool free_after_mult_rcu_gp; + bool free_after_rcu_gp; + atomic64_t sleepable_refcnt; s64 *elem_count; - long: 64; - long: 64; +}; + +struct range_tree { + struct rb_root_cached it_root; + struct rb_root_cached range_size_root; +}; + +struct vm_struct; + +struct bpf_arena { + struct bpf_map map; + u64 user_vm_start; + u64 user_vm_end; + struct vm_struct *kern_vm; + struct range_tree rt; + struct list_head vma_list; + struct mutex lock; }; struct bpf_array_aux; @@ -12719,12 +14168,6 @@ struct bpf_array { void *pptrs[0]; }; }; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_array_aux { @@ -12734,6 +14177,35 @@ struct bpf_array_aux { struct work_struct work; }; +struct bpf_async_cb { + struct bpf_map *map; + struct bpf_prog *prog; + void *callback_fn; + void *value; + union { + struct callback_head rcu; + struct work_struct delete_work; + }; + u64 flags; +}; + +struct bpf_spin_lock { + __u32 val; +}; + +struct bpf_hrtimer; + +struct bpf_work; + +struct bpf_async_kern { + union { + struct bpf_async_cb *cb; + struct bpf_hrtimer *timer; + struct bpf_work *work; + }; + struct bpf_spin_lock lock; +}; + struct btf_func_model { u8 ret_size; u8 ret_flags; @@ -12742,8 +14214,6 @@ struct btf_func_model { u8 arg_flags[12]; }; -struct btf_type; - struct bpf_attach_target_info { struct btf_func_model fmodel; long int tgt_addr; @@ -12768,6 +14238,8 @@ union bpf_attr { __u32 btf_value_type_id; __u32 btf_vmlinux_value_type_id; __u64 map_extra; + __s32 value_type_btf_obj_fd; + __s32 map_token_fd; }; struct { __u32 map_fd; @@ -12818,6 +14290,8 @@ union bpf_attr { __u64 core_relos; __u32 core_relo_rec_size; __u32 log_true_size; + __s32 prog_token_fd; + __u32 fd_array_cnt; }; struct { __u64 pathname; @@ -12894,6 +14368,7 @@ union bpf_attr { struct { __u64 name; __u32 prog_fd; + __u64 cookie; } raw_tracepoint; struct { __u64 btf; @@ -12902,6 +14377,8 @@ union bpf_attr { __u32 btf_log_size; __u32 btf_log_level; __u32 btf_log_true_size; + __u32 btf_flags; + __s32 btf_token_fd; }; struct { __u32 pid; @@ -12967,6 +14444,13 @@ union bpf_attr { __u32 flags; __u32 pid; } uprobe_multi; + struct { + union { + __u32 relative_fd; + __u32 relative_id; + }; + __u64 expected_revision; + } netkit; }; } link_create; struct { @@ -12996,6 +14480,10 @@ union bpf_attr { __u32 map_fd; __u32 flags; } prog_bind_map; + struct { + __u32 flags; + __u32 bpffs_fd; + } token_create; }; struct bpf_binary_header { @@ -13010,12 +14498,6 @@ struct bpf_bloom_filter { u32 hash_seed; u32 nr_hash_funcs; long unsigned int bitset[0]; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_bprintf_buffers { @@ -13060,6 +14542,7 @@ struct bpf_call_arg_meta { u32 ret_btf_id; u32 subprogno; struct btf_field *kptr_field; + s64 const_map_key; }; struct bpf_cand_cache { @@ -13169,13 +14652,6 @@ struct bpf_cpu_map_entry; struct bpf_cpu_map { struct bpf_map map; struct bpf_cpu_map_entry **cpu_map; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_cpumap_val { @@ -13206,8 +14682,6 @@ struct xdp_bulk_queue; struct ptr_ring; -struct task_struct; - struct bpf_cpu_map_entry { u32 cpu; int map_id; @@ -13228,6 +14702,7 @@ struct bpf_cpumask { struct bpf_ctx_arg_aux { u32 offset; enum bpf_reg_type reg_type; + struct btf *btf; u32 btf_id; }; @@ -13247,10 +14722,7 @@ struct sk_buff { struct list_head list; struct llist_node ll_node; }; - union { - struct sock *sk; - int ip_defrag_offset; - }; + struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; @@ -13286,7 +14758,7 @@ struct sk_buff { __u8 ip_summed: 2; __u8 ooo_okay: 1; __u8 __mono_tc_offset[0]; - __u8 mono_delivery_time: 1; + __u8 tstamp_type: 2; __u8 tc_at_ingress: 1; __u8 tc_skip_classify: 1; __u8 remcsum_offload: 1; @@ -13304,6 +14776,7 @@ struct sk_buff { __u8 ndisc_nodetype: 2; __u8 redirected: 1; __u8 slow_gro: 1; + __u8 unreadable: 1; __u16 tc_index; u16 alloc_cpu; union { @@ -13351,7 +14824,7 @@ struct sk_buff { __u8 ip_summed: 2; __u8 ooo_okay: 1; __u8 __mono_tc_offset[0]; - __u8 mono_delivery_time: 1; + __u8 tstamp_type: 2; __u8 tc_at_ingress: 1; __u8 tc_skip_classify: 1; __u8 remcsum_offload: 1; @@ -13369,6 +14842,7 @@ struct sk_buff { __u8 ndisc_nodetype: 2; __u8 redirected: 1; __u8 slow_gro: 1; + __u8 unreadable: 1; __u16 tc_index; u16 alloc_cpu; union { @@ -13578,6 +15052,16 @@ struct user_pt_regs { typedef struct user_pt_regs bpf_user_pt_regs_t; +struct frame_record { + u64 fp; + u64 lr; +}; + +struct frame_record_meta { + struct frame_record record; + u64 type; +}; + struct pt_regs { union { struct user_pt_regs user_regs; @@ -13590,10 +15074,9 @@ struct pt_regs { }; u64 orig_x0; s32 syscallno; - u32 unused2; + u32 pmr; u64 sdei_ttbr1; - u64 pmr_save; - u64 stackframe[2]; + struct frame_record_meta stackframe; u64 lockdep_hardirqs; u64 exit_rcu; }; @@ -13683,13 +15166,6 @@ struct bpf_sk_lookup_kern { bool no_reuseport; }; -struct nf_hook_state; - -struct bpf_nf_ctx { - const struct nf_hook_state *state; - struct sk_buff *skb; -}; - struct bpf_ctx_convert { struct __sk_buff BPF_PROG_TYPE_SOCKET_FILTER_prog; struct sk_buff BPF_PROG_TYPE_SOCKET_FILTER_kern; @@ -13737,8 +15213,6 @@ struct bpf_ctx_convert { void *BPF_PROG_TYPE_EXT_kern; void *BPF_PROG_TYPE_SYSCALL_prog; void *BPF_PROG_TYPE_SYSCALL_kern; - struct bpf_nf_ctx BPF_PROG_TYPE_NETFILTER_prog; - struct bpf_nf_ctx BPF_PROG_TYPE_NETFILTER_kern; }; struct bpf_devmap_val { @@ -13790,8 +15264,6 @@ struct bpf_dtab { spinlock_t index_lock; unsigned int items; u32 n_buckets; - long: 64; - long: 64; }; struct bpf_dtab_netdev { @@ -13821,8 +15293,7 @@ struct bpf_dummy_ops_test_args { }; struct bpf_dynptr { - long: 64; - long: 64; + __u64 __opaque[2]; }; struct bpf_dynptr_kern { @@ -13892,8 +15363,15 @@ struct bpf_fib_lookup { }; __u32 tbid; }; - __u8 smac[6]; - __u8 dmac[6]; + union { + struct { + __u32 mark; + }; + struct { + __u8 smac[6]; + __u8 dmac[6]; + }; + }; }; struct bpf_flow_keys { @@ -13929,6 +15407,8 @@ struct bpf_func_info { struct bpf_func_info_aux { u16 linkage; bool unreliable; + bool called: 1; + bool verified: 1; }; struct bpf_func_proto { @@ -13936,6 +15416,7 @@ struct bpf_func_proto { bool gpl_only; bool pkt_access; bool might_sleep; + bool allow_fastcall; enum bpf_return_type ret_type; union { struct { @@ -14025,7 +15506,10 @@ struct bpf_reg_state { bool precise; }; -struct bpf_reference_state; +struct bpf_retval_range { + s32 minval; + s32 maxval; +}; struct bpf_stack_state; @@ -14035,23 +15519,23 @@ struct bpf_func_state { u32 frameno; u32 subprogno; u32 async_entry_cnt; + struct bpf_retval_range callback_ret_range; bool in_callback_fn; - struct tnum callback_ret_range; bool in_async_callback_fn; - int acquired_refs; - struct bpf_reference_state *refs; - int allocated_stack; + bool in_exception_callback_fn; + u32 callback_depth; struct bpf_stack_state *stack; + int allocated_stack; }; struct bpf_hrtimer { + struct bpf_async_cb cb; struct hrtimer timer; - struct bpf_map *map; - struct bpf_prog *prog; - void *callback_fn; - void *value; + atomic_t cancelling; }; +struct obj_cgroup; + struct bpf_mem_caches; struct bpf_mem_cache; @@ -14059,6 +15543,8 @@ struct bpf_mem_cache; struct bpf_mem_alloc { struct bpf_mem_caches *caches; struct bpf_mem_cache *cache; + struct obj_cgroup *objcg; + bool percpu; struct work_struct work; }; @@ -14094,8 +15580,6 @@ struct bpf_lru { long: 64; }; -struct lock_class_key {}; - struct bucket; struct htab_elem; @@ -14107,7 +15591,6 @@ struct bpf_htab { struct bucket *buckets; void *elems; long: 64; - long: 64; union { struct pcpu_freelist freelist; struct bpf_lru lru; @@ -14139,11 +15622,6 @@ struct bpf_idset { u32 ids[600]; }; -struct bpf_idx_pair { - u32 prev_idx; - u32 idx; -}; - struct bpf_insn { __u8 code; __u8 dst_reg: 4; @@ -14154,6 +15632,7 @@ struct bpf_insn { struct bpf_insn_access_aux { enum bpf_reg_type reg_type; + bool is_ldsx; union { int ctx_field_size; struct { @@ -14162,6 +15641,13 @@ struct bpf_insn_access_aux { }; }; struct bpf_verifier_log *log; + bool is_retval; +}; + +struct bpf_map_ptr_state { + struct bpf_map *map_ptr; + bool poison; + bool unpriv; }; struct bpf_loop_inline_state { @@ -14175,7 +15661,7 @@ struct btf_struct_meta; struct bpf_insn_aux_data { union { enum bpf_reg_type ptr_type; - long unsigned int map_ptr_state; + struct bpf_map_ptr_state map_ptr_state; s32 call_imm; u32 alu_limit; struct { @@ -14204,13 +15690,18 @@ struct bpf_insn_aux_data { u32 seen; bool sanitize_stack_spill; bool zext_dst; + bool needs_zext; bool storage_get_func_atomic; bool is_iter_next; + bool call_with_percpu_alloc_ptr; u8 alu_state; + u8 fastcall_pattern: 1; + u8 fastcall_spills_num: 3; unsigned int orig_idx; bool jmp_point; bool prune_point; bool force_checkpoint; + bool calls_callback; }; typedef void (*bpf_insn_print_t)(void *, const char *, ...); @@ -14226,6 +15717,13 @@ struct bpf_insn_cbs { void *private_data; }; +struct bpf_insn_hist_entry { + u32 idx; + u32 prev_idx: 22; + u32 flags: 10; + u64 linked_regs; +}; + struct bpf_iter_meta; struct bpf_link; @@ -14287,6 +15785,15 @@ struct bpf_iter__bpf_sk_storage_map { }; }; +struct bpf_iter__kmem_cache { + union { + struct bpf_iter_meta *meta; + }; + union { + struct kmem_cache *s; + }; +}; + struct kallsym_iter; struct bpf_iter__ksym { @@ -14364,6 +15871,27 @@ struct bpf_iter_aux_info { } task; }; +struct bpf_iter_bits { + __u64 __opaque[2]; +}; + +struct bpf_iter_bits_kern { + union { + __u64 *bits; + __u64 bits_copy; + }; + int nr_bits; + int bit; +}; + +struct bpf_iter_kmem_cache { + __u64 __opaque[1]; +}; + +struct bpf_iter_kmem_cache_kern { + struct kmem_cache *pos; +}; + struct bpf_link_ops; struct bpf_link { @@ -14372,7 +15900,11 @@ struct bpf_link { enum bpf_link_type type; const struct bpf_link_ops *ops; struct bpf_prog *prog; - struct work_struct work; + bool sleepable; + union { + struct callback_head rcu; + struct work_struct work; + }; }; struct bpf_iter_target_info; @@ -14542,6 +16074,61 @@ struct bpf_iter_target_info { u32 btf_id; }; +struct bpf_iter_task { + __u64 __opaque[3]; +}; + +struct bpf_iter_task_kern { + struct task_struct *task; + struct task_struct *pos; + unsigned int flags; +}; + +struct bpf_iter_task_vma { + __u64 __opaque[1]; +}; + +struct bpf_iter_task_vma_kern_data; + +struct bpf_iter_task_vma_kern { + struct bpf_iter_task_vma_kern_data *data; +}; + +struct maple_enode; + +struct maple_tree; + +struct maple_alloc; + +struct ma_state { + struct maple_tree *tree; + long unsigned int index; + long unsigned int last; + struct maple_enode *node; + long unsigned int min; + long unsigned int max; + struct maple_alloc *alloc; + enum maple_status status; + unsigned char depth; + unsigned char offset; + unsigned char mas_flags; + unsigned char end; + enum store_type store_type; +}; + +struct vma_iterator { + struct ma_state mas; +}; + +struct mmap_unlock_irq_work; + +struct bpf_iter_task_vma_kern_data { + struct task_struct *task; + struct mm_struct *mm; + struct mmap_unlock_irq_work *work; + struct vma_iterator vmi; +}; + struct bpf_jit_poke_descriptor { void *tailcall_target; void *tailcall_bypass; @@ -14604,6 +16191,10 @@ struct bpf_kfunc_call_arg_meta { u8 spi; u8 frameno; } iter; + struct { + struct bpf_map *ptr; + int uid; + } map; u64 mem_size; }; @@ -14620,6 +16211,48 @@ struct bpf_kfunc_desc_tab { u32 nr_descs; }; +struct fprobe; + +struct ftrace_regs; + +typedef int (*fprobe_entry_cb)(struct fprobe *, long unsigned int, long unsigned int, struct ftrace_regs *, void *); + +typedef void (*fprobe_exit_cb)(struct fprobe *, long unsigned int, long unsigned int, struct ftrace_regs *, void *); + +struct fprobe_hlist; + +struct fprobe { + long unsigned int nmissed; + unsigned int flags; + size_t entry_data_size; + fprobe_entry_cb entry_handler; + fprobe_exit_cb exit_handler; + struct fprobe_hlist *hlist_array; +}; + +struct bpf_kprobe_multi_link { + struct bpf_link link; + struct fprobe fp; + long unsigned int *addrs; + u64 *cookies; + u32 cnt; + u32 mods_cnt; + struct module **mods; + u32 flags; +}; + +struct bpf_session_run_ctx { + struct bpf_run_ctx run_ctx; + bool is_return; + void *data; +}; + +struct bpf_kprobe_multi_run_ctx { + struct bpf_session_run_ctx session_ctx; + struct bpf_kprobe_multi_link *link; + long unsigned int entry_ip; +}; + struct bpf_line_info { __u32 insn_off; __u32 file_name_off; @@ -14684,7 +16317,19 @@ struct bpf_link_info { __u64 addrs; __u32 count; __u32 flags; + __u64 missed; + __u64 cookies; } kprobe_multi; + struct { + __u64 path; + __u64 offsets; + __u64 ref_ctr_offsets; + __u64 cookies; + __u32 path_size; + __u32 count; + __u32 flags; + __u32 pid; + } uprobe_multi; struct { __u32 type; union { @@ -14692,20 +16337,25 @@ struct bpf_link_info { __u64 file_name; __u32 name_len; __u32 offset; + __u64 cookie; } uprobe; struct { __u64 func_name; __u32 name_len; __u32 offset; __u64 addr; + __u64 missed; + __u64 cookie; } kprobe; struct { __u64 tp_name; __u32 name_len; + __u64 cookie; } tracepoint; struct { __u64 config; __u32 type; + __u64 cookie; } event; }; } perf_event; @@ -14713,17 +16363,29 @@ struct bpf_link_info { __u32 ifindex; __u32 attach_type; } tcx; + struct { + __u32 ifindex; + __u32 attach_type; + } netkit; + struct { + __u32 map_id; + __u32 attach_type; + } sockmap; }; }; +struct poll_table_struct; + struct bpf_link_ops { void (*release)(struct bpf_link *); void (*dealloc)(struct bpf_link *); + void (*dealloc_deferred)(struct bpf_link *); int (*detach)(struct bpf_link *); int (*update_prog)(struct bpf_link *, struct bpf_prog *, struct bpf_prog *); void (*show_fdinfo)(const struct bpf_link *, struct seq_file *); int (*fill_link_info)(const struct bpf_link *, struct bpf_link_info *); int (*update_map)(struct bpf_link *, struct bpf_map *, struct bpf_map *); + __poll_t (*poll)(struct file *, struct poll_table_struct *); }; struct bpf_link_primer { @@ -14734,14 +16396,11 @@ struct bpf_link_primer { }; struct bpf_list_head { - long: 64; - long: 64; + __u64 __opaque[2]; }; struct bpf_list_node { - long: 64; - long: 64; - long: 64; + __u64 __opaque[3]; }; struct bpf_list_node_kern { @@ -14780,7 +16439,10 @@ struct bpf_local_storage_elem { struct hlist_node map_node; struct hlist_node snode; struct bpf_local_storage *local_storage; - struct callback_head rcu; + union { + struct callback_head rcu; + struct hlist_node free_node; + }; long: 64; struct bpf_local_storage_data sdata; long: 64; @@ -14803,7 +16465,6 @@ struct bpf_local_storage_map { struct bpf_mem_alloc selem_ma; struct bpf_mem_alloc storage_ma; bool bpf_ma; - long: 64; }; struct bpf_local_storage_map_bucket { @@ -14811,8 +16472,15 @@ struct bpf_local_storage_map_bucket { raw_spinlock_t lock; }; -struct bpf_lpm_trie_key { +struct bpf_lpm_trie_key_hdr { __u32 prefixlen; +}; + +struct bpf_lpm_trie_key_u8 { + union { + struct bpf_lpm_trie_key_hdr hdr; + __u32 prefixlen; + }; __u8 data[0]; }; @@ -14853,6 +16521,7 @@ struct bpf_map_info { __u32 btf_id; __u32 btf_key_type_id; __u32 btf_value_type_id; + __u32 btf_vmlinux_id; __u64 map_extra; }; @@ -14860,8 +16529,6 @@ typedef u64 (*bpf_callback_t)(u64, u64, u64, u64, u64); struct bpf_prog_aux; -struct poll_table_struct; - struct bpf_map_ops { int (*map_alloc_check)(union bpf_attr *); struct bpf_map * (*map_alloc)(union bpf_attr *); @@ -14883,7 +16550,7 @@ struct bpf_map_ops { long int (*map_peek_elem)(struct bpf_map *, void *); void * (*map_lookup_percpu_elem)(struct bpf_map *, void *, u32); void * (*map_fd_get_ptr)(struct bpf_map *, struct file *, int); - void (*map_fd_put_ptr)(void *); + void (*map_fd_put_ptr)(struct bpf_map *, void *, bool); int (*map_gen_lookup)(struct bpf_map *, struct bpf_insn *); u32 (*map_fd_sys_lookup_elem)(void *); void (*map_seq_show_elem)(struct bpf_map *, void *, struct seq_file *); @@ -14895,6 +16562,7 @@ struct bpf_map_ops { int (*map_direct_value_meta)(const struct bpf_map *, u64, u32 *); int (*map_mmap)(struct bpf_map *, struct vm_area_struct *); __poll_t (*map_poll)(struct bpf_map *, struct file *, struct poll_table_struct *); + long unsigned int (*map_get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); int (*map_local_storage_charge)(struct bpf_local_storage_map *, void *, u32); void (*map_local_storage_uncharge)(struct bpf_local_storage_map *, void *, u32); struct bpf_local_storage ** (*map_owner_storage_ptr)(void *); @@ -14921,8 +16589,6 @@ struct irq_work { struct rcuwait irqwait; }; -struct obj_cgroup; - struct bpf_mem_cache { struct llist_head free_llist; local_t active; @@ -14955,7 +16621,13 @@ struct bpf_mem_caches { }; struct bpf_mount_opts { + kuid_t uid; + kgid_t gid; umode_t mode; + u64 delegate_cmds; + u64 delegate_maps; + u64 delegate_progs; + u64 delegate_attachs; }; struct bpf_mprog_fp { @@ -14986,42 +16658,45 @@ struct bpf_nested_pt_regs { struct pt_regs regs[3]; }; -struct bpf_netns_link { - struct bpf_link link; - enum bpf_attach_type type; - enum netns_bpf_attach_type netns_type; - struct net *net; - struct list_head node; +struct bpf_nh_params { + u32 nh_family; + union { + u32 ipv4_nh; + struct in6_addr ipv6_nh; + }; }; -typedef unsigned int nf_hookfn(void *, struct sk_buff *, const struct nf_hook_state *); - -struct nf_hook_ops { - nf_hookfn *hook; - struct net_device *dev; - void *priv; - u8 pf; - enum nf_hook_ops_type hook_ops_type: 8; - unsigned int hooknum; - int priority; +struct bpf_redirect_info { + u64 tgt_index; + void *tgt_value; + struct bpf_map *map; + u32 flags; + u32 map_id; + enum bpf_map_type map_type; + struct bpf_nh_params nh; + u32 kern_flags; }; -struct nf_defrag_hook; +struct bpf_net_context { + struct bpf_redirect_info ri; + struct list_head cpu_map_flush_list; + struct list_head dev_map_flush_list; + struct list_head xskmap_map_flush_list; +}; -struct bpf_nf_link { +struct bpf_netns_link { struct bpf_link link; - struct nf_hook_ops hook_ops; + enum bpf_attach_type type; + enum netns_bpf_attach_type netns_type; struct net *net; - u32 dead; - const struct nf_defrag_hook *defrag_hook; + struct list_head node; }; -struct bpf_nh_params { - u32 nh_family; - union { - u32 ipv4_nh; - struct in6_addr ipv6_nh; - }; +struct nf_hook_state; + +struct bpf_nf_ctx { + const struct nf_hook_state *state; + struct sk_buff *skb; }; struct bpf_prog_offload_ops; @@ -15051,9 +16726,6 @@ struct bpf_offloaded_map { const struct bpf_map_dev_ops *dev_ops; void *dev_priv; struct list_head offloads; - long: 64; - long: 64; - long: 64; }; struct bpf_perf_event_value { @@ -15115,6 +16787,7 @@ struct bpf_prog { u16 call_get_stack: 1; u16 call_get_func_ip: 1; u16 tstamp_type_access: 1; + u16 sleepable: 1; enum bpf_prog_type type; enum bpf_attach_type expected_attach_type; u32 len; @@ -15145,6 +16818,8 @@ struct btf_mod_pair; struct user_struct; +struct bpf_token; + struct bpf_prog_offload; struct exception_table_entry; @@ -15159,6 +16834,7 @@ struct bpf_prog_aux { u32 stack_depth; u32 id; u32 func_cnt; + u32 real_func_cnt; u32 func_idx; u32 attach_btf_id; u32 ctx_arg_info_size; @@ -15166,6 +16842,7 @@ struct bpf_prog_aux { u32 max_rdwr_access; struct btf *attach_btf; const struct bpf_ctx_arg_aux *ctx_arg_info; + void *priv_stack_ptr; struct mutex dst_mutex; struct bpf_prog *dst_prog; struct bpf_trampoline *dst_trampoline; @@ -15175,10 +16852,20 @@ struct bpf_prog_aux { bool dev_bound; bool offload_requested; bool attach_btf_trace; + bool attach_tracing_prog; bool func_proto_unreliable; - bool sleepable; bool tail_call_reachable; bool xdp_has_frags; + bool exception_cb; + bool exception_boundary; + bool is_extended; + bool jits_use_priv_stack; + bool priv_stack_requested; + bool changes_pkt_data; + u64 prog_array_member_cnt; + struct mutex ext_mutex; + struct bpf_arena *arena; + void (*recursion_detected)(struct bpf_prog *); const struct btf_type *attach_func_proto; const char *attach_func_name; struct bpf_prog **func; @@ -15199,6 +16886,8 @@ struct bpf_prog_aux { int cgroup_atype; struct bpf_map *cgroup_storage[2]; char name[16]; + u64 (*bpf_exception_cb)(u64, u64, u64, u64, u64); + struct bpf_token *token; struct bpf_prog_offload *offload; struct btf *btf; struct bpf_func_info *func_info; @@ -15315,16 +17004,8 @@ struct bpf_queue_stack { u32 tail; u32 size; char elements[0]; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; -struct tracepoint; - struct bpf_raw_event_map { struct tracepoint *tp; void *bpf_func; @@ -15336,6 +17017,12 @@ struct bpf_raw_event_map { struct bpf_raw_tp_link { struct bpf_link link; struct bpf_raw_event_map *btp; + u64 cookie; +}; + +struct bpf_raw_tp_null_args { + const char *func; + u64 mask; }; struct bpf_raw_tp_regs { @@ -15349,10 +17036,7 @@ struct bpf_raw_tp_test_run_info { }; struct bpf_rb_node { - long: 64; - long: 64; - long: 64; - long: 64; + __u64 __opaque[4]; }; struct bpf_rb_node_kern { @@ -15361,8 +17045,7 @@ struct bpf_rb_node_kern { }; struct bpf_rb_root { - long: 64; - long: 64; + __u64 __opaque[2]; }; struct bpf_redir_neigh { @@ -15373,25 +17056,15 @@ struct bpf_redir_neigh { }; }; -struct bpf_redirect_info { - u64 tgt_index; - void *tgt_value; - struct bpf_map *map; - u32 flags; - u32 kern_flags; - u32 map_id; - enum bpf_map_type map_type; - struct bpf_nh_params nh; -}; - struct bpf_refcount { - int: 32; + __u32 __opaque[1]; }; struct bpf_reference_state { + enum ref_state_type type; int id; int insn_idx; - int callback_ref; + void *ptr; }; struct bpf_reg_types { @@ -15411,7 +17084,7 @@ struct bpf_ringbuf { long: 64; long: 64; long: 64; - spinlock_t spinlock; + raw_spinlock_t spinlock; long: 64; long: 64; long: 64; @@ -16420,7 +18093,7 @@ struct bpf_ringbuf { long: 64; long: 64; long unsigned int producer_pos; - long: 64; + long unsigned int pending_pos; long: 64; long: 64; long: 64; @@ -16942,13 +18615,6 @@ struct bpf_ringbuf_hdr { struct bpf_ringbuf_map { struct bpf_map map; struct bpf_ringbuf *rb; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_sanitize_info { @@ -16956,18 +18622,15 @@ struct bpf_sanitize_info { bool mask_to_left; }; -struct bpf_scratchpad { - union { - __be32 diff[128]; - u8 buff[512]; - }; -}; - struct sk_psock_progs { struct bpf_prog *msg_parser; struct bpf_prog *stream_parser; struct bpf_prog *stream_verdict; struct bpf_prog *skb_verdict; + struct bpf_link *msg_parser_link; + struct bpf_link *stream_parser_link; + struct bpf_link *stream_verdict_link; + struct bpf_link *skb_verdict_link; }; struct bpf_shtab_bucket; @@ -16979,7 +18642,6 @@ struct bpf_shtab { u32 elem_size; struct sk_psock_progs progs; atomic_t count; - long: 64; }; struct bpf_shtab_bucket { @@ -17052,6 +18714,7 @@ struct bpf_sock_addr_kern { struct sockaddr *uaddr; u64 tmp_reg; void *t_ctx; + u32 uaddrlen; }; struct bpf_sock_tuple { @@ -17071,17 +18734,11 @@ struct bpf_sock_tuple { }; }; -struct bpf_spin_lock { - __u32 val; -}; - struct bpf_stab { struct bpf_map map; struct sock **sks; struct sk_psock_progs progs; spinlock_t lock; - long: 64; - long: 64; }; struct bpf_stack_build_id { @@ -17101,9 +18758,6 @@ struct bpf_stack_map { struct pcpu_freelist freelist; u32 n_buckets; struct stack_map_bucket *buckets[0]; - long: 64; - long: 64; - long: 64; }; struct bpf_stack_state { @@ -17120,21 +18774,28 @@ struct bpf_struct_ops { int (*init)(struct btf *); int (*check_member)(const struct btf_type *, const struct btf_member *, const struct bpf_prog *); int (*init_member)(const struct btf_type *, const struct btf_member *, void *, const void *); - int (*reg)(void *); - void (*unreg)(void *); - int (*update)(void *, void *); + int (*reg)(void *, struct bpf_link *); + void (*unreg)(void *, struct bpf_link *); + int (*update)(void *, void *, struct bpf_link *); int (*validate)(void *); - const struct btf_type *type; - const struct btf_type *value_type; + void *cfi_stubs; + struct module *owner; const char *name; struct btf_func_model func_models[64]; - u32 type_id; - u32 value_id; }; -struct bpf_struct_ops_bpf_dummy_ops { +struct bpf_struct_ops_arg_info { + struct bpf_ctx_arg_aux *info; + u32 cnt; +}; + +struct bpf_struct_ops_common_value { refcount_t refcnt; enum bpf_struct_ops_state state; +}; + +struct bpf_struct_ops_bpf_dummy_ops { + struct bpf_struct_ops_common_value common; long: 64; long: 64; long: 64; @@ -17150,14 +18811,23 @@ struct bpf_struct_ops_bpf_dummy_ops { long: 64; }; +struct bpf_struct_ops_desc { + struct bpf_struct_ops *st_ops; + const struct btf_type *type; + const struct btf_type *value_type; + u32 type_id; + u32 value_id; + struct bpf_struct_ops_arg_info *arg_info; +}; + struct bpf_struct_ops_link { struct bpf_link link; struct bpf_map *map; + wait_queue_head_t wait_hup; }; struct bpf_struct_ops_value { - refcount_t refcnt; - enum bpf_struct_ops_state state; + struct bpf_struct_ops_common_value common; long: 64; long: 64; long: 64; @@ -17170,18 +18840,16 @@ struct bpf_struct_ops_value { struct bpf_struct_ops_map { struct bpf_map map; - struct callback_head rcu; - const struct bpf_struct_ops *st_ops; + const struct bpf_struct_ops_desc *st_ops_desc; struct mutex lock; struct bpf_link **links; - void *image; + struct bpf_ksym **ksyms; + u32 funcs_cnt; + u32 image_pages_cnt; + void *image_pages[8]; + struct btf *btf; struct bpf_struct_ops_value *uvalue; long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; struct bpf_struct_ops_value kvalue; }; @@ -17197,7 +18865,7 @@ struct tcp_congestion_ops { void (*in_ack_event)(struct sock *, u32); void (*pkts_acked)(struct sock *, const struct ack_sample *); u32 (*min_tso_segs)(struct sock *); - void (*cong_control)(struct sock *, const struct rate_sample *); + void (*cong_control)(struct sock *, u32, int, const struct rate_sample *); u32 (*undo_cwnd)(struct sock *); u32 (*sndbuf_expand)(struct sock *); size_t (*get_info)(struct sock *, u32, int *, union tcp_cc_info *); @@ -17216,8 +18884,7 @@ struct tcp_congestion_ops { }; struct bpf_struct_ops_tcp_congestion_ops { - refcount_t refcnt; - enum bpf_struct_ops_state state; + struct bpf_struct_ops_common_value common; long: 64; long: 64; long: 64; @@ -17228,14 +18895,46 @@ struct bpf_struct_ops_tcp_congestion_ops { struct tcp_congestion_ops data; }; +struct bpf_subprog_arg_info { + enum bpf_arg_type arg_type; + union { + u32 mem_size; + u32 btf_id; + }; +}; + struct bpf_subprog_info { u32 start; u32 linfo_idx; u16 stack_depth; - bool has_tail_call; - bool tail_call_reachable; - bool has_ld_abs; - bool is_async_cb; + u16 stack_extra; + s16 fastcall_stack_off; + bool has_tail_call: 1; + bool tail_call_reachable: 1; + bool has_ld_abs: 1; + bool is_cb: 1; + bool is_async_cb: 1; + bool is_exception_cb: 1; + bool args_cached: 1; + bool keep_fastcall_stack: 1; + bool changes_pkt_data: 1; + enum priv_stack_mode priv_stack_mode; + u8 arg_cnt; + struct bpf_subprog_arg_info args[5]; +}; + +struct bpf_tcp_req_attrs { + u32 rcv_tsval; + u32 rcv_tsecr; + u16 mss; + u8 rcv_wscale; + u8 snd_wscale; + u8 ecn_ok; + u8 wscale_ok; + u8 sack_ok; + u8 tstamp_ok; + u8 usec_ts_ok; + u8 reserved[3]; }; struct bpf_tcp_sock { @@ -17277,14 +18976,27 @@ struct bpf_test_timer { u64 time_spent; }; +struct bpf_throw_ctx { + struct bpf_prog_aux *aux; + u64 sp; + u64 bp; + int cnt; +}; + struct bpf_timer { - long: 64; - long: 64; + __u64 __opaque[2]; }; -struct bpf_timer_kern { - struct bpf_hrtimer *timer; - struct bpf_spin_lock lock; +struct user_namespace; + +struct bpf_token { + struct work_struct work; + atomic64_t refcnt; + struct user_namespace *userns; + u64 allowed_cmds; + u64 allowed_maps; + u64 allowed_progs; + u64 allowed_attachs; }; struct bpf_trace_module { @@ -17354,6 +19066,7 @@ struct perf_sample_data { struct perf_callchain_entry *callchain; struct perf_raw_record *raw; struct perf_branch_stack *br_stack; + u64 *br_stack_cntr; union perf_sample_weight weight; union perf_mem_data_src data_src; u64 txn; @@ -17371,7 +19084,6 @@ struct perf_sample_data { long: 64; long: 64; long: 64; - long: 64; }; struct bpf_trace_sample_data { @@ -17400,6 +19112,7 @@ struct percpu_ref { struct bpf_tramp_image { void *image; + int size; struct bpf_ksym ksym; struct percpu_ref pcref; void *ip_after_call; @@ -17439,7 +19152,6 @@ struct bpf_trampoline { struct hlist_head progs_hlist[3]; int progs_cnt[3]; struct bpf_tramp_image *cur_image; - struct module *mod; }; struct bpf_tunnel_key { @@ -17466,32 +19178,44 @@ struct bpf_tuple { struct bpf_link *link; }; +struct bpf_unwind_consume_entry_data { + bool (*consume_entry)(void *, u64, u64, u64); + void *cookie; +}; + struct uprobe_consumer { - int (*handler)(struct uprobe_consumer *, struct pt_regs *); - int (*ret_handler)(struct uprobe_consumer *, long unsigned int, struct pt_regs *); - bool (*filter)(struct uprobe_consumer *, enum uprobe_filter_ctx, struct mm_struct *); - struct uprobe_consumer *next; + int (*handler)(struct uprobe_consumer *, struct pt_regs *, __u64 *); + int (*ret_handler)(struct uprobe_consumer *, long unsigned int, struct pt_regs *, __u64 *); + bool (*filter)(struct uprobe_consumer *, struct mm_struct *); + struct list_head cons_node; + __u64 id; }; struct bpf_uprobe_multi_link; +struct uprobe; + struct bpf_uprobe { struct bpf_uprobe_multi_link *link; loff_t offset; + long unsigned int ref_ctr_offset; u64 cookie; + struct uprobe *uprobe; struct uprobe_consumer consumer; + bool session; }; struct bpf_uprobe_multi_link { struct path path; struct bpf_link link; u32 cnt; + u32 flags; struct bpf_uprobe *uprobes; struct task_struct *task; }; struct bpf_uprobe_multi_run_ctx { - struct bpf_run_ctx run_ctx; + struct bpf_session_run_ctx session_ctx; long unsigned int entry_ip; struct bpf_uprobe *uprobe; }; @@ -17522,10 +19246,12 @@ struct bpf_verifier_env { u32 prev_insn_idx; struct bpf_prog *prog; const struct bpf_verifier_ops *ops; + struct module *attach_btf_mod; struct bpf_verifier_stack_elem *head; int stack_size; bool strict_alignment; bool test_state_freq; + bool test_reg_invariants; struct bpf_verifier_state *cur_state; struct bpf_verifier_state_list **explored_states; struct bpf_verifier_state_list *free_list; @@ -17534,6 +19260,8 @@ struct bpf_verifier_env { u32 used_map_cnt; u32 used_btf_cnt; u32 id_gen; + u32 hidden_subprog_cnt; + int exception_callback_subprog; bool explore_alu_limits; bool allow_ptr_leaks; bool allow_uninit_stack; @@ -17541,10 +19269,11 @@ struct bpf_verifier_env { bool bypass_spec_v1; bool bypass_spec_v4; bool seen_direct_write; + bool seen_exception; struct bpf_insn_aux_data *insn_aux_data; const struct bpf_line_info *prev_linfo; struct bpf_verifier_log log; - struct bpf_subprog_info subprog_info[257]; + struct bpf_subprog_info subprog_info[258]; union { struct bpf_idmap idmap_scratch; struct bpf_idset idset_scratch; @@ -17555,6 +19284,9 @@ struct bpf_verifier_env { int cur_stack; } cfg; struct backtrack_state bt; + struct bpf_insn_hist_entry *insn_hist; + struct bpf_insn_hist_entry *cur_hist_ent; + u32 insn_hist_cap; u32 pass_cnt; u32 subprog_cnt; u32 prev_insn_processed; @@ -17571,13 +19303,17 @@ struct bpf_verifier_env { u64 scratched_stack_slots; u64 prev_log_pos; u64 prev_insn_print_pos; + struct bpf_reg_state fake_reg[2]; char tmp_str_buf[320]; + struct bpf_insn insn_buf[32]; + struct bpf_insn epilogue_buf[32]; }; struct bpf_verifier_ops { const struct bpf_func_proto * (*get_func_proto)(enum bpf_func_id, const struct bpf_prog *); bool (*is_valid_access)(int, int, enum bpf_access_type, const struct bpf_prog *, struct bpf_insn_access_aux *); int (*gen_prologue)(struct bpf_insn *, bool, const struct bpf_prog *); + int (*gen_epilogue)(struct bpf_insn *, const struct bpf_prog *, s16); int (*gen_ld_abs)(const struct bpf_insn *, struct bpf_insn *); u32 (*convert_ctx_access)(enum bpf_access_type, const struct bpf_insn *, struct bpf_insn *, struct bpf_prog *, u32 *); int (*btf_struct_access)(struct bpf_verifier_log *, const struct bpf_reg_state *, int, int); @@ -17586,16 +19322,26 @@ struct bpf_verifier_ops { struct bpf_verifier_state { struct bpf_func_state *frame[8]; struct bpf_verifier_state *parent; + struct bpf_reference_state *refs; u32 branches; u32 insn_idx; u32 curframe; - struct bpf_active_lock active_lock; - bool speculative; + u32 acquired_refs; + u32 active_locks; + u32 active_preempt_locks; + u32 active_irq_id; bool active_rcu_lock; + bool speculative; + bool used_as_loop_entry; + bool in_sleepable; u32 first_insn_idx; u32 last_insn_idx; - struct bpf_idx_pair *jmp_history; - u32 jmp_history_cnt; + struct bpf_verifier_state *loop_entry; + u32 insn_hist_start; + u32 insn_hist_end; + u32 dfs_depth; + u32 callback_unroll_depth; + u32 may_goto_depth; }; struct bpf_verifier_stack_elem { @@ -17613,6 +19359,16 @@ struct bpf_verifier_state_list { int hit_cnt; }; +struct bpf_work { + struct bpf_async_cb cb; + struct work_struct work; + struct work_struct delete_work; +}; + +struct bpf_wq { + __u64 __opaque[2]; +}; + struct bpf_xdp_link; struct bpf_xdp_entity { @@ -17630,6 +19386,14 @@ struct bpf_xdp_sock { __u32 queue_id; }; +struct bpffs_btf_enums { + const struct btf *btf; + const struct btf_type *cmd_t; + const struct btf_type *map_t; + const struct btf_type *prog_t; + const struct btf_type *attach_t; +}; + struct trace_entry { short unsigned int type; unsigned char flags; @@ -17650,14 +19414,6 @@ struct bputs_entry { const char *str; }; -struct br_input_skb_cb { - struct net_device *brdev; - u16 frag_max_size; - u8 proxyarp_replied: 1; - u8 src_port_isolated: 1; - u32 backup_nhid; -}; - struct br_mdb_entry { __u32 ifindex; __u8 state; @@ -17707,6 +19463,8 @@ struct btf_id_dtor_kfunc_tab; struct btf_struct_metas; +struct btf_struct_ops_tab; + struct btf { void *data; struct btf_type **types; @@ -17724,11 +19482,13 @@ struct btf { struct btf_kfunc_set_tab *kfunc_set_tab; struct btf_id_dtor_kfunc_tab *dtor_kfunc_tab; struct btf_struct_metas *struct_meta_tab; + struct btf_struct_ops_tab *struct_ops_tab; struct btf *base_btf; u32 start_id; u32 start_str_off; char name[56]; bool kernel_btf; + __u32 *base_id_map; }; struct btf_anon_stack { @@ -17783,6 +19543,14 @@ struct btf_field { }; }; +struct btf_field_desc { + int t_off_cnt; + int t_offs[2]; + int m_sz; + int m_off_cnt; + int m_offs[1]; +}; + struct btf_field_info { enum btf_field_type type; u32 off; @@ -17797,6 +19565,14 @@ struct btf_field_info { }; }; +struct btf_field_iter { + struct btf_field_desc desc; + void *p; + int m_idx; + int off_idx; + int vlen; +}; + struct btf_id_dtor_kfunc { u32 btf_id; u32 kfunc_btf_id; @@ -17835,8 +19611,8 @@ struct btf_kfunc_id_set { }; struct btf_kfunc_set_tab { - struct btf_id_set8 *sets[13]; - struct btf_kfunc_hook_filter hook_filters[13]; + struct btf_id_set8 *sets[14]; + struct btf_kfunc_hook_filter hook_filters[14]; }; struct btf_verifier_env; @@ -17868,6 +19644,13 @@ struct btf_module { int flags; }; +struct btf_name_info { + const char *name; + bool needs_size: 1; + unsigned int size: 31; + __u32 id; +}; + struct btf_param { __u32 name_off; __u32 type; @@ -17884,10 +19667,24 @@ struct btf_record { u32 field_mask; int spin_lock_off; int timer_off; + int wq_off; int refcount_off; struct btf_field fields[0]; }; +struct btf_relocate { + struct btf *btf; + const struct btf *base_btf; + const struct btf *dist_base_btf; + unsigned int nr_base_types; + unsigned int nr_split_types; + unsigned int nr_dist_base_types; + int dist_str_len; + int base_str_len; + __u32 *id_map; + __u32 *str_map; +}; + struct btf_sec_info { u32 off; u32 len; @@ -17935,6 +19732,12 @@ struct btf_struct_metas { struct btf_struct_meta types[0]; }; +struct btf_struct_ops_tab { + u32 cnt; + u32 capacity; + struct bpf_struct_ops_desc ops[0]; +}; + struct btf_type { __u32 name_off; __u32 info; @@ -18004,12 +19807,20 @@ struct buffer_data_page { unsigned char data[0]; }; +struct buffer_data_read_page { + unsigned int order; + struct buffer_data_page *data; +}; + struct buffer_page { struct list_head list; local_t write; unsigned int read; local_t entries; long unsigned int real_end; + unsigned int order; + u32 id: 30; + u32 range: 1; struct buffer_data_page *page; }; @@ -18030,23 +19841,21 @@ struct bus_dma_region { phys_addr_t cpu_start; dma_addr_t dma_start; u64 size; - u64 offset; }; -struct iommu_ops; - struct bus_type { const char *name; const char *dev_name; const struct attribute_group **bus_groups; const struct attribute_group **dev_groups; const struct attribute_group **drv_groups; - int (*match)(struct device *, struct device_driver *); + int (*match)(struct device *, const struct device_driver *); int (*uevent)(const struct device *, struct kobj_uevent_env *); int (*probe)(struct device *); void (*sync_state)(struct device *); void (*remove)(struct device *); void (*shutdown)(struct device *); + const struct cpumask * (*irq_get_affinity)(struct device *, unsigned int); int (*online)(struct device *); int (*offline)(struct device *); int (*suspend)(struct device *, pm_message_t); @@ -18055,7 +19864,6 @@ struct bus_type { int (*dma_configure)(struct device *); void (*dma_cleanup)(struct device *); const struct dev_pm_ops *pm; - const struct iommu_ops *iommu_ops; bool need_parent_lock; }; @@ -18085,7 +19893,7 @@ struct cacheline_padding { char x[0]; }; -typedef struct cpumask cpumask_var_t[1]; +typedef struct cpumask *cpumask_var_t; struct call_function_data { call_single_data_t *csd; @@ -18117,11 +19925,6 @@ struct load_weight { u32 inv_weight; }; -struct util_est { - unsigned int enqueued; - unsigned int ewma; -}; - struct sched_avg { u64 last_update_time; u64 load_sum; @@ -18131,20 +19934,19 @@ struct sched_avg { long unsigned int load_avg; long unsigned int runnable_avg; long unsigned int util_avg; - struct util_est util_est; + unsigned int util_est; }; struct sched_entity; struct cfs_rq { struct load_weight load; - unsigned int nr_running; - unsigned int h_nr_running; - unsigned int idle_nr_running; - unsigned int idle_h_nr_running; + unsigned int nr_queued; + unsigned int h_nr_queued; + unsigned int h_nr_runnable; + unsigned int h_nr_idle; s64 avg_vruntime; u64 avg_load; - u64 exec_clock; u64 min_vruntime; struct rb_root_cached tasks_timeline; struct sched_entity *curr; @@ -18153,6 +19955,7 @@ struct cfs_rq { long: 64; long: 64; long: 64; + long: 64; struct sched_avg avg; struct { raw_spinlock_t lock; @@ -18174,7 +19977,7 @@ struct cgroup__safe_rcu { struct proc_ns_operations; struct ns_common { - atomic_long_t stashed; + struct dentry *stashed; const struct proc_ns_operations *ops; unsigned int inum; refcount_t count; @@ -18182,8 +19985,6 @@ struct ns_common { struct css_set; -struct user_namespace; - struct ucounts; struct cgroup_namespace { @@ -18228,8 +20029,6 @@ struct check_mount { unsigned int mounted; }; -struct crypto_tfm; - struct cipher_alg { unsigned int cia_min_keysize; unsigned int cia_max_keysize; @@ -18239,8 +20038,8 @@ struct cipher_alg { }; struct cipher_context { - char *iv; - char *rec_seq; + char iv[20]; + char rec_seq[8]; }; struct class_attribute { @@ -18370,6 +20169,7 @@ struct clk_core { struct clk_hw *hw; struct module *owner; struct device *dev; + struct hlist_node rpm_node; struct device_node *of_node; struct clk_core *parent; struct clk_parent_map *parents; @@ -18408,7 +20208,7 @@ struct clk_divider { void *reg; u8 shift; u8 width; - u8 flags; + u16 flags; const struct clk_div_table *table; spinlock_t *lock; }; @@ -18417,6 +20217,8 @@ struct clk_fixed_factor { struct clk_hw hw; unsigned int mult; unsigned int div; + long unsigned int acc; + unsigned int flags; }; struct clk_fixed_rate { @@ -18453,6 +20255,14 @@ struct clk_gpio { struct gpio_desc *gpiod; }; +struct regulator; + +struct clk_gated_fixed { + struct clk_gpio clk_gpio; + struct regulator *supply; + long unsigned int rate; +}; + struct clk_hw_onecell_data { unsigned int num; struct clk_hw *hws[0]; @@ -18480,7 +20290,7 @@ struct clk_lookup { struct clk_lookup_alloc { struct clk_lookup cl; - char dev_id[20]; + char dev_id[24]; char con_id[16]; }; @@ -18505,8 +20315,6 @@ struct clk_mux { struct srcu_node; -struct srcu_struct; - struct srcu_usage { struct srcu_node *node; struct srcu_node *level[3]; @@ -18599,7 +20407,7 @@ struct clock_read_data { u64 epoch_ns; u64 epoch_cyc; u64 sched_clock_mask; - u64 (*read_sched_clock)(); + u64 (*read_sched_clock)(void); u32 mult; u32 shift; }; @@ -18609,7 +20417,7 @@ struct clock_data { struct clock_read_data read_data[2]; ktime_t wrap_kt; long unsigned int rate; - u64 (*actual_read_sched_clock)(); + u64 (*actual_read_sched_clock)(void); }; struct clock_identity { @@ -18622,6 +20430,8 @@ struct clock_provider { struct list_head node; }; +struct clocksource_base; + struct clocksource { u64 (*read)(struct clocksource *); u64 mask; @@ -18631,12 +20441,15 @@ struct clocksource { u32 maxadj; u32 uncertainty_margin; u64 max_cycles; + u64 max_raw_delta; const char *name; struct list_head list; + u32 freq_khz; int rating; enum clocksource_ids id; enum vdso_clock_mode vdso_clock_mode; long unsigned int flags; + struct clocksource_base *base; int (*enable)(struct clocksource *); void (*disable)(struct clocksource *); void (*suspend)(struct clocksource *); @@ -18646,6 +20459,14 @@ struct clocksource { struct module *owner; }; +struct clocksource_base { + enum clocksource_ids id; + u32 freq_khz; + u64 offset; + u32 numerator; + u32 denominator; +}; + struct clone_args { __u64 flags; __u64 pidfd; @@ -18660,6 +20481,94 @@ struct clone_args { __u64 cgroup; }; +struct cmis_cdb_advert_rpl { + u8 inst_supported; + u8 read_write_len_ext; + u8 resv1; + u8 resv2; +}; + +struct cmis_cdb_fw_mng_features_rpl { + u8 resv1; + u8 resv2; + u8 start_cmd_payload_size; + u8 resv3; + u8 read_write_len_ext; + u8 write_mechanism; + u8 resv4; + u8 resv5; + __be16 max_duration_start; + __be16 resv6; + __be16 max_duration_write; + __be16 max_duration_complete; + __be16 resv7; +}; + +struct cmis_cdb_module_features_rpl { + u8 resv1[34]; + __be16 max_completion_time; +}; + +struct cmis_cdb_query_status_pl { + u16 response_delay; +}; + +struct cmis_cdb_query_status_rpl { + u8 length; + u8 status; +}; + +struct cmis_cdb_run_fw_image_pl { + u8 resv1; + u8 image_to_run; + u16 delay_to_reset; +}; + +struct cmis_cdb_start_fw_download_pl_h { + __be32 image_size; + __be32 resv1; +}; + +struct cmis_cdb_start_fw_download_pl { + union { + struct { + __be32 image_size; + __be32 resv1; + }; + struct cmis_cdb_start_fw_download_pl_h head; + }; + u8 vendor_data[112]; +}; + +struct cmis_cdb_write_fw_block_epl_pl { + u8 fw_block[2048]; +}; + +struct cmis_cdb_write_fw_block_lpl_pl { + __be32 block_address; + u8 fw_block[116]; +}; + +struct cmis_fw_update_fw_mng_features { + u8 start_cmd_payload_size; + u8 write_mechanism; + u16 max_duration_start; + u16 max_duration_write; + u16 max_duration_complete; +}; + +struct cmis_password_entry_pl { + __be32 password; +}; + +struct cmis_rev_rpl { + u8 rev; +}; + +struct cmis_wait_for_cond_rpl { + u8 state; +}; + struct cmsghdr { __kernel_size_t cmsg_len; int cmsg_level; @@ -18854,14 +20763,30 @@ struct compress_format { decompress_fn decompressor; }; +struct console; + +struct printk_buffers; + +struct nbcon_context { + struct console *console; + unsigned int spinwait_max_us; + enum nbcon_prio prio; + unsigned int allow_unsafe_takeover: 1; + unsigned int backlog: 1; + struct printk_buffers *pbufs; + u64 seq; +}; + struct tty_driver; +struct nbcon_write_context; + struct console { char name[16]; void (*write)(struct console *, const char *, unsigned int); int (*read)(struct console *, char *, unsigned int); struct tty_driver * (*device)(struct console *, int *); - void (*unblank)(); + void (*unblank)(void); int (*setup)(struct console *, char *); int (*exit)(struct console *); int (*match)(struct console *, char *, int, char *); @@ -18874,15 +20799,35 @@ struct console { long unsigned int dropped; void *data; struct hlist_node node; + void (*write_atomic)(struct console *, struct nbcon_write_context *); + void (*write_thread)(struct console *, struct nbcon_write_context *); + void (*device_lock)(struct console *, long unsigned int *); + void (*device_unlock)(struct console *, long unsigned int); + atomic_t nbcon_state; + atomic_long_t nbcon_seq; + struct nbcon_context nbcon_device_ctxt; + atomic_long_t nbcon_prev_seq; + struct printk_buffers *pbufs; + struct task_struct *kthread; + struct rcuwait rcuwait; + struct irq_work irq_work; }; struct console_cmdline { char name[16]; int index; + char devname[32]; bool user_specified; char *options; }; +struct console_flush_type { + bool nbcon_atomic; + bool nbcon_offload; + bool legacy_direct; + bool legacy_offload; +}; + struct constant_table { const char *name; int value; @@ -18895,8 +20840,8 @@ struct container_dev { struct context_tracking { atomic_t state; - long int dynticks_nesting; - long int dynticks_nmi_nesting; + long int nesting; + long int nmi_nesting; }; struct core_thread { @@ -18935,6 +20880,7 @@ struct cpu_attr { struct cpu_cacheinfo { struct cacheinfo *info_list; + unsigned int per_cpu_data_slice_size; unsigned int num_levels; unsigned int num_leaves; bool cpu_map_populated; @@ -18959,8 +20905,9 @@ struct cpu_context { struct folio_batch { unsigned char nr; + unsigned char i; bool percpu_pvec_drained; - struct folio *folios[15]; + struct folio *folios[31]; }; struct cpu_fbatches { @@ -18969,7 +20916,9 @@ struct cpu_fbatches { struct folio_batch lru_deactivate_file; struct folio_batch lru_deactivate; struct folio_batch lru_lazyfree; - struct folio_batch activate; + struct folio_batch lru_activate; + local_lock_t lock_irq; + struct folio_batch lru_move_tail; }; struct user_fpsimd_state; @@ -18979,6 +20928,7 @@ struct cpu_fp_state { void *sve_state; void *sme_state; u64 *svcr; + u64 *fpmr; unsigned int sve_vl; unsigned int sme_vl; enum fp_type *fp_type; @@ -18995,7 +20945,7 @@ struct cpu_operations { int (*cpu_init)(unsigned int); int (*cpu_prepare)(unsigned int); int (*cpu_boot)(unsigned int); - void (*cpu_postboot)(); + void (*cpu_postboot)(void); }; struct cpu_stop_done { @@ -19235,7 +21185,7 @@ struct cpuidle_state { int power_usage; unsigned int target_residency; int (*enter)(struct cpuidle_device *, struct cpuidle_driver *, int); - int (*enter_dead)(struct cpuidle_device *, int); + void (*enter_dead)(struct cpuidle_device *, int); int (*enter_s2idle)(struct cpuidle_device *, struct cpuidle_driver *, int); }; @@ -19275,7 +21225,6 @@ struct cpuinfo_32bit { }; struct cpuinfo_arm64 { - struct cpu cpu; struct kobject kobj; u64 reg_ctr; u64 reg_cntfrq; @@ -19284,22 +21233,25 @@ struct cpuinfo_arm64 { u64 reg_revidr; u64 reg_gmid; u64 reg_smidr; + u64 reg_mpamidr; u64 reg_id_aa64dfr0; u64 reg_id_aa64dfr1; u64 reg_id_aa64isar0; u64 reg_id_aa64isar1; u64 reg_id_aa64isar2; + u64 reg_id_aa64isar3; u64 reg_id_aa64mmfr0; u64 reg_id_aa64mmfr1; u64 reg_id_aa64mmfr2; u64 reg_id_aa64mmfr3; + u64 reg_id_aa64mmfr4; u64 reg_id_aa64pfr0; u64 reg_id_aa64pfr1; + u64 reg_id_aa64pfr2; u64 reg_id_aa64zfr0; u64 reg_id_aa64smfr0; + u64 reg_id_aa64fpfr0; struct cpuinfo_32bit aarch32; - u64 reg_zcr; - u64 reg_smcr; }; union cpumask_rcuhead { @@ -19320,7 +21272,7 @@ struct cpupri { struct group_info; struct cred { - atomic_t usage; + atomic_long_t usage; kuid_t uid; kgid_t gid; kuid_t suid; @@ -19419,7 +21371,7 @@ struct ctl_node; struct ctl_table_header { union { struct { - struct ctl_table *ctl_table; + const struct ctl_table *ctl_table; int ctl_table_size; int used; int count; @@ -19428,12 +21380,16 @@ struct ctl_table_header { struct callback_head rcu; }; struct completion *unregistering; - struct ctl_table *ctl_table_arg; + const struct ctl_table *ctl_table_arg; struct ctl_table_root *root; struct ctl_table_set *set; struct ctl_dir *parent; struct ctl_node *node; struct hlist_head inodes; + enum { + SYSCTL_TABLE_TYPE_DEFAULT = 0, + SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY = 1, + } type; }; struct ctl_dir { @@ -19446,7 +21402,7 @@ struct ctl_node { struct ctl_table_header *header; }; -typedef int proc_handler(struct ctl_table *, int, void *, size_t *, loff_t *); +typedef int proc_handler(const struct ctl_table *, int, void *, size_t *, loff_t *); struct ctl_table_poll; @@ -19455,10 +21411,6 @@ struct ctl_table { void *data; int maxlen; umode_t mode; - enum { - SYSCTL_TABLE_TYPE_DEFAULT = 0, - SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY = 1, - } type; proc_handler *proc_handler; struct ctl_table_poll *poll; void *extra1; @@ -19478,8 +21430,8 @@ struct ctl_table_set { struct ctl_table_root { struct ctl_table_set default_set; struct ctl_table_set * (*lookup)(struct ctl_table_root *); - void (*set_ownership)(struct ctl_table_header *, struct ctl_table *, kuid_t *, kgid_t *); - int (*permissions)(struct ctl_table_header *, struct ctl_table *); + void (*set_ownership)(struct ctl_table_header *, kuid_t *, kgid_t *); + int (*permissions)(struct ctl_table_header *, const struct ctl_table *); }; struct netlink_policy_dump_state; @@ -19509,24 +21461,6 @@ struct ctx_switch_entry { unsigned char next_state; }; -struct wait_queue_entry; - -typedef int (*wait_queue_func_t)(struct wait_queue_entry *, unsigned int, int, void *); - -struct wait_queue_entry { - unsigned int flags; - void *private; - wait_queue_func_t func; - struct list_head entry; -}; - -typedef struct wait_queue_entry wait_queue_entry_t; - -struct cwt_wait { - wait_queue_entry_t wait; - struct work_struct *work; -}; - struct cyclecounter { u64 (*read)(const struct cyclecounter *); u64 mask; @@ -19552,8 +21486,6 @@ struct delayed_call { void *arg; }; -struct uprobe; - struct delayed_uprobe { struct list_head list; struct uprobe *uprobe; @@ -19576,6 +21508,11 @@ struct qstr { const unsigned char *name; }; +union shortname_store { + unsigned char string[40]; + long unsigned int words[5]; +}; + struct lockref { union { __u64 lock_count; @@ -19588,6 +21525,8 @@ struct lockref { struct dentry_operations; +struct super_block; + struct dentry { unsigned int d_flags; seqcount_spinlock_t d_seq; @@ -19595,18 +21534,18 @@ struct dentry { struct dentry *d_parent; struct qstr d_name; struct inode *d_inode; - unsigned char d_iname[32]; - struct lockref d_lockref; + union shortname_store d_shortname; const struct dentry_operations *d_op; struct super_block *d_sb; long unsigned int d_time; void *d_fsdata; + struct lockref d_lockref; union { struct list_head d_lru; wait_queue_head_t *d_wait; }; - struct list_head d_child; - struct list_head d_subdirs; + struct hlist_node d_sib; + struct hlist_head d_children; union { struct hlist_node d_alias; struct hlist_bl_node d_in_lookup_hash; @@ -19618,13 +21557,8 @@ struct dentry__safe_trusted { struct inode *d_inode; }; -struct dentry_list { - void *cursor; - struct dentry **dentries; -}; - struct dentry_operations { - int (*d_revalidate)(struct dentry *, unsigned int); + int (*d_revalidate)(struct inode *, const struct qstr *, struct dentry *, unsigned int); int (*d_weak_revalidate)(struct dentry *, unsigned int); int (*d_hash)(const struct dentry *, struct qstr *); int (*d_compare)(const struct dentry *, unsigned int, const char *, const struct qstr *); @@ -19636,9 +21570,9 @@ struct dentry_operations { char * (*d_dname)(struct dentry *, char *, int); struct vfsmount * (*d_automount)(struct path *); int (*d_manage)(const struct path *, bool); - struct dentry * (*d_real)(struct dentry *, const struct inode *); - long: 64; - long: 64; + struct dentry * (*d_real)(struct dentry *, enum d_real_type); + bool (*d_unalias_trylock)(const struct dentry *); + void (*d_unalias_unlock)(const struct dentry *); long: 64; }; @@ -19673,6 +21607,7 @@ struct vmem_altmap { long unsigned int free; long unsigned int align; long unsigned int alloc; + bool inaccessible; }; struct range { @@ -19742,6 +21677,7 @@ struct dev_pm_domain { int (*activate)(struct device *); void (*sync)(struct device *); void (*dismiss)(struct device *); + int (*set_performance_state)(struct device *, unsigned int); }; struct pm_qos_flags { @@ -19788,11 +21724,6 @@ struct dev_pm_qos_request { struct device *dev; }; -struct dev_printk_info { - char subsystem[16]; - char device[48]; -}; - struct device_attach_data { struct device *dev; bool check_async; @@ -19867,7 +21798,7 @@ struct device_private { struct klist_node knode_bus; struct klist_node knode_class; struct list_head deferred_probe; - struct device_driver *async_driver; + const struct device_driver *async_driver; char *deferred_probe_reason; struct device *device; u8 dead: 1; @@ -19964,6 +21895,7 @@ struct devlink_port { struct list_head reporter_list; struct devlink_rate *devlink_rate; struct devlink_linecard *linecard; + u32 rel_index; }; struct devlink_port_ops { @@ -19983,6 +21915,8 @@ struct devlink_port_ops { int (*port_fn_ipsec_crypto_set)(struct devlink_port *, bool, struct netlink_ext_ack *); int (*port_fn_ipsec_packet_get)(struct devlink_port *, bool *, struct netlink_ext_ack *); int (*port_fn_ipsec_packet_set)(struct devlink_port *, bool, struct netlink_ext_ack *); + int (*port_fn_max_io_eqs_get)(struct devlink_port *, u32 *, struct netlink_ext_ack *); + int (*port_fn_max_io_eqs_set)(struct devlink_port *, u32, struct netlink_ext_ack *); }; struct devlink_rate { @@ -20048,6 +21982,56 @@ struct die_args { int signr; }; +struct dim_stats { + int ppms; + int bpms; + int epms; + int cpms; + int cpe_ratio; +}; + +struct dim_sample { + ktime_t time; + u32 pkt_ctr; + u32 byte_ctr; + u16 event_ctr; + u32 comp_ctr; +}; + +struct dim { + u8 state; + struct dim_stats prev_stats; + struct dim_sample start_sample; + struct dim_sample measuring_sample; + struct work_struct work; + void *priv; + u8 profile_ix; + u8 mode; + u8 tune_state; + u8 steps_right; + u8 steps_left; + u8 tired; +}; + +struct dim_cq_moder { + u16 usec; + u16 pkts; + u16 comps; + u8 cq_period_mode; + struct callback_head rcu; +}; + +struct dim_irq_moder { + u8 profile_flags; + u8 coal_flags; + u8 dim_rx_mode; + u8 dim_tx_mode; + struct dim_cq_moder *rx_profile; + struct dim_cq_moder *tx_profile; + void (*rx_dim_work)(struct work_struct *); + void (*tx_dim_work)(struct work_struct *); +}; + struct dir_context; typedef bool (*filldir_t)(struct dir_context *, const char *, int, loff_t, u64, unsigned int); @@ -20068,6 +22052,8 @@ struct dirty_throttle_control { long unsigned int wb_thresh; long unsigned int wb_bg_thresh; long unsigned int pos_ratio; + bool freerun; + bool dirty_exceeded; }; struct dl_bw { @@ -20083,8 +22069,7 @@ struct dl_rq { u64 curr; u64 next; } earliest_dl; - unsigned int dl_nr_migratory; - int overloaded; + bool overloaded; struct rb_root_cached pushable_dl_tasks_root; u64 running_bw; u64 this_bw; @@ -20118,13 +22103,10 @@ struct dma_devres { struct sg_table; struct dma_map_ops { - unsigned int flags; void * (*alloc)(struct device *, size_t, dma_addr_t *, gfp_t, long unsigned int); void (*free)(struct device *, size_t, void *, dma_addr_t, long unsigned int); - struct page * (*alloc_pages)(struct device *, size_t, dma_addr_t *, enum dma_data_direction, gfp_t); + struct page * (*alloc_pages_op)(struct device *, size_t, dma_addr_t *, enum dma_data_direction, gfp_t); void (*free_pages)(struct device *, size_t, struct page *, dma_addr_t, enum dma_data_direction); - struct sg_table * (*alloc_noncontiguous)(struct device *, size_t, enum dma_data_direction, gfp_t, long unsigned int); - void (*free_noncontiguous)(struct device *, size_t, struct sg_table *, enum dma_data_direction); int (*mmap)(struct device *, struct vm_area_struct *, void *, dma_addr_t, size_t, long unsigned int); int (*get_sgtable)(struct device *, struct sg_table *, void *, dma_addr_t, size_t, long unsigned int); dma_addr_t (*map_page)(struct device *, struct page *, long unsigned int, size_t, enum dma_data_direction, long unsigned int); @@ -20141,7 +22123,7 @@ struct dma_map_ops { int (*dma_supported)(struct device *, u64); u64 (*get_required_mask)(struct device *); size_t (*max_mapping_size)(struct device *); - size_t (*opt_mapping_size)(); + size_t (*opt_mapping_size)(void); long unsigned int (*get_merge_boundary)(struct device *); }; @@ -20166,15 +22148,17 @@ struct dma_pool { struct list_head pools; }; -struct sg_table { - struct scatterlist *sgl; - unsigned int nents; - unsigned int orig_nents; +struct dmabuf_cmsg { + __u64 frag_offset; + __u32 frag_size; + __u32 frag_token; + __u32 dmabuf_id; + __u32 flags; }; -struct dma_sgt_handle { - struct sg_table sgt; - struct page **pages; +struct dmabuf_token { + __u32 token_start; + __u32 token_count; }; struct kqid { @@ -20319,7 +22303,7 @@ struct dst_ops { u32 * (*cow_metrics)(struct dst_entry *, long unsigned int); void (*destroy)(struct dst_entry *); void (*ifdown)(struct dst_entry *, struct net_device *); - struct dst_entry * (*negative_advice)(struct dst_entry *); + void (*negative_advice)(struct sock *, struct dst_entry *); void (*link_failure)(struct sk_buff *); void (*update_pmtu)(struct dst_entry *, struct sock *, struct sk_buff *, u32, bool); void (*redirect)(struct dst_entry *, struct sock *, struct sk_buff *); @@ -20375,7 +22359,6 @@ struct seq_buf { char *buffer; size_t size; size_t len; - loff_t readpos; }; struct dynevent_cmd; @@ -20391,21 +22374,25 @@ struct dynevent_cmd { void *private_data; }; -struct ethtool_eee { - __u32 cmd; - __u32 supported; - __u32 advertised; - __u32 lp_advertised; - __u32 eee_active; - __u32 eee_enabled; - __u32 tx_lpi_enabled; - __u32 tx_lpi_timer; - __u32 reserved[2]; +struct eee_config { + u32 tx_lpi_timer; + bool tx_lpi_enabled; + bool eee_enabled; +}; + +struct ethtool_keee { + long unsigned int supported[2]; + long unsigned int advertised[2]; + long unsigned int lp_advertised[2]; + u32 tx_lpi_timer; + bool tx_lpi_enabled; + bool eee_active; + bool eee_enabled; }; struct eee_reply_data { struct ethnl_reply_data base; - struct ethtool_eee eee; + struct ethtool_keee eee; }; struct eeprom_reply_data { @@ -20418,6 +22405,7 @@ struct ethnl_req_info { struct net_device *dev; netdevice_tracker dev_tracker; u32 flags; + u32 phy_index; }; struct eeprom_req_info { @@ -20535,22 +22523,31 @@ struct elf64_sym { typedef struct elf64_sym Elf64_Sym; -struct em_perf_state; +struct em_perf_table; struct em_perf_domain { - struct em_perf_state *table; + struct em_perf_table *em_table; int nr_perf_states; + int min_perf_state; + int max_perf_state; long unsigned int flags; long unsigned int cpus[0]; }; struct em_perf_state { + long unsigned int performance; long unsigned int frequency; long unsigned int power; long unsigned int cost; long unsigned int flags; }; +struct em_perf_table { + struct callback_head rcu; + struct kref kref; + struct em_perf_state state[0]; +}; + struct trace_event_file; struct enable_trigger_data { @@ -20631,6 +22628,20 @@ struct ethnl_dump_ctx { long unsigned int pos_ifindex; }; +struct ethnl_module_fw_flash_ntf_params { + u32 portid; + u32 seq; + bool closed_sock; +}; + +struct phy_req_info; + +struct ethnl_phy_dump_ctx { + struct phy_req_info *phy_req_info; + long unsigned int ifindex; + long unsigned int phy_index; +}; + struct genl_info; struct ethnl_request_ops { @@ -20650,6 +22661,25 @@ struct ethnl_request_ops { int (*set)(struct ethnl_req_info *, struct genl_info *); }; +struct ethnl_sock_priv { + struct net_device *dev; + u32 portid; + enum ethnl_sock_type type; +}; + +struct tsinfo_req_info; + +struct tsinfo_reply_data; + +struct ethnl_tsinfo_dump_ctx { + struct tsinfo_req_info *req_info; + struct tsinfo_reply_data *reply_data; + long unsigned int pos_ifindex; + bool netdev_dump_done; + long unsigned int pos_phyindex; + enum hwtstamp_provider_qualifier pos_phcqualifier; +}; + struct ethnl_tunnel_info_dump_ctx { struct ethnl_req_info req_info; long unsigned int ifindex; @@ -20669,6 +22699,25 @@ struct ethtool_ah_espip6_spec { __u8 tclass; }; +struct ethtool_c33_pse_ext_state_info { + enum ethtool_c33_pse_ext_state c33_pse_ext_state; + union { + enum ethtool_c33_pse_ext_substate_error_condition error_condition; + enum ethtool_c33_pse_ext_substate_mr_pse_enable mr_pse_enable; + enum ethtool_c33_pse_ext_substate_option_detect_ted option_detect_ted; + enum ethtool_c33_pse_ext_substate_option_vport_lim option_vport_lim; + enum ethtool_c33_pse_ext_substate_ovld_detected ovld_detected; + enum ethtool_c33_pse_ext_substate_power_not_available power_not_available; + enum ethtool_c33_pse_ext_substate_short_detected short_detected; + u32 __c33_pse_ext_substate; + }; +}; + +struct ethtool_c33_pse_pw_limit_range { + u32 min; + u32 max; +}; + struct ethtool_cmd { __u32 cmd; __u32 supported; @@ -20689,6 +22738,69 @@ struct ethtool_cmd { __u32 reserved[2]; }; +struct ethtool_cmis_cdb { + u8 cmis_rev; + u8 read_write_len_ext; + u16 max_completion_time; +}; + +struct ethtool_cmis_cdb_request { + __be16 id; + union { + struct { + __be16 epl_len; + u8 lpl_len; + u8 chk_code; + u8 resv1; + u8 resv2; + u8 payload[120]; + }; + struct { + __be16 epl_len; + u8 lpl_len; + u8 chk_code; + u8 resv1; + u8 resv2; + u8 payload[120]; + } body; + }; + u8 *epl; +}; + +struct ethtool_cmis_cdb_cmd_args { + struct ethtool_cmis_cdb_request req; + u16 max_duration; + u8 read_write_len_ext; + u8 msleep_pre_rpl; + u8 rpl_exp_len; + u8 flags; + char *err_msg; +}; + +struct ethtool_cmis_cdb_rpl_hdr { + u8 rpl_len; + u8 rpl_chk_code; +}; + +struct ethtool_cmis_cdb_rpl { + struct ethtool_cmis_cdb_rpl_hdr hdr; + u8 payload[120]; +}; + +struct ethtool_module_fw_flash_params { + __be32 password; + u8 password_valid: 1; +}; + +struct firmware; + +struct ethtool_cmis_fw_update_params { + struct net_device *dev; + struct ethtool_module_fw_flash_params params; + struct ethnl_module_fw_flash_ntf_params ntf_params; + const struct firmware *fw; +}; + struct ethtool_flash { __u32 cmd; __u32 region; @@ -20726,6 +22838,18 @@ struct ethtool_dump { __u8 data[0]; }; +struct ethtool_eee { + __u32 cmd; + __u32 supported; + __u32 advertised; + __u32 lp_advertised; + __u32 eee_active; + __u32 eee_enabled; + __u32 tx_lpi_enabled; + __u32 tx_lpi_timer; + __u32 reserved[2]; +}; + struct ethtool_eeprom { __u32 cmd; __u32 magic; @@ -20892,6 +23016,13 @@ union ethtool_flow_union { __u8 hdata[52]; }; +struct ethtool_forced_speed_map { + u32 speed; + long unsigned int caps[2]; + const u32 *cap_arr; + u32 arr_size; +}; + struct ethtool_get_features_block { __u32 available; __u32 requested; @@ -20945,7 +23076,6 @@ struct ethtool_link_settings { __u8 master_slave_state; __u8 rate_matching; __u32 reserved[7]; - __u32 link_mode_masks[0]; }; struct ethtool_link_ksettings { @@ -21012,11 +23142,25 @@ struct ethtool_module_eeprom { u8 *data; }; +struct ethtool_module_fw_flash { + struct list_head list; + netdevice_tracker dev_tracker; + struct work_struct work; + struct ethtool_cmis_fw_update_params fw_update; +}; + struct ethtool_module_power_mode_params { enum ethtool_module_power_mode_policy policy; enum ethtool_module_power_mode mode; }; +struct ethtool_netdev_state { + struct xarray rss_ctx; + struct mutex rss_lock; + unsigned int wol_enabled: 1; + unsigned int module_fw_flash_in_progress: 1; +}; + struct ethtool_regs; struct ethtool_wolinfo; @@ -21035,7 +23179,13 @@ struct ethtool_stats; struct ethtool_rxnfc; -struct ethtool_ts_info; +struct ethtool_rxfh_param; + +struct ethtool_rxfh_context; + +struct kernel_ethtool_ts_info; + +struct ethtool_ts_stats; struct ethtool_tunable; @@ -21045,8 +23195,17 @@ struct ethtool_rmon_hist_range; struct ethtool_ops { u32 cap_link_lanes_supported: 1; + u32 cap_rss_ctx_supported: 1; + u32 cap_rss_sym_xor_supported: 1; + u32 rxfh_per_ctx_key: 1; + u32 cap_rss_rxnfc_adds: 1; + u32 rxfh_indir_space; + u16 rxfh_key_space; + u16 rxfh_priv_size; + u32 rxfh_max_num_contexts; u32 supported_coalesce_params; u32 supported_ring_params; + u32 supported_hwtstamp_qualifiers; void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *); int (*get_regs_len)(struct net_device *); void (*get_regs)(struct net_device *, struct ethtool_regs *, void *); @@ -21083,20 +23242,22 @@ struct ethtool_ops { int (*reset)(struct net_device *, u32 *); u32 (*get_rxfh_key_size)(struct net_device *); u32 (*get_rxfh_indir_size)(struct net_device *); - int (*get_rxfh)(struct net_device *, u32 *, u8 *, u8 *); - int (*set_rxfh)(struct net_device *, const u32 *, const u8 *, const u8); - int (*get_rxfh_context)(struct net_device *, u32 *, u8 *, u8 *, u32); - int (*set_rxfh_context)(struct net_device *, const u32 *, const u8 *, const u8, u32 *, bool); + int (*get_rxfh)(struct net_device *, struct ethtool_rxfh_param *); + int (*set_rxfh)(struct net_device *, struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*create_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, const struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*modify_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, const struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*remove_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, u32, struct netlink_ext_ack *); void (*get_channels)(struct net_device *, struct ethtool_channels *); int (*set_channels)(struct net_device *, struct ethtool_channels *); int (*get_dump_flag)(struct net_device *, struct ethtool_dump *); int (*get_dump_data)(struct net_device *, struct ethtool_dump *, void *); int (*set_dump)(struct net_device *, struct ethtool_dump *); - int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *); + int (*get_ts_info)(struct net_device *, struct kernel_ethtool_ts_info *); + void (*get_ts_stats)(struct net_device *, struct ethtool_ts_stats *); int (*get_module_info)(struct net_device *, struct ethtool_modinfo *); int (*get_module_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *); - int (*get_eee)(struct net_device *, struct ethtool_eee *); - int (*set_eee)(struct net_device *, struct ethtool_eee *); + int (*get_eee)(struct net_device *, struct ethtool_keee *); + int (*set_eee)(struct net_device *, struct ethtool_keee *); int (*get_tunable)(struct net_device *, const struct ethtool_tunable *, void *); int (*set_tunable)(struct net_device *, const struct ethtool_tunable *, const void *); int (*get_per_queue_coalesce)(struct net_device *, u32, struct ethtool_coalesce *); @@ -21110,6 +23271,7 @@ struct ethtool_ops { int (*get_phy_tunable)(struct net_device *, const struct ethtool_tunable *, void *); int (*set_phy_tunable)(struct net_device *, const struct ethtool_tunable *, const void *); int (*get_module_eeprom_by_page)(struct net_device *, const struct ethtool_module_eeprom *, struct netlink_ext_ack *); + int (*set_module_eeprom_by_page)(struct net_device *, const struct ethtool_module_eeprom *, struct netlink_ext_ack *); void (*get_eth_phy_stats)(struct net_device *, struct ethtool_eth_phy_stats *); void (*get_eth_mac_stats)(struct net_device *, struct ethtool_eth_mac_stats *); void (*get_eth_ctrl_stats)(struct net_device *, struct ethtool_eth_ctrl_stats *); @@ -21174,6 +23336,28 @@ struct ethtool_phy_ops { int (*start_cable_test_tdr)(struct phy_device *, struct netlink_ext_ack *, const struct phy_tdr_config *); }; +struct ethtool_phy_stats { + u64 rx_packets; + u64 rx_bytes; + u64 rx_errors; + u64 tx_packets; + u64 tx_bytes; + u64 tx_errors; +}; + +struct ethtool_pse_control_status { + enum ethtool_podl_pse_admin_state podl_admin_state; + enum ethtool_podl_pse_pw_d_status podl_pw_status; + enum ethtool_c33_pse_admin_state c33_admin_state; + enum ethtool_c33_pse_pw_d_status c33_pw_status; + u32 c33_pw_class; + u32 c33_actual_pw; + struct ethtool_c33_pse_ext_state_info c33_ext_state_info; + u32 c33_avail_pw_limit; + struct ethtool_c33_pse_pw_limit_range *c33_pw_limit_ranges; + u32 c33_pw_limit_nb_ranges; +}; + struct ethtool_regs { __u32 cmd; __u32 version; @@ -21321,11 +23505,36 @@ struct ethtool_rxfh { __u32 indir_size; __u32 key_size; __u8 hfunc; - __u8 rsvd8[3]; + __u8 input_xfrm; + __u8 rsvd8[2]; __u32 rsvd32; __u32 rss_config[0]; }; +struct ethtool_rxfh_context { + u32 indir_size; + u32 key_size; + u16 priv_size; + u8 hfunc; + u8 input_xfrm; + u8 indir_configured: 1; + u8 key_configured: 1; + u32 key_off; + long: 0; + u8 data[0]; +}; + +struct ethtool_rxfh_param { + u8 hfunc; + u32 indir_size; + u32 *indir; + u32 key_size; + u8 *key; + u32 rss_context; + u8 rss_delete; + u8 input_xfrm; +}; + struct ethtool_rxnfc { __u32 cmd; __u32 flow_type; @@ -21380,6 +23589,23 @@ struct ethtool_ts_info { __u32 rx_reserved[3]; }; +struct ethtool_ts_stats { + union { + struct { + u64 pkts; + u64 onestep_pkts_unconfirmed; + u64 lost; + u64 err; + }; + struct { + u64 pkts; + u64 onestep_pkts_unconfirmed; + u64 lost; + u64 err; + } tx_stats; + }; +}; + struct ethtool_tunable { __u32 cmd; __u32 id; @@ -21456,6 +23682,14 @@ struct event_lpi_map { int nr_vlpis; }; +struct event_mod_load { + struct list_head list; + char *module; + char *match; + char *system; + char *event; +}; + struct event_probe_data { struct trace_event_file *file; long unsigned int count; @@ -21496,29 +23730,43 @@ struct event_trigger_ops { int (*print)(struct seq_file *, struct event_trigger_data *); }; -struct eventfs_inode; +struct eventfs_attr { + int mode; + kuid_t uid; + kgid_t gid; +}; -struct inode_operations; +typedef int (*eventfs_callback)(const char *, umode_t *, void **, const struct file_operations **); -struct eventfs_file { +typedef void (*eventfs_release)(const char *, void *); + +struct eventfs_entry { const char *name; - struct dentry *d_parent; - struct dentry *dentry; - struct list_head list; - struct eventfs_inode *ei; - const struct file_operations *fop; - const struct inode_operations *iop; + eventfs_callback callback; + eventfs_release release; +}; + +struct eventfs_inode { union { - struct list_head del_list; + struct list_head list; struct callback_head rcu; - long unsigned int is_freed; }; + struct list_head children; + const struct eventfs_entry *entries; + const char *name; + struct eventfs_attr *entry_attrs; void *data; - umode_t mode; + struct eventfs_attr attr; + struct kref kref; + unsigned int is_freed: 1; + unsigned int is_events: 1; + unsigned int nr_entries: 30; + unsigned int ino; }; -struct eventfs_inode { - struct list_head e_top_files; +struct eventfs_root_inode { + struct eventfs_inode ei; + struct dentry *events_dir; }; struct exception_table_entry { @@ -21528,6 +23776,20 @@ struct exception_table_entry { short int data; }; +struct execmem_range { + long unsigned int start; + long unsigned int end; + long unsigned int fallback_start; + long unsigned int fallback_end; + pgprot_t pgprot; + unsigned int alignment; + enum execmem_range_flags flags; +}; + +struct execmem_info { + struct execmem_range ranges[5]; +}; + struct execute_work { struct work_struct work; }; @@ -21538,6 +23800,8 @@ struct fid; struct iattr; +struct handle_to_path_ctx; + struct export_operations { int (*encode_fh)(struct inode *, __u32 *, int *, struct inode *); struct dentry * (*fh_to_dentry)(struct super_block *, struct fid *, int, int); @@ -21548,14 +23812,14 @@ struct export_operations { int (*get_uuid)(struct super_block *, u8 *, u32 *, u64 *); int (*map_blocks)(struct inode *, loff_t, u64, struct iomap *, bool, u32 *); int (*commit_blocks)(struct inode *, struct iomap *, int, struct iattr *); + int (*permission)(struct handle_to_path_ctx *, unsigned int); + struct file * (*open)(struct path *, unsigned int); long unsigned int flags; }; struct external_name { - union { - atomic_t count; - struct callback_head head; - } u; + atomic_t count; + struct callback_head head; unsigned char name[0]; }; @@ -21607,6 +23871,20 @@ struct fault_info { const char *name; }; +struct faux_device { + struct device dev; +}; + +struct faux_device_ops { + int (*probe)(struct faux_device *); + void (*remove)(struct faux_device *); +}; + +struct faux_object { + struct faux_device faux_dev; + const struct faux_device_ops *faux_ops; +}; + struct fc_log { refcount_t usage; u8 head; @@ -21617,8 +23895,18 @@ struct fc_log { }; struct fd { - struct file *file; - unsigned int flags; + long unsigned int word; +}; + +typedef struct fd class_fd_pos_t; + +typedef struct fd class_fd_raw_t; + +typedef struct fd class_fd_t; + +struct fd_range { + unsigned int from; + unsigned int to; }; struct fdt_errtabent { @@ -21688,6 +23976,11 @@ struct fec_reply_data { struct fec_stat_grp corr_bits; }; +struct fentry_trace_entry_head { + struct trace_entry ent; + long unsigned int ip; +}; + struct fetch_insn { enum fetch_op op; union { @@ -21720,6 +24013,12 @@ struct fetch_type { const char *fmttype; }; +struct fexit_trace_entry_head { + struct trace_entry ent; + long unsigned int func; + long unsigned int ret_ip; +}; + struct fgraph_cpu_data { pid_t last_pid; int depth; @@ -21742,37 +24041,74 @@ struct ftrace_graph_ret { long unsigned int func; int depth; unsigned int overrun; - long long unsigned int calltime; - long long unsigned int rettime; }; struct ftrace_graph_ret_entry { struct trace_entry ent; struct ftrace_graph_ret ret; + long long unsigned int calltime; + long long unsigned int rettime; }; struct fgraph_data { struct fgraph_cpu_data *cpu_data; - struct ftrace_graph_ent_entry ent; + union { + struct ftrace_graph_ent_entry ent; + struct ftrace_graph_ent_entry rent; + } ent; struct ftrace_graph_ret_entry ret; int failed; int cpu; long: 0; } __attribute__((packed)); -typedef int (*trace_func_graph_ent_t)(struct ftrace_graph_ent *); +struct fgraph_ops; + +typedef int (*trace_func_graph_ent_t)(struct ftrace_graph_ent *, struct fgraph_ops *, struct ftrace_regs *); + +typedef void (*trace_func_graph_ret_t)(struct ftrace_graph_ret *, struct fgraph_ops *, struct ftrace_regs *); + +typedef void (*ftrace_func_t)(long unsigned int, long unsigned int, struct ftrace_ops *, struct ftrace_regs *); + +struct ftrace_hash; + +struct ftrace_ops_hash { + struct ftrace_hash *notrace_hash; + struct ftrace_hash *filter_hash; + struct mutex regex_lock; +}; + +typedef int (*ftrace_ops_func_t)(struct ftrace_ops *, enum ftrace_ops_cmd); -typedef void (*trace_func_graph_ret_t)(struct ftrace_graph_ret *); +struct ftrace_ops { + ftrace_func_t func; + struct ftrace_ops *next; + long unsigned int flags; + void *private; + ftrace_func_t saved_func; + struct ftrace_ops_hash local_hash; + struct ftrace_ops_hash *func_hash; + struct ftrace_ops_hash old_hash; + long unsigned int trampoline; + long unsigned int trampoline_size; + struct list_head list; + struct list_head subop_list; + ftrace_ops_func_t ops_func; + struct ftrace_ops *managed; +}; struct fgraph_ops { trace_func_graph_ent_t entryfunc; trace_func_graph_ret_t retfunc; + struct ftrace_ops ops; + void *private; + trace_func_graph_ent_t saved_func; + int idx; }; -struct fgraph_ret_regs { - long unsigned int regs[8]; - long unsigned int fp; - long unsigned int __unused; +struct fgraph_times { + long long unsigned int calltime; + long long unsigned int sleeptime; }; struct fib6_node; @@ -22091,6 +24427,7 @@ struct fib_dump_filter { bool filter_set; bool dump_routes; bool dump_exceptions; + bool rtnl_held; unsigned char protocol; unsigned char rt_type; unsigned int flags; @@ -22167,7 +24504,7 @@ struct fib_notifier_net { struct fib_notifier_ops { int family; struct list_head list; - unsigned int (*fib_seq_read)(struct net *); + unsigned int (*fib_seq_read)(const struct net *); int (*fib_dump)(struct net *, struct notifier_block *, struct netlink_ext_ack *); struct module *owner; struct callback_head rcu; @@ -22187,6 +24524,7 @@ struct fib_result { unsigned char type; unsigned char scope; u32 tclassid; + dscp_t dscp; struct fib_nh_common *nhc; struct fib_info *fi; struct fib_table *table; @@ -22237,6 +24575,10 @@ struct fid { u32 parent_ino; u32 parent_gen; } i32; + struct { + u64 ino; + u32 gen; + } __attribute__((packed)) i64; struct { u32 block; u16 partref; @@ -22308,6 +24650,31 @@ struct file_dedupe_range { typedef void *fl_owner_t; +struct file_lock_core { + struct file_lock_core *flc_blocker; + struct list_head flc_list; + struct hlist_node flc_link; + struct list_head flc_blocked_requests; + struct list_head flc_blocked_member; + fl_owner_t flc_owner; + unsigned int flc_flags; + unsigned char flc_type; + pid_t flc_pid; + int flc_link_cpu; + wait_queue_head_t flc_wait; + struct file *flc_file; +}; + +struct lease_manager_operations; + +struct file_lease { + struct file_lock_core c; + struct fasync_struct *fl_fasync; + long unsigned int fl_break_time; + long unsigned int fl_downgrade_time; + const struct lease_manager_operations *fl_lmops; +}; + struct nlm_lockowner; struct nfs_lock_info { @@ -22327,23 +24694,9 @@ struct file_lock_operations; struct lock_manager_operations; struct file_lock { - struct file_lock *fl_blocker; - struct list_head fl_list; - struct hlist_node fl_link; - struct list_head fl_blocked_requests; - struct list_head fl_blocked_member; - fl_owner_t fl_owner; - unsigned int fl_flags; - unsigned char fl_type; - unsigned int fl_pid; - int fl_link_cpu; - wait_queue_head_t fl_wait; - struct file *fl_file; + struct file_lock_core c; loff_t fl_start; loff_t fl_end; - struct fasync_struct *fl_fasync; - long unsigned int fl_break_time; - long unsigned int fl_downgrade_time; const struct file_lock_operations *fl_ops; const struct lock_manager_operations *fl_lmops; union { @@ -22372,12 +24725,13 @@ struct file_lock_operations { void (*fl_release_private)(struct file_lock *); }; -struct pipe_inode_info; - struct io_uring_cmd; +struct pipe_inode_info; + struct file_operations { struct module *owner; + fop_flags_t fop_flags; loff_t (*llseek)(struct file *, loff_t, int); ssize_t (*read)(struct file *, char *, size_t, loff_t *); ssize_t (*write)(struct file *, const char *, size_t, loff_t *); @@ -22389,7 +24743,6 @@ struct file_operations { long int (*unlocked_ioctl)(struct file *, unsigned int, long unsigned int); long int (*compat_ioctl)(struct file *, unsigned int, long unsigned int); int (*mmap)(struct file *, struct vm_area_struct *); - long unsigned int mmap_supported_flags; int (*open)(struct inode *, struct file *); int (*flush)(struct file *, fl_owner_t); int (*release)(struct inode *, struct file *); @@ -22402,7 +24755,7 @@ struct file_operations { ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int); ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int); void (*splice_eof)(struct file *); - int (*setlease)(struct file *, int, struct file_lock **, void **); + int (*setlease)(struct file *, int, struct file_lease **, void **); long int (*fallocate)(struct file *, int, loff_t, loff_t); void (*show_fdinfo)(struct seq_file *, struct file *); ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t, size_t, unsigned int); @@ -22490,6 +24843,14 @@ struct filter_list { struct event_filter *filter; }; +struct filter_match_data { + const char *filter; + const char *notfilter; + size_t index; + size_t size; + long unsigned int *addrs; +}; + struct filter_parse_error { int lasterr; int lasterr_pos; @@ -22519,11 +24880,17 @@ struct find_symbol_arg { bool gplok; bool warn; struct module *owner; - const s32 *crc; + const u32 *crc; const struct kernel_symbol *sym; enum mod_license license; }; +struct firmware { + size_t size; + const u8 *data; + void *priv; +}; + struct flock { short int l_type; short int l_whence; @@ -22534,14 +24901,14 @@ struct flock { typedef void (*action_destr)(void *); -struct ip_tunnel_info; - struct psample_group; struct nf_flowtable; struct action_gate_entry; +struct ip_tunnel_info; + struct flow_action_cookie; struct flow_action_entry { @@ -22746,7 +25113,7 @@ struct flow_dissector_key_ct { struct flow_dissector_key_enc_opts { u8 data[255]; u8 len; - __be16 dst_opt_type; + u32 dst_opt_type; }; struct flow_dissector_key_hash { @@ -23007,8 +25374,8 @@ struct flowi_common { __u8 flowic_flags; __u32 flowic_secid; kuid_t flowic_uid; - struct flowi_tunnel flowic_tun_key; __u32 flowic_multipath_hash; + struct flowi_tunnel flowic_tun_key; }; union flowi_uli { @@ -23050,6 +25417,17 @@ struct flowi { } u; }; +struct flush_backlogs { + cpumask_t flush_cpus; + struct work_struct w[0]; +}; + +struct fmt { + const char *str; + unsigned char state; + unsigned char size; +}; + struct fnhe_hash_bucket { struct fib_nh_exception *chain; }; @@ -23081,10 +25459,7 @@ struct page { struct page_pool *pp; long unsigned int _pp_mapping_pad; long unsigned int dma_addr; - union { - long unsigned int dma_addr_upper; - atomic_long_t pp_frag_count; - }; + atomic_long_t pp_ref_count; }; struct { long unsigned int compound_head; @@ -23096,8 +25471,8 @@ struct page { struct callback_head callback_head; }; union { - atomic_t _mapcount; unsigned int page_type; + atomic_t _mapcount; }; atomic_t _refcount; long: 64; @@ -23129,7 +25504,7 @@ struct folio { struct { long unsigned int _flags_1; long unsigned int _head_1; - long unsigned int _folio_avail; + atomic_t _large_mapcount; atomic_t _entire_mapcount; atomic_t _nr_pages_mapped; atomic_t _pincount; @@ -23155,6 +25530,18 @@ struct folio { }; }; +struct folio_queue { + struct folio_batch vec; + u8 orders[31]; + struct folio_queue *next; + struct folio_queue *prev; + long unsigned int marks; + long unsigned int marks2; + long unsigned int marks3; + unsigned int rreq_id; + unsigned int debug_id; +}; + struct mem_cgroup; struct folio_referenced_arg { @@ -23164,23 +25551,83 @@ struct folio_referenced_arg { struct mem_cgroup *memcg; }; +struct folio_walk { + struct page *page; + enum folio_walk_level level; + union { + pte_t *ptep; + pud_t *pudp; + pmd_t *pmdp; + }; + union { + pte_t pte; + pud_t pud; + pmd_t pmd; + }; + struct vm_area_struct *vma; + spinlock_t *ptl; +}; + struct follow_page_context { struct dev_pagemap *pgmap; unsigned int page_mask; }; +struct follow_pfnmap_args { + struct vm_area_struct *vma; + long unsigned int address; + spinlock_t *lock; + pte_t *ptep; + long unsigned int pfn; + pgprot_t pgprot; + bool writable; + bool special; +}; + +struct format_state___2 { + unsigned char state; + unsigned char size; + unsigned char flags_or_double_size; + unsigned char base; +}; + +struct pid; + +struct fown_struct { + struct file *file; + rwlock_t lock; + struct pid *pid; + enum pid_type pid_type; + kuid_t uid; + kuid_t euid; + int signum; +}; + +struct fpmr_context { + struct _aarch64_ctx head; + __u64 fpmr; +}; + +struct fprobe_hlist_node { + struct hlist_node hlist; + long unsigned int addr; + struct fprobe *fp; +}; + +struct fprobe_hlist { + struct hlist_node hlist; + struct callback_head rcu; + struct fprobe *fp; + int size; + struct fprobe_hlist_node array[0]; +}; + struct fprop_global { struct percpu_counter events; unsigned int period; seqcount_t sequence; }; -struct fprop_local_single { - long unsigned int events; - unsigned int period; - raw_spinlock_t lock; -}; - struct fpsimd_context { struct _aarch64_ctx head; __u32 fpsr; @@ -23287,7 +25734,7 @@ struct inet_frag_queue { ktime_t stamp; int len; int meat; - u8 mono_delivery_time; + u8 tstamp_type; __u8 flags; u16 max_size; struct fqdir *fqdir; @@ -23301,32 +25748,35 @@ struct frag_queue { u8 ecn; }; -struct frame_record { - u64 fp; - u64 lr; -}; - struct frame_tail { struct frame_tail *fp; long unsigned int lr; }; +struct freader { + void *buf; + u32 buf_sz; + int err; + union { + struct { + struct file *file; + struct folio *folio; + void *addr; + loff_t folio_off; + bool may_fault; + }; + struct { + const char *data; + u64 data_sz; + }; + }; +}; + struct free_area { struct list_head free_list[4]; long unsigned int nr_free; }; -struct freelist_node; - -struct freelist_head { - struct freelist_node *head; -}; - -struct freelist_node { - atomic_t refs; - struct freelist_node *next; -}; - struct fregs_offset { const char *name; int offset; @@ -23407,6 +25857,8 @@ struct fs_parse_result { int int_32; unsigned int uint_32; u64 uint_64; + kuid_t uid; + kgid_t gid; }; }; @@ -23428,6 +25880,33 @@ struct fs_struct { struct path pwd; }; +struct fs_sysfs_path { + __u8 len; + __u8 name[128]; +}; + +struct fsnotify_mark_connector { + spinlock_t lock; + unsigned char type; + unsigned char prio; + short unsigned int flags; + union { + void *obj; + struct fsnotify_mark_connector *destroy_next; + }; + struct hlist_head list; +}; + +struct fsnotify_sb_info { + struct fsnotify_mark_connector *sb_marks; + atomic_long_t watched_objects[3]; +}; + +struct fsuuid2 { + __u8 len; + __u8 uuid[16]; +}; + struct fsxattr { __u32 fsx_xflags; __u32 fsx_extsize; @@ -23437,20 +25916,29 @@ struct fsxattr { unsigned char fsx_pad[8]; }; +typedef bool filter_t(u64); + struct ftr_set_desc { char name[20]; - struct arm64_ftr_override *override; + union { + struct arm64_ftr_override *override; + prel64_t override_prel; + }; struct { char name[10]; u8 shift; u8 width; - bool (*filter)(u64); + union { + filter_t *filter; + prel64_t filter_prel; + }; } fields[0]; }; struct trace_seq { - char buffer[4096]; + char buffer[8156]; struct seq_buf seq; + size_t readpos; int full; }; @@ -23471,9 +25959,10 @@ struct trace_iterator { unsigned int temp_size; char *fmt; unsigned int fmt_size; - long int wait_index; + atomic_t wait_index; struct trace_seq tmp_seq; cpumask_var_t started; + bool closed; bool snapshot; struct trace_seq seq; struct trace_entry *ent; @@ -23490,6 +25979,7 @@ struct ftrace_buffer_info { struct trace_iterator iter; void *spare; unsigned int spare_cpu; + unsigned int spare_size; unsigned int read; }; @@ -23506,12 +25996,11 @@ struct ftrace_event_field { int filter_type; int offset; int size; - int is_signed; + unsigned int is_signed: 1; + unsigned int needs_test: 1; int len; }; -struct ftrace_hash; - struct ftrace_func_command { struct list_head list; char *name; @@ -23541,33 +26030,6 @@ struct ftrace_func_mapper { struct ftrace_hash hash; }; -struct ftrace_regs; - -typedef void (*ftrace_func_t)(long unsigned int, long unsigned int, struct ftrace_ops *, struct ftrace_regs *); - -struct ftrace_ops_hash { - struct ftrace_hash *notrace_hash; - struct ftrace_hash *filter_hash; - struct mutex regex_lock; -}; - -typedef int (*ftrace_ops_func_t)(struct ftrace_ops *, enum ftrace_ops_cmd); - -struct ftrace_ops { - ftrace_func_t func; - struct ftrace_ops *next; - long unsigned int flags; - void *private; - ftrace_func_t saved_func; - struct ftrace_ops_hash local_hash; - struct ftrace_ops_hash *func_hash; - struct ftrace_ops_hash old_hash; - long unsigned int trampoline; - long unsigned int trampoline_size; - struct list_head list; - ftrace_ops_func_t ops_func; -}; - struct ftrace_probe_ops; struct ftrace_func_probe { @@ -23670,19 +26132,11 @@ struct ftrace_rec_iter { int index; }; -struct ftrace_regs { - long unsigned int regs[9]; - long unsigned int __unused; - long unsigned int fp; - long unsigned int lr; - long unsigned int sp; - long unsigned int pc; -}; +struct ftrace_regs {}; struct ftrace_ret_stack { long unsigned int ret; long unsigned int func; - long long unsigned int calltime; long unsigned int fp; long unsigned int *retp; }; @@ -23744,6 +26198,7 @@ struct fwnode_operations { bool (*device_dma_supported)(const struct fwnode_handle *); enum dev_dma_attr (*device_get_dma_attr)(const struct fwnode_handle *); bool (*property_present)(const struct fwnode_handle *, const char *); + bool (*property_read_bool)(const struct fwnode_handle *, const char *); int (*property_read_int_array)(const struct fwnode_handle *, const char *, unsigned int, void *, size_t); int (*property_read_string_array)(const struct fwnode_handle *, const char *, const char **, size_t); const char * (*get_name)(const struct fwnode_handle *); @@ -23767,6 +26222,13 @@ struct fwnode_reference_args { u64 args[8]; }; +struct gcs_context { + struct _aarch64_ctx head; + __u64 gcspr; + __u64 features_enabled; + __u64 reserved; +}; + struct pcpu_gen_cookie; struct gen_cookie { @@ -23893,7 +26355,10 @@ struct genl_info { struct genlmsghdr *genlhdr; struct nlattr **attrs; possible_net_t _net; - void *user_ptr[2]; + union { + u8 ctx[48]; + void *user_ptr[2]; + }; struct netlink_ext_ack *extack; }; @@ -23923,13 +26388,19 @@ struct genl_family { const struct nla_policy *policy; int (*pre_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); void (*post_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); + int (*bind)(int); + void (*unbind)(int); const struct genl_ops *ops; const struct genl_small_ops *small_ops; const struct genl_split_ops *split_ops; const struct genl_multicast_group *mcgrps; struct module *module; + size_t sock_priv_size; + void (*sock_priv_init)(void *); + void (*sock_priv_destroy)(void *); int id; unsigned int mcgrp_offset; + struct xarray *sock_privs; }; struct genl_multicast_group { @@ -23998,8 +26469,8 @@ struct genradix_iter { struct genradix_node { union { - struct genradix_node *children[512]; - u8 data[4096]; + struct genradix_node *children[64]; + u8 data[512]; }; }; @@ -24064,10 +26535,10 @@ struct rdists { bool has_vpend_valid_dirty; }; -struct partition_desc; - struct redist_region; +struct partition_desc; + struct gic_chip_data___2 { struct fwnode_handle *fwnode; phys_addr_t dist_phys_base; @@ -24164,11 +26635,13 @@ struct gro_list { int count; }; +struct napi_config; + struct napi_struct { struct list_head poll_list; long unsigned int state; int weight; - int defer_hard_irqs_count; + u32 defer_hard_irqs_count; long unsigned int gro_bitmask; int (*poll)(struct napi_struct *, int); int list_owner; @@ -24180,8 +26653,14 @@ struct napi_struct { unsigned int napi_id; struct hrtimer timer; struct task_struct *thread; + long unsigned int gro_flush_timeout; + long unsigned int irq_suspend_timeout; + u32 defer_hard_irqs; struct list_head dev_list; struct hlist_node napi_hash_node; + int irq; + int index; + struct napi_config *config; }; struct gro_cell { @@ -24213,7 +26692,7 @@ struct group_filter { }; struct group_info { - atomic_t usage; + refcount_t usage; int ngroups; kgid_t gid[0]; }; @@ -24229,6 +26708,12 @@ struct group_source_req { struct __kernel_sockaddr_storage gsr_source; }; +struct handle_to_path_ctx { + struct path root; + enum handle_to_path_flags flags; + unsigned int fh_flags; +}; + struct hh_cache; struct header_ops { @@ -24263,6 +26748,12 @@ struct hop_jumbo_hdr { __be32 jumbo_payload_len; }; +struct hprobe { + enum hprobe_state state; + int srcu_idx; + struct uprobe *uprobe; +}; + struct seqcount_raw_spinlock { seqcount_t seqcount; }; @@ -24278,7 +26769,7 @@ struct hrtimer_clock_base { seqcount_raw_spinlock_t seq; struct hrtimer *running; struct timerqueue_head active; - ktime_t (*get_time)(); + ktime_t (*get_time)(void); ktime_t offset; }; @@ -24291,12 +26782,18 @@ struct hrtimer_cpu_base { unsigned int in_hrtirq: 1; unsigned int hang_detected: 1; unsigned int softirq_activated: 1; + unsigned int online: 1; ktime_t expires_next; struct hrtimer *next_timer; ktime_t softirq_expires_next; struct hrtimer *softirq_next_timer; long: 64; struct hrtimer_clock_base clock_base[8]; + call_single_data_t csd; + long: 64; + long: 64; + long: 64; + long: 64; }; struct hrtimer_sleeper { @@ -24362,6 +26859,10 @@ struct hw_perf_event { struct hw_perf_event_extra extra_reg; struct hw_perf_event_extra branch_reg; }; + struct { + u64 aux_config; + unsigned int aux_paused; + }; struct { struct hrtimer hrtimer; }; @@ -24433,6 +26934,18 @@ struct hwtstamp_config { int rx_filter; }; +struct hwtstamp_provider_desc { + int index; + enum hwtstamp_provider_qualifier qualifier; +}; + +struct hwtstamp_provider { + struct callback_head callback_head; + enum hwtstamp_source source; + struct phy_device *phydev; + struct hwtstamp_provider_desc desc; +}; + struct iattr { unsigned int ia_valid; umode_t ia_mode; @@ -24997,7 +27510,7 @@ struct in_device { }; struct in_ifaddr { - struct hlist_node hash; + struct hlist_node addr_lst; struct in_ifaddr *ifa_next; struct in_device *ifa_dev; struct callback_head callback_head; @@ -25043,9 +27556,14 @@ struct ipv6_stable_secret { }; struct ipv6_devconf { - __s32 forwarding; + __u8 __cacheline_group_begin__ipv6_devconf_read_txrx[0]; + __s32 disable_ipv6; __s32 hop_limit; __s32 mtu6; + __s32 forwarding; + __s32 disable_policy; + __s32 proxy_ndp; + __u8 __cacheline_group_end__ipv6_devconf_read_txrx[0]; __s32 accept_ra; __s32 accept_redirects; __s32 autoconf; @@ -25060,6 +27578,7 @@ struct ipv6_devconf { __s32 use_tempaddr; __s32 temp_valid_lft; __s32 temp_prefered_lft; + __s32 regen_min_advance; __s32 regen_max_retry; __s32 max_desync_factor; __s32 max_addresses; @@ -25069,10 +27588,8 @@ struct ipv6_devconf { __s32 accept_ra_min_lft; __s32 accept_ra_pinfo; __s32 ignore_routes_with_linkdown; - __s32 proxy_ndp; __s32 accept_source_route; __s32 accept_ra_from_local; - __s32 disable_ipv6; __s32 drop_unicast_in_l2_multicast; __s32 accept_dad; __s32 force_tllao; @@ -25087,13 +27604,14 @@ struct ipv6_devconf { __s32 seg6_enabled; __u32 enhanced_dad; __u32 addr_gen_mode; - __s32 disable_policy; __s32 ndisc_tclass; __s32 rpl_seg_enabled; __u32 ioam6_id; __u32 ioam6_id_wide; __u8 ioam6_enabled; __u8 ndisc_evict_nocarrier; + __u8 ra_honor_pio_life; + __u8 ra_honor_pio_pflag; struct ctl_table_header *sysctl_header; }; @@ -25159,6 +27677,7 @@ struct inet6_fill_args { int netnsid; int ifindex; enum addr_type_t type; + bool force_rt_scope_universe; }; struct inet6_ifaddr { @@ -25198,6 +27717,7 @@ struct inet6_protocol { int (*handler)(struct sk_buff *); int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int, __be32); unsigned int flags; + u32 secret; }; struct inet6_skb_parm { @@ -25217,14 +27737,11 @@ struct inet_bind2_bucket { possible_net_t ib_net; int l3mdev; short unsigned int port; - short unsigned int family; - union { - struct in6_addr v6_rcv_saddr; - __be32 rcv_saddr; - }; + short unsigned int addr_type; + struct in6_addr v6_rcv_saddr; struct hlist_node node; + struct hlist_node bhash_node; struct hlist_head owners; - struct hlist_head deathrow; }; struct inet_bind_bucket { @@ -25239,7 +27756,7 @@ struct inet_bind_bucket { short unsigned int fast_sk_family; bool fast_ipv6_only; struct hlist_node node; - struct hlist_head owners; + struct hlist_head bhash2; }; struct inet_bind_hashbucket { @@ -25330,12 +27847,9 @@ struct sock_reuseport; struct sock { struct sock_common __sk_common; - struct dst_entry *sk_rx_dst; - int sk_rx_dst_ifindex; - u32 sk_rx_dst_cookie; - socket_lock_t sk_lock; + __u8 __cacheline_group_begin__sock_write_rx[0]; atomic_t sk_drops; - int sk_rcvlowat; + __s32 sk_peek_off; struct sk_buff_head sk_error_queue; struct sk_buff_head sk_receive_queue; struct { @@ -25344,18 +27858,39 @@ struct sock { struct sk_buff *head; struct sk_buff *tail; } sk_backlog; - int sk_forward_alloc; - u32 sk_reserved_mem; + __u8 __cacheline_group_end__sock_write_rx[0]; + __u8 __cacheline_group_begin__sock_read_rx[0]; + struct dst_entry *sk_rx_dst; + int sk_rx_dst_ifindex; + u32 sk_rx_dst_cookie; unsigned int sk_ll_usec; unsigned int sk_napi_id; + u16 sk_busy_poll_budget; + u8 sk_prefer_busy_poll; + u8 sk_userlocks; int sk_rcvbuf; - int sk_disconnects; struct sk_filter *sk_filter; union { struct socket_wq *sk_wq; struct socket_wq *sk_wq_raw; }; - struct dst_entry *sk_dst_cache; + void (*sk_data_ready)(struct sock *); + long int sk_rcvtimeo; + int sk_rcvlowat; + __u8 __cacheline_group_end__sock_read_rx[0]; + __u8 __cacheline_group_begin__sock_read_rxtx[0]; + int sk_err; + struct socket *sk_socket; + struct mem_cgroup *sk_memcg; + __u8 __cacheline_group_end__sock_read_rxtx[0]; + __u8 __cacheline_group_begin__sock_write_rxtx[0]; + socket_lock_t sk_lock; + u32 sk_reserved_mem; + int sk_forward_alloc; + u32 sk_tsflags; + __u8 __cacheline_group_end__sock_write_rxtx[0]; + __u8 __cacheline_group_begin__sock_write_tx[0]; + int sk_write_pending; atomic_t sk_omem_alloc; int sk_sndbuf; int sk_wmem_queued; @@ -25366,63 +27901,57 @@ struct sock { struct rb_root tcp_rtx_queue; }; struct sk_buff_head sk_write_queue; - __s32 sk_peek_off; - int sk_write_pending; - __u32 sk_dst_pending_confirm; + u32 sk_dst_pending_confirm; u32 sk_pacing_status; - long int sk_sndtimeo; + struct page_frag sk_frag; struct timer_list sk_timer; - __u32 sk_priority; - __u32 sk_mark; long unsigned int sk_pacing_rate; + atomic_t sk_zckey; + atomic_t sk_tskey; + __u8 __cacheline_group_end__sock_write_tx[0]; + __u8 __cacheline_group_begin__sock_read_tx[0]; long unsigned int sk_max_pacing_rate; - struct page_frag sk_frag; + long int sk_sndtimeo; + u32 sk_priority; + u32 sk_mark; + struct dst_entry *sk_dst_cache; netdev_features_t sk_route_caps; - int sk_gso_type; + u16 sk_gso_type; + u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; - __u32 sk_txhash; + u32 sk_txhash; + u8 sk_pacing_shift; + bool sk_use_task_frag; + __u8 __cacheline_group_end__sock_read_tx[0]; u8 sk_gso_disabled: 1; u8 sk_kern_sock: 1; u8 sk_no_check_tx: 1; u8 sk_no_check_rx: 1; - u8 sk_userlocks: 4; - u8 sk_pacing_shift; + u8 sk_shutdown; u16 sk_type; u16 sk_protocol; - u16 sk_gso_max_segs; long unsigned int sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; - int sk_err; int sk_err_soft; u32 sk_ack_backlog; u32 sk_max_ack_backlog; kuid_t sk_uid; - u8 sk_txrehash; - u8 sk_prefer_busy_poll; - u16 sk_busy_poll_budget; spinlock_t sk_peer_lock; int sk_bind_phc; struct pid *sk_peer_pid; const struct cred *sk_peer_cred; - long int sk_rcvtimeo; ktime_t sk_stamp; - atomic_t sk_tskey; - atomic_t sk_zckey; - u32 sk_tsflags; - u8 sk_shutdown; + int sk_disconnects; + u8 sk_txrehash; u8 sk_clockid; u8 sk_txtime_deadline_mode: 1; u8 sk_txtime_report_errors: 1; u8 sk_txtime_unused: 6; - bool sk_use_task_frag; - struct socket *sk_socket; void *sk_user_data; struct sock_cgroup_data sk_cgrp_data; - struct mem_cgroup *sk_memcg; void (*sk_state_change)(struct sock *); - void (*sk_data_ready)(struct sock *); void (*sk_write_space)(struct sock *); void (*sk_error_report)(struct sock *); int (*sk_backlog_rcv)(struct sock *, struct sk_buff *); @@ -25431,7 +27960,7 @@ struct sock { struct bpf_local_storage *sk_bpf_storage; struct callback_head sk_rcu; netns_tracker ns_tracker; - struct hlist_node sk_bind2_node; + struct xarray sk_user_frags; }; struct inet_cork { @@ -25444,8 +27973,9 @@ struct inet_cork { u8 tx_flags; __u8 ttl; __s16 tos; - char priority; + u32 priority; __u16 gso_size; + u32 ts_opt_id; u64 transmit_time; u32 mark; }; @@ -25477,10 +28007,7 @@ struct inet_sock { int uc_index; int mc_index; __be32 mc_addr; - struct { - __u16 lo; - __u16 hi; - } local_port_range; + u32 local_port_range; struct ip_mc_socklist *mc_list; struct inet_cork_full cork; }; @@ -25533,7 +28060,9 @@ struct inet_connection_sock { __u8 quick; __u8 pingpong; __u8 retry; - __u32 ato; + __u32 ato: 8; + __u32 lrcv_flowlabel: 20; + __u32 unused: 4; long unsigned int timeout; __u32 lrcvtime; __u16 last_seg_size; @@ -25559,7 +28088,6 @@ struct inet_connection_sock_af_ops { int (*conn_request)(struct sock *, struct sk_buff *); struct sock * (*syn_recv_sock)(const struct sock *, struct sk_buff *, struct request_sock *, struct dst_entry *, struct request_sock *, bool *); u16 net_header_len; - u16 net_frag_header_len; u16 sockaddr_len; int (*setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); int (*getsockopt)(struct sock *, int, int, char *, int *); @@ -25573,8 +28101,6 @@ struct inet_diag_bc_op { short unsigned int no; }; -struct bpf_sk_storage_diag; - struct inet_diag_dump_data { struct nlattr *req_nlas[4]; struct bpf_sk_storage_diag *bpf_stg_diag; @@ -25596,6 +28122,7 @@ struct inet_diag_req_v2; struct inet_diag_msg; struct inet_diag_handler { + struct module *owner; void (*dump)(struct sk_buff *, struct netlink_callback *, const struct inet_diag_req_v2 *); int (*dump_one)(struct netlink_callback *, const struct inet_diag_req_v2 *); void (*idiag_get_info)(struct sock *, struct inet_diag_msg *, void *); @@ -25847,21 +28374,24 @@ struct inet_timewait_death_row { struct inet_timewait_sock { struct sock_common __tw_common; __u32 tw_mark; - volatile unsigned char tw_substate; + unsigned char tw_substate; unsigned char tw_rcv_wscale; __be16 tw_sport; unsigned int tw_transparent: 1; unsigned int tw_flowlabel: 20; - unsigned int tw_pad: 3; + unsigned int tw_usec_ts: 1; + unsigned int tw_pad: 2; unsigned int tw_tos: 8; u32 tw_txhash; u32 tw_priority; + u32 tw_entry_stamp; struct timer_list tw_timer; struct inet_bind_bucket *tw_tb; struct inet_bind2_bucket *tw_tb2; - struct hlist_node tw_bind2_node; }; +struct inode_operations; + struct inode { umode_t i_mode; short unsigned int i_opflags; @@ -25878,15 +28408,19 @@ struct inode { }; dev_t i_rdev; loff_t i_size; - struct timespec64 i_atime; - struct timespec64 i_mtime; - struct timespec64 __i_ctime; + time64_t i_atime_sec; + time64_t i_mtime_sec; + time64_t i_ctime_sec; + u32 i_atime_nsec; + u32 i_mtime_nsec; + u32 i_ctime_nsec; + u32 i_generation; spinlock_t i_lock; short unsigned int i_bytes; u8 i_blkbits; - u8 i_write_hint; + enum rw_hint i_write_hint; blkcnt_t i_blocks; - long unsigned int i_state; + u32 i_state; struct rw_semaphore i_rwsem; long unsigned int dirtied_when; long unsigned int dirtied_time_when; @@ -25910,14 +28444,16 @@ struct inode { }; struct file_lock_context *i_flctx; struct address_space i_data; - struct list_head i_devices; + union { + struct list_head i_devices; + int i_linklen; + }; union { struct pipe_inode_info *i_pipe; struct cdev *i_cdev; char *i_link; unsigned int i_dir_seq; }; - __u32 i_generation; void *i_private; }; @@ -25972,8 +28508,13 @@ struct internal_container { struct request; +struct rq_list { + struct request *head; + struct request *tail; +}; + struct io_comp_batch { - struct request *req_list; + struct rq_list req_list; bool need_ts; void (*complete)(struct io_comp_batch *); }; @@ -26015,83 +28556,8 @@ struct io_tlb_mem { struct io_tlb_slot { phys_addr_t orig_addr; size_t alloc_size; - unsigned int list; -}; - -struct io_uring_sqe; - -struct io_uring_cmd { - struct file *file; - const struct io_uring_sqe *sqe; - union { - void (*task_work_cb)(struct io_uring_cmd *, unsigned int); - void *cookie; - }; - u32 cmd_op; - u32 flags; - u8 pdu[32]; -}; - -struct io_uring_sqe { - __u8 opcode; - __u8 flags; - __u16 ioprio; - __s32 fd; - union { - __u64 off; - __u64 addr2; - struct { - __u32 cmd_op; - __u32 __pad1; - }; - }; - union { - __u64 addr; - __u64 splice_off_in; - }; - __u32 len; - union { - __kernel_rwf_t rw_flags; - __u32 fsync_flags; - __u16 poll_events; - __u32 poll32_events; - __u32 sync_range_flags; - __u32 msg_flags; - __u32 timeout_flags; - __u32 accept_flags; - __u32 cancel_flags; - __u32 open_flags; - __u32 statx_flags; - __u32 fadvise_advice; - __u32 splice_flags; - __u32 rename_flags; - __u32 unlink_flags; - __u32 hardlink_flags; - __u32 xattr_flags; - __u32 msg_ring_flags; - __u32 uring_cmd_flags; - }; - __u64 user_data; - union { - __u16 buf_index; - __u16 buf_group; - }; - __u16 personality; - union { - __s32 splice_fd_in; - __u32 file_index; - struct { - __u16 addr_len; - __u16 __pad3[1]; - }; - }; - union { - struct { - __u64 addr3; - __u64 __pad2[1]; - }; - __u8 cmd[0]; - }; + short unsigned int list; + short unsigned int pad_slots; }; struct ioam6_hdr { @@ -26168,8 +28634,6 @@ struct ioam6_trace_hdr { struct iommu_group {}; -struct iommu_ops {}; - struct iovec { void *iov_base; __kernel_size_t iov_len; @@ -26179,14 +28643,9 @@ struct kvec; struct iov_iter { u8 iter_type; - bool copy_mc; bool nofault; bool data_source; - bool user_backed; - union { - size_t iov_offset; - int last_offset; - }; + size_t iov_offset; union { struct iovec __ubuf_iovec; struct { @@ -26194,6 +28653,7 @@ struct iov_iter { const struct iovec *__iov; const struct kvec *kvec; const struct bio_vec *bvec; + const struct folio_queue *folioq; struct xarray *xarray; void *ubuf; }; @@ -26202,6 +28662,7 @@ struct iov_iter { }; union { long unsigned int nr_segs; + u8 folioq_slot; loff_t xarray_start; }; }; @@ -26274,12 +28735,6 @@ struct ip6_ra_chain { void (*destructor)(struct sock *); }; -struct ip6_rt_info { - struct in6_addr daddr; - struct in6_addr saddr; - u_int32_t mark; -}; - struct ip6_sf_list { struct ip6_sf_list *sf_next; struct in6_addr sf_addr; @@ -26385,6 +28840,8 @@ struct ip_mc_list { char loaded; unsigned char gsquery; unsigned char crcount; + long unsigned int mca_cstamp; + long unsigned int mca_tstamp; struct callback_head rcu; }; @@ -26449,13 +28906,6 @@ struct ip_reply_arg { kuid_t uid; }; -struct ip_rt_info { - __be32 daddr; - __be32 saddr; - u_int8_t tos; - u_int32_t mark; -}; - struct ip_sf_list { struct ip_sf_list *sf_next; long unsigned int sf_count[2]; @@ -26494,13 +28944,13 @@ struct iphdr { }; }; -struct ip_tunnel_parm { +struct ip_tunnel_parm_kern { char name[16]; - int link; - __be16 i_flags; - __be16 o_flags; + long unsigned int i_flags[1]; + long unsigned int o_flags[1]; __be32 i_key; __be32 o_key; + int link; struct iphdr iph; }; @@ -26529,7 +28979,7 @@ struct ip_tunnel { u8 dir; u16 hwid; struct dst_cache dst_cache; - struct ip_tunnel_parm parms; + struct ip_tunnel_parm_kern parms; int mlink; int encap_hlen; int hlen; @@ -26561,11 +29011,11 @@ struct ip_tunnel_key { struct in6_addr dst; } ipv6; } u; - __be16 tun_flags; - u8 tos; - u8 ttl; + long unsigned int tun_flags[1]; __be32 label; u32 nhid; + u8 tos; + u8 ttl; __be16 tp_src; __be16 tp_dst; __u8 flow_flags; @@ -26589,6 +29039,16 @@ struct ip_tunnel_net { int type; }; +struct ip_tunnel_parm { + char name[16]; + int link; + __be16 i_flags; + __be16 o_flags; + __be32 i_key; + __be32 o_key; + struct iphdr iph; +}; + struct ip_tunnel_prl { __be32 addr; __u16 flags; @@ -26650,6 +29110,8 @@ struct sockcm_cookie { u64 transmit_time; u32 mark; u32 tsflags; + u32 ts_opt_id; + u32 priority; }; struct ipcm6_cookie { @@ -26669,7 +29131,6 @@ struct ipcm_cookie { __u8 protocol; __u8 ttl; __s16 tos; - char priority; __u16 gso_size; }; @@ -26680,6 +29141,7 @@ struct ipfrag_skb_cb { }; struct sk_buff *next_frag; int frag_run_len; + int ip_defrag_offset; }; struct ipq { @@ -26692,7 +29154,7 @@ struct ipq { }; struct ipstats_mib { - u64 mibs[37]; + u64 mibs[38]; struct u64_stats_sync syncp; }; @@ -26706,9 +29168,10 @@ struct udp_table; struct ipv6_bpf_stub { int (*inet6_bind)(struct sock *, struct sockaddr *, int, u32); - struct sock * (*udp6_lib_lookup)(struct net *, const struct in6_addr *, __be16, const struct in6_addr *, __be16, int, int, struct udp_table *, struct sk_buff *); + struct sock * (*udp6_lib_lookup)(const struct net *, const struct in6_addr *, __be16, const struct in6_addr *, __be16, int, int, struct udp_table *, struct sk_buff *); int (*ipv6_setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); int (*ipv6_getsockopt)(struct sock *, int, int, sockptr_t, sockptr_t); + int (*ipv6_dev_get_saddr)(struct net *, const struct net_device *, const struct in6_addr *, unsigned int, struct in6_addr *); }; struct ipv6_fl_socklist { @@ -26747,11 +29210,8 @@ struct ipv6_pinfo { const struct in6_addr *daddr_cache; __be32 flow_label; __u32 frag_size; - __u16 __unused_1: 7; - __s16 hop_limit: 9; - __u16 mc_loop: 1; - __u16 __unused_2: 6; - __s16 mcast_hops: 9; + s16 hop_limit; + u8 mcast_hops; int ucast_oif; int mcast_oif; union { @@ -26774,18 +29234,8 @@ struct ipv6_pinfo { } bits; __u16 all; } rxopt; - __u16 recverr: 1; - __u16 sndflow: 1; - __u16 repflow: 1; - __u16 pmtudisc: 3; - __u16 padding: 1; - __u16 srcprefs: 3; - __u16 dontfrag: 1; - __u16 autoflowlabel: 1; - __u16 autoflowlabel_set: 1; - __u16 mc_all: 1; - __u16 recverr_rfc4884: 1; - __u16 rtalert_isolate: 1; + __u8 srcprefs; + __u8 pmtudisc; __u8 min_hopcount; __u8 tclass; __be32 rcv_flowinfo; @@ -26874,11 +29324,12 @@ struct ipv6_stub { void (*fib6_update_sernum)(struct net *, struct fib6_info *); int (*ip6_del_rt)(struct net *, struct fib6_info *, bool); void (*fib6_rt_update)(struct net *, struct fib6_info *, struct nl_info *); - void (*udpv6_encap_enable)(); + void (*udpv6_encap_enable)(void); void (*ndisc_send_na)(struct net_device *, const struct in6_addr *, const struct in6_addr *, bool, bool, bool, bool); struct neigh_table *nd_tbl; int (*ipv6_fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *)); struct net_device * (*ipv6_dev_find)(struct net *, const struct in6_addr *, struct net_device *); + int (*ip6_xmit)(const struct sock *, struct sk_buff *, struct flowi6 *, __u32, struct ipv6_txoptions *, int, u32); }; struct ipv6_txoptions { @@ -26986,7 +29437,6 @@ struct irq_chip_regs { long unsigned int ack; long unsigned int eoi; long unsigned int type; - long unsigned int polarity; }; struct irq_desc; @@ -27012,8 +29462,6 @@ struct irq_chip_generic { unsigned int irq_base; unsigned int irq_cnt; u32 mask_cache; - u32 type_cache; - u32 polarity_cache; u32 wake_enabled; u32 wake_active; unsigned int num_ct; @@ -27039,7 +29487,7 @@ struct irq_common_data { struct irq_data { u32 mask; unsigned int irq; - long unsigned int hwirq; + irq_hw_number_t hwirq; struct irq_common_data *common; struct irq_chip *chip; struct irq_domain *domain; @@ -27047,12 +29495,14 @@ struct irq_data { void *chip_data; }; +struct irqstat; + struct irqaction; struct irq_desc { struct irq_common_data irq_common_data; struct irq_data irq_data; - unsigned int *kstat_irqs; + struct irqstat *kstat_irqs; irq_flow_handler_t handle_irq; struct irqaction *action; unsigned int status_use_accessors; @@ -27080,6 +29530,12 @@ struct irq_desc { struct module *owner; const char *name; struct hlist_node resend_node; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; }; struct irq_desc_devres { @@ -27114,6 +29570,7 @@ struct irq_domain { struct device *pm_dev; struct irq_domain *parent; const struct msi_parent_ops *msi_parent_ops; + void (*exit)(struct irq_domain *); irq_hw_number_t hwirq_max; unsigned int revmap_size; struct xarray revmap_tree; @@ -27126,9 +29583,40 @@ struct irq_domain_chip_generic { unsigned int irq_flags_to_clear; unsigned int irq_flags_to_set; enum irq_gc_flags gc_flags; + void (*exit)(struct irq_chip_generic *); struct irq_chip_generic *gc[0]; }; +struct irq_domain_chip_generic_info { + const char *name; + irq_flow_handler_t handler; + unsigned int irqs_per_chip; + unsigned int num_ct; + unsigned int irq_flags_to_clear; + unsigned int irq_flags_to_set; + enum irq_gc_flags gc_flags; + int (*init)(struct irq_chip_generic *); + void (*exit)(struct irq_chip_generic *); +}; + +struct irq_domain_info { + struct fwnode_handle *fwnode; + unsigned int domain_flags; + unsigned int size; + irq_hw_number_t hwirq_max; + int direct_max; + unsigned int hwirq_base; + unsigned int virq_base; + enum irq_domain_bus_token bus_token; + const char *name_suffix; + const struct irq_domain_ops *ops; + void *host_data; + struct irq_domain *parent; + struct irq_domain_chip_generic_info *dgc_info; + int (*init)(struct irq_domain *); + void (*exit)(struct irq_domain *); +}; + struct irq_fwspec; struct irq_domain_ops { @@ -27179,6 +29667,10 @@ struct irqchip_fwid { phys_addr_t *pa; }; +struct irqstat { + unsigned int cnt; +}; + struct itimerspec64 { struct timespec64 it_interval; struct timespec64 it_value; @@ -27313,6 +29805,7 @@ struct its_device { struct its_node *its; struct event_lpi_map event_map; void *itt; + u32 itt_sz; u32 nr_ites; u32 device_id; bool shared; @@ -27361,6 +29854,7 @@ struct its_vm { irq_hw_number_t db_lpi_base; long unsigned int *db_bitmap; int nr_db_lpis; + raw_spinlock_t vmapp_lock; u32 vlpi_count[16]; }; @@ -27385,9 +29879,9 @@ struct its_vpe { bool enabled; bool group; } sgi_config[16]; - atomic_t vmapp_count; }; }; + atomic_t vmapp_count; raw_spinlock_t vpe_lock; u16 col_idx; u16 vpe_id; @@ -27398,7 +29892,7 @@ typedef void __signalfn_t(int); typedef __signalfn_t *__sighandler_t; -typedef void __restorefn_t(); +typedef void __restorefn_t(void); typedef __restorefn_t *__sigrestore_t; @@ -27434,6 +29928,8 @@ struct kallsyms_data { size_t found; }; +struct kcsan_scoped_access {}; + struct kernel_clone_args { u64 flags; int *pidfd; @@ -27456,6 +29952,7 @@ struct kernel_clone_args { void *fn_arg; struct cgroup *cgrp; struct css_set *cset; + unsigned int kill_seq; }; struct kernel_cpustat { @@ -27470,6 +29967,17 @@ struct kernel_ethtool_ringparam { u32 cqe_size; u32 tx_push_buf_len; u32 tx_push_buf_max_len; + u32 hds_thresh; + u32 hds_thresh_max; +}; + +struct kernel_ethtool_ts_info { + u32 cmd; + u32 so_timestamping; + int phc_index; + enum hwtstamp_provider_qualifier phc_qualifier; + enum hwtstamp_tx_types tx_types; + enum hwtstamp_rx_filters rx_filters; }; struct kernel_hwtstamp_config { @@ -27479,6 +29987,7 @@ struct kernel_hwtstamp_config { struct ifreq *ifr; bool copied_to_user; enum hwtstamp_source source; + enum hwtstamp_provider_qualifier qualifier; }; struct kernel_param_ops; @@ -27530,6 +30039,19 @@ struct kernel_symbol { int namespace_offset; }; +struct xattr_name; + +struct kernel_xattr_ctx { + union { + const void *cvalue; + void *value; + }; + void *kvalue; + size_t size; + struct xattr_name *kname; + unsigned int flags; +}; + struct kernfs_open_node; struct kernfs_ops; @@ -27564,16 +30086,17 @@ struct kernfs_node { struct rb_node rb; const void *ns; unsigned int hash; + short unsigned int flags; + umode_t mode; union { struct kernfs_elem_dir dir; struct kernfs_elem_symlink symlink; struct kernfs_elem_attr attr; }; - void *priv; u64 id; - short unsigned int flags; - umode_t mode; + void *priv; struct kernfs_iattrs *iattr; + struct callback_head rcu; }; struct vm_operations_struct; @@ -27607,6 +30130,7 @@ struct kernfs_ops { ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t); __poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *); int (*mmap)(struct kernfs_open_file *, struct vm_area_struct *); + loff_t (*llseek)(struct kernfs_open_file *, loff_t, int); }; struct key_vector { @@ -27690,6 +30214,8 @@ struct kmalloced_param { struct kmap_ctrl {}; +typedef struct kmem_cache *kmem_buckets[14]; + struct reciprocal_value { u32 m; u8 sh1; @@ -27722,6 +30248,20 @@ struct kmem_cache { struct kmem_cache_node *node[1]; }; +struct kmem_cache_args { + unsigned int align; + unsigned int useroffset; + unsigned int usersize; + unsigned int freeptr_offset; + bool use_freeptr_offset; + void (*ctor)(void *); +}; + +union kmem_cache_iter_priv { + struct bpf_iter_kmem_cache it; + struct bpf_iter_kmem_cache_kern kit; +}; + struct kmem_cache_node { spinlock_t list_lock; long unsigned int nr_partial; @@ -27743,10 +30283,10 @@ struct kobj_map { struct kobj_ns_type_operations { enum kobj_ns_type type; - bool (*current_may_mount)(); - void * (*grab_current_ns)(); + bool (*current_may_mount)(void); + void * (*grab_current_ns)(void); const void * (*netlink_ns)(struct sock *); - const void * (*initial_ns)(); + const void * (*initial_ns)(void); void (*drop_ns)(void *); }; @@ -27821,7 +30361,7 @@ struct kprobe_ctlblk { struct kprobe_insn_cache { struct mutex mutex; - void * (*alloc)(); + void * (*alloc)(void); void (*free)(void *); const char *sym; struct list_head pages; @@ -27856,20 +30396,35 @@ struct kretprobe { int maxactive; int nmissed; size_t data_size; - struct freelist_head freelist; struct kretprobe_holder *rph; }; +struct objpool_head; + +typedef int (*objpool_fini_cb)(struct objpool_head *, void *); + +struct objpool_slot; + +struct objpool_head { + int obj_size; + int nr_objs; + int nr_possible_cpus; + int capacity; + gfp_t gfp; + refcount_t ref; + long unsigned int flags; + struct objpool_slot **cpu_slots; + objpool_fini_cb release; + void *context; +}; + struct kretprobe_holder { struct kretprobe *rp; - refcount_t ref; + struct objpool_head pool; }; struct kretprobe_instance { - union { - struct freelist_node freelist; - struct callback_head rcu; - }; + struct callback_head rcu; struct llist_node llist; struct kretprobe_holder *rph; kprobe_opcode_t *ret_addr; @@ -27923,9 +30478,14 @@ struct kstat { struct timespec64 btime; u64 blocks; u64 mnt_id; + u64 change_cookie; + u64 subvol; u32 dio_mem_align; u32 dio_offset_align; - u64 change_cookie; + u32 dio_read_offset_align; + u32 atomic_write_unit_min; + u32 atomic_write_unit_max; + u32 atomic_write_segments_max; }; struct kstatfs { @@ -27943,6 +30503,62 @@ struct kstatfs { long int f_spare[4]; }; +struct statmount { + __u32 size; + __u32 mnt_opts; + __u64 mask; + __u32 sb_dev_major; + __u32 sb_dev_minor; + __u64 sb_magic; + __u32 sb_flags; + __u32 fs_type; + __u64 mnt_id; + __u64 mnt_parent_id; + __u32 mnt_id_old; + __u32 mnt_parent_id_old; + __u64 mnt_attr; + __u64 mnt_propagation; + __u64 mnt_peer_group; + __u64 mnt_master; + __u64 propagate_from; + __u32 mnt_root; + __u32 mnt_point; + __u64 mnt_ns_id; + __u32 fs_subtype; + __u32 sb_source; + __u32 opt_num; + __u32 opt_array; + __u32 opt_sec_num; + __u32 opt_sec_array; + __u64 __spare2[46]; + char str[0]; +}; + +struct seq_file { + char *buf; + size_t size; + size_t from; + size_t count; + size_t pad_until; + loff_t index; + loff_t read_pos; + struct mutex lock; + const struct seq_operations *op; + int poll_event; + const struct file *file; + void *private; +}; + +struct kstatmount { + struct statmount *buf; + size_t bufsize; + struct vfsmount *mnt; + u64 mask; + struct path root; + struct statmount sm; + struct seq_file seq; +}; + struct ktermios { tcflag_t c_iflag; tcflag_t c_oflag; @@ -27957,12 +30573,17 @@ struct ktermios { struct kthread { long unsigned int flags; unsigned int cpu; + unsigned int node; + int started; int result; int (*threadfn)(void *); void *data; struct completion parked; struct completion exited; char *full_name; + struct task_struct *task; + struct list_head hotplug_node; + struct cpumask *preferred_affinity; }; struct kthread_create_info { @@ -28007,10 +30628,42 @@ struct kthread_worker { struct kthread_work *current_work; }; -struct ktime_timestamps { - u64 mono; - u64 boot; - u64 real; +typedef bool (*stack_trace_consume_fn)(void *, long unsigned int); + +struct kunwind_consume_entry_data { + stack_trace_consume_fn consume_entry; + void *cookie; +}; + +struct stack_info { + long unsigned int low; + long unsigned int high; +}; + +struct unwind_state { + long unsigned int fp; + long unsigned int pc; + struct stack_info stack; + struct stack_info *stacks; + int nr_stacks; +}; + +union unwind_flags { + long unsigned int all; + struct { + long unsigned int fgraph: 1; + long unsigned int kretprobe: 1; + }; +}; + +struct kunwind_state { + struct unwind_state common; + struct task_struct *task; + int graph_idx; + struct llist_node *kr_cur; + enum kunwind_source source; + union unwind_flags flags; + struct pt_regs *regs; }; struct kvfree_rcu_bulk_data { @@ -28060,6 +30713,13 @@ struct ld_semaphore { struct list_head write_wait; }; +struct lease_manager_operations { + bool (*lm_break)(struct file_lease *); + int (*lm_change)(struct file_lease *, int, struct list_head *); + void (*lm_setup)(struct file_lease *, void **); + bool (*lm_breaker_owns_lease)(struct file_lease *); +}; + struct legacy_fs_context { char *legacy_data; size_t data_size; @@ -28077,6 +30737,20 @@ struct link_mode_info { u8 duplex; }; +struct linked_reg { + u8 frameno; + union { + u8 spi; + u8 regno; + }; + bool is_reg; +}; + +struct linked_regs { + int cnt; + struct linked_reg entries[6]; +}; + struct linkinfo_reply_data { struct ethnl_reply_data base; struct ethtool_link_ksettings ksettings; @@ -28117,13 +30791,15 @@ struct rlimit { struct linux_binprm { struct vm_area_struct *vma; long unsigned int vma_pages; + long unsigned int argmin; struct mm_struct *mm; long unsigned int p; - long unsigned int argmin; unsigned int have_execfd: 1; unsigned int execfd_creds: 1; unsigned int secureexec: 1; unsigned int point_of_no_return: 1; + unsigned int comm_from_dentry: 1; + unsigned int is_check: 1; struct file *executable; struct file *interpreter; struct file *file; @@ -28163,7 +30839,7 @@ struct linux_dirent64 { }; struct linux_mib { - long unsigned int mibs[127]; + long unsigned int mibs[133]; }; struct list_lru_node; @@ -28175,12 +30851,12 @@ struct list_lru { struct list_lru_one { struct list_head list; long int nr_items; + spinlock_t lock; }; struct list_lru_node { - spinlock_t lock; struct list_lru_one lru; - long int nr_items; + atomic_long_t nr_items; long: 64; long: 64; long: 64; @@ -28212,12 +30888,13 @@ struct load_info { unsigned int vers; unsigned int info; unsigned int pcpu; + unsigned int vers_ext_crc; + unsigned int vers_ext_name; } index; }; struct local_ports { - seqlock_t lock; - int range[2]; + u32 range; bool warned; }; @@ -28227,12 +30904,8 @@ struct lock_manager_operations { void (*lm_put_owner)(fl_owner_t); void (*lm_notify)(struct file_lock *); int (*lm_grant)(struct file_lock *, int); - bool (*lm_break)(struct file_lock *); - int (*lm_change)(struct file_lock *, int, struct list_head *); - void (*lm_setup)(struct file_lock *, void **); - bool (*lm_breaker_owns_lease)(struct file_lock *); bool (*lm_lock_expirable)(struct file_lock *); - void (*lm_expire_lock)(); + void (*lm_expire_lock)(void); }; struct logic_pio_host_ops { @@ -28244,7 +30917,7 @@ struct logic_pio_host_ops { struct logic_pio_hwaddr { struct list_head list; - struct fwnode_handle *fwnode; + const struct fwnode_handle *fwnode; resource_size_t hw_start; resource_size_t io_start; resource_size_t size; @@ -28274,27 +30947,21 @@ struct lpm_trie_node; struct lpm_trie { struct bpf_map map; struct lpm_trie_node *root; + struct bpf_mem_alloc ma; size_t n_entries; size_t max_prefixlen; size_t data_size; - spinlock_t lock; - long: 64; - long: 64; - long: 64; + raw_spinlock_t lock; }; struct lpm_trie_node { - struct callback_head rcu; struct lpm_trie_node *child[2]; u32 prefixlen; u32 flags; u8 data[0]; }; -struct lru_rotate { - local_lock_t lock; - struct folio_batch fbatch; -}; +struct zswap_lruvec_state {}; struct lruvec { struct list_head lists[5]; @@ -28304,6 +30971,19 @@ struct lruvec { atomic_long_t nonresident_age; long unsigned int refaults[2]; long unsigned int flags; + struct zswap_lruvec_state zswap_lruvec_state; +}; + +struct lsm_context { + char *context; + u32 len; + int id; +}; + +struct lwq { + spinlock_t lock; + struct llist_node *ready; + struct llist_head new; }; struct lwtunnel_encap_ops { @@ -28329,25 +31009,6 @@ struct lwtunnel_state { __u8 data[0]; }; -struct maple_enode; - -struct maple_tree; - -struct maple_alloc; - -struct ma_state { - struct maple_tree *tree; - long unsigned int index; - long unsigned int last; - struct maple_enode *node; - long unsigned int min; - long unsigned int max; - struct maple_alloc *alloc; - unsigned char depth; - unsigned char offset; - unsigned char mas_flags; -}; - struct ma_topiary { struct maple_enode *head; struct maple_enode *tail; @@ -28363,7 +31024,6 @@ struct ma_wr_state { long unsigned int r_max; enum maple_type type; unsigned char offset_end; - unsigned char node_end; long unsigned int *pivots; long unsigned int end_piv; void **slots; @@ -28409,7 +31069,6 @@ struct maple_arange_64 { }; struct maple_big_node { - struct maple_pnode *parent; long unsigned int pivot[33]; union { struct maple_enode *slot[34]; @@ -28513,11 +31172,12 @@ struct mdio_device { struct device dev; struct mii_bus *bus; char modalias[32]; - int (*bus_match)(struct device *, struct device_driver *); + int (*bus_match)(struct device *, const struct device_driver *); void (*device_free)(struct mdio_device *); void (*device_remove)(struct mdio_device *); int addr; int flags; + int reset_state; struct gpio_desc *reset_gpio; struct reset_control *reset_ctrl; unsigned int reset_assert_delay; @@ -28535,7 +31195,7 @@ typedef struct pglist_data pg_data_t; struct mem_cgroup_reclaim_cookie { pg_data_t *pgdat; - unsigned int generation; + int generation; }; struct quota_format_type; @@ -28560,6 +31220,7 @@ struct mem_section { }; struct mem_section_usage { + struct callback_head rcu; long unsigned int subsection_map[1]; long unsigned int pageblock_flags[0]; }; @@ -28600,6 +31261,8 @@ struct memdev { }; struct memory_notify { + long unsigned int altmap_start_pfn; + long unsigned int altmap_nr_pages; long unsigned int start_pfn; long unsigned int nr_pages; int status_change_nid_normal; @@ -28637,6 +31300,7 @@ struct migration_target_control { int nid; nodemask_t *nmask; gfp_t gfp_mask; + enum migrate_reason reason; }; struct phy_package_shared; @@ -28675,24 +31339,26 @@ struct mii_bus { struct mii_timestamper { bool (*rxtstamp)(struct mii_timestamper *, struct sk_buff *, int); void (*txtstamp)(struct mii_timestamper *, struct sk_buff *, int); - int (*hwtstamp)(struct mii_timestamper *, struct ifreq *); + int (*hwtstamp)(struct mii_timestamper *, struct kernel_hwtstamp_config *, struct netlink_ext_ack *); void (*link_state)(struct mii_timestamper *, struct phy_device *); - int (*ts_info)(struct mii_timestamper *, struct ethtool_ts_info *); + int (*ts_info)(struct mii_timestamper *, struct kernel_ethtool_ts_info *); struct device *device; }; -struct min_heap { - void *data; - int nr; - int size; +struct min_heap_callbacks { + bool (*less)(const void *, const void *, void *); + void (*swp)(void *, void *, void *); }; -struct min_heap_callbacks { - int elem_size; - bool (*less)(const void *, const void *); - void (*swp)(void *, void *); +struct min_heap_char { + size_t nr; + size_t size; + char *data; + char preallocated[0]; }; +typedef struct min_heap_char min_heap_char; + struct tcf_proto; struct mini_Qdisc { @@ -28789,7 +31455,6 @@ struct mm_struct { long: 64; }; struct maple_tree mm_mt; - long unsigned int (*get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); long unsigned int mmap_base; long unsigned int mmap_legacy_base; long unsigned int task_size; @@ -28800,7 +31465,7 @@ struct mm_struct { spinlock_t page_table_lock; struct rw_semaphore mmap_lock; struct list_head mmlist; - int mm_lock_seq; + seqcount_t mm_lock_seq; long unsigned int hiwater_rss; long unsigned int hiwater_vm; long unsigned int total_vm; @@ -28870,9 +31535,49 @@ struct mm_walk_ops { int (*test_walk)(long unsigned int, long unsigned int, struct mm_walk *); int (*pre_vma)(long unsigned int, long unsigned int, struct mm_walk *); void (*post_vma)(struct mm_walk *); + int (*install_pte)(long unsigned int, long unsigned int, pte_t *, struct mm_walk *); enum page_walk_lock walk_lock; }; +struct vma_munmap_struct { + struct vma_iterator *vmi; + struct vm_area_struct *vma; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct list_head *uf; + long unsigned int start; + long unsigned int end; + long unsigned int unmap_start; + long unsigned int unmap_end; + int vma_count; + bool unlock; + bool clear_ptes; + long unsigned int nr_pages; + long unsigned int locked_vm; + long unsigned int nr_accounted; + long unsigned int exec_vm; + long unsigned int stack_vm; + long unsigned int data_vm; +}; + +struct mmap_state { + struct mm_struct *mm; + struct vma_iterator *vmi; + long unsigned int addr; + long unsigned int end; + long unsigned int pgoff; + long unsigned int pglen; + long unsigned int flags; + struct file *file; + long unsigned int charged; + bool retry_merge; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct vma_munmap_struct vms; + struct ma_state mas_detach; + struct maple_tree mt_detach; +}; + struct mmap_unlock_irq_work { struct irq_work irq_work; struct mm_struct *mm; @@ -28942,8 +31647,36 @@ struct mmu_table_batch { void *tables[0]; }; +struct mnt_id_req { + __u32 size; + __u32 spare; + __u64 mnt_id; + __u64 param; + __u64 mnt_ns_id; +}; + +struct uid_gid_extent { + u32 first; + u32 lower_first; + u32 count; +}; + +struct uid_gid_map { + union { + struct { + struct uid_gid_extent extent[5]; + u32 nr_extents; + }; + struct { + struct uid_gid_extent *forward; + struct uid_gid_extent *reverse; + }; + }; +}; + struct mnt_idmap { - struct user_namespace *owner; + struct uid_gid_map uid_map; + struct uid_gid_map gid_map; refcount_t count; }; @@ -28952,15 +31685,30 @@ struct mount; struct mnt_namespace { struct ns_common ns; struct mount *root; - struct list_head list; - spinlock_t ns_lock; + struct { + struct rb_root mounts; + struct rb_node *mnt_last_node; + struct rb_node *mnt_first_node; + }; struct user_namespace *user_ns; struct ucounts *ucounts; u64 seq; - wait_queue_head_t poll; + union { + wait_queue_head_t poll; + struct callback_head mnt_ns_rcu; + }; u64 event; - unsigned int mounts; + unsigned int nr_mounts; unsigned int pending_mounts; + struct rb_node mnt_ns_tree_node; + struct list_head mnt_ns_list; + refcount_t passive; +}; + +struct mnt_ns_info { + __u32 size; + __u32 nr_mounts; + __u64 mnt_ns_id; }; struct mnt_pcp { @@ -29019,6 +31767,8 @@ struct module_kobject { struct module_memory { void *base; + void *rw_copy; + bool is_rox; unsigned int size; struct mod_tree_node mtn; }; @@ -29043,18 +31793,18 @@ struct module { const char *srcversion; struct kobject *holders_dir; const struct kernel_symbol *syms; - const s32 *crcs; + const u32 *crcs; unsigned int num_syms; struct kernel_param *kp; unsigned int num_kp; unsigned int num_gpl_syms; const struct kernel_symbol *gpl_syms; - const s32 *gpl_crcs; + const u32 *gpl_crcs; bool using_gplonly_symbols; bool async_probe_requested; unsigned int num_exentries; struct exception_table_entry *extable; - int (*init)(); + int (*init)(void); long: 64; long: 64; long: 64; @@ -29078,7 +31828,9 @@ struct module { unsigned int num_bpf_raw_events; struct bpf_raw_event_map *bpf_raw_events; unsigned int btf_data_size; + unsigned int btf_base_data_size; void *btf_data; + void *btf_base_data; unsigned int num_trace_bprintk_fmt; const char **trace_bprintk_fmt_start; struct trace_event_call **trace_events; @@ -29101,8 +31853,8 @@ struct module { struct module_attribute { struct attribute attr; - ssize_t (*show)(struct module_attribute *, struct module_kobject *, char *); - ssize_t (*store)(struct module_attribute *, struct module_kobject *, const char *, size_t); + ssize_t (*show)(const struct module_attribute *, struct module_kobject *, char *); + ssize_t (*store)(const struct module_attribute *, struct module_kobject *, const char *, size_t); void (*setup)(struct module *, const char *); int (*test)(struct module *); void (*free)(struct module *); @@ -29130,6 +31882,12 @@ struct module_string { char *str; }; +struct modules_array { + struct module **mods; + int mods_cnt; + int mods_cap; +}; + struct vfsmount { struct dentry *mnt_root; struct super_block *mnt_sb; @@ -29145,6 +31903,7 @@ struct mount { struct dentry *mnt_mountpoint; struct vfsmount mnt; union { + struct rb_node mnt_node; struct callback_head mnt_rcu; struct llist_node mnt_llist; }; @@ -29167,6 +31926,7 @@ struct mount { }; struct list_head mnt_umounting; int mnt_id; + u64 mnt_id_unique; int mnt_group_id; int mnt_expiry_mark; struct hlist_head mnt_pins; @@ -29236,7 +31996,7 @@ struct msghdr { __kernel_size_t msg_controllen; struct kiocb *msg_iocb; struct ubuf_info *msg_ubuf; - int (*sg_from_iter)(struct sock *, struct sk_buff *, struct iov_iter *, size_t); + int (*sg_from_iter)(struct sk_buff *, struct iov_iter *, size_t); }; struct msi_alloc_info { @@ -29329,13 +32089,10 @@ struct msi_dev_domain { struct irq_domain *domain; }; -struct platform_msi_priv_data; - struct msi_device_data { long unsigned int properties; - struct platform_msi_priv_data *platform_data; struct mutex mutex; - struct msi_dev_domain __domains[2]; + struct msi_dev_domain __domains[1]; long unsigned int __iter_idx; }; @@ -29364,6 +32121,7 @@ struct msi_domain_ops { int (*domain_alloc_irqs)(struct irq_domain *, struct device *, int); void (*domain_free_irqs)(struct irq_domain *, struct device *); void (*msi_post_free)(struct irq_domain *, struct device *); + int (*msi_translate)(struct irq_domain *, struct irq_fwspec *, irq_hw_number_t *, unsigned int *); }; struct msi_domain_template { @@ -29380,6 +32138,9 @@ struct msi_map { struct msi_parent_ops { u32 supported_flags; + u32 required_flags; + u32 bus_select_token; + u32 bus_select_mask; const char *prefix; bool (*init_dev_msi_info)(struct device *, struct irq_domain *, struct irq_domain *, struct msi_domain_info *); }; @@ -29393,11 +32154,20 @@ struct multi_stop_data { atomic_t thread_ack; }; +struct multi_symbols_sort { + const char **funcs; + u64 *cookies; +}; + struct multiprocess_signals { sigset_t signal; struct hlist_node node; }; +typedef struct mutex *class_mutex_t; + +typedef class_mutex_t class_mutex_intr_t; + struct ww_acquire_ctx; struct mutex_waiter { @@ -29408,7 +32178,7 @@ struct mutex_waiter { struct name_snapshot { struct qstr name; - unsigned char inline_name[32]; + union shortname_store inline_name; }; struct saved { @@ -29435,6 +32205,7 @@ struct nameidata { struct saved *stack; struct saved internal[2]; struct filename *name; + const char *pathname; struct nameidata *saved; unsigned int root_seq; int dfd; @@ -29443,26 +32214,25 @@ struct nameidata { }; struct page_frag_cache { - void *va; - __u16 offset; - __u16 size; - unsigned int pagecnt_bias; - bool pfmemalloc; -}; - -struct page_frag_1k { - void *va; - u16 offset; - bool pfmemalloc; + long unsigned int encoded_page; + __u32 offset; + __u32 pagecnt_bias; }; struct napi_alloc_cache { + local_lock_t bh_lock; struct page_frag_cache page; - struct page_frag_1k page_small; unsigned int skb_count; void *skb_cache[64]; }; +struct napi_config { + u64 gro_flush_timeout; + u64 irq_suspend_timeout; + u32 defer_hard_irqs; + unsigned int napi_id; +}; + struct napi_gro_cb { union { struct { @@ -29476,9 +32246,9 @@ struct napi_gro_cb { }; int data_offset; u16 flush; - u16 flush_id; u16 count; u16 proto; + u16 pad; union { struct { u16 gro_remcsum_start; @@ -29489,7 +32259,7 @@ struct napi_gro_cb { u8 free: 2; u8 is_ipv6: 1; u8 is_fou: 1; - u8 is_atomic: 1; + u8 ip_fixedid: 1; u8 recursion_counter: 4; u8 is_flist: 1; }; @@ -29502,12 +32272,26 @@ struct napi_gro_cb { u8 free: 2; u8 is_ipv6: 1; u8 is_fou: 1; - u8 is_atomic: 1; + u8 ip_fixedid: 1; u8 recursion_counter: 4; u8 is_flist: 1; } zeroed; }; __wsum csum; + union { + struct { + u16 network_offset; + u16 inner_network_offset; + }; + u16 network_offsets[2]; + }; +}; + +struct nbcon_write_context { + struct nbcon_context ctxt; + char *outbuf; + unsigned int len; + bool unsafe_takeover; }; struct nd_msg { @@ -29533,7 +32317,6 @@ struct ndisc_options; struct prefix_info; struct ndisc_ops { - int (*is_useropt)(u8); int (*parse_options)(const struct net_device *, struct nd_opt_hdr *, struct ndisc_options *); void (*update)(const struct net_device *, struct neighbour *, u32, u8, const struct ndisc_options *); int (*opt_addr_space)(const struct net_device *, u8, struct neighbour *, u8 *, u8 **); @@ -29557,6 +32340,11 @@ struct ndmsg { __u8 ndm_type; }; +struct ndo_fdb_dump_context { + long unsigned int ifindex; + long unsigned int fdb_idx; +}; + struct ndt_config { __u16 ndtc_key_len; __u16 ndtc_entry_size; @@ -29606,7 +32394,7 @@ struct neigh_dump_filter { }; struct neigh_hash_table { - struct neighbour **hash_buckets; + struct hlist_head *hash_heads; unsigned int hash_shift; __u32 hash_rnd[4]; struct callback_head rcu; @@ -29691,7 +32479,8 @@ struct neigh_table { }; struct neighbour { - struct neighbour *next; + struct hlist_node hash; + struct hlist_node dev_list; struct neigh_table *tbl; struct neigh_parms *parms; long unsigned int confirmed; @@ -29741,7 +32530,9 @@ struct raw_notifier_head { struct netns_core { struct ctl_table_header *sysctl_hdr; int sysctl_somaxconn; + int sysctl_optmem_max; u8 sysctl_txrehash; + u8 sysctl_tstamp_allow_data; }; struct tcp_mib; @@ -29783,6 +32574,29 @@ struct ping_group_range { }; struct netns_ipv4 { + __u8 __cacheline_group_begin__netns_ipv4_read_tx[0]; + u8 sysctl_tcp_early_retrans; + u8 sysctl_tcp_tso_win_divisor; + u8 sysctl_tcp_tso_rtt_log; + u8 sysctl_tcp_autocorking; + int sysctl_tcp_min_snd_mss; + unsigned int sysctl_tcp_notsent_lowat; + int sysctl_tcp_limit_output_bytes; + int sysctl_tcp_min_rtt_wlen; + int sysctl_tcp_wmem[3]; + u8 sysctl_ip_fwd_use_pmtu; + __u8 __cacheline_group_end__netns_ipv4_read_tx[0]; + __u8 __cacheline_group_begin__netns_ipv4_read_txrx[0]; + u8 sysctl_tcp_moderate_rcvbuf; + __u8 __cacheline_group_end__netns_ipv4_read_txrx[0]; + __u8 __cacheline_group_begin__netns_ipv4_read_rx[0]; + u8 sysctl_ip_early_demux; + u8 sysctl_tcp_early_demux; + u8 sysctl_tcp_l3mdev_accept; + int sysctl_tcp_reordering; + int sysctl_tcp_rmem[3]; + __u8 __cacheline_group_end__netns_ipv4_read_rx[0]; + long: 64; struct inet_timewait_death_row tcp_death_row; struct udp_table *udp_table; struct ipv4_devconf *devconf_all; @@ -29804,6 +32618,10 @@ struct netns_ipv4 { u8 sysctl_icmp_errors_use_inbound_ifaddr; int sysctl_icmp_ratelimit; int sysctl_icmp_ratemask; + int sysctl_icmp_msgs_per_sec; + int sysctl_icmp_msgs_burst; + atomic_t icmp_global_credit; + u32 icmp_global_stamp; u32 ip_rt_min_pmtu; int ip_rt_mtu_expires; int ip_rt_min_advmss; @@ -29812,13 +32630,10 @@ struct netns_ipv4 { u8 sysctl_tcp_ecn_fallback; u8 sysctl_ip_default_ttl; u8 sysctl_ip_no_pmtu_disc; - u8 sysctl_ip_fwd_use_pmtu; u8 sysctl_ip_fwd_update_priority; u8 sysctl_ip_nonlocal_bind; u8 sysctl_ip_autobind_reuse; u8 sysctl_ip_dynaddr; - u8 sysctl_ip_early_demux; - u8 sysctl_tcp_early_demux; u8 sysctl_udp_early_demux; u8 sysctl_nexthop_compat_mode; u8 sysctl_fwmark_reflect; @@ -29826,7 +32641,6 @@ struct netns_ipv4 { u8 sysctl_tcp_mtu_probing; int sysctl_tcp_mtu_probe_floor; int sysctl_tcp_base_mss; - int sysctl_tcp_min_snd_mss; int sysctl_tcp_probe_threshold; u32 sysctl_tcp_probe_interval; int sysctl_tcp_keepalive_time; @@ -29837,17 +32651,18 @@ struct netns_ipv4 { u8 sysctl_tcp_syncookies; u8 sysctl_tcp_migrate_req; u8 sysctl_tcp_comp_sack_nr; - int sysctl_tcp_reordering; + u8 sysctl_tcp_backlog_ack_defer; + u8 sysctl_tcp_pingpong_thresh; u8 sysctl_tcp_retries1; u8 sysctl_tcp_retries2; u8 sysctl_tcp_orphan_retries; u8 sysctl_tcp_tw_reuse; + unsigned int sysctl_tcp_tw_reuse_delay; int sysctl_tcp_fin_timeout; - unsigned int sysctl_tcp_notsent_lowat; u8 sysctl_tcp_sack; u8 sysctl_tcp_window_scaling; u8 sysctl_tcp_timestamps; - u8 sysctl_tcp_early_retrans; + int sysctl_tcp_rto_min_us; u8 sysctl_tcp_recovery; u8 sysctl_tcp_thin_linear_timeouts; u8 sysctl_tcp_slow_start_after_idle; @@ -29863,21 +32678,13 @@ struct netns_ipv4 { u8 sysctl_tcp_frto; u8 sysctl_tcp_nometrics_save; u8 sysctl_tcp_no_ssthresh_metrics_save; - u8 sysctl_tcp_moderate_rcvbuf; - u8 sysctl_tcp_tso_win_divisor; u8 sysctl_tcp_workaround_signed_windows; - int sysctl_tcp_limit_output_bytes; int sysctl_tcp_challenge_ack_limit; - int sysctl_tcp_min_rtt_wlen; u8 sysctl_tcp_min_tso_segs; - u8 sysctl_tcp_tso_rtt_log; - u8 sysctl_tcp_autocorking; u8 sysctl_tcp_reflect_tos; int sysctl_tcp_invalid_ratelimit; int sysctl_tcp_pacing_ss_ratio; int sysctl_tcp_pacing_ca_ratio; - int sysctl_tcp_wmem[3]; - int sysctl_tcp_rmem[3]; unsigned int sysctl_tcp_child_ehash_entries; long unsigned int sysctl_tcp_comp_sack_delay_ns; long unsigned int sysctl_tcp_comp_sack_slack_ns; @@ -29912,6 +32719,8 @@ struct netns_ipv4 { unsigned int ipmr_seq; atomic_t rt_genid; siphash_key_t ip_id_key; + struct hlist_head *inet_addr_lst; + struct delayed_work addr_chk_work; long: 64; long: 64; long: 64; @@ -30002,16 +32811,6 @@ struct netns_ipv6 { long: 64; }; -struct nf_logger; - -struct nf_hook_entries; - -struct netns_nf { - const struct nf_logger *nf_loggers[11]; - struct nf_hook_entries *hooks_ipv4[5]; - struct nf_hook_entries *hooks_ipv6[5]; -}; - struct netns_bpf { struct bpf_prog_array *run_array[2]; struct bpf_prog *progs[2]; @@ -30025,13 +32824,13 @@ struct net_generic; struct net { refcount_t passive; spinlock_t rules_mod_lock; - atomic_t dev_unreg_count; unsigned int dev_base_seq; u32 ifindex; spinlock_t nsid_lock; atomic_t fnhe_genid; struct list_head list; struct list_head exit_list; + struct llist_node defer_free_list; struct llist_node cleanup_list; struct user_namespace *user_ns; struct ucounts *ucounts; @@ -30057,16 +32856,26 @@ struct net { struct netns_packet packet; struct netns_nexthop nexthop; long: 64; - long: 64; struct netns_ipv4 ipv4; struct netns_ipv6 ipv6; - struct netns_nf nf; struct net_generic *gen; struct netns_bpf bpf; u64 net_cookie; struct sock *diag_nlsk; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; +}; + +struct netdev_tc_txq { + u16 count; + u16 offset; }; +typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **); + struct net_device_stats { union { long unsigned int rx_packets; @@ -30168,77 +32977,121 @@ struct netdev_hw_addr_list { struct rb_root tree; }; -typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **); +struct sfp_bus; -struct pcpu_dstats; +struct udp_tunnel_nic; -struct netdev_tc_txq { - u16 count; - u16 offset; -}; +struct net_device_ops; -struct sfp_bus; +struct xps_dev_maps; -struct udp_tunnel_nic; +struct pcpu_lstats; -struct netdev_name_node; +struct pcpu_sw_netstats; -struct net_device_ops; +struct pcpu_dstats; + +struct netdev_rx_queue; + +struct netdev_name_node; struct xdp_metadata_ops; -struct net_device_core_stats; +struct xsk_tx_metadata_ops; -struct netdev_rx_queue; +struct net_device_core_stats; struct xdp_dev_bulk_queue; -struct xps_dev_maps; +struct netdev_stat_ops; -struct pcpu_lstats; +struct netdev_queue_mgmt_ops; -struct pcpu_sw_netstats; +struct phy_link_topology; struct udp_tunnel_nic_info; +struct netdev_config; + struct rtnl_hw_stats64; struct net_device { + __u8 __cacheline_group_begin__net_device_read_tx[0]; + union { + struct { + long unsigned int priv_flags: 32; + long unsigned int lltx: 1; + }; + struct { + long unsigned int priv_flags: 32; + long unsigned int lltx: 1; + } priv_flags_fast; + }; + const struct net_device_ops *netdev_ops; + const struct header_ops *header_ops; + struct netdev_queue *_tx; + netdev_features_t gso_partial_features; + unsigned int real_num_tx_queues; + unsigned int gso_max_size; + unsigned int gso_ipv4_max_size; + u16 gso_max_segs; + s16 num_tc; + unsigned int mtu; + short unsigned int needed_headroom; + struct netdev_tc_txq tc_to_txq[16]; + struct xps_dev_maps *xps_maps[2]; + struct bpf_mprog_entry *tcx_egress; + __u8 __cacheline_group_end__net_device_read_tx[0]; + __u8 __cacheline_group_begin__net_device_read_txrx[0]; + union { + struct pcpu_lstats *lstats; + struct pcpu_sw_netstats *tstats; + struct pcpu_dstats *dstats; + }; + long unsigned int state; + unsigned int flags; + short unsigned int hard_header_len; + netdev_features_t features; + struct inet6_dev *ip6_ptr; + __u8 __cacheline_group_end__net_device_read_txrx[0]; + __u8 __cacheline_group_begin__net_device_read_rx[0]; + struct bpf_prog *xdp_prog; + struct list_head ptype_specific; + int ifindex; + unsigned int real_num_rx_queues; + struct netdev_rx_queue *_rx; + unsigned int gro_max_size; + unsigned int gro_ipv4_max_size; + rx_handler_func_t *rx_handler; + void *rx_handler_data; + possible_net_t nd_net; + struct bpf_mprog_entry *tcx_ingress; + __u8 __cacheline_group_end__net_device_read_rx[0]; char name[16]; struct netdev_name_node *name_node; struct dev_ifalias *ifalias; long unsigned int mem_end; long unsigned int mem_start; long unsigned int base_addr; - long unsigned int state; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; - struct list_head ptype_specific; struct { struct list_head upper; struct list_head lower; } adj_list; - unsigned int flags; xdp_features_t xdp_features; - long long unsigned int priv_flags; - const struct net_device_ops *netdev_ops; const struct xdp_metadata_ops *xdp_metadata_ops; - int ifindex; + const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; short unsigned int gflags; - short unsigned int hard_header_len; - unsigned int mtu; - short unsigned int needed_headroom; short unsigned int needed_tailroom; - netdev_features_t features; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; - netdev_features_t gso_partial_features; unsigned int min_mtu; unsigned int max_mtu; short unsigned int type; @@ -30251,8 +33104,7 @@ struct net_device { atomic_t carrier_down_count; const struct ethtool_ops *ethtool_ops; const struct ndisc_ops *ndisc_ops; - const struct header_ops *header_ops; - unsigned char operstate; + unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; @@ -30264,9 +33116,9 @@ struct net_device { short unsigned int neigh_priv_len; short unsigned int dev_id; short unsigned int dev_port; - short unsigned int padded; - spinlock_t addr_list_lock; int irq; + u32 priv_len; + spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; @@ -30274,38 +33126,18 @@ struct net_device { unsigned int allmulti; bool uc_promisc; struct in_device *ip_ptr; - struct inet6_dev *ip6_ptr; + struct hlist_head fib_nh_head; const unsigned char *dev_addr; - struct netdev_rx_queue *_rx; unsigned int num_rx_queues; - unsigned int real_num_rx_queues; - struct bpf_prog *xdp_prog; - long unsigned int gro_flush_timeout; - int napi_defer_hard_irqs; - unsigned int gro_max_size; - unsigned int gro_ipv4_max_size; unsigned int xdp_zc_max_segs; - rx_handler_func_t *rx_handler; - void *rx_handler_data; - struct bpf_mprog_entry *tcx_ingress; struct netdev_queue *ingress_queue; - struct nf_hook_entries *nf_hooks_ingress; unsigned char broadcast[32]; struct hlist_node index_hlist; - long: 64; - long: 64; - long: 64; - long: 64; - struct netdev_queue *_tx; unsigned int num_tx_queues; - unsigned int real_num_tx_queues; struct Qdisc *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue *xdp_bulkq; - struct xps_dev_maps *xps_maps[2]; - struct bpf_mprog_entry *tcx_egress; - struct nf_hook_entries *nf_hooks_egress; struct timer_list watchdog_timer; int watchdog_timeo; u32 proto_down_reason; @@ -30313,14 +33145,7 @@ struct net_device { int *pcpu_refcnt; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; - enum { - NETREG_UNINITIALIZED = 0, - NETREG_REGISTERED = 1, - NETREG_UNREGISTERING = 2, - NETREG_UNREGISTERED = 3, - NETREG_RELEASED = 4, - NETREG_DUMMY = 5, - } reg_state: 8; + u8 reg_state; bool dismantle; enum { RTNL_LINK_INITIALIZED = 0, @@ -30328,35 +33153,34 @@ struct net_device { } rtnl_link_state: 16; bool needs_free_netdev; void (*priv_destructor)(struct net_device *); - possible_net_t nd_net; void *ml_priv; enum netdev_ml_priv_type ml_priv_type; - union { - struct pcpu_lstats *lstats; - struct pcpu_sw_netstats *tstats; - struct pcpu_dstats *dstats; - }; + enum netdev_stat_type pcpu_stat_type: 8; struct device dev; const struct attribute_group *sysfs_groups[4]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; - unsigned int gso_max_size; + const struct netdev_stat_ops *stat_ops; + const struct netdev_queue_mgmt_ops *queue_mgmt_ops; unsigned int tso_max_size; - u16 gso_max_segs; u16 tso_max_segs; - unsigned int gso_ipv4_max_size; - s16 num_tc; - struct netdev_tc_txq tc_to_txq[16]; u8 prio_tc_map[16]; + struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; - unsigned int wol_enabled: 1; - unsigned int threaded: 1; + bool threaded; + long unsigned int see_all_hwtstamp_requests: 1; + long unsigned int change_proto_down: 1; + long unsigned int netns_local: 1; + long unsigned int fcoe_mtu: 1; struct list_head net_notifier_list; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; + struct netdev_config *cfg; + struct netdev_config *cfg_pending; + struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[3]; u8 dev_addr_shadow[32]; netdevice_tracker linkwatch_dev_tracker; @@ -30364,12 +33188,23 @@ struct net_device { netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; + struct hlist_head page_pools; + struct dim_irq_moder *irq_moder; + u64 max_pacing_offload_horizon; + struct napi_config *napi_config; + long unsigned int gro_flush_timeout; + u32 napi_defer_hard_irqs; + bool up; + struct mutex lock; + struct hlist_head neighbours[2]; + struct hwtstamp_provider *hwprov; long: 64; long: 64; long: 64; long: 64; long: 64; long: 64; + u8 priv[0]; }; struct net_device_core_stats { @@ -30444,14 +33279,16 @@ struct net_device_ops { int (*ndo_set_features)(struct net_device *, netdev_features_t); int (*ndo_neigh_construct)(struct net_device *, struct neighbour *); void (*ndo_neigh_destroy)(struct net_device *, struct neighbour *); - int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, struct netlink_ext_ack *); - int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, struct netlink_ext_ack *); - int (*ndo_fdb_del_bulk)(struct ndmsg *, struct nlattr **, struct net_device *, u16, struct netlink_ext_ack *); + int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, bool *, struct netlink_ext_ack *); + int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, bool *, struct netlink_ext_ack *); + int (*ndo_fdb_del_bulk)(struct nlmsghdr *, struct net_device *, struct netlink_ext_ack *); int (*ndo_fdb_dump)(struct sk_buff *, struct netlink_callback *, struct net_device *, struct net_device *, int *); int (*ndo_fdb_get)(struct sk_buff *, struct nlattr **, struct net_device *, const unsigned char *, u16, u32, u32, struct netlink_ext_ack *); int (*ndo_mdb_add)(struct net_device *, struct nlattr **, u16, struct netlink_ext_ack *); int (*ndo_mdb_del)(struct net_device *, struct nlattr **, struct netlink_ext_ack *); + int (*ndo_mdb_del_bulk)(struct net_device *, struct nlattr **, struct netlink_ext_ack *); int (*ndo_mdb_dump)(struct net_device *, struct sk_buff *, struct netlink_callback *); + int (*ndo_mdb_get)(struct net_device *, struct nlattr **, u32, u32, struct netlink_ext_ack *); int (*ndo_bridge_setlink)(struct net_device *, struct nlmsghdr *, u16, struct netlink_ext_ack *); int (*ndo_bridge_getlink)(struct sk_buff *, u32, u32, struct net_device *, u32, int); int (*ndo_bridge_dellink)(struct net_device *, struct nlmsghdr *, u16); @@ -30469,7 +33306,7 @@ struct net_device_ops { int (*ndo_xdp_xmit)(struct net_device *, int, struct xdp_frame **, u32); struct net_device * (*ndo_xdp_get_xmit_slave)(struct net_device *, struct xdp_buff *); int (*ndo_xsk_wakeup)(struct net_device *, u32, u32); - int (*ndo_tunnel_ctl)(struct net_device *, struct ip_tunnel_parm *, int); + int (*ndo_tunnel_ctl)(struct net_device *, struct ip_tunnel_parm_kern *, int); struct net_device * (*ndo_get_peer_dev)(struct net_device *); int (*ndo_fill_forward_path)(struct net_device_path_ctx *, struct net_device_path *); ktime_t (*ndo_get_tstamp)(struct net_device *, const struct skb_shared_hwtstamps *, bool); @@ -30505,6 +33342,7 @@ struct net_device_path { u8 queue; u16 wcid; u8 bss; + u8 amsdu; } mtk_wdma; }; }; @@ -30524,6 +33362,22 @@ struct net_device_path_stack { struct net_device_path path[5]; }; +struct dma_buf; + +struct dma_buf_attachment; + +struct net_devmem_dmabuf_binding { + struct dma_buf *dmabuf; + struct dma_buf_attachment *attachment; + struct sg_table *sgt; + struct net_device *dev; + struct gen_pool *chunk_pool; + refcount_t ref; + struct list_head list; + struct xarray bound_rxqs; + u32 id; +}; + struct net_fill_args { u32 portid; u32 seq; @@ -30553,15 +33407,17 @@ struct offload_callbacks { int (*gro_complete)(struct sk_buff *, int); }; -struct net_offload { +struct packet_offload { + __be16 type; + u16 priority; struct offload_callbacks callbacks; - unsigned int flags; + struct list_head list; }; -struct net_proto_family { - int family; - int (*create)(struct net *, struct socket *, int, int); - struct module *owner; +struct net_offload { + struct offload_callbacks callbacks; + unsigned int flags; + u32 secret; }; struct net_protocol { @@ -30569,6 +33425,52 @@ struct net_protocol { int (*err_handler)(struct sk_buff *, u32); unsigned int no_policy: 1; unsigned int icmp_strict_tag_validation: 1; + u32 secret; +}; + +struct net_hotdata { + struct packet_offload ip_packet_offload; + struct net_offload tcpv4_offload; + struct net_protocol tcp_protocol; + struct net_offload udpv4_offload; + struct net_protocol udp_protocol; + struct packet_offload ipv6_packet_offload; + struct net_offload tcpv6_offload; + struct inet6_protocol tcpv6_protocol; + struct inet6_protocol udpv6_protocol; + struct net_offload udpv6_offload; + struct list_head offload_base; + struct list_head ptype_all; + struct kmem_cache *skbuff_cache; + struct kmem_cache *skbuff_fclone_cache; + struct kmem_cache *skb_small_head_cache; + int gro_normal_batch; + int netdev_budget; + int netdev_budget_usecs; + int tstamp_prequeue; + int max_backlog; + int dev_tx_weight; + int dev_rx_weight; + int sysctl_max_skb_frags; + int sysctl_skb_defer_max; + int sysctl_mem_pcpu_rsv; +}; + +struct dmabuf_genpool_chunk_owner; + +struct net_iov { + long unsigned int __unused_padding; + long unsigned int pp_magic; + struct page_pool *pp; + struct dmabuf_genpool_chunk_owner *owner; + long unsigned int dma_addr; + atomic_long_t pp_ref_count; +}; + +struct net_proto_family { + int family; + int (*create)(struct net *, struct socket *, int, int); + struct module *owner; }; struct net_rate_estimator { @@ -30628,6 +33530,11 @@ struct netdev_bpf { }; }; +struct netdev_config { + u32 hds_thresh; + u8 hds_config; +}; + struct netdev_hw_addr { struct list_head list; struct rb_node node; @@ -30645,6 +33552,7 @@ struct netdev_name_node { struct list_head list; struct net_device *dev; const char *name; + struct callback_head rcu; }; struct netdev_nested_priv { @@ -30657,6 +33565,13 @@ struct netdev_net_notifier { struct notifier_block *nb; }; +struct netdev_nl_dump_ctx { + long unsigned int ifindex; + unsigned int rxq_idx; + unsigned int txq_idx; + unsigned int napi_id; +}; + struct netdev_notifier_info { struct net_device *dev; struct netlink_ext_ack *extack; @@ -30745,11 +33660,51 @@ struct netdev_queue { int xmit_lock_owner; long unsigned int trans_start; long unsigned int state; + struct napi_struct *napi; long: 64; long: 64; long: 64; long: 64; - long: 64; +}; + +struct netdev_queue_mgmt_ops { + size_t ndo_queue_mem_size; + int (*ndo_queue_mem_alloc)(struct net_device *, void *, int); + void (*ndo_queue_mem_free)(struct net_device *, void *); + int (*ndo_queue_start)(struct net_device *, void *, int); + int (*ndo_queue_stop)(struct net_device *, void *, int); +}; + +struct netdev_queue_stats_rx { + u64 bytes; + u64 packets; + u64 alloc_fail; + u64 hw_drops; + u64 hw_drop_overruns; + u64 csum_unnecessary; + u64 csum_none; + u64 csum_bad; + u64 hw_gro_packets; + u64 hw_gro_bytes; + u64 hw_gro_wire_packets; + u64 hw_gro_wire_bytes; + u64 hw_drop_ratelimits; +}; + +struct netdev_queue_stats_tx { + u64 bytes; + u64 packets; + u64 hw_drops; + u64 hw_drop_errors; + u64 csum_none; + u64 needs_csum; + u64 hw_gso_packets; + u64 hw_gso_bytes; + u64 hw_gso_wire_packets; + u64 hw_gso_wire_bytes; + u64 hw_drop_ratelimits; + u64 stop; + u64 wake; }; struct xdp_mem_info { @@ -30762,7 +33717,6 @@ struct xdp_rxq_info { u32 queue_index; u32 reg_state; struct xdp_mem_info mem; - unsigned int napi_id; u32 frag_size; long: 64; long: 64; @@ -30770,18 +33724,34 @@ struct xdp_rxq_info { long: 64; }; +struct pp_memory_provider_params { + void *mp_priv; +}; + struct netdev_rx_queue { struct xdp_rxq_info xdp_rxq; struct kobject kobj; struct net_device *dev; netdevice_tracker dev_tracker; + struct napi_struct *napi; + struct pp_memory_provider_params mp_params; long: 64; long: 64; long: 64; long: 64; long: 64; - long: 64; - long: 64; +}; + +struct netdev_stat_ops { + void (*get_queue_stats_rx)(struct net_device *, int, struct netdev_queue_stats_rx *); + void (*get_queue_stats_tx)(struct net_device *, int, struct netdev_queue_stats_tx *); + void (*get_base_stats)(struct net_device *, struct netdev_queue_stats_rx *, struct netdev_queue_stats_tx *); +}; + +struct netdev_xmit { + u16 recursion; + u8 more; + u8 skip_txqueue; }; struct netevent_redirect { @@ -30820,6 +33790,7 @@ struct netlink_callback { u32 min_dump_alloc; unsigned int prev_seq; unsigned int seq; + int flags; bool strict_check; union { u8 ctx[48]; @@ -30840,6 +33811,7 @@ struct netlink_dump_control { void *data; struct module *module; u32 min_dump_alloc; + int flags; }; struct netlink_ext_ack { @@ -30857,7 +33829,6 @@ struct netlink_kernel_cfg { unsigned int groups; unsigned int flags; void (*input)(struct sk_buff *); - struct mutex *cb_mutex; int (*bind)(struct net *, int); void (*unbind)(struct net *, int); void (*release)(struct sock *, long unsigned int *); @@ -30928,8 +33899,7 @@ struct netlink_sock { bool cb_running; int dump_done_errno; struct netlink_callback cb; - struct mutex *cb_mutex; - struct mutex cb_def_mutex; + struct mutex nl_cb_mutex; void (*netlink_rcv)(struct sk_buff *); int (*netlink_bind)(struct net *, int); void (*netlink_unbind)(struct net *, int); @@ -30937,7 +33907,6 @@ struct netlink_sock { struct module *module; struct rhash_head node; struct callback_head rcu; - struct work_struct work; }; struct netlink_table { @@ -31000,43 +33969,10 @@ struct nexthop { struct nexthop_grp { __u32 id; __u8 weight; - __u8 resvd1; + __u8 weight_high; __u16 resvd2; }; -struct nf_conntrack; - -struct nf_conntrack_tuple; - -struct nf_ct_hook { - int (*update)(struct net *, struct sk_buff *); - void (*destroy)(struct nf_conntrack *); - bool (*get_tuple_skb)(struct nf_conntrack_tuple *, const struct sk_buff *); - void (*attach)(struct sk_buff *, const struct sk_buff *); - void (*set_closing)(struct nf_conntrack *); -}; - -struct nf_defrag_hook { - struct module *owner; - int (*enable)(struct net *); - void (*disable)(struct net *); -}; - -struct nf_hook_entry { - nf_hookfn *hook; - void *priv; -}; - -struct nf_hook_entries { - u16 num_hook_entries; - struct nf_hook_entry hooks[0]; -}; - -struct nf_hook_entries_rcu_head { - struct callback_head head; - void *allocation; -}; - struct nf_hook_state { u8 hook; u8 pf; @@ -31047,82 +33983,6 @@ struct nf_hook_state { int (*okfn)(struct net *, struct sock *, struct sk_buff *); }; -struct nf_queue_entry; - -struct nf_ipv6_ops { - void (*route_input)(struct sk_buff *); - int (*fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *)); - int (*reroute)(struct sk_buff *, const struct nf_queue_entry *); -}; - -struct nf_log_buf { - unsigned int count; - char buf[1020]; -}; - -struct nf_loginfo; - -typedef void nf_logfn(struct net *, u_int8_t, unsigned int, const struct sk_buff *, const struct net_device *, const struct net_device *, const struct nf_loginfo *, const char *); - -struct nf_logger { - char *name; - enum nf_log_type type; - nf_logfn *logfn; - struct module *me; -}; - -struct nf_loginfo { - u_int8_t type; - union { - struct { - u_int32_t copy_len; - u_int16_t group; - u_int16_t qthreshold; - u_int16_t flags; - } ulog; - struct { - u_int8_t level; - u_int8_t logflags; - } log; - } u; -}; - -struct nf_queue_entry { - struct list_head list; - struct sk_buff *skb; - unsigned int id; - unsigned int hook_index; - struct nf_hook_state state; - u16 size; -}; - -struct nf_queue_handler { - int (*outfn)(struct nf_queue_entry *, unsigned int); - void (*nf_hook_drop)(struct net *); -}; - -struct nf_sockopt_ops { - struct list_head list; - u_int8_t pf; - int set_optmin; - int set_optmax; - int (*set)(struct sock *, int, sockptr_t, unsigned int); - int get_optmin; - int get_optmax; - int (*get)(struct sock *, int, void *, int *); - struct module *owner; -}; - -struct nf_conn; - -struct nfnl_ct_hook { - size_t (*build_size)(const struct nf_conn *); - int (*build)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, u_int16_t, u_int16_t); - int (*parse)(const struct nlattr *, struct nf_conn *); - int (*attach_expect)(const struct nlattr *, struct nf_conn *, u32, u32); - void (*seq_adjust)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, s32); -}; - struct nh_config { u32 nh_id; u8 nh_family; @@ -31144,6 +34004,7 @@ struct nh_config { bool nh_grp_res_has_num_buckets; bool nh_grp_res_has_idle_timer; bool nh_grp_res_has_unbalanced_timer; + bool nh_hw_stats; struct nlattr *nh_encap; u16 nh_encap_type; u32 nlflags; @@ -31157,11 +34018,15 @@ struct nh_dump_filter { bool group_filter; bool fdb_filter; u32 res_bucket_nh_id; + u32 op_flags; }; +struct nh_grp_entry_stats; + struct nh_grp_entry { struct nexthop *nh; - u8 weight; + struct nh_grp_entry_stats *stats; + u16 weight; union { struct { atomic_t upper_bound; @@ -31174,6 +34039,7 @@ struct nh_grp_entry { }; struct list_head nh_list; struct nexthop *nh_parent; + u64 packets_hw; }; struct nh_res_table; @@ -31186,10 +34052,16 @@ struct nh_group { bool resilient; bool fdb_nh; bool has_v4; + bool hw_stats; struct nh_res_table *res_table; struct nh_grp_entry nh_entries[0]; }; +struct nh_grp_entry_stats { + u64_stats_t packets; + struct u64_stats_sync syncp; +}; + struct nh_info { struct hlist_node dev_hash; struct nexthop *nh_parent; @@ -31210,20 +34082,32 @@ struct nh_notifier_single_info { __be32 ipv4; struct in6_addr ipv6; }; + u32 id; u8 is_reject: 1; u8 is_fdb: 1; u8 has_encap: 1; }; struct nh_notifier_grp_entry_info { - u8 weight; - u32 id; + u16 weight; struct nh_notifier_single_info nh; }; +struct nh_notifier_grp_hw_stats_entry_info { + u32 id; + u64 packets; +}; + +struct nh_notifier_grp_hw_stats_info { + u16 num_nh; + bool hw_stats_used; + struct nh_notifier_grp_hw_stats_entry_info stats[0]; +}; + struct nh_notifier_grp_info { u16 num_nh; bool is_fdb; + bool hw_stats; struct nh_notifier_grp_entry_info nh_entries[0]; }; @@ -31241,6 +34125,7 @@ struct nh_notifier_info { struct nh_notifier_grp_info *nh_grp; struct nh_notifier_res_table_info *nh_res_table; struct nh_notifier_res_bucket_info *nh_res_bucket; + struct nh_notifier_grp_hw_stats_info *nh_grp_hw_stats; }; }; @@ -31254,6 +34139,7 @@ struct nh_notifier_res_bucket_info { struct nh_notifier_res_table_info { u16 num_nh_buckets; + bool hw_stats; struct nh_notifier_single_info nhs[0]; }; @@ -31304,8 +34190,8 @@ struct nla_policy { const u32 mask; const char *reject_message; const struct nla_policy *nested_policy; - struct netlink_range_validation *range; - struct netlink_range_validation_signed *range_signed; + const struct netlink_range_validation *range; + const struct netlink_range_validation_signed *range_signed; struct { s16 min; s16 max; @@ -31383,6 +34269,31 @@ struct nsset { const struct cred *cred; }; +struct ntp_data { + long unsigned int tick_usec; + u64 tick_length; + u64 tick_length_base; + int time_state; + int time_status; + s64 time_offset; + long int time_constant; + long int time_maxerror; + long int time_esterror; + s64 time_freq; + time64_t time_reftime; + long int time_adjust; + s64 ntp_tick_adj; + time64_t ntp_next_leap_sec; +}; + +struct objpool_slot { + uint32_t head; + uint32_t tail; + uint32_t last; + uint32_t mask; + void *entries[0]; +}; + struct obs_kernel_param { const char *str; int (*setup_func)(char *); @@ -31390,20 +34301,20 @@ struct obs_kernel_param { }; struct of_bus { - const char *name; - const char *addresses; - int (*match)(struct device_node *); - void (*count_cells)(struct device_node *, int *, int *); + void (*count_cells)(const void *, int, int *, int *); u64 (*map)(__be32 *, const __be32 *, int, int, int); int (*translate)(__be32 *, u64, int); - bool has_flags; - unsigned int (*get_flags)(const __be32 *); }; struct of_bus___2 { - void (*count_cells)(const void *, int, int *, int *); - u64 (*map)(__be32 *, const __be32 *, int, int, int); + const char *name; + const char *addresses; + int (*match)(struct device_node *); + void (*count_cells)(struct device_node *, int *, int *); + u64 (*map)(__be32 *, const __be32 *, int, int, int, int); int (*translate)(__be32 *, u64, int); + int flag_cells; + unsigned int (*get_flags)(const __be32 *); }; struct of_phandle_args; @@ -31451,13 +34362,14 @@ struct of_pci_range { u64 bus_addr; }; u64 cpu_addr; + u64 parent_bus_addr; u64 size; u32 flags; }; struct of_pci_range_parser { struct device_node *node; - struct of_bus *bus; + const struct of_bus___2 *bus; const __be32 *range; const __be32 *end; int na; @@ -31501,15 +34413,14 @@ struct of_timer_clk { struct of_timer_irq { int irq; int index; - int percpu; const char *name; long unsigned int flags; irq_handler_t handler; }; struct offset_ctx { - struct xarray xa; - u32 next_offset; + struct maple_tree mt; + long unsigned int next_offset; }; struct old_timespec32 { @@ -31580,13 +34491,6 @@ struct osnoise_entry { unsigned int thread_count; }; -struct packet_offload { - __be16 type; - u16 priority; - struct offload_callbacks callbacks; - struct list_head list; -}; - struct packet_type { __be16 type; bool ignore_outgoing; @@ -31617,8 +34521,7 @@ struct page_flags_fields { const char *name; }; -struct page_pool_params { - unsigned int flags; +struct page_pool_params_fast { unsigned int order; unsigned int pool_size; int nid; @@ -31627,13 +34530,11 @@ struct page_pool_params { enum dma_data_direction dma_dir; unsigned int max_len; unsigned int offset; - void (*init_callback)(struct page *, void *); - void *init_arg; }; struct pp_alloc_cache { u32 count; - struct page *cache[128]; + netmem_ref cache[128]; }; struct ptr_ring { @@ -31666,12 +34567,31 @@ struct ptr_ring { long: 64; }; +struct page_pool_params_slow { + struct net_device *netdev; + unsigned int queue_idx; + unsigned int flags; + void (*init_callback)(netmem_ref, void *); + void *init_arg; +}; + struct page_pool { - struct page_pool_params p; + struct page_pool_params_fast p; + int cpuid; + u32 pages_state_hold_cnt; + bool has_init_callback: 1; + bool dma_map: 1; + bool dma_sync: 1; + bool dma_sync_for_cpu: 1; + long: 0; + __u8 __cacheline_group_begin__frag[0]; long int frag_users; - struct page *frag_page; + netmem_ref frag_page; unsigned int frag_offset; - u32 pages_state_hold_cnt; + long: 0; + __u8 __cacheline_group_end__frag[0]; + long: 64; + struct {} __cacheline_group_pad__frag; struct delayed_work release_dw; void (*disconnect)(void *); long unsigned int defer_start; @@ -31682,7 +34602,6 @@ struct page_pool { long: 64; long: 64; long: 64; - long: 64; struct pp_alloc_cache alloc; long: 64; long: 64; @@ -31692,15 +34611,52 @@ struct page_pool { long: 64; long: 64; struct ptr_ring ring; + void *mp_priv; atomic_t pages_state_release_cnt; refcount_t user_cnt; u64 destroy_cnt; + struct page_pool_params_slow slow; + struct { + struct hlist_node list; + u64 detach_time; + u32 id; + } user; long: 64; long: 64; long: 64; long: 64; long: 64; - long: 64; +}; + +struct page_pool_dump_cb { + long unsigned int ifindex; + u32 pp_id; +}; + +struct page_pool_params { + union { + struct { + unsigned int order; + unsigned int pool_size; + int nid; + struct device *dev; + struct napi_struct *napi; + enum dma_data_direction dma_dir; + unsigned int max_len; + unsigned int offset; + }; + struct page_pool_params_fast fast; + }; + union { + struct { + struct net_device *netdev; + unsigned int queue_idx; + unsigned int flags; + void (*init_callback)(netmem_ref, void *); + void *init_arg; + }; + struct page_pool_params_slow slow; + }; }; struct page_vma_mapped_walk { @@ -31721,9 +34677,9 @@ struct pages_devres { }; struct partial_context { - struct slab **slab; gfp_t flags; unsigned int orig_size; + void *object; }; struct partial_page { @@ -31800,6 +34756,8 @@ struct pci_vpd { u8 cap; }; +struct pcie_bwctrl_data; + struct pci_slot; struct pci_driver; @@ -31833,9 +34791,11 @@ struct pci_dev { struct device_dma_parameters dma_parms; pci_power_t current_state; u8 pm_cap; - unsigned int imm_ready: 1; unsigned int pme_support: 5; unsigned int pme_poll: 1; + unsigned int pinned: 1; + unsigned int config_rrs_sv: 1; + unsigned int imm_ready: 1; unsigned int d1_support: 1; unsigned int d2_support: 1; unsigned int no_d1d2: 1; @@ -31850,8 +34810,9 @@ struct pci_dev { unsigned int clear_retrain_link: 1; unsigned int d3hot_delay; unsigned int d3cold_delay; + u16 l1ss; unsigned int pasid_no_tlp: 1; - unsigned int eetlp_prefix_path: 1; + unsigned int eetlp_prefix_max: 3; pci_channel_state_t error_state; struct device dev; int cfg_size; @@ -31876,6 +34837,7 @@ struct pci_dev { unsigned int ats_enabled: 1; unsigned int pasid_enabled: 1; unsigned int pri_enabled: 1; + unsigned int tph_enabled: 1; unsigned int is_managed: 1; unsigned int is_msi_managed: 1; unsigned int needs_freset: 1; @@ -31905,12 +34867,14 @@ struct pci_dev { struct bin_attribute *res_attr[11]; struct bin_attribute *res_attr_wc[11]; struct pci_vpd vpd; + struct pcie_bwctrl_data *link_bwctrl; u16 acs_cap; + u8 supported_speeds; phys_addr_t rom; size_t romlen; const char *driver_override; long unsigned int priv_flags; - u8 reset_methods[7]; + u8 reset_methods[8]; }; struct pci_device_id { @@ -31932,7 +34896,6 @@ struct pci_dynids { struct pci_error_handlers; struct pci_driver { - struct list_head node; const char *name; const struct pci_device_id *id_table; int (*probe)(struct pci_dev *, const struct pci_device_id *); @@ -32034,6 +34997,18 @@ struct pcpu_chunk { long: 64; }; +struct pcpu_dstats { + u64_stats_t rx_packets; + u64_stats_t rx_bytes; + u64_stats_t tx_packets; + u64_stats_t tx_bytes; + u64_stats_t rx_drops; + u64_stats_t tx_drops; + struct u64_stats_sync syncp; + long: 64; + long: 64; +}; + struct pcpu_gen_cookie { local_t nesting; u64 last; @@ -32057,21 +35032,24 @@ struct pdev_archdata {}; struct per_cpu_nodestat { s8 stat_threshold; - s8 vm_node_stat_diff[40]; + s8 vm_node_stat_diff[43]; }; struct per_cpu_pages { spinlock_t lock; int count; int high; + int high_min; + int high_max; int batch; - short int free_factor; + u8 flags; + u8 alloc_factor; + short int free_count; struct list_head lists[12]; long: 64; long: 64; long: 64; long: 64; - long: 64; }; struct per_cpu_zonestat { @@ -32079,15 +35057,9 @@ struct per_cpu_zonestat { s8 stat_threshold; }; -struct swap_cluster_info { - spinlock_t lock; - unsigned int data: 24; - unsigned int flags: 8; -}; - struct percpu_cluster { - struct swap_cluster_info index; - unsigned int next; + local_lock_t lock; + unsigned int next[1]; }; struct percpu_free_defer { @@ -32218,6 +35190,7 @@ struct perf_buffer { atomic_t mmap_count; long unsigned int mmap_locked; struct user_struct *mmap_user; + struct mutex aux_mutex; long int aux_head; unsigned int aux_nest; long int aux_wakeup; @@ -32229,6 +35202,7 @@ struct perf_buffer { void (*free_aux)(void *); refcount_t aux_refcount; int aux_in_sampling; + int aux_in_pause_resume; void **aux_pages; void *aux_priv; struct perf_event_mmap_page *user_page; @@ -32288,7 +35262,7 @@ struct perf_event_context { u64 generation; int pin_count; struct callback_head callback_head; - local_t nr_pending; + local_t nr_no_switch_fast; }; struct perf_cpu_context { @@ -32308,6 +35282,8 @@ struct perf_event_pmu_context { struct list_head flexible_active; unsigned int embedded: 1; unsigned int nr_events; + unsigned int nr_cgroups; + unsigned int nr_freq; atomic_t refcount; struct callback_head callback_head; void *task_ctx_data; @@ -32407,7 +35383,15 @@ struct perf_event_attr { __u16 sample_max_stack; __u16 __reserved_2; __u32 aux_sample_size; - __u32 __reserved_3; + union { + __u32 aux_action; + struct { + __u32 aux_start_paused: 1; + __u32 aux_pause: 1; + __u32 aux_resume: 1; + __u32 __reserved_3: 29; + }; + }; __u64 sig_data; __u64 config3; }; @@ -32465,11 +35449,12 @@ struct perf_event { unsigned int pending_wakeup; unsigned int pending_kill; unsigned int pending_disable; - unsigned int pending_sigtrap; long unsigned int pending_addr; struct irq_work pending_irq; + struct irq_work pending_disable_irq; struct callback_head pending_task; unsigned int pending_work; + struct rcuwait pending_work_wait; atomic_t event_limit; struct perf_addr_filters_head addr_filters; struct perf_addr_filter_range *addr_filter_ranges; @@ -32480,10 +35465,9 @@ struct perf_event { struct pid_namespace *ns; u64 id; atomic64_t lost_samples; - u64 (*clock)(); + u64 (*clock)(void); perf_overflow_handler_t overflow_handler; void *overflow_handler_context; - perf_overflow_handler_t orig_overflow_handler; struct bpf_prog *prog; u64 bpf_cookie; struct trace_event_call *tp_event; @@ -32493,6 +35477,13 @@ struct perf_event { __u32 orig_type; }; +struct perf_event_min_heap { + size_t nr; + size_t size; + struct perf_event **data; + struct perf_event *preallocated[0]; +}; + struct perf_event_mmap_page { __u32 version; __u32 compat_version; @@ -32678,8 +35669,9 @@ struct pernet_operations { void (*pre_exit)(struct net *); void (*exit)(struct net *); void (*exit_batch)(struct list_head *); - unsigned int *id; - size_t size; + void (*exit_batch_rtnl)(struct list_head *, struct list_head *); + unsigned int * const id; + const size_t size; }; struct skb_array { @@ -32694,11 +35686,13 @@ struct zone { long unsigned int _watermark[4]; long unsigned int watermark_boost; long unsigned int nr_reserved_highatomic; + long unsigned int nr_free_highatomic; long int lowmem_reserve[2]; struct pglist_data *zone_pgdat; struct per_cpu_pages *per_cpu_pageset; struct per_cpu_zonestat *per_cpu_zonestats; - int pageset_high; + int pageset_high_min; + int pageset_high_max; int pageset_batch; long unsigned int zone_start_pfn; atomic_long_t managed_pages; @@ -32710,8 +35704,6 @@ struct zone { long: 64; long: 64; long: 64; - long: 64; - long: 64; struct cacheline_padding _pad1_; struct free_area free_area[11]; long unsigned int flags; @@ -32782,10 +35774,7 @@ struct pglist_data { long: 64; struct cacheline_padding _pad2_; struct per_cpu_nodestat *per_cpu_nodestats; - atomic_long_t vm_stat[40]; - long: 64; - long: 64; - long: 64; + atomic_long_t vm_stat[43]; long: 64; long: 64; long: 64; @@ -32812,8 +35801,9 @@ struct phy_driver; struct phy_device { struct mdio_device mdio; - struct phy_driver *drv; + const struct phy_driver *drv; struct device_link *devlink; + u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned int is_c45: 1; @@ -32835,10 +35825,12 @@ struct phy_device { unsigned int interrupts: 1; unsigned int irq_suspended: 1; unsigned int irq_rerun: 1; + unsigned int default_timestamp: 1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; + long unsigned int possible_interfaces[1]; int speed; int duplex; int port; @@ -32853,9 +35845,11 @@ struct phy_device { long unsigned int adv_old[2]; long unsigned int supported_eee[2]; long unsigned int advertising_eee[2]; - bool eee_enabled; + long unsigned int eee_broken_modes[2]; + bool enable_tx_lpi; + bool eee_active; + struct eee_config eee_cfg; long unsigned int host_interfaces[1]; - u32 eee_broken_modes; struct list_head leds; int irq; void *priv; @@ -32879,6 +35873,16 @@ struct phy_device { void (*adjust_link)(struct net_device *); }; +struct phy_device_node { + enum phy_upstream upstream_type; + union { + struct net_device *netdev; + struct phy_device *phydev; + } upstream; + struct sfp_bus *parent_sfp_bus; + struct phy_device *phy; +}; + struct phy_driver { struct mdio_driver_common mdiodrv; u32 phy_id; @@ -32891,6 +35895,8 @@ struct phy_driver { int (*config_init)(struct phy_device *); int (*probe)(struct phy_device *); int (*get_features)(struct phy_device *); + unsigned int (*inband_caps)(struct phy_device *, phy_interface_t); + int (*config_inband)(struct phy_device *, unsigned int); int (*get_rate_matching)(struct phy_device *, phy_interface_t); int (*suspend)(struct phy_device *); int (*resume)(struct phy_device *); @@ -32913,6 +35919,9 @@ struct phy_driver { int (*cable_test_start)(struct phy_device *); int (*cable_test_tdr_start)(struct phy_device *, const struct phy_tdr_config *); int (*cable_test_get_status)(struct phy_device *, bool *); + void (*get_phy_stats)(struct phy_device *, struct ethtool_eth_phy_stats *, struct ethtool_phy_stats *); + void (*get_link_stats)(struct phy_device *, struct ethtool_link_ext_stats *); + int (*update_stats)(struct phy_device *); int (*get_sset_count)(struct phy_device *); void (*get_strings)(struct phy_device *, u8 *); void (*get_stats)(struct phy_device *, struct ethtool_stats *, u64 *); @@ -32929,10 +35938,17 @@ struct phy_driver { int (*led_hw_is_supported)(struct phy_device *, u8, long unsigned int); int (*led_hw_control_set)(struct phy_device *, u8, long unsigned int); int (*led_hw_control_get)(struct phy_device *, u8, long unsigned int *); + int (*led_polarity_set)(struct phy_device *, int, long unsigned int); +}; + +struct phy_link_topology { + struct xarray phys; + u32 next_phy_index; }; struct phy_package_shared { - int addr; + u8 base_addr; + struct device_node *np; refcount_t refcnt; long unsigned int flags; size_t priv_size; @@ -32953,6 +35969,11 @@ struct phy_plca_status { bool pst; }; +struct phy_req_info { + struct ethnl_req_info base; + struct phy_device_node *pdn; +}; + struct phy_tdr_config { u32 first; u32 last; @@ -32969,6 +35990,9 @@ struct pid { refcount_t count; unsigned int level; spinlock_t lock; + struct dentry *stashed; + u64 ino; + struct rb_node pidfs_node; struct hlist_head tasks[4]; struct hlist_head inodes; wait_queue_head_t wait_pidfd; @@ -32983,11 +36007,30 @@ struct pid_namespace { struct task_struct *child_reaper; struct kmem_cache *pid_cachep; unsigned int level; + int pid_max; struct pid_namespace *parent; struct user_namespace *user_ns; struct ucounts *ucounts; int reboot; struct ns_common ns; + struct work_struct work; +}; + +struct pidfd_info { + __u64 mask; + __u64 cgroupid; + __u32 pid; + __u32 tgid; + __u32 ppid; + __u32 ruid; + __u32 rgid; + __u32 euid; + __u32 egid; + __u32 suid; + __u32 sgid; + __u32 fsuid; + __u32 fsgid; + __u32 spare0[1]; }; struct ping_table { @@ -33029,12 +36072,25 @@ struct pipe_buffer { long unsigned int private; }; +union pipe_index { + long unsigned int head_tail; + struct { + pipe_index_t head; + pipe_index_t tail; + }; +}; + struct pipe_inode_info { struct mutex mutex; wait_queue_head_t rd_wait; wait_queue_head_t wr_wait; - unsigned int head; - unsigned int tail; + union { + long unsigned int head_tail; + struct { + pipe_index_t head; + pipe_index_t tail; + }; + }; unsigned int max_usage; unsigned int ring_size; unsigned int nr_accounted; @@ -33051,6 +36107,11 @@ struct pipe_inode_info { struct user_struct *user; }; +struct pipe_wait { + struct trace_iterator *iter; + int wait_index; +}; + struct mfd_cell; struct platform_device_id; @@ -33093,8 +36154,7 @@ struct platform_device_info { struct platform_driver { int (*probe)(struct platform_device *); - int (*remove)(struct platform_device *); - void (*remove_new)(struct platform_device *); + void (*remove)(struct platform_device *); void (*shutdown)(struct platform_device *); int (*suspend)(struct platform_device *, pm_message_t); int (*resume)(struct platform_device *); @@ -33104,16 +36164,6 @@ struct platform_driver { bool driver_managed_dma; }; -typedef void (*irq_write_msi_msg_t)(struct msi_desc *, struct msi_msg *); - -struct platform_msi_priv_data { - struct device *dev; - void *host_data; - msi_alloc_info_t arg; - irq_write_msi_msg_t write_msg; - int devid; -}; - struct platform_object { struct platform_device pdev; char name[0]; @@ -33122,14 +36172,14 @@ struct platform_object { struct platform_suspend_ops { int (*valid)(suspend_state_t); int (*begin)(suspend_state_t); - int (*prepare)(); - int (*prepare_late)(); + int (*prepare)(void); + int (*prepare_late)(void); int (*enter)(suspend_state_t); - void (*wake)(); - void (*finish)(); - bool (*suspend_again)(); - void (*end)(); - void (*recover)(); + void (*wake)(void); + void (*finish)(void); + bool (*suspend_again)(void); + void (*end)(void); + void (*recover)(void); }; struct plca_reply_data { @@ -33161,9 +36211,8 @@ struct pmu_event_list { }; struct pmu_hw_events { - struct perf_event *events[32]; + struct perf_event *events[33]; long unsigned int used_mask[1]; - raw_spinlock_t pmu_lock; struct arm_pmu *percpu_pmu; int irq; }; @@ -33192,6 +36241,11 @@ struct pneigh_entry { u32 key[0]; }; +struct poe_context { + struct _aarch64_ctx head; + __u64 por_el0; +}; + struct pollfd { int fd; short int events; @@ -33200,10 +36254,23 @@ struct pollfd { struct poll_list { struct poll_list *next; - int len; + unsigned int len; struct pollfd entries[0]; }; +struct wait_queue_entry; + +typedef int (*wait_queue_func_t)(struct wait_queue_entry *, unsigned int, int, void *); + +struct wait_queue_entry { + unsigned int flags; + void *private; + wait_queue_func_t func; + struct list_head entry; +}; + +typedef struct wait_queue_entry wait_queue_entry_t; + struct poll_table_entry { struct file *filp; __poll_t key; @@ -33245,9 +36312,10 @@ struct pool_workqueue { int flush_color; int refcnt; int nr_in_flight[16]; + bool plugged; int nr_active; - int max_active; struct list_head inactive_works; + struct list_head pending_node; struct list_head pwqs_node; struct list_head mayday_node; u64 stats[8]; @@ -33281,8 +36349,6 @@ struct pool_workqueue { long: 64; long: 64; long: 64; - long: 64; - long: 64; }; struct port_identity { @@ -33301,8 +36367,8 @@ struct posix_acl_entry { struct posix_acl { refcount_t a_refcount; - struct callback_head a_rcu; unsigned int a_count; + struct callback_head a_rcu; struct posix_acl_entry a_entries[0]; }; @@ -33325,10 +36391,13 @@ struct power_supply { struct delayed_work deferred_register_work; spinlock_t changed_lock; bool changed; + bool update_groups; bool initialized; bool removing; atomic_t use_cnt; struct power_supply_battery_info *battery_info; + struct rw_semaphore extensions_sem; + struct list_head extensions; }; struct power_supply_maintenance_charge_table; @@ -33353,7 +36422,7 @@ struct power_supply_battery_info { int overvoltage_limit_uv; int constant_charge_current_max_ua; int constant_charge_voltage_max_uv; - struct power_supply_maintenance_charge_table *maintenance_charge; + const struct power_supply_maintenance_charge_table *maintenance_charge; int maintenance_charge_size; int alert_low_temp_charge_current_ua; int alert_low_temp_charge_voltage_uv; @@ -33368,13 +36437,13 @@ struct power_supply_battery_info { int temp_alert_max; int temp_min; int temp_max; - struct power_supply_battery_ocv_table *ocv_table[20]; + const struct power_supply_battery_ocv_table *ocv_table[20]; int ocv_table_size[20]; - struct power_supply_resistance_temp_table *resist_table; + const struct power_supply_resistance_temp_table *resist_table; int resist_table_size; - struct power_supply_vbat_ri_table *vbat2ri_discharging; + const struct power_supply_vbat_ri_table *vbat2ri_discharging; int vbat2ri_discharging_size; - struct power_supply_vbat_ri_table *vbat2ri_charging; + const struct power_supply_vbat_ri_table *vbat2ri_charging; int vbat2ri_charging_size; int bti_resistance_ohm; int bti_resistance_tolerance; @@ -33392,6 +36461,7 @@ struct power_supply_config { const struct attribute_group **attr_grp; char **supplied_to; size_t num_supplicants; + bool no_wakeup_source; }; union power_supply_propval; @@ -33399,8 +36469,9 @@ union power_supply_propval; struct power_supply_desc { const char *name; enum power_supply_type type; - const enum power_supply_usb_type *usb_types; - size_t num_usb_types; + u8 charge_behaviours; + u32 charge_types; + u32 usb_types; const enum power_supply_property *properties; size_t num_properties; int (*get_property)(struct power_supply *, enum power_supply_property, union power_supply_propval *); @@ -33412,6 +36483,23 @@ struct power_supply_desc { int use_for_apm; }; +struct power_supply_ext { + const char * const name; + u8 charge_behaviours; + const enum power_supply_property *properties; + size_t num_properties; + int (*get_property)(struct power_supply *, const struct power_supply_ext *, void *, enum power_supply_property, union power_supply_propval *); + int (*set_property)(struct power_supply *, const struct power_supply_ext *, void *, enum power_supply_property, const union power_supply_propval *); + int (*property_is_writeable)(struct power_supply *, const struct power_supply_ext *, void *, enum power_supply_property); +}; + +struct power_supply_ext_registration { + struct list_head list_head; + const struct power_supply_ext *ext; + struct device *dev; + void *data; +}; + struct power_supply_maintenance_charge_table { int charge_current_max_ua; int charge_voltage_max_uv; @@ -33488,9 +36576,16 @@ struct prefix_info { __u8 type; __u8 length; __u8 prefix_len; - __u8 reserved: 6; - __u8 autoconf: 1; - __u8 onlink: 1; + union { + __u8 flags; + struct { + __u8 reserved: 4; + __u8 preferpd: 1; + __u8 routeraddr: 1; + __u8 autoconf: 1; + __u8 onlink: 1; + }; + }; __be32 valid; __be32 prefered; __be32 reserved2; @@ -33526,11 +36621,10 @@ struct print_entry { }; struct printf_spec { - unsigned int type: 8; - int field_width: 24; - unsigned int flags: 8; - unsigned int base: 8; - int precision: 16; + unsigned char flags; + unsigned char base; + short int precision; + int field_width; }; struct printk_buffers { @@ -33538,30 +36632,6 @@ struct printk_buffers { char scratchbuf[0]; }; -struct printk_info { - u64 seq; - u64 ts_nsec; - u16 text_len; - u8 facility; - u8 flags: 5; - u8 level: 3; - u32 caller_id; - struct dev_printk_info dev_info; -}; - -struct printk_message { - struct printk_buffers *pbufs; - unsigned int outbuf_len; - u64 seq; - long unsigned int dropped; -}; - -struct printk_record { - struct printk_info *info; - char *text_buf; - unsigned int text_buf_size; -}; - struct privflags_reply_data { struct ethnl_reply_data base; const char (*priv_flag_names)[32]; @@ -33592,6 +36662,11 @@ struct probe_arg { const struct fetch_type *type; }; +struct probe_entry_arg { + struct fetch_insn *code; + unsigned int size; +}; + struct proc_ns_operations { const char *name; const char *real_ns_name; @@ -33676,6 +36751,8 @@ struct property_entry { struct smc_hashinfo; +struct proto_accept_arg; + struct sk_psock; struct timewait_sock_ops; @@ -33687,7 +36764,7 @@ struct proto { int (*pre_connect)(struct sock *, struct sockaddr *, int); int (*connect)(struct sock *, struct sockaddr *, int); int (*disconnect)(struct sock *, int); - struct sock * (*accept)(struct sock *, int, int *, bool); + struct sock * (*accept)(struct sock *, struct proto_accept_arg *); int (*ioctl)(struct sock *, int, int *); int (*init)(struct sock *); void (*destroy)(struct sock *); @@ -33745,6 +36822,13 @@ struct proto { int (*diag_destroy)(struct sock *, int); }; +struct proto_accept_arg { + int flags; + int err; + int is_empty; + bool kern; +}; + typedef int (*sk_read_actor_t)(read_descriptor_t *, struct sk_buff *, unsigned int, size_t); typedef int (*skb_read_actor_t)(struct sock *, struct sk_buff *); @@ -33756,7 +36840,7 @@ struct proto_ops { int (*bind)(struct socket *, struct sockaddr *, int); int (*connect)(struct socket *, struct sockaddr *, int, int); int (*socketpair)(struct socket *, struct socket *); - int (*accept)(struct socket *, struct socket *, int, bool); + int (*accept)(struct socket *, struct socket *, struct proto_accept_arg *); int (*getname)(struct socket *, struct sockaddr *, int); __poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *); int (*ioctl)(struct socket *, unsigned int, long unsigned int); @@ -33802,27 +36886,23 @@ struct psci_0_1_function_ids { }; struct psci_operations { - u32 (*get_version)(); + u32 (*get_version)(void); int (*cpu_suspend)(u32, long unsigned int); int (*cpu_off)(u32); int (*cpu_on)(long unsigned int, long unsigned int); int (*migrate)(long unsigned int); int (*affinity_info)(long unsigned int, long unsigned int); - int (*migrate_info_type)(); + int (*migrate_info_type)(void); }; struct pse_control_config { - enum ethtool_podl_pse_admin_state admin_cotrol; -}; - -struct pse_control_status { - enum ethtool_podl_pse_admin_state podl_admin_state; - enum ethtool_podl_pse_pw_d_status podl_pw_status; + enum ethtool_podl_pse_admin_state podl_admin_control; + enum ethtool_c33_pse_admin_state c33_admin_control; }; struct pse_reply_data { struct ethnl_reply_data base; - struct pse_control_status status; + struct ethtool_pse_control_status status; }; struct super_operations; @@ -33831,7 +36911,8 @@ struct xattr_handler; struct pseudo_fs_context { const struct super_operations *ops; - const struct xattr_handler **xattr; + const struct export_operations *eops; + const struct xattr_handler * const *xattr; const struct dentry_operations *dops; long unsigned int magic; }; @@ -33841,6 +36922,11 @@ struct psy_am_i_supplied_data { unsigned int count; }; +struct psy_for_each_psy_cb_data { + int (*fn)(struct power_supply *, void *); + void *data; +}; + struct psy_get_supplier_prop_data { struct power_supply *psy; enum power_supply_property psp; @@ -33864,6 +36950,7 @@ struct ptdesc { }; long unsigned int __page_mapping; union { + long unsigned int pt_index; struct mm_struct *pt_mm; atomic_t pt_frag_refcount; }; @@ -33872,7 +36959,7 @@ struct ptdesc { spinlock_t ptl; }; unsigned int __page_type; - atomic_t _refcount; + atomic_t __page_refcount; }; struct ptp_header { @@ -33998,7 +37085,8 @@ struct qnode { }; struct queue_limits { - enum blk_bounce bounce; + blk_features_t features; + blk_flags_t flags; long unsigned int seg_boundary_mask; long unsigned int virt_boundary_mask; unsigned int max_hw_sectors; @@ -34007,6 +37095,7 @@ struct queue_limits { unsigned int max_sectors; unsigned int max_user_sectors; unsigned int max_segment_size; + unsigned int min_segment_size; unsigned int physical_block_size; unsigned int logical_block_size; unsigned int alignment_offset; @@ -34014,20 +37103,30 @@ struct queue_limits { unsigned int io_opt; unsigned int max_discard_sectors; unsigned int max_hw_discard_sectors; + unsigned int max_user_discard_sectors; unsigned int max_secure_erase_sectors; unsigned int max_write_zeroes_sectors; + unsigned int max_hw_zone_append_sectors; unsigned int max_zone_append_sectors; unsigned int discard_granularity; unsigned int discard_alignment; unsigned int zone_write_granularity; + unsigned int atomic_write_hw_max; + unsigned int atomic_write_max_sectors; + unsigned int atomic_write_hw_boundary; + unsigned int atomic_write_boundary_sectors; + unsigned int atomic_write_hw_unit_min; + unsigned int atomic_write_unit_min; + unsigned int atomic_write_hw_unit_max; + unsigned int atomic_write_unit_max; short unsigned int max_segments; short unsigned int max_integrity_segments; short unsigned int max_discard_segments; - unsigned char misaligned; - unsigned char discard_misaligned; - unsigned char raid_partial_stripes_expensive; - enum blk_zoned_model zoned; + unsigned int max_open_zones; + unsigned int max_active_zones; unsigned int dma_alignment; + unsigned int dma_pad_mask; + struct blk_integrity integrity; }; struct quota_format_ops { @@ -34099,6 +37198,14 @@ struct ramfs_fs_info { struct ramfs_mount_opts mount_opts; }; +struct range_node { + struct rb_node rn_rbnode; + struct rb_node rb_range_size; + u32 rn_start; + u32 rn_last; + u32 __rn_subtree_last; +}; + struct rate_sample { u64 prior_mstamp; u32 prior_delivered; @@ -34124,8 +37231,8 @@ struct ratelimit_state { int burst; int printed; int missed; + unsigned int flags; long unsigned int begin; - long unsigned int flags; }; struct raw6_frag_vec { @@ -34196,18 +37303,29 @@ struct rb_irq_work { struct irq_work work; wait_queue_head_t waiters; wait_queue_head_t full_waiters; - long int wait_index; + atomic_t seq; bool waiters_pending; bool full_waiters_pending; bool wakeup_full; }; +struct rb_list { + struct rb_root root; + struct list_head head; + spinlock_t lock; +}; + struct rb_time_struct { local64_t time; }; typedef struct rb_time_struct rb_time_t; +struct rb_wait_data { + struct rb_irq_work *irq_work; + int seq; +}; + struct rcu_cblist { struct callback_head *head; struct callback_head **tail; @@ -34263,14 +37381,14 @@ struct rcu_data { long unsigned int n_cbs_invoked; long unsigned int n_force_qs_snap; long int blimit; - int dynticks_snap; + int watching_snap; bool rcu_need_heavy_qs; bool rcu_urgent_qs; bool rcu_forced_tick; bool rcu_forced_tick_exp; long unsigned int barrier_seq_snap; struct callback_head barrier_head; - int exp_dynticks_snap; + int exp_watching_snap; struct task_struct *rcu_cpu_kthread_task; unsigned int rcu_cpu_kthread_status; char rcu_cpu_has_work; @@ -34280,9 +37398,9 @@ struct rcu_data { bool rcu_iw_pending; long unsigned int rcu_iw_gp_seq; long unsigned int rcu_ofl_gp_seq; - short int rcu_ofl_gp_flags; + short int rcu_ofl_gp_state; long unsigned int rcu_onl_gp_seq; - short int rcu_onl_gp_flags; + short int rcu_onl_gp_state; long unsigned int last_fqs_resched; long unsigned int last_sched_clock; struct rcu_snap_record snap_record; @@ -34292,7 +37410,7 @@ struct rcu_data { struct rcu_exp_work { long unsigned int rew_s; - struct work_struct rew_work; + struct kthread_work rew_work; }; struct rt_mutex_base { @@ -34317,6 +37435,7 @@ struct rcu_node { long unsigned int expmask; long unsigned int expmaskinit; long unsigned int expmaskinitnext; + struct kthread_worker *exp_kworker; long unsigned int cbovldmask; long unsigned int ffmask; long unsigned int grpmask; @@ -34332,7 +37451,7 @@ struct rcu_node { struct list_head *boost_tasks; struct rt_mutex boost_mtx; long unsigned int boost_time; - struct mutex boost_kthread_mutex; + struct mutex kthread_mutex; struct task_struct *boost_kthread_task; unsigned int boost_kthread_status; long unsigned int n_boosts; @@ -34341,7 +37460,6 @@ struct rcu_node { long: 64; long: 64; long: 64; - long: 64; raw_spinlock_t fqslock; long: 64; long: 64; @@ -34364,7 +37482,6 @@ struct rcu_node { long: 64; long: 64; long: 64; - long: 64; }; union rcu_special { @@ -34377,8 +37494,13 @@ union rcu_special { u32 s; }; +struct sr_wait_node { + atomic_t inuse; + struct llist_node node; +}; + struct rcu_state { - struct rcu_node node[17]; + struct rcu_node node[33]; struct rcu_node *level[3]; int ncpus; int n_online_cpus; @@ -34418,6 +37540,7 @@ struct rcu_state { long unsigned int gp_activity; long unsigned int gp_req_activity; long unsigned int jiffies_stall; + int nr_fqs_jiffies_stall; long unsigned int jiffies_resched; long unsigned int n_force_qs_gpstart; const char *name; @@ -34428,11 +37551,13 @@ struct rcu_state { long: 64; long: 64; long: 64; - long: 64; arch_spinlock_t ofl_lock; - int nocb_is_setup; - long: 64; - long: 64; + struct llist_head srs_next; + struct llist_node *srs_wait_tail; + struct llist_node *srs_done_tail; + struct sr_wait_node srs_wait_nodes[5]; + struct work_struct srs_cleanup_work; + atomic_t srs_cleanups_pending; long: 64; long: 64; long: 64; @@ -34486,7 +37611,9 @@ struct rcu_tasks { holdouts_func_t holdouts_func; postgp_func_t postgp_func; call_rcu_func_t call_func; + unsigned int wait_state; struct rcu_tasks_percpu *rtpcpu; + struct rcu_tasks_percpu **rtpcp_array; int percpu_enqueue_shift; int percpu_enqueue_lim; int percpu_dequeue_lim; @@ -34495,6 +37622,7 @@ struct rcu_tasks { atomic_t barrier_q_count; struct completion barrier_q_completion; long unsigned int barrier_q_seq; + long unsigned int barrier_q_start; char *name; char *kname; }; @@ -34510,7 +37638,9 @@ struct rcu_tasks_percpu { struct irq_work rtp_irq_work; struct callback_head barrier_q_head; struct list_head rtp_blkd_tasks; + struct list_head rtp_exit_list; int cpu; + int index; struct rcu_tasks *rtpp; }; @@ -34528,10 +37658,25 @@ struct readahead_control { long unsigned int _index; unsigned int _nr_pages; unsigned int _batch_count; + bool dropbehind; bool _workingset; long unsigned int _pflags; }; +struct realm_config { + union { + struct { + long unsigned int ipa_bits; + long unsigned int hash_algo; + }; + u8 pad[512]; + }; + union { + u8 rpv[64]; + u8 pad2[3584]; + }; +}; + struct reciprocal_value_adv { u32 m; u8 sh; @@ -34550,6 +37695,7 @@ struct reclaim_stat { unsigned int nr_ref_keep; unsigned int nr_unmap_fail; unsigned int nr_lazyfree_fail; + unsigned int nr_demoted; }; struct reclaim_state { @@ -34612,14 +37758,14 @@ struct renamedata { struct elevator_queue; -struct blk_queue_stats; - -struct rq_qos; - struct blk_mq_ops; struct blk_mq_ctx; +struct blk_queue_stats; + +struct rq_qos; + struct blk_mq_tags; struct blk_flush_queue; @@ -34627,57 +37773,58 @@ struct blk_flush_queue; struct blk_mq_tag_set; struct request_queue { - struct request *last_merge; + void *queuedata; struct elevator_queue *elevator; - struct percpu_ref q_usage_counter; - struct blk_queue_stats *stats; - struct rq_qos *rq_qos; - struct mutex rq_qos_mutex; const struct blk_mq_ops *mq_ops; struct blk_mq_ctx *queue_ctx; + long unsigned int queue_flags; + unsigned int rq_timeout; unsigned int queue_depth; - struct xarray hctx_table; + refcount_t refs; unsigned int nr_hw_queues; - void *queuedata; - long unsigned int queue_flags; - atomic_t pm_only; - int id; + struct xarray hctx_table; + struct percpu_ref q_usage_counter; + struct lock_class_key io_lock_cls_key; + struct lockdep_map io_lockdep_map; + struct lock_class_key q_lock_cls_key; + struct lockdep_map q_lockdep_map; + struct request *last_merge; spinlock_t queue_lock; + int quiesce_depth; struct gendisk *disk; - refcount_t refs; struct kobject *mq_kobj; + struct queue_limits limits; + atomic_t pm_only; + struct blk_queue_stats *stats; + struct rq_qos *rq_qos; + struct mutex rq_qos_mutex; + int id; long unsigned int nr_requests; - unsigned int dma_pad_mask; - unsigned int rq_timeout; struct timer_list timeout; struct work_struct timeout_work; atomic_t nr_active_requests_shared_tags; struct blk_mq_tags *sched_shared_tags; struct list_head icq_list; - struct queue_limits limits; - unsigned int required_elevator_features; int node; - struct blk_flush_queue *fq; - struct list_head flush_list; - struct list_head requeue_list; spinlock_t requeue_lock; + struct list_head requeue_list; struct delayed_work requeue_work; + struct blk_flush_queue *fq; + struct list_head flush_list; struct mutex sysfs_lock; - struct mutex sysfs_dir_lock; + struct mutex limits_lock; struct list_head unused_hctx_list; spinlock_t unused_hctx_lock; int mq_freeze_depth; struct callback_head callback_head; wait_queue_head_t mq_freeze_wq; struct mutex mq_freeze_lock; - int quiesce_depth; struct blk_mq_tag_set *tag_set; struct list_head tag_set_list; struct dentry *debugfs_dir; struct dentry *sched_debugfs_dir; struct dentry *rqos_debugfs_dir; struct mutex debugfs_mutex; - bool mq_sysfs_init_done; }; struct request_sock__safe_rcu_or_null { @@ -34691,17 +37838,22 @@ struct request_sock_ops { char *slab_name; int (*rtx_syn_ack)(const struct sock *, struct request_sock *); void (*send_ack)(const struct sock *, struct sk_buff *, struct request_sock *); - void (*send_reset)(const struct sock *, struct sk_buff *); + void (*send_reset)(const struct sock *, struct sk_buff *, enum sk_rst_reason); void (*destructor)(struct request_sock *); void (*syn_ack_timeout)(const struct request_sock *); }; +struct reserve_mem_table { + char name[16]; + phys_addr_t start; + phys_addr_t size; +}; + struct reserved_mem_ops; struct reserved_mem { const char *name; long unsigned int fdt_node; - long unsigned int phandle; const struct reserved_mem_ops *ops; phys_addr_t base; phys_addr_t size; @@ -34713,11 +37865,13 @@ struct reserved_mem_ops { void (*device_release)(struct reserved_mem *, struct device *); }; +typedef resource_size_t (*resource_alignf)(void *, const struct resource *, resource_size_t, resource_size_t); + struct resource_constraint { resource_size_t min; resource_size_t max; resource_size_t align; - resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t); + resource_alignf alignf; void *alignf_data; }; @@ -34764,13 +37918,26 @@ struct return_address_data { void *addr; }; +struct return_consumer { + __u64 cookie; + __u64 id; +}; + struct return_instance { - struct uprobe *uprobe; + struct hprobe hprobe; long unsigned int func; long unsigned int stack; long unsigned int orig_ret_vaddr; bool chained; + int cons_cnt; struct return_instance *next; + struct callback_head rcu; + struct return_consumer consumer; + struct return_consumer *extra_consumers; + long: 64; + long: 64; + long: 64; + long: 64; }; struct reuseport_array { @@ -34823,10 +37990,24 @@ struct ring_buffer_iter { u64 read_stamp; u64 page_stamp; struct ring_buffer_event *event; + size_t event_size; int missed_events; }; -struct trace_buffer; +struct ring_buffer_meta { + int magic; + int struct_size; + long unsigned int text_addr; + long unsigned int data_addr; + long unsigned int first_buffer; + long unsigned int head_buffer; + long unsigned int commit_buffer; + __u32 subbuf_size; + __u32 nr_subbufs; + int buffers[0]; +}; + +struct trace_buffer_meta; struct ring_buffer_per_cpu { int cpu; @@ -34840,6 +38021,7 @@ struct ring_buffer_per_cpu { long unsigned int nr_pages; unsigned int current_context; struct list_head *pages; + long unsigned int cnt; struct buffer_page *head_page; struct buffer_page *tail_page; struct buffer_page *commit_page; @@ -34866,6 +38048,12 @@ struct ring_buffer_per_cpu { u64 event_stamp[5]; u64 read_stamp; long unsigned int pages_removed; + unsigned int mapped; + unsigned int user_mapped; + struct mutex mapping_lock; + long unsigned int *subbuf_ids; + struct trace_buffer_meta *meta_page; + struct ring_buffer_meta *ring_meta; long int nr_pages_to_update; struct list_head new_pages; struct work_struct update_pages_work; @@ -34891,7 +38079,7 @@ struct rmap_walk_control { bool contended; bool (*rmap_one)(struct folio *, struct vm_area_struct *, long unsigned int, void *); int (*done)(struct folio *); - struct anon_vma * (*anon_lock)(struct folio *, struct rmap_walk_control *); + struct anon_vma * (*anon_lock)(const struct folio *, struct rmap_walk_control *); bool (*invalid_vma)(struct vm_area_struct *, void *); }; @@ -34919,8 +38107,8 @@ struct root_domain { struct callback_head rcu; cpumask_var_t span; cpumask_var_t online; - int overload; - int overutilized; + bool overloaded; + bool overutilized; cpumask_var_t dlo_mask; atomic_t dlo_count; struct dl_bw dl_bw; @@ -34934,7 +38122,6 @@ struct root_domain { atomic_t rto_loop_start; cpumask_var_t rto_mask; struct cpupri cpupri; - long unsigned int max_cpu_capacity; struct perf_domain *pd; }; @@ -34951,15 +38138,41 @@ struct rt_rq { int curr; int next; } highest_prio; - unsigned int rt_nr_migratory; - unsigned int rt_nr_total; - int overloaded; + bool overloaded; struct plist_head pushable_tasks; int rt_queued; - int rt_throttled; - u64 rt_time; - u64 rt_runtime; - raw_spinlock_t rt_runtime_lock; +}; + +struct sched_dl_entity; + +typedef bool (*dl_server_has_tasks_f)(struct sched_dl_entity *); + +typedef struct task_struct * (*dl_server_pick_f)(struct sched_dl_entity *); + +struct sched_dl_entity { + struct rb_node rb_node; + u64 dl_runtime; + u64 dl_deadline; + u64 dl_period; + u64 dl_bw; + u64 dl_density; + s64 runtime; + u64 deadline; + unsigned int flags; + unsigned int dl_throttled: 1; + unsigned int dl_yielded: 1; + unsigned int dl_non_contending: 1; + unsigned int dl_overrun: 1; + unsigned int dl_server: 1; + unsigned int dl_server_active: 1; + unsigned int dl_defer: 1; + unsigned int dl_defer_armed: 1; + unsigned int dl_defer_running: 1; + struct hrtimer dl_timer; + struct hrtimer inactive_timer; + struct rq *rq; + dl_server_has_tasks_f server_has_tasks; + dl_server_pick_f server_pick_task; }; struct rq { @@ -34975,8 +38188,13 @@ struct rq { struct cfs_rq cfs; struct rt_rq rt; struct dl_rq dl; + struct sched_dl_entity fair_server; unsigned int nr_uninterruptible; - struct task_struct *curr; + union { + struct task_struct *donor; + struct task_struct *curr; + }; + struct sched_dl_entity *dl_server; struct task_struct *idle; struct task_struct *stop; long unsigned int next_balance; @@ -34987,9 +38205,6 @@ struct rq { long: 64; long: 64; long: 64; - long: 64; - long: 64; - long: 64; u64 clock_task; u64 clock_pelt; long unsigned int lost_idle_time; @@ -34999,7 +38214,6 @@ struct rq { struct root_domain *rd; struct sched_domain *sd; long unsigned int cpu_capacity; - long unsigned int cpu_capacity_orig; struct balance_callback *balance_callback; unsigned char nohz_idle_balance; unsigned char idle_balance; @@ -35011,12 +38225,11 @@ struct rq { int online; struct list_head cfs_tasks; long: 64; + long: 64; struct sched_avg avg_rt; struct sched_avg avg_dl; u64 idle_stamp; u64 avg_idle; - long unsigned int wake_stamp; - u64 wake_avg_idle; u64 max_idle_balance_cost; long unsigned int calc_load_update; long int calc_load_active; @@ -35027,9 +38240,6 @@ struct rq { long: 64; long: 64; long: 64; - long: 64; - long: 64; - long: 64; }; struct rs_msg { @@ -35037,11 +38247,20 @@ struct rs_msg { __u8 opt[0]; }; +struct rss_nl_dump_ctx { + long unsigned int ifindex; + long unsigned int ctx_idx; + unsigned int match_ifindex; + unsigned int start_ctx; +}; + struct rss_reply_data { struct ethnl_reply_data base; + bool no_key_fields; u32 indir_size; u32 hkey_size; u32 hfunc; + u32 input_xfrm; u32 *indir_table; u8 *hkey; }; @@ -35109,14 +38328,6 @@ struct rt6_statistics { atomic_t fib_rt_alloc; }; -struct rt_bandwidth { - raw_spinlock_t rt_runtime_lock; - ktime_t rt_period; - u64 rt_runtime; - struct hrtimer rt_period_timer; - unsigned int rt_period_active; -}; - struct rt_cache_stat { unsigned int in_slow_tot; unsigned int in_slow_mc; @@ -35128,8 +38339,6 @@ struct rt_cache_stat { unsigned int out_slow_mc; }; -typedef struct rt_rq *rt_rq_iter_t; - struct siginfo { union { struct { @@ -35182,10 +38391,13 @@ struct rt_sigframe_user_layout { long unsigned int limit; long unsigned int fpsimd_offset; long unsigned int esr_offset; + long unsigned int gcs_offset; long unsigned int sve_offset; long unsigned int tpidr2_offset; long unsigned int za_offset; long unsigned int zt_offset; + long unsigned int fpmr_offset; + long unsigned int poe_offset; long unsigned int extra_offset; long unsigned int end_offset; }; @@ -35287,6 +38499,7 @@ struct rtnexthop { struct rtnl_af_ops { struct list_head list; + struct srcu_struct srcu; int family; int (*fill_link_af)(struct sk_buff *, const struct net_device *, u32); size_t (*get_link_af_size)(const struct net_device *, u32); @@ -35319,11 +38532,13 @@ struct rtnl_link_ifmap { struct rtnl_link_ops { struct list_head list; + struct srcu_struct srcu; const char *kind; size_t priv_size; struct net_device * (*alloc)(struct nlattr **, const char *, unsigned char, unsigned int, unsigned int); void (*setup)(struct net_device *); bool netns_refund; + const u16 peer_type; unsigned int maxtype; const struct nla_policy *policy; int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *); @@ -35334,8 +38549,8 @@ struct rtnl_link_ops { int (*fill_info)(struct sk_buff *, const struct net_device *); size_t (*get_xstats_size)(const struct net_device *); int (*fill_xstats)(struct sk_buff *, const struct net_device *); - unsigned int (*get_num_tx_queues)(); - unsigned int (*get_num_rx_queues)(); + unsigned int (*get_num_tx_queues)(void); + unsigned int (*get_num_rx_queues)(void); unsigned int slave_maxtype; const struct nla_policy *slave_policy; int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *); @@ -35405,6 +38620,15 @@ struct rtnl_mdb_dump_ctx { long int idx; }; +struct rtnl_msg_handler { + struct module *owner; + int protocol; + int msgtype; + rtnl_doit_func doit; + rtnl_dumpit_func dumpit; + int flags; +}; + struct rtnl_net_dump_cb { struct net *tgt_net; struct net *ref_net; @@ -35414,8 +38638,14 @@ struct rtnl_net_dump_cb { int s_idx; }; +struct rtnl_nets { + struct net *net[3]; + unsigned char len; +}; + struct rtnl_newlink_tbs { - struct nlattr *tb[65]; + struct nlattr *tb[67]; + struct nlattr *linkinfo[6]; struct nlattr *attr[51]; struct nlattr *slave_attr[45]; }; @@ -35453,6 +38683,10 @@ struct rusage { __kernel_long_t ru_nivcsw; }; +typedef struct rw_semaphore *class_rwsem_read_t; + +typedef struct rw_semaphore *class_rwsem_write_t; + struct rwsem_waiter { struct list_head list; struct task_struct *task; @@ -35467,11 +38701,11 @@ struct s_data { }; struct saved_cmdlines_buffer { - unsigned int map_pid_to_cmdline[4097]; + unsigned int map_pid_to_cmdline[32769]; unsigned int *map_cmdline_to_pid; unsigned int cmdline_num; int cmdline_idx; - char *saved_cmdlines; + char saved_cmdlines[0]; }; struct saved_syn { @@ -35483,13 +38717,14 @@ struct saved_syn { struct sb_writers { short unsigned int frozen; - short unsigned int freeze_holders; + int freeze_kcount; + int freeze_ucount; struct percpu_rw_semaphore rw_sem[3]; }; struct scale_freq_data { enum scale_freq_source source; - void (*set_freq_scale)(); + void (*set_freq_scale)(void); }; struct scan_control { @@ -35504,9 +38739,12 @@ struct scan_control { unsigned int may_writepage: 1; unsigned int may_unmap: 1; unsigned int may_swap: 1; + unsigned int no_cache_trim_mode: 1; + unsigned int cache_trim_mode_failed: 1; unsigned int proactive: 1; unsigned int memcg_low_reclaim: 1; unsigned int memcg_low_skipped: 1; + unsigned int memcg_full_walk: 1; unsigned int hibernation_mode: 1; unsigned int compaction_ready: 1; unsigned int cache_trim_mode: 1; @@ -35556,16 +38794,16 @@ struct sched_attr { struct sched_class { void (*enqueue_task)(struct rq *, struct task_struct *, int); - void (*dequeue_task)(struct rq *, struct task_struct *, int); + bool (*dequeue_task)(struct rq *, struct task_struct *, int); void (*yield_task)(struct rq *); bool (*yield_to_task)(struct rq *, struct task_struct *); - void (*check_preempt_curr)(struct rq *, struct task_struct *, int); - struct task_struct * (*pick_next_task)(struct rq *); - void (*put_prev_task)(struct rq *, struct task_struct *); - void (*set_next_task)(struct rq *, struct task_struct *, bool); + void (*wakeup_preempt)(struct rq *, struct task_struct *, int); int (*balance)(struct rq *, struct task_struct *, struct rq_flags *); - int (*select_task_rq)(struct task_struct *, int, int); struct task_struct * (*pick_task)(struct rq *); + struct task_struct * (*pick_next_task)(struct rq *, struct task_struct *); + void (*put_prev_task)(struct rq *, struct task_struct *, struct task_struct *); + void (*set_next_task)(struct rq *, struct task_struct *, bool); + int (*select_task_rq)(struct task_struct *, int, int); void (*migrate_task_rq)(struct task_struct *, int); void (*task_woken)(struct rq *, struct task_struct *); void (*set_cpus_allowed)(struct task_struct *, struct affinity_context *); @@ -35575,31 +38813,15 @@ struct sched_class { void (*task_tick)(struct rq *, struct task_struct *, int); void (*task_fork)(struct task_struct *); void (*task_dead)(struct task_struct *); + void (*switching_to)(struct rq *, struct task_struct *); void (*switched_from)(struct rq *, struct task_struct *); void (*switched_to)(struct rq *, struct task_struct *); + void (*reweight_task)(struct rq *, struct task_struct *, const struct load_weight *); void (*prio_changed)(struct rq *, struct task_struct *, int); unsigned int (*get_rr_interval)(struct rq *, struct task_struct *); void (*update_curr)(struct rq *); }; -struct sched_dl_entity { - struct rb_node rb_node; - u64 dl_runtime; - u64 dl_deadline; - u64 dl_period; - u64 dl_bw; - u64 dl_density; - s64 runtime; - u64 deadline; - unsigned int flags; - unsigned int dl_throttled: 1; - unsigned int dl_yielded: 1; - unsigned int dl_non_contending: 1; - unsigned int dl_overrun: 1; - struct hrtimer dl_timer; - struct hrtimer inactive_timer; -}; - struct sched_group; struct sched_domain_shared; @@ -35622,7 +38844,7 @@ struct sched_domain { unsigned int nr_balance_failed; u64 max_newidle_lb_cost; long unsigned int last_decay_max_lb_cost; - u64 avg_scan_cost; + char *name; union { void *private; struct callback_head rcu; @@ -35645,7 +38867,7 @@ struct sched_domain_shared { typedef const struct cpumask * (*sched_domain_mask_f)(int); -typedef int (*sched_domain_flags_f)(); +typedef int (*sched_domain_flags_f)(void); struct sched_group_capacity; @@ -35662,15 +38884,20 @@ struct sched_domain_topology_level { int flags; int numa_level; struct sd_data data; + char *name; }; struct sched_entity { struct load_weight load; struct rb_node run_node; u64 deadline; - u64 min_deadline; + u64 min_vruntime; + u64 min_slice; struct list_head group_node; - unsigned int on_rq; + unsigned char on_rq; + unsigned char sched_delayed; + unsigned char rel_deadline; + unsigned char custom_slice; u64 exec_start; u64 sum_exec_runtime; u64 prev_sum_exec_runtime; @@ -35684,7 +38911,6 @@ struct sched_entity { long: 64; long: 64; long: 64; - long: 64; struct sched_avg avg; }; @@ -35737,11 +38963,17 @@ struct scm_cookie { struct scm_fp_list { short int count; + short int count_unix; short int max; struct user_struct *user; struct file *fp[253]; }; +struct scm_stat { + atomic_t nr_fds; + long unsigned int nr_unix_fds; +}; + struct scm_timestamping { struct __kernel_old_timespec ts[3]; }; @@ -35794,6 +39026,7 @@ struct xfrm_offload { } seq; __u32 flags; __u32 status; + __u32 orig_mac_len; __u8 proto; __u8 inner_ipproto; }; @@ -35853,21 +39086,8 @@ struct send_signal_irq_work { struct task_struct *task; u32 sig; enum pid_type type; -}; - -struct seq_file { - char *buf; - size_t size; - size_t from; - size_t count; - size_t pad_until; - loff_t index; - loff_t read_pos; - struct mutex lock; - const struct seq_operations *op; - int poll_event; - const struct file *file; - void *private; + bool has_siginfo; + struct kernel_siginfo info; }; struct seq_operations { @@ -35877,6 +39097,12 @@ struct seq_operations { int (*show)(struct seq_file *, void *); }; +struct seqcount_rwlock { + seqcount_t seqcount; +}; + +typedef struct seqcount_rwlock seqcount_rwlock_t; + struct serial_icounter_struct { int cts; int dsr; @@ -35921,6 +39147,20 @@ struct set_affinity_pending { struct migration_arg arg; }; +struct set_event_iter { + enum set_event_iter_type type; + union { + struct trace_event_file *file; + struct event_mod_load *event_mod; + }; +}; + +struct sg_table { + struct scatterlist *sgl; + unsigned int nents; + unsigned int orig_nents; +}; + struct sg_append_table { struct sg_table sgt; struct scatterlist *prv; @@ -35963,6 +39203,10 @@ struct shrinker { long int batch; int seeks; unsigned int flags; + refcount_t refcount; + struct completion done; + struct callback_head rcu; + void *private_data; struct list_head list; atomic_long_t *nr_deferred; }; @@ -36141,6 +39385,7 @@ struct sk_psock { struct mutex work_mutex; struct sk_psock_work_state work_state; struct delayed_work work; + struct sock *sk_pair; struct rcu_work rwork; }; @@ -36167,6 +39412,14 @@ struct skb_checksum_ops { __wsum (*combine)(__wsum, __wsum, int, int); }; +struct skb_frag { + netmem_ref netmem; + unsigned int len; + unsigned int offset; +}; + +typedef struct skb_frag skb_frag_t; + struct skb_free_array { unsigned int skb_count; void *skb_array[16]; @@ -36200,6 +39453,10 @@ struct skb_shared_hwtstamps { }; }; +struct xsk_tx_metadata_compl { + __u64 *tx_timestamp; +}; + struct skb_shared_info { __u8 flags; __u8 meta_len; @@ -36208,12 +39465,20 @@ struct skb_shared_info { short unsigned int gso_size; short unsigned int gso_segs; struct sk_buff *frag_list; - struct skb_shared_hwtstamps hwtstamps; + union { + struct skb_shared_hwtstamps hwtstamps; + struct xsk_tx_metadata_compl xsk_meta; + }; unsigned int gso_type; u32 tskey; atomic_t dataref; - unsigned int xdp_frags_size; - void *destructor_arg; + union { + struct { + u32 xdp_frags_size; + u32 xdp_frags_truesize; + }; + void *destructor_arg; + }; skb_frag_t frags[17]; }; @@ -36242,7 +39507,7 @@ struct slab { }; struct callback_head callback_head; }; - unsigned int __unused; + unsigned int __page_type; atomic_t __page_refcount; long: 64; }; @@ -36281,13 +39546,24 @@ struct so_timestamping { int bind_phc; }; +struct sock_bh_locked { + struct sock *sock; + local_lock_t bh_lock; +}; + struct sock_diag_handler { + struct module *owner; __u8 family; int (*dump)(struct sk_buff *, struct nlmsghdr *); int (*get_info)(struct sk_buff *, struct sock *); int (*destroy)(struct sk_buff *, struct nlmsghdr *); }; +struct sock_diag_inet_compat { + struct module *owner; + int (*fn)(struct sk_buff *, struct nlmsghdr *); +}; + struct sock_diag_req { __u8 sdiag_family; __u8 sdiag_protocol; @@ -36383,6 +39659,11 @@ struct sockaddr_nl { __u32 nl_groups; }; +struct sockaddr_un { + __kernel_sa_family_t sun_family; + char sun_path[108]; +}; + struct socket_wq { wait_queue_head_t wait; struct fasync_struct *fasync_list; @@ -36404,7 +39685,7 @@ struct socket { struct socket_wq wq; }; -struct socket__safe_trusted { +struct socket__safe_trusted_or_null { struct sock *sk; }; @@ -36412,31 +39693,47 @@ struct socket_alloc { struct socket socket; struct inode vfs_inode; long: 64; + long: 64; + long: 64; +}; + +struct sockmap_link { + struct bpf_link link; + struct bpf_map *map; + enum bpf_attach_type attach_type; }; struct softirq_action { - void (*action)(struct softirq_action *); + void (*action)(void); }; struct softnet_data { struct list_head poll_list; struct sk_buff_head process_queue; + local_lock_t process_queue_bh_lock; unsigned int processed; unsigned int time_squeeze; + unsigned int received_rps; bool in_net_rx_action; bool in_napi_threaded_poll; struct Qdisc *output_queue; struct Qdisc **output_queue_tailp; struct sk_buff *completion_queue; - struct { - u16 recursion; - u8 more; - u8 skip_txqueue; - } xmit; - unsigned int received_rps; - unsigned int dropped; + struct netdev_xmit xmit; struct sk_buff_head input_pkt_queue; struct napi_struct backlog; + long: 64; + long: 64; + long: 64; + long: 64; + atomic_t dropped; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; spinlock_t defer_lock; int defer_count; int defer_ipi_scheduled; @@ -36506,7 +39803,7 @@ struct sr6_tlv { struct srcu_data { atomic_long_t srcu_lock_count[2]; atomic_long_t srcu_unlock_count[2]; - int srcu_nmi_safety; + int srcu_reader_flavor; long: 64; long: 64; long: 64; @@ -36546,11 +39843,6 @@ struct stack_entry { long unsigned int caller[0]; }; -struct stack_info { - long unsigned int low; - long unsigned int high; -}; - struct stack_map_bucket { struct pcpu_freelist_node fnode; u32 hash; @@ -36565,6 +39857,11 @@ struct stacktrace_cookie { unsigned int len; }; +struct stashed_operations { + void (*put_data)(void *); + int (*init_inode)(struct inode *, void *); +}; + struct stat { long unsigned int st_dev; long unsigned int st_ino; @@ -36661,12 +39958,14 @@ struct stats_reply_data { struct ethtool_eth_mac_stats mac_stats; struct ethtool_eth_ctrl_stats ctrl_stats; struct ethtool_rmon_stats rmon_stats; + struct ethtool_phy_stats phydev_stats; }; struct { struct ethtool_eth_phy_stats phy_stats; struct ethtool_eth_mac_stats mac_stats; struct ethtool_eth_ctrl_stats ctrl_stats; struct ethtool_rmon_stats rmon_stats; + struct ethtool_phy_stats phydev_stats; } stats; }; const struct ethtool_rmon_hist_range *rmon_ranges; @@ -36708,7 +40007,12 @@ struct statx { __u64 stx_mnt_id; __u32 stx_dio_mem_align; __u32 stx_dio_offset_align; - __u64 __spare3[12]; + __u64 stx_subvol; + __u32 stx_atomic_write_unit_min; + __u32 stx_atomic_write_unit_max; + __u32 stx_atomic_write_segments_max; + __u32 stx_dio_read_offset_align; + __u64 __spare3[9]; }; struct step_hook { @@ -36735,7 +40039,7 @@ struct strset_info { struct strset_reply_data { struct ethnl_reply_data base; - struct strset_info sets[21]; + struct strset_info sets[23]; }; struct strset_req_info { @@ -36764,7 +40068,7 @@ struct subsys_dev_iter { struct subsys_interface { const char *name; - struct bus_type *subsys; + const struct bus_type *subsys; struct list_head node; int (*add_dev)(struct device *, struct subsys_interface *); void (*remove_dev)(struct device *, struct subsys_interface *); @@ -36807,10 +40111,11 @@ struct super_block { struct rw_semaphore s_umount; int s_count; atomic_t s_active; - const struct xattr_handler **s_xattr; + const struct xattr_handler * const *s_xattr; struct hlist_bl_head s_roots; struct list_head s_mounts; struct block_device *s_bdev; + struct file *s_bdev_file; struct backing_dev_info *s_bdi; struct mtd_info *s_mtd; struct hlist_node s_instances; @@ -36823,13 +40128,14 @@ struct super_block { time64_t s_time_max; char s_id[32]; uuid_t s_uuid; + u8 s_uuid_len; + char s_sysfs_name[37]; unsigned int s_max_links; struct mutex s_vfs_rename_mutex; const char *s_subtype; const struct dentry_operations *s_d_op; - struct shrinker s_shrink; + struct shrinker *s_shrink; atomic_long_t s_remove_count; - atomic_long_t s_fsnotify_connectors; int s_readonly_remount; errseq_t s_wb_err; struct workqueue_struct *s_dio_done_wq; @@ -36880,8 +40186,9 @@ struct super_operations { struct supplier_bindings { struct device_node * (*parse_prop)(struct device_node *, const char *, int); + struct device_node * (*get_con_dev)(struct device_node *); bool optional; - bool node_not_dev; + u8 fwlink_flags; }; struct sve_context { @@ -36896,9 +40203,12 @@ struct swait_queue { struct list_head task_list; }; -struct swap_cluster_list { - struct swap_cluster_info head; - struct swap_cluster_info tail; +struct swap_cluster_info { + spinlock_t lock; + u16 count; + u8 flags; + u8 order; + struct list_head list; }; struct swap_info_struct { @@ -36909,25 +40219,27 @@ struct swap_info_struct { signed char type; unsigned int max; unsigned char *swap_map; + long unsigned int *zeromap; struct swap_cluster_info *cluster_info; - struct swap_cluster_list free_clusters; - unsigned int lowest_bit; - unsigned int highest_bit; + struct list_head free_clusters; + struct list_head full_clusters; + struct list_head nonfull_clusters[1]; + struct list_head frag_clusters[1]; + atomic_long_t frag_cluster_nr[1]; unsigned int pages; - unsigned int inuse_pages; - unsigned int cluster_next; - unsigned int cluster_nr; - unsigned int *cluster_next_cpu; + atomic_long_t inuse_pages; struct percpu_cluster *percpu_cluster; + struct percpu_cluster *global_cluster; + spinlock_t global_cluster_lock; struct rb_root swap_extent_root; struct block_device *bdev; struct file *swap_file; - unsigned int old_block_size; struct completion comp; spinlock_t lock; spinlock_t cont_lock; struct work_struct discard_work; - struct swap_cluster_list discard_clusters; + struct work_struct reclaim_work; + struct list_head discard_clusters; struct plist_node avail_lists[0]; }; @@ -36940,7 +40252,6 @@ struct swevent_htable { struct swevent_hlist *swevent_hlist; struct mutex hlist_mutex; int hlist_refcount; - int recursion[4]; }; struct swnode { @@ -36964,7 +40275,7 @@ struct sym_count_ctx { struct symsearch { const struct kernel_symbol *start; const struct kernel_symbol *stop; - const s32 *crcs; + const u32 *crcs; enum mod_license license; }; @@ -36978,6 +40289,7 @@ struct sys_off_data { int mode; void *cb_data; const char *cmd; + struct device *dev; }; struct sys_off_handler { @@ -36987,6 +40299,7 @@ struct sys_off_handler { enum sys_off_mode mode; bool blocking; void *list; + struct device *dev; }; struct syscall_info { @@ -36998,9 +40311,9 @@ struct syscall_user_dispatch {}; struct syscore_ops { struct list_head node; - int (*suspend)(); - void (*resume)(); - void (*shutdown)(); + int (*suspend)(void); + void (*resume)(void); + void (*shutdown)(void); }; struct sysfs_ops { @@ -37034,7 +40347,8 @@ struct sysrq_key_op { struct system_counterval_t { u64 cycles; - struct clocksource *cs; + enum clocksource_ids cs_id; + bool use_nsecs; }; struct system_device_crosststamp { @@ -37046,6 +40360,7 @@ struct system_device_crosststamp { struct system_time_snapshot { u64 cycles; ktime_t real; + ktime_t boot; ktime_t raw; enum clocksource_ids cs_id; unsigned int clock_was_set_seq; @@ -37056,6 +40371,7 @@ struct taint_flag { char c_true; char c_false; bool module; + const char *desc; }; struct task_cputime { @@ -37070,6 +40386,10 @@ struct task_cputime_atomic { atomic64_t sum_exec_runtime; }; +typedef struct task_struct *class_find_get_task_t; + +typedef struct task_struct *class_task_lock_t; + struct thread_info { long unsigned int flags; union { @@ -37105,6 +40425,8 @@ struct thread_struct { struct { long unsigned int tp_value; long unsigned int tp2_value; + u64 fpmr; + long unsigned int pad; struct user_fpsimd_state fpsimd_state; } uw; enum fp_type fp_type; @@ -37116,9 +40438,14 @@ struct thread_struct { long unsigned int fault_address; long unsigned int fault_code; struct debug_info debug; + long: 64; + struct user_fpsimd_state kernel_fpsimd_state; + unsigned int kernel_fpsimd_cpu; u64 sctlr_user; u64 svcr; u64 tpidr2_el0; + u64 por_el0; + long: 64; }; struct uprobe_task; @@ -37126,6 +40453,7 @@ struct uprobe_task; struct task_struct { struct thread_info thread_info; unsigned int __state; + unsigned int saved_state; void *stack; refcount_t usage; unsigned int flags; @@ -37145,15 +40473,13 @@ struct task_struct { struct sched_entity se; struct sched_rt_entity rt; struct sched_dl_entity dl; + struct sched_dl_entity *dl_server; const struct sched_class *sched_class; long: 64; long: 64; - long: 64; - long: 64; - long: 64; - long: 64; struct sched_statistics stats; unsigned int policy; + long unsigned int max_allowed_capacity; int nr_cpus_allowed; const cpumask_t *cpus_ptr; cpumask_t *user_cpus_ptr; @@ -37173,6 +40499,7 @@ struct task_struct { struct rb_node pushable_dl_tasks; struct mm_struct *mm; struct mm_struct *active_mm; + struct address_space *faults_disabled_mapping; int exit_state; int exit_code; int exit_signal; @@ -37182,7 +40509,8 @@ struct task_struct { unsigned int sched_reset_on_fork: 1; unsigned int sched_contributes_to_load: 1; unsigned int sched_migrated: 1; - long: 29; + unsigned int sched_task_hot: 1; + long: 28; unsigned int sched_remote_wakeup: 1; unsigned int in_execve: 1; unsigned int in_iowait: 1; @@ -37199,7 +40527,6 @@ struct task_struct { struct list_head ptrace_entry; struct pid *thread_pid; struct hlist_node pid_links[4]; - struct list_head thread_group; struct list_head thread_node; struct completion *vfork_done; int *set_child_tid; @@ -37249,6 +40576,7 @@ struct task_struct { long unsigned int ptrace_message; kernel_siginfo_t *last_siginfo; struct task_io_accounting ioac; + u8 perf_recursion[4]; struct perf_event_context *perf_event_ctxp; struct mutex perf_event_mutex; struct list_head perf_event_list; @@ -37262,8 +40590,9 @@ struct task_struct { u64 default_timer_slack_ns; int curr_ret_stack; int curr_ret_depth; - struct ftrace_ret_stack *ret_stack; + long unsigned int *ret_stack; long long unsigned int ftrace_timestamp; + long long unsigned int ftrace_sleeptime; atomic_t trace_overrun; atomic_t tracing_graph_pause; long unsigned int trace_recursion; @@ -37277,6 +40606,7 @@ struct task_struct { refcount_t stack_refcount; struct bpf_local_storage *bpf_storage; struct bpf_run_ctx *bpf_ctx; + struct bpf_net_context *bpf_net_context; struct llist_head kretprobe_instances; long: 64; struct thread_struct thread; @@ -37349,16 +40679,18 @@ struct tc_ratespec { struct tc_skb_cb { struct qdisc_skb_cb qdisc_cb; + u32 drop_reason; + u16 zone; u16 mru; u8 post_ct: 1; u8 post_ct_snat: 1; u8 post_ct_dnat: 1; - u16 zone; }; struct tcf_chain; struct tcf_block { + struct xarray ports; struct mutex lock; struct list_head chain_list; u32 index; @@ -37370,6 +40702,7 @@ struct tcf_block { struct flow_block flow_block; struct list_head owner_list; bool keep_dst; + atomic_t useswcnt; atomic_t offloadcnt; unsigned int nooffloaddevcnt; unsigned int lockeddevcnt; @@ -37417,6 +40750,8 @@ struct tcf_proto { struct tcf_chain *chain; spinlock_t lock; bool deleting; + bool counted; + bool usesw; refcount_t refcnt; struct callback_head rcu; struct hlist_node destroy_ht_node; @@ -37442,6 +40777,7 @@ struct tcf_proto_ops { void (*bind_class)(void *, u32, long unsigned int, void *, long unsigned int); void * (*tmplt_create)(struct net *, struct tcf_chain *, struct nlattr **, struct netlink_ext_ack *); void (*tmplt_destroy)(void *); + void (*tmplt_reoffload)(struct tcf_chain *, bool, flow_setup_cb_t *, void *); struct tcf_exts * (*get_exts)(const struct tcf_proto *, u32); int (*dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool); int (*terse_dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool); @@ -37479,17 +40815,6 @@ struct tcmsg { __u32 tcm_info; }; -struct tcp_rack { - u64 mstamp; - u32 rtt_us; - u32 end_seq; - u32 last_delivered; - u8 reo_wnd_steps; - u8 reo_wnd_persist: 5; - u8 dsack_seen: 1; - u8 advanced: 1; -}; - struct tcp_options_received { int ts_recent_stamp; u32 ts_recent; @@ -37510,6 +40835,17 @@ struct tcp_options_received { u16 mss_clamp; }; +struct tcp_rack { + u64 mstamp; + u32 rtt_us; + u32 end_seq; + u32 last_delivered; + u8 reo_wnd_steps; + u8 reo_wnd_persist: 5; + u8 dsack_seen: 1; + u8 advanced: 1; +}; + struct tcp_sack_block { u32 start_seq; u32 end_seq; @@ -37519,55 +40855,124 @@ struct tcp_fastopen_request; struct tcp_sock { struct inet_connection_sock inet_conn; - u16 tcp_header_len; + __u8 __cacheline_group_begin__tcp_sock_read_tx[0]; + u32 max_window; + u32 rcv_ssthresh; + u32 reordering; + u32 notsent_lowat; u16 gso_segs; + struct sk_buff *lost_skb_hint; + struct sk_buff *retransmit_skb_hint; + __u8 __cacheline_group_end__tcp_sock_read_tx[0]; + __u8 __cacheline_group_begin__tcp_sock_read_txrx[0]; + u32 tsoffset; + u32 snd_wnd; + u32 mss_cache; + u32 snd_cwnd; + u32 prr_out; + u32 lost_out; + u32 sacked_out; + u16 tcp_header_len; + u8 scaling_ratio; + u8 chrono_type: 2; + u8 repair: 1; + u8 tcp_usec_ts: 1; + u8 is_sack_reneg: 1; + u8 is_cwnd_limited: 1; + __u8 __cacheline_group_end__tcp_sock_read_txrx[0]; + __u8 __cacheline_group_begin__tcp_sock_read_rx[0]; + u32 copied_seq; + u32 rcv_tstamp; + u32 snd_wl1; + u32 tlp_high_seq; + u32 rttvar_us; + u32 retrans_out; + u16 advmss; + u16 urg_data; + u32 lost; + struct minmax rtt_min; + struct rb_root out_of_order_queue; + u32 snd_ssthresh; + u8 recvmsg_inq: 1; + __u8 __cacheline_group_end__tcp_sock_read_rx[0]; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + __u8 __cacheline_group_begin__tcp_sock_write_tx[0]; + u32 segs_out; + u32 data_segs_out; + u64 bytes_sent; + u32 snd_sml; + u32 chrono_start; + u32 chrono_stat[3]; + u32 write_seq; + u32 pushed_seq; + u32 lsndtime; + u32 mdev_us; + u32 rtt_seq; + u64 tcp_wstamp_ns; + struct list_head tsorted_sent_queue; + struct sk_buff *highest_sack; + u8 ecn_flags; + __u8 __cacheline_group_end__tcp_sock_write_tx[0]; + __u8 __cacheline_group_begin__tcp_sock_write_txrx[0]; __be32 pred_flags; + u64 tcp_clock_cache; + u64 tcp_mstamp; + u32 rcv_nxt; + u32 snd_nxt; + u32 snd_una; + u32 window_clamp; + u32 srtt_us; + u32 packets_out; + u32 snd_up; + u32 delivered; + u32 delivered_ce; + u32 app_limited; + u32 rcv_wnd; + struct tcp_options_received rx_opt; + u8 nonagle: 4; + u8 rate_app_limited: 1; + __u8 __cacheline_group_end__tcp_sock_write_txrx[0]; + long: 0; + __u8 __cacheline_group_begin__tcp_sock_write_rx[0]; u64 bytes_received; u32 segs_in; u32 data_segs_in; - u32 rcv_nxt; - u32 copied_seq; u32 rcv_wup; - u32 snd_nxt; - u32 segs_out; - u32 data_segs_out; - u64 bytes_sent; + u32 max_packets_out; + u32 cwnd_usage_seq; + u32 rate_delivered; + u32 rate_interval_us; + u32 rcv_rtt_last_tsecr; + u64 first_tx_mstamp; + u64 delivered_mstamp; u64 bytes_acked; + struct { + u32 rtt_us; + u32 seq; + u64 time; + } rcv_rtt_est; + struct { + u32 space; + u32 seq; + u64 time; + } rcvq_space; + __u8 __cacheline_group_end__tcp_sock_write_rx[0]; u32 dsack_dups; - u32 snd_una; - u32 snd_sml; - u32 rcv_tstamp; - u32 lsndtime; - u32 last_oow_ack_time; u32 compressed_ack_rcv_nxt; - u32 tsoffset; struct list_head tsq_node; - struct list_head tsorted_sent_queue; - u32 snd_wl1; - u32 snd_wnd; - u32 max_window; - u32 mss_cache; - u32 window_clamp; - u32 rcv_ssthresh; - u8 scaling_ratio; struct tcp_rack rack; - u16 advmss; u8 compressed_ack; u8 dup_ack_counter: 2; u8 tlp_retrans: 1; u8 unused: 5; - u32 chrono_start; - u32 chrono_stat[3]; - u8 chrono_type: 2; - u8 rate_app_limited: 1; + u8 thin_lto: 1; u8 fastopen_connect: 1; u8 fastopen_no_cookie: 1; - u8 is_sack_reneg: 1; u8 fastopen_client_fail: 2; - u8 nonagle: 4; - u8 thin_lto: 1; - u8 recvmsg_inq: 1; - u8 repair: 1; u8 frto: 1; u8 repair_queue; u8 save_syn: 2; @@ -37576,62 +40981,23 @@ struct tcp_sock { u8 syn_fastopen_exp: 1; u8 syn_fastopen_ch: 1; u8 syn_data_acked: 1; - u8 is_cwnd_limited: 1; - u32 tlp_high_seq; + u8 keepalive_probes; u32 tcp_tx_delay; - u64 tcp_wstamp_ns; - u64 tcp_clock_cache; - u64 tcp_mstamp; - u32 srtt_us; - u32 mdev_us; u32 mdev_max_us; - u32 rttvar_us; - u32 rtt_seq; - struct minmax rtt_min; - u32 packets_out; - u32 retrans_out; - u32 max_packets_out; - u32 cwnd_usage_seq; - u16 urg_data; - u8 ecn_flags; - u8 keepalive_probes; - u32 reordering; u32 reord_seen; - u32 snd_up; - struct tcp_options_received rx_opt; - u32 snd_ssthresh; - u32 snd_cwnd; u32 snd_cwnd_cnt; u32 snd_cwnd_clamp; u32 snd_cwnd_used; u32 snd_cwnd_stamp; u32 prior_cwnd; u32 prr_delivered; - u32 prr_out; - u32 delivered; - u32 delivered_ce; - u32 lost; - u32 app_limited; - u64 first_tx_mstamp; - u64 delivered_mstamp; - u32 rate_delivered; - u32 rate_interval_us; - u32 rcv_wnd; - u32 write_seq; - u32 notsent_lowat; - u32 pushed_seq; - u32 lost_out; - u32 sacked_out; + u32 last_oow_ack_time; struct hrtimer pacing_timer; struct hrtimer compressed_ack_timer; - struct sk_buff *lost_skb_hint; - struct sk_buff *retransmit_skb_hint; - struct rb_root out_of_order_queue; struct sk_buff *ooo_last_skb; struct tcp_sack_block duplicate_sack[1]; struct tcp_sack_block selective_acks[4]; struct tcp_sack_block recv_sack_cache[4]; - struct sk_buff *highest_sack; int lost_cnt_hint; u32 prior_ssthresh; u32 high_seq; @@ -37640,6 +41006,10 @@ struct tcp_sock { int undo_retrans; u64 bytes_retrans; u32 total_retrans; + u32 rto_stamp; + u16 total_rto; + u16 total_rto_recoveries; + u32 total_rto_time; u32 urg_seq; unsigned int keepalive_time; unsigned int keepalive_intvl; @@ -37648,17 +41018,6 @@ struct tcp_sock { u8 bpf_chg_cc_inprogress: 1; u16 timeout_rehash; u32 rcv_ooopack; - u32 rcv_rtt_last_tsecr; - struct { - u32 rtt_us; - u32 seq; - u64 time; - } rcv_rtt_est; - struct { - u32 space; - u32 seq; - u64 time; - } rcvq_space; struct { u32 probe_seq_start; u32 probe_seq_end; @@ -37668,11 +41027,49 @@ struct tcp_sock { struct tcp_fastopen_request *fastopen_req; struct request_sock *fastopen_rsk; struct saved_syn *saved_syn; + long: 64; }; struct tcp6_sock { struct tcp_sock tcp; struct ipv6_pinfo inet6; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; +}; + +union tcp_ao_addr { + struct in_addr a4; + struct in6_addr a6; +}; + +struct tcp_ao_hdr { + u8 kind; + u8 length; + u8 keyid; + u8 rnext_keyid; +}; + +struct tcp_ao_key { + struct hlist_node node; + union tcp_ao_addr addr; + u8 key[80]; + unsigned int tcp_sigpool_id; + unsigned int digest_size; + int l3index; + u8 prefixlen; + u8 family; + u8 keylen; + u8 keyflags; + u8 sndid; + u8 rcvid; + u8 maclen; + struct callback_head rcu; + atomic64_t pkt_good; + atomic64_t pkt_bad; + u8 traffic_keys[0]; }; struct tcp_bbr_info { @@ -37791,11 +41188,28 @@ struct tcp_info { __u32 tcpi_snd_wnd; __u32 tcpi_rcv_wnd; __u32 tcpi_rehash; + __u16 tcpi_total_rto; + __u16 tcpi_total_rto_recoveries; + __u32 tcpi_total_rto_time; }; -union tcp_md5_addr { - struct in_addr a4; - struct in6_addr a6; +struct tcp_md5sig_key; + +struct tcp_key { + union { + struct { + struct tcp_ao_key *ao_key; + char *traffic_key; + u32 sne; + u8 rcv_next; + }; + struct tcp_md5sig_key *md5_key; + }; + enum { + TCP_KEY_NONE = 0, + TCP_KEY_MD5 = 1, + TCP_KEY_AO = 2, + } type; }; struct tcp_md5sig_key { @@ -37804,7 +41218,7 @@ struct tcp_md5sig_key { u8 family; u8 prefixlen; u8 flags; - union tcp_md5_addr addr; + union tcp_ao_addr addr; int l3index; u8 key[80]; struct callback_head rcu; @@ -37867,6 +41281,7 @@ struct tcp_request_sock { u64 snt_synack; bool tfo_listener; bool is_mptcp; + bool req_usec_ts; u32 txhash; u32 rcv_isn; u32 snt_isn; @@ -37878,7 +41293,7 @@ struct tcp_request_sock { struct tcp_request_sock_ops { u16 mss_clamp; - struct dst_entry * (*route_req)(const struct sock *, struct sk_buff *, struct flowi *, struct request_sock *); + struct dst_entry * (*route_req)(const struct sock *, struct sk_buff *, struct flowi *, struct request_sock *, u32); u32 (*init_seq)(const struct sk_buff *); u32 (*init_ts_off)(const struct net *, const struct sk_buff *); int (*send_synack)(const struct sock *, struct dst_entry *, struct flowi *, struct request_sock *, struct tcp_fastopen_cookie *, enum tcp_synack_type, struct sk_buff *); @@ -37903,7 +41318,6 @@ struct tcp_skb_cb { __u32 seq; __u32 end_seq; union { - __u32 tcp_tw_isn; struct { u16 tcp_gso_segs; u16 tcp_gso_size; @@ -37954,7 +41368,7 @@ struct tcp_ulp_ops { int (*init)(struct sock *); void (*update)(struct sock *, struct proto *, void (*)(struct sock *)); void (*release)(struct sock *); - int (*get_info)(const struct sock *, struct sk_buff *); + int (*get_info)(struct sock *, struct sk_buff *); size_t (*get_info_size)(const struct sock *); void (*clone)(const struct request_sock *, struct sock *, const gfp_t); char name[16]; @@ -37986,6 +41400,13 @@ union tcp_word_hdr { __be32 words[5]; }; +struct tcp_xa_pool { + u8 max; + u8 idx; + __u32 tokens[17]; + netmem_ref netmems[17]; +}; + struct tcp_zerocopy_receive { __u64 address; __u32 length; @@ -38008,7 +41429,7 @@ struct tcpm_hash_bucket { struct tcx_entry { struct mini_Qdisc *miniq; struct bpf_mprog_bundle bundle; - bool miniq_active; + u32 miniq_active; struct callback_head rcu; }; @@ -38054,7 +41475,6 @@ struct tk_read_base { struct timekeeper { struct tk_read_base tkr_mono; - struct tk_read_base tkr_raw; u64 xtime_sec; long unsigned int ktime_sec; struct timespec64 wall_to_monotonic; @@ -38062,15 +41482,16 @@ struct timekeeper { ktime_t offs_boot; ktime_t offs_tai; s32 tai_offset; + struct tk_read_base tkr_raw; + u64 raw_sec; unsigned int clock_was_set_seq; u8 cs_was_changed_seq; - ktime_t next_leap_ktime; - u64 raw_sec; struct timespec64 monotonic_to_boot; u64 cycle_interval; u64 xtime_interval; s64 xtime_remainder; u64 raw_interval; + ktime_t next_leap_ktime; u64 ntp_tick; s64 ntp_error; u32 ntp_error_shift; @@ -38114,6 +41535,7 @@ struct timer_of { void *private_data; long: 64; long: 64; + long: 64; }; struct timer_rand_state { @@ -38133,7 +41555,6 @@ struct timewait_sock_ops { struct kmem_cache *twsk_slab; char *twsk_slab_name; unsigned int twsk_obj_size; - int (*twsk_unique)(struct sock *, struct sock *, void *); void (*twsk_destructor)(struct sock *); }; @@ -38146,6 +41567,13 @@ struct tipc_basic_hdr { __be32 w[4]; }; +struct tk_data { + seqcount_raw_spinlock_t seq; + struct timekeeper timekeeper; + struct timekeeper shadow_timekeeper; + raw_spinlock_t lock; +}; + struct tk_fast { seqcount_latch_t seq; struct tk_read_base base[2]; @@ -38255,7 +41683,7 @@ struct tls_strparser { u32 stopped: 1; u32 copy_mode: 1; u32 mixed_decrypted: 1; - u32 msg_ready: 1; + bool msg_ready; struct strp_msg stm; struct sk_buff *anchor; struct work_struct work; @@ -38270,9 +41698,9 @@ struct tls_sw_context_rx { u8 async_capable: 1; u8 zc_capable: 1; u8 reader_contended: 1; + bool key_update_pending; struct tls_strparser strp; atomic_t decrypt_pending; - spinlock_t decrypt_compl_lock; struct sk_buff_head async_hold; struct wait_queue_head wq; }; @@ -38291,8 +41719,6 @@ struct tls_sw_context_tx { struct tls_rec *open_rec; struct list_head tx_list; atomic_t encrypt_pending; - spinlock_t encrypt_compl_lock; - int async_notify; u8 async_capable: 1; long unsigned int tx_bitmask; }; @@ -38316,7 +41742,7 @@ struct tms { }; struct tnl_ptk_info { - __be16 flags; + long unsigned int flags[1]; __be16 proto; __be32 key; __be32 seq; @@ -38349,7 +41775,6 @@ struct tp_probes { struct tp_transition_snapshot { long unsigned int rcu; - long unsigned int srcu; bool ongoing; }; @@ -38368,6 +41793,11 @@ struct trace_array { struct list_head list; char *name; struct array_buffer array_buffer; + unsigned int mapped; + long unsigned int range_addr_start; + long unsigned int range_addr_size; + long int text_delta; + long int data_delta; struct trace_pid_list *filtered_pids; struct trace_pid_list *filtered_no_pids; arch_spinlock_t max_lock; @@ -38383,11 +41813,12 @@ struct trace_array { unsigned char trace_flags_index[32]; unsigned int flags; raw_spinlock_t start_lock; + const char *system_names; struct list_head err_log; struct dentry *dir; struct dentry *options; struct dentry *percpu_dir; - struct dentry *event_dir; + struct eventfs_inode *event_dir; struct trace_options *topts; struct list_head systems; struct list_head events; @@ -38396,9 +41827,11 @@ struct trace_array { cpumask_var_t pipe_cpumask; int ref; int trace_ref; + struct list_head mod_events; struct ftrace_ops *ops; struct trace_pid_list *function_pids; struct trace_pid_list *function_no_pids; + struct fgraph_ops *gops; struct list_head func_probes; struct list_head mod_trace; struct list_head mod_notrace; @@ -38406,6 +41839,7 @@ struct trace_array { int no_filter_buffering_ref; struct list_head hist_vars; struct trace_func_repeats *last_func_repeats; + bool ring_buffer_expanded; }; struct trace_array_cpu { @@ -38443,9 +41877,34 @@ struct trace_buffer { struct mutex mutex; struct ring_buffer_per_cpu **buffers; struct hlist_node node; - u64 (*clock)(); + u64 (*clock)(void); struct rb_irq_work irq_work; bool time_stamp_abs; + long unsigned int range_addr_start; + long unsigned int range_addr_end; + long int last_text_delta; + long int last_data_delta; + unsigned int subbuf_size; + unsigned int subbuf_order; + unsigned int max_data_size; +}; + +struct trace_buffer_meta { + __u32 meta_page_size; + __u32 meta_struct_len; + __u32 subbuf_size; + __u32 nr_subbufs; + struct { + __u64 lost_events; + __u32 id; + __u32 read; + } reader; + __u64 flags; + __u64 entries; + __u64 overrun; + __u64 read; + __u64 Reserved1; + __u64 Reserved2; }; struct trace_buffer_struct { @@ -38460,6 +41919,7 @@ struct trace_probe { struct trace_probe_event *event; ssize_t size; unsigned int nr_args; + struct probe_entry_arg *entry_arg; struct probe_arg args[0]; }; @@ -38501,12 +41961,11 @@ struct trace_event_call { struct list_head list; struct trace_event_class *class; union { - char *name; + const char *name; struct tracepoint *tp; }; struct trace_event event; char *print_fmt; - struct event_filter *filter; union { void *module; atomic_t refcnt; @@ -38546,48 +42005,65 @@ struct trace_event_data_offsets_bpf_test_finish {}; struct trace_event_data_offsets_bpf_trace_printk { u32 bpf_string; + const void *bpf_string_ptr_; }; +struct trace_event_data_offsets_bpf_trigger_tp {}; + struct trace_event_data_offsets_bpf_xdp_link_attach_failed { u32 msg; + const void *msg_ptr_; }; +struct trace_event_data_offsets_cap_capable {}; + struct trace_event_data_offsets_clk { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_clk_duty_cycle { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_clk_parent { u32 name; + const void *name_ptr_; u32 pname; + const void *pname_ptr_; }; struct trace_event_data_offsets_clk_phase { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_clk_rate { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_clk_rate_range { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_clk_rate_request { u32 name; + const void *name_ptr_; u32 pname; + const void *pname_ptr_; }; struct trace_event_data_offsets_clock { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_console { u32 msg; + const void *msg_ptr_; }; struct trace_event_data_offsets_consume_skb {}; @@ -38614,26 +42090,115 @@ struct trace_event_data_offsets_csd_function {}; struct trace_event_data_offsets_csd_queue_cpu {}; +struct trace_event_data_offsets_ctime {}; + +struct trace_event_data_offsets_ctime_ns_xchg {}; + struct trace_event_data_offsets_dev_pm_qos_request { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_device_pm_callback_end { u32 device; + const void *device_ptr_; u32 driver; + const void *driver_ptr_; }; struct trace_event_data_offsets_device_pm_callback_start { u32 device; + const void *device_ptr_; u32 driver; + const void *driver_ptr_; u32 parent; + const void *parent_ptr_; u32 pm_ops; + const void *pm_ops_ptr_; }; struct trace_event_data_offsets_devres { u32 devname; + const void *devname_ptr_; + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_dma_alloc_class { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_alloc_sgt { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_free_class { + u32 device; + const void *device_ptr_; }; +struct trace_event_data_offsets_dma_free_sgt { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_map { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_map_sg { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; + u32 dma_addrs; + const void *dma_addrs_ptr_; + u32 lengths; + const void *lengths_ptr_; +}; + +struct trace_event_data_offsets_dma_map_sg_err { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_sync_sg { + u32 device; + const void *device_ptr_; + u32 dma_addrs; + const void *dma_addrs_ptr_; + u32 lengths; + const void *lengths_ptr_; +}; + +struct trace_event_data_offsets_dma_sync_single { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_unmap { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_unmap_sg { + u32 device; + const void *device_ptr_; + u32 addrs; + const void *addrs_ptr_; +}; + +struct trace_event_data_offsets_dql_stall_detected {}; + struct trace_event_data_offsets_error_report_template {}; struct trace_event_data_offsets_exit_mmap {}; @@ -38646,6 +42211,8 @@ struct trace_event_data_offsets_file_check_and_advance_wb_err {}; struct trace_event_data_offsets_filemap_set_wb_err {}; +struct trace_event_data_offsets_fill_mg_cmtime {}; + struct trace_event_data_offsets_finish_task_reaping {}; struct trace_event_data_offsets_free_vmap_area_noflush {}; @@ -38662,6 +42229,10 @@ struct trace_event_data_offsets_hrtimer_init {}; struct trace_event_data_offsets_hrtimer_start {}; +struct trace_event_data_offsets_hw_pressure_update {}; + +struct trace_event_data_offsets_icmp_send {}; + struct trace_event_data_offsets_inet_sk_error_report {}; struct trace_event_data_offsets_inet_sock_set_state {}; @@ -38670,6 +42241,7 @@ struct trace_event_data_offsets_initcall_finish {}; struct trace_event_data_offsets_initcall_level { u32 level; + const void *level_ptr_; }; struct trace_event_data_offsets_initcall_start {}; @@ -38678,16 +42250,19 @@ struct trace_event_data_offsets_ipi_handler {}; struct trace_event_data_offsets_ipi_raise { u32 target_cpus; + const void *target_cpus_ptr_; }; struct trace_event_data_offsets_ipi_send_cpu {}; struct trace_event_data_offsets_ipi_send_cpumask { u32 cpumask; + const void *cpumask_ptr_; }; struct trace_event_data_offsets_irq_handler_entry { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_irq_handler_exit {}; @@ -38706,6 +42281,7 @@ struct trace_event_data_offsets_kmem_cache_alloc {}; struct trace_event_data_offsets_kmem_cache_free { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_ma_op {}; @@ -38714,7 +42290,10 @@ struct trace_event_data_offsets_ma_read {}; struct trace_event_data_offsets_ma_write {}; -struct trace_event_data_offsets_mark_victim {}; +struct trace_event_data_offsets_mark_victim { + u32 comm; + const void *comm_ptr_; +}; struct trace_event_data_offsets_mem_connect {}; @@ -38724,8 +42303,14 @@ struct trace_event_data_offsets_mem_return_failed {}; struct trace_event_data_offsets_migration_pte {}; +struct trace_event_data_offsets_mm_alloc_contig_migrate_range_info {}; + +struct trace_event_data_offsets_mm_filemap_fault {}; + struct trace_event_data_offsets_mm_filemap_op_page_cache {}; +struct trace_event_data_offsets_mm_filemap_op_page_cache_range {}; + struct trace_event_data_offsets_mm_lru_activate {}; struct trace_event_data_offsets_mm_lru_insertion {}; @@ -38766,73 +42351,85 @@ struct trace_event_data_offsets_mm_vmscan_lru_shrink_inactive {}; struct trace_event_data_offsets_mm_vmscan_node_reclaim_begin {}; +struct trace_event_data_offsets_mm_vmscan_reclaim_pages {}; + struct trace_event_data_offsets_mm_vmscan_throttled {}; struct trace_event_data_offsets_mm_vmscan_wakeup_kswapd {}; struct trace_event_data_offsets_mm_vmscan_write_folio {}; -struct trace_event_data_offsets_mmap_lock { - u32 memcg_path; -}; +struct trace_event_data_offsets_mmap_lock {}; -struct trace_event_data_offsets_mmap_lock_acquire_returned { - u32 memcg_path; -}; +struct trace_event_data_offsets_mmap_lock_acquire_returned {}; struct trace_event_data_offsets_module_free { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_module_load { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_module_request { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_napi_poll { u32 dev_name; + const void *dev_name_ptr_; }; struct trace_event_data_offsets_neigh__update { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_neigh_create { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_neigh_update { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_net_dev_rx_exit_template {}; struct trace_event_data_offsets_net_dev_rx_verbose_template { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_start_xmit { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_template { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_xmit { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_xmit_timeout { u32 name; + const void *name_ptr_; u32 driver; + const void *driver_ptr_; }; struct trace_event_data_offsets_netlink_extack { u32 msg; + const void *msg_ptr_; }; struct trace_event_data_offsets_notifier_info {}; @@ -38861,10 +42458,12 @@ struct trace_event_data_offsets_pm_qos_update {}; struct trace_event_data_offsets_power_domain { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_powernv_throttle { u32 reason; + const void *reason_ptr_; }; struct trace_event_data_offsets_pstate_sample {}; @@ -38873,21 +42472,27 @@ struct trace_event_data_offsets_purge_vmap_area_lazy {}; struct trace_event_data_offsets_qdisc_create { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_qdisc_dequeue {}; struct trace_event_data_offsets_qdisc_destroy { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_qdisc_enqueue {}; struct trace_event_data_offsets_qdisc_reset { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_rcu_stall_warning {}; @@ -38916,8 +42521,18 @@ struct trace_event_data_offsets_sched_numa_pair_template {}; struct trace_event_data_offsets_sched_pi_setprio {}; +struct trace_event_data_offsets_sched_prepare_exec { + u32 interp; + const void *interp_ptr_; + u32 filename; + const void *filename_ptr_; + u32 comm; + const void *comm_ptr_; +}; + struct trace_event_data_offsets_sched_process_exec { u32 filename; + const void *filename_ptr_; }; struct trace_event_data_offsets_sched_process_fork {}; @@ -38958,6 +42573,7 @@ struct trace_event_data_offsets_suspend_resume {}; struct trace_event_data_offsets_swiotlb_bounced { u32 dev_name; + const void *dev_name_ptr_; }; struct trace_event_data_offsets_sys_enter {}; @@ -38966,10 +42582,18 @@ struct trace_event_data_offsets_sys_exit {}; struct trace_event_data_offsets_task_newtask {}; +struct trace_event_data_offsets_task_prctl_unknown {}; + struct trace_event_data_offsets_task_rename {}; struct trace_event_data_offsets_tasklet {}; +struct trace_event_data_offsets_tcp_ao_event {}; + +struct trace_event_data_offsets_tcp_ao_event_sk {}; + +struct trace_event_data_offsets_tcp_ao_event_sne {}; + struct trace_event_data_offsets_tcp_cong_state_set {}; struct trace_event_data_offsets_tcp_event_sk {}; @@ -38978,11 +42602,15 @@ struct trace_event_data_offsets_tcp_event_sk_skb {}; struct trace_event_data_offsets_tcp_event_skb {}; +struct trace_event_data_offsets_tcp_hash_event {}; + struct trace_event_data_offsets_tcp_probe {}; struct trace_event_data_offsets_tcp_retransmit_synack {}; -struct trace_event_data_offsets_thermal_pressure_update {}; +struct trace_event_data_offsets_tcp_send_reset {}; + +struct trace_event_data_offsets_timer_base_idle {}; struct trace_event_data_offsets_timer_class {}; @@ -39004,6 +42632,7 @@ struct trace_event_data_offsets_wake_reaper {}; struct trace_event_data_offsets_wakeup_source { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_wbc_class {}; @@ -39016,6 +42645,7 @@ struct trace_event_data_offsets_workqueue_execute_start {}; struct trace_event_data_offsets_workqueue_queue_work { u32 workqueue; + const void *workqueue_ptr_; }; struct trace_event_data_offsets_writeback_bdi_register {}; @@ -39059,7 +42689,8 @@ struct trace_event_fields { const char *name; const int size; const int align; - const int is_signed; + const unsigned int is_signed: 1; + unsigned int needs_test: 1; const int filter_type; const int len; }; @@ -39067,19 +42698,18 @@ struct trace_event_fields { }; }; -struct eventfs_file; - struct trace_subsystem_dir; struct trace_event_file { struct list_head list; struct trace_event_call *event_call; struct event_filter *filter; - struct eventfs_file *ef; + struct eventfs_inode *ei; struct trace_array *tr; struct trace_subsystem_dir *system; struct list_head triggers; long unsigned int flags; + refcount_t ref; atomic_t sm_ref; atomic_t tm_ref; }; @@ -39165,12 +42795,28 @@ struct trace_event_raw_bpf_trace_printk { char __data[0]; }; +struct trace_event_raw_bpf_trigger_tp { + struct trace_entry ent; + int nonce; + char __data[0]; +}; + struct trace_event_raw_bpf_xdp_link_attach_failed { struct trace_entry ent; u32 __data_loc_msg; char __data[0]; }; +struct trace_event_raw_cap_capable { + struct trace_entry ent; + const struct cred *cred; + struct user_namespace *target_ns; + const struct user_namespace *capable_ns; + int cap; + int ret; + char __data[0]; +}; + struct trace_event_raw_clk { struct trace_entry ent; u32 __data_loc_name; @@ -39331,6 +42977,27 @@ struct trace_event_raw_csd_queue_cpu { char __data[0]; }; +struct trace_event_raw_ctime { + struct trace_entry ent; + dev_t dev; + ino_t ino; + time64_t ctime_s; + u32 ctime_ns; + u32 gen; + char __data[0]; +}; + +struct trace_event_raw_ctime_ns_xchg { + struct trace_entry ent; + dev_t dev; + ino_t ino; + u32 gen; + u32 old; + u32 new; + u32 cur; + char __data[0]; +}; + struct trace_event_raw_dev_pm_qos_request { struct trace_entry ent; u32 __data_loc_name; @@ -39363,8 +43030,133 @@ struct trace_event_raw_devres { struct device *dev; const char *op; void *node; - const char *name; + u32 __data_loc_name; + size_t size; + char __data[0]; +}; + +struct trace_event_raw_dma_alloc_class { + struct trace_entry ent; + u32 __data_loc_device; + void *virt_addr; + u64 dma_addr; + size_t size; + gfp_t flags; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_alloc_sgt { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + gfp_t flags; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_free_class { + struct trace_entry ent; + u32 __data_loc_device; + void *virt_addr; + u64 dma_addr; size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_free_sgt { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_map { + struct trace_entry ent; + u32 __data_loc_device; + u64 phys_addr; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_map_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u32 __data_loc_dma_addrs; + u32 __data_loc_lengths; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_map_sg_err { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + int err; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_sync_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_dma_addrs; + u32 __data_loc_lengths; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_sync_single { + struct trace_entry ent; + u32 __data_loc_device; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_unmap { + struct trace_entry ent; + u32 __data_loc_device; + u64 addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_unmap_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_addrs; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dql_stall_detected { + struct trace_entry ent; + short unsigned int thrs; + unsigned int len; + long unsigned int last_reap; + long unsigned int hist_head; + long unsigned int now; + long unsigned int hist[4]; char __data[0]; }; @@ -39388,6 +43180,7 @@ struct trace_event_raw_fib6_table_lookup { int err; int oif; int iif; + u32 flowlabel; __u8 tos; __u8 scope; __u8 flags; @@ -39440,6 +43233,18 @@ struct trace_event_raw_filemap_set_wb_err { char __data[0]; }; +struct trace_event_raw_fill_mg_cmtime { + struct trace_entry ent; + dev_t dev; + ino_t ino; + time64_t ctime_s; + time64_t mtime_s; + u32 ctime_ns; + u32 mtime_ns; + u32 gen; + char __data[0]; +}; + struct trace_event_raw_finish_task_reaping { struct trace_entry ent; int pid; @@ -39506,6 +43311,26 @@ struct trace_event_raw_hrtimer_start { char __data[0]; }; +struct trace_event_raw_hw_pressure_update { + struct trace_entry ent; + long unsigned int hw_pressure; + int cpu; + char __data[0]; +}; + +struct trace_event_raw_icmp_send { + struct trace_entry ent; + const void *skbaddr; + int type; + int code; + __u8 saddr[4]; + __u8 daddr[4]; + __u16 sport; + __u16 dport; + short unsigned int ulen; + char __data[0]; +}; + struct trace_event_raw_inet_sk_error_report { struct trace_entry ent; int error; @@ -39536,7 +43361,7 @@ struct trace_event_raw_inet_sock_set_state { char __data[0]; }; -typedef int (*initcall_t)(); +typedef int (*initcall_t)(void); struct trace_event_raw_initcall_finish { struct trace_entry ent; @@ -39630,6 +43455,7 @@ struct trace_event_raw_kfree_skb { struct trace_entry ent; void *skbaddr; void *location; + void *rx_sk; short unsigned int protocol; enum skb_drop_reason reason; char __data[0]; @@ -39704,6 +43530,14 @@ struct trace_event_raw_ma_write { struct trace_event_raw_mark_victim { struct trace_entry ent; int pid; + u32 __data_loc_comm; + long unsigned int total_vm; + long unsigned int anon_rss; + long unsigned int file_rss; + long unsigned int shmem_rss; + uid_t uid; + long unsigned int pgtables; + short int oom_score_adj; char __data[0]; }; @@ -39745,6 +43579,25 @@ struct trace_event_raw_migration_pte { char __data[0]; }; +struct trace_event_raw_mm_alloc_contig_migrate_range_info { + struct trace_entry ent; + long unsigned int start; + long unsigned int end; + long unsigned int nr_migrated; + long unsigned int nr_reclaimed; + long unsigned int nr_mapped; + int migratetype; + char __data[0]; +}; + +struct trace_event_raw_mm_filemap_fault { + struct trace_entry ent; + long unsigned int i_ino; + dev_t s_dev; + long unsigned int index; + char __data[0]; +}; + struct trace_event_raw_mm_filemap_op_page_cache { struct trace_entry ent; long unsigned int pfn; @@ -39755,6 +43608,15 @@ struct trace_event_raw_mm_filemap_op_page_cache { char __data[0]; }; +struct trace_event_raw_mm_filemap_op_page_cache_range { + struct trace_entry ent; + long unsigned int i_ino; + dev_t s_dev; + long unsigned int index; + long unsigned int last_index; + char __data[0]; +}; + struct trace_event_raw_mm_lru_activate { struct trace_entry ent; struct folio *folio; @@ -39778,6 +43640,7 @@ struct trace_event_raw_mm_migrate_pages { long unsigned int thp_succeeded; long unsigned int thp_failed; long unsigned int thp_split; + long unsigned int large_folio_split; enum migrate_mode mode; int reason; char __data[0]; @@ -39901,7 +43764,6 @@ struct trace_event_raw_mm_vmscan_lru_isolate { long unsigned int nr_scanned; long unsigned int nr_skipped; long unsigned int nr_taken; - unsigned int isolate_mode; int lru; char __data[0]; }; @@ -39944,6 +43806,22 @@ struct trace_event_raw_mm_vmscan_node_reclaim_begin { char __data[0]; }; +struct trace_event_raw_mm_vmscan_reclaim_pages { + struct trace_entry ent; + int nid; + long unsigned int nr_scanned; + long unsigned int nr_reclaimed; + long unsigned int nr_dirty; + long unsigned int nr_writeback; + long unsigned int nr_congested; + long unsigned int nr_immediate; + unsigned int nr_activate0; + unsigned int nr_activate1; + long unsigned int nr_ref_keep; + long unsigned int nr_unmap_fail; + char __data[0]; +}; + struct trace_event_raw_mm_vmscan_throttled { struct trace_entry ent; int nid; @@ -39972,7 +43850,7 @@ struct trace_event_raw_mm_vmscan_write_folio { struct trace_event_raw_mmap_lock { struct trace_entry ent; struct mm_struct *mm; - u32 __data_loc_memcg_path; + u64 memcg_id; bool write; char __data[0]; }; @@ -39980,7 +43858,7 @@ struct trace_event_raw_mmap_lock { struct trace_event_raw_mmap_lock_acquire_returned { struct trace_entry ent; struct mm_struct *mm; - u32 __data_loc_memcg_path; + u64 memcg_id; bool write; bool success; char __data[0]; @@ -40181,7 +44059,7 @@ struct trace_event_raw_page_pool_release { struct trace_event_raw_page_pool_state_hold { struct trace_entry ent; const struct page_pool *pool; - const struct page *page; + long unsigned int netmem; u32 hold; long unsigned int pfn; char __data[0]; @@ -40190,7 +44068,7 @@ struct trace_event_raw_page_pool_state_hold { struct trace_event_raw_page_pool_state_release { struct trace_entry ent; const struct page_pool *pool; - const struct page *page; + long unsigned int netmem; u32 release; long unsigned int pfn; char __data[0]; @@ -40460,6 +44338,15 @@ struct trace_event_raw_sched_pi_setprio { char __data[0]; }; +struct trace_event_raw_sched_prepare_exec { + struct trace_entry ent; + u32 __data_loc_interp; + u32 __data_loc_filename; + pid_t pid; + u32 __data_loc_comm; + char __data[0]; +}; + struct trace_event_raw_sched_process_exec { struct trace_entry ent; u32 __data_loc_filename; @@ -40498,7 +44385,6 @@ struct trace_event_raw_sched_stat_runtime { char comm[16]; pid_t pid; u64 runtime; - u64 vruntime; char __data[0]; }; @@ -40658,9 +44544,18 @@ struct trace_event_raw_task_newtask { char __data[0]; }; +struct trace_event_raw_task_prctl_unknown { + struct trace_entry ent; + int option; + long unsigned int arg2; + long unsigned int arg3; + long unsigned int arg4; + long unsigned int arg5; + char __data[0]; +}; + struct trace_event_raw_task_rename { struct trace_entry ent; - pid_t pid; char oldcomm[16]; char newcomm[16]; short int oom_score_adj; @@ -40674,6 +44569,58 @@ struct trace_event_raw_tasklet { char __data[0]; }; +struct trace_event_raw_tcp_ao_event { + struct trace_entry ent; + __u64 net_cookie; + const void *skbaddr; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + int l3index; + __u16 sport; + __u16 dport; + __u16 family; + bool fin; + bool syn; + bool rst; + bool psh; + bool ack; + __u8 keyid; + __u8 rnext; + __u8 maclen; + char __data[0]; +}; + +struct trace_event_raw_tcp_ao_event_sk { + struct trace_entry ent; + __u64 net_cookie; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + __u16 sport; + __u16 dport; + __u16 family; + __u8 keyid; + __u8 rnext; + char __data[0]; +}; + +struct trace_event_raw_tcp_ao_event_sne { + struct trace_entry ent; + __u64 net_cookie; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + __u16 sport; + __u16 dport; + __u16 family; + __u32 new_sne; + char __data[0]; +}; + struct trace_event_raw_tcp_cong_state_set { struct trace_entry ent; const void *skaddr; @@ -40725,6 +44672,26 @@ struct trace_event_raw_tcp_event_skb { char __data[0]; }; +struct trace_event_raw_tcp_hash_event { + struct trace_entry ent; + __u64 net_cookie; + const void *skbaddr; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + int l3index; + __u16 sport; + __u16 dport; + __u16 family; + bool fin; + bool syn; + bool rst; + bool psh; + bool ack; + char __data[0]; +}; + struct trace_event_raw_tcp_probe { struct trace_entry ent; __u8 saddr[28]; @@ -40742,6 +44709,8 @@ struct trace_event_raw_tcp_probe { __u32 srtt; __u32 rcv_wnd; __u64 sock_cookie; + const void *skbaddr; + const void *skaddr; char __data[0]; }; @@ -40759,10 +44728,21 @@ struct trace_event_raw_tcp_retransmit_synack { char __data[0]; }; -struct trace_event_raw_thermal_pressure_update { +struct trace_event_raw_tcp_send_reset { struct trace_entry ent; - long unsigned int thermal_pressure; - int cpu; + const void *skbaddr; + const void *skaddr; + int state; + enum sk_rst_reason reason; + __u8 saddr[28]; + __u8 daddr[28]; + char __data[0]; +}; + +struct trace_event_raw_timer_base_idle { + struct trace_entry ent; + bool is_idle; + unsigned int cpu; char __data[0]; }; @@ -40786,6 +44766,7 @@ struct trace_event_raw_timer_start { void *timer; void *function; long unsigned int expires; + long unsigned int bucket_expiry; long unsigned int now; unsigned int flags; char __data[0]; @@ -40801,7 +44782,11 @@ struct trace_event_raw_tlb_flush { struct trace_event_raw_udp_fail_queue_rcv_skb { struct trace_entry ent; int rc; - __u16 lport; + __u16 sport; + __u16 dport; + __u16 family; + __u8 saddr[28]; + __u8 daddr[28]; char __data[0]; }; @@ -40867,6 +44852,7 @@ struct trace_event_raw_wbc_class { struct trace_event_raw_workqueue_activate_work { struct trace_entry ent; void *work; + void *function; char __data[0]; }; @@ -41069,6 +45055,15 @@ struct trace_export { int flags; }; +struct trace_fprobe { + struct dyn_event devent; + struct fprobe fp; + const char *symbol; + struct tracepoint *tpoint; + struct module *mod; + struct trace_probe tp; +}; + struct trace_func_repeats { long unsigned int ip; long unsigned int parent_ip; @@ -41155,7 +45150,7 @@ struct trace_subsystem_dir { struct list_head list; struct event_subsystem *subsystem; struct trace_array *tr; - struct eventfs_file *ef; + struct eventfs_inode *ei; int ref_count; int nr_events; }; @@ -41164,11 +45159,11 @@ struct trace_uprobe { struct dyn_event devent; struct uprobe_consumer consumer; struct path path; - struct inode *inode; char *filename; + struct uprobe *uprobe; long unsigned int offset; long unsigned int ref_ctr_offset; - long unsigned int nhit; + long unsigned int *nhits; struct trace_probe tp; }; @@ -41177,33 +45172,37 @@ struct tracefs_dir_ops { int (*rmdir)(const char *); }; -struct tracefs_mount_opts { +struct tracefs_fs_info { kuid_t uid; kgid_t gid; umode_t mode; unsigned int opts; }; -struct tracefs_fs_info { - struct tracefs_mount_opts mount_opts; -}; - struct tracefs_inode { + struct inode vfs_inode; + struct list_head list; long unsigned int flags; void *private; - struct inode vfs_inode; }; +struct tracepoint_ext; + struct tracepoint { const char *name; - struct static_key key; + struct static_key_false key; struct static_call_key *static_call_key; void *static_call_tramp; void *iterator; void *probestub; - int (*regfunc)(); - void (*unregfunc)(); struct tracepoint_func *funcs; + struct tracepoint_ext *ext; +}; + +struct tracepoint_ext { + int (*regfunc)(void); + void (*unregfunc)(void); + unsigned int faultable: 1; }; struct traceprobe_parse_context { @@ -41216,6 +45215,7 @@ struct traceprobe_parse_context { const struct btf_type *last_type; u32 last_bitoffs; u32 last_bitsize; + struct trace_probe *tp; unsigned int flags; int offset; }; @@ -41323,9 +45323,29 @@ struct ts_state { char cb[48]; }; +struct tsconfig_reply_data { + struct ethnl_reply_data base; + struct hwtstamp_provider_desc hwprov_desc; + struct { + u32 tx_type; + u32 rx_filter; + u32 flags; + } hwtst_config; +}; + +struct tsconfig_req_info { + struct ethnl_req_info base; +}; + struct tsinfo_reply_data { struct ethnl_reply_data base; - struct ethtool_ts_info ts_info; + struct kernel_ethtool_ts_info ts_info; + struct ethtool_ts_stats stats; +}; + +struct tsinfo_req_info { + struct ethnl_req_info base; + struct hwtstamp_provider_desc hwprov_desc; }; struct tso_t { @@ -41451,9 +45471,10 @@ struct tty_operations { void (*hangup)(struct tty_struct *); int (*break_ctl)(struct tty_struct *, int); void (*flush_buffer)(struct tty_struct *); + int (*ldisc_ok)(struct tty_struct *, int); void (*set_ldisc)(struct tty_struct *); void (*wait_until_sent)(struct tty_struct *, int); - void (*send_xchar)(struct tty_struct *, char); + void (*send_xchar)(struct tty_struct *, u8); int (*tiocmget)(struct tty_struct *); int (*tiocmset)(struct tty_struct *, unsigned int, unsigned int); int (*resize)(struct tty_struct *, struct winsize *); @@ -41484,17 +45505,17 @@ struct tty_port { unsigned char console: 1; struct mutex mutex; struct mutex buf_mutex; - unsigned char *xmit_buf; + u8 *xmit_buf; struct { union { struct __kfifo kfifo; - unsigned char *type; - const unsigned char *const_type; + u8 *type; + const u8 *const_type; char (*rectype)[0]; - unsigned char *ptr; - const unsigned char *ptr_const; + u8 *ptr; + const u8 *ptr_const; }; - unsigned char buf[0]; + u8 buf[0]; } xmit_fifo; unsigned int close_delay; unsigned int closing_wait; @@ -41549,7 +45570,6 @@ struct tty_struct { spinlock_t lock; bool stopped; bool tco_stopped; - long unsigned int unused[0]; } flow; struct { struct pid *pgrp; @@ -41557,7 +45577,6 @@ struct tty_struct { spinlock_t lock; unsigned char pktstatus; bool packet; - long unsigned int unused[0]; } ctrl; bool hw_stopped; bool closing; @@ -41571,7 +45590,7 @@ struct tty_struct { void *driver_data; spinlock_t files_lock; int write_cnt; - unsigned char *write_buf; + u8 *write_buf; struct list_head tty_files; struct work_struct SAK_work; }; @@ -41581,8 +45600,10 @@ struct u32_fract { __u32 denominator; }; +struct ubuf_info_ops; + struct ubuf_info { - void (*callback)(struct sk_buff *, struct ubuf_info *, bool); + const struct ubuf_info_ops *ops; refcount_t refcnt; u8 flags; }; @@ -41604,6 +45625,11 @@ struct ubuf_info_msgzc { struct mmpin mmp; }; +struct ubuf_info_ops { + void (*complete)(struct sk_buff *, struct ubuf_info *, bool); + int (*link_skb)(struct sk_buff *, struct ubuf_info *); +}; + struct ucounts { struct hlist_node node; struct user_namespace *ns; @@ -41621,21 +45647,15 @@ struct ucred { struct udp_sock { struct inet_sock inet; + long unsigned int udp_flags; int pending; - unsigned int corkflag; __u8 encap_type; - unsigned char no_check6_tx: 1; - unsigned char no_check6_rx: 1; - unsigned char encap_enabled: 1; - unsigned char gro_enabled: 1; - unsigned char accept_udp_l4: 1; - unsigned char accept_udp_fraglist: 1; + __u16 udp_lrpa_hash; + struct hlist_nulls_node udp_lrpa_node; __u16 len; __u16 gso_size; __u16 pcslen; __u16 pcrlen; - __u8 pcflag; - __u8 unused[3]; int (*encap_rcv)(struct sock *, struct sk_buff *); void (*encap_err_rcv)(struct sock *, struct sk_buff *, int, __be16, u32, u8 *); int (*encap_err_lookup)(struct sock *, struct sk_buff *); @@ -41643,10 +45663,16 @@ struct udp_sock { struct sk_buff * (*gro_receive)(struct sock *, struct list_head *, struct sk_buff *); int (*gro_complete)(struct sock *, struct sk_buff *, int); long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; struct sk_buff_head reader_queue; int forward_deficit; int forward_threshold; - long: 64; + bool peeking_with_offset; long: 64; long: 64; long: 64; @@ -41670,11 +45696,20 @@ struct udp_dev_scratch { }; struct udp_hslot { - struct hlist_head head; + union { + struct hlist_head head; + struct hlist_nulls_head nulls_head; + }; int count; spinlock_t lock; }; +struct udp_hslot_main { + struct udp_hslot hslot; + u32 hash4_cnt; + long: 64; +}; + struct udp_mib { long unsigned int mibs[10]; }; @@ -41690,7 +45725,8 @@ struct udp_skb_cb { struct udp_table { struct udp_hslot *hash; - struct udp_hslot *hash2; + struct udp_hslot_main *hash2; + struct udp_hslot *hash4; unsigned int mask; unsigned int log; }; @@ -41745,37 +45781,54 @@ struct uevent_sock { struct sock *sk; }; -struct uid_gid_extent { - u32 first; - u32 lower_first; - u32 count; +struct uncached_list { + spinlock_t lock; + struct list_head head; }; -struct uid_gid_map { - u32 nr_extents; - union { - struct uid_gid_extent extent[5]; - struct { - struct uid_gid_extent *forward; - struct uid_gid_extent *reverse; - }; - }; +struct unix_address { + refcount_t refcnt; + int len; + struct sockaddr_un name[0]; }; -struct uncached_list { +struct unix_vertex; + +struct unix_sock { + struct sock sk; + struct unix_address *addr; + struct path path; + struct mutex iolock; + struct mutex bindlock; + struct sock *peer; + struct sock *listener; + struct unix_vertex *vertex; spinlock_t lock; - struct list_head head; - struct list_head quarantine; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + struct socket_wq peer_wq; + wait_queue_entry_t peer_wake; + struct scm_stat scm_stat; + long: 64; }; -struct unwind_state { - long unsigned int fp; - long unsigned int pc; - struct llist_node *kr_cur; - struct task_struct *task; - struct stack_info stack; - struct stack_info *stacks; - int nr_stacks; +struct unix_vertex { + struct list_head edges; + struct list_head entry; + struct list_head scc_entry; + long unsigned int out_degree; + long unsigned int index; + long unsigned int scc_index; +}; + +struct unlink_vma_file_batch { + int count; + struct vm_area_struct *vmas[8]; }; union upper_chunk { @@ -41789,8 +45842,12 @@ struct uprobe { struct rw_semaphore register_rwsem; struct rw_semaphore consumer_rwsem; struct list_head pending_list; - struct uprobe_consumer *consumers; + struct list_head consumers; struct inode *inode; + union { + struct callback_head rcu; + struct work_struct work; + }; loff_t offset; loff_t ref_ctr_offset; long unsigned int flags; @@ -41800,6 +45857,7 @@ struct uprobe { struct uprobe_cpu_buffer { struct mutex mutex; void *buf; + int dsize; }; struct uprobe_dispatch_data { @@ -41809,6 +45867,11 @@ struct uprobe_dispatch_data { struct uprobe_task { enum uprobe_task_state state; + unsigned int depth; + struct return_instance *return_instances; + struct return_instance *ri_pool; + struct timer_list ri_timer; + seqcount_t ri_seqcount; union { struct { struct arch_uprobe_task autask; @@ -41821,8 +45884,7 @@ struct uprobe_task { }; struct uprobe *active_uprobe; long unsigned int xol_vaddr; - struct return_instance *return_instances; - unsigned int depth; + struct arch_uprobe *auprobe; }; struct uprobe_trace_entry_head { @@ -41835,6 +45897,10 @@ struct used_address { unsigned int name_len; }; +struct user_access_state { + u64 por_el0; +}; + struct user_arg_ptr { union { const char * const *native; @@ -41856,6 +45922,12 @@ struct user_ctxs { u32 za_size; struct zt_context *zt; u32 zt_size; + struct fpmr_context *fpmr; + u32 fpmr_size; + struct poe_context *poe; + u32 poe_size; + struct gcs_context *gcs; + u32 gcs_size; }; struct user_namespace { @@ -41916,6 +45988,11 @@ struct user_struct { struct ratelimit_state ratelimit; }; +struct user_syms { + const char **syms; + char *buf; +}; + struct userstack_entry { struct trace_entry ent; unsigned int tgid; @@ -41952,7 +46029,6 @@ struct vdso_abi_info { const char *vdso_code_start; const char *vdso_code_end; long unsigned int vdso_pages; - struct vm_special_mapping *dm; struct vm_special_mapping *cm; }; @@ -41976,7 +46052,17 @@ struct vdso_data { s32 tz_dsttime; u32 hrtimer_res; u32 __unused; - struct arch_vdso_data arch_data; + struct arch_vdso_time_data arch_data; +}; + +union vdso_data_store { + struct vdso_data data[2]; + u8 page[4096]; +}; + +struct vdso_rng_data { + u64 generation; + u8 is_ready; }; struct vfree_deferred { @@ -42054,9 +46140,9 @@ struct vm_area_struct { const vm_flags_t vm_flags; vm_flags_t __vm_flags; }; - int vm_lock_seq; - struct vma_lock *vm_lock; bool detached; + unsigned int vm_lock_seq; + struct vma_lock *vm_lock; struct { struct rb_node rb; long unsigned int rb_subtree_last; @@ -42114,6 +46200,7 @@ struct vm_special_mapping { struct page **pages; vm_fault_t (*fault)(const struct vm_special_mapping *, struct vm_area_struct *, struct vm_fault *); int (*mremap)(const struct vm_special_mapping *, struct vm_area_struct *); + void (*close)(const struct vm_special_mapping *, struct vm_area_struct *); }; struct vm_struct { @@ -42135,16 +46222,38 @@ struct vm_unmapped_area_info { long unsigned int high_limit; long unsigned int align_mask; long unsigned int align_offset; + long unsigned int start_gap; }; -struct vma_iterator { - struct ma_state mas; +struct vma_list { + struct vm_area_struct *vma; + struct list_head head; + refcount_t mmap_count; }; struct vma_lock { struct rw_semaphore lock; }; +struct vma_merge_struct { + struct mm_struct *mm; + struct vma_iterator *vmi; + long unsigned int pgoff; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct vm_area_struct *vma; + long unsigned int start; + long unsigned int end; + long unsigned int flags; + struct file *file; + struct anon_vma *anon_vma; + struct mempolicy *policy; + struct vm_userfaultfd_ctx uffd_ctx; + struct anon_vma_name *anon_name; + enum vma_merge_flags merge_flags; + enum vma_merge_state state; +}; + struct vma_prepare { struct vm_area_struct *vma; struct vm_area_struct *adj_next; @@ -42179,6 +46288,7 @@ struct vmap_block { struct list_head free_list; struct callback_head callback_head; struct list_head purge; + unsigned int cpu; }; struct vmap_block_queue { @@ -42187,12 +46297,28 @@ struct vmap_block_queue { struct xarray vmap_blocks; }; +struct vmap_pool { + struct list_head head; + long unsigned int len; +}; + +struct vmap_node { + struct vmap_pool pool[256]; + spinlock_t pool_lock; + bool skip_populate; + struct rb_list busy; + struct rb_list lazy; + struct list_head purge_list; + struct work_struct purge_work; + long unsigned int nr_purged; +}; + struct vxlan_metadata { u32 gbp; }; struct wait_bit_key { - void *flags; + long unsigned int *flags; int bit_nr; long unsigned int timeout; }; @@ -42301,6 +46427,12 @@ struct work_for_cpu { long int ret; }; +struct work_offq_data { + u32 pool_id; + u32 disable; + u32 flags; +}; + struct worker { union { struct list_head entry; @@ -42320,7 +46452,7 @@ struct worker { long unsigned int last_active; unsigned int flags; int id; - char desc[24]; + char desc[32]; struct workqueue_struct *rescue_wq; }; @@ -42343,8 +46475,6 @@ struct worker_pool { struct hlist_head busy_hash[64]; struct worker *manager; struct list_head workers; - struct list_head dying_workers; - struct completion *detach_completion; struct ida worker_ida; struct workqueue_attrs *attrs; struct hlist_node hash_node; @@ -42363,6 +46493,8 @@ struct workqueue_attrs { struct wq_flusher; +struct wq_node_nr_active; + struct workqueue_struct { struct list_head pwqs; struct list_head list; @@ -42376,19 +46508,20 @@ struct workqueue_struct { struct list_head maydays; struct worker *rescuer; int nr_drainers; + int max_active; + int min_active; int saved_max_active; + int saved_min_active; struct workqueue_attrs *unbound_attrs; struct pool_workqueue *dfl_pwq; - char name[24]; + char name[32]; struct callback_head rcu; long: 64; long: 64; long: 64; - long: 64; - long: 64; - long: 64; unsigned int flags; struct pool_workqueue **cpu_pwq; + struct wq_node_nr_active *node_nr_active[0]; long: 64; long: 64; long: 64; @@ -42403,12 +46536,25 @@ struct wq_barrier { struct task_struct *task; }; +struct wq_drain_dead_softirq_work { + struct work_struct work; + struct worker_pool *pool; + struct completion done; +}; + struct wq_flusher { struct list_head list; int flush_color; struct completion done; }; +struct wq_node_nr_active { + int max; + atomic_t nr; + raw_spinlock_t lock; + struct list_head pending_pwqs; +}; + struct wq_pod_type { int nr_pods; cpumask_var_t *pod_cpus; @@ -42437,9 +46583,13 @@ struct writeback_control { unsigned int for_reclaim: 1; unsigned int range_cyclic: 1; unsigned int for_sync: 1; - unsigned int unpinned_fscache_wb: 1; + unsigned int unpinned_netfs_wb: 1; unsigned int no_cgroup_owner: 1; struct swap_iocb **swap_plug; + struct list_head *list; + struct folio_batch fbatch; + long unsigned int index; + int saved_err; }; struct ww_acquire_ctx { @@ -42471,7 +46621,7 @@ struct xa_node { struct list_head private_list; struct callback_head callback_head; }; - void *slots[16]; + void *slots[64]; union { long unsigned int tags[3]; long unsigned int marks[3]; @@ -42493,17 +46643,10 @@ struct xa_state { struct list_lru *xa_lru; }; -struct xattr_name; - -struct xattr_ctx { - union { - const void *cvalue; - void *value; - }; - void *kvalue; - size_t size; - struct xattr_name *kname; - unsigned int flags; +struct xattr_args { + __u64 value; + __u32 size; + __u32 flags; }; struct xattr_handler { @@ -42530,9 +46673,8 @@ struct xdp_buff_xsk { dma_addr_t dma; dma_addr_t frame_dma; struct xsk_buff_pool *pool; - u64 orig_addr; - struct list_head free_list_node; - struct list_head xskb_list_node; + struct list_head list_node; + long: 64; }; struct xdp_bulk_queue { @@ -42565,10 +46707,10 @@ struct xdp_dev_bulk_queue { struct xdp_frame { void *data; - u16 len; - u16 headroom; + u32 len; + u32 headroom; u32 metasize; - struct xdp_mem_info mem; + enum xdp_mem_type mem_type: 32; struct net_device *dev_rx; u32 frame_sz; u32 flags; @@ -42576,8 +46718,7 @@ struct xdp_frame { struct xdp_frame_bulk { int count; - void *xa; - void *q[16]; + netmem_ref q[16]; }; struct xdp_mem_allocator { @@ -42593,6 +46734,7 @@ struct xdp_mem_allocator { struct xdp_metadata_ops { int (*xmo_rx_timestamp)(const struct xdp_md *, u64 *); int (*xmo_rx_hash)(const struct xdp_md *, u32 *, enum xdp_rss_hash_type *); + int (*xmo_rx_vlan_tag)(const struct xdp_md *, __be16 *, u16 *); }; struct xdp_page_head { @@ -42638,6 +46780,7 @@ struct xdp_sock { long: 64; struct xsk_queue *tx; struct list_head tx_list; + u32 tx_budget_spent; spinlock_t rx_lock; u64 rx_dropped; u64 rx_queue_full; @@ -42684,6 +46827,7 @@ struct xdp_umem { struct user_struct *user; refcount_t users; u8 flags; + u8 tx_metadata_len; bool zc; struct page **pgs; int id; @@ -42771,6 +46915,20 @@ struct xfrm_mode { u8 flags; }; +struct xfrm_mode_cbs { + struct module *owner; + int (*init_state)(struct xfrm_state *); + int (*clone_state)(struct xfrm_state *, struct xfrm_state *); + void (*destroy_state)(struct xfrm_state *); + int (*user_init)(struct net *, struct xfrm_state *, struct nlattr **, struct netlink_ext_ack *); + int (*copy_to_user)(struct xfrm_state *, struct sk_buff *); + unsigned int (*sa_len)(const struct xfrm_state *); + u32 (*get_inner_mtu)(struct xfrm_state *, int); + int (*input)(struct xfrm_state *, struct sk_buff *); + int (*output)(struct net *, struct sock *, struct sk_buff *); + int (*prepare_output)(struct xfrm_state *, struct sk_buff *); +}; + struct xfrm_replay_state { __u32 oseq; __u32 seq; @@ -42835,11 +46993,17 @@ struct xfrm_state { struct hlist_node gclist; struct hlist_node bydst; }; - struct hlist_node bysrc; + union { + struct hlist_node dev_gclist; + struct hlist_node bysrc; + }; struct hlist_node byspi; struct hlist_node byseq; + struct hlist_node state_cache; + struct hlist_node state_cache_input; refcount_t refcnt; spinlock_t lock; + u32 pcpu_num; struct xfrm_id id; struct xfrm_selector sel; struct xfrm_mark mark; @@ -42858,6 +47022,7 @@ struct xfrm_state { u16 family; xfrm_address_t saddr; int header_len; + int enc_hdr_len; int trailer_len; u32 extra_flags; struct xfrm_mark smark; @@ -42873,6 +47038,8 @@ struct xfrm_state { u32 mapping_maxage; struct xfrm_encap_tmpl *encap; struct sock *encap_sk; + u32 nat_keepalive_interval; + time64_t nat_keepalive_expiration; xfrm_address_t *coaddr; struct xfrm_state *tunnel; atomic_t tunnel_users; @@ -42899,6 +47066,9 @@ struct xfrm_state { const struct xfrm_type_offload *type_offload; struct xfrm_sec_ctx *security; void *data; + u8 dir; + const struct xfrm_mode_cbs *mode_cbs; + void *mode_data; }; struct xfrm_tunnel { @@ -42930,10 +47100,8 @@ struct xfrm_type_offload { struct xol_area { wait_queue_head_t wq; - atomic_t slot_count; long unsigned int *bitmap; - struct vm_special_mapping xol_mapping; - struct page *pages[2]; + struct page *page; long unsigned int vaddr; }; @@ -42980,16 +47148,23 @@ struct xsk_buff_pool { u32 chunk_size; u32 chunk_shift; u32 frame_len; + u32 xdp_zc_max_segs; + u8 tx_metadata_len; u8 cached_need_wakeup; bool uses_need_wakeup; - bool dma_need_sync; bool unaligned; + bool tx_sw_csum; void *addrs; spinlock_t cq_lock; struct xdp_buff_xsk *free_heads[0]; long: 64; long: 64; - long: 64; +}; + +struct xsk_tx_metadata_ops { + void (*tmo_request_timestamp)(void *); + u64 (*tmo_fill_timestamp)(void *); + void (*tmo_request_checksum)(u16, u16, void *); }; struct za_context { @@ -43001,6 +47176,7 @@ struct za_context { struct zap_details { struct folio *single_folio; bool even_cows; + bool reclaim_pt; zap_flags_t zap_flags; }; @@ -43048,8 +47224,6 @@ typedef u64 (*btf_bpf_csum_level)(struct sk_buff *, u64); typedef u64 (*btf_bpf_csum_update)(struct sk_buff *, __wsum); -typedef u64 (*btf_bpf_current_task_under_cgroup)(struct bpf_map *, u32); - typedef u64 (*btf_bpf_d_path)(struct path *, char *, u32); typedef u64 (*btf_bpf_dynptr_data)(const struct bpf_dynptr_kern *, u32, u32); @@ -43084,13 +47258,13 @@ typedef u64 (*btf_bpf_get_cgroup_classid)(const struct sk_buff *); typedef u64 (*btf_bpf_get_current_comm)(char *, u32); -typedef u64 (*btf_bpf_get_current_pid_tgid)(); +typedef u64 (*btf_bpf_get_current_pid_tgid)(void); -typedef u64 (*btf_bpf_get_current_task)(); +typedef u64 (*btf_bpf_get_current_task)(void); -typedef u64 (*btf_bpf_get_current_task_btf)(); +typedef u64 (*btf_bpf_get_current_task_btf)(void); -typedef u64 (*btf_bpf_get_current_uid_gid)(); +typedef u64 (*btf_bpf_get_current_uid_gid)(void); typedef u64 (*btf_bpf_get_func_ip_kprobe)(struct pt_regs *); @@ -43104,6 +47278,8 @@ typedef u64 (*btf_bpf_get_hash_recalc)(struct sk_buff *); typedef u64 (*btf_bpf_get_listener_sock)(struct sock *); +typedef u64 (*btf_bpf_get_netns_cookie)(struct sk_buff *); + typedef u64 (*btf_bpf_get_netns_cookie_sk_msg)(struct sk_msg *); typedef u64 (*btf_bpf_get_netns_cookie_sock)(struct sock *); @@ -43114,13 +47290,13 @@ typedef u64 (*btf_bpf_get_netns_cookie_sock_ops)(struct bpf_sock_ops_kern *); typedef u64 (*btf_bpf_get_ns_current_pid_tgid)(u64, u64, struct bpf_pidns_info *, u32); -typedef u64 (*btf_bpf_get_numa_node_id)(); +typedef u64 (*btf_bpf_get_numa_node_id)(void); -typedef u64 (*btf_bpf_get_raw_cpu_id)(); +typedef u64 (*btf_bpf_get_raw_cpu_id)(void); typedef u64 (*btf_bpf_get_route_realm)(const struct sk_buff *); -typedef u64 (*btf_bpf_get_smp_processor_id)(); +typedef u64 (*btf_bpf_get_smp_processor_id)(void); typedef u64 (*btf_bpf_get_socket_cookie)(struct sk_buff *); @@ -43140,6 +47316,8 @@ typedef u64 (*btf_bpf_get_stack_pe)(struct bpf_perf_event_data_kern *, void *, u typedef u64 (*btf_bpf_get_stack_raw_tp)(struct bpf_raw_tracepoint_args *, void *, u32, u64); +typedef u64 (*btf_bpf_get_stack_sleepable)(struct pt_regs *, void *, u32, u64); + typedef u64 (*btf_bpf_get_stack_tp)(void *, void *, u32, u64); typedef u64 (*btf_bpf_get_stackid)(struct pt_regs *, struct bpf_map *, u64); @@ -43152,19 +47330,21 @@ typedef u64 (*btf_bpf_get_stackid_tp)(void *, struct bpf_map *, u64); typedef u64 (*btf_bpf_get_task_stack)(struct task_struct *, void *, u32, u64); -typedef u64 (*btf_bpf_jiffies64)(); +typedef u64 (*btf_bpf_get_task_stack_sleepable)(struct task_struct *, void *, u32, u64); + +typedef u64 (*btf_bpf_jiffies64)(void); typedef u64 (*btf_bpf_kallsyms_lookup_name)(const char *, int, int, u64 *); typedef u64 (*btf_bpf_kptr_xchg)(void *, void *); -typedef u64 (*btf_bpf_ktime_get_boot_ns)(); +typedef u64 (*btf_bpf_ktime_get_boot_ns)(void); -typedef u64 (*btf_bpf_ktime_get_coarse_ns)(); +typedef u64 (*btf_bpf_ktime_get_coarse_ns)(void); -typedef u64 (*btf_bpf_ktime_get_ns)(); +typedef u64 (*btf_bpf_ktime_get_ns)(void); -typedef u64 (*btf_bpf_ktime_get_tai_ns)(); +typedef u64 (*btf_bpf_ktime_get_tai_ns)(void); typedef u64 (*btf_bpf_l3_csum_replace)(struct sk_buff *, u32, u64, u64, u64); @@ -43412,9 +47592,9 @@ typedef u64 (*btf_bpf_spin_unlock)(struct bpf_spin_lock *); typedef u64 (*btf_bpf_strncmp)(const char *, u32, const char *); -typedef u64 (*btf_bpf_strtol)(const char *, size_t, u64, long int *); +typedef u64 (*btf_bpf_strtol)(const char *, size_t, u64, s64 *); -typedef u64 (*btf_bpf_strtoul)(const char *, size_t, u64, long unsigned int *); +typedef u64 (*btf_bpf_strtoul)(const char *, size_t, u64, u64 *); typedef u64 (*btf_bpf_sys_bpf)(int, union bpf_attr *, u32); @@ -43446,13 +47626,13 @@ typedef u64 (*btf_bpf_tcp_sock)(struct sock *); typedef u64 (*btf_bpf_this_cpu_ptr)(const void *); -typedef u64 (*btf_bpf_timer_cancel)(struct bpf_timer_kern *); +typedef u64 (*btf_bpf_timer_cancel)(struct bpf_async_kern *); -typedef u64 (*btf_bpf_timer_init)(struct bpf_timer_kern *, struct bpf_map *, u64); +typedef u64 (*btf_bpf_timer_init)(struct bpf_async_kern *, struct bpf_map *, u64); -typedef u64 (*btf_bpf_timer_set_callback)(struct bpf_timer_kern *, void *, struct bpf_prog_aux *); +typedef u64 (*btf_bpf_timer_set_callback)(struct bpf_async_kern *, void *, struct bpf_prog_aux *); -typedef u64 (*btf_bpf_timer_start)(struct bpf_timer_kern *, u64, u64); +typedef u64 (*btf_bpf_timer_start)(struct bpf_async_kern *, u64, u64); typedef u64 (*btf_bpf_trace_printk)(char *, u32, u64, u64, u64); @@ -43464,7 +47644,7 @@ typedef u64 (*btf_bpf_unlocked_sk_setsockopt)(struct sock *, int, int, char *, i typedef u64 (*btf_bpf_user_ringbuf_drain)(struct bpf_map *, void *, void *, u64); -typedef u64 (*btf_bpf_user_rnd_u32)(); +typedef u64 (*btf_bpf_user_rnd_u32)(void); typedef u64 (*btf_bpf_xdp_adjust_head)(struct xdp_buff *, int); @@ -43532,8 +47712,12 @@ typedef void (*btf_trace_bpf_test_finish)(void *, int *); typedef void (*btf_trace_bpf_trace_printk)(void *, const char *); +typedef void (*btf_trace_bpf_trigger_tp)(void *, int); + typedef void (*btf_trace_bpf_xdp_link_attach_failed)(void *, const char *); +typedef void (*btf_trace_cap_capable)(void *, const struct cred *, struct user_namespace *, const struct user_namespace *, int, int); + typedef void (*btf_trace_clk_disable)(void *, struct clk_core *); typedef void (*btf_trace_clk_disable_complete)(void *, struct clk_core *); @@ -43604,11 +47788,15 @@ typedef void (*btf_trace_cpuhp_exit)(void *, unsigned int, int, int, int); typedef void (*btf_trace_cpuhp_multi_enter)(void *, unsigned int, int, int, int (*)(unsigned int, struct hlist_node *), struct hlist_node *); -typedef void (*btf_trace_csd_function_entry)(void *, smp_call_func_t, struct __call_single_data *); +typedef void (*btf_trace_csd_function_entry)(void *, smp_call_func_t, call_single_data_t *); + +typedef void (*btf_trace_csd_function_exit)(void *, smp_call_func_t, call_single_data_t *); -typedef void (*btf_trace_csd_function_exit)(void *, smp_call_func_t, struct __call_single_data *); +typedef void (*btf_trace_csd_queue_cpu)(void *, const unsigned int, long unsigned int, smp_call_func_t, call_single_data_t *); -typedef void (*btf_trace_csd_queue_cpu)(void *, const unsigned int, long unsigned int, smp_call_func_t, struct __call_single_data *); +typedef void (*btf_trace_ctime_ns_xchg)(void *, struct inode *, u32, u32, u32); + +typedef void (*btf_trace_ctime_xchg_skip)(void *, struct inode *, struct timespec64 *); typedef void (*btf_trace_dev_pm_qos_add_request)(void *, const char *, enum dev_pm_qos_req_type, s32); @@ -43622,6 +47810,44 @@ typedef void (*btf_trace_device_pm_callback_start)(void *, struct device *, cons typedef void (*btf_trace_devres_log)(void *, struct device *, const char *, void *, const char *, size_t); +typedef void (*btf_trace_dma_alloc)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_pages)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_sgt)(void *, struct device *, struct sg_table *, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_sgt_err)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_free)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_free_pages)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_free_sgt)(void *, struct device *, struct sg_table *, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_map_page)(void *, struct device *, phys_addr_t, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_resource)(void *, struct device *, phys_addr_t, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_sg)(void *, struct device *, struct scatterlist *, int, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_sg_err)(void *, struct device *, struct scatterlist *, int, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_sync_sg_for_cpu)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_sg_for_device)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_single_for_cpu)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_single_for_device)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_unmap_page)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_unmap_resource)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_unmap_sg)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dql_stall_detected)(void *, short unsigned int, unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int *); + typedef void (*btf_trace_error_report_end)(void *, enum error_detector, long unsigned int); typedef void (*btf_trace_exit_mmap)(void *, struct mm_struct *); @@ -43634,6 +47860,8 @@ typedef void (*btf_trace_file_check_and_advance_wb_err)(void *, struct file *, e typedef void (*btf_trace_filemap_set_wb_err)(void *, struct address_space *, errseq_t); +typedef void (*btf_trace_fill_mg_cmtime)(void *, struct inode *, struct timespec64 *, struct timespec64 *); + typedef void (*btf_trace_finish_task_reaping)(void *, int); typedef void (*btf_trace_folio_wait_writeback)(void *, struct folio *, struct address_space *); @@ -43654,6 +47882,10 @@ typedef void (*btf_trace_hrtimer_init)(void *, struct hrtimer *, clockid_t, enum typedef void (*btf_trace_hrtimer_start)(void *, struct hrtimer *, enum hrtimer_mode); +typedef void (*btf_trace_hw_pressure_update)(void *, int, long unsigned int); + +typedef void (*btf_trace_icmp_send)(void *, const struct sk_buff *, int, int); + typedef void (*btf_trace_inet_sk_error_report)(void *, const struct sock *); typedef void (*btf_trace_inet_sock_set_state)(void *, const struct sock *, const int, const int); @@ -43664,6 +47896,8 @@ typedef void (*btf_trace_initcall_level)(void *, const char *); typedef void (*btf_trace_initcall_start)(void *, initcall_t); +typedef void (*btf_trace_inode_set_ctime_to_ts)(void *, struct inode *, struct timespec64 *); + typedef void (*btf_trace_ipi_entry)(void *, const char *); typedef void (*btf_trace_ipi_exit)(void *, const char *); @@ -43684,7 +47918,7 @@ typedef void (*btf_trace_itimer_state)(void *, int, const struct itimerspec64 * typedef void (*btf_trace_kfree)(void *, long unsigned int, const void *); -typedef void (*btf_trace_kfree_skb)(void *, struct sk_buff *, void *, enum skb_drop_reason); +typedef void (*btf_trace_kfree_skb)(void *, struct sk_buff *, void *, enum skb_drop_reason, struct sock *); typedef void (*btf_trace_kmalloc)(void *, long unsigned int, const void *, size_t, size_t, gfp_t, int); @@ -43698,7 +47932,7 @@ typedef void (*btf_trace_ma_read)(void *, const char *, struct ma_state *); typedef void (*btf_trace_ma_write)(void *, const char *, struct ma_state *, long unsigned int, void *); -typedef void (*btf_trace_mark_victim)(void *, int); +typedef void (*btf_trace_mark_victim)(void *, struct task_struct *, uid_t); typedef void (*btf_trace_mem_connect)(void *, const struct xdp_mem_allocator *, const struct xdp_rxq_info *); @@ -43706,15 +47940,23 @@ typedef void (*btf_trace_mem_disconnect)(void *, const struct xdp_mem_allocator typedef void (*btf_trace_mem_return_failed)(void *, const struct xdp_mem_info *, const struct page *); +typedef void (*btf_trace_mm_alloc_contig_migrate_range_info)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int); + typedef void (*btf_trace_mm_filemap_add_to_page_cache)(void *, struct folio *); typedef void (*btf_trace_mm_filemap_delete_from_page_cache)(void *, struct folio *); +typedef void (*btf_trace_mm_filemap_fault)(void *, struct address_space *, long unsigned int); + +typedef void (*btf_trace_mm_filemap_get_pages)(void *, struct address_space *, long unsigned int, long unsigned int); + +typedef void (*btf_trace_mm_filemap_map_pages)(void *, struct address_space *, long unsigned int, long unsigned int); + typedef void (*btf_trace_mm_lru_activate)(void *, struct folio *); typedef void (*btf_trace_mm_lru_insertion)(void *, struct folio *); -typedef void (*btf_trace_mm_migrate_pages)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, enum migrate_mode, int); +typedef void (*btf_trace_mm_migrate_pages)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, enum migrate_mode, int); typedef void (*btf_trace_mm_migrate_pages_start)(void *, enum migrate_mode, int); @@ -43742,7 +47984,7 @@ typedef void (*btf_trace_mm_vmscan_kswapd_sleep)(void *, int); typedef void (*btf_trace_mm_vmscan_kswapd_wake)(void *, int, int, int); -typedef void (*btf_trace_mm_vmscan_lru_isolate)(void *, int, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, isolate_mode_t, int); +typedef void (*btf_trace_mm_vmscan_lru_isolate)(void *, int, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int); typedef void (*btf_trace_mm_vmscan_lru_shrink_active)(void *, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int, int); @@ -43752,17 +47994,19 @@ typedef void (*btf_trace_mm_vmscan_node_reclaim_begin)(void *, int, int, gfp_t); typedef void (*btf_trace_mm_vmscan_node_reclaim_end)(void *, long unsigned int); +typedef void (*btf_trace_mm_vmscan_reclaim_pages)(void *, int, long unsigned int, long unsigned int, struct reclaim_stat *); + typedef void (*btf_trace_mm_vmscan_throttled)(void *, int, int, int, int); typedef void (*btf_trace_mm_vmscan_wakeup_kswapd)(void *, int, int, int, gfp_t); typedef void (*btf_trace_mm_vmscan_write_folio)(void *, struct folio *); -typedef void (*btf_trace_mmap_lock_acquire_returned)(void *, struct mm_struct *, const char *, bool, bool); +typedef void (*btf_trace_mmap_lock_acquire_returned)(void *, struct mm_struct *, bool, bool); -typedef void (*btf_trace_mmap_lock_released)(void *, struct mm_struct *, const char *, bool); +typedef void (*btf_trace_mmap_lock_released)(void *, struct mm_struct *, bool); -typedef void (*btf_trace_mmap_lock_start_locking)(void *, struct mm_struct *, const char *, bool); +typedef void (*btf_trace_mmap_lock_start_locking)(void *, struct mm_struct *, bool); typedef void (*btf_trace_module_free)(void *, struct module *); @@ -43830,9 +48074,9 @@ typedef void (*btf_trace_oom_score_adj_update)(void *, struct task_struct *); typedef void (*btf_trace_page_pool_release)(void *, const struct page_pool *, s32, u32, u32); -typedef void (*btf_trace_page_pool_state_hold)(void *, const struct page_pool *, const struct page *, u32); +typedef void (*btf_trace_page_pool_state_hold)(void *, const struct page_pool *, netmem_ref, u32); -typedef void (*btf_trace_page_pool_state_release)(void *, const struct page_pool *, const struct page *, u32); +typedef void (*btf_trace_page_pool_state_release)(void *, const struct page_pool *, netmem_ref, u32); typedef void (*btf_trace_page_pool_update_nid)(void *, const struct page_pool *, int); @@ -43840,14 +48084,14 @@ typedef void (*btf_trace_pelt_cfs_tp)(void *, struct cfs_rq *); typedef void (*btf_trace_pelt_dl_tp)(void *, struct rq *); +typedef void (*btf_trace_pelt_hw_tp)(void *, struct rq *); + typedef void (*btf_trace_pelt_irq_tp)(void *, struct rq *); typedef void (*btf_trace_pelt_rt_tp)(void *, struct rq *); typedef void (*btf_trace_pelt_se_tp)(void *, struct sched_entity *); -typedef void (*btf_trace_pelt_thermal_tp)(void *, struct rq *); - typedef void (*btf_trace_percpu_alloc_percpu)(void *, long unsigned int, bool, bool, size_t, size_t, void *, int, void *, size_t, gfp_t); typedef void (*btf_trace_percpu_alloc_percpu_fail)(void *, bool, bool, size_t, size_t); @@ -43900,6 +48144,8 @@ typedef void (*btf_trace_sb_clear_inode_writeback)(void *, struct inode *); typedef void (*btf_trace_sb_mark_inode_writeback)(void *, struct inode *); +typedef void (*btf_trace_sched_compute_energy_tp)(void *, struct task_struct *, int, long unsigned int, long unsigned int, long unsigned int); + typedef void (*btf_trace_sched_cpu_capacity_tp)(void *, struct rq *); typedef void (*btf_trace_sched_kthread_stop)(void *, struct task_struct *); @@ -43920,6 +48166,8 @@ typedef void (*btf_trace_sched_overutilized_tp)(void *, struct root_domain *, bo typedef void (*btf_trace_sched_pi_setprio)(void *, struct task_struct *, struct task_struct *); +typedef void (*btf_trace_sched_prepare_exec)(void *, struct task_struct *, struct linux_binprm *); + typedef void (*btf_trace_sched_process_exec)(void *, struct task_struct *, pid_t, struct linux_binprm *); typedef void (*btf_trace_sched_process_exit)(void *, struct task_struct *); @@ -43930,7 +48178,7 @@ typedef void (*btf_trace_sched_process_free)(void *, struct task_struct *); typedef void (*btf_trace_sched_process_wait)(void *, struct pid *); -typedef void (*btf_trace_sched_stat_runtime)(void *, struct task_struct *, u64, u64); +typedef void (*btf_trace_sched_stat_runtime)(void *, struct task_struct *, u64); typedef void (*btf_trace_sched_stick_numa)(void *, struct task_struct *, int, struct task_struct *, int); @@ -43992,18 +48240,46 @@ typedef void (*btf_trace_sys_exit)(void *, struct pt_regs *, long int); typedef void (*btf_trace_task_newtask)(void *, struct task_struct *, long unsigned int); +typedef void (*btf_trace_task_prctl_unknown)(void *, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int); + typedef void (*btf_trace_task_rename)(void *, struct task_struct *, const char *); typedef void (*btf_trace_tasklet_entry)(void *, struct tasklet_struct *, void *); typedef void (*btf_trace_tasklet_exit)(void *, struct tasklet_struct *, void *); +typedef void (*btf_trace_tcp_ao_handshake_failure)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_key_not_found)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_mismatch)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_rcv_sne_update)(void *, const struct sock *, __u32); + +typedef void (*btf_trace_tcp_ao_rnext_request)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_snd_sne_update)(void *, const struct sock *, __u32); + +typedef void (*btf_trace_tcp_ao_synack_no_key)(void *, const struct sock *, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_wrong_maclen)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + typedef void (*btf_trace_tcp_bad_csum)(void *, const struct sk_buff *); typedef void (*btf_trace_tcp_cong_state_set)(void *, struct sock *, const u8); typedef void (*btf_trace_tcp_destroy_sock)(void *, struct sock *); +typedef void (*btf_trace_tcp_hash_ao_required)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_bad_header)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_mismatch)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_required)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_unexpected)(void *, const struct sock *, const struct sk_buff *); + typedef void (*btf_trace_tcp_probe)(void *, struct sock *, struct sk_buff *); typedef void (*btf_trace_tcp_rcv_space_adjust)(void *, struct sock *); @@ -44014,9 +48290,9 @@ typedef void (*btf_trace_tcp_retransmit_skb)(void *, const struct sock *, const typedef void (*btf_trace_tcp_retransmit_synack)(void *, const struct sock *, const struct request_sock *); -typedef void (*btf_trace_tcp_send_reset)(void *, const struct sock *, const struct sk_buff *); +typedef void (*btf_trace_tcp_send_reset)(void *, const struct sock *, const struct sk_buff *, const enum sk_rst_reason); -typedef void (*btf_trace_thermal_pressure_update)(void *, int, long unsigned int); +typedef void (*btf_trace_timer_base_idle)(void *, bool, unsigned int); typedef void (*btf_trace_timer_cancel)(void *, struct timer_list *); @@ -44026,11 +48302,11 @@ typedef void (*btf_trace_timer_expire_exit)(void *, struct timer_list *); typedef void (*btf_trace_timer_init)(void *, struct timer_list *); -typedef void (*btf_trace_timer_start)(void *, struct timer_list *, long unsigned int, unsigned int); +typedef void (*btf_trace_timer_start)(void *, struct timer_list *, long unsigned int); typedef void (*btf_trace_tlb_flush)(void *, int, long unsigned int); -typedef void (*btf_trace_udp_fail_queue_rcv_skb)(void *, int, struct sock *); +typedef void (*btf_trace_udp_fail_queue_rcv_skb)(void *, int, struct sock *, struct sk_buff *); typedef void (*btf_trace_vm_unmapped_area)(void *, long unsigned int, struct vm_unmapped_area_info *); @@ -44122,6 +48398,10 @@ typedef struct vfsmount * (*debugfs_automount_t)(struct dentry *, void *); typedef void * (*devcon_match_fn_t)(const struct fwnode_handle *, const char *, void *); +typedef int (*device_iter_t)(struct device *, void *); + +typedef int (*device_match_t)(struct device *, const void *); + typedef int (*dr_match_t)(struct device *, void *, void *); typedef int (*dummy_ops_test_ret_fn)(struct bpf_dummy_ops_state *, ...); @@ -44130,11 +48410,11 @@ typedef int (*dynevent_check_arg_fn_t)(void *); typedef void (*ethnl_notify_handler_t)(struct net_device *, unsigned int, const void *); -typedef void (*exitcall_t)(); +typedef void (*exitcall_t)(void); typedef int filler_t(struct file *, struct folio *); -typedef bool (*filter_func_t)(struct uprobe_consumer *, enum uprobe_filter_ctx, struct mm_struct *); +typedef bool (*filter_func_t)(struct uprobe_consumer *, struct mm_struct *); typedef void free_folio_t(struct folio *, long unsigned int); @@ -44148,22 +48428,40 @@ typedef u32 inet6_ehashfn_t(const struct net *, const struct in6_addr *, const u typedef u32 inet_ehashfn_t(const struct net *, const __be32, const __u16, const __be32, const __be16); +struct xattr; + +typedef int (*initxattrs)(struct inode *, const struct xattr *, void *); + +typedef int (*ioremap_prot_hook_t)(phys_addr_t, size_t, pgprot_t *); + +typedef size_t (*iov_step_f)(void *, size_t, size_t, void *, void *); + +typedef size_t (*iov_ustep_f)(void *, size_t, size_t, void *, void *); + typedef void ip6_icmp_send_t(struct sk_buff *, u8, u8, __u32, const struct in6_addr *, const struct inet6_skb_parm *); +typedef void (*irq_write_msi_msg_t)(struct msi_desc *, struct msi_msg *); + typedef struct its_collection * (*its_cmd_builder_t)(struct its_node *, struct its_cmd_block *, struct its_cmd_desc *); typedef struct its_vpe * (*its_cmd_vbuilder_t)(struct its_node *, struct its_cmd_block *, struct its_cmd_desc *); +typedef bool (*kunwind_consume_fn)(const struct kunwind_state *, void *); + typedef int (*list_cmp_func_t)(void *, const struct list_head *, const struct list_head *); -typedef enum lru_status (*list_lru_walk_cb)(struct list_head *, struct list_lru_one *, spinlock_t *, void *); +typedef enum lru_status (*list_lru_walk_cb)(struct list_head *, struct list_lru_one *, void *); typedef void (*move_fn_t)(struct lruvec *, struct folio *); +typedef int (*netlink_filter_fn)(struct sock *, struct sk_buff *, void *); + typedef struct folio *new_folio_t(struct folio *, long unsigned int); typedef struct ns_common *ns_get_path_helper_t(void *); +typedef int (*objpool_init_obj_cb)(void *, void *); + typedef void (*of_init_fn_1)(struct device_node *); typedef int (*of_init_fn_1_ret)(struct device_node *); @@ -44172,24 +48470,34 @@ typedef int (*of_init_fn_2)(struct device_node *, struct device_node *); typedef int (*parse_pred_fn)(const char *, void *, int, struct filter_parse_error *, struct filter_pred **); +typedef int (*parse_unknown_fn)(char *, char *, const char *, void *); + typedef int pcpu_fc_cpu_distance_fn_t(unsigned int, unsigned int); typedef int pcpu_fc_cpu_to_node_fn_t(int); typedef void perf_iterate_f(struct perf_event *, void *); +typedef int perf_snapshot_branch_stack_t(struct perf_branch_entry *, unsigned int); + typedef struct rt6_info * (*pol_lookup_t)(struct net *, struct fib6_table *, struct flowi6 *, const struct sk_buff *, int); +typedef int (*pp_nl_fill_cb)(struct sk_buff *, const struct page_pool *, const struct genl_info *); + typedef int (*proc_visitor)(struct task_struct *, void *); typedef long unsigned int psci_fn(long unsigned int, long unsigned int, long unsigned int, long unsigned int); typedef int (*psci_initcall_t)(const struct device_node *); +typedef bool pstate_check_t(long unsigned int); + typedef int (*pte_fn_t)(pte_t *, long unsigned int, void *); typedef int (*reservedmem_of_init_fn)(struct reserved_mem *); +typedef bool (*ring_buffer_cond_fn)(void *); + typedef int (*sendmsg_func)(struct sock *, struct msghdr *); typedef int (*set_callee_state_fn)(struct bpf_verifier_env *, struct bpf_func_state *, struct bpf_func_state *, int); @@ -44204,8 +48512,6 @@ typedef int splice_actor(struct pipe_inode_info *, struct pipe_buffer *, struct typedef int splice_direct_actor(struct pipe_inode_info *, struct splice_desc *); -typedef bool (*stack_trace_consume_fn)(void *, long unsigned int); - typedef void (*swap_r_func_t)(void *, void *, int, const void *); typedef long int (*syscall_fn_t)(const struct pt_regs *); @@ -44214,6 +48520,8 @@ typedef int (*task_call_f)(struct task_struct *, void *); typedef void (*task_work_func_t)(struct callback_head *); +typedef void text_poke_f(void *, void *, size_t, size_t); + typedef void ttbr_replace_func(phys_addr_t); typedef struct sock * (*udp_lookup_t)(const struct sk_buff *, __be16, __be16); @@ -44222,17 +48530,11 @@ typedef int wait_bit_action_f(struct wait_bit_key *, int); typedef int (*writepage_t)(struct folio *, struct writeback_control *, void *); -struct nf_bridge_frag_data; - -struct task_group; - -struct iomap_ops; - struct net_bridge; -struct linux_binprm; +struct iomap_ops; -struct ahash_request; +struct task_group; typedef void *acpi_handle; @@ -44242,37 +48544,125 @@ struct audit_buffer; struct audit_context; -struct bpf_cpu_map_entry; - -struct bpf_dtab_netdev; - struct bpf_iter; -struct btf_iter_num; - struct capture_control; struct cma; -struct ftrace_func_mapper; - -struct kobj_map; - -struct metadata_dst; - struct nvmem_cell; -struct pt_regs; - -struct task_struct; - -struct unix_sock; - -struct xfrm_state; - /* BPF kfuncs */ #ifndef BPF_NO_KFUNC_PROTOTYPES +extern void *bpf_arena_alloc_pages(void *p__map, void *addr__ign, u32 page_cnt, int node_id, u64 flags) __weak __ksym; +extern void bpf_arena_free_pages(void *p__map, void *ptr__ign, u32 page_cnt) __weak __ksym; +extern __bpf_fastcall void *bpf_cast_to_kern_ctx(void *obj) __weak __ksym; +extern int bpf_copy_from_user_str(void *dst, u32 dst__sz, const void *unsafe_ptr__ign, u64 flags) __weak __ksym; +extern struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_and(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_any_and_distribute(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_any_distribute(const struct cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_clear(struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_copy(struct bpf_cpumask *dst, const struct cpumask *src) __weak __ksym; +extern struct bpf_cpumask *bpf_cpumask_create(void) __weak __ksym; +extern bool bpf_cpumask_empty(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_first(const struct cpumask *cpumask) __weak __ksym; +extern u32 bpf_cpumask_first_and(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_full(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_intersects(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern void bpf_cpumask_or(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern void bpf_cpumask_release(struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_setall(struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_subset(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern bool bpf_cpumask_test_and_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_test_and_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __weak __ksym; +extern u32 bpf_cpumask_weight(const struct cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_xor(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern int bpf_dynptr_adjust(const struct bpf_dynptr *p, u32 start, u32 end) __weak __ksym; +extern int bpf_dynptr_clone(const struct bpf_dynptr *p, struct bpf_dynptr *clone__uninit) __weak __ksym; +extern int bpf_dynptr_from_skb(struct __sk_buff *s, u64 flags, struct bpf_dynptr *ptr__uninit) __weak __ksym; +extern int bpf_dynptr_from_xdp(struct xdp_md *x, u64 flags, struct bpf_dynptr *ptr__uninit) __weak __ksym; +extern bool bpf_dynptr_is_null(const struct bpf_dynptr *p) __weak __ksym; +extern bool bpf_dynptr_is_rdonly(const struct bpf_dynptr *p) __weak __ksym; +extern __u32 bpf_dynptr_size(const struct bpf_dynptr *p) __weak __ksym; +extern void *bpf_dynptr_slice(const struct bpf_dynptr *p, u32 offset, void *buffer__opt, u32 buffer__szk) __weak __ksym; +extern void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *p, u32 offset, void *buffer__opt, u32 buffer__szk) __weak __ksym; +extern int bpf_fentry_test1(int a) __weak __ksym; +extern struct kmem_cache *bpf_get_kmem_cache(u64 addr) __weak __ksym; +extern void bpf_iter_bits_destroy(struct bpf_iter_bits *it) __weak __ksym; +extern int bpf_iter_bits_new(struct bpf_iter_bits *it, const u64 *unsafe_ptr__ign, u32 nr_words) __weak __ksym; +extern int *bpf_iter_bits_next(struct bpf_iter_bits *it) __weak __ksym; +extern void bpf_iter_kmem_cache_destroy(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern int bpf_iter_kmem_cache_new(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern struct kmem_cache *bpf_iter_kmem_cache_next(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern void bpf_iter_num_destroy(struct bpf_iter_num *it) __weak __ksym; +extern int bpf_iter_num_new(struct bpf_iter_num *it, int start, int end) __weak __ksym; +extern int *bpf_iter_num_next(struct bpf_iter_num *it) __weak __ksym; +extern void bpf_iter_task_destroy(struct bpf_iter_task *it) __weak __ksym; +extern int bpf_iter_task_new(struct bpf_iter_task *it, struct task_struct *task__nullable, unsigned int flags) __weak __ksym; +extern struct task_struct *bpf_iter_task_next(struct bpf_iter_task *it) __weak __ksym; +extern void bpf_iter_task_vma_destroy(struct bpf_iter_task_vma *it) __weak __ksym; +extern int bpf_iter_task_vma_new(struct bpf_iter_task_vma *it, struct task_struct *task, u64 addr) __weak __ksym; +extern struct vm_area_struct *bpf_iter_task_vma_next(struct bpf_iter_task_vma *it) __weak __ksym; +extern void bpf_kfunc_call_memb_release(struct prog_test_member *p) __weak __ksym; +extern void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) __weak __ksym; +extern struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) __weak __ksym; +extern struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) __weak __ksym; +extern int bpf_list_push_back_impl(struct bpf_list_head *head, struct bpf_list_node *node, void *meta__ign, u64 off) __weak __ksym; +extern int bpf_list_push_front_impl(struct bpf_list_head *head, struct bpf_list_node *node, void *meta__ign, u64 off) __weak __ksym; +extern void bpf_local_irq_restore(long unsigned int *flags__irq_flag) __weak __ksym; +extern void bpf_local_irq_save(long unsigned int *flags__irq_flag) __weak __ksym; +extern s64 bpf_map_sum_elem_count(const struct bpf_map *map) __weak __ksym; +extern int bpf_modify_return_test(int a, int *b) __weak __ksym; +extern int bpf_modify_return_test2(int a, int *b, short int c, int d, void *e, char f, int g) __weak __ksym; +extern int bpf_modify_return_test_tp(int nonce) __weak __ksym; +extern void bpf_obj_drop_impl(void *p__alloc, void *meta__ign) __weak __ksym; +extern void *bpf_obj_new_impl(u64 local_type_id__k, void *meta__ign) __weak __ksym; +extern void bpf_percpu_obj_drop_impl(void *p__alloc, void *meta__ign) __weak __ksym; +extern void *bpf_percpu_obj_new_impl(u64 local_type_id__k, void *meta__ign) __weak __ksym; +extern void bpf_preempt_disable(void) __weak __ksym; +extern void bpf_preempt_enable(void) __weak __ksym; +extern int bpf_rbtree_add_impl(struct bpf_rb_root *root, struct bpf_rb_node *node, bool (*less)(struct bpf_rb_node *, const struct bpf_rb_node *), void *meta__ign, u64 off) __weak __ksym; +extern struct bpf_rb_node *bpf_rbtree_first(struct bpf_rb_root *root) __weak __ksym; +extern struct bpf_rb_node *bpf_rbtree_remove(struct bpf_rb_root *root, struct bpf_rb_node *node) __weak __ksym; +extern void bpf_rcu_read_lock(void) __weak __ksym; +extern void bpf_rcu_read_unlock(void) __weak __ksym; +extern __bpf_fastcall void *bpf_rdonly_cast(const void *obj__ign, u32 btf_id__k) __weak __ksym; +extern void *bpf_refcount_acquire_impl(void *p__refcounted_kptr, void *meta__ign) __weak __ksym; +extern int bpf_send_signal_task(struct task_struct *task, int sig, enum pid_type type, u64 value) __weak __ksym; +extern __u64 *bpf_session_cookie(void) __weak __ksym; +extern bool bpf_session_is_return(void) __weak __ksym; +extern int bpf_sk_assign_tcp_reqsk(struct __sk_buff *s, struct sock *sk, struct bpf_tcp_req_attrs *attrs, int attrs__sz) __weak __ksym; +extern int bpf_sock_addr_set_sun_path(struct bpf_sock_addr_kern *sa_kern, const u8 *sun_path, u32 sun_path__sz) __weak __ksym; +extern int bpf_sock_destroy(struct sock_common *sock) __weak __ksym; +extern struct task_struct *bpf_task_acquire(struct task_struct *p) __weak __ksym; +extern struct task_struct *bpf_task_from_pid(s32 pid) __weak __ksym; +extern struct task_struct *bpf_task_from_vpid(s32 vpid) __weak __ksym; +extern void bpf_task_release(struct task_struct *p) __weak __ksym; +extern void bpf_throw(u64 cookie) __weak __ksym; +extern int bpf_wq_init(struct bpf_wq *wq, void *p__map, unsigned int flags) __weak __ksym; +extern int bpf_wq_set_callback_impl(struct bpf_wq *wq, int (*callback_fn)(void *, int *, void *), unsigned int flags, void *aux__ign) __weak __ksym; +extern int bpf_wq_start(struct bpf_wq *wq, unsigned int flags) __weak __ksym; +extern int bpf_xdp_metadata_rx_hash(const struct xdp_md *ctx, u32 *hash, enum xdp_rss_hash_type *rss_type) __weak __ksym; +extern int bpf_xdp_metadata_rx_timestamp(const struct xdp_md *ctx, u64 *timestamp) __weak __ksym; +extern int bpf_xdp_metadata_rx_vlan_tag(const struct xdp_md *ctx, __be16 *vlan_proto, u16 *vlan_tci) __weak __ksym; +extern void cubictcp_acked(struct sock *sk, const struct ack_sample *sample) __weak __ksym; +extern void cubictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) __weak __ksym; +extern void cubictcp_cwnd_event(struct sock *sk, enum tcp_ca_event event) __weak __ksym; +extern void cubictcp_init(struct sock *sk) __weak __ksym; +extern u32 cubictcp_recalc_ssthresh(struct sock *sk) __weak __ksym; +extern void cubictcp_state(struct sock *sk, u8 new_state) __weak __ksym; +extern void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked) __weak __ksym; +extern void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked) __weak __ksym; +extern u32 tcp_reno_ssthresh(struct sock *sk) __weak __ksym; +extern u32 tcp_reno_undo_cwnd(struct sock *sk) __weak __ksym; +extern u32 tcp_slow_start(struct tcp_sock *tp, u32 acked) __weak __ksym; #endif #ifndef BPF_NO_PRESERVE_ACCESS_INDEX diff --git a/include/arm/vmlinux.h b/include/arm/vmlinux.h index 0a07c47..f254767 120000 --- a/include/arm/vmlinux.h +++ b/include/arm/vmlinux.h @@ -1 +1 @@ -vmlinux_6.6.h \ No newline at end of file +vmlinux_6.14.h \ No newline at end of file diff --git a/include/arm/vmlinux_6.14.h b/include/arm/vmlinux_6.14.h new file mode 100644 index 0000000..e8bd7fc --- /dev/null +++ b/include/arm/vmlinux_6.14.h @@ -0,0 +1,47898 @@ +#ifndef __VMLINUX_H__ +#define __VMLINUX_H__ + +#ifndef BPF_NO_PRESERVE_ACCESS_INDEX +#pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record) +#endif + +#ifndef __ksym +#define __ksym __attribute__((section(".ksyms"))) +#endif + +#ifndef __weak +#define __weak __attribute__((weak)) +#endif + +#ifndef __bpf_fastcall +#if __has_attribute(bpf_fastcall) +#define __bpf_fastcall __attribute__((bpf_fastcall)) +#else +#define __bpf_fastcall +#endif +#endif + +enum { + AT_PKT_END = -1, + BEYOND_PKT_END = -2, +}; + +enum { + AX25_VALUES_IPDEFMODE = 0, + AX25_VALUES_AXDEFMODE = 1, + AX25_VALUES_BACKOFF = 2, + AX25_VALUES_CONMODE = 3, + AX25_VALUES_WINDOW = 4, + AX25_VALUES_EWINDOW = 5, + AX25_VALUES_T1 = 6, + AX25_VALUES_T2 = 7, + AX25_VALUES_T3 = 8, + AX25_VALUES_IDLE = 9, + AX25_VALUES_N2 = 10, + AX25_VALUES_PACLEN = 11, + AX25_VALUES_PROTOCOL = 12, + AX25_MAX_VALUES = 13, +}; + +enum { + BPF_ADJ_ROOM_ENCAP_L2_MASK = 255, + BPF_ADJ_ROOM_ENCAP_L2_SHIFT = 56, +}; + +enum { + BPF_ANY = 0, + BPF_NOEXIST = 1, + BPF_EXIST = 2, + BPF_F_LOCK = 4, +}; + +enum { + BPF_CSUM_LEVEL_QUERY = 0, + BPF_CSUM_LEVEL_INC = 1, + BPF_CSUM_LEVEL_DEC = 2, + BPF_CSUM_LEVEL_RESET = 3, +}; + +enum { + BPF_FIB_LKUP_RET_SUCCESS = 0, + BPF_FIB_LKUP_RET_BLACKHOLE = 1, + BPF_FIB_LKUP_RET_UNREACHABLE = 2, + BPF_FIB_LKUP_RET_PROHIBIT = 3, + BPF_FIB_LKUP_RET_NOT_FWDED = 4, + BPF_FIB_LKUP_RET_FWD_DISABLED = 5, + BPF_FIB_LKUP_RET_UNSUPP_LWT = 6, + BPF_FIB_LKUP_RET_NO_NEIGH = 7, + BPF_FIB_LKUP_RET_FRAG_NEEDED = 8, + BPF_FIB_LKUP_RET_NO_SRC_ADDR = 9, +}; + +enum { + BPF_FIB_LOOKUP_DIRECT = 1, + BPF_FIB_LOOKUP_OUTPUT = 2, + BPF_FIB_LOOKUP_SKIP_NEIGH = 4, + BPF_FIB_LOOKUP_TBID = 8, + BPF_FIB_LOOKUP_SRC = 16, + BPF_FIB_LOOKUP_MARK = 32, +}; + +enum { + BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG = 1, + BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL = 2, + BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP = 4, +}; + +enum { + BPF_F_ADJ_ROOM_FIXED_GSO = 1, + BPF_F_ADJ_ROOM_ENCAP_L3_IPV4 = 2, + BPF_F_ADJ_ROOM_ENCAP_L3_IPV6 = 4, + BPF_F_ADJ_ROOM_ENCAP_L4_GRE = 8, + BPF_F_ADJ_ROOM_ENCAP_L4_UDP = 16, + BPF_F_ADJ_ROOM_NO_CSUM_RESET = 32, + BPF_F_ADJ_ROOM_ENCAP_L2_ETH = 64, + BPF_F_ADJ_ROOM_DECAP_L3_IPV4 = 128, + BPF_F_ADJ_ROOM_DECAP_L3_IPV6 = 256, +}; + +enum { + BPF_F_GET_BRANCH_RECORDS_SIZE = 1, +}; + +enum { + BPF_F_HDR_FIELD_MASK = 15, +}; + +enum { + BPF_F_INDEX_MASK = 4294967295ULL, + BPF_F_CURRENT_CPU = 4294967295ULL, + BPF_F_CTXLEN_MASK = 4503595332403200ULL, +}; + +enum { + BPF_F_INGRESS = 1, + BPF_F_BROADCAST = 8, + BPF_F_EXCLUDE_INGRESS = 16, +}; + +enum { + BPF_F_NEIGH = 65536, + BPF_F_PEER = 131072, + BPF_F_NEXTHOP = 262144, +}; + +enum { + BPF_F_NO_PREALLOC = 1, + BPF_F_NO_COMMON_LRU = 2, + BPF_F_NUMA_NODE = 4, + BPF_F_RDONLY = 8, + BPF_F_WRONLY = 16, + BPF_F_STACK_BUILD_ID = 32, + BPF_F_ZERO_SEED = 64, + BPF_F_RDONLY_PROG = 128, + BPF_F_WRONLY_PROG = 256, + BPF_F_CLONE = 512, + BPF_F_MMAPABLE = 1024, + BPF_F_PRESERVE_ELEMS = 2048, + BPF_F_INNER_MAP = 4096, + BPF_F_LINK = 8192, + BPF_F_PATH_FD = 16384, + BPF_F_VTYPE_BTF_OBJ_FD = 32768, + BPF_F_TOKEN_FD = 65536, + BPF_F_SEGV_ON_FAULT = 131072, + BPF_F_NO_USER_CONV = 262144, +}; + +enum { + BPF_F_PSEUDO_HDR = 16, + BPF_F_MARK_MANGLED_0 = 32, + BPF_F_MARK_ENFORCE = 64, +}; + +enum { + BPF_F_RECOMPUTE_CSUM = 1, + BPF_F_INVALIDATE_HASH = 2, +}; + +enum { + BPF_F_SKIP_FIELD_MASK = 255, + BPF_F_USER_STACK = 256, + BPF_F_FAST_STACK_CMP = 512, + BPF_F_REUSE_STACKID = 1024, + BPF_F_USER_BUILD_ID = 2048, +}; + +enum { + BPF_F_TIMER_ABS = 1, + BPF_F_TIMER_CPU_PIN = 2, +}; + +enum { + BPF_F_TUNINFO_FLAGS = 16, +}; + +enum { + BPF_F_TUNINFO_IPV6 = 1, +}; + +enum { + BPF_F_UPROBE_MULTI_RETURN = 1, +}; + +enum { + BPF_F_ZERO_CSUM_TX = 2, + BPF_F_DONT_FRAGMENT = 4, + BPF_F_SEQ_NUMBER = 8, + BPF_F_NO_TUNNEL_KEY = 16, +}; + +enum { + BPF_LOAD_HDR_OPT_TCP_SYN = 1, +}; + +enum { + BPF_LOCAL_STORAGE_GET_F_CREATE = 1, + BPF_SK_STORAGE_GET_F_CREATE = 1, +}; + +enum { + BPF_MAX_LOOPS = 8388608, +}; + +enum { + BPF_MAX_TRAMP_LINKS = 38, +}; + +enum { + BPF_R2_HI = 0, + BPF_R2_LO = 1, + BPF_R3_HI = 2, + BPF_R3_LO = 3, + BPF_R4_HI = 4, + BPF_R4_LO = 5, + BPF_R5_HI = 6, + BPF_R5_LO = 7, + BPF_R7_HI = 8, + BPF_R7_LO = 9, + BPF_R8_HI = 10, + BPF_R8_LO = 11, + BPF_R9_HI = 12, + BPF_R9_LO = 13, + BPF_FP_HI = 14, + BPF_FP_LO = 15, + BPF_TC_HI = 16, + BPF_TC_LO = 17, + BPF_AX_HI = 18, + BPF_AX_LO = 19, + BPF_JIT_SCRATCH_REGS = 20, +}; + +enum { + BPF_RB_AVAIL_DATA = 0, + BPF_RB_RING_SIZE = 1, + BPF_RB_CONS_POS = 2, + BPF_RB_PROD_POS = 3, +}; + +enum { + BPF_RB_NO_WAKEUP = 1, + BPF_RB_FORCE_WAKEUP = 2, +}; + +enum { + BPF_REG_0 = 0, + BPF_REG_1 = 1, + BPF_REG_2 = 2, + BPF_REG_3 = 3, + BPF_REG_4 = 4, + BPF_REG_5 = 5, + BPF_REG_6 = 6, + BPF_REG_7 = 7, + BPF_REG_8 = 8, + BPF_REG_9 = 9, + BPF_REG_10 = 10, + __MAX_BPF_REG = 11, +}; + +enum { + BPF_RINGBUF_BUSY_BIT = 2147483648, + BPF_RINGBUF_DISCARD_BIT = 1073741824, + BPF_RINGBUF_HDR_SZ = 8, +}; + +enum { + BPF_SKB_TSTAMP_UNSPEC = 0, + BPF_SKB_TSTAMP_DELIVERY_MONO = 1, + BPF_SKB_CLOCK_REALTIME = 0, + BPF_SKB_CLOCK_MONOTONIC = 1, + BPF_SKB_CLOCK_TAI = 2, +}; + +enum { + BPF_SK_LOOKUP_F_REPLACE = 1, + BPF_SK_LOOKUP_F_NO_REUSEPORT = 2, +}; + +enum { + BPF_SOCK_OPS_RTO_CB_FLAG = 1, + BPF_SOCK_OPS_RETRANS_CB_FLAG = 2, + BPF_SOCK_OPS_STATE_CB_FLAG = 4, + BPF_SOCK_OPS_RTT_CB_FLAG = 8, + BPF_SOCK_OPS_PARSE_ALL_HDR_OPT_CB_FLAG = 16, + BPF_SOCK_OPS_PARSE_UNKNOWN_HDR_OPT_CB_FLAG = 32, + BPF_SOCK_OPS_WRITE_HDR_OPT_CB_FLAG = 64, + BPF_SOCK_OPS_ALL_CB_FLAGS = 127, +}; + +enum { + BPF_SOCK_OPS_VOID = 0, + BPF_SOCK_OPS_TIMEOUT_INIT = 1, + BPF_SOCK_OPS_RWND_INIT = 2, + BPF_SOCK_OPS_TCP_CONNECT_CB = 3, + BPF_SOCK_OPS_ACTIVE_ESTABLISHED_CB = 4, + BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB = 5, + BPF_SOCK_OPS_NEEDS_ECN = 6, + BPF_SOCK_OPS_BASE_RTT = 7, + BPF_SOCK_OPS_RTO_CB = 8, + BPF_SOCK_OPS_RETRANS_CB = 9, + BPF_SOCK_OPS_STATE_CB = 10, + BPF_SOCK_OPS_TCP_LISTEN_CB = 11, + BPF_SOCK_OPS_RTT_CB = 12, + BPF_SOCK_OPS_PARSE_HDR_OPT_CB = 13, + BPF_SOCK_OPS_HDR_OPT_LEN_CB = 14, + BPF_SOCK_OPS_WRITE_HDR_OPT_CB = 15, +}; + +enum { + BPF_TASK_ITER_ALL_PROCS = 0, + BPF_TASK_ITER_ALL_THREADS = 1, + BPF_TASK_ITER_PROC_THREADS = 2, +}; + +enum { + BPF_TCP_ESTABLISHED = 1, + BPF_TCP_SYN_SENT = 2, + BPF_TCP_SYN_RECV = 3, + BPF_TCP_FIN_WAIT1 = 4, + BPF_TCP_FIN_WAIT2 = 5, + BPF_TCP_TIME_WAIT = 6, + BPF_TCP_CLOSE = 7, + BPF_TCP_CLOSE_WAIT = 8, + BPF_TCP_LAST_ACK = 9, + BPF_TCP_LISTEN = 10, + BPF_TCP_CLOSING = 11, + BPF_TCP_NEW_SYN_RECV = 12, + BPF_TCP_BOUND_INACTIVE = 13, + BPF_TCP_MAX_STATES = 14, +}; + +enum { + BR_MCAST_DIR_RX = 0, + BR_MCAST_DIR_TX = 1, + BR_MCAST_DIR_SIZE = 2, +}; + +enum { + BTF_FIELDS_MAX = 11, +}; + +enum { + BTF_FIELD_IGNORE = 0, + BTF_FIELD_FOUND = 1, +}; + +enum { + BTF_F_COMPACT = 1, + BTF_F_NONAME = 2, + BTF_F_PTR_RAW = 4, + BTF_F_ZERO = 8, +}; + +enum { + BTF_KFUNC_SET_MAX_CNT = 256, + BTF_DTOR_KFUNC_MAX_CNT = 256, + BTF_KFUNC_FILTER_MAX_CNT = 16, +}; + +enum { + BTF_KIND_UNKN = 0, + BTF_KIND_INT = 1, + BTF_KIND_PTR = 2, + BTF_KIND_ARRAY = 3, + BTF_KIND_STRUCT = 4, + BTF_KIND_UNION = 5, + BTF_KIND_ENUM = 6, + BTF_KIND_FWD = 7, + BTF_KIND_TYPEDEF = 8, + BTF_KIND_VOLATILE = 9, + BTF_KIND_CONST = 10, + BTF_KIND_RESTRICT = 11, + BTF_KIND_FUNC = 12, + BTF_KIND_FUNC_PROTO = 13, + BTF_KIND_VAR = 14, + BTF_KIND_DATASEC = 15, + BTF_KIND_FLOAT = 16, + BTF_KIND_DECL_TAG = 17, + BTF_KIND_TYPE_TAG = 18, + BTF_KIND_ENUM64 = 19, + NR_BTF_KINDS = 20, + BTF_KIND_MAX = 19, +}; + +enum { + BTF_MODULE_F_LIVE = 1, +}; + +enum { + BTF_SOCK_TYPE_INET = 0, + BTF_SOCK_TYPE_INET_CONN = 1, + BTF_SOCK_TYPE_INET_REQ = 2, + BTF_SOCK_TYPE_INET_TW = 3, + BTF_SOCK_TYPE_REQ = 4, + BTF_SOCK_TYPE_SOCK = 5, + BTF_SOCK_TYPE_SOCK_COMMON = 6, + BTF_SOCK_TYPE_TCP = 7, + BTF_SOCK_TYPE_TCP_REQ = 8, + BTF_SOCK_TYPE_TCP_TW = 9, + BTF_SOCK_TYPE_TCP6 = 10, + BTF_SOCK_TYPE_UDP = 11, + BTF_SOCK_TYPE_UDP6 = 12, + BTF_SOCK_TYPE_UNIX = 13, + BTF_SOCK_TYPE_MPTCP = 14, + BTF_SOCK_TYPE_SOCKET = 15, + MAX_BTF_SOCK_TYPE = 16, +}; + +enum { + BTF_TRACING_TYPE_TASK = 0, + BTF_TRACING_TYPE_FILE = 1, + BTF_TRACING_TYPE_VMA = 2, + MAX_BTF_TRACING_TYPE = 3, +}; + +enum { + BTF_VAR_STATIC = 0, + BTF_VAR_GLOBAL_ALLOCATED = 1, + BTF_VAR_GLOBAL_EXTERN = 2, +}; + +enum { + CMIS_MODULE_LOW_PWR = 1, + CMIS_MODULE_READY = 3, +}; + +enum { + CRNG_EMPTY = 0, + CRNG_EARLY = 1, + CRNG_READY = 2, +}; + +enum { + CRNG_RESEED_START_INTERVAL = 100, + CRNG_RESEED_INTERVAL = 6000, +}; + +enum { + CSD_FLAG_LOCK = 1, + IRQ_WORK_PENDING = 1, + IRQ_WORK_BUSY = 2, + IRQ_WORK_LAZY = 4, + IRQ_WORK_HARD_IRQ = 8, + IRQ_WORK_CLAIMED = 3, + CSD_TYPE_ASYNC = 0, + CSD_TYPE_SYNC = 16, + CSD_TYPE_IRQ_WORK = 32, + CSD_TYPE_TTWU = 48, + CSD_FLAG_TYPE_MASK = 240, +}; + +enum { + CTRL_ATTR_MCAST_GRP_UNSPEC = 0, + CTRL_ATTR_MCAST_GRP_NAME = 1, + CTRL_ATTR_MCAST_GRP_ID = 2, + __CTRL_ATTR_MCAST_GRP_MAX = 3, +}; + +enum { + CTRL_ATTR_OP_UNSPEC = 0, + CTRL_ATTR_OP_ID = 1, + CTRL_ATTR_OP_FLAGS = 2, + __CTRL_ATTR_OP_MAX = 3, +}; + +enum { + CTRL_ATTR_POLICY_UNSPEC = 0, + CTRL_ATTR_POLICY_DO = 1, + CTRL_ATTR_POLICY_DUMP = 2, + __CTRL_ATTR_POLICY_DUMP_MAX = 3, + CTRL_ATTR_POLICY_DUMP_MAX = 2, +}; + +enum { + CTRL_ATTR_UNSPEC = 0, + CTRL_ATTR_FAMILY_ID = 1, + CTRL_ATTR_FAMILY_NAME = 2, + CTRL_ATTR_VERSION = 3, + CTRL_ATTR_HDRSIZE = 4, + CTRL_ATTR_MAXATTR = 5, + CTRL_ATTR_OPS = 6, + CTRL_ATTR_MCAST_GROUPS = 7, + CTRL_ATTR_POLICY = 8, + CTRL_ATTR_OP_POLICY = 9, + CTRL_ATTR_OP = 10, + __CTRL_ATTR_MAX = 11, +}; + +enum { + CTRL_CMD_UNSPEC = 0, + CTRL_CMD_NEWFAMILY = 1, + CTRL_CMD_DELFAMILY = 2, + CTRL_CMD_GETFAMILY = 3, + CTRL_CMD_NEWOPS = 4, + CTRL_CMD_DELOPS = 5, + CTRL_CMD_GETOPS = 6, + CTRL_CMD_NEWMCAST_GRP = 7, + CTRL_CMD_DELMCAST_GRP = 8, + CTRL_CMD_GETMCAST_GRP = 9, + CTRL_CMD_GETPOLICY = 10, + __CTRL_CMD_MAX = 11, +}; + +enum { + DAD_PROCESS = 0, + DAD_BEGIN = 1, + DAD_ABORT = 2, +}; + +enum { + DEVCONF_FORWARDING = 0, + DEVCONF_HOPLIMIT = 1, + DEVCONF_MTU6 = 2, + DEVCONF_ACCEPT_RA = 3, + DEVCONF_ACCEPT_REDIRECTS = 4, + DEVCONF_AUTOCONF = 5, + DEVCONF_DAD_TRANSMITS = 6, + DEVCONF_RTR_SOLICITS = 7, + DEVCONF_RTR_SOLICIT_INTERVAL = 8, + DEVCONF_RTR_SOLICIT_DELAY = 9, + DEVCONF_USE_TEMPADDR = 10, + DEVCONF_TEMP_VALID_LFT = 11, + DEVCONF_TEMP_PREFERED_LFT = 12, + DEVCONF_REGEN_MAX_RETRY = 13, + DEVCONF_MAX_DESYNC_FACTOR = 14, + DEVCONF_MAX_ADDRESSES = 15, + DEVCONF_FORCE_MLD_VERSION = 16, + DEVCONF_ACCEPT_RA_DEFRTR = 17, + DEVCONF_ACCEPT_RA_PINFO = 18, + DEVCONF_ACCEPT_RA_RTR_PREF = 19, + DEVCONF_RTR_PROBE_INTERVAL = 20, + DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN = 21, + DEVCONF_PROXY_NDP = 22, + DEVCONF_OPTIMISTIC_DAD = 23, + DEVCONF_ACCEPT_SOURCE_ROUTE = 24, + DEVCONF_MC_FORWARDING = 25, + DEVCONF_DISABLE_IPV6 = 26, + DEVCONF_ACCEPT_DAD = 27, + DEVCONF_FORCE_TLLAO = 28, + DEVCONF_NDISC_NOTIFY = 29, + DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL = 30, + DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL = 31, + DEVCONF_SUPPRESS_FRAG_NDISC = 32, + DEVCONF_ACCEPT_RA_FROM_LOCAL = 33, + DEVCONF_USE_OPTIMISTIC = 34, + DEVCONF_ACCEPT_RA_MTU = 35, + DEVCONF_STABLE_SECRET = 36, + DEVCONF_USE_OIF_ADDRS_ONLY = 37, + DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT = 38, + DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 39, + DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 40, + DEVCONF_DROP_UNSOLICITED_NA = 41, + DEVCONF_KEEP_ADDR_ON_DOWN = 42, + DEVCONF_RTR_SOLICIT_MAX_INTERVAL = 43, + DEVCONF_SEG6_ENABLED = 44, + DEVCONF_SEG6_REQUIRE_HMAC = 45, + DEVCONF_ENHANCED_DAD = 46, + DEVCONF_ADDR_GEN_MODE = 47, + DEVCONF_DISABLE_POLICY = 48, + DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN = 49, + DEVCONF_NDISC_TCLASS = 50, + DEVCONF_RPL_SEG_ENABLED = 51, + DEVCONF_RA_DEFRTR_METRIC = 52, + DEVCONF_IOAM6_ENABLED = 53, + DEVCONF_IOAM6_ID = 54, + DEVCONF_IOAM6_ID_WIDE = 55, + DEVCONF_NDISC_EVICT_NOCARRIER = 56, + DEVCONF_ACCEPT_UNTRACKED_NA = 57, + DEVCONF_ACCEPT_RA_MIN_LFT = 58, + DEVCONF_MAX = 59, +}; + +enum { + DIR_OFFSET_FIRST = 2, + DIR_OFFSET_EOD = 2147483647, +}; + +enum { + DIR_OFFSET_MIN = 3, + DIR_OFFSET_MAX = 2147483646, +}; + +enum { + DISCOVERED = 16, + EXPLORED = 32, + FALLTHROUGH = 1, + BRANCH = 2, +}; + +enum { + DONE_EXPLORING = 0, + KEEP_EXPLORING = 1, +}; + +enum { + DQF_ROOT_SQUASH_B = 0, + DQF_SYS_FILE_B = 16, + DQF_PRIVATE = 17, +}; + +enum { + DQST_LOOKUPS = 0, + DQST_DROPS = 1, + DQST_READS = 2, + DQST_WRITES = 3, + DQST_CACHE_HITS = 4, + DQST_ALLOC_DQUOTS = 5, + DQST_FREE_DQUOTS = 6, + DQST_SYNCS = 7, + _DQST_DQSTAT_LAST = 8, +}; + +enum { + DUMP_PREFIX_NONE = 0, + DUMP_PREFIX_ADDRESS = 1, + DUMP_PREFIX_OFFSET = 2, +}; + +enum { + ETHTOOL_A_BITSET_BITS_UNSPEC = 0, + ETHTOOL_A_BITSET_BITS_BIT = 1, + __ETHTOOL_A_BITSET_BITS_CNT = 2, + ETHTOOL_A_BITSET_BITS_MAX = 1, +}; + +enum { + ETHTOOL_A_BITSET_BIT_UNSPEC = 0, + ETHTOOL_A_BITSET_BIT_INDEX = 1, + ETHTOOL_A_BITSET_BIT_NAME = 2, + ETHTOOL_A_BITSET_BIT_VALUE = 3, + __ETHTOOL_A_BITSET_BIT_CNT = 4, + ETHTOOL_A_BITSET_BIT_MAX = 3, +}; + +enum { + ETHTOOL_A_BITSET_UNSPEC = 0, + ETHTOOL_A_BITSET_NOMASK = 1, + ETHTOOL_A_BITSET_SIZE = 2, + ETHTOOL_A_BITSET_BITS = 3, + ETHTOOL_A_BITSET_VALUE = 4, + ETHTOOL_A_BITSET_MASK = 5, + __ETHTOOL_A_BITSET_CNT = 6, + ETHTOOL_A_BITSET_MAX = 5, +}; + +enum { + ETHTOOL_A_C33_PSE_PW_LIMIT_UNSPEC = 0, + ETHTOOL_A_C33_PSE_PW_LIMIT_MIN = 1, + ETHTOOL_A_C33_PSE_PW_LIMIT_MAX = 2, + __ETHTOOL_A_C33_PSE_PW_LIMIT_CNT = 3, + __ETHTOOL_A_C33_PSE_PW_LIMIT_MAX = 2, +}; + +enum { + ETHTOOL_A_CABLE_AMPLITUDE_UNSPEC = 0, + ETHTOOL_A_CABLE_AMPLITUDE_PAIR = 1, + ETHTOOL_A_CABLE_AMPLITUDE_mV = 2, + __ETHTOOL_A_CABLE_AMPLITUDE_CNT = 3, + ETHTOOL_A_CABLE_AMPLITUDE_MAX = 2, +}; + +enum { + ETHTOOL_A_CABLE_FAULT_LENGTH_UNSPEC = 0, + ETHTOOL_A_CABLE_FAULT_LENGTH_PAIR = 1, + ETHTOOL_A_CABLE_FAULT_LENGTH_CM = 2, + ETHTOOL_A_CABLE_FAULT_LENGTH_SRC = 3, + __ETHTOOL_A_CABLE_FAULT_LENGTH_CNT = 4, + ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 3, +}; + +enum { + ETHTOOL_A_CABLE_INF_SRC_UNSPEC = 0, + ETHTOOL_A_CABLE_INF_SRC_TDR = 1, + ETHTOOL_A_CABLE_INF_SRC_ALCD = 2, +}; + +enum { + ETHTOOL_A_CABLE_NEST_UNSPEC = 0, + ETHTOOL_A_CABLE_NEST_RESULT = 1, + ETHTOOL_A_CABLE_NEST_FAULT_LENGTH = 2, + __ETHTOOL_A_CABLE_NEST_CNT = 3, + ETHTOOL_A_CABLE_NEST_MAX = 2, +}; + +enum { + ETHTOOL_A_CABLE_PAIR_A = 0, + ETHTOOL_A_CABLE_PAIR_B = 1, + ETHTOOL_A_CABLE_PAIR_C = 2, + ETHTOOL_A_CABLE_PAIR_D = 3, +}; + +enum { + ETHTOOL_A_CABLE_PULSE_UNSPEC = 0, + ETHTOOL_A_CABLE_PULSE_mV = 1, + __ETHTOOL_A_CABLE_PULSE_CNT = 2, + ETHTOOL_A_CABLE_PULSE_MAX = 1, +}; + +enum { + ETHTOOL_A_CABLE_RESULT_UNSPEC = 0, + ETHTOOL_A_CABLE_RESULT_PAIR = 1, + ETHTOOL_A_CABLE_RESULT_CODE = 2, + ETHTOOL_A_CABLE_RESULT_SRC = 3, + __ETHTOOL_A_CABLE_RESULT_CNT = 4, + ETHTOOL_A_CABLE_RESULT_MAX = 3, +}; + +enum { + ETHTOOL_A_CABLE_STEP_UNSPEC = 0, + ETHTOOL_A_CABLE_STEP_FIRST_DISTANCE = 1, + ETHTOOL_A_CABLE_STEP_LAST_DISTANCE = 2, + ETHTOOL_A_CABLE_STEP_STEP_DISTANCE = 3, + __ETHTOOL_A_CABLE_STEP_CNT = 4, + ETHTOOL_A_CABLE_STEP_MAX = 3, +}; + +enum { + ETHTOOL_A_CABLE_TDR_NEST_UNSPEC = 0, + ETHTOOL_A_CABLE_TDR_NEST_STEP = 1, + ETHTOOL_A_CABLE_TDR_NEST_AMPLITUDE = 2, + ETHTOOL_A_CABLE_TDR_NEST_PULSE = 3, + __ETHTOOL_A_CABLE_TDR_NEST_CNT = 4, + ETHTOOL_A_CABLE_TDR_NEST_MAX = 3, +}; + +enum { + ETHTOOL_A_CABLE_TEST_NTF_STATUS_UNSPEC = 0, + ETHTOOL_A_CABLE_TEST_NTF_STATUS_STARTED = 1, + ETHTOOL_A_CABLE_TEST_NTF_STATUS_COMPLETED = 2, +}; + +enum { + ETHTOOL_A_CABLE_TEST_NTF_UNSPEC = 0, + ETHTOOL_A_CABLE_TEST_NTF_HEADER = 1, + ETHTOOL_A_CABLE_TEST_NTF_STATUS = 2, + ETHTOOL_A_CABLE_TEST_NTF_NEST = 3, + __ETHTOOL_A_CABLE_TEST_NTF_CNT = 4, + ETHTOOL_A_CABLE_TEST_NTF_MAX = 3, +}; + +enum { + ETHTOOL_A_CABLE_TEST_TDR_CFG_UNSPEC = 0, + ETHTOOL_A_CABLE_TEST_TDR_CFG_FIRST = 1, + ETHTOOL_A_CABLE_TEST_TDR_CFG_LAST = 2, + ETHTOOL_A_CABLE_TEST_TDR_CFG_STEP = 3, + ETHTOOL_A_CABLE_TEST_TDR_CFG_PAIR = 4, + __ETHTOOL_A_CABLE_TEST_TDR_CFG_CNT = 5, + ETHTOOL_A_CABLE_TEST_TDR_CFG_MAX = 4, +}; + +enum { + ETHTOOL_A_CABLE_TEST_TDR_UNSPEC = 0, + ETHTOOL_A_CABLE_TEST_TDR_HEADER = 1, + ETHTOOL_A_CABLE_TEST_TDR_CFG = 2, + __ETHTOOL_A_CABLE_TEST_TDR_CNT = 3, + ETHTOOL_A_CABLE_TEST_TDR_MAX = 2, +}; + +enum { + ETHTOOL_A_CABLE_TEST_UNSPEC = 0, + ETHTOOL_A_CABLE_TEST_HEADER = 1, + __ETHTOOL_A_CABLE_TEST_CNT = 2, + ETHTOOL_A_CABLE_TEST_MAX = 1, +}; + +enum { + ETHTOOL_A_CHANNELS_UNSPEC = 0, + ETHTOOL_A_CHANNELS_HEADER = 1, + ETHTOOL_A_CHANNELS_RX_MAX = 2, + ETHTOOL_A_CHANNELS_TX_MAX = 3, + ETHTOOL_A_CHANNELS_OTHER_MAX = 4, + ETHTOOL_A_CHANNELS_COMBINED_MAX = 5, + ETHTOOL_A_CHANNELS_RX_COUNT = 6, + ETHTOOL_A_CHANNELS_TX_COUNT = 7, + ETHTOOL_A_CHANNELS_OTHER_COUNT = 8, + ETHTOOL_A_CHANNELS_COMBINED_COUNT = 9, + __ETHTOOL_A_CHANNELS_CNT = 10, + ETHTOOL_A_CHANNELS_MAX = 9, +}; + +enum { + ETHTOOL_A_COALESCE_UNSPEC = 0, + ETHTOOL_A_COALESCE_HEADER = 1, + ETHTOOL_A_COALESCE_RX_USECS = 2, + ETHTOOL_A_COALESCE_RX_MAX_FRAMES = 3, + ETHTOOL_A_COALESCE_RX_USECS_IRQ = 4, + ETHTOOL_A_COALESCE_RX_MAX_FRAMES_IRQ = 5, + ETHTOOL_A_COALESCE_TX_USECS = 6, + ETHTOOL_A_COALESCE_TX_MAX_FRAMES = 7, + ETHTOOL_A_COALESCE_TX_USECS_IRQ = 8, + ETHTOOL_A_COALESCE_TX_MAX_FRAMES_IRQ = 9, + ETHTOOL_A_COALESCE_STATS_BLOCK_USECS = 10, + ETHTOOL_A_COALESCE_USE_ADAPTIVE_RX = 11, + ETHTOOL_A_COALESCE_USE_ADAPTIVE_TX = 12, + ETHTOOL_A_COALESCE_PKT_RATE_LOW = 13, + ETHTOOL_A_COALESCE_RX_USECS_LOW = 14, + ETHTOOL_A_COALESCE_RX_MAX_FRAMES_LOW = 15, + ETHTOOL_A_COALESCE_TX_USECS_LOW = 16, + ETHTOOL_A_COALESCE_TX_MAX_FRAMES_LOW = 17, + ETHTOOL_A_COALESCE_PKT_RATE_HIGH = 18, + ETHTOOL_A_COALESCE_RX_USECS_HIGH = 19, + ETHTOOL_A_COALESCE_RX_MAX_FRAMES_HIGH = 20, + ETHTOOL_A_COALESCE_TX_USECS_HIGH = 21, + ETHTOOL_A_COALESCE_TX_MAX_FRAMES_HIGH = 22, + ETHTOOL_A_COALESCE_RATE_SAMPLE_INTERVAL = 23, + ETHTOOL_A_COALESCE_USE_CQE_MODE_TX = 24, + ETHTOOL_A_COALESCE_USE_CQE_MODE_RX = 25, + ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES = 26, + ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES = 27, + ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS = 28, + ETHTOOL_A_COALESCE_RX_PROFILE = 29, + ETHTOOL_A_COALESCE_TX_PROFILE = 30, + __ETHTOOL_A_COALESCE_CNT = 31, + ETHTOOL_A_COALESCE_MAX = 30, +}; + +enum { + ETHTOOL_A_DEBUG_UNSPEC = 0, + ETHTOOL_A_DEBUG_HEADER = 1, + ETHTOOL_A_DEBUG_MSGMASK = 2, + __ETHTOOL_A_DEBUG_CNT = 3, + ETHTOOL_A_DEBUG_MAX = 2, +}; + +enum { + ETHTOOL_A_EEE_UNSPEC = 0, + ETHTOOL_A_EEE_HEADER = 1, + ETHTOOL_A_EEE_MODES_OURS = 2, + ETHTOOL_A_EEE_MODES_PEER = 3, + ETHTOOL_A_EEE_ACTIVE = 4, + ETHTOOL_A_EEE_ENABLED = 5, + ETHTOOL_A_EEE_TX_LPI_ENABLED = 6, + ETHTOOL_A_EEE_TX_LPI_TIMER = 7, + __ETHTOOL_A_EEE_CNT = 8, + ETHTOOL_A_EEE_MAX = 7, +}; + +enum { + ETHTOOL_A_FEATURES_UNSPEC = 0, + ETHTOOL_A_FEATURES_HEADER = 1, + ETHTOOL_A_FEATURES_HW = 2, + ETHTOOL_A_FEATURES_WANTED = 3, + ETHTOOL_A_FEATURES_ACTIVE = 4, + ETHTOOL_A_FEATURES_NOCHANGE = 5, + __ETHTOOL_A_FEATURES_CNT = 6, + ETHTOOL_A_FEATURES_MAX = 5, +}; + +enum { + ETHTOOL_A_FEC_STAT_UNSPEC = 0, + ETHTOOL_A_FEC_STAT_PAD = 1, + ETHTOOL_A_FEC_STAT_CORRECTED = 2, + ETHTOOL_A_FEC_STAT_UNCORR = 3, + ETHTOOL_A_FEC_STAT_CORR_BITS = 4, + __ETHTOOL_A_FEC_STAT_CNT = 5, + ETHTOOL_A_FEC_STAT_MAX = 4, +}; + +enum { + ETHTOOL_A_FEC_UNSPEC = 0, + ETHTOOL_A_FEC_HEADER = 1, + ETHTOOL_A_FEC_MODES = 2, + ETHTOOL_A_FEC_AUTO = 3, + ETHTOOL_A_FEC_ACTIVE = 4, + ETHTOOL_A_FEC_STATS = 5, + __ETHTOOL_A_FEC_CNT = 6, + ETHTOOL_A_FEC_MAX = 5, +}; + +enum { + ETHTOOL_A_HEADER_UNSPEC = 0, + ETHTOOL_A_HEADER_DEV_INDEX = 1, + ETHTOOL_A_HEADER_DEV_NAME = 2, + ETHTOOL_A_HEADER_FLAGS = 3, + ETHTOOL_A_HEADER_PHY_INDEX = 4, + __ETHTOOL_A_HEADER_CNT = 5, + ETHTOOL_A_HEADER_MAX = 4, +}; + +enum { + ETHTOOL_A_IRQ_MODERATION_UNSPEC = 0, + ETHTOOL_A_IRQ_MODERATION_USEC = 1, + ETHTOOL_A_IRQ_MODERATION_PKTS = 2, + ETHTOOL_A_IRQ_MODERATION_COMPS = 3, + __ETHTOOL_A_IRQ_MODERATION_CNT = 4, + ETHTOOL_A_IRQ_MODERATION_MAX = 3, +}; + +enum { + ETHTOOL_A_LINKINFO_UNSPEC = 0, + ETHTOOL_A_LINKINFO_HEADER = 1, + ETHTOOL_A_LINKINFO_PORT = 2, + ETHTOOL_A_LINKINFO_PHYADDR = 3, + ETHTOOL_A_LINKINFO_TP_MDIX = 4, + ETHTOOL_A_LINKINFO_TP_MDIX_CTRL = 5, + ETHTOOL_A_LINKINFO_TRANSCEIVER = 6, + __ETHTOOL_A_LINKINFO_CNT = 7, + ETHTOOL_A_LINKINFO_MAX = 6, +}; + +enum { + ETHTOOL_A_LINKMODES_UNSPEC = 0, + ETHTOOL_A_LINKMODES_HEADER = 1, + ETHTOOL_A_LINKMODES_AUTONEG = 2, + ETHTOOL_A_LINKMODES_OURS = 3, + ETHTOOL_A_LINKMODES_PEER = 4, + ETHTOOL_A_LINKMODES_SPEED = 5, + ETHTOOL_A_LINKMODES_DUPLEX = 6, + ETHTOOL_A_LINKMODES_MASTER_SLAVE_CFG = 7, + ETHTOOL_A_LINKMODES_MASTER_SLAVE_STATE = 8, + ETHTOOL_A_LINKMODES_LANES = 9, + ETHTOOL_A_LINKMODES_RATE_MATCHING = 10, + __ETHTOOL_A_LINKMODES_CNT = 11, + ETHTOOL_A_LINKMODES_MAX = 10, +}; + +enum { + ETHTOOL_A_LINKSTATE_UNSPEC = 0, + ETHTOOL_A_LINKSTATE_HEADER = 1, + ETHTOOL_A_LINKSTATE_LINK = 2, + ETHTOOL_A_LINKSTATE_SQI = 3, + ETHTOOL_A_LINKSTATE_SQI_MAX = 4, + ETHTOOL_A_LINKSTATE_EXT_STATE = 5, + ETHTOOL_A_LINKSTATE_EXT_SUBSTATE = 6, + ETHTOOL_A_LINKSTATE_EXT_DOWN_CNT = 7, + __ETHTOOL_A_LINKSTATE_CNT = 8, + ETHTOOL_A_LINKSTATE_MAX = 7, +}; + +enum { + ETHTOOL_A_MM_STAT_UNSPEC = 0, + ETHTOOL_A_MM_STAT_PAD = 1, + ETHTOOL_A_MM_STAT_REASSEMBLY_ERRORS = 2, + ETHTOOL_A_MM_STAT_SMD_ERRORS = 3, + ETHTOOL_A_MM_STAT_REASSEMBLY_OK = 4, + ETHTOOL_A_MM_STAT_RX_FRAG_COUNT = 5, + ETHTOOL_A_MM_STAT_TX_FRAG_COUNT = 6, + ETHTOOL_A_MM_STAT_HOLD_COUNT = 7, + __ETHTOOL_A_MM_STAT_CNT = 8, + ETHTOOL_A_MM_STAT_MAX = 7, +}; + +enum { + ETHTOOL_A_MM_UNSPEC = 0, + ETHTOOL_A_MM_HEADER = 1, + ETHTOOL_A_MM_PMAC_ENABLED = 2, + ETHTOOL_A_MM_TX_ENABLED = 3, + ETHTOOL_A_MM_TX_ACTIVE = 4, + ETHTOOL_A_MM_TX_MIN_FRAG_SIZE = 5, + ETHTOOL_A_MM_RX_MIN_FRAG_SIZE = 6, + ETHTOOL_A_MM_VERIFY_ENABLED = 7, + ETHTOOL_A_MM_VERIFY_STATUS = 8, + ETHTOOL_A_MM_VERIFY_TIME = 9, + ETHTOOL_A_MM_MAX_VERIFY_TIME = 10, + ETHTOOL_A_MM_STATS = 11, + __ETHTOOL_A_MM_CNT = 12, + ETHTOOL_A_MM_MAX = 11, +}; + +enum { + ETHTOOL_A_MODULE_EEPROM_UNSPEC = 0, + ETHTOOL_A_MODULE_EEPROM_HEADER = 1, + ETHTOOL_A_MODULE_EEPROM_OFFSET = 2, + ETHTOOL_A_MODULE_EEPROM_LENGTH = 3, + ETHTOOL_A_MODULE_EEPROM_PAGE = 4, + ETHTOOL_A_MODULE_EEPROM_BANK = 5, + ETHTOOL_A_MODULE_EEPROM_I2C_ADDRESS = 6, + ETHTOOL_A_MODULE_EEPROM_DATA = 7, + __ETHTOOL_A_MODULE_EEPROM_CNT = 8, + ETHTOOL_A_MODULE_EEPROM_MAX = 7, +}; + +enum { + ETHTOOL_A_MODULE_FW_FLASH_UNSPEC = 0, + ETHTOOL_A_MODULE_FW_FLASH_HEADER = 1, + ETHTOOL_A_MODULE_FW_FLASH_FILE_NAME = 2, + ETHTOOL_A_MODULE_FW_FLASH_PASSWORD = 3, + ETHTOOL_A_MODULE_FW_FLASH_STATUS = 4, + ETHTOOL_A_MODULE_FW_FLASH_STATUS_MSG = 5, + ETHTOOL_A_MODULE_FW_FLASH_DONE = 6, + ETHTOOL_A_MODULE_FW_FLASH_TOTAL = 7, + __ETHTOOL_A_MODULE_FW_FLASH_CNT = 8, + ETHTOOL_A_MODULE_FW_FLASH_MAX = 7, +}; + +enum { + ETHTOOL_A_MODULE_UNSPEC = 0, + ETHTOOL_A_MODULE_HEADER = 1, + ETHTOOL_A_MODULE_POWER_MODE_POLICY = 2, + ETHTOOL_A_MODULE_POWER_MODE = 3, + __ETHTOOL_A_MODULE_CNT = 4, + ETHTOOL_A_MODULE_MAX = 3, +}; + +enum { + ETHTOOL_A_PAUSE_STAT_UNSPEC = 0, + ETHTOOL_A_PAUSE_STAT_PAD = 1, + ETHTOOL_A_PAUSE_STAT_TX_FRAMES = 2, + ETHTOOL_A_PAUSE_STAT_RX_FRAMES = 3, + __ETHTOOL_A_PAUSE_STAT_CNT = 4, + ETHTOOL_A_PAUSE_STAT_MAX = 3, +}; + +enum { + ETHTOOL_A_PAUSE_UNSPEC = 0, + ETHTOOL_A_PAUSE_HEADER = 1, + ETHTOOL_A_PAUSE_AUTONEG = 2, + ETHTOOL_A_PAUSE_RX = 3, + ETHTOOL_A_PAUSE_TX = 4, + ETHTOOL_A_PAUSE_STATS = 5, + ETHTOOL_A_PAUSE_STATS_SRC = 6, + __ETHTOOL_A_PAUSE_CNT = 7, + ETHTOOL_A_PAUSE_MAX = 6, +}; + +enum { + ETHTOOL_A_PHC_VCLOCKS_UNSPEC = 0, + ETHTOOL_A_PHC_VCLOCKS_HEADER = 1, + ETHTOOL_A_PHC_VCLOCKS_NUM = 2, + ETHTOOL_A_PHC_VCLOCKS_INDEX = 3, + __ETHTOOL_A_PHC_VCLOCKS_CNT = 4, + ETHTOOL_A_PHC_VCLOCKS_MAX = 3, +}; + +enum { + ETHTOOL_A_PHY_UNSPEC = 0, + ETHTOOL_A_PHY_HEADER = 1, + ETHTOOL_A_PHY_INDEX = 2, + ETHTOOL_A_PHY_DRVNAME = 3, + ETHTOOL_A_PHY_NAME = 4, + ETHTOOL_A_PHY_UPSTREAM_TYPE = 5, + ETHTOOL_A_PHY_UPSTREAM_INDEX = 6, + ETHTOOL_A_PHY_UPSTREAM_SFP_NAME = 7, + ETHTOOL_A_PHY_DOWNSTREAM_SFP_NAME = 8, + __ETHTOOL_A_PHY_CNT = 9, + ETHTOOL_A_PHY_MAX = 8, +}; + +enum { + ETHTOOL_A_PLCA_UNSPEC = 0, + ETHTOOL_A_PLCA_HEADER = 1, + ETHTOOL_A_PLCA_VERSION = 2, + ETHTOOL_A_PLCA_ENABLED = 3, + ETHTOOL_A_PLCA_STATUS = 4, + ETHTOOL_A_PLCA_NODE_CNT = 5, + ETHTOOL_A_PLCA_NODE_ID = 6, + ETHTOOL_A_PLCA_TO_TMR = 7, + ETHTOOL_A_PLCA_BURST_CNT = 8, + ETHTOOL_A_PLCA_BURST_TMR = 9, + __ETHTOOL_A_PLCA_CNT = 10, + ETHTOOL_A_PLCA_MAX = 9, +}; + +enum { + ETHTOOL_A_PRIVFLAGS_UNSPEC = 0, + ETHTOOL_A_PRIVFLAGS_HEADER = 1, + ETHTOOL_A_PRIVFLAGS_FLAGS = 2, + __ETHTOOL_A_PRIVFLAGS_CNT = 3, + ETHTOOL_A_PRIVFLAGS_MAX = 2, +}; + +enum { + ETHTOOL_A_PROFILE_UNSPEC = 0, + ETHTOOL_A_PROFILE_IRQ_MODERATION = 1, + __ETHTOOL_A_PROFILE_CNT = 2, + ETHTOOL_A_PROFILE_MAX = 1, +}; + +enum { + ETHTOOL_A_PSE_UNSPEC = 0, + ETHTOOL_A_PSE_HEADER = 1, + ETHTOOL_A_PODL_PSE_ADMIN_STATE = 2, + ETHTOOL_A_PODL_PSE_ADMIN_CONTROL = 3, + ETHTOOL_A_PODL_PSE_PW_D_STATUS = 4, + ETHTOOL_A_C33_PSE_ADMIN_STATE = 5, + ETHTOOL_A_C33_PSE_ADMIN_CONTROL = 6, + ETHTOOL_A_C33_PSE_PW_D_STATUS = 7, + ETHTOOL_A_C33_PSE_PW_CLASS = 8, + ETHTOOL_A_C33_PSE_ACTUAL_PW = 9, + ETHTOOL_A_C33_PSE_EXT_STATE = 10, + ETHTOOL_A_C33_PSE_EXT_SUBSTATE = 11, + ETHTOOL_A_C33_PSE_AVAIL_PW_LIMIT = 12, + ETHTOOL_A_C33_PSE_PW_LIMIT_RANGES = 13, + __ETHTOOL_A_PSE_CNT = 14, + ETHTOOL_A_PSE_MAX = 13, +}; + +enum { + ETHTOOL_A_RINGS_UNSPEC = 0, + ETHTOOL_A_RINGS_HEADER = 1, + ETHTOOL_A_RINGS_RX_MAX = 2, + ETHTOOL_A_RINGS_RX_MINI_MAX = 3, + ETHTOOL_A_RINGS_RX_JUMBO_MAX = 4, + ETHTOOL_A_RINGS_TX_MAX = 5, + ETHTOOL_A_RINGS_RX = 6, + ETHTOOL_A_RINGS_RX_MINI = 7, + ETHTOOL_A_RINGS_RX_JUMBO = 8, + ETHTOOL_A_RINGS_TX = 9, + ETHTOOL_A_RINGS_RX_BUF_LEN = 10, + ETHTOOL_A_RINGS_TCP_DATA_SPLIT = 11, + ETHTOOL_A_RINGS_CQE_SIZE = 12, + ETHTOOL_A_RINGS_TX_PUSH = 13, + ETHTOOL_A_RINGS_RX_PUSH = 14, + ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN = 15, + ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN_MAX = 16, + ETHTOOL_A_RINGS_HDS_THRESH = 17, + ETHTOOL_A_RINGS_HDS_THRESH_MAX = 18, + __ETHTOOL_A_RINGS_CNT = 19, + ETHTOOL_A_RINGS_MAX = 18, +}; + +enum { + ETHTOOL_A_RSS_UNSPEC = 0, + ETHTOOL_A_RSS_HEADER = 1, + ETHTOOL_A_RSS_CONTEXT = 2, + ETHTOOL_A_RSS_HFUNC = 3, + ETHTOOL_A_RSS_INDIR = 4, + ETHTOOL_A_RSS_HKEY = 5, + ETHTOOL_A_RSS_INPUT_XFRM = 6, + ETHTOOL_A_RSS_START_CONTEXT = 7, + __ETHTOOL_A_RSS_CNT = 8, + ETHTOOL_A_RSS_MAX = 7, +}; + +enum { + ETHTOOL_A_STATS_ETH_CTRL_3_TX = 0, + ETHTOOL_A_STATS_ETH_CTRL_4_RX = 1, + ETHTOOL_A_STATS_ETH_CTRL_5_RX_UNSUP = 2, + __ETHTOOL_A_STATS_ETH_CTRL_CNT = 3, + ETHTOOL_A_STATS_ETH_CTRL_MAX = 2, +}; + +enum { + ETHTOOL_A_STATS_ETH_MAC_2_TX_PKT = 0, + ETHTOOL_A_STATS_ETH_MAC_3_SINGLE_COL = 1, + ETHTOOL_A_STATS_ETH_MAC_4_MULTI_COL = 2, + ETHTOOL_A_STATS_ETH_MAC_5_RX_PKT = 3, + ETHTOOL_A_STATS_ETH_MAC_6_FCS_ERR = 4, + ETHTOOL_A_STATS_ETH_MAC_7_ALIGN_ERR = 5, + ETHTOOL_A_STATS_ETH_MAC_8_TX_BYTES = 6, + ETHTOOL_A_STATS_ETH_MAC_9_TX_DEFER = 7, + ETHTOOL_A_STATS_ETH_MAC_10_LATE_COL = 8, + ETHTOOL_A_STATS_ETH_MAC_11_XS_COL = 9, + ETHTOOL_A_STATS_ETH_MAC_12_TX_INT_ERR = 10, + ETHTOOL_A_STATS_ETH_MAC_13_CS_ERR = 11, + ETHTOOL_A_STATS_ETH_MAC_14_RX_BYTES = 12, + ETHTOOL_A_STATS_ETH_MAC_15_RX_INT_ERR = 13, + ETHTOOL_A_STATS_ETH_MAC_18_TX_MCAST = 14, + ETHTOOL_A_STATS_ETH_MAC_19_TX_BCAST = 15, + ETHTOOL_A_STATS_ETH_MAC_20_XS_DEFER = 16, + ETHTOOL_A_STATS_ETH_MAC_21_RX_MCAST = 17, + ETHTOOL_A_STATS_ETH_MAC_22_RX_BCAST = 18, + ETHTOOL_A_STATS_ETH_MAC_23_IR_LEN_ERR = 19, + ETHTOOL_A_STATS_ETH_MAC_24_OOR_LEN = 20, + ETHTOOL_A_STATS_ETH_MAC_25_TOO_LONG_ERR = 21, + __ETHTOOL_A_STATS_ETH_MAC_CNT = 22, + ETHTOOL_A_STATS_ETH_MAC_MAX = 21, +}; + +enum { + ETHTOOL_A_STATS_ETH_PHY_5_SYM_ERR = 0, + __ETHTOOL_A_STATS_ETH_PHY_CNT = 1, + ETHTOOL_A_STATS_ETH_PHY_MAX = 0, +}; + +enum { + ETHTOOL_A_STATS_GRP_UNSPEC = 0, + ETHTOOL_A_STATS_GRP_PAD = 1, + ETHTOOL_A_STATS_GRP_ID = 2, + ETHTOOL_A_STATS_GRP_SS_ID = 3, + ETHTOOL_A_STATS_GRP_STAT = 4, + ETHTOOL_A_STATS_GRP_HIST_RX = 5, + ETHTOOL_A_STATS_GRP_HIST_TX = 6, + ETHTOOL_A_STATS_GRP_HIST_BKT_LOW = 7, + ETHTOOL_A_STATS_GRP_HIST_BKT_HI = 8, + ETHTOOL_A_STATS_GRP_HIST_VAL = 9, + __ETHTOOL_A_STATS_GRP_CNT = 10, + ETHTOOL_A_STATS_GRP_MAX = 9, +}; + +enum { + ETHTOOL_A_STATS_PHY_RX_PKTS = 0, + ETHTOOL_A_STATS_PHY_RX_BYTES = 1, + ETHTOOL_A_STATS_PHY_RX_ERRORS = 2, + ETHTOOL_A_STATS_PHY_TX_PKTS = 3, + ETHTOOL_A_STATS_PHY_TX_BYTES = 4, + ETHTOOL_A_STATS_PHY_TX_ERRORS = 5, + __ETHTOOL_A_STATS_PHY_CNT = 6, + ETHTOOL_A_STATS_PHY_MAX = 5, +}; + +enum { + ETHTOOL_A_STATS_RMON_UNDERSIZE = 0, + ETHTOOL_A_STATS_RMON_OVERSIZE = 1, + ETHTOOL_A_STATS_RMON_FRAG = 2, + ETHTOOL_A_STATS_RMON_JABBER = 3, + __ETHTOOL_A_STATS_RMON_CNT = 4, + ETHTOOL_A_STATS_RMON_MAX = 3, +}; + +enum { + ETHTOOL_A_STATS_UNSPEC = 0, + ETHTOOL_A_STATS_PAD = 1, + ETHTOOL_A_STATS_HEADER = 2, + ETHTOOL_A_STATS_GROUPS = 3, + ETHTOOL_A_STATS_GRP = 4, + ETHTOOL_A_STATS_SRC = 5, + __ETHTOOL_A_STATS_CNT = 6, + ETHTOOL_A_STATS_MAX = 5, +}; + +enum { + ETHTOOL_A_STRINGSETS_UNSPEC = 0, + ETHTOOL_A_STRINGSETS_STRINGSET = 1, + __ETHTOOL_A_STRINGSETS_CNT = 2, + ETHTOOL_A_STRINGSETS_MAX = 1, +}; + +enum { + ETHTOOL_A_STRINGSET_UNSPEC = 0, + ETHTOOL_A_STRINGSET_ID = 1, + ETHTOOL_A_STRINGSET_COUNT = 2, + ETHTOOL_A_STRINGSET_STRINGS = 3, + __ETHTOOL_A_STRINGSET_CNT = 4, + ETHTOOL_A_STRINGSET_MAX = 3, +}; + +enum { + ETHTOOL_A_STRINGS_UNSPEC = 0, + ETHTOOL_A_STRINGS_STRING = 1, + __ETHTOOL_A_STRINGS_CNT = 2, + ETHTOOL_A_STRINGS_MAX = 1, +}; + +enum { + ETHTOOL_A_STRING_UNSPEC = 0, + ETHTOOL_A_STRING_INDEX = 1, + ETHTOOL_A_STRING_VALUE = 2, + __ETHTOOL_A_STRING_CNT = 3, + ETHTOOL_A_STRING_MAX = 2, +}; + +enum { + ETHTOOL_A_STRSET_UNSPEC = 0, + ETHTOOL_A_STRSET_HEADER = 1, + ETHTOOL_A_STRSET_STRINGSETS = 2, + ETHTOOL_A_STRSET_COUNTS_ONLY = 3, + __ETHTOOL_A_STRSET_CNT = 4, + ETHTOOL_A_STRSET_MAX = 3, +}; + +enum { + ETHTOOL_A_TSCONFIG_UNSPEC = 0, + ETHTOOL_A_TSCONFIG_HEADER = 1, + ETHTOOL_A_TSCONFIG_HWTSTAMP_PROVIDER = 2, + ETHTOOL_A_TSCONFIG_TX_TYPES = 3, + ETHTOOL_A_TSCONFIG_RX_FILTERS = 4, + ETHTOOL_A_TSCONFIG_HWTSTAMP_FLAGS = 5, + __ETHTOOL_A_TSCONFIG_CNT = 6, + ETHTOOL_A_TSCONFIG_MAX = 5, +}; + +enum { + ETHTOOL_A_TSINFO_UNSPEC = 0, + ETHTOOL_A_TSINFO_HEADER = 1, + ETHTOOL_A_TSINFO_TIMESTAMPING = 2, + ETHTOOL_A_TSINFO_TX_TYPES = 3, + ETHTOOL_A_TSINFO_RX_FILTERS = 4, + ETHTOOL_A_TSINFO_PHC_INDEX = 5, + ETHTOOL_A_TSINFO_STATS = 6, + ETHTOOL_A_TSINFO_HWTSTAMP_PROVIDER = 7, + __ETHTOOL_A_TSINFO_CNT = 8, + ETHTOOL_A_TSINFO_MAX = 7, +}; + +enum { + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_UNSPEC = 0, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_INDEX = 1, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_QUALIFIER = 2, + __ETHTOOL_A_TS_HWTSTAMP_PROVIDER_CNT = 3, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_MAX = 2, +}; + +enum { + ETHTOOL_A_TS_STAT_UNSPEC = 0, + ETHTOOL_A_TS_STAT_TX_PKTS = 1, + ETHTOOL_A_TS_STAT_TX_LOST = 2, + ETHTOOL_A_TS_STAT_TX_ERR = 3, + ETHTOOL_A_TS_STAT_TX_ONESTEP_PKTS_UNCONFIRMED = 4, + __ETHTOOL_A_TS_STAT_CNT = 5, + ETHTOOL_A_TS_STAT_MAX = 4, +}; + +enum { + ETHTOOL_A_TUNNEL_INFO_UNSPEC = 0, + ETHTOOL_A_TUNNEL_INFO_HEADER = 1, + ETHTOOL_A_TUNNEL_INFO_UDP_PORTS = 2, + __ETHTOOL_A_TUNNEL_INFO_CNT = 3, + ETHTOOL_A_TUNNEL_INFO_MAX = 2, +}; + +enum { + ETHTOOL_A_TUNNEL_UDP_ENTRY_UNSPEC = 0, + ETHTOOL_A_TUNNEL_UDP_ENTRY_PORT = 1, + ETHTOOL_A_TUNNEL_UDP_ENTRY_TYPE = 2, + __ETHTOOL_A_TUNNEL_UDP_ENTRY_CNT = 3, + ETHTOOL_A_TUNNEL_UDP_ENTRY_MAX = 2, +}; + +enum { + ETHTOOL_A_TUNNEL_UDP_TABLE_UNSPEC = 0, + ETHTOOL_A_TUNNEL_UDP_TABLE_SIZE = 1, + ETHTOOL_A_TUNNEL_UDP_TABLE_TYPES = 2, + ETHTOOL_A_TUNNEL_UDP_TABLE_ENTRY = 3, + __ETHTOOL_A_TUNNEL_UDP_TABLE_CNT = 4, + ETHTOOL_A_TUNNEL_UDP_TABLE_MAX = 3, +}; + +enum { + ETHTOOL_A_TUNNEL_UDP_UNSPEC = 0, + ETHTOOL_A_TUNNEL_UDP_TABLE = 1, + __ETHTOOL_A_TUNNEL_UDP_CNT = 2, + ETHTOOL_A_TUNNEL_UDP_MAX = 1, +}; + +enum { + ETHTOOL_A_WOL_UNSPEC = 0, + ETHTOOL_A_WOL_HEADER = 1, + ETHTOOL_A_WOL_MODES = 2, + ETHTOOL_A_WOL_SOPASS = 3, + __ETHTOOL_A_WOL_CNT = 4, + ETHTOOL_A_WOL_MAX = 3, +}; + +enum { + ETHTOOL_MSG_KERNEL_NONE = 0, + ETHTOOL_MSG_STRSET_GET_REPLY = 1, + ETHTOOL_MSG_LINKINFO_GET_REPLY = 2, + ETHTOOL_MSG_LINKINFO_NTF = 3, + ETHTOOL_MSG_LINKMODES_GET_REPLY = 4, + ETHTOOL_MSG_LINKMODES_NTF = 5, + ETHTOOL_MSG_LINKSTATE_GET_REPLY = 6, + ETHTOOL_MSG_DEBUG_GET_REPLY = 7, + ETHTOOL_MSG_DEBUG_NTF = 8, + ETHTOOL_MSG_WOL_GET_REPLY = 9, + ETHTOOL_MSG_WOL_NTF = 10, + ETHTOOL_MSG_FEATURES_GET_REPLY = 11, + ETHTOOL_MSG_FEATURES_SET_REPLY = 12, + ETHTOOL_MSG_FEATURES_NTF = 13, + ETHTOOL_MSG_PRIVFLAGS_GET_REPLY = 14, + ETHTOOL_MSG_PRIVFLAGS_NTF = 15, + ETHTOOL_MSG_RINGS_GET_REPLY = 16, + ETHTOOL_MSG_RINGS_NTF = 17, + ETHTOOL_MSG_CHANNELS_GET_REPLY = 18, + ETHTOOL_MSG_CHANNELS_NTF = 19, + ETHTOOL_MSG_COALESCE_GET_REPLY = 20, + ETHTOOL_MSG_COALESCE_NTF = 21, + ETHTOOL_MSG_PAUSE_GET_REPLY = 22, + ETHTOOL_MSG_PAUSE_NTF = 23, + ETHTOOL_MSG_EEE_GET_REPLY = 24, + ETHTOOL_MSG_EEE_NTF = 25, + ETHTOOL_MSG_TSINFO_GET_REPLY = 26, + ETHTOOL_MSG_CABLE_TEST_NTF = 27, + ETHTOOL_MSG_CABLE_TEST_TDR_NTF = 28, + ETHTOOL_MSG_TUNNEL_INFO_GET_REPLY = 29, + ETHTOOL_MSG_FEC_GET_REPLY = 30, + ETHTOOL_MSG_FEC_NTF = 31, + ETHTOOL_MSG_MODULE_EEPROM_GET_REPLY = 32, + ETHTOOL_MSG_STATS_GET_REPLY = 33, + ETHTOOL_MSG_PHC_VCLOCKS_GET_REPLY = 34, + ETHTOOL_MSG_MODULE_GET_REPLY = 35, + ETHTOOL_MSG_MODULE_NTF = 36, + ETHTOOL_MSG_PSE_GET_REPLY = 37, + ETHTOOL_MSG_RSS_GET_REPLY = 38, + ETHTOOL_MSG_PLCA_GET_CFG_REPLY = 39, + ETHTOOL_MSG_PLCA_GET_STATUS_REPLY = 40, + ETHTOOL_MSG_PLCA_NTF = 41, + ETHTOOL_MSG_MM_GET_REPLY = 42, + ETHTOOL_MSG_MM_NTF = 43, + ETHTOOL_MSG_MODULE_FW_FLASH_NTF = 44, + ETHTOOL_MSG_PHY_GET_REPLY = 45, + ETHTOOL_MSG_PHY_NTF = 46, + ETHTOOL_MSG_TSCONFIG_GET_REPLY = 47, + ETHTOOL_MSG_TSCONFIG_SET_REPLY = 48, + __ETHTOOL_MSG_KERNEL_CNT = 49, + ETHTOOL_MSG_KERNEL_MAX = 48, +}; + +enum { + ETHTOOL_MSG_USER_NONE = 0, + ETHTOOL_MSG_STRSET_GET = 1, + ETHTOOL_MSG_LINKINFO_GET = 2, + ETHTOOL_MSG_LINKINFO_SET = 3, + ETHTOOL_MSG_LINKMODES_GET = 4, + ETHTOOL_MSG_LINKMODES_SET = 5, + ETHTOOL_MSG_LINKSTATE_GET = 6, + ETHTOOL_MSG_DEBUG_GET = 7, + ETHTOOL_MSG_DEBUG_SET = 8, + ETHTOOL_MSG_WOL_GET = 9, + ETHTOOL_MSG_WOL_SET = 10, + ETHTOOL_MSG_FEATURES_GET = 11, + ETHTOOL_MSG_FEATURES_SET = 12, + ETHTOOL_MSG_PRIVFLAGS_GET = 13, + ETHTOOL_MSG_PRIVFLAGS_SET = 14, + ETHTOOL_MSG_RINGS_GET = 15, + ETHTOOL_MSG_RINGS_SET = 16, + ETHTOOL_MSG_CHANNELS_GET = 17, + ETHTOOL_MSG_CHANNELS_SET = 18, + ETHTOOL_MSG_COALESCE_GET = 19, + ETHTOOL_MSG_COALESCE_SET = 20, + ETHTOOL_MSG_PAUSE_GET = 21, + ETHTOOL_MSG_PAUSE_SET = 22, + ETHTOOL_MSG_EEE_GET = 23, + ETHTOOL_MSG_EEE_SET = 24, + ETHTOOL_MSG_TSINFO_GET = 25, + ETHTOOL_MSG_CABLE_TEST_ACT = 26, + ETHTOOL_MSG_CABLE_TEST_TDR_ACT = 27, + ETHTOOL_MSG_TUNNEL_INFO_GET = 28, + ETHTOOL_MSG_FEC_GET = 29, + ETHTOOL_MSG_FEC_SET = 30, + ETHTOOL_MSG_MODULE_EEPROM_GET = 31, + ETHTOOL_MSG_STATS_GET = 32, + ETHTOOL_MSG_PHC_VCLOCKS_GET = 33, + ETHTOOL_MSG_MODULE_GET = 34, + ETHTOOL_MSG_MODULE_SET = 35, + ETHTOOL_MSG_PSE_GET = 36, + ETHTOOL_MSG_PSE_SET = 37, + ETHTOOL_MSG_RSS_GET = 38, + ETHTOOL_MSG_PLCA_GET_CFG = 39, + ETHTOOL_MSG_PLCA_SET_CFG = 40, + ETHTOOL_MSG_PLCA_GET_STATUS = 41, + ETHTOOL_MSG_MM_GET = 42, + ETHTOOL_MSG_MM_SET = 43, + ETHTOOL_MSG_MODULE_FW_FLASH_ACT = 44, + ETHTOOL_MSG_PHY_GET = 45, + ETHTOOL_MSG_TSCONFIG_GET = 46, + ETHTOOL_MSG_TSCONFIG_SET = 47, + __ETHTOOL_MSG_USER_CNT = 48, + ETHTOOL_MSG_USER_MAX = 47, +}; + +enum { + ETHTOOL_STATS_ETH_PHY = 0, + ETHTOOL_STATS_ETH_MAC = 1, + ETHTOOL_STATS_ETH_CTRL = 2, + ETHTOOL_STATS_RMON = 3, + ETHTOOL_STATS_PHY = 4, + __ETHTOOL_STATS_CNT = 5, +}; + +enum { + ETHTOOL_UDP_TUNNEL_TYPE_VXLAN = 0, + ETHTOOL_UDP_TUNNEL_TYPE_GENEVE = 1, + ETHTOOL_UDP_TUNNEL_TYPE_VXLAN_GPE = 2, + __ETHTOOL_UDP_TUNNEL_TYPE_CNT = 3, + ETHTOOL_UDP_TUNNEL_TYPE_MAX = 2, +}; + +enum { + ETH_RSS_HASH_TOP_BIT = 0, + ETH_RSS_HASH_XOR_BIT = 1, + ETH_RSS_HASH_CRC32_BIT = 2, + ETH_RSS_HASH_FUNCS_COUNT = 3, +}; + +enum { + EVENTFS_SAVE_MODE = 65536, + EVENTFS_SAVE_UID = 131072, + EVENTFS_SAVE_GID = 262144, +}; + +enum { + EVENT_FILE_FL_ENABLED = 1, + EVENT_FILE_FL_RECORDED_CMD = 2, + EVENT_FILE_FL_RECORDED_TGID = 4, + EVENT_FILE_FL_FILTERED = 8, + EVENT_FILE_FL_NO_SET_FILTER = 16, + EVENT_FILE_FL_SOFT_MODE = 32, + EVENT_FILE_FL_SOFT_DISABLED = 64, + EVENT_FILE_FL_TRIGGER_MODE = 128, + EVENT_FILE_FL_TRIGGER_COND = 256, + EVENT_FILE_FL_PID_FILTER = 512, + EVENT_FILE_FL_WAS_ENABLED = 1024, + EVENT_FILE_FL_FREED = 2048, +}; + +enum { + EVENT_FILE_FL_ENABLED_BIT = 0, + EVENT_FILE_FL_RECORDED_CMD_BIT = 1, + EVENT_FILE_FL_RECORDED_TGID_BIT = 2, + EVENT_FILE_FL_FILTERED_BIT = 3, + EVENT_FILE_FL_NO_SET_FILTER_BIT = 4, + EVENT_FILE_FL_SOFT_MODE_BIT = 5, + EVENT_FILE_FL_SOFT_DISABLED_BIT = 6, + EVENT_FILE_FL_TRIGGER_MODE_BIT = 7, + EVENT_FILE_FL_TRIGGER_COND_BIT = 8, + EVENT_FILE_FL_PID_FILTER_BIT = 9, + EVENT_FILE_FL_WAS_ENABLED_BIT = 10, + EVENT_FILE_FL_FREED_BIT = 11, +}; + +enum { + EVENT_TRIGGER_FL_PROBE = 1, +}; + +enum { + FGRAPH_TYPE_RESERVED = 0, + FGRAPH_TYPE_BITMAP = 1, + FGRAPH_TYPE_DATA = 2, +}; + +enum { + FIB6_NO_SERNUM_CHANGE = 0, +}; + +enum { + FILTER_OTHER = 0, + FILTER_STATIC_STRING = 1, + FILTER_DYN_STRING = 2, + FILTER_RDYN_STRING = 3, + FILTER_PTR_STRING = 4, + FILTER_TRACE_FN = 5, + FILTER_CPUMASK = 6, + FILTER_COMM = 7, + FILTER_CPU = 8, + FILTER_STACKTRACE = 9, +}; + +enum { + FILT_ERR_NONE = 0, + FILT_ERR_INVALID_OP = 1, + FILT_ERR_TOO_MANY_OPEN = 2, + FILT_ERR_TOO_MANY_CLOSE = 3, + FILT_ERR_MISSING_QUOTE = 4, + FILT_ERR_MISSING_BRACE_OPEN = 5, + FILT_ERR_MISSING_BRACE_CLOSE = 6, + FILT_ERR_OPERAND_TOO_LONG = 7, + FILT_ERR_EXPECT_STRING = 8, + FILT_ERR_EXPECT_DIGIT = 9, + FILT_ERR_ILLEGAL_FIELD_OP = 10, + FILT_ERR_FIELD_NOT_FOUND = 11, + FILT_ERR_ILLEGAL_INTVAL = 12, + FILT_ERR_BAD_SUBSYS_FILTER = 13, + FILT_ERR_TOO_MANY_PREDS = 14, + FILT_ERR_INVALID_FILTER = 15, + FILT_ERR_INVALID_CPULIST = 16, + FILT_ERR_IP_FIELD_ONLY = 17, + FILT_ERR_INVALID_VALUE = 18, + FILT_ERR_NO_FUNCTION = 19, + FILT_ERR_ERRNO = 20, + FILT_ERR_NO_FILTER = 21, +}; + +enum { + FLAGS_FILL_FULL = 268435456, + FLAGS_FILL_START = 536870912, + FLAGS_FILL_END = 805306368, +}; + +enum { + FOLL_TOUCH = 65536, + FOLL_TRIED = 131072, + FOLL_REMOTE = 262144, + FOLL_PIN = 524288, + FOLL_FAST_ONLY = 1048576, + FOLL_UNLOCKABLE = 2097152, + FOLL_MADV_POPULATE = 4194304, +}; + +enum { + FOLL_WRITE = 1, + FOLL_GET = 2, + FOLL_DUMP = 4, + FOLL_FORCE = 8, + FOLL_NOWAIT = 16, + FOLL_NOFAULT = 32, + FOLL_HWPOISON = 64, + FOLL_ANON = 128, + FOLL_LONGTERM = 256, + FOLL_SPLIT_PMD = 512, + FOLL_PCI_P2PDMA = 1024, + FOLL_INTERRUPTIBLE = 2048, + FOLL_HONOR_NUMA_FAULT = 4096, +}; + +enum { + FORMAT_HEADER = 1, + FORMAT_FIELD_SEPERATOR = 2, + FORMAT_PRINTFMT = 3, +}; + +enum { + FTRACE_FL_ENABLED = 2147483648, + FTRACE_FL_REGS = 1073741824, + FTRACE_FL_REGS_EN = 536870912, + FTRACE_FL_TRAMP = 268435456, + FTRACE_FL_TRAMP_EN = 134217728, + FTRACE_FL_IPMODIFY = 67108864, + FTRACE_FL_DISABLED = 33554432, + FTRACE_FL_DIRECT = 16777216, + FTRACE_FL_DIRECT_EN = 8388608, + FTRACE_FL_CALL_OPS = 4194304, + FTRACE_FL_CALL_OPS_EN = 2097152, + FTRACE_FL_TOUCHED = 1048576, + FTRACE_FL_MODIFIED = 524288, +}; + +enum { + FTRACE_HASH_FL_MOD = 1, +}; + +enum { + FTRACE_ITER_FILTER = 1, + FTRACE_ITER_NOTRACE = 2, + FTRACE_ITER_PRINTALL = 4, + FTRACE_ITER_DO_PROBES = 8, + FTRACE_ITER_PROBE = 16, + FTRACE_ITER_MOD = 32, + FTRACE_ITER_ENABLED = 64, + FTRACE_ITER_TOUCHED = 128, + FTRACE_ITER_ADDRS = 256, +}; + +enum { + FTRACE_MODIFY_ENABLE_FL = 1, + FTRACE_MODIFY_MAY_SLEEP_FL = 2, +}; + +enum { + FTRACE_OPS_FL_ENABLED = 1, + FTRACE_OPS_FL_DYNAMIC = 2, + FTRACE_OPS_FL_SAVE_REGS = 4, + FTRACE_OPS_FL_SAVE_REGS_IF_SUPPORTED = 8, + FTRACE_OPS_FL_RECURSION = 16, + FTRACE_OPS_FL_STUB = 32, + FTRACE_OPS_FL_INITIALIZED = 64, + FTRACE_OPS_FL_DELETED = 128, + FTRACE_OPS_FL_ADDING = 256, + FTRACE_OPS_FL_REMOVING = 512, + FTRACE_OPS_FL_MODIFYING = 1024, + FTRACE_OPS_FL_ALLOC_TRAMP = 2048, + FTRACE_OPS_FL_IPMODIFY = 4096, + FTRACE_OPS_FL_PID = 8192, + FTRACE_OPS_FL_RCU = 16384, + FTRACE_OPS_FL_TRACE_ARRAY = 32768, + FTRACE_OPS_FL_PERMANENT = 65536, + FTRACE_OPS_FL_DIRECT = 131072, + FTRACE_OPS_FL_SUBOP = 262144, +}; + +enum { + FTRACE_UPDATE_CALLS = 1, + FTRACE_DISABLE_CALLS = 2, + FTRACE_UPDATE_TRACE_FUNC = 4, + FTRACE_START_FUNC_RET = 8, + FTRACE_STOP_FUNC_RET = 16, + FTRACE_MAY_SLEEP = 32, +}; + +enum { + FTRACE_UPDATE_IGNORE = 0, + FTRACE_UPDATE_MAKE_CALL = 1, + FTRACE_UPDATE_MODIFY_CALL = 2, + FTRACE_UPDATE_MAKE_NOP = 3, +}; + +enum { + GP_IDLE = 0, + GP_ENTER = 1, + GP_PASSED = 2, + GP_EXIT = 3, + GP_REPLAY = 4, +}; + +enum { + HI_SOFTIRQ = 0, + TIMER_SOFTIRQ = 1, + NET_TX_SOFTIRQ = 2, + NET_RX_SOFTIRQ = 3, + BLOCK_SOFTIRQ = 4, + IRQ_POLL_SOFTIRQ = 5, + TASKLET_SOFTIRQ = 6, + SCHED_SOFTIRQ = 7, + HRTIMER_SOFTIRQ = 8, + RCU_SOFTIRQ = 9, + NR_SOFTIRQS = 10, +}; + +enum { + HP_THREAD_NONE = 0, + HP_THREAD_ACTIVE = 1, + HP_THREAD_PARKED = 2, +}; + +enum { + HUGETLB_SHMFS_INODE = 1, + HUGETLB_ANONHUGE_INODE = 2, +}; + +enum { + HW_BREAKPOINT_EMPTY = 0, + HW_BREAKPOINT_R = 1, + HW_BREAKPOINT_W = 2, + HW_BREAKPOINT_RW = 3, + HW_BREAKPOINT_X = 4, + HW_BREAKPOINT_INVALID = 7, +}; + +enum { + HW_BREAKPOINT_LEN_1 = 1, + HW_BREAKPOINT_LEN_2 = 2, + HW_BREAKPOINT_LEN_3 = 3, + HW_BREAKPOINT_LEN_4 = 4, + HW_BREAKPOINT_LEN_5 = 5, + HW_BREAKPOINT_LEN_6 = 6, + HW_BREAKPOINT_LEN_7 = 7, + HW_BREAKPOINT_LEN_8 = 8, +}; + +enum { + ICMP6_MIB_NUM = 0, + ICMP6_MIB_INMSGS = 1, + ICMP6_MIB_INERRORS = 2, + ICMP6_MIB_OUTMSGS = 3, + ICMP6_MIB_OUTERRORS = 4, + ICMP6_MIB_CSUMERRORS = 5, + ICMP6_MIB_RATELIMITHOST = 6, + __ICMP6_MIB_MAX = 7, +}; + +enum { + ICMP_MIB_NUM = 0, + ICMP_MIB_INMSGS = 1, + ICMP_MIB_INERRORS = 2, + ICMP_MIB_INDESTUNREACHS = 3, + ICMP_MIB_INTIMEEXCDS = 4, + ICMP_MIB_INPARMPROBS = 5, + ICMP_MIB_INSRCQUENCHS = 6, + ICMP_MIB_INREDIRECTS = 7, + ICMP_MIB_INECHOS = 8, + ICMP_MIB_INECHOREPS = 9, + ICMP_MIB_INTIMESTAMPS = 10, + ICMP_MIB_INTIMESTAMPREPS = 11, + ICMP_MIB_INADDRMASKS = 12, + ICMP_MIB_INADDRMASKREPS = 13, + ICMP_MIB_OUTMSGS = 14, + ICMP_MIB_OUTERRORS = 15, + ICMP_MIB_OUTDESTUNREACHS = 16, + ICMP_MIB_OUTTIMEEXCDS = 17, + ICMP_MIB_OUTPARMPROBS = 18, + ICMP_MIB_OUTSRCQUENCHS = 19, + ICMP_MIB_OUTREDIRECTS = 20, + ICMP_MIB_OUTECHOS = 21, + ICMP_MIB_OUTECHOREPS = 22, + ICMP_MIB_OUTTIMESTAMPS = 23, + ICMP_MIB_OUTTIMESTAMPREPS = 24, + ICMP_MIB_OUTADDRMASKS = 25, + ICMP_MIB_OUTADDRMASKREPS = 26, + ICMP_MIB_CSUMERRORS = 27, + ICMP_MIB_RATELIMITGLOBAL = 28, + ICMP_MIB_RATELIMITHOST = 29, + __ICMP_MIB_MAX = 30, +}; + +enum { + IDX_MODULE_ID = 0, + IDX_ST_OPS_COMMON_VALUE_ID = 1, +}; + +enum { + IFAL_ADDRESS = 1, + IFAL_LABEL = 2, + __IFAL_MAX = 3, +}; + +enum { + IFA_UNSPEC = 0, + IFA_ADDRESS = 1, + IFA_LOCAL = 2, + IFA_LABEL = 3, + IFA_BROADCAST = 4, + IFA_ANYCAST = 5, + IFA_CACHEINFO = 6, + IFA_MULTICAST = 7, + IFA_FLAGS = 8, + IFA_RT_PRIORITY = 9, + IFA_TARGET_NETNSID = 10, + IFA_PROTO = 11, + __IFA_MAX = 12, +}; + +enum { + IFLA_BRIDGE_FLAGS = 0, + IFLA_BRIDGE_MODE = 1, + IFLA_BRIDGE_VLAN_INFO = 2, + IFLA_BRIDGE_VLAN_TUNNEL_INFO = 3, + IFLA_BRIDGE_MRP = 4, + IFLA_BRIDGE_CFM = 5, + IFLA_BRIDGE_MST = 6, + __IFLA_BRIDGE_MAX = 7, +}; + +enum { + IFLA_BRPORT_UNSPEC = 0, + IFLA_BRPORT_STATE = 1, + IFLA_BRPORT_PRIORITY = 2, + IFLA_BRPORT_COST = 3, + IFLA_BRPORT_MODE = 4, + IFLA_BRPORT_GUARD = 5, + IFLA_BRPORT_PROTECT = 6, + IFLA_BRPORT_FAST_LEAVE = 7, + IFLA_BRPORT_LEARNING = 8, + IFLA_BRPORT_UNICAST_FLOOD = 9, + IFLA_BRPORT_PROXYARP = 10, + IFLA_BRPORT_LEARNING_SYNC = 11, + IFLA_BRPORT_PROXYARP_WIFI = 12, + IFLA_BRPORT_ROOT_ID = 13, + IFLA_BRPORT_BRIDGE_ID = 14, + IFLA_BRPORT_DESIGNATED_PORT = 15, + IFLA_BRPORT_DESIGNATED_COST = 16, + IFLA_BRPORT_ID = 17, + IFLA_BRPORT_NO = 18, + IFLA_BRPORT_TOPOLOGY_CHANGE_ACK = 19, + IFLA_BRPORT_CONFIG_PENDING = 20, + IFLA_BRPORT_MESSAGE_AGE_TIMER = 21, + IFLA_BRPORT_FORWARD_DELAY_TIMER = 22, + IFLA_BRPORT_HOLD_TIMER = 23, + IFLA_BRPORT_FLUSH = 24, + IFLA_BRPORT_MULTICAST_ROUTER = 25, + IFLA_BRPORT_PAD = 26, + IFLA_BRPORT_MCAST_FLOOD = 27, + IFLA_BRPORT_MCAST_TO_UCAST = 28, + IFLA_BRPORT_VLAN_TUNNEL = 29, + IFLA_BRPORT_BCAST_FLOOD = 30, + IFLA_BRPORT_GROUP_FWD_MASK = 31, + IFLA_BRPORT_NEIGH_SUPPRESS = 32, + IFLA_BRPORT_ISOLATED = 33, + IFLA_BRPORT_BACKUP_PORT = 34, + IFLA_BRPORT_MRP_RING_OPEN = 35, + IFLA_BRPORT_MRP_IN_OPEN = 36, + IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT = 37, + IFLA_BRPORT_MCAST_EHT_HOSTS_CNT = 38, + IFLA_BRPORT_LOCKED = 39, + IFLA_BRPORT_MAB = 40, + IFLA_BRPORT_MCAST_N_GROUPS = 41, + IFLA_BRPORT_MCAST_MAX_GROUPS = 42, + IFLA_BRPORT_NEIGH_VLAN_SUPPRESS = 43, + IFLA_BRPORT_BACKUP_NHID = 44, + __IFLA_BRPORT_MAX = 45, +}; + +enum { + IFLA_EVENT_NONE = 0, + IFLA_EVENT_REBOOT = 1, + IFLA_EVENT_FEATURES = 2, + IFLA_EVENT_BONDING_FAILOVER = 3, + IFLA_EVENT_NOTIFY_PEERS = 4, + IFLA_EVENT_IGMP_RESEND = 5, + IFLA_EVENT_BONDING_OPTIONS = 6, +}; + +enum { + IFLA_INET6_UNSPEC = 0, + IFLA_INET6_FLAGS = 1, + IFLA_INET6_CONF = 2, + IFLA_INET6_STATS = 3, + IFLA_INET6_MCAST = 4, + IFLA_INET6_CACHEINFO = 5, + IFLA_INET6_ICMP6STATS = 6, + IFLA_INET6_TOKEN = 7, + IFLA_INET6_ADDR_GEN_MODE = 8, + IFLA_INET6_RA_MTU = 9, + __IFLA_INET6_MAX = 10, +}; + +enum { + IFLA_INET_UNSPEC = 0, + IFLA_INET_CONF = 1, + __IFLA_INET_MAX = 2, +}; + +enum { + IFLA_INFO_UNSPEC = 0, + IFLA_INFO_KIND = 1, + IFLA_INFO_DATA = 2, + IFLA_INFO_XSTATS = 3, + IFLA_INFO_SLAVE_KIND = 4, + IFLA_INFO_SLAVE_DATA = 5, + __IFLA_INFO_MAX = 6, +}; + +enum { + IFLA_IPTUN_UNSPEC = 0, + IFLA_IPTUN_LINK = 1, + IFLA_IPTUN_LOCAL = 2, + IFLA_IPTUN_REMOTE = 3, + IFLA_IPTUN_TTL = 4, + IFLA_IPTUN_TOS = 5, + IFLA_IPTUN_ENCAP_LIMIT = 6, + IFLA_IPTUN_FLOWINFO = 7, + IFLA_IPTUN_FLAGS = 8, + IFLA_IPTUN_PROTO = 9, + IFLA_IPTUN_PMTUDISC = 10, + IFLA_IPTUN_6RD_PREFIX = 11, + IFLA_IPTUN_6RD_RELAY_PREFIX = 12, + IFLA_IPTUN_6RD_PREFIXLEN = 13, + IFLA_IPTUN_6RD_RELAY_PREFIXLEN = 14, + IFLA_IPTUN_ENCAP_TYPE = 15, + IFLA_IPTUN_ENCAP_FLAGS = 16, + IFLA_IPTUN_ENCAP_SPORT = 17, + IFLA_IPTUN_ENCAP_DPORT = 18, + IFLA_IPTUN_COLLECT_METADATA = 19, + IFLA_IPTUN_FWMARK = 20, + __IFLA_IPTUN_MAX = 21, +}; + +enum { + IFLA_OFFLOAD_XSTATS_HW_S_INFO_UNSPEC = 0, + IFLA_OFFLOAD_XSTATS_HW_S_INFO_REQUEST = 1, + IFLA_OFFLOAD_XSTATS_HW_S_INFO_USED = 2, + __IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX = 3, +}; + +enum { + IFLA_OFFLOAD_XSTATS_UNSPEC = 0, + IFLA_OFFLOAD_XSTATS_CPU_HIT = 1, + IFLA_OFFLOAD_XSTATS_HW_S_INFO = 2, + IFLA_OFFLOAD_XSTATS_L3_STATS = 3, + __IFLA_OFFLOAD_XSTATS_MAX = 4, +}; + +enum { + IFLA_PORT_UNSPEC = 0, + IFLA_PORT_VF = 1, + IFLA_PORT_PROFILE = 2, + IFLA_PORT_VSI_TYPE = 3, + IFLA_PORT_INSTANCE_UUID = 4, + IFLA_PORT_HOST_UUID = 5, + IFLA_PORT_REQUEST = 6, + IFLA_PORT_RESPONSE = 7, + __IFLA_PORT_MAX = 8, +}; + +enum { + IFLA_PROTO_DOWN_REASON_UNSPEC = 0, + IFLA_PROTO_DOWN_REASON_MASK = 1, + IFLA_PROTO_DOWN_REASON_VALUE = 2, + __IFLA_PROTO_DOWN_REASON_CNT = 3, + IFLA_PROTO_DOWN_REASON_MAX = 2, +}; + +enum { + IFLA_STATS_GETSET_UNSPEC = 0, + IFLA_STATS_GET_FILTERS = 1, + IFLA_STATS_SET_OFFLOAD_XSTATS_L3_STATS = 2, + __IFLA_STATS_GETSET_MAX = 3, +}; + +enum { + IFLA_STATS_UNSPEC = 0, + IFLA_STATS_LINK_64 = 1, + IFLA_STATS_LINK_XSTATS = 2, + IFLA_STATS_LINK_XSTATS_SLAVE = 3, + IFLA_STATS_LINK_OFFLOAD_XSTATS = 4, + IFLA_STATS_AF_SPEC = 5, + __IFLA_STATS_MAX = 6, +}; + +enum { + IFLA_UNSPEC = 0, + IFLA_ADDRESS = 1, + IFLA_BROADCAST = 2, + IFLA_IFNAME = 3, + IFLA_MTU = 4, + IFLA_LINK = 5, + IFLA_QDISC = 6, + IFLA_STATS = 7, + IFLA_COST = 8, + IFLA_PRIORITY = 9, + IFLA_MASTER = 10, + IFLA_WIRELESS = 11, + IFLA_PROTINFO = 12, + IFLA_TXQLEN = 13, + IFLA_MAP = 14, + IFLA_WEIGHT = 15, + IFLA_OPERSTATE = 16, + IFLA_LINKMODE = 17, + IFLA_LINKINFO = 18, + IFLA_NET_NS_PID = 19, + IFLA_IFALIAS = 20, + IFLA_NUM_VF = 21, + IFLA_VFINFO_LIST = 22, + IFLA_STATS64 = 23, + IFLA_VF_PORTS = 24, + IFLA_PORT_SELF = 25, + IFLA_AF_SPEC = 26, + IFLA_GROUP = 27, + IFLA_NET_NS_FD = 28, + IFLA_EXT_MASK = 29, + IFLA_PROMISCUITY = 30, + IFLA_NUM_TX_QUEUES = 31, + IFLA_NUM_RX_QUEUES = 32, + IFLA_CARRIER = 33, + IFLA_PHYS_PORT_ID = 34, + IFLA_CARRIER_CHANGES = 35, + IFLA_PHYS_SWITCH_ID = 36, + IFLA_LINK_NETNSID = 37, + IFLA_PHYS_PORT_NAME = 38, + IFLA_PROTO_DOWN = 39, + IFLA_GSO_MAX_SEGS = 40, + IFLA_GSO_MAX_SIZE = 41, + IFLA_PAD = 42, + IFLA_XDP = 43, + IFLA_EVENT = 44, + IFLA_NEW_NETNSID = 45, + IFLA_IF_NETNSID = 46, + IFLA_TARGET_NETNSID = 46, + IFLA_CARRIER_UP_COUNT = 47, + IFLA_CARRIER_DOWN_COUNT = 48, + IFLA_NEW_IFINDEX = 49, + IFLA_MIN_MTU = 50, + IFLA_MAX_MTU = 51, + IFLA_PROP_LIST = 52, + IFLA_ALT_IFNAME = 53, + IFLA_PERM_ADDRESS = 54, + IFLA_PROTO_DOWN_REASON = 55, + IFLA_PARENT_DEV_NAME = 56, + IFLA_PARENT_DEV_BUS_NAME = 57, + IFLA_GRO_MAX_SIZE = 58, + IFLA_TSO_MAX_SIZE = 59, + IFLA_TSO_MAX_SEGS = 60, + IFLA_ALLMULTI = 61, + IFLA_DEVLINK_PORT = 62, + IFLA_GSO_IPV4_MAX_SIZE = 63, + IFLA_GRO_IPV4_MAX_SIZE = 64, + IFLA_DPLL_PIN = 65, + IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, + __IFLA_MAX = 67, +}; + +enum { + IFLA_VF_INFO_UNSPEC = 0, + IFLA_VF_INFO = 1, + __IFLA_VF_INFO_MAX = 2, +}; + +enum { + IFLA_VF_PORT_UNSPEC = 0, + IFLA_VF_PORT = 1, + __IFLA_VF_PORT_MAX = 2, +}; + +enum { + IFLA_VF_STATS_RX_PACKETS = 0, + IFLA_VF_STATS_TX_PACKETS = 1, + IFLA_VF_STATS_RX_BYTES = 2, + IFLA_VF_STATS_TX_BYTES = 3, + IFLA_VF_STATS_BROADCAST = 4, + IFLA_VF_STATS_MULTICAST = 5, + IFLA_VF_STATS_PAD = 6, + IFLA_VF_STATS_RX_DROPPED = 7, + IFLA_VF_STATS_TX_DROPPED = 8, + __IFLA_VF_STATS_MAX = 9, +}; + +enum { + IFLA_VF_UNSPEC = 0, + IFLA_VF_MAC = 1, + IFLA_VF_VLAN = 2, + IFLA_VF_TX_RATE = 3, + IFLA_VF_SPOOFCHK = 4, + IFLA_VF_LINK_STATE = 5, + IFLA_VF_RATE = 6, + IFLA_VF_RSS_QUERY_EN = 7, + IFLA_VF_STATS = 8, + IFLA_VF_TRUST = 9, + IFLA_VF_IB_NODE_GUID = 10, + IFLA_VF_IB_PORT_GUID = 11, + IFLA_VF_VLAN_LIST = 12, + IFLA_VF_BROADCAST = 13, + __IFLA_VF_MAX = 14, +}; + +enum { + IFLA_VF_VLAN_INFO_UNSPEC = 0, + IFLA_VF_VLAN_INFO = 1, + __IFLA_VF_VLAN_INFO_MAX = 2, +}; + +enum { + IFLA_XDP_UNSPEC = 0, + IFLA_XDP_FD = 1, + IFLA_XDP_ATTACHED = 2, + IFLA_XDP_FLAGS = 3, + IFLA_XDP_PROG_ID = 4, + IFLA_XDP_DRV_PROG_ID = 5, + IFLA_XDP_SKB_PROG_ID = 6, + IFLA_XDP_HW_PROG_ID = 7, + IFLA_XDP_EXPECTED_FD = 8, + __IFLA_XDP_MAX = 9, +}; + +enum { + IF_ACT_NONE = -1, + IF_ACT_FILTER = 0, + IF_ACT_START = 1, + IF_ACT_STOP = 2, + IF_SRC_FILE = 3, + IF_SRC_KERNEL = 4, + IF_SRC_FILEADDR = 5, + IF_SRC_KERNELADDR = 6, +}; + +enum { + IF_LINK_MODE_DEFAULT = 0, + IF_LINK_MODE_DORMANT = 1, + IF_LINK_MODE_TESTING = 2, +}; + +enum { + IF_OPER_UNKNOWN = 0, + IF_OPER_NOTPRESENT = 1, + IF_OPER_DOWN = 2, + IF_OPER_LOWERLAYERDOWN = 3, + IF_OPER_TESTING = 4, + IF_OPER_DORMANT = 5, + IF_OPER_UP = 6, +}; + +enum { + IF_STATE_ACTION = 0, + IF_STATE_SOURCE = 1, + IF_STATE_END = 2, +}; + +enum { + INET6_IFADDR_STATE_PREDAD = 0, + INET6_IFADDR_STATE_DAD = 1, + INET6_IFADDR_STATE_POSTDAD = 2, + INET6_IFADDR_STATE_ERRDAD = 3, + INET6_IFADDR_STATE_DEAD = 4, +}; + +enum { + INET_DIAG_BC_NOP = 0, + INET_DIAG_BC_JMP = 1, + INET_DIAG_BC_S_GE = 2, + INET_DIAG_BC_S_LE = 3, + INET_DIAG_BC_D_GE = 4, + INET_DIAG_BC_D_LE = 5, + INET_DIAG_BC_AUTO = 6, + INET_DIAG_BC_S_COND = 7, + INET_DIAG_BC_D_COND = 8, + INET_DIAG_BC_DEV_COND = 9, + INET_DIAG_BC_MARK_COND = 10, + INET_DIAG_BC_S_EQ = 11, + INET_DIAG_BC_D_EQ = 12, + INET_DIAG_BC_CGROUP_COND = 13, +}; + +enum { + INET_DIAG_NONE = 0, + INET_DIAG_MEMINFO = 1, + INET_DIAG_INFO = 2, + INET_DIAG_VEGASINFO = 3, + INET_DIAG_CONG = 4, + INET_DIAG_TOS = 5, + INET_DIAG_TCLASS = 6, + INET_DIAG_SKMEMINFO = 7, + INET_DIAG_SHUTDOWN = 8, + INET_DIAG_DCTCPINFO = 9, + INET_DIAG_PROTOCOL = 10, + INET_DIAG_SKV6ONLY = 11, + INET_DIAG_LOCALS = 12, + INET_DIAG_PEERS = 13, + INET_DIAG_PAD = 14, + INET_DIAG_MARK = 15, + INET_DIAG_BBRINFO = 16, + INET_DIAG_CLASS_ID = 17, + INET_DIAG_MD5SIG = 18, + INET_DIAG_ULP_INFO = 19, + INET_DIAG_SK_BPF_STORAGES = 20, + INET_DIAG_CGROUP_ID = 21, + INET_DIAG_SOCKOPT = 22, + __INET_DIAG_MAX = 23, +}; + +enum { + INET_DIAG_REQ_NONE = 0, + INET_DIAG_REQ_BYTECODE = 1, + INET_DIAG_REQ_SK_BPF_STORAGES = 2, + INET_DIAG_REQ_PROTOCOL = 3, + __INET_DIAG_REQ_MAX = 4, +}; + +enum { + INET_ECN_NOT_ECT = 0, + INET_ECN_ECT_1 = 1, + INET_ECN_ECT_0 = 2, + INET_ECN_CE = 3, + INET_ECN_MASK = 3, +}; + +enum { + INET_FLAGS_PKTINFO = 0, + INET_FLAGS_TTL = 1, + INET_FLAGS_TOS = 2, + INET_FLAGS_RECVOPTS = 3, + INET_FLAGS_RETOPTS = 4, + INET_FLAGS_PASSSEC = 5, + INET_FLAGS_ORIGDSTADDR = 6, + INET_FLAGS_CHECKSUM = 7, + INET_FLAGS_RECVFRAGSIZE = 8, + INET_FLAGS_RECVERR = 9, + INET_FLAGS_RECVERR_RFC4884 = 10, + INET_FLAGS_FREEBIND = 11, + INET_FLAGS_HDRINCL = 12, + INET_FLAGS_MC_LOOP = 13, + INET_FLAGS_MC_ALL = 14, + INET_FLAGS_TRANSPARENT = 15, + INET_FLAGS_IS_ICSK = 16, + INET_FLAGS_NODEFRAG = 17, + INET_FLAGS_BIND_ADDRESS_NO_PORT = 18, + INET_FLAGS_DEFER_CONNECT = 19, + INET_FLAGS_MC6_LOOP = 20, + INET_FLAGS_RECVERR6_RFC4884 = 21, + INET_FLAGS_MC6_ALL = 22, + INET_FLAGS_AUTOFLOWLABEL_SET = 23, + INET_FLAGS_AUTOFLOWLABEL = 24, + INET_FLAGS_DONTFRAG = 25, + INET_FLAGS_RECVERR6 = 26, + INET_FLAGS_REPFLOW = 27, + INET_FLAGS_RTALERT_ISOLATE = 28, + INET_FLAGS_SNDFLOW = 29, + INET_FLAGS_RTALERT = 30, +}; + +enum { + INET_FRAG_FIRST_IN = 1, + INET_FRAG_LAST_IN = 2, + INET_FRAG_COMPLETE = 4, + INET_FRAG_HASH_DEAD = 8, + INET_FRAG_DROP = 16, +}; + +enum { + INET_ULP_INFO_UNSPEC = 0, + INET_ULP_INFO_NAME = 1, + INET_ULP_INFO_TLS = 2, + INET_ULP_INFO_MPTCP = 3, + __INET_ULP_INFO_MAX = 4, +}; + +enum { + INSN_F_FRAMENO_MASK = 7, + INSN_F_SPI_MASK = 63, + INSN_F_SPI_SHIFT = 3, + INSN_F_STACK_ACCESS = 512, +}; + +enum { + INVERT = 1, + PROCESS_AND = 2, + PROCESS_OR = 4, +}; + +enum { + IOAM6_ATTR_UNSPEC = 0, + IOAM6_ATTR_NS_ID = 1, + IOAM6_ATTR_NS_DATA = 2, + IOAM6_ATTR_NS_DATA_WIDE = 3, + IOAM6_ATTR_SC_ID = 4, + IOAM6_ATTR_SC_DATA = 5, + IOAM6_ATTR_SC_NONE = 6, + IOAM6_ATTR_PAD = 7, + __IOAM6_ATTR_MAX = 8, +}; + +enum { + IOAM6_CMD_UNSPEC = 0, + IOAM6_CMD_ADD_NAMESPACE = 1, + IOAM6_CMD_DEL_NAMESPACE = 2, + IOAM6_CMD_DUMP_NAMESPACES = 3, + IOAM6_CMD_ADD_SCHEMA = 4, + IOAM6_CMD_DEL_SCHEMA = 5, + IOAM6_CMD_DUMP_SCHEMAS = 6, + IOAM6_CMD_NS_SET_SCHEMA = 7, + __IOAM6_CMD_MAX = 8, +}; + +enum { + IOPRIO_CLASS_NONE = 0, + IOPRIO_CLASS_RT = 1, + IOPRIO_CLASS_BE = 2, + IOPRIO_CLASS_IDLE = 3, + IOPRIO_CLASS_INVALID = 7, +}; + +enum { + IOPRIO_HINT_NONE = 0, + IOPRIO_HINT_DEV_DURATION_LIMIT_1 = 1, + IOPRIO_HINT_DEV_DURATION_LIMIT_2 = 2, + IOPRIO_HINT_DEV_DURATION_LIMIT_3 = 3, + IOPRIO_HINT_DEV_DURATION_LIMIT_4 = 4, + IOPRIO_HINT_DEV_DURATION_LIMIT_5 = 5, + IOPRIO_HINT_DEV_DURATION_LIMIT_6 = 6, + IOPRIO_HINT_DEV_DURATION_LIMIT_7 = 7, +}; + +enum { + IORES_DESC_NONE = 0, + IORES_DESC_CRASH_KERNEL = 1, + IORES_DESC_ACPI_TABLES = 2, + IORES_DESC_ACPI_NV_STORAGE = 3, + IORES_DESC_PERSISTENT_MEMORY = 4, + IORES_DESC_PERSISTENT_MEMORY_LEGACY = 5, + IORES_DESC_DEVICE_PRIVATE_MEMORY = 6, + IORES_DESC_RESERVED = 7, + IORES_DESC_SOFT_RESERVED = 8, + IORES_DESC_CXL = 9, +}; + +enum { + IP6_FH_F_FRAG = 1, + IP6_FH_F_AUTH = 2, + IP6_FH_F_SKIP_RH = 4, +}; + +enum { + IPPROTO_IP = 0, + IPPROTO_ICMP = 1, + IPPROTO_IGMP = 2, + IPPROTO_IPIP = 4, + IPPROTO_TCP = 6, + IPPROTO_EGP = 8, + IPPROTO_PUP = 12, + IPPROTO_UDP = 17, + IPPROTO_IDP = 22, + IPPROTO_TP = 29, + IPPROTO_DCCP = 33, + IPPROTO_IPV6 = 41, + IPPROTO_RSVP = 46, + IPPROTO_GRE = 47, + IPPROTO_ESP = 50, + IPPROTO_AH = 51, + IPPROTO_MTP = 92, + IPPROTO_BEETPH = 94, + IPPROTO_ENCAP = 98, + IPPROTO_PIM = 103, + IPPROTO_COMP = 108, + IPPROTO_L2TP = 115, + IPPROTO_SCTP = 132, + IPPROTO_UDPLITE = 136, + IPPROTO_MPLS = 137, + IPPROTO_ETHERNET = 143, + IPPROTO_AGGFRAG = 144, + IPPROTO_RAW = 255, + IPPROTO_SMC = 256, + IPPROTO_MPTCP = 262, + IPPROTO_MAX = 263, +}; + +enum { + IPSTATS_MIB_NUM = 0, + IPSTATS_MIB_INPKTS = 1, + IPSTATS_MIB_INOCTETS = 2, + IPSTATS_MIB_INDELIVERS = 3, + IPSTATS_MIB_OUTFORWDATAGRAMS = 4, + IPSTATS_MIB_OUTREQUESTS = 5, + IPSTATS_MIB_OUTOCTETS = 6, + IPSTATS_MIB_INHDRERRORS = 7, + IPSTATS_MIB_INTOOBIGERRORS = 8, + IPSTATS_MIB_INNOROUTES = 9, + IPSTATS_MIB_INADDRERRORS = 10, + IPSTATS_MIB_INUNKNOWNPROTOS = 11, + IPSTATS_MIB_INTRUNCATEDPKTS = 12, + IPSTATS_MIB_INDISCARDS = 13, + IPSTATS_MIB_OUTDISCARDS = 14, + IPSTATS_MIB_OUTNOROUTES = 15, + IPSTATS_MIB_REASMTIMEOUT = 16, + IPSTATS_MIB_REASMREQDS = 17, + IPSTATS_MIB_REASMOKS = 18, + IPSTATS_MIB_REASMFAILS = 19, + IPSTATS_MIB_FRAGOKS = 20, + IPSTATS_MIB_FRAGFAILS = 21, + IPSTATS_MIB_FRAGCREATES = 22, + IPSTATS_MIB_INMCASTPKTS = 23, + IPSTATS_MIB_OUTMCASTPKTS = 24, + IPSTATS_MIB_INBCASTPKTS = 25, + IPSTATS_MIB_OUTBCASTPKTS = 26, + IPSTATS_MIB_INMCASTOCTETS = 27, + IPSTATS_MIB_OUTMCASTOCTETS = 28, + IPSTATS_MIB_INBCASTOCTETS = 29, + IPSTATS_MIB_OUTBCASTOCTETS = 30, + IPSTATS_MIB_CSUMERRORS = 31, + IPSTATS_MIB_NOECTPKTS = 32, + IPSTATS_MIB_ECT1PKTS = 33, + IPSTATS_MIB_ECT0PKTS = 34, + IPSTATS_MIB_CEPKTS = 35, + IPSTATS_MIB_REASM_OVERLAPS = 36, + IPSTATS_MIB_OUTPKTS = 37, + __IPSTATS_MIB_MAX = 38, +}; + +enum { + IPV4_DEVCONF_FORWARDING = 1, + IPV4_DEVCONF_MC_FORWARDING = 2, + IPV4_DEVCONF_PROXY_ARP = 3, + IPV4_DEVCONF_ACCEPT_REDIRECTS = 4, + IPV4_DEVCONF_SECURE_REDIRECTS = 5, + IPV4_DEVCONF_SEND_REDIRECTS = 6, + IPV4_DEVCONF_SHARED_MEDIA = 7, + IPV4_DEVCONF_RP_FILTER = 8, + IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE = 9, + IPV4_DEVCONF_BOOTP_RELAY = 10, + IPV4_DEVCONF_LOG_MARTIANS = 11, + IPV4_DEVCONF_TAG = 12, + IPV4_DEVCONF_ARPFILTER = 13, + IPV4_DEVCONF_MEDIUM_ID = 14, + IPV4_DEVCONF_NOXFRM = 15, + IPV4_DEVCONF_NOPOLICY = 16, + IPV4_DEVCONF_FORCE_IGMP_VERSION = 17, + IPV4_DEVCONF_ARP_ANNOUNCE = 18, + IPV4_DEVCONF_ARP_IGNORE = 19, + IPV4_DEVCONF_PROMOTE_SECONDARIES = 20, + IPV4_DEVCONF_ARP_ACCEPT = 21, + IPV4_DEVCONF_ARP_NOTIFY = 22, + IPV4_DEVCONF_ACCEPT_LOCAL = 23, + IPV4_DEVCONF_SRC_VMARK = 24, + IPV4_DEVCONF_PROXY_ARP_PVLAN = 25, + IPV4_DEVCONF_ROUTE_LOCALNET = 26, + IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL = 27, + IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL = 28, + IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 29, + IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 30, + IPV4_DEVCONF_DROP_GRATUITOUS_ARP = 31, + IPV4_DEVCONF_BC_FORWARDING = 32, + IPV4_DEVCONF_ARP_EVICT_NOCARRIER = 33, + __IPV4_DEVCONF_MAX = 34, +}; + +enum { + IPV6_SADDR_RULE_INIT = 0, + IPV6_SADDR_RULE_LOCAL = 1, + IPV6_SADDR_RULE_SCOPE = 2, + IPV6_SADDR_RULE_PREFERRED = 3, + IPV6_SADDR_RULE_OIF = 4, + IPV6_SADDR_RULE_LABEL = 5, + IPV6_SADDR_RULE_PRIVACY = 6, + IPV6_SADDR_RULE_ORCHID = 7, + IPV6_SADDR_RULE_PREFIX = 8, + IPV6_SADDR_RULE_MAX = 9, +}; + +enum { + IP_TUNNEL_CSUM_BIT = 0, + IP_TUNNEL_ROUTING_BIT = 1, + IP_TUNNEL_KEY_BIT = 2, + IP_TUNNEL_SEQ_BIT = 3, + IP_TUNNEL_STRICT_BIT = 4, + IP_TUNNEL_REC_BIT = 5, + IP_TUNNEL_VERSION_BIT = 6, + IP_TUNNEL_NO_KEY_BIT = 7, + IP_TUNNEL_DONT_FRAGMENT_BIT = 8, + IP_TUNNEL_OAM_BIT = 9, + IP_TUNNEL_CRIT_OPT_BIT = 10, + IP_TUNNEL_GENEVE_OPT_BIT = 11, + IP_TUNNEL_VXLAN_OPT_BIT = 12, + IP_TUNNEL_NOCACHE_BIT = 13, + IP_TUNNEL_ERSPAN_OPT_BIT = 14, + IP_TUNNEL_GTP_OPT_BIT = 15, + IP_TUNNEL_VTI_BIT = 16, + IP_TUNNEL_SIT_ISATAP_BIT = 16, + IP_TUNNEL_PFCP_OPT_BIT = 17, + __IP_TUNNEL_FLAG_NUM = 18, +}; + +enum { + IRQCHIP_FWNODE_REAL = 0, + IRQCHIP_FWNODE_NAMED = 1, + IRQCHIP_FWNODE_NAMED_ID = 2, +}; + +enum { + IRQCHIP_SET_TYPE_MASKED = 1, + IRQCHIP_EOI_IF_HANDLED = 2, + IRQCHIP_MASK_ON_SUSPEND = 4, + IRQCHIP_ONOFFLINE_ENABLED = 8, + IRQCHIP_SKIP_SET_WAKE = 16, + IRQCHIP_ONESHOT_SAFE = 32, + IRQCHIP_EOI_THREADED = 64, + IRQCHIP_SUPPORTS_LEVEL_MSI = 128, + IRQCHIP_SUPPORTS_NMI = 256, + IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND = 512, + IRQCHIP_AFFINITY_PRE_STARTUP = 1024, + IRQCHIP_IMMUTABLE = 2048, + IRQCHIP_MOVE_DEFERRED = 4096, +}; + +enum { + IRQC_IS_HARDIRQ = 0, + IRQC_IS_NESTED = 1, +}; + +enum { + IRQD_TRIGGER_MASK = 15, + IRQD_SETAFFINITY_PENDING = 256, + IRQD_ACTIVATED = 512, + IRQD_NO_BALANCING = 1024, + IRQD_PER_CPU = 2048, + IRQD_AFFINITY_SET = 4096, + IRQD_LEVEL = 8192, + IRQD_WAKEUP_STATE = 16384, + IRQD_IRQ_DISABLED = 65536, + IRQD_IRQ_MASKED = 131072, + IRQD_IRQ_INPROGRESS = 262144, + IRQD_WAKEUP_ARMED = 524288, + IRQD_FORWARDED_TO_VCPU = 1048576, + IRQD_AFFINITY_MANAGED = 2097152, + IRQD_IRQ_STARTED = 4194304, + IRQD_MANAGED_SHUTDOWN = 8388608, + IRQD_SINGLE_TARGET = 16777216, + IRQD_DEFAULT_TRIGGER_SET = 33554432, + IRQD_CAN_RESERVE = 67108864, + IRQD_HANDLE_ENFORCE_IRQCTX = 134217728, + IRQD_AFFINITY_ON_ACTIVATE = 268435456, + IRQD_IRQ_ENABLED_ON_SUSPEND = 536870912, + IRQD_RESEND_WHEN_IN_PROGRESS = 1073741824, +}; + +enum { + IRQS_AUTODETECT = 1, + IRQS_SPURIOUS_DISABLED = 2, + IRQS_POLL_INPROGRESS = 8, + IRQS_ONESHOT = 32, + IRQS_REPLAY = 64, + IRQS_WAITING = 128, + IRQS_PENDING = 512, + IRQS_SUSPENDED = 2048, + IRQS_TIMINGS = 4096, + IRQS_NMI = 8192, + IRQS_SYSFS = 16384, +}; + +enum { + IRQTF_RUNTHREAD = 0, + IRQTF_WARNED = 1, + IRQTF_AFFINITY = 2, + IRQTF_FORCED_THREAD = 3, + IRQTF_READY = 4, +}; + +enum { + IRQ_DOMAIN_FLAG_HIERARCHY = 1, + IRQ_DOMAIN_NAME_ALLOCATED = 2, + IRQ_DOMAIN_FLAG_IPI_PER_CPU = 4, + IRQ_DOMAIN_FLAG_IPI_SINGLE = 8, + IRQ_DOMAIN_FLAG_MSI = 16, + IRQ_DOMAIN_FLAG_ISOLATED_MSI = 32, + IRQ_DOMAIN_FLAG_NO_MAP = 64, + IRQ_DOMAIN_FLAG_MSI_PARENT = 256, + IRQ_DOMAIN_FLAG_MSI_DEVICE = 512, + IRQ_DOMAIN_FLAG_DESTROY_GC = 1024, + IRQ_DOMAIN_FLAG_NONCORE = 65536, +}; + +enum { + IRQ_SET_MASK_OK = 0, + IRQ_SET_MASK_OK_NOCOPY = 1, + IRQ_SET_MASK_OK_DONE = 2, +}; + +enum { + IRQ_STARTUP_NORMAL = 0, + IRQ_STARTUP_MANAGED = 1, + IRQ_STARTUP_ABORT = 2, +}; + +enum { + IRQ_TYPE_NONE = 0, + IRQ_TYPE_EDGE_RISING = 1, + IRQ_TYPE_EDGE_FALLING = 2, + IRQ_TYPE_EDGE_BOTH = 3, + IRQ_TYPE_LEVEL_HIGH = 4, + IRQ_TYPE_LEVEL_LOW = 8, + IRQ_TYPE_LEVEL_MASK = 12, + IRQ_TYPE_SENSE_MASK = 15, + IRQ_TYPE_DEFAULT = 15, + IRQ_TYPE_PROBE = 16, + IRQ_LEVEL = 256, + IRQ_PER_CPU = 512, + IRQ_NOPROBE = 1024, + IRQ_NOREQUEST = 2048, + IRQ_NOAUTOEN = 4096, + IRQ_NO_BALANCING = 8192, + IRQ_NESTED_THREAD = 32768, + IRQ_NOTHREAD = 65536, + IRQ_PER_CPU_DEVID = 131072, + IRQ_IS_POLLED = 262144, + IRQ_DISABLE_UNLAZY = 524288, + IRQ_HIDDEN = 1048576, + IRQ_NO_DEBUG = 2097152, +}; + +enum { + KERNEL_PARAM_FL_UNSAFE = 1, + KERNEL_PARAM_FL_HWPARAM = 2, +}; + +enum { + KERNEL_PARAM_OPS_FL_NOARG = 1, +}; + +enum { + KF_ARG_DYNPTR_ID = 0, + KF_ARG_LIST_HEAD_ID = 1, + KF_ARG_LIST_NODE_ID = 2, + KF_ARG_RB_ROOT_ID = 3, + KF_ARG_RB_NODE_ID = 4, + KF_ARG_WORKQUEUE_ID = 5, +}; + +enum { + KTW_FREEZABLE = 1, +}; + +enum { + LAST_NORM = 0, + LAST_ROOT = 1, + LAST_DOT = 2, + LAST_DOTDOT = 3, +}; + +enum { + LINUX_MIB_NUM = 0, + LINUX_MIB_SYNCOOKIESSENT = 1, + LINUX_MIB_SYNCOOKIESRECV = 2, + LINUX_MIB_SYNCOOKIESFAILED = 3, + LINUX_MIB_EMBRYONICRSTS = 4, + LINUX_MIB_PRUNECALLED = 5, + LINUX_MIB_RCVPRUNED = 6, + LINUX_MIB_OFOPRUNED = 7, + LINUX_MIB_OUTOFWINDOWICMPS = 8, + LINUX_MIB_LOCKDROPPEDICMPS = 9, + LINUX_MIB_ARPFILTER = 10, + LINUX_MIB_TIMEWAITED = 11, + LINUX_MIB_TIMEWAITRECYCLED = 12, + LINUX_MIB_TIMEWAITKILLED = 13, + LINUX_MIB_PAWSACTIVEREJECTED = 14, + LINUX_MIB_PAWSESTABREJECTED = 15, + LINUX_MIB_PAWS_OLD_ACK = 16, + LINUX_MIB_DELAYEDACKS = 17, + LINUX_MIB_DELAYEDACKLOCKED = 18, + LINUX_MIB_DELAYEDACKLOST = 19, + LINUX_MIB_LISTENOVERFLOWS = 20, + LINUX_MIB_LISTENDROPS = 21, + LINUX_MIB_TCPHPHITS = 22, + LINUX_MIB_TCPPUREACKS = 23, + LINUX_MIB_TCPHPACKS = 24, + LINUX_MIB_TCPRENORECOVERY = 25, + LINUX_MIB_TCPSACKRECOVERY = 26, + LINUX_MIB_TCPSACKRENEGING = 27, + LINUX_MIB_TCPSACKREORDER = 28, + LINUX_MIB_TCPRENOREORDER = 29, + LINUX_MIB_TCPTSREORDER = 30, + LINUX_MIB_TCPFULLUNDO = 31, + LINUX_MIB_TCPPARTIALUNDO = 32, + LINUX_MIB_TCPDSACKUNDO = 33, + LINUX_MIB_TCPLOSSUNDO = 34, + LINUX_MIB_TCPLOSTRETRANSMIT = 35, + LINUX_MIB_TCPRENOFAILURES = 36, + LINUX_MIB_TCPSACKFAILURES = 37, + LINUX_MIB_TCPLOSSFAILURES = 38, + LINUX_MIB_TCPFASTRETRANS = 39, + LINUX_MIB_TCPSLOWSTARTRETRANS = 40, + LINUX_MIB_TCPTIMEOUTS = 41, + LINUX_MIB_TCPLOSSPROBES = 42, + LINUX_MIB_TCPLOSSPROBERECOVERY = 43, + LINUX_MIB_TCPRENORECOVERYFAIL = 44, + LINUX_MIB_TCPSACKRECOVERYFAIL = 45, + LINUX_MIB_TCPRCVCOLLAPSED = 46, + LINUX_MIB_TCPDSACKOLDSENT = 47, + LINUX_MIB_TCPDSACKOFOSENT = 48, + LINUX_MIB_TCPDSACKRECV = 49, + LINUX_MIB_TCPDSACKOFORECV = 50, + LINUX_MIB_TCPABORTONDATA = 51, + LINUX_MIB_TCPABORTONCLOSE = 52, + LINUX_MIB_TCPABORTONMEMORY = 53, + LINUX_MIB_TCPABORTONTIMEOUT = 54, + LINUX_MIB_TCPABORTONLINGER = 55, + LINUX_MIB_TCPABORTFAILED = 56, + LINUX_MIB_TCPMEMORYPRESSURES = 57, + LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 58, + LINUX_MIB_TCPSACKDISCARD = 59, + LINUX_MIB_TCPDSACKIGNOREDOLD = 60, + LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 61, + LINUX_MIB_TCPSPURIOUSRTOS = 62, + LINUX_MIB_TCPMD5NOTFOUND = 63, + LINUX_MIB_TCPMD5UNEXPECTED = 64, + LINUX_MIB_TCPMD5FAILURE = 65, + LINUX_MIB_SACKSHIFTED = 66, + LINUX_MIB_SACKMERGED = 67, + LINUX_MIB_SACKSHIFTFALLBACK = 68, + LINUX_MIB_TCPBACKLOGDROP = 69, + LINUX_MIB_PFMEMALLOCDROP = 70, + LINUX_MIB_TCPMINTTLDROP = 71, + LINUX_MIB_TCPDEFERACCEPTDROP = 72, + LINUX_MIB_IPRPFILTER = 73, + LINUX_MIB_TCPTIMEWAITOVERFLOW = 74, + LINUX_MIB_TCPREQQFULLDOCOOKIES = 75, + LINUX_MIB_TCPREQQFULLDROP = 76, + LINUX_MIB_TCPRETRANSFAIL = 77, + LINUX_MIB_TCPRCVCOALESCE = 78, + LINUX_MIB_TCPBACKLOGCOALESCE = 79, + LINUX_MIB_TCPOFOQUEUE = 80, + LINUX_MIB_TCPOFODROP = 81, + LINUX_MIB_TCPOFOMERGE = 82, + LINUX_MIB_TCPCHALLENGEACK = 83, + LINUX_MIB_TCPSYNCHALLENGE = 84, + LINUX_MIB_TCPFASTOPENACTIVE = 85, + LINUX_MIB_TCPFASTOPENACTIVEFAIL = 86, + LINUX_MIB_TCPFASTOPENPASSIVE = 87, + LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 88, + LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 89, + LINUX_MIB_TCPFASTOPENCOOKIEREQD = 90, + LINUX_MIB_TCPFASTOPENBLACKHOLE = 91, + LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 92, + LINUX_MIB_BUSYPOLLRXPACKETS = 93, + LINUX_MIB_TCPAUTOCORKING = 94, + LINUX_MIB_TCPFROMZEROWINDOWADV = 95, + LINUX_MIB_TCPTOZEROWINDOWADV = 96, + LINUX_MIB_TCPWANTZEROWINDOWADV = 97, + LINUX_MIB_TCPSYNRETRANS = 98, + LINUX_MIB_TCPORIGDATASENT = 99, + LINUX_MIB_TCPHYSTARTTRAINDETECT = 100, + LINUX_MIB_TCPHYSTARTTRAINCWND = 101, + LINUX_MIB_TCPHYSTARTDELAYDETECT = 102, + LINUX_MIB_TCPHYSTARTDELAYCWND = 103, + LINUX_MIB_TCPACKSKIPPEDSYNRECV = 104, + LINUX_MIB_TCPACKSKIPPEDPAWS = 105, + LINUX_MIB_TCPACKSKIPPEDSEQ = 106, + LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 107, + LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 108, + LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 109, + LINUX_MIB_TCPWINPROBE = 110, + LINUX_MIB_TCPKEEPALIVE = 111, + LINUX_MIB_TCPMTUPFAIL = 112, + LINUX_MIB_TCPMTUPSUCCESS = 113, + LINUX_MIB_TCPDELIVERED = 114, + LINUX_MIB_TCPDELIVEREDCE = 115, + LINUX_MIB_TCPACKCOMPRESSED = 116, + LINUX_MIB_TCPZEROWINDOWDROP = 117, + LINUX_MIB_TCPRCVQDROP = 118, + LINUX_MIB_TCPWQUEUETOOBIG = 119, + LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 120, + LINUX_MIB_TCPTIMEOUTREHASH = 121, + LINUX_MIB_TCPDUPLICATEDATAREHASH = 122, + LINUX_MIB_TCPDSACKRECVSEGS = 123, + LINUX_MIB_TCPDSACKIGNOREDDUBIOUS = 124, + LINUX_MIB_TCPMIGRATEREQSUCCESS = 125, + LINUX_MIB_TCPMIGRATEREQFAILURE = 126, + LINUX_MIB_TCPPLBREHASH = 127, + LINUX_MIB_TCPAOREQUIRED = 128, + LINUX_MIB_TCPAOBAD = 129, + LINUX_MIB_TCPAOKEYNOTFOUND = 130, + LINUX_MIB_TCPAOGOOD = 131, + LINUX_MIB_TCPAODROPPEDICMPS = 132, + __LINUX_MIB_MAX = 133, +}; + +enum { + LINUX_MIB_TLSNUM = 0, + LINUX_MIB_TLSCURRTXSW = 1, + LINUX_MIB_TLSCURRRXSW = 2, + LINUX_MIB_TLSCURRTXDEVICE = 3, + LINUX_MIB_TLSCURRRXDEVICE = 4, + LINUX_MIB_TLSTXSW = 5, + LINUX_MIB_TLSRXSW = 6, + LINUX_MIB_TLSTXDEVICE = 7, + LINUX_MIB_TLSRXDEVICE = 8, + LINUX_MIB_TLSDECRYPTERROR = 9, + LINUX_MIB_TLSRXDEVICERESYNC = 10, + LINUX_MIB_TLSDECRYPTRETRY = 11, + LINUX_MIB_TLSRXNOPADVIOL = 12, + LINUX_MIB_TLSRXREKEYOK = 13, + LINUX_MIB_TLSRXREKEYERROR = 14, + LINUX_MIB_TLSTXREKEYOK = 15, + LINUX_MIB_TLSTXREKEYERROR = 16, + LINUX_MIB_TLSRXREKEYRECEIVED = 17, + __LINUX_MIB_TLSMAX = 18, +}; + +enum { + LINUX_MIB_XFRMNUM = 0, + LINUX_MIB_XFRMINERROR = 1, + LINUX_MIB_XFRMINBUFFERERROR = 2, + LINUX_MIB_XFRMINHDRERROR = 3, + LINUX_MIB_XFRMINNOSTATES = 4, + LINUX_MIB_XFRMINSTATEPROTOERROR = 5, + LINUX_MIB_XFRMINSTATEMODEERROR = 6, + LINUX_MIB_XFRMINSTATESEQERROR = 7, + LINUX_MIB_XFRMINSTATEEXPIRED = 8, + LINUX_MIB_XFRMINSTATEMISMATCH = 9, + LINUX_MIB_XFRMINSTATEINVALID = 10, + LINUX_MIB_XFRMINTMPLMISMATCH = 11, + LINUX_MIB_XFRMINNOPOLS = 12, + LINUX_MIB_XFRMINPOLBLOCK = 13, + LINUX_MIB_XFRMINPOLERROR = 14, + LINUX_MIB_XFRMOUTERROR = 15, + LINUX_MIB_XFRMOUTBUNDLEGENERROR = 16, + LINUX_MIB_XFRMOUTBUNDLECHECKERROR = 17, + LINUX_MIB_XFRMOUTNOSTATES = 18, + LINUX_MIB_XFRMOUTSTATEPROTOERROR = 19, + LINUX_MIB_XFRMOUTSTATEMODEERROR = 20, + LINUX_MIB_XFRMOUTSTATESEQERROR = 21, + LINUX_MIB_XFRMOUTSTATEEXPIRED = 22, + LINUX_MIB_XFRMOUTPOLBLOCK = 23, + LINUX_MIB_XFRMOUTPOLDEAD = 24, + LINUX_MIB_XFRMOUTPOLERROR = 25, + LINUX_MIB_XFRMFWDHDRERROR = 26, + LINUX_MIB_XFRMOUTSTATEINVALID = 27, + LINUX_MIB_XFRMACQUIREERROR = 28, + LINUX_MIB_XFRMOUTSTATEDIRERROR = 29, + LINUX_MIB_XFRMINSTATEDIRERROR = 30, + LINUX_MIB_XFRMINIPTFSERROR = 31, + LINUX_MIB_XFRMOUTNOQSPACE = 32, + __LINUX_MIB_XFRMMAX = 33, +}; + +enum { + LOGIC_PIO_INDIRECT = 0, + LOGIC_PIO_CPU_MMIO = 1, +}; + +enum { + LWTUNNEL_IP_OPTS_UNSPEC = 0, + LWTUNNEL_IP_OPTS_GENEVE = 1, + LWTUNNEL_IP_OPTS_VXLAN = 2, + LWTUNNEL_IP_OPTS_ERSPAN = 3, + __LWTUNNEL_IP_OPTS_MAX = 4, +}; + +enum { + LWTUNNEL_IP_OPT_ERSPAN_UNSPEC = 0, + LWTUNNEL_IP_OPT_ERSPAN_VER = 1, + LWTUNNEL_IP_OPT_ERSPAN_INDEX = 2, + LWTUNNEL_IP_OPT_ERSPAN_DIR = 3, + LWTUNNEL_IP_OPT_ERSPAN_HWID = 4, + __LWTUNNEL_IP_OPT_ERSPAN_MAX = 5, +}; + +enum { + LWTUNNEL_IP_OPT_GENEVE_UNSPEC = 0, + LWTUNNEL_IP_OPT_GENEVE_CLASS = 1, + LWTUNNEL_IP_OPT_GENEVE_TYPE = 2, + LWTUNNEL_IP_OPT_GENEVE_DATA = 3, + __LWTUNNEL_IP_OPT_GENEVE_MAX = 4, +}; + +enum { + LWTUNNEL_IP_OPT_VXLAN_UNSPEC = 0, + LWTUNNEL_IP_OPT_VXLAN_GBP = 1, + __LWTUNNEL_IP_OPT_VXLAN_MAX = 2, +}; + +enum { + LWTUNNEL_XMIT_DONE = 0, + LWTUNNEL_XMIT_CONTINUE = 256, +}; + +enum { + MAX_OPT_ARGS = 3, +}; + +enum { + MDBA_GET_ENTRY_UNSPEC = 0, + MDBA_GET_ENTRY = 1, + MDBA_GET_ENTRY_ATTRS = 2, + __MDBA_GET_ENTRY_MAX = 3, +}; + +enum { + MDBA_SET_ENTRY_UNSPEC = 0, + MDBA_SET_ENTRY = 1, + MDBA_SET_ENTRY_ATTRS = 2, + __MDBA_SET_ENTRY_MAX = 3, +}; + +enum { + MEMREMAP_WB = 1, + MEMREMAP_WT = 2, + MEMREMAP_WC = 4, + MEMREMAP_ENC = 8, + MEMREMAP_DEC = 16, +}; + +enum { + MIX_INFLIGHT = 2147483648, +}; + +enum { + MM_FILEPAGES = 0, + MM_ANONPAGES = 1, + MM_SWAPENTS = 2, + MM_SHMEMPAGES = 3, + NR_MM_COUNTERS = 4, +}; + +enum { + MT_UNCACHED = 4, + MT_CACHECLEAN = 5, + MT_MINICLEAN = 6, + MT_LOW_VECTORS = 7, + MT_HIGH_VECTORS = 8, + MT_MEMORY_RWX = 9, + MT_MEMORY_RW = 10, + MT_MEMORY_RO = 11, + MT_ROM = 12, + MT_MEMORY_RWX_NONCACHED = 13, + MT_MEMORY_RW_DTCM = 14, + MT_MEMORY_RWX_ITCM = 15, + MT_MEMORY_RW_SO = 16, + MT_MEMORY_DMA_READY = 17, +}; + +enum { + NAPIF_STATE_SCHED = 1, + NAPIF_STATE_MISSED = 2, + NAPIF_STATE_DISABLE = 4, + NAPIF_STATE_NPSVC = 8, + NAPIF_STATE_LISTED = 16, + NAPIF_STATE_NO_BUSY_POLL = 32, + NAPIF_STATE_IN_BUSY_POLL = 64, + NAPIF_STATE_PREFER_BUSY_POLL = 128, + NAPIF_STATE_THREADED = 256, + NAPIF_STATE_SCHED_THREADED = 512, +}; + +enum { + NAPI_F_PREFER_BUSY_POLL = 1, + NAPI_F_END_ON_RESCHED = 2, +}; + +enum { + NAPI_STATE_SCHED = 0, + NAPI_STATE_MISSED = 1, + NAPI_STATE_DISABLE = 2, + NAPI_STATE_NPSVC = 3, + NAPI_STATE_LISTED = 4, + NAPI_STATE_NO_BUSY_POLL = 5, + NAPI_STATE_IN_BUSY_POLL = 6, + NAPI_STATE_PREFER_BUSY_POLL = 7, + NAPI_STATE_THREADED = 8, + NAPI_STATE_SCHED_THREADED = 9, +}; + +enum { + NDA_UNSPEC = 0, + NDA_DST = 1, + NDA_LLADDR = 2, + NDA_CACHEINFO = 3, + NDA_PROBES = 4, + NDA_VLAN = 5, + NDA_PORT = 6, + NDA_VNI = 7, + NDA_IFINDEX = 8, + NDA_MASTER = 9, + NDA_LINK_NETNSID = 10, + NDA_SRC_VNI = 11, + NDA_PROTOCOL = 12, + NDA_NH_ID = 13, + NDA_FDB_EXT_ATTRS = 14, + NDA_FLAGS_EXT = 15, + NDA_NDM_STATE_MASK = 16, + NDA_NDM_FLAGS_MASK = 17, + __NDA_MAX = 18, +}; + +enum { + NDTA_UNSPEC = 0, + NDTA_NAME = 1, + NDTA_THRESH1 = 2, + NDTA_THRESH2 = 3, + NDTA_THRESH3 = 4, + NDTA_CONFIG = 5, + NDTA_PARMS = 6, + NDTA_STATS = 7, + NDTA_GC_INTERVAL = 8, + NDTA_PAD = 9, + __NDTA_MAX = 10, +}; + +enum { + NDTPA_UNSPEC = 0, + NDTPA_IFINDEX = 1, + NDTPA_REFCNT = 2, + NDTPA_REACHABLE_TIME = 3, + NDTPA_BASE_REACHABLE_TIME = 4, + NDTPA_RETRANS_TIME = 5, + NDTPA_GC_STALETIME = 6, + NDTPA_DELAY_PROBE_TIME = 7, + NDTPA_QUEUE_LEN = 8, + NDTPA_APP_PROBES = 9, + NDTPA_UCAST_PROBES = 10, + NDTPA_MCAST_PROBES = 11, + NDTPA_ANYCAST_DELAY = 12, + NDTPA_PROXY_DELAY = 13, + NDTPA_PROXY_QLEN = 14, + NDTPA_LOCKTIME = 15, + NDTPA_QUEUE_LENBYTES = 16, + NDTPA_MCAST_REPROBES = 17, + NDTPA_PAD = 18, + NDTPA_INTERVAL_PROBE_TIME_MS = 19, + __NDTPA_MAX = 20, +}; + +enum { + NDUSEROPT_UNSPEC = 0, + NDUSEROPT_SRCADDR = 1, + __NDUSEROPT_MAX = 2, +}; + +enum { + NEIGH_ARP_TABLE = 0, + NEIGH_ND_TABLE = 1, + NEIGH_NR_TABLES = 2, + NEIGH_LINK_TABLE = 2, +}; + +enum { + NEIGH_VAR_MCAST_PROBES = 0, + NEIGH_VAR_UCAST_PROBES = 1, + NEIGH_VAR_APP_PROBES = 2, + NEIGH_VAR_MCAST_REPROBES = 3, + NEIGH_VAR_RETRANS_TIME = 4, + NEIGH_VAR_BASE_REACHABLE_TIME = 5, + NEIGH_VAR_DELAY_PROBE_TIME = 6, + NEIGH_VAR_INTERVAL_PROBE_TIME_MS = 7, + NEIGH_VAR_GC_STALETIME = 8, + NEIGH_VAR_QUEUE_LEN_BYTES = 9, + NEIGH_VAR_PROXY_QLEN = 10, + NEIGH_VAR_ANYCAST_DELAY = 11, + NEIGH_VAR_PROXY_DELAY = 12, + NEIGH_VAR_LOCKTIME = 13, + NEIGH_VAR_QUEUE_LEN = 14, + NEIGH_VAR_RETRANS_TIME_MS = 15, + NEIGH_VAR_BASE_REACHABLE_TIME_MS = 16, + NEIGH_VAR_GC_INTERVAL = 17, + NEIGH_VAR_GC_THRESH1 = 18, + NEIGH_VAR_GC_THRESH2 = 19, + NEIGH_VAR_GC_THRESH3 = 20, + NEIGH_VAR_MAX = 21, +}; + +enum { + NESTED_SYNC_IMM_BIT = 0, + NESTED_SYNC_TODO_BIT = 1, +}; + +enum { + NETCONFA_UNSPEC = 0, + NETCONFA_IFINDEX = 1, + NETCONFA_FORWARDING = 2, + NETCONFA_RP_FILTER = 3, + NETCONFA_MC_FORWARDING = 4, + NETCONFA_PROXY_NEIGH = 5, + NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN = 6, + NETCONFA_INPUT = 7, + NETCONFA_BC_FORWARDING = 8, + __NETCONFA_MAX = 9, +}; + +enum { + NETDEV_A_DEV_IFINDEX = 1, + NETDEV_A_DEV_PAD = 2, + NETDEV_A_DEV_XDP_FEATURES = 3, + NETDEV_A_DEV_XDP_ZC_MAX_SEGS = 4, + NETDEV_A_DEV_XDP_RX_METADATA_FEATURES = 5, + NETDEV_A_DEV_XSK_FEATURES = 6, + __NETDEV_A_DEV_MAX = 7, + NETDEV_A_DEV_MAX = 6, +}; + +enum { + NETDEV_A_DMABUF_IFINDEX = 1, + NETDEV_A_DMABUF_QUEUES = 2, + NETDEV_A_DMABUF_FD = 3, + NETDEV_A_DMABUF_ID = 4, + __NETDEV_A_DMABUF_MAX = 5, + NETDEV_A_DMABUF_MAX = 4, +}; + +enum { + NETDEV_A_NAPI_IFINDEX = 1, + NETDEV_A_NAPI_ID = 2, + NETDEV_A_NAPI_IRQ = 3, + NETDEV_A_NAPI_PID = 4, + NETDEV_A_NAPI_DEFER_HARD_IRQS = 5, + NETDEV_A_NAPI_GRO_FLUSH_TIMEOUT = 6, + NETDEV_A_NAPI_IRQ_SUSPEND_TIMEOUT = 7, + __NETDEV_A_NAPI_MAX = 8, + NETDEV_A_NAPI_MAX = 7, +}; + +enum { + NETDEV_A_PAGE_POOL_ID = 1, + NETDEV_A_PAGE_POOL_IFINDEX = 2, + NETDEV_A_PAGE_POOL_NAPI_ID = 3, + NETDEV_A_PAGE_POOL_INFLIGHT = 4, + NETDEV_A_PAGE_POOL_INFLIGHT_MEM = 5, + NETDEV_A_PAGE_POOL_DETACH_TIME = 6, + NETDEV_A_PAGE_POOL_DMABUF = 7, + __NETDEV_A_PAGE_POOL_MAX = 8, + NETDEV_A_PAGE_POOL_MAX = 7, +}; + +enum { + NETDEV_A_PAGE_POOL_STATS_INFO = 1, + NETDEV_A_PAGE_POOL_STATS_ALLOC_FAST = 8, + NETDEV_A_PAGE_POOL_STATS_ALLOC_SLOW = 9, + NETDEV_A_PAGE_POOL_STATS_ALLOC_SLOW_HIGH_ORDER = 10, + NETDEV_A_PAGE_POOL_STATS_ALLOC_EMPTY = 11, + NETDEV_A_PAGE_POOL_STATS_ALLOC_REFILL = 12, + NETDEV_A_PAGE_POOL_STATS_ALLOC_WAIVE = 13, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_CACHED = 14, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_CACHE_FULL = 15, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RING = 16, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RING_FULL = 17, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RELEASED_REFCNT = 18, + __NETDEV_A_PAGE_POOL_STATS_MAX = 19, + NETDEV_A_PAGE_POOL_STATS_MAX = 18, +}; + +enum { + NETDEV_A_QSTATS_IFINDEX = 1, + NETDEV_A_QSTATS_QUEUE_TYPE = 2, + NETDEV_A_QSTATS_QUEUE_ID = 3, + NETDEV_A_QSTATS_SCOPE = 4, + NETDEV_A_QSTATS_RX_PACKETS = 8, + NETDEV_A_QSTATS_RX_BYTES = 9, + NETDEV_A_QSTATS_TX_PACKETS = 10, + NETDEV_A_QSTATS_TX_BYTES = 11, + NETDEV_A_QSTATS_RX_ALLOC_FAIL = 12, + NETDEV_A_QSTATS_RX_HW_DROPS = 13, + NETDEV_A_QSTATS_RX_HW_DROP_OVERRUNS = 14, + NETDEV_A_QSTATS_RX_CSUM_COMPLETE = 15, + NETDEV_A_QSTATS_RX_CSUM_UNNECESSARY = 16, + NETDEV_A_QSTATS_RX_CSUM_NONE = 17, + NETDEV_A_QSTATS_RX_CSUM_BAD = 18, + NETDEV_A_QSTATS_RX_HW_GRO_PACKETS = 19, + NETDEV_A_QSTATS_RX_HW_GRO_BYTES = 20, + NETDEV_A_QSTATS_RX_HW_GRO_WIRE_PACKETS = 21, + NETDEV_A_QSTATS_RX_HW_GRO_WIRE_BYTES = 22, + NETDEV_A_QSTATS_RX_HW_DROP_RATELIMITS = 23, + NETDEV_A_QSTATS_TX_HW_DROPS = 24, + NETDEV_A_QSTATS_TX_HW_DROP_ERRORS = 25, + NETDEV_A_QSTATS_TX_CSUM_NONE = 26, + NETDEV_A_QSTATS_TX_NEEDS_CSUM = 27, + NETDEV_A_QSTATS_TX_HW_GSO_PACKETS = 28, + NETDEV_A_QSTATS_TX_HW_GSO_BYTES = 29, + NETDEV_A_QSTATS_TX_HW_GSO_WIRE_PACKETS = 30, + NETDEV_A_QSTATS_TX_HW_GSO_WIRE_BYTES = 31, + NETDEV_A_QSTATS_TX_HW_DROP_RATELIMITS = 32, + NETDEV_A_QSTATS_TX_STOP = 33, + NETDEV_A_QSTATS_TX_WAKE = 34, + __NETDEV_A_QSTATS_MAX = 35, + NETDEV_A_QSTATS_MAX = 34, +}; + +enum { + NETDEV_A_QUEUE_ID = 1, + NETDEV_A_QUEUE_IFINDEX = 2, + NETDEV_A_QUEUE_TYPE = 3, + NETDEV_A_QUEUE_NAPI_ID = 4, + NETDEV_A_QUEUE_DMABUF = 5, + __NETDEV_A_QUEUE_MAX = 6, + NETDEV_A_QUEUE_MAX = 5, +}; + +enum { + NETDEV_CMD_DEV_GET = 1, + NETDEV_CMD_DEV_ADD_NTF = 2, + NETDEV_CMD_DEV_DEL_NTF = 3, + NETDEV_CMD_DEV_CHANGE_NTF = 4, + NETDEV_CMD_PAGE_POOL_GET = 5, + NETDEV_CMD_PAGE_POOL_ADD_NTF = 6, + NETDEV_CMD_PAGE_POOL_DEL_NTF = 7, + NETDEV_CMD_PAGE_POOL_CHANGE_NTF = 8, + NETDEV_CMD_PAGE_POOL_STATS_GET = 9, + NETDEV_CMD_QUEUE_GET = 10, + NETDEV_CMD_NAPI_GET = 11, + NETDEV_CMD_QSTATS_GET = 12, + NETDEV_CMD_BIND_RX = 13, + NETDEV_CMD_NAPI_SET = 14, + __NETDEV_CMD_MAX = 15, + NETDEV_CMD_MAX = 14, +}; + +enum { + NETDEV_NLGRP_MGMT = 0, + NETDEV_NLGRP_PAGE_POOL = 1, +}; + +enum { + NETIF_F_SG_BIT = 0, + NETIF_F_IP_CSUM_BIT = 1, + __UNUSED_NETIF_F_1 = 2, + NETIF_F_HW_CSUM_BIT = 3, + NETIF_F_IPV6_CSUM_BIT = 4, + NETIF_F_HIGHDMA_BIT = 5, + NETIF_F_FRAGLIST_BIT = 6, + NETIF_F_HW_VLAN_CTAG_TX_BIT = 7, + NETIF_F_HW_VLAN_CTAG_RX_BIT = 8, + NETIF_F_HW_VLAN_CTAG_FILTER_BIT = 9, + NETIF_F_VLAN_CHALLENGED_BIT = 10, + NETIF_F_GSO_BIT = 11, + __UNUSED_NETIF_F_12 = 12, + __UNUSED_NETIF_F_13 = 13, + NETIF_F_GRO_BIT = 14, + NETIF_F_LRO_BIT = 15, + NETIF_F_GSO_SHIFT = 16, + NETIF_F_TSO_BIT = 16, + NETIF_F_GSO_ROBUST_BIT = 17, + NETIF_F_TSO_ECN_BIT = 18, + NETIF_F_TSO_MANGLEID_BIT = 19, + NETIF_F_TSO6_BIT = 20, + NETIF_F_FSO_BIT = 21, + NETIF_F_GSO_GRE_BIT = 22, + NETIF_F_GSO_GRE_CSUM_BIT = 23, + NETIF_F_GSO_IPXIP4_BIT = 24, + NETIF_F_GSO_IPXIP6_BIT = 25, + NETIF_F_GSO_UDP_TUNNEL_BIT = 26, + NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT = 27, + NETIF_F_GSO_PARTIAL_BIT = 28, + NETIF_F_GSO_TUNNEL_REMCSUM_BIT = 29, + NETIF_F_GSO_SCTP_BIT = 30, + NETIF_F_GSO_ESP_BIT = 31, + NETIF_F_GSO_UDP_BIT = 32, + NETIF_F_GSO_UDP_L4_BIT = 33, + NETIF_F_GSO_FRAGLIST_BIT = 34, + NETIF_F_GSO_LAST = 34, + NETIF_F_FCOE_CRC_BIT = 35, + NETIF_F_SCTP_CRC_BIT = 36, + __UNUSED_NETIF_F_37 = 37, + NETIF_F_NTUPLE_BIT = 38, + NETIF_F_RXHASH_BIT = 39, + NETIF_F_RXCSUM_BIT = 40, + NETIF_F_NOCACHE_COPY_BIT = 41, + NETIF_F_LOOPBACK_BIT = 42, + NETIF_F_RXFCS_BIT = 43, + NETIF_F_RXALL_BIT = 44, + NETIF_F_HW_VLAN_STAG_TX_BIT = 45, + NETIF_F_HW_VLAN_STAG_RX_BIT = 46, + NETIF_F_HW_VLAN_STAG_FILTER_BIT = 47, + NETIF_F_HW_L2FW_DOFFLOAD_BIT = 48, + NETIF_F_HW_TC_BIT = 49, + NETIF_F_HW_ESP_BIT = 50, + NETIF_F_HW_ESP_TX_CSUM_BIT = 51, + NETIF_F_RX_UDP_TUNNEL_PORT_BIT = 52, + NETIF_F_HW_TLS_TX_BIT = 53, + NETIF_F_HW_TLS_RX_BIT = 54, + NETIF_F_GRO_HW_BIT = 55, + NETIF_F_HW_TLS_RECORD_BIT = 56, + NETIF_F_GRO_FRAGLIST_BIT = 57, + NETIF_F_HW_MACSEC_BIT = 58, + NETIF_F_GRO_UDP_FWD_BIT = 59, + NETIF_F_HW_HSR_TAG_INS_BIT = 60, + NETIF_F_HW_HSR_TAG_RM_BIT = 61, + NETIF_F_HW_HSR_FWD_BIT = 62, + NETIF_F_HW_HSR_DUP_BIT = 63, + NETDEV_FEATURE_COUNT = 64, +}; + +enum { + NETIF_MSG_DRV_BIT = 0, + NETIF_MSG_PROBE_BIT = 1, + NETIF_MSG_LINK_BIT = 2, + NETIF_MSG_TIMER_BIT = 3, + NETIF_MSG_IFDOWN_BIT = 4, + NETIF_MSG_IFUP_BIT = 5, + NETIF_MSG_RX_ERR_BIT = 6, + NETIF_MSG_TX_ERR_BIT = 7, + NETIF_MSG_TX_QUEUED_BIT = 8, + NETIF_MSG_INTR_BIT = 9, + NETIF_MSG_TX_DONE_BIT = 10, + NETIF_MSG_RX_STATUS_BIT = 11, + NETIF_MSG_PKTDATA_BIT = 12, + NETIF_MSG_HW_BIT = 13, + NETIF_MSG_WOL_BIT = 14, + NETIF_MSG_CLASS_COUNT = 15, +}; + +enum { + NETLINK_F_KERNEL_SOCKET = 0, + NETLINK_F_RECV_PKTINFO = 1, + NETLINK_F_BROADCAST_SEND_ERROR = 2, + NETLINK_F_RECV_NO_ENOBUFS = 3, + NETLINK_F_LISTEN_ALL_NSID = 4, + NETLINK_F_CAP_ACK = 5, + NETLINK_F_EXT_ACK = 6, + NETLINK_F_STRICT_CHK = 7, +}; + +enum { + NETLINK_UNCONNECTED = 0, + NETLINK_CONNECTED = 1, +}; + +enum { + NETNSA_NONE = 0, + NETNSA_NSID = 1, + NETNSA_PID = 2, + NETNSA_FD = 3, + NETNSA_TARGET_NSID = 4, + NETNSA_CURRENT_NSID = 5, + __NETNSA_MAX = 6, +}; + +enum { + NET_NS_INDEX = 0, + UTS_NS_INDEX = 1, + IPC_NS_INDEX = 2, + PID_NS_INDEX = 3, + USER_NS_INDEX = 4, + MNT_NS_INDEX = 5, + CGROUP_NS_INDEX = 6, + NR_NAMESPACES = 7, +}; + +enum { + NEXTHOP_GRP_TYPE_MPATH = 0, + NEXTHOP_GRP_TYPE_RES = 1, + __NEXTHOP_GRP_TYPE_MAX = 2, +}; + +enum { + NFPROTO_UNSPEC = 0, + NFPROTO_INET = 1, + NFPROTO_IPV4 = 2, + NFPROTO_ARP = 3, + NFPROTO_NETDEV = 5, + NFPROTO_BRIDGE = 7, + NFPROTO_IPV6 = 10, + NFPROTO_NUMPROTO = 11, +}; + +enum { + NHA_GROUP_STATS_ENTRY_UNSPEC = 0, + NHA_GROUP_STATS_ENTRY_ID = 1, + NHA_GROUP_STATS_ENTRY_PACKETS = 2, + NHA_GROUP_STATS_ENTRY_PACKETS_HW = 3, + __NHA_GROUP_STATS_ENTRY_MAX = 4, +}; + +enum { + NHA_GROUP_STATS_UNSPEC = 0, + NHA_GROUP_STATS_ENTRY = 1, + __NHA_GROUP_STATS_MAX = 2, +}; + +enum { + NHA_RES_BUCKET_UNSPEC = 0, + NHA_RES_BUCKET_PAD = 0, + NHA_RES_BUCKET_INDEX = 1, + NHA_RES_BUCKET_IDLE_TIME = 2, + NHA_RES_BUCKET_NH_ID = 3, + __NHA_RES_BUCKET_MAX = 4, +}; + +enum { + NHA_RES_GROUP_UNSPEC = 0, + NHA_RES_GROUP_PAD = 0, + NHA_RES_GROUP_BUCKETS = 1, + NHA_RES_GROUP_IDLE_TIMER = 2, + NHA_RES_GROUP_UNBALANCED_TIMER = 3, + NHA_RES_GROUP_UNBALANCED_TIME = 4, + __NHA_RES_GROUP_MAX = 5, +}; + +enum { + NHA_UNSPEC = 0, + NHA_ID = 1, + NHA_GROUP = 2, + NHA_GROUP_TYPE = 3, + NHA_BLACKHOLE = 4, + NHA_OIF = 5, + NHA_GATEWAY = 6, + NHA_ENCAP_TYPE = 7, + NHA_ENCAP = 8, + NHA_GROUPS = 9, + NHA_MASTER = 10, + NHA_FDB = 11, + NHA_RES_GROUP = 12, + NHA_RES_BUCKET = 13, + NHA_OP_FLAGS = 14, + NHA_GROUP_STATS = 15, + NHA_HW_STATS_ENABLE = 16, + NHA_HW_STATS_USED = 17, + __NHA_MAX = 18, +}; + +enum { + NLA_UNSPEC = 0, + NLA_U8 = 1, + NLA_U16 = 2, + NLA_U32 = 3, + NLA_U64 = 4, + NLA_STRING = 5, + NLA_FLAG = 6, + NLA_MSECS = 7, + NLA_NESTED = 8, + NLA_NESTED_ARRAY = 9, + NLA_NUL_STRING = 10, + NLA_BINARY = 11, + NLA_S8 = 12, + NLA_S16 = 13, + NLA_S32 = 14, + NLA_S64 = 15, + NLA_BITFIELD32 = 16, + NLA_REJECT = 17, + NLA_BE16 = 18, + NLA_BE32 = 19, + NLA_SINT = 20, + NLA_UINT = 21, + __NLA_TYPE_MAX = 22, +}; + +enum { + NUM_TRIAL_SAMPLES = 8192, + MAX_SAMPLES_PER_BIT = 6, +}; + +enum { + OPT_UID = 0, + OPT_GID = 1, + OPT_MODE = 2, + OPT_DELEGATE_CMDS = 3, + OPT_DELEGATE_MAPS = 4, + OPT_DELEGATE_PROGS = 5, + OPT_DELEGATE_ATTACHS = 6, +}; + +enum { + Opt_uid = 0, + Opt_gid = 1, + Opt_mode = 2, +}; + +enum { + PAGE_WAS_MAPPED = 1, + PAGE_WAS_MLOCKED = 2, + PAGE_OLD_STATES = 3, +}; + +enum { + PERCPU_REF_INIT_ATOMIC = 1, + PERCPU_REF_INIT_DEAD = 2, + PERCPU_REF_ALLOW_REINIT = 4, +}; + +enum { + PER_LINUX = 0, + PER_LINUX_32BIT = 8388608, + PER_LINUX_FDPIC = 524288, + PER_SVR4 = 68157441, + PER_SVR3 = 83886082, + PER_SCOSVR3 = 117440515, + PER_OSR5 = 100663299, + PER_WYSEV386 = 83886084, + PER_ISCR4 = 67108869, + PER_BSD = 6, + PER_SUNOS = 67108870, + PER_XENIX = 83886087, + PER_LINUX32 = 8, + PER_LINUX32_3GB = 134217736, + PER_IRIX32 = 67108873, + PER_IRIXN32 = 67108874, + PER_IRIX64 = 67108875, + PER_RISCOS = 12, + PER_SOLARIS = 67108877, + PER_UW7 = 68157454, + PER_OSF4 = 15, + PER_HPUX = 16, + PER_MASK = 255, +}; + +enum { + POOL_BITS = 256, + POOL_READY_BITS = 256, + POOL_EARLY_BITS = 128, +}; + +enum { + PREFIX_UNSPEC = 0, + PREFIX_ADDRESS = 1, + PREFIX_CACHEINFO = 2, + __PREFIX_MAX = 3, +}; + +enum { + PROC_ROOT_INO = 1, + PROC_IPC_INIT_INO = 4026531839, + PROC_UTS_INIT_INO = 4026531838, + PROC_USER_INIT_INO = 4026531837, + PROC_PID_INIT_INO = 4026531836, + PROC_CGROUP_INIT_INO = 4026531835, + PROC_TIME_INIT_INO = 4026531834, +}; + +enum { + RADIX_TREE_ITER_TAG_MASK = 15, + RADIX_TREE_ITER_TAGGED = 16, + RADIX_TREE_ITER_CONTIG = 32, +}; + +enum { + RB_ADD_STAMP_NONE = 0, + RB_ADD_STAMP_EXTEND = 2, + RB_ADD_STAMP_ABSOLUTE = 4, + RB_ADD_STAMP_FORCE = 8, +}; + +enum { + RB_CTX_TRANSITION = 0, + RB_CTX_NMI = 1, + RB_CTX_IRQ = 2, + RB_CTX_SOFTIRQ = 3, + RB_CTX_NORMAL = 4, + RB_CTX_MAX = 5, +}; + +enum { + RB_LEN_TIME_EXTEND = 8, + RB_LEN_TIME_STAMP = 8, +}; + +enum { + REASON_BOUNDS = -1, + REASON_TYPE = -2, + REASON_PATHS = -3, + REASON_LIMIT = -4, + REASON_STACK = -5, +}; + +enum { + REGION_INTERSECTS = 0, + REGION_DISJOINT = 1, + REGION_MIXED = 2, +}; + +enum { + REQ_F_FIXED_FILE_BIT = 0, + REQ_F_IO_DRAIN_BIT = 1, + REQ_F_LINK_BIT = 2, + REQ_F_HARDLINK_BIT = 3, + REQ_F_FORCE_ASYNC_BIT = 4, + REQ_F_BUFFER_SELECT_BIT = 5, + REQ_F_CQE_SKIP_BIT = 6, + REQ_F_FAIL_BIT = 8, + REQ_F_INFLIGHT_BIT = 9, + REQ_F_CUR_POS_BIT = 10, + REQ_F_NOWAIT_BIT = 11, + REQ_F_LINK_TIMEOUT_BIT = 12, + REQ_F_NEED_CLEANUP_BIT = 13, + REQ_F_POLLED_BIT = 14, + REQ_F_HYBRID_IOPOLL_STATE_BIT = 15, + REQ_F_BUFFER_SELECTED_BIT = 16, + REQ_F_BUFFER_RING_BIT = 17, + REQ_F_REISSUE_BIT = 18, + REQ_F_CREDS_BIT = 19, + REQ_F_REFCOUNT_BIT = 20, + REQ_F_ARM_LTIMEOUT_BIT = 21, + REQ_F_ASYNC_DATA_BIT = 22, + REQ_F_SKIP_LINK_CQES_BIT = 23, + REQ_F_SINGLE_POLL_BIT = 24, + REQ_F_DOUBLE_POLL_BIT = 25, + REQ_F_APOLL_MULTISHOT_BIT = 26, + REQ_F_CLEAR_POLLIN_BIT = 27, + REQ_F_SUPPORT_NOWAIT_BIT = 28, + REQ_F_ISREG_BIT = 29, + REQ_F_POLL_NO_LAZY_BIT = 30, + REQ_F_CAN_POLL_BIT = 31, + REQ_F_BL_EMPTY_BIT = 32, + REQ_F_BL_NO_RECYCLE_BIT = 33, + REQ_F_BUFFERS_COMMIT_BIT = 34, + REQ_F_BUF_NODE_BIT = 35, + REQ_F_HAS_METADATA_BIT = 36, + __REQ_F_LAST_BIT = 37, +}; + +enum { + RTAX_UNSPEC = 0, + RTAX_LOCK = 1, + RTAX_MTU = 2, + RTAX_WINDOW = 3, + RTAX_RTT = 4, + RTAX_RTTVAR = 5, + RTAX_SSTHRESH = 6, + RTAX_CWND = 7, + RTAX_ADVMSS = 8, + RTAX_REORDERING = 9, + RTAX_HOPLIMIT = 10, + RTAX_INITCWND = 11, + RTAX_FEATURES = 12, + RTAX_RTO_MIN = 13, + RTAX_INITRWND = 14, + RTAX_QUICKACK = 15, + RTAX_CC_ALGO = 16, + RTAX_FASTOPEN_NO_COOKIE = 17, + __RTAX_MAX = 18, +}; + +enum { + RTM_BASE = 16, + RTM_NEWLINK = 16, + RTM_DELLINK = 17, + RTM_GETLINK = 18, + RTM_SETLINK = 19, + RTM_NEWADDR = 20, + RTM_DELADDR = 21, + RTM_GETADDR = 22, + RTM_NEWROUTE = 24, + RTM_DELROUTE = 25, + RTM_GETROUTE = 26, + RTM_NEWNEIGH = 28, + RTM_DELNEIGH = 29, + RTM_GETNEIGH = 30, + RTM_NEWRULE = 32, + RTM_DELRULE = 33, + RTM_GETRULE = 34, + RTM_NEWQDISC = 36, + RTM_DELQDISC = 37, + RTM_GETQDISC = 38, + RTM_NEWTCLASS = 40, + RTM_DELTCLASS = 41, + RTM_GETTCLASS = 42, + RTM_NEWTFILTER = 44, + RTM_DELTFILTER = 45, + RTM_GETTFILTER = 46, + RTM_NEWACTION = 48, + RTM_DELACTION = 49, + RTM_GETACTION = 50, + RTM_NEWPREFIX = 52, + RTM_NEWMULTICAST = 56, + RTM_DELMULTICAST = 57, + RTM_GETMULTICAST = 58, + RTM_NEWANYCAST = 60, + RTM_DELANYCAST = 61, + RTM_GETANYCAST = 62, + RTM_NEWNEIGHTBL = 64, + RTM_GETNEIGHTBL = 66, + RTM_SETNEIGHTBL = 67, + RTM_NEWNDUSEROPT = 68, + RTM_NEWADDRLABEL = 72, + RTM_DELADDRLABEL = 73, + RTM_GETADDRLABEL = 74, + RTM_GETDCB = 78, + RTM_SETDCB = 79, + RTM_NEWNETCONF = 80, + RTM_DELNETCONF = 81, + RTM_GETNETCONF = 82, + RTM_NEWMDB = 84, + RTM_DELMDB = 85, + RTM_GETMDB = 86, + RTM_NEWNSID = 88, + RTM_DELNSID = 89, + RTM_GETNSID = 90, + RTM_NEWSTATS = 92, + RTM_GETSTATS = 94, + RTM_SETSTATS = 95, + RTM_NEWCACHEREPORT = 96, + RTM_NEWCHAIN = 100, + RTM_DELCHAIN = 101, + RTM_GETCHAIN = 102, + RTM_NEWNEXTHOP = 104, + RTM_DELNEXTHOP = 105, + RTM_GETNEXTHOP = 106, + RTM_NEWLINKPROP = 108, + RTM_DELLINKPROP = 109, + RTM_GETLINKPROP = 110, + RTM_NEWVLAN = 112, + RTM_DELVLAN = 113, + RTM_GETVLAN = 114, + RTM_NEWNEXTHOPBUCKET = 116, + RTM_DELNEXTHOPBUCKET = 117, + RTM_GETNEXTHOPBUCKET = 118, + RTM_NEWTUNNEL = 120, + RTM_DELTUNNEL = 121, + RTM_GETTUNNEL = 122, + __RTM_MAX = 123, +}; + +enum { + RTN_UNSPEC = 0, + RTN_UNICAST = 1, + RTN_LOCAL = 2, + RTN_BROADCAST = 3, + RTN_ANYCAST = 4, + RTN_MULTICAST = 5, + RTN_BLACKHOLE = 6, + RTN_UNREACHABLE = 7, + RTN_PROHIBIT = 8, + RTN_THROW = 9, + RTN_NAT = 10, + RTN_XRESOLVE = 11, + __RTN_MAX = 12, +}; + +enum { + Root_NFS = 255, + Root_CIFS = 254, + Root_Generic = 253, + Root_RAM0 = 1048576, +}; + +enum { + SB_UNFROZEN = 0, + SB_FREEZE_WRITE = 1, + SB_FREEZE_PAGEFAULT = 2, + SB_FREEZE_FS = 3, + SB_FREEZE_COMPLETE = 4, +}; + +enum { + SCM_TSTAMP_SND = 0, + SCM_TSTAMP_SCHED = 1, + SCM_TSTAMP_ACK = 2, +}; + +enum { + SEG6_ATTR_UNSPEC = 0, + SEG6_ATTR_DST = 1, + SEG6_ATTR_DSTLEN = 2, + SEG6_ATTR_HMACKEYID = 3, + SEG6_ATTR_SECRET = 4, + SEG6_ATTR_SECRETLEN = 5, + SEG6_ATTR_ALGID = 6, + SEG6_ATTR_HMACINFO = 7, + __SEG6_ATTR_MAX = 8, +}; + +enum { + SEG6_CMD_UNSPEC = 0, + SEG6_CMD_SETHMAC = 1, + SEG6_CMD_DUMPHMAC = 2, + SEG6_CMD_SET_TUNSRC = 3, + SEG6_CMD_GET_TUNSRC = 4, + __SEG6_CMD_MAX = 5, +}; + +enum { + SFF8024_ID_UNK = 0, + SFF8024_ID_SFF_8472 = 2, + SFF8024_ID_SFP = 3, + SFF8024_ID_DWDM_SFP = 11, + SFF8024_ID_QSFP_8438 = 12, + SFF8024_ID_QSFP_8436_8636 = 13, + SFF8024_ID_QSFP28_8636 = 17, + SFF8024_ID_QSFP_DD = 24, + SFF8024_ID_OSFP = 25, + SFF8024_ID_DSFP = 27, + SFF8024_ID_QSFP_PLUS_CMIS = 30, + SFF8024_ID_SFP_DD_CMIS = 31, + SFF8024_ID_SFP_PLUS_CMIS = 32, + SFF8024_ENCODING_UNSPEC = 0, + SFF8024_ENCODING_8B10B = 1, + SFF8024_ENCODING_4B5B = 2, + SFF8024_ENCODING_NRZ = 3, + SFF8024_ENCODING_8472_MANCHESTER = 4, + SFF8024_ENCODING_8472_SONET = 5, + SFF8024_ENCODING_8472_64B66B = 6, + SFF8024_ENCODING_8436_MANCHESTER = 6, + SFF8024_ENCODING_8436_SONET = 4, + SFF8024_ENCODING_8436_64B66B = 5, + SFF8024_ENCODING_256B257B = 7, + SFF8024_ENCODING_PAM4 = 8, + SFF8024_CONNECTOR_UNSPEC = 0, + SFF8024_CONNECTOR_SC = 1, + SFF8024_CONNECTOR_FIBERJACK = 6, + SFF8024_CONNECTOR_LC = 7, + SFF8024_CONNECTOR_MT_RJ = 8, + SFF8024_CONNECTOR_MU = 9, + SFF8024_CONNECTOR_SG = 10, + SFF8024_CONNECTOR_OPTICAL_PIGTAIL = 11, + SFF8024_CONNECTOR_MPO_1X12 = 12, + SFF8024_CONNECTOR_MPO_2X16 = 13, + SFF8024_CONNECTOR_HSSDC_II = 32, + SFF8024_CONNECTOR_COPPER_PIGTAIL = 33, + SFF8024_CONNECTOR_RJ45 = 34, + SFF8024_CONNECTOR_NOSEPARATE = 35, + SFF8024_CONNECTOR_MXC_2X16 = 36, + SFF8024_ECC_UNSPEC = 0, + SFF8024_ECC_100G_25GAUI_C2M_AOC = 1, + SFF8024_ECC_100GBASE_SR4_25GBASE_SR = 2, + SFF8024_ECC_100GBASE_LR4_25GBASE_LR = 3, + SFF8024_ECC_100GBASE_ER4_25GBASE_ER = 4, + SFF8024_ECC_100GBASE_SR10 = 5, + SFF8024_ECC_100GBASE_CR4 = 11, + SFF8024_ECC_25GBASE_CR_S = 12, + SFF8024_ECC_25GBASE_CR_N = 13, + SFF8024_ECC_10GBASE_T_SFI = 22, + SFF8024_ECC_10GBASE_T_SR = 28, + SFF8024_ECC_5GBASE_T = 29, + SFF8024_ECC_2_5GBASE_T = 30, +}; + +enum { + SFP_PHYS_ID = 0, + SFP_PHYS_EXT_ID = 1, + SFP_PHYS_EXT_ID_SFP = 4, + SFP_CONNECTOR = 2, + SFP_COMPLIANCE = 3, + SFP_ENCODING = 11, + SFP_BR_NOMINAL = 12, + SFP_RATE_ID = 13, + SFF_RID_8079 = 1, + SFF_RID_8431_RX_ONLY = 2, + SFF_RID_8431_TX_ONLY = 4, + SFF_RID_8431 = 6, + SFF_RID_10G8G = 14, + SFP_LINK_LEN_SM_KM = 14, + SFP_LINK_LEN_SM_100M = 15, + SFP_LINK_LEN_50UM_OM2_10M = 16, + SFP_LINK_LEN_62_5UM_OM1_10M = 17, + SFP_LINK_LEN_COPPER_1M = 18, + SFP_LINK_LEN_50UM_OM4_10M = 18, + SFP_LINK_LEN_50UM_OM3_10M = 19, + SFP_VENDOR_NAME = 20, + SFP_VENDOR_OUI = 37, + SFP_VENDOR_PN = 40, + SFP_VENDOR_REV = 56, + SFP_OPTICAL_WAVELENGTH_MSB = 60, + SFP_OPTICAL_WAVELENGTH_LSB = 61, + SFP_CABLE_SPEC = 60, + SFP_CC_BASE = 63, + SFP_OPTIONS = 64, + SFP_OPTIONS_HIGH_POWER_LEVEL = 8192, + SFP_OPTIONS_PAGING_A2 = 4096, + SFP_OPTIONS_RETIMER = 2048, + SFP_OPTIONS_COOLED_XCVR = 1024, + SFP_OPTIONS_POWER_DECL = 512, + SFP_OPTIONS_RX_LINEAR_OUT = 256, + SFP_OPTIONS_RX_DECISION_THRESH = 128, + SFP_OPTIONS_TUNABLE_TX = 64, + SFP_OPTIONS_RATE_SELECT = 32, + SFP_OPTIONS_TX_DISABLE = 16, + SFP_OPTIONS_TX_FAULT = 8, + SFP_OPTIONS_LOS_INVERTED = 4, + SFP_OPTIONS_LOS_NORMAL = 2, + SFP_BR_MAX = 66, + SFP_BR_MIN = 67, + SFP_VENDOR_SN = 68, + SFP_DATECODE = 84, + SFP_DIAGMON = 92, + SFP_DIAGMON_DDM = 64, + SFP_DIAGMON_INT_CAL = 32, + SFP_DIAGMON_EXT_CAL = 16, + SFP_DIAGMON_RXPWR_AVG = 8, + SFP_DIAGMON_ADDRMODE = 4, + SFP_ENHOPTS = 93, + SFP_ENHOPTS_ALARMWARN = 128, + SFP_ENHOPTS_SOFT_TX_DISABLE = 64, + SFP_ENHOPTS_SOFT_TX_FAULT = 32, + SFP_ENHOPTS_SOFT_RX_LOS = 16, + SFP_ENHOPTS_SOFT_RATE_SELECT = 8, + SFP_ENHOPTS_APP_SELECT_SFF8079 = 4, + SFP_ENHOPTS_SOFT_RATE_SFF8431 = 2, + SFP_SFF8472_COMPLIANCE = 94, + SFP_SFF8472_COMPLIANCE_NONE = 0, + SFP_SFF8472_COMPLIANCE_REV9_3 = 1, + SFP_SFF8472_COMPLIANCE_REV9_5 = 2, + SFP_SFF8472_COMPLIANCE_REV10_2 = 3, + SFP_SFF8472_COMPLIANCE_REV10_4 = 4, + SFP_SFF8472_COMPLIANCE_REV11_0 = 5, + SFP_SFF8472_COMPLIANCE_REV11_3 = 6, + SFP_SFF8472_COMPLIANCE_REV11_4 = 7, + SFP_SFF8472_COMPLIANCE_REV12_0 = 8, + SFP_CC_EXT = 95, +}; + +enum { + SKBFL_ZEROCOPY_ENABLE = 1, + SKBFL_SHARED_FRAG = 2, + SKBFL_PURE_ZEROCOPY = 4, + SKBFL_DONT_ORPHAN = 8, + SKBFL_MANAGED_FRAG_REFS = 16, +}; + +enum { + SKBTX_HW_TSTAMP = 1, + SKBTX_SW_TSTAMP = 2, + SKBTX_IN_PROGRESS = 4, + SKBTX_HW_TSTAMP_USE_CYCLES = 8, + SKBTX_WIFI_STATUS = 16, + SKBTX_HW_TSTAMP_NETDEV = 32, + SKBTX_SCHED_TSTAMP = 64, +}; + +enum { + SKB_FCLONE_UNAVAILABLE = 0, + SKB_FCLONE_ORIG = 1, + SKB_FCLONE_CLONE = 2, +}; + +enum { + SKB_GSO_TCPV4 = 1, + SKB_GSO_DODGY = 2, + SKB_GSO_TCP_ECN = 4, + SKB_GSO_TCP_FIXEDID = 8, + SKB_GSO_TCPV6 = 16, + SKB_GSO_FCOE = 32, + SKB_GSO_GRE = 64, + SKB_GSO_GRE_CSUM = 128, + SKB_GSO_IPXIP4 = 256, + SKB_GSO_IPXIP6 = 512, + SKB_GSO_UDP_TUNNEL = 1024, + SKB_GSO_UDP_TUNNEL_CSUM = 2048, + SKB_GSO_PARTIAL = 4096, + SKB_GSO_TUNNEL_REMCSUM = 8192, + SKB_GSO_SCTP = 16384, + SKB_GSO_ESP = 32768, + SKB_GSO_UDP = 65536, + SKB_GSO_UDP_L4 = 131072, + SKB_GSO_FRAGLIST = 262144, +}; + +enum { + SK_DIAG_BPF_STORAGE_NONE = 0, + SK_DIAG_BPF_STORAGE_PAD = 1, + SK_DIAG_BPF_STORAGE_MAP_ID = 2, + SK_DIAG_BPF_STORAGE_MAP_VALUE = 3, + __SK_DIAG_BPF_STORAGE_MAX = 4, +}; + +enum { + SK_DIAG_BPF_STORAGE_REP_NONE = 0, + SK_DIAG_BPF_STORAGE = 1, + __SK_DIAG_BPF_STORAGE_REP_MAX = 2, +}; + +enum { + SK_DIAG_BPF_STORAGE_REQ_NONE = 0, + SK_DIAG_BPF_STORAGE_REQ_MAP_FD = 1, + __SK_DIAG_BPF_STORAGE_REQ_MAX = 2, +}; + +enum { + SK_MEMINFO_RMEM_ALLOC = 0, + SK_MEMINFO_RCVBUF = 1, + SK_MEMINFO_WMEM_ALLOC = 2, + SK_MEMINFO_SNDBUF = 3, + SK_MEMINFO_FWD_ALLOC = 4, + SK_MEMINFO_WMEM_QUEUED = 5, + SK_MEMINFO_OPTMEM = 6, + SK_MEMINFO_BACKLOG = 7, + SK_MEMINFO_DROPS = 8, + SK_MEMINFO_VARS = 9, +}; + +enum { + SOCK_WAKE_IO = 0, + SOCK_WAKE_WAITD = 1, + SOCK_WAKE_SPACE = 2, + SOCK_WAKE_URG = 3, +}; + +enum { + SOF_TIMESTAMPING_TX_HARDWARE = 1, + SOF_TIMESTAMPING_TX_SOFTWARE = 2, + SOF_TIMESTAMPING_RX_HARDWARE = 4, + SOF_TIMESTAMPING_RX_SOFTWARE = 8, + SOF_TIMESTAMPING_SOFTWARE = 16, + SOF_TIMESTAMPING_SYS_HARDWARE = 32, + SOF_TIMESTAMPING_RAW_HARDWARE = 64, + SOF_TIMESTAMPING_OPT_ID = 128, + SOF_TIMESTAMPING_TX_SCHED = 256, + SOF_TIMESTAMPING_TX_ACK = 512, + SOF_TIMESTAMPING_OPT_CMSG = 1024, + SOF_TIMESTAMPING_OPT_TSONLY = 2048, + SOF_TIMESTAMPING_OPT_STATS = 4096, + SOF_TIMESTAMPING_OPT_PKTINFO = 8192, + SOF_TIMESTAMPING_OPT_TX_SWHW = 16384, + SOF_TIMESTAMPING_BIND_PHC = 32768, + SOF_TIMESTAMPING_OPT_ID_TCP = 65536, + SOF_TIMESTAMPING_OPT_RX_FILTER = 131072, + SOF_TIMESTAMPING_LAST = 131072, + SOF_TIMESTAMPING_MASK = 262143, +}; + +enum { + SPECTRE_UNAFFECTED = 0, + SPECTRE_MITIGATED = 1, + SPECTRE_VULNERABLE = 2, +}; + +enum { + SPECTRE_V2_METHOD_BPIALL = 1, + SPECTRE_V2_METHOD_ICIALLU = 2, + SPECTRE_V2_METHOD_SMC = 4, + SPECTRE_V2_METHOD_HVC = 8, + SPECTRE_V2_METHOD_LOOP8 = 16, +}; + +enum { + STACK_USE_NONE = 0, + STACK_USE_UNKNOWN = 1, + STACK_USE_FIXED_0XX = 2, + STACK_USE_T32STRD = 3, + STACK_USE_FIXED_XXX = 4, + STACK_USE_STMDX = 5, + NUM_STACK_USE_TYPES = 6, +}; + +enum { + SWP_USED = 1, + SWP_WRITEOK = 2, + SWP_DISCARDABLE = 4, + SWP_DISCARDING = 8, + SWP_SOLIDSTATE = 16, + SWP_CONTINUED = 32, + SWP_BLKDEV = 64, + SWP_ACTIVATED = 128, + SWP_FS_OPS = 256, + SWP_AREA_DISCARD = 512, + SWP_PAGE_DISCARD = 1024, + SWP_STABLE_WRITES = 2048, + SWP_SYNCHRONOUS_IO = 4096, +}; + +enum { + TASKLET_STATE_SCHED = 0, + TASKLET_STATE_RUN = 1, +}; + +enum { + TASK_COMM_LEN = 16, +}; + +enum { + TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT = 1, + TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST = 2, + TCA_FLOWER_KEY_FLAGS_TUNNEL_CSUM = 4, + TCA_FLOWER_KEY_FLAGS_TUNNEL_DONT_FRAGMENT = 8, + TCA_FLOWER_KEY_FLAGS_TUNNEL_OAM = 16, + TCA_FLOWER_KEY_FLAGS_TUNNEL_CRIT_OPT = 32, + __TCA_FLOWER_KEY_FLAGS_MAX = 33, +}; + +enum { + TCA_STATS_UNSPEC = 0, + TCA_STATS_BASIC = 1, + TCA_STATS_RATE_EST = 2, + TCA_STATS_QUEUE = 3, + TCA_STATS_APP = 4, + TCA_STATS_RATE_EST64 = 5, + TCA_STATS_PAD = 6, + TCA_STATS_BASIC_HW = 7, + TCA_STATS_PKT64 = 8, + __TCA_STATS_MAX = 9, +}; + +enum { + TCA_UNSPEC = 0, + TCA_KIND = 1, + TCA_OPTIONS = 2, + TCA_STATS = 3, + TCA_XSTATS = 4, + TCA_RATE = 5, + TCA_FCNT = 6, + TCA_STATS2 = 7, + TCA_STAB = 8, + TCA_PAD = 9, + TCA_DUMP_INVISIBLE = 10, + TCA_CHAIN = 11, + TCA_HW_OFFLOAD = 12, + TCA_INGRESS_BLOCK = 13, + TCA_EGRESS_BLOCK = 14, + TCA_DUMP_FLAGS = 15, + TCA_EXT_WARN_MSG = 16, + __TCA_MAX = 17, +}; + +enum { + TCPF_ESTABLISHED = 2, + TCPF_SYN_SENT = 4, + TCPF_SYN_RECV = 8, + TCPF_FIN_WAIT1 = 16, + TCPF_FIN_WAIT2 = 32, + TCPF_TIME_WAIT = 64, + TCPF_CLOSE = 128, + TCPF_CLOSE_WAIT = 256, + TCPF_LAST_ACK = 512, + TCPF_LISTEN = 1024, + TCPF_CLOSING = 2048, + TCPF_NEW_SYN_RECV = 4096, + TCPF_BOUND_INACTIVE = 8192, +}; + +enum { + TCP_BPF_BASE = 0, + TCP_BPF_TX = 1, + TCP_BPF_RX = 2, + TCP_BPF_TXRX = 3, + TCP_BPF_NUM_CFGS = 4, +}; + +enum { + TCP_BPF_IPV4 = 0, + TCP_BPF_IPV6 = 1, + TCP_BPF_NUM_PROTS = 2, +}; + +enum { + TCP_BPF_IW = 1001, + TCP_BPF_SNDCWND_CLAMP = 1002, + TCP_BPF_DELACK_MAX = 1003, + TCP_BPF_RTO_MIN = 1004, + TCP_BPF_SYN = 1005, + TCP_BPF_SYN_IP = 1006, + TCP_BPF_SYN_MAC = 1007, + TCP_BPF_SOCK_OPS_CB_FLAGS = 1008, +}; + +enum { + TCP_CMSG_INQ = 1, + TCP_CMSG_TS = 2, +}; + +enum { + TCP_ESTABLISHED = 1, + TCP_SYN_SENT = 2, + TCP_SYN_RECV = 3, + TCP_FIN_WAIT1 = 4, + TCP_FIN_WAIT2 = 5, + TCP_TIME_WAIT = 6, + TCP_CLOSE = 7, + TCP_CLOSE_WAIT = 8, + TCP_LAST_ACK = 9, + TCP_LISTEN = 10, + TCP_CLOSING = 11, + TCP_NEW_SYN_RECV = 12, + TCP_BOUND_INACTIVE = 13, + TCP_MAX_STATES = 14, +}; + +enum { + TCP_FLAG_CWR = 32768, + TCP_FLAG_ECE = 16384, + TCP_FLAG_URG = 8192, + TCP_FLAG_ACK = 4096, + TCP_FLAG_PSH = 2048, + TCP_FLAG_RST = 1024, + TCP_FLAG_SYN = 512, + TCP_FLAG_FIN = 256, + TCP_RESERVED_BITS = 15, + TCP_DATA_OFFSET = 240, +}; + +enum { + TCP_METRICS_ATTR_UNSPEC = 0, + TCP_METRICS_ATTR_ADDR_IPV4 = 1, + TCP_METRICS_ATTR_ADDR_IPV6 = 2, + TCP_METRICS_ATTR_AGE = 3, + TCP_METRICS_ATTR_TW_TSVAL = 4, + TCP_METRICS_ATTR_TW_TS_STAMP = 5, + TCP_METRICS_ATTR_VALS = 6, + TCP_METRICS_ATTR_FOPEN_MSS = 7, + TCP_METRICS_ATTR_FOPEN_SYN_DROPS = 8, + TCP_METRICS_ATTR_FOPEN_SYN_DROP_TS = 9, + TCP_METRICS_ATTR_FOPEN_COOKIE = 10, + TCP_METRICS_ATTR_SADDR_IPV4 = 11, + TCP_METRICS_ATTR_SADDR_IPV6 = 12, + TCP_METRICS_ATTR_PAD = 13, + __TCP_METRICS_ATTR_MAX = 14, +}; + +enum { + TCP_METRICS_CMD_UNSPEC = 0, + TCP_METRICS_CMD_GET = 1, + TCP_METRICS_CMD_DEL = 2, + __TCP_METRICS_CMD_MAX = 3, +}; + +enum { + TCP_MIB_NUM = 0, + TCP_MIB_RTOALGORITHM = 1, + TCP_MIB_RTOMIN = 2, + TCP_MIB_RTOMAX = 3, + TCP_MIB_MAXCONN = 4, + TCP_MIB_ACTIVEOPENS = 5, + TCP_MIB_PASSIVEOPENS = 6, + TCP_MIB_ATTEMPTFAILS = 7, + TCP_MIB_ESTABRESETS = 8, + TCP_MIB_CURRESTAB = 9, + TCP_MIB_INSEGS = 10, + TCP_MIB_OUTSEGS = 11, + TCP_MIB_RETRANSSEGS = 12, + TCP_MIB_INERRS = 13, + TCP_MIB_OUTRSTS = 14, + TCP_MIB_CSUMERRORS = 15, + __TCP_MIB_MAX = 16, +}; + +enum { + TCP_NLA_PAD = 0, + TCP_NLA_BUSY = 1, + TCP_NLA_RWND_LIMITED = 2, + TCP_NLA_SNDBUF_LIMITED = 3, + TCP_NLA_DATA_SEGS_OUT = 4, + TCP_NLA_TOTAL_RETRANS = 5, + TCP_NLA_PACING_RATE = 6, + TCP_NLA_DELIVERY_RATE = 7, + TCP_NLA_SND_CWND = 8, + TCP_NLA_REORDERING = 9, + TCP_NLA_MIN_RTT = 10, + TCP_NLA_RECUR_RETRANS = 11, + TCP_NLA_DELIVERY_RATE_APP_LMT = 12, + TCP_NLA_SNDQ_SIZE = 13, + TCP_NLA_CA_STATE = 14, + TCP_NLA_SND_SSTHRESH = 15, + TCP_NLA_DELIVERED = 16, + TCP_NLA_DELIVERED_CE = 17, + TCP_NLA_BYTES_SENT = 18, + TCP_NLA_BYTES_RETRANS = 19, + TCP_NLA_DSACK_DUPS = 20, + TCP_NLA_REORD_SEEN = 21, + TCP_NLA_SRTT = 22, + TCP_NLA_TIMEOUT_REHASH = 23, + TCP_NLA_BYTES_NOTSENT = 24, + TCP_NLA_EDT = 25, + TCP_NLA_TTL = 26, + TCP_NLA_REHASH = 27, +}; + +enum { + TCP_NO_QUEUE = 0, + TCP_RECV_QUEUE = 1, + TCP_SEND_QUEUE = 2, + TCP_QUEUES_NR = 3, +}; + +enum { + TEST_ALIGNMENT = 16, +}; + +enum { + TOO_MANY_CLOSE = -1, + TOO_MANY_OPEN = -2, + MISSING_QUOTE = -3, +}; + +enum { + TP_ERR_FILE_NOT_FOUND = 0, + TP_ERR_NO_REGULAR_FILE = 1, + TP_ERR_BAD_REFCNT = 2, + TP_ERR_REFCNT_OPEN_BRACE = 3, + TP_ERR_BAD_REFCNT_SUFFIX = 4, + TP_ERR_BAD_UPROBE_OFFS = 5, + TP_ERR_BAD_MAXACT_TYPE = 6, + TP_ERR_BAD_MAXACT = 7, + TP_ERR_MAXACT_TOO_BIG = 8, + TP_ERR_BAD_PROBE_ADDR = 9, + TP_ERR_NON_UNIQ_SYMBOL = 10, + TP_ERR_BAD_RETPROBE = 11, + TP_ERR_NO_TRACEPOINT = 12, + TP_ERR_BAD_TP_NAME = 13, + TP_ERR_BAD_ADDR_SUFFIX = 14, + TP_ERR_NO_GROUP_NAME = 15, + TP_ERR_GROUP_TOO_LONG = 16, + TP_ERR_BAD_GROUP_NAME = 17, + TP_ERR_NO_EVENT_NAME = 18, + TP_ERR_EVENT_TOO_LONG = 19, + TP_ERR_BAD_EVENT_NAME = 20, + TP_ERR_EVENT_EXIST = 21, + TP_ERR_RETVAL_ON_PROBE = 22, + TP_ERR_NO_RETVAL = 23, + TP_ERR_BAD_STACK_NUM = 24, + TP_ERR_BAD_ARG_NUM = 25, + TP_ERR_BAD_VAR = 26, + TP_ERR_BAD_REG_NAME = 27, + TP_ERR_BAD_MEM_ADDR = 28, + TP_ERR_BAD_IMM = 29, + TP_ERR_IMMSTR_NO_CLOSE = 30, + TP_ERR_FILE_ON_KPROBE = 31, + TP_ERR_BAD_FILE_OFFS = 32, + TP_ERR_SYM_ON_UPROBE = 33, + TP_ERR_TOO_MANY_OPS = 34, + TP_ERR_DEREF_NEED_BRACE = 35, + TP_ERR_BAD_DEREF_OFFS = 36, + TP_ERR_DEREF_OPEN_BRACE = 37, + TP_ERR_COMM_CANT_DEREF = 38, + TP_ERR_BAD_FETCH_ARG = 39, + TP_ERR_ARRAY_NO_CLOSE = 40, + TP_ERR_BAD_ARRAY_SUFFIX = 41, + TP_ERR_BAD_ARRAY_NUM = 42, + TP_ERR_ARRAY_TOO_BIG = 43, + TP_ERR_BAD_TYPE = 44, + TP_ERR_BAD_STRING = 45, + TP_ERR_BAD_SYMSTRING = 46, + TP_ERR_BAD_BITFIELD = 47, + TP_ERR_ARG_NAME_TOO_LONG = 48, + TP_ERR_NO_ARG_NAME = 49, + TP_ERR_BAD_ARG_NAME = 50, + TP_ERR_USED_ARG_NAME = 51, + TP_ERR_ARG_TOO_LONG = 52, + TP_ERR_NO_ARG_BODY = 53, + TP_ERR_BAD_INSN_BNDRY = 54, + TP_ERR_FAIL_REG_PROBE = 55, + TP_ERR_DIFF_PROBE_TYPE = 56, + TP_ERR_DIFF_ARG_TYPE = 57, + TP_ERR_SAME_PROBE = 58, + TP_ERR_NO_EVENT_INFO = 59, + TP_ERR_BAD_ATTACH_EVENT = 60, + TP_ERR_BAD_ATTACH_ARG = 61, + TP_ERR_NO_EP_FILTER = 62, + TP_ERR_NOSUP_BTFARG = 63, + TP_ERR_NO_BTFARG = 64, + TP_ERR_NO_BTF_ENTRY = 65, + TP_ERR_BAD_VAR_ARGS = 66, + TP_ERR_NOFENTRY_ARGS = 67, + TP_ERR_DOUBLE_ARGS = 68, + TP_ERR_ARGS_2LONG = 69, + TP_ERR_ARGIDX_2BIG = 70, + TP_ERR_NO_PTR_STRCT = 71, + TP_ERR_NOSUP_DAT_ARG = 72, + TP_ERR_BAD_HYPHEN = 73, + TP_ERR_NO_BTF_FIELD = 74, + TP_ERR_BAD_BTF_TID = 75, + TP_ERR_BAD_TYPE4STR = 76, + TP_ERR_NEED_STRING_TYPE = 77, + TP_ERR_TOO_MANY_EARGS = 78, +}; + +enum { + TRACEFS_EVENT_INODE = 2, + TRACEFS_GID_PERM_SET = 4, + TRACEFS_UID_PERM_SET = 8, + TRACEFS_INSTANCE_INODE = 16, +}; + +enum { + TRACE_ARRAY_FL_GLOBAL = 1, + TRACE_ARRAY_FL_BOOT = 2, + TRACE_ARRAY_FL_MOD_INIT = 4, +}; + +enum { + TRACE_CTX_NMI = 0, + TRACE_CTX_IRQ = 1, + TRACE_CTX_SOFTIRQ = 2, + TRACE_CTX_NORMAL = 3, + TRACE_CTX_TRANSITION = 4, +}; + +enum { + TRACE_EVENT_FL_CAP_ANY = 1, + TRACE_EVENT_FL_NO_SET_FILTER = 2, + TRACE_EVENT_FL_IGNORE_ENABLE = 4, + TRACE_EVENT_FL_TRACEPOINT = 8, + TRACE_EVENT_FL_DYNAMIC = 16, + TRACE_EVENT_FL_KPROBE = 32, + TRACE_EVENT_FL_UPROBE = 64, + TRACE_EVENT_FL_EPROBE = 128, + TRACE_EVENT_FL_FPROBE = 256, + TRACE_EVENT_FL_CUSTOM = 512, + TRACE_EVENT_FL_TEST_STR = 1024, +}; + +enum { + TRACE_EVENT_FL_CAP_ANY_BIT = 0, + TRACE_EVENT_FL_NO_SET_FILTER_BIT = 1, + TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 2, + TRACE_EVENT_FL_TRACEPOINT_BIT = 3, + TRACE_EVENT_FL_DYNAMIC_BIT = 4, + TRACE_EVENT_FL_KPROBE_BIT = 5, + TRACE_EVENT_FL_UPROBE_BIT = 6, + TRACE_EVENT_FL_EPROBE_BIT = 7, + TRACE_EVENT_FL_FPROBE_BIT = 8, + TRACE_EVENT_FL_CUSTOM_BIT = 9, + TRACE_EVENT_FL_TEST_STR_BIT = 10, +}; + +enum { + TRACE_FTRACE_BIT = 0, + TRACE_FTRACE_NMI_BIT = 1, + TRACE_FTRACE_IRQ_BIT = 2, + TRACE_FTRACE_SIRQ_BIT = 3, + TRACE_FTRACE_TRANSITION_BIT = 4, + TRACE_INTERNAL_BIT = 5, + TRACE_INTERNAL_NMI_BIT = 6, + TRACE_INTERNAL_IRQ_BIT = 7, + TRACE_INTERNAL_SIRQ_BIT = 8, + TRACE_INTERNAL_TRANSITION_BIT = 9, + TRACE_BRANCH_BIT = 10, + TRACE_IRQ_BIT = 11, + TRACE_RECORD_RECURSION_BIT = 12, +}; + +enum { + TRACE_FUNC_NO_OPTS = 0, + TRACE_FUNC_OPT_STACK = 1, + TRACE_FUNC_OPT_NO_REPEATS = 2, + TRACE_FUNC_OPT_HIGHEST_BIT = 4, +}; + +enum { + TRACE_GRAPH_FL = 1, + TRACE_GRAPH_DEPTH_START_BIT = 2, + TRACE_GRAPH_DEPTH_END_BIT = 3, + TRACE_GRAPH_NOTRACE_BIT = 4, +}; + +enum { + TRACE_NOP_OPT_ACCEPT = 1, + TRACE_NOP_OPT_REFUSE = 2, +}; + +enum { + TRACE_PIDS = 1, + TRACE_NO_PIDS = 2, +}; + +enum { + TRACE_SIGNAL_DELIVERED = 0, + TRACE_SIGNAL_IGNORED = 1, + TRACE_SIGNAL_ALREADY_PENDING = 2, + TRACE_SIGNAL_OVERFLOW_FAIL = 3, + TRACE_SIGNAL_LOSE_INFO = 4, +}; + +enum { + UDP_BPF_IPV4 = 0, + UDP_BPF_IPV6 = 1, + UDP_BPF_NUM_PROTS = 2, +}; + +enum { + UDP_FLAGS_CORK = 0, + UDP_FLAGS_NO_CHECK6_TX = 1, + UDP_FLAGS_NO_CHECK6_RX = 2, + UDP_FLAGS_GRO_ENABLED = 3, + UDP_FLAGS_ACCEPT_FRAGLIST = 4, + UDP_FLAGS_ACCEPT_L4 = 5, + UDP_FLAGS_ENCAP_ENABLED = 6, + UDP_FLAGS_UDPLITE_SEND_CC = 7, + UDP_FLAGS_UDPLITE_RECV_CC = 8, +}; + +enum { + UDP_MIB_NUM = 0, + UDP_MIB_INDATAGRAMS = 1, + UDP_MIB_NOPORTS = 2, + UDP_MIB_INERRORS = 3, + UDP_MIB_OUTDATAGRAMS = 4, + UDP_MIB_RCVBUFERRORS = 5, + UDP_MIB_SNDBUFERRORS = 6, + UDP_MIB_CSUMERRORS = 7, + UDP_MIB_IGNOREDMULTI = 8, + UDP_MIB_MEMERRORS = 9, + __UDP_MIB_MAX = 10, +}; + +enum { + UNAME26 = 131072, + ADDR_NO_RANDOMIZE = 262144, + FDPIC_FUNCPTRS = 524288, + MMAP_PAGE_ZERO = 1048576, + ADDR_COMPAT_LAYOUT = 2097152, + READ_IMPLIES_EXEC = 4194304, + ADDR_LIMIT_32BIT = 8388608, + SHORT_INODE = 16777216, + WHOLE_SECONDS = 33554432, + STICKY_TIMEOUTS = 67108864, + ADDR_LIMIT_3GB = 134217728, +}; + +enum { + WALK_TRAILING = 1, + WALK_MORE = 2, + WALK_NOFOLLOW = 4, +}; + +enum { + XA_CHECK_SCHED = 4096, +}; + +enum { + XDP_ATTACHED_NONE = 0, + XDP_ATTACHED_DRV = 1, + XDP_ATTACHED_SKB = 2, + XDP_ATTACHED_HW = 3, + XDP_ATTACHED_MULTI = 4, +}; + +enum { + XFRM_LOOKUP_ICMP = 1, + XFRM_LOOKUP_QUEUE = 2, + XFRM_LOOKUP_KEEP_DST_REF = 4, +}; + +enum { + XFRM_MSG_BASE = 16, + XFRM_MSG_NEWSA = 16, + XFRM_MSG_DELSA = 17, + XFRM_MSG_GETSA = 18, + XFRM_MSG_NEWPOLICY = 19, + XFRM_MSG_DELPOLICY = 20, + XFRM_MSG_GETPOLICY = 21, + XFRM_MSG_ALLOCSPI = 22, + XFRM_MSG_ACQUIRE = 23, + XFRM_MSG_EXPIRE = 24, + XFRM_MSG_UPDPOLICY = 25, + XFRM_MSG_UPDSA = 26, + XFRM_MSG_POLEXPIRE = 27, + XFRM_MSG_FLUSHSA = 28, + XFRM_MSG_FLUSHPOLICY = 29, + XFRM_MSG_NEWAE = 30, + XFRM_MSG_GETAE = 31, + XFRM_MSG_REPORT = 32, + XFRM_MSG_MIGRATE = 33, + XFRM_MSG_NEWSADINFO = 34, + XFRM_MSG_GETSADINFO = 35, + XFRM_MSG_NEWSPDINFO = 36, + XFRM_MSG_GETSPDINFO = 37, + XFRM_MSG_MAPPING = 38, + XFRM_MSG_SETDEFAULT = 39, + XFRM_MSG_GETDEFAULT = 40, + __XFRM_MSG_MAX = 41, +}; + +enum { + XFRM_POLICY_IN = 0, + XFRM_POLICY_OUT = 1, + XFRM_POLICY_FWD = 2, + XFRM_POLICY_MASK = 3, + XFRM_POLICY_MAX = 3, +}; + +enum { + XFRM_POLICY_TYPE_MAIN = 0, + XFRM_POLICY_TYPE_SUB = 1, + XFRM_POLICY_TYPE_MAX = 2, + XFRM_POLICY_TYPE_ANY = 255, +}; + +enum { + ZONELIST_FALLBACK = 0, + MAX_ZONELISTS = 1, +}; + +enum { + _IRQ_DEFAULT_INIT_FLAGS = 3072, + _IRQ_PER_CPU = 512, + _IRQ_LEVEL = 256, + _IRQ_NOPROBE = 1024, + _IRQ_NOREQUEST = 2048, + _IRQ_NOTHREAD = 65536, + _IRQ_NOAUTOEN = 4096, + _IRQ_NO_BALANCING = 8192, + _IRQ_NESTED_THREAD = 32768, + _IRQ_PER_CPU_DEVID = 131072, + _IRQ_IS_POLLED = 262144, + _IRQ_DISABLE_UNLAZY = 524288, + _IRQ_HIDDEN = 1048576, + _IRQ_NO_DEBUG = 2097152, + _IRQF_MODIFY_MASK = 2080527, +}; + +enum { + __ND_OPT_PREFIX_INFO_END = 0, + ND_OPT_SOURCE_LL_ADDR = 1, + ND_OPT_TARGET_LL_ADDR = 2, + ND_OPT_PREFIX_INFO = 3, + ND_OPT_REDIRECT_HDR = 4, + ND_OPT_MTU = 5, + ND_OPT_NONCE = 14, + __ND_OPT_ARRAY_MAX = 15, + ND_OPT_ROUTE_INFO = 24, + ND_OPT_RDNSS = 25, + ND_OPT_DNSSL = 31, + ND_OPT_6CO = 34, + ND_OPT_CAPTIVE_PORTAL = 37, + ND_OPT_PREF64 = 38, + __ND_OPT_MAX = 39, +}; + +enum { + __PERCPU_REF_ATOMIC = 1, + __PERCPU_REF_DEAD = 2, + __PERCPU_REF_ATOMIC_DEAD = 3, + __PERCPU_REF_FLAG_BITS = 2, +}; + +enum { + __SCHED_FEAT_PLACE_LAG = 0, + __SCHED_FEAT_PLACE_DEADLINE_INITIAL = 1, + __SCHED_FEAT_PLACE_REL_DEADLINE = 2, + __SCHED_FEAT_RUN_TO_PARITY = 3, + __SCHED_FEAT_PREEMPT_SHORT = 4, + __SCHED_FEAT_NEXT_BUDDY = 5, + __SCHED_FEAT_PICK_BUDDY = 6, + __SCHED_FEAT_CACHE_HOT_BUDDY = 7, + __SCHED_FEAT_DELAY_DEQUEUE = 8, + __SCHED_FEAT_DELAY_ZERO = 9, + __SCHED_FEAT_WAKEUP_PREEMPTION = 10, + __SCHED_FEAT_HRTICK = 11, + __SCHED_FEAT_HRTICK_DL = 12, + __SCHED_FEAT_NONTASK_CAPACITY = 13, + __SCHED_FEAT_TTWU_QUEUE = 14, + __SCHED_FEAT_SIS_UTIL = 15, + __SCHED_FEAT_WARN_DOUBLE_CLOCK = 16, + __SCHED_FEAT_RT_RUNTIME_SHARE = 17, + __SCHED_FEAT_LB_MIN = 18, + __SCHED_FEAT_ATTACH_AGE_LOAD = 19, + __SCHED_FEAT_WA_IDLE = 20, + __SCHED_FEAT_WA_WEIGHT = 21, + __SCHED_FEAT_WA_BIAS = 22, + __SCHED_FEAT_UTIL_EST = 23, + __SCHED_FEAT_LATENCY_WARN = 24, + __SCHED_FEAT_NR = 25, +}; + +enum { + __SPECTRE_V2_METHOD_BPIALL = 0, + __SPECTRE_V2_METHOD_ICIALLU = 1, + __SPECTRE_V2_METHOD_SMC = 2, + __SPECTRE_V2_METHOD_HVC = 3, + __SPECTRE_V2_METHOD_LOOP8 = 4, +}; + +enum { + ___GFP_DMA_BIT = 0, + ___GFP_HIGHMEM_BIT = 1, + ___GFP_DMA32_BIT = 2, + ___GFP_MOVABLE_BIT = 3, + ___GFP_RECLAIMABLE_BIT = 4, + ___GFP_HIGH_BIT = 5, + ___GFP_IO_BIT = 6, + ___GFP_FS_BIT = 7, + ___GFP_ZERO_BIT = 8, + ___GFP_UNUSED_BIT = 9, + ___GFP_DIRECT_RECLAIM_BIT = 10, + ___GFP_KSWAPD_RECLAIM_BIT = 11, + ___GFP_WRITE_BIT = 12, + ___GFP_NOWARN_BIT = 13, + ___GFP_RETRY_MAYFAIL_BIT = 14, + ___GFP_NOFAIL_BIT = 15, + ___GFP_NORETRY_BIT = 16, + ___GFP_MEMALLOC_BIT = 17, + ___GFP_COMP_BIT = 18, + ___GFP_NOMEMALLOC_BIT = 19, + ___GFP_HARDWALL_BIT = 20, + ___GFP_THISNODE_BIT = 21, + ___GFP_ACCOUNT_BIT = 22, + ___GFP_ZEROTAGS_BIT = 23, + ___GFP_LAST_BIT = 24, +}; + +enum { + __ctx_convertBPF_PROG_TYPE_SOCKET_FILTER = 0, + __ctx_convertBPF_PROG_TYPE_SCHED_CLS = 1, + __ctx_convertBPF_PROG_TYPE_SCHED_ACT = 2, + __ctx_convertBPF_PROG_TYPE_XDP = 3, + __ctx_convertBPF_PROG_TYPE_LWT_IN = 4, + __ctx_convertBPF_PROG_TYPE_LWT_OUT = 5, + __ctx_convertBPF_PROG_TYPE_LWT_XMIT = 6, + __ctx_convertBPF_PROG_TYPE_LWT_SEG6LOCAL = 7, + __ctx_convertBPF_PROG_TYPE_SOCK_OPS = 8, + __ctx_convertBPF_PROG_TYPE_SK_SKB = 9, + __ctx_convertBPF_PROG_TYPE_SK_MSG = 10, + __ctx_convertBPF_PROG_TYPE_FLOW_DISSECTOR = 11, + __ctx_convertBPF_PROG_TYPE_KPROBE = 12, + __ctx_convertBPF_PROG_TYPE_TRACEPOINT = 13, + __ctx_convertBPF_PROG_TYPE_PERF_EVENT = 14, + __ctx_convertBPF_PROG_TYPE_RAW_TRACEPOINT = 15, + __ctx_convertBPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 16, + __ctx_convertBPF_PROG_TYPE_TRACING = 17, + __ctx_convertBPF_PROG_TYPE_SK_REUSEPORT = 18, + __ctx_convertBPF_PROG_TYPE_SK_LOOKUP = 19, + __ctx_convertBPF_PROG_TYPE_STRUCT_OPS = 20, + __ctx_convertBPF_PROG_TYPE_EXT = 21, + __ctx_convertBPF_PROG_TYPE_SYSCALL = 22, + __ctx_convert_unused = 23, +}; + +enum { + false = 0, + true = 1, +}; + +typedef enum { + ISOLATE_ABORT = 0, + ISOLATE_NONE = 1, + ISOLATE_SUCCESS = 2, +} isolate_migrate_t; + +typedef enum { + PAGE_KEEP = 0, + PAGE_ACTIVATE = 1, + PAGE_SUCCESS = 2, + PAGE_CLEAN = 3, +} pageout_t; + +typedef enum { + PHY_INTERFACE_MODE_NA = 0, + PHY_INTERFACE_MODE_INTERNAL = 1, + PHY_INTERFACE_MODE_MII = 2, + PHY_INTERFACE_MODE_GMII = 3, + PHY_INTERFACE_MODE_SGMII = 4, + PHY_INTERFACE_MODE_TBI = 5, + PHY_INTERFACE_MODE_REVMII = 6, + PHY_INTERFACE_MODE_RMII = 7, + PHY_INTERFACE_MODE_REVRMII = 8, + PHY_INTERFACE_MODE_RGMII = 9, + PHY_INTERFACE_MODE_RGMII_ID = 10, + PHY_INTERFACE_MODE_RGMII_RXID = 11, + PHY_INTERFACE_MODE_RGMII_TXID = 12, + PHY_INTERFACE_MODE_RTBI = 13, + PHY_INTERFACE_MODE_SMII = 14, + PHY_INTERFACE_MODE_XGMII = 15, + PHY_INTERFACE_MODE_XLGMII = 16, + PHY_INTERFACE_MODE_MOCA = 17, + PHY_INTERFACE_MODE_PSGMII = 18, + PHY_INTERFACE_MODE_QSGMII = 19, + PHY_INTERFACE_MODE_TRGMII = 20, + PHY_INTERFACE_MODE_100BASEX = 21, + PHY_INTERFACE_MODE_1000BASEX = 22, + PHY_INTERFACE_MODE_2500BASEX = 23, + PHY_INTERFACE_MODE_5GBASER = 24, + PHY_INTERFACE_MODE_RXAUI = 25, + PHY_INTERFACE_MODE_XAUI = 26, + PHY_INTERFACE_MODE_10GBASER = 27, + PHY_INTERFACE_MODE_25GBASER = 28, + PHY_INTERFACE_MODE_USXGMII = 29, + PHY_INTERFACE_MODE_10GKR = 30, + PHY_INTERFACE_MODE_QUSGMII = 31, + PHY_INTERFACE_MODE_1000BASEKX = 32, + PHY_INTERFACE_MODE_10G_QXGMII = 33, + PHY_INTERFACE_MODE_MAX = 34, +} phy_interface_t; + +typedef enum { + SS_FREE = 0, + SS_UNCONNECTED = 1, + SS_CONNECTING = 2, + SS_CONNECTED = 3, + SS_DISCONNECTING = 4, +} socket_state; + +enum KTHREAD_BITS { + KTHREAD_IS_PER_CPU = 0, + KTHREAD_SHOULD_STOP = 1, + KTHREAD_SHOULD_PARK = 2, +}; + +enum __sk_action { + __SK_DROP = 0, + __SK_PASS = 1, + __SK_REDIRECT = 2, + __SK_NONE = 3, +}; + +enum _slab_flag_bits { + _SLAB_CONSISTENCY_CHECKS = 0, + _SLAB_RED_ZONE = 1, + _SLAB_POISON = 2, + _SLAB_KMALLOC = 3, + _SLAB_HWCACHE_ALIGN = 4, + _SLAB_CACHE_DMA = 5, + _SLAB_CACHE_DMA32 = 6, + _SLAB_STORE_USER = 7, + _SLAB_PANIC = 8, + _SLAB_TYPESAFE_BY_RCU = 9, + _SLAB_TRACE = 10, + _SLAB_NOLEAKTRACE = 11, + _SLAB_NO_MERGE = 12, + _SLAB_NO_USER_FLAGS = 13, + _SLAB_OBJECT_POISON = 14, + _SLAB_CMPXCHG_DOUBLE = 15, + _SLAB_FLAGS_LAST_BIT = 16, +}; + +enum addr_type_t { + UNICAST_ADDR = 0, + MULTICAST_ADDR = 1, + ANYCAST_ADDR = 2, +}; + +enum alarmtimer_type { + ALARM_REALTIME = 0, + ALARM_BOOTTIME = 1, + ALARM_NUMTYPE = 2, + ALARM_REALTIME_FREEZER = 3, + ALARM_BOOTTIME_FREEZER = 4, +}; + +enum arm_regset { + REGSET_GPR = 0, + REGSET_FPR = 1, +}; + +enum arm_smccc_conduit { + SMCCC_CONDUIT_NONE = 0, + SMCCC_CONDUIT_SMC = 1, + SMCCC_CONDUIT_HVC = 2, +}; + +enum armpmu_attr_groups { + ARMPMU_ATTR_GROUP_COMMON = 0, + ARMPMU_ATTR_GROUP_EVENTS = 1, + ARMPMU_ATTR_GROUP_FORMATS = 2, + ARMPMU_ATTR_GROUP_CAPS = 3, + ARMPMU_NR_ATTR_GROUPS = 4, +}; + +enum audit_ntp_type { + AUDIT_NTP_OFFSET = 0, + AUDIT_NTP_FREQ = 1, + AUDIT_NTP_STATUS = 2, + AUDIT_NTP_TAI = 3, + AUDIT_NTP_TICK = 4, + AUDIT_NTP_ADJUST = 5, + AUDIT_NTP_NVALS = 6, +}; + +enum batadv_packettype { + BATADV_IV_OGM = 0, + BATADV_BCAST = 1, + BATADV_CODED = 2, + BATADV_ELP = 3, + BATADV_OGM2 = 4, + BATADV_MCAST = 5, + BATADV_UNICAST = 64, + BATADV_UNICAST_FRAG = 65, + BATADV_UNICAST_4ADDR = 66, + BATADV_ICMP = 67, + BATADV_UNICAST_TVLV = 68, +}; + +enum behavior { + EXCLUSIVE = 0, + SHARED = 1, + DROP = 2, +}; + +enum blake2s_iv { + BLAKE2S_IV0 = 1779033703, + BLAKE2S_IV1 = 3144134277, + BLAKE2S_IV2 = 1013904242, + BLAKE2S_IV3 = 2773480762, + BLAKE2S_IV4 = 1359893119, + BLAKE2S_IV5 = 2600822924, + BLAKE2S_IV6 = 528734635, + BLAKE2S_IV7 = 1541459225, +}; + +enum blake2s_lengths { + BLAKE2S_BLOCK_SIZE = 64, + BLAKE2S_HASH_SIZE = 32, + BLAKE2S_KEY_SIZE = 32, + BLAKE2S_128_HASH_SIZE = 16, + BLAKE2S_160_HASH_SIZE = 20, + BLAKE2S_224_HASH_SIZE = 28, + BLAKE2S_256_HASH_SIZE = 32, +}; + +enum blk_integrity_checksum { + BLK_INTEGRITY_CSUM_NONE = 0, + BLK_INTEGRITY_CSUM_IP = 1, + BLK_INTEGRITY_CSUM_CRC = 2, + BLK_INTEGRITY_CSUM_CRC64 = 3, +} __attribute__((mode(byte))); + +enum blk_unique_id { + BLK_UID_T10 = 1, + BLK_UID_EUI64 = 2, + BLK_UID_NAA = 3, +}; + +enum bp_type_idx { + TYPE_INST = 0, + TYPE_DATA = 1, + TYPE_MAX = 2, +}; + +enum bpf_access_src { + ACCESS_DIRECT = 1, + ACCESS_HELPER = 2, +}; + +enum bpf_access_type { + BPF_READ = 1, + BPF_WRITE = 2, +}; + +enum bpf_addr_space_cast { + BPF_ADDR_SPACE_CAST = 1, +}; + +enum bpf_adj_room_mode { + BPF_ADJ_ROOM_NET = 0, + BPF_ADJ_ROOM_MAC = 1, +}; + +enum bpf_arg_type { + ARG_DONTCARE = 0, + ARG_CONST_MAP_PTR = 1, + ARG_PTR_TO_MAP_KEY = 2, + ARG_PTR_TO_MAP_VALUE = 3, + ARG_PTR_TO_MEM = 4, + ARG_PTR_TO_ARENA = 5, + ARG_CONST_SIZE = 6, + ARG_CONST_SIZE_OR_ZERO = 7, + ARG_PTR_TO_CTX = 8, + ARG_ANYTHING = 9, + ARG_PTR_TO_SPIN_LOCK = 10, + ARG_PTR_TO_SOCK_COMMON = 11, + ARG_PTR_TO_SOCKET = 12, + ARG_PTR_TO_BTF_ID = 13, + ARG_PTR_TO_RINGBUF_MEM = 14, + ARG_CONST_ALLOC_SIZE_OR_ZERO = 15, + ARG_PTR_TO_BTF_ID_SOCK_COMMON = 16, + ARG_PTR_TO_PERCPU_BTF_ID = 17, + ARG_PTR_TO_FUNC = 18, + ARG_PTR_TO_STACK = 19, + ARG_PTR_TO_CONST_STR = 20, + ARG_PTR_TO_TIMER = 21, + ARG_KPTR_XCHG_DEST = 22, + ARG_PTR_TO_DYNPTR = 23, + __BPF_ARG_TYPE_MAX = 24, + ARG_PTR_TO_MAP_VALUE_OR_NULL = 259, + ARG_PTR_TO_MEM_OR_NULL = 260, + ARG_PTR_TO_CTX_OR_NULL = 264, + ARG_PTR_TO_SOCKET_OR_NULL = 268, + ARG_PTR_TO_STACK_OR_NULL = 275, + ARG_PTR_TO_BTF_ID_OR_NULL = 269, + ARG_PTR_TO_UNINIT_MEM = 67141636, + ARG_PTR_TO_FIXED_SIZE_MEM = 262148, + __BPF_ARG_TYPE_LIMIT = 134217727, +}; + +enum bpf_async_type { + BPF_ASYNC_TYPE_TIMER = 0, + BPF_ASYNC_TYPE_WQ = 1, +}; + +enum bpf_attach_type { + BPF_CGROUP_INET_INGRESS = 0, + BPF_CGROUP_INET_EGRESS = 1, + BPF_CGROUP_INET_SOCK_CREATE = 2, + BPF_CGROUP_SOCK_OPS = 3, + BPF_SK_SKB_STREAM_PARSER = 4, + BPF_SK_SKB_STREAM_VERDICT = 5, + BPF_CGROUP_DEVICE = 6, + BPF_SK_MSG_VERDICT = 7, + BPF_CGROUP_INET4_BIND = 8, + BPF_CGROUP_INET6_BIND = 9, + BPF_CGROUP_INET4_CONNECT = 10, + BPF_CGROUP_INET6_CONNECT = 11, + BPF_CGROUP_INET4_POST_BIND = 12, + BPF_CGROUP_INET6_POST_BIND = 13, + BPF_CGROUP_UDP4_SENDMSG = 14, + BPF_CGROUP_UDP6_SENDMSG = 15, + BPF_LIRC_MODE2 = 16, + BPF_FLOW_DISSECTOR = 17, + BPF_CGROUP_SYSCTL = 18, + BPF_CGROUP_UDP4_RECVMSG = 19, + BPF_CGROUP_UDP6_RECVMSG = 20, + BPF_CGROUP_GETSOCKOPT = 21, + BPF_CGROUP_SETSOCKOPT = 22, + BPF_TRACE_RAW_TP = 23, + BPF_TRACE_FENTRY = 24, + BPF_TRACE_FEXIT = 25, + BPF_MODIFY_RETURN = 26, + BPF_LSM_MAC = 27, + BPF_TRACE_ITER = 28, + BPF_CGROUP_INET4_GETPEERNAME = 29, + BPF_CGROUP_INET6_GETPEERNAME = 30, + BPF_CGROUP_INET4_GETSOCKNAME = 31, + BPF_CGROUP_INET6_GETSOCKNAME = 32, + BPF_XDP_DEVMAP = 33, + BPF_CGROUP_INET_SOCK_RELEASE = 34, + BPF_XDP_CPUMAP = 35, + BPF_SK_LOOKUP = 36, + BPF_XDP = 37, + BPF_SK_SKB_VERDICT = 38, + BPF_SK_REUSEPORT_SELECT = 39, + BPF_SK_REUSEPORT_SELECT_OR_MIGRATE = 40, + BPF_PERF_EVENT = 41, + BPF_TRACE_KPROBE_MULTI = 42, + BPF_LSM_CGROUP = 43, + BPF_STRUCT_OPS = 44, + BPF_NETFILTER = 45, + BPF_TCX_INGRESS = 46, + BPF_TCX_EGRESS = 47, + BPF_TRACE_UPROBE_MULTI = 48, + BPF_CGROUP_UNIX_CONNECT = 49, + BPF_CGROUP_UNIX_SENDMSG = 50, + BPF_CGROUP_UNIX_RECVMSG = 51, + BPF_CGROUP_UNIX_GETPEERNAME = 52, + BPF_CGROUP_UNIX_GETSOCKNAME = 53, + BPF_NETKIT_PRIMARY = 54, + BPF_NETKIT_PEER = 55, + BPF_TRACE_KPROBE_SESSION = 56, + BPF_TRACE_UPROBE_SESSION = 57, + __MAX_BPF_ATTACH_TYPE = 58, +}; + +enum bpf_audit { + BPF_AUDIT_LOAD = 0, + BPF_AUDIT_UNLOAD = 1, + BPF_AUDIT_MAX = 2, +}; + +enum bpf_cgroup_iter_order { + BPF_CGROUP_ITER_ORDER_UNSPEC = 0, + BPF_CGROUP_ITER_SELF_ONLY = 1, + BPF_CGROUP_ITER_DESCENDANTS_PRE = 2, + BPF_CGROUP_ITER_DESCENDANTS_POST = 3, + BPF_CGROUP_ITER_ANCESTORS_UP = 4, +}; + +enum bpf_cgroup_storage_type { + BPF_CGROUP_STORAGE_SHARED = 0, + BPF_CGROUP_STORAGE_PERCPU = 1, + __BPF_CGROUP_STORAGE_MAX = 2, +}; + +enum bpf_check_mtu_flags { + BPF_MTU_CHK_SEGS = 1, +}; + +enum bpf_check_mtu_ret { + BPF_MTU_CHK_RET_SUCCESS = 0, + BPF_MTU_CHK_RET_FRAG_NEEDED = 1, + BPF_MTU_CHK_RET_SEGS_TOOBIG = 2, +}; + +enum bpf_cmd { + BPF_MAP_CREATE = 0, + BPF_MAP_LOOKUP_ELEM = 1, + BPF_MAP_UPDATE_ELEM = 2, + BPF_MAP_DELETE_ELEM = 3, + BPF_MAP_GET_NEXT_KEY = 4, + BPF_PROG_LOAD = 5, + BPF_OBJ_PIN = 6, + BPF_OBJ_GET = 7, + BPF_PROG_ATTACH = 8, + BPF_PROG_DETACH = 9, + BPF_PROG_TEST_RUN = 10, + BPF_PROG_RUN = 10, + BPF_PROG_GET_NEXT_ID = 11, + BPF_MAP_GET_NEXT_ID = 12, + BPF_PROG_GET_FD_BY_ID = 13, + BPF_MAP_GET_FD_BY_ID = 14, + BPF_OBJ_GET_INFO_BY_FD = 15, + BPF_PROG_QUERY = 16, + BPF_RAW_TRACEPOINT_OPEN = 17, + BPF_BTF_LOAD = 18, + BPF_BTF_GET_FD_BY_ID = 19, + BPF_TASK_FD_QUERY = 20, + BPF_MAP_LOOKUP_AND_DELETE_ELEM = 21, + BPF_MAP_FREEZE = 22, + BPF_BTF_GET_NEXT_ID = 23, + BPF_MAP_LOOKUP_BATCH = 24, + BPF_MAP_LOOKUP_AND_DELETE_BATCH = 25, + BPF_MAP_UPDATE_BATCH = 26, + BPF_MAP_DELETE_BATCH = 27, + BPF_LINK_CREATE = 28, + BPF_LINK_UPDATE = 29, + BPF_LINK_GET_FD_BY_ID = 30, + BPF_LINK_GET_NEXT_ID = 31, + BPF_ENABLE_STATS = 32, + BPF_ITER_CREATE = 33, + BPF_LINK_DETACH = 34, + BPF_PROG_BIND_MAP = 35, + BPF_TOKEN_CREATE = 36, + __MAX_BPF_CMD = 37, +}; + +enum bpf_cond_pseudo_jmp { + BPF_MAY_GOTO = 0, +}; + +enum bpf_core_relo_kind { + BPF_CORE_FIELD_BYTE_OFFSET = 0, + BPF_CORE_FIELD_BYTE_SIZE = 1, + BPF_CORE_FIELD_EXISTS = 2, + BPF_CORE_FIELD_SIGNED = 3, + BPF_CORE_FIELD_LSHIFT_U64 = 4, + BPF_CORE_FIELD_RSHIFT_U64 = 5, + BPF_CORE_TYPE_ID_LOCAL = 6, + BPF_CORE_TYPE_ID_TARGET = 7, + BPF_CORE_TYPE_EXISTS = 8, + BPF_CORE_TYPE_SIZE = 9, + BPF_CORE_ENUMVAL_EXISTS = 10, + BPF_CORE_ENUMVAL_VALUE = 11, + BPF_CORE_TYPE_MATCHES = 12, +}; + +enum bpf_dynptr_type { + BPF_DYNPTR_TYPE_INVALID = 0, + BPF_DYNPTR_TYPE_LOCAL = 1, + BPF_DYNPTR_TYPE_RINGBUF = 2, + BPF_DYNPTR_TYPE_SKB = 3, + BPF_DYNPTR_TYPE_XDP = 4, +}; + +enum bpf_func_id { + BPF_FUNC_unspec = 0, + BPF_FUNC_map_lookup_elem = 1, + BPF_FUNC_map_update_elem = 2, + BPF_FUNC_map_delete_elem = 3, + BPF_FUNC_probe_read = 4, + BPF_FUNC_ktime_get_ns = 5, + BPF_FUNC_trace_printk = 6, + BPF_FUNC_get_prandom_u32 = 7, + BPF_FUNC_get_smp_processor_id = 8, + BPF_FUNC_skb_store_bytes = 9, + BPF_FUNC_l3_csum_replace = 10, + BPF_FUNC_l4_csum_replace = 11, + BPF_FUNC_tail_call = 12, + BPF_FUNC_clone_redirect = 13, + BPF_FUNC_get_current_pid_tgid = 14, + BPF_FUNC_get_current_uid_gid = 15, + BPF_FUNC_get_current_comm = 16, + BPF_FUNC_get_cgroup_classid = 17, + BPF_FUNC_skb_vlan_push = 18, + BPF_FUNC_skb_vlan_pop = 19, + BPF_FUNC_skb_get_tunnel_key = 20, + BPF_FUNC_skb_set_tunnel_key = 21, + BPF_FUNC_perf_event_read = 22, + BPF_FUNC_redirect = 23, + BPF_FUNC_get_route_realm = 24, + BPF_FUNC_perf_event_output = 25, + BPF_FUNC_skb_load_bytes = 26, + BPF_FUNC_get_stackid = 27, + BPF_FUNC_csum_diff = 28, + BPF_FUNC_skb_get_tunnel_opt = 29, + BPF_FUNC_skb_set_tunnel_opt = 30, + BPF_FUNC_skb_change_proto = 31, + BPF_FUNC_skb_change_type = 32, + BPF_FUNC_skb_under_cgroup = 33, + BPF_FUNC_get_hash_recalc = 34, + BPF_FUNC_get_current_task = 35, + BPF_FUNC_probe_write_user = 36, + BPF_FUNC_current_task_under_cgroup = 37, + BPF_FUNC_skb_change_tail = 38, + BPF_FUNC_skb_pull_data = 39, + BPF_FUNC_csum_update = 40, + BPF_FUNC_set_hash_invalid = 41, + BPF_FUNC_get_numa_node_id = 42, + BPF_FUNC_skb_change_head = 43, + BPF_FUNC_xdp_adjust_head = 44, + BPF_FUNC_probe_read_str = 45, + BPF_FUNC_get_socket_cookie = 46, + BPF_FUNC_get_socket_uid = 47, + BPF_FUNC_set_hash = 48, + BPF_FUNC_setsockopt = 49, + BPF_FUNC_skb_adjust_room = 50, + BPF_FUNC_redirect_map = 51, + BPF_FUNC_sk_redirect_map = 52, + BPF_FUNC_sock_map_update = 53, + BPF_FUNC_xdp_adjust_meta = 54, + BPF_FUNC_perf_event_read_value = 55, + BPF_FUNC_perf_prog_read_value = 56, + BPF_FUNC_getsockopt = 57, + BPF_FUNC_override_return = 58, + BPF_FUNC_sock_ops_cb_flags_set = 59, + BPF_FUNC_msg_redirect_map = 60, + BPF_FUNC_msg_apply_bytes = 61, + BPF_FUNC_msg_cork_bytes = 62, + BPF_FUNC_msg_pull_data = 63, + BPF_FUNC_bind = 64, + BPF_FUNC_xdp_adjust_tail = 65, + BPF_FUNC_skb_get_xfrm_state = 66, + BPF_FUNC_get_stack = 67, + BPF_FUNC_skb_load_bytes_relative = 68, + BPF_FUNC_fib_lookup = 69, + BPF_FUNC_sock_hash_update = 70, + BPF_FUNC_msg_redirect_hash = 71, + BPF_FUNC_sk_redirect_hash = 72, + BPF_FUNC_lwt_push_encap = 73, + BPF_FUNC_lwt_seg6_store_bytes = 74, + BPF_FUNC_lwt_seg6_adjust_srh = 75, + BPF_FUNC_lwt_seg6_action = 76, + BPF_FUNC_rc_repeat = 77, + BPF_FUNC_rc_keydown = 78, + BPF_FUNC_skb_cgroup_id = 79, + BPF_FUNC_get_current_cgroup_id = 80, + BPF_FUNC_get_local_storage = 81, + BPF_FUNC_sk_select_reuseport = 82, + BPF_FUNC_skb_ancestor_cgroup_id = 83, + BPF_FUNC_sk_lookup_tcp = 84, + BPF_FUNC_sk_lookup_udp = 85, + BPF_FUNC_sk_release = 86, + BPF_FUNC_map_push_elem = 87, + BPF_FUNC_map_pop_elem = 88, + BPF_FUNC_map_peek_elem = 89, + BPF_FUNC_msg_push_data = 90, + BPF_FUNC_msg_pop_data = 91, + BPF_FUNC_rc_pointer_rel = 92, + BPF_FUNC_spin_lock = 93, + BPF_FUNC_spin_unlock = 94, + BPF_FUNC_sk_fullsock = 95, + BPF_FUNC_tcp_sock = 96, + BPF_FUNC_skb_ecn_set_ce = 97, + BPF_FUNC_get_listener_sock = 98, + BPF_FUNC_skc_lookup_tcp = 99, + BPF_FUNC_tcp_check_syncookie = 100, + BPF_FUNC_sysctl_get_name = 101, + BPF_FUNC_sysctl_get_current_value = 102, + BPF_FUNC_sysctl_get_new_value = 103, + BPF_FUNC_sysctl_set_new_value = 104, + BPF_FUNC_strtol = 105, + BPF_FUNC_strtoul = 106, + BPF_FUNC_sk_storage_get = 107, + BPF_FUNC_sk_storage_delete = 108, + BPF_FUNC_send_signal = 109, + BPF_FUNC_tcp_gen_syncookie = 110, + BPF_FUNC_skb_output = 111, + BPF_FUNC_probe_read_user = 112, + BPF_FUNC_probe_read_kernel = 113, + BPF_FUNC_probe_read_user_str = 114, + BPF_FUNC_probe_read_kernel_str = 115, + BPF_FUNC_tcp_send_ack = 116, + BPF_FUNC_send_signal_thread = 117, + BPF_FUNC_jiffies64 = 118, + BPF_FUNC_read_branch_records = 119, + BPF_FUNC_get_ns_current_pid_tgid = 120, + BPF_FUNC_xdp_output = 121, + BPF_FUNC_get_netns_cookie = 122, + BPF_FUNC_get_current_ancestor_cgroup_id = 123, + BPF_FUNC_sk_assign = 124, + BPF_FUNC_ktime_get_boot_ns = 125, + BPF_FUNC_seq_printf = 126, + BPF_FUNC_seq_write = 127, + BPF_FUNC_sk_cgroup_id = 128, + BPF_FUNC_sk_ancestor_cgroup_id = 129, + BPF_FUNC_ringbuf_output = 130, + BPF_FUNC_ringbuf_reserve = 131, + BPF_FUNC_ringbuf_submit = 132, + BPF_FUNC_ringbuf_discard = 133, + BPF_FUNC_ringbuf_query = 134, + BPF_FUNC_csum_level = 135, + BPF_FUNC_skc_to_tcp6_sock = 136, + BPF_FUNC_skc_to_tcp_sock = 137, + BPF_FUNC_skc_to_tcp_timewait_sock = 138, + BPF_FUNC_skc_to_tcp_request_sock = 139, + BPF_FUNC_skc_to_udp6_sock = 140, + BPF_FUNC_get_task_stack = 141, + BPF_FUNC_load_hdr_opt = 142, + BPF_FUNC_store_hdr_opt = 143, + BPF_FUNC_reserve_hdr_opt = 144, + BPF_FUNC_inode_storage_get = 145, + BPF_FUNC_inode_storage_delete = 146, + BPF_FUNC_d_path = 147, + BPF_FUNC_copy_from_user = 148, + BPF_FUNC_snprintf_btf = 149, + BPF_FUNC_seq_printf_btf = 150, + BPF_FUNC_skb_cgroup_classid = 151, + BPF_FUNC_redirect_neigh = 152, + BPF_FUNC_per_cpu_ptr = 153, + BPF_FUNC_this_cpu_ptr = 154, + BPF_FUNC_redirect_peer = 155, + BPF_FUNC_task_storage_get = 156, + BPF_FUNC_task_storage_delete = 157, + BPF_FUNC_get_current_task_btf = 158, + BPF_FUNC_bprm_opts_set = 159, + BPF_FUNC_ktime_get_coarse_ns = 160, + BPF_FUNC_ima_inode_hash = 161, + BPF_FUNC_sock_from_file = 162, + BPF_FUNC_check_mtu = 163, + BPF_FUNC_for_each_map_elem = 164, + BPF_FUNC_snprintf = 165, + BPF_FUNC_sys_bpf = 166, + BPF_FUNC_btf_find_by_name_kind = 167, + BPF_FUNC_sys_close = 168, + BPF_FUNC_timer_init = 169, + BPF_FUNC_timer_set_callback = 170, + BPF_FUNC_timer_start = 171, + BPF_FUNC_timer_cancel = 172, + BPF_FUNC_get_func_ip = 173, + BPF_FUNC_get_attach_cookie = 174, + BPF_FUNC_task_pt_regs = 175, + BPF_FUNC_get_branch_snapshot = 176, + BPF_FUNC_trace_vprintk = 177, + BPF_FUNC_skc_to_unix_sock = 178, + BPF_FUNC_kallsyms_lookup_name = 179, + BPF_FUNC_find_vma = 180, + BPF_FUNC_loop = 181, + BPF_FUNC_strncmp = 182, + BPF_FUNC_get_func_arg = 183, + BPF_FUNC_get_func_ret = 184, + BPF_FUNC_get_func_arg_cnt = 185, + BPF_FUNC_get_retval = 186, + BPF_FUNC_set_retval = 187, + BPF_FUNC_xdp_get_buff_len = 188, + BPF_FUNC_xdp_load_bytes = 189, + BPF_FUNC_xdp_store_bytes = 190, + BPF_FUNC_copy_from_user_task = 191, + BPF_FUNC_skb_set_tstamp = 192, + BPF_FUNC_ima_file_hash = 193, + BPF_FUNC_kptr_xchg = 194, + BPF_FUNC_map_lookup_percpu_elem = 195, + BPF_FUNC_skc_to_mptcp_sock = 196, + BPF_FUNC_dynptr_from_mem = 197, + BPF_FUNC_ringbuf_reserve_dynptr = 198, + BPF_FUNC_ringbuf_submit_dynptr = 199, + BPF_FUNC_ringbuf_discard_dynptr = 200, + BPF_FUNC_dynptr_read = 201, + BPF_FUNC_dynptr_write = 202, + BPF_FUNC_dynptr_data = 203, + BPF_FUNC_tcp_raw_gen_syncookie_ipv4 = 204, + BPF_FUNC_tcp_raw_gen_syncookie_ipv6 = 205, + BPF_FUNC_tcp_raw_check_syncookie_ipv4 = 206, + BPF_FUNC_tcp_raw_check_syncookie_ipv6 = 207, + BPF_FUNC_ktime_get_tai_ns = 208, + BPF_FUNC_user_ringbuf_drain = 209, + BPF_FUNC_cgrp_storage_get = 210, + BPF_FUNC_cgrp_storage_delete = 211, + __BPF_FUNC_MAX_ID = 212, +}; + +enum bpf_hdr_start_off { + BPF_HDR_START_MAC = 0, + BPF_HDR_START_NET = 1, +}; + +enum bpf_iter_feature { + BPF_ITER_RESCHED = 1, +}; + +enum bpf_iter_state { + BPF_ITER_STATE_INVALID = 0, + BPF_ITER_STATE_ACTIVE = 1, + BPF_ITER_STATE_DRAINED = 2, +}; + +enum bpf_iter_task_type { + BPF_TASK_ITER_ALL = 0, + BPF_TASK_ITER_TID = 1, + BPF_TASK_ITER_TGID = 2, +}; + +enum bpf_jit_poke_reason { + BPF_POKE_REASON_TAIL_CALL = 0, +}; + +enum bpf_kfunc_flags { + BPF_F_PAD_ZEROS = 1, +}; + +enum bpf_link_type { + BPF_LINK_TYPE_UNSPEC = 0, + BPF_LINK_TYPE_RAW_TRACEPOINT = 1, + BPF_LINK_TYPE_TRACING = 2, + BPF_LINK_TYPE_CGROUP = 3, + BPF_LINK_TYPE_ITER = 4, + BPF_LINK_TYPE_NETNS = 5, + BPF_LINK_TYPE_XDP = 6, + BPF_LINK_TYPE_PERF_EVENT = 7, + BPF_LINK_TYPE_KPROBE_MULTI = 8, + BPF_LINK_TYPE_STRUCT_OPS = 9, + BPF_LINK_TYPE_NETFILTER = 10, + BPF_LINK_TYPE_TCX = 11, + BPF_LINK_TYPE_UPROBE_MULTI = 12, + BPF_LINK_TYPE_NETKIT = 13, + BPF_LINK_TYPE_SOCKMAP = 14, + __MAX_BPF_LINK_TYPE = 15, +}; + +enum bpf_lru_list_type { + BPF_LRU_LIST_T_ACTIVE = 0, + BPF_LRU_LIST_T_INACTIVE = 1, + BPF_LRU_LIST_T_FREE = 2, + BPF_LRU_LOCAL_LIST_T_FREE = 3, + BPF_LRU_LOCAL_LIST_T_PENDING = 4, +}; + +enum bpf_map_type { + BPF_MAP_TYPE_UNSPEC = 0, + BPF_MAP_TYPE_HASH = 1, + BPF_MAP_TYPE_ARRAY = 2, + BPF_MAP_TYPE_PROG_ARRAY = 3, + BPF_MAP_TYPE_PERF_EVENT_ARRAY = 4, + BPF_MAP_TYPE_PERCPU_HASH = 5, + BPF_MAP_TYPE_PERCPU_ARRAY = 6, + BPF_MAP_TYPE_STACK_TRACE = 7, + BPF_MAP_TYPE_CGROUP_ARRAY = 8, + BPF_MAP_TYPE_LRU_HASH = 9, + BPF_MAP_TYPE_LRU_PERCPU_HASH = 10, + BPF_MAP_TYPE_LPM_TRIE = 11, + BPF_MAP_TYPE_ARRAY_OF_MAPS = 12, + BPF_MAP_TYPE_HASH_OF_MAPS = 13, + BPF_MAP_TYPE_DEVMAP = 14, + BPF_MAP_TYPE_SOCKMAP = 15, + BPF_MAP_TYPE_CPUMAP = 16, + BPF_MAP_TYPE_XSKMAP = 17, + BPF_MAP_TYPE_SOCKHASH = 18, + BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED = 19, + BPF_MAP_TYPE_CGROUP_STORAGE = 19, + BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 20, + BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE_DEPRECATED = 21, + BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 21, + BPF_MAP_TYPE_QUEUE = 22, + BPF_MAP_TYPE_STACK = 23, + BPF_MAP_TYPE_SK_STORAGE = 24, + BPF_MAP_TYPE_DEVMAP_HASH = 25, + BPF_MAP_TYPE_STRUCT_OPS = 26, + BPF_MAP_TYPE_RINGBUF = 27, + BPF_MAP_TYPE_INODE_STORAGE = 28, + BPF_MAP_TYPE_TASK_STORAGE = 29, + BPF_MAP_TYPE_BLOOM_FILTER = 30, + BPF_MAP_TYPE_USER_RINGBUF = 31, + BPF_MAP_TYPE_CGRP_STORAGE = 32, + BPF_MAP_TYPE_ARENA = 33, + __MAX_BPF_MAP_TYPE = 34, +}; + +enum bpf_netdev_command { + XDP_SETUP_PROG = 0, + XDP_SETUP_PROG_HW = 1, + BPF_OFFLOAD_MAP_ALLOC = 2, + BPF_OFFLOAD_MAP_FREE = 3, + XDP_SETUP_XSK_POOL = 4, +}; + +enum bpf_perf_event_type { + BPF_PERF_EVENT_UNSPEC = 0, + BPF_PERF_EVENT_UPROBE = 1, + BPF_PERF_EVENT_URETPROBE = 2, + BPF_PERF_EVENT_KPROBE = 3, + BPF_PERF_EVENT_KRETPROBE = 4, + BPF_PERF_EVENT_TRACEPOINT = 5, + BPF_PERF_EVENT_EVENT = 6, +}; + +enum bpf_prog_type { + BPF_PROG_TYPE_UNSPEC = 0, + BPF_PROG_TYPE_SOCKET_FILTER = 1, + BPF_PROG_TYPE_KPROBE = 2, + BPF_PROG_TYPE_SCHED_CLS = 3, + BPF_PROG_TYPE_SCHED_ACT = 4, + BPF_PROG_TYPE_TRACEPOINT = 5, + BPF_PROG_TYPE_XDP = 6, + BPF_PROG_TYPE_PERF_EVENT = 7, + BPF_PROG_TYPE_CGROUP_SKB = 8, + BPF_PROG_TYPE_CGROUP_SOCK = 9, + BPF_PROG_TYPE_LWT_IN = 10, + BPF_PROG_TYPE_LWT_OUT = 11, + BPF_PROG_TYPE_LWT_XMIT = 12, + BPF_PROG_TYPE_SOCK_OPS = 13, + BPF_PROG_TYPE_SK_SKB = 14, + BPF_PROG_TYPE_CGROUP_DEVICE = 15, + BPF_PROG_TYPE_SK_MSG = 16, + BPF_PROG_TYPE_RAW_TRACEPOINT = 17, + BPF_PROG_TYPE_CGROUP_SOCK_ADDR = 18, + BPF_PROG_TYPE_LWT_SEG6LOCAL = 19, + BPF_PROG_TYPE_LIRC_MODE2 = 20, + BPF_PROG_TYPE_SK_REUSEPORT = 21, + BPF_PROG_TYPE_FLOW_DISSECTOR = 22, + BPF_PROG_TYPE_CGROUP_SYSCTL = 23, + BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 24, + BPF_PROG_TYPE_CGROUP_SOCKOPT = 25, + BPF_PROG_TYPE_TRACING = 26, + BPF_PROG_TYPE_STRUCT_OPS = 27, + BPF_PROG_TYPE_EXT = 28, + BPF_PROG_TYPE_LSM = 29, + BPF_PROG_TYPE_SK_LOOKUP = 30, + BPF_PROG_TYPE_SYSCALL = 31, + BPF_PROG_TYPE_NETFILTER = 32, + __MAX_BPF_PROG_TYPE = 33, +}; + +enum bpf_reg_liveness { + REG_LIVE_NONE = 0, + REG_LIVE_READ32 = 1, + REG_LIVE_READ64 = 2, + REG_LIVE_READ = 3, + REG_LIVE_WRITTEN = 4, + REG_LIVE_DONE = 8, +}; + +enum bpf_reg_type { + NOT_INIT = 0, + SCALAR_VALUE = 1, + PTR_TO_CTX = 2, + CONST_PTR_TO_MAP = 3, + PTR_TO_MAP_VALUE = 4, + PTR_TO_MAP_KEY = 5, + PTR_TO_STACK = 6, + PTR_TO_PACKET_META = 7, + PTR_TO_PACKET = 8, + PTR_TO_PACKET_END = 9, + PTR_TO_FLOW_KEYS = 10, + PTR_TO_SOCKET = 11, + PTR_TO_SOCK_COMMON = 12, + PTR_TO_TCP_SOCK = 13, + PTR_TO_TP_BUFFER = 14, + PTR_TO_XDP_SOCK = 15, + PTR_TO_BTF_ID = 16, + PTR_TO_MEM = 17, + PTR_TO_ARENA = 18, + PTR_TO_BUF = 19, + PTR_TO_FUNC = 20, + CONST_PTR_TO_DYNPTR = 21, + __BPF_REG_TYPE_MAX = 22, + PTR_TO_MAP_VALUE_OR_NULL = 260, + PTR_TO_SOCKET_OR_NULL = 267, + PTR_TO_SOCK_COMMON_OR_NULL = 268, + PTR_TO_TCP_SOCK_OR_NULL = 269, + PTR_TO_BTF_ID_OR_NULL = 272, + __BPF_REG_TYPE_LIMIT = 134217727, +}; + +enum bpf_ret_code { + BPF_OK = 0, + BPF_DROP = 2, + BPF_REDIRECT = 7, + BPF_LWT_REROUTE = 128, + BPF_FLOW_DISSECTOR_CONTINUE = 129, +}; + +enum bpf_return_type { + RET_INTEGER = 0, + RET_VOID = 1, + RET_PTR_TO_MAP_VALUE = 2, + RET_PTR_TO_SOCKET = 3, + RET_PTR_TO_TCP_SOCK = 4, + RET_PTR_TO_SOCK_COMMON = 5, + RET_PTR_TO_MEM = 6, + RET_PTR_TO_MEM_OR_BTF_ID = 7, + RET_PTR_TO_BTF_ID = 8, + __BPF_RET_TYPE_MAX = 9, + RET_PTR_TO_MAP_VALUE_OR_NULL = 258, + RET_PTR_TO_SOCKET_OR_NULL = 259, + RET_PTR_TO_TCP_SOCK_OR_NULL = 260, + RET_PTR_TO_SOCK_COMMON_OR_NULL = 261, + RET_PTR_TO_RINGBUF_MEM_OR_NULL = 1286, + RET_PTR_TO_DYNPTR_MEM_OR_NULL = 262, + RET_PTR_TO_BTF_ID_OR_NULL = 264, + RET_PTR_TO_BTF_ID_TRUSTED = 1048584, + __BPF_RET_TYPE_LIMIT = 134217727, +}; + +enum bpf_stack_build_id_status { + BPF_STACK_BUILD_ID_EMPTY = 0, + BPF_STACK_BUILD_ID_VALID = 1, + BPF_STACK_BUILD_ID_IP = 2, +}; + +enum bpf_stack_slot_type { + STACK_INVALID = 0, + STACK_SPILL = 1, + STACK_MISC = 2, + STACK_ZERO = 3, + STACK_DYNPTR = 4, + STACK_ITER = 5, + STACK_IRQ_FLAG = 6, +}; + +enum bpf_stats_type { + BPF_STATS_RUN_TIME = 0, +}; + +enum bpf_struct_ops_state { + BPF_STRUCT_OPS_STATE_INIT = 0, + BPF_STRUCT_OPS_STATE_INUSE = 1, + BPF_STRUCT_OPS_STATE_TOBEFREE = 2, + BPF_STRUCT_OPS_STATE_READY = 3, +}; + +enum bpf_struct_walk_result { + WALK_SCALAR = 0, + WALK_PTR = 1, + WALK_STRUCT = 2, +}; + +enum bpf_task_fd_type { + BPF_FD_TYPE_RAW_TRACEPOINT = 0, + BPF_FD_TYPE_TRACEPOINT = 1, + BPF_FD_TYPE_KPROBE = 2, + BPF_FD_TYPE_KRETPROBE = 3, + BPF_FD_TYPE_UPROBE = 4, + BPF_FD_TYPE_URETPROBE = 5, +}; + +enum bpf_task_vma_iter_find_op { + task_vma_iter_first_vma = 0, + task_vma_iter_next_vma = 1, + task_vma_iter_find_vma = 2, +}; + +enum bpf_text_poke_type { + BPF_MOD_CALL = 0, + BPF_MOD_JUMP = 1, +}; + +enum bpf_tramp_prog_type { + BPF_TRAMP_FENTRY = 0, + BPF_TRAMP_FEXIT = 1, + BPF_TRAMP_MODIFY_RETURN = 2, + BPF_TRAMP_MAX = 3, + BPF_TRAMP_REPLACE = 4, +}; + +enum bpf_type { + BPF_TYPE_UNSPEC = 0, + BPF_TYPE_PROG = 1, + BPF_TYPE_MAP = 2, + BPF_TYPE_LINK = 3, +}; + +enum bpf_type_flag { + PTR_MAYBE_NULL = 256, + MEM_RDONLY = 512, + MEM_RINGBUF = 1024, + MEM_USER = 2048, + MEM_PERCPU = 4096, + OBJ_RELEASE = 8192, + PTR_UNTRUSTED = 16384, + MEM_UNINIT = 32768, + DYNPTR_TYPE_LOCAL = 65536, + DYNPTR_TYPE_RINGBUF = 131072, + MEM_FIXED_SIZE = 262144, + MEM_ALLOC = 524288, + PTR_TRUSTED = 1048576, + MEM_RCU = 2097152, + NON_OWN_REF = 4194304, + DYNPTR_TYPE_SKB = 8388608, + DYNPTR_TYPE_XDP = 16777216, + MEM_ALIGNED = 33554432, + MEM_WRITE = 67108864, + __BPF_TYPE_FLAG_MAX = 67108865, + __BPF_TYPE_LAST_FLAG = 67108864, +}; + +enum bpf_xdp_mode { + XDP_MODE_SKB = 0, + XDP_MODE_DRV = 1, + XDP_MODE_HW = 2, + __MAX_XDP_MODE = 3, +}; + +enum btf_arg_tag { + ARG_TAG_CTX = 1, + ARG_TAG_NONNULL = 2, + ARG_TAG_TRUSTED = 4, + ARG_TAG_NULLABLE = 8, + ARG_TAG_ARENA = 16, +}; + +enum btf_field_iter_kind { + BTF_FIELD_ITER_IDS = 0, + BTF_FIELD_ITER_STRS = 1, +}; + +enum btf_field_type { + BPF_SPIN_LOCK = 1, + BPF_TIMER = 2, + BPF_KPTR_UNREF = 4, + BPF_KPTR_REF = 8, + BPF_KPTR_PERCPU = 16, + BPF_KPTR = 28, + BPF_LIST_HEAD = 32, + BPF_LIST_NODE = 64, + BPF_RB_ROOT = 128, + BPF_RB_NODE = 256, + BPF_GRAPH_NODE = 320, + BPF_GRAPH_ROOT = 160, + BPF_REFCOUNT = 512, + BPF_WORKQUEUE = 1024, + BPF_UPTR = 2048, +}; + +enum btf_func_linkage { + BTF_FUNC_STATIC = 0, + BTF_FUNC_GLOBAL = 1, + BTF_FUNC_EXTERN = 2, +}; + +enum btf_kfunc_hook { + BTF_KFUNC_HOOK_COMMON = 0, + BTF_KFUNC_HOOK_XDP = 1, + BTF_KFUNC_HOOK_TC = 2, + BTF_KFUNC_HOOK_STRUCT_OPS = 3, + BTF_KFUNC_HOOK_TRACING = 4, + BTF_KFUNC_HOOK_SYSCALL = 5, + BTF_KFUNC_HOOK_FMODRET = 6, + BTF_KFUNC_HOOK_CGROUP = 7, + BTF_KFUNC_HOOK_SCHED_ACT = 8, + BTF_KFUNC_HOOK_SK_SKB = 9, + BTF_KFUNC_HOOK_SOCKET_FILTER = 10, + BTF_KFUNC_HOOK_LWT = 11, + BTF_KFUNC_HOOK_NETFILTER = 12, + BTF_KFUNC_HOOK_KPROBE = 13, + BTF_KFUNC_HOOK_MAX = 14, +}; + +enum bug_trap_type { + BUG_TRAP_TYPE_NONE = 0, + BUG_TRAP_TYPE_WARN = 1, + BUG_TRAP_TYPE_BUG = 2, +}; + +enum bus_notifier_event { + BUS_NOTIFY_ADD_DEVICE = 0, + BUS_NOTIFY_DEL_DEVICE = 1, + BUS_NOTIFY_REMOVED_DEVICE = 2, + BUS_NOTIFY_BIND_DRIVER = 3, + BUS_NOTIFY_BOUND_DRIVER = 4, + BUS_NOTIFY_UNBIND_DRIVER = 5, + BUS_NOTIFY_UNBOUND_DRIVER = 6, + BUS_NOTIFY_DRIVER_NOT_BOUND = 7, +}; + +enum cache_type { + CACHE_TYPE_NOCACHE = 0, + CACHE_TYPE_INST = 1, + CACHE_TYPE_DATA = 2, + CACHE_TYPE_SEPARATE = 3, + CACHE_TYPE_UNIFIED = 4, +}; + +enum chacha_constants { + CHACHA_CONSTANT_EXPA = 1634760805, + CHACHA_CONSTANT_ND_3 = 857760878, + CHACHA_CONSTANT_2_BY = 2036477234, + CHACHA_CONSTANT_TE_K = 1797285236, +}; + +enum cleanup_prefix_rt_t { + CLEANUP_PREFIX_RT_NOP = 0, + CLEANUP_PREFIX_RT_DEL = 1, + CLEANUP_PREFIX_RT_EXPIRE = 2, +}; + +enum clock_event_state { + CLOCK_EVT_STATE_DETACHED = 0, + CLOCK_EVT_STATE_SHUTDOWN = 1, + CLOCK_EVT_STATE_PERIODIC = 2, + CLOCK_EVT_STATE_ONESHOT = 3, + CLOCK_EVT_STATE_ONESHOT_STOPPED = 4, +}; + +enum clocksource_ids { + CSID_GENERIC = 0, + CSID_ARM_ARCH_COUNTER = 1, + CSID_S390_TOD = 2, + CSID_X86_TSC_EARLY = 3, + CSID_X86_TSC = 4, + CSID_X86_KVM_CLK = 5, + CSID_X86_ART = 6, + CSID_MAX = 7, +}; + +enum cmis_cdb_fw_write_mechanism { + CMIS_CDB_FW_WRITE_MECHANISM_NONE = 0, + CMIS_CDB_FW_WRITE_MECHANISM_LPL = 1, + CMIS_CDB_FW_WRITE_MECHANISM_EPL = 16, + CMIS_CDB_FW_WRITE_MECHANISM_BOTH = 17, +}; + +enum compact_priority { + COMPACT_PRIO_SYNC_FULL = 0, + MIN_COMPACT_PRIORITY = 0, + COMPACT_PRIO_SYNC_LIGHT = 1, + MIN_COMPACT_COSTLY_PRIORITY = 1, + DEF_COMPACT_PRIORITY = 1, + COMPACT_PRIO_ASYNC = 2, + INIT_COMPACT_PRIORITY = 2, +}; + +enum compact_result { + COMPACT_NOT_SUITABLE_ZONE = 0, + COMPACT_SKIPPED = 1, + COMPACT_DEFERRED = 2, + COMPACT_NO_SUITABLE_PAGE = 3, + COMPACT_CONTINUE = 4, + COMPACT_COMPLETE = 5, + COMPACT_PARTIAL_SKIPPED = 6, + COMPACT_CONTENDED = 7, + COMPACT_SUCCESS = 8, +}; + +enum con_flush_mode { + CONSOLE_FLUSH_PENDING = 0, + CONSOLE_REPLAY_ALL = 1, +}; + +enum con_msg_format_flags { + MSG_FORMAT_DEFAULT = 0, + MSG_FORMAT_SYSLOG = 1, +}; + +enum cons_flags { + CON_PRINTBUFFER = 1, + CON_CONSDEV = 2, + CON_ENABLED = 4, + CON_BOOT = 8, + CON_ANYTIME = 16, + CON_BRL = 32, + CON_EXTENDED = 64, + CON_SUSPENDED = 128, + CON_NBCON = 256, +}; + +enum cpio_fields { + C_MAGIC = 0, + C_INO = 1, + C_MODE = 2, + C_UID = 3, + C_GID = 4, + C_NLINK = 5, + C_MTIME = 6, + C_FILESIZE = 7, + C_MAJ = 8, + C_MIN = 9, + C_RMAJ = 10, + C_RMIN = 11, + C_NAMESIZE = 12, + C_CHKSUM = 13, + C_NFIELDS = 14, +}; + +enum cpu_led_event { + CPU_LED_IDLE_START = 0, + CPU_LED_IDLE_END = 1, + CPU_LED_START = 2, + CPU_LED_STOP = 3, + CPU_LED_HALTED = 4, +}; + +enum cpu_mitigations { + CPU_MITIGATIONS_OFF = 0, + CPU_MITIGATIONS_AUTO = 1, + CPU_MITIGATIONS_AUTO_NOSMT = 2, +}; + +enum cpu_usage_stat { + CPUTIME_USER = 0, + CPUTIME_NICE = 1, + CPUTIME_SYSTEM = 2, + CPUTIME_SOFTIRQ = 3, + CPUTIME_IRQ = 4, + CPUTIME_IDLE = 5, + CPUTIME_IOWAIT = 6, + CPUTIME_STEAL = 7, + CPUTIME_GUEST = 8, + CPUTIME_GUEST_NICE = 9, + NR_STATS = 10, +}; + +enum cpufreq_table_sorting { + CPUFREQ_TABLE_UNSORTED = 0, + CPUFREQ_TABLE_SORTED_ASCENDING = 1, + CPUFREQ_TABLE_SORTED_DESCENDING = 2, +}; + +enum cpuhp_state { + CPUHP_INVALID = -1, + CPUHP_OFFLINE = 0, + CPUHP_CREATE_THREADS = 1, + CPUHP_PERF_PREPARE = 2, + CPUHP_PERF_X86_PREPARE = 3, + CPUHP_PERF_X86_AMD_UNCORE_PREP = 4, + CPUHP_PERF_POWER = 5, + CPUHP_PERF_SUPERH = 6, + CPUHP_X86_HPET_DEAD = 7, + CPUHP_X86_MCE_DEAD = 8, + CPUHP_VIRT_NET_DEAD = 9, + CPUHP_IBMVNIC_DEAD = 10, + CPUHP_SLUB_DEAD = 11, + CPUHP_DEBUG_OBJ_DEAD = 12, + CPUHP_MM_WRITEBACK_DEAD = 13, + CPUHP_MM_VMSTAT_DEAD = 14, + CPUHP_SOFTIRQ_DEAD = 15, + CPUHP_NET_MVNETA_DEAD = 16, + CPUHP_CPUIDLE_DEAD = 17, + CPUHP_ARM64_FPSIMD_DEAD = 18, + CPUHP_ARM_OMAP_WAKE_DEAD = 19, + CPUHP_IRQ_POLL_DEAD = 20, + CPUHP_BLOCK_SOFTIRQ_DEAD = 21, + CPUHP_BIO_DEAD = 22, + CPUHP_ACPI_CPUDRV_DEAD = 23, + CPUHP_S390_PFAULT_DEAD = 24, + CPUHP_BLK_MQ_DEAD = 25, + CPUHP_FS_BUFF_DEAD = 26, + CPUHP_PRINTK_DEAD = 27, + CPUHP_MM_MEMCQ_DEAD = 28, + CPUHP_PERCPU_CNT_DEAD = 29, + CPUHP_RADIX_DEAD = 30, + CPUHP_PAGE_ALLOC = 31, + CPUHP_NET_DEV_DEAD = 32, + CPUHP_PCI_XGENE_DEAD = 33, + CPUHP_IOMMU_IOVA_DEAD = 34, + CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 35, + CPUHP_PADATA_DEAD = 36, + CPUHP_AP_DTPM_CPU_DEAD = 37, + CPUHP_RANDOM_PREPARE = 38, + CPUHP_WORKQUEUE_PREP = 39, + CPUHP_POWER_NUMA_PREPARE = 40, + CPUHP_HRTIMERS_PREPARE = 41, + CPUHP_X2APIC_PREPARE = 42, + CPUHP_SMPCFD_PREPARE = 43, + CPUHP_RELAY_PREPARE = 44, + CPUHP_MD_RAID5_PREPARE = 45, + CPUHP_RCUTREE_PREP = 46, + CPUHP_CPUIDLE_COUPLED_PREPARE = 47, + CPUHP_POWERPC_PMAC_PREPARE = 48, + CPUHP_POWERPC_MMU_CTX_PREPARE = 49, + CPUHP_XEN_PREPARE = 50, + CPUHP_XEN_EVTCHN_PREPARE = 51, + CPUHP_ARM_SHMOBILE_SCU_PREPARE = 52, + CPUHP_SH_SH3X_PREPARE = 53, + CPUHP_TOPOLOGY_PREPARE = 54, + CPUHP_NET_IUCV_PREPARE = 55, + CPUHP_ARM_BL_PREPARE = 56, + CPUHP_TRACE_RB_PREPARE = 57, + CPUHP_MM_ZS_PREPARE = 58, + CPUHP_MM_ZSWP_POOL_PREPARE = 59, + CPUHP_KVM_PPC_BOOK3S_PREPARE = 60, + CPUHP_ZCOMP_PREPARE = 61, + CPUHP_TIMERS_PREPARE = 62, + CPUHP_TMIGR_PREPARE = 63, + CPUHP_MIPS_SOC_PREPARE = 64, + CPUHP_BP_PREPARE_DYN = 65, + CPUHP_BP_PREPARE_DYN_END = 85, + CPUHP_BP_KICK_AP = 86, + CPUHP_BRINGUP_CPU = 87, + CPUHP_AP_IDLE_DEAD = 88, + CPUHP_AP_OFFLINE = 89, + CPUHP_AP_CACHECTRL_STARTING = 90, + CPUHP_AP_SCHED_STARTING = 91, + CPUHP_AP_RCUTREE_DYING = 92, + CPUHP_AP_CPU_PM_STARTING = 93, + CPUHP_AP_IRQ_GIC_STARTING = 94, + CPUHP_AP_IRQ_HIP04_STARTING = 95, + CPUHP_AP_IRQ_APPLE_AIC_STARTING = 96, + CPUHP_AP_IRQ_ARMADA_XP_STARTING = 97, + CPUHP_AP_IRQ_BCM2836_STARTING = 98, + CPUHP_AP_IRQ_MIPS_GIC_STARTING = 99, + CPUHP_AP_IRQ_EIOINTC_STARTING = 100, + CPUHP_AP_IRQ_AVECINTC_STARTING = 101, + CPUHP_AP_IRQ_SIFIVE_PLIC_STARTING = 102, + CPUHP_AP_IRQ_THEAD_ACLINT_SSWI_STARTING = 103, + CPUHP_AP_IRQ_RISCV_IMSIC_STARTING = 104, + CPUHP_AP_IRQ_RISCV_SBI_IPI_STARTING = 105, + CPUHP_AP_ARM_MVEBU_COHERENCY = 106, + CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 107, + CPUHP_AP_PERF_X86_STARTING = 108, + CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 109, + CPUHP_AP_PERF_XTENSA_STARTING = 110, + CPUHP_AP_ARM_VFP_STARTING = 111, + CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 112, + CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 113, + CPUHP_AP_PERF_ARM_ACPI_STARTING = 114, + CPUHP_AP_PERF_ARM_STARTING = 115, + CPUHP_AP_PERF_RISCV_STARTING = 116, + CPUHP_AP_ARM_L2X0_STARTING = 117, + CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 118, + CPUHP_AP_ARM_ARCH_TIMER_STARTING = 119, + CPUHP_AP_ARM_ARCH_TIMER_EVTSTRM_STARTING = 120, + CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 121, + CPUHP_AP_JCORE_TIMER_STARTING = 122, + CPUHP_AP_ARM_TWD_STARTING = 123, + CPUHP_AP_QCOM_TIMER_STARTING = 124, + CPUHP_AP_TEGRA_TIMER_STARTING = 125, + CPUHP_AP_ARMADA_TIMER_STARTING = 126, + CPUHP_AP_MIPS_GIC_TIMER_STARTING = 127, + CPUHP_AP_ARC_TIMER_STARTING = 128, + CPUHP_AP_REALTEK_TIMER_STARTING = 129, + CPUHP_AP_RISCV_TIMER_STARTING = 130, + CPUHP_AP_CLINT_TIMER_STARTING = 131, + CPUHP_AP_CSKY_TIMER_STARTING = 132, + CPUHP_AP_TI_GP_TIMER_STARTING = 133, + CPUHP_AP_HYPERV_TIMER_STARTING = 134, + CPUHP_AP_DUMMY_TIMER_STARTING = 135, + CPUHP_AP_ARM_XEN_STARTING = 136, + CPUHP_AP_ARM_XEN_RUNSTATE_STARTING = 137, + CPUHP_AP_ARM_CORESIGHT_STARTING = 138, + CPUHP_AP_ARM_CORESIGHT_CTI_STARTING = 139, + CPUHP_AP_ARM64_ISNDEP_STARTING = 140, + CPUHP_AP_SMPCFD_DYING = 141, + CPUHP_AP_HRTIMERS_DYING = 142, + CPUHP_AP_TICK_DYING = 143, + CPUHP_AP_X86_TBOOT_DYING = 144, + CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 145, + CPUHP_AP_ONLINE = 146, + CPUHP_TEARDOWN_CPU = 147, + CPUHP_AP_ONLINE_IDLE = 148, + CPUHP_AP_HYPERV_ONLINE = 149, + CPUHP_AP_KVM_ONLINE = 150, + CPUHP_AP_SCHED_WAIT_EMPTY = 151, + CPUHP_AP_SMPBOOT_THREADS = 152, + CPUHP_AP_IRQ_AFFINITY_ONLINE = 153, + CPUHP_AP_BLK_MQ_ONLINE = 154, + CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 155, + CPUHP_AP_X86_INTEL_EPB_ONLINE = 156, + CPUHP_AP_PERF_ONLINE = 157, + CPUHP_AP_PERF_X86_ONLINE = 158, + CPUHP_AP_PERF_X86_UNCORE_ONLINE = 159, + CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 160, + CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 161, + CPUHP_AP_PERF_S390_CF_ONLINE = 162, + CPUHP_AP_PERF_S390_SF_ONLINE = 163, + CPUHP_AP_PERF_ARM_CCI_ONLINE = 164, + CPUHP_AP_PERF_ARM_CCN_ONLINE = 165, + CPUHP_AP_PERF_ARM_HISI_CPA_ONLINE = 166, + CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 167, + CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 168, + CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 169, + CPUHP_AP_PERF_ARM_HISI_PA_ONLINE = 170, + CPUHP_AP_PERF_ARM_HISI_SLLC_ONLINE = 171, + CPUHP_AP_PERF_ARM_HISI_PCIE_PMU_ONLINE = 172, + CPUHP_AP_PERF_ARM_HNS3_PMU_ONLINE = 173, + CPUHP_AP_PERF_ARM_L2X0_ONLINE = 174, + CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 175, + CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 176, + CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 177, + CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 178, + CPUHP_AP_PERF_ARM_MARVELL_CN10K_DDR_ONLINE = 179, + CPUHP_AP_PERF_ARM_MRVL_PEM_ONLINE = 180, + CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 181, + CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 182, + CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 183, + CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 184, + CPUHP_AP_PERF_POWERPC_HV_24x7_ONLINE = 185, + CPUHP_AP_PERF_POWERPC_HV_GPCI_ONLINE = 186, + CPUHP_AP_PERF_CSKY_ONLINE = 187, + CPUHP_AP_TMIGR_ONLINE = 188, + CPUHP_AP_WATCHDOG_ONLINE = 189, + CPUHP_AP_WORKQUEUE_ONLINE = 190, + CPUHP_AP_RANDOM_ONLINE = 191, + CPUHP_AP_RCUTREE_ONLINE = 192, + CPUHP_AP_KTHREADS_ONLINE = 193, + CPUHP_AP_BASE_CACHEINFO_ONLINE = 194, + CPUHP_AP_ONLINE_DYN = 195, + CPUHP_AP_ONLINE_DYN_END = 235, + CPUHP_AP_X86_HPET_ONLINE = 236, + CPUHP_AP_X86_KVM_CLK_ONLINE = 237, + CPUHP_AP_ACTIVE = 238, + CPUHP_ONLINE = 239, +}; + +enum ctx_state { + CT_STATE_DISABLED = -1, + CT_STATE_KERNEL = 0, + CT_STATE_IDLE = 1, + CT_STATE_USER = 2, + CT_STATE_GUEST = 3, + CT_STATE_MAX = 4, +}; + +enum d_real_type { + D_REAL_DATA = 0, + D_REAL_METADATA = 1, +}; + +enum d_walk_ret { + D_WALK_CONTINUE = 0, + D_WALK_QUIT = 1, + D_WALK_NORETRY = 2, + D_WALK_SKIP = 3, +}; + +enum dccp_state { + DCCP_OPEN = 1, + DCCP_REQUESTING = 2, + DCCP_LISTEN = 10, + DCCP_RESPOND = 3, + DCCP_ACTIVE_CLOSEREQ = 4, + DCCP_PASSIVE_CLOSE = 8, + DCCP_CLOSING = 11, + DCCP_TIME_WAIT = 6, + DCCP_CLOSED = 7, + DCCP_NEW_SYN_RECV = 12, + DCCP_PARTOPEN = 14, + DCCP_PASSIVE_CLOSEREQ = 15, + DCCP_MAX_STATES = 16, +}; + +enum decode_reg_type { + REG_TYPE_NONE = 0, + REG_TYPE_ANY = 1, + REG_TYPE_SAMEAS16 = 2, + REG_TYPE_SP = 3, + REG_TYPE_PC = 4, + REG_TYPE_NOSP = 5, + REG_TYPE_NOSPPC = 6, + REG_TYPE_NOPC = 7, + REG_TYPE_NOPCWB = 8, + REG_TYPE_NOPCX = 9, + REG_TYPE_NOSPPCX = 10, + REG_TYPE_0 = 0, +}; + +enum decode_type { + DECODE_TYPE_END = 0, + DECODE_TYPE_TABLE = 1, + DECODE_TYPE_CUSTOM = 2, + DECODE_TYPE_SIMULATE = 3, + DECODE_TYPE_EMULATE = 4, + DECODE_TYPE_OR = 5, + DECODE_TYPE_REJECT = 6, + NUM_DECODE_TYPES = 7, +}; + +enum dentry_d_lock_class { + DENTRY_D_LOCK_NORMAL = 0, + DENTRY_D_LOCK_NESTED = 1, +}; + +enum dev_dma_attr { + DEV_DMA_NOT_SUPPORTED = 0, + DEV_DMA_NON_COHERENT = 1, + DEV_DMA_COHERENT = 2, +}; + +enum dev_pm_qos_req_type { + DEV_PM_QOS_RESUME_LATENCY = 1, + DEV_PM_QOS_LATENCY_TOLERANCE = 2, + DEV_PM_QOS_MIN_FREQUENCY = 3, + DEV_PM_QOS_MAX_FREQUENCY = 4, + DEV_PM_QOS_FLAGS = 5, +}; + +enum dev_prop_type { + DEV_PROP_U8 = 0, + DEV_PROP_U16 = 1, + DEV_PROP_U32 = 2, + DEV_PROP_U64 = 3, + DEV_PROP_STRING = 4, + DEV_PROP_REF = 5, +}; + +enum device_link_state { + DL_STATE_NONE = -1, + DL_STATE_DORMANT = 0, + DL_STATE_AVAILABLE = 1, + DL_STATE_CONSUMER_PROBE = 2, + DL_STATE_ACTIVE = 3, + DL_STATE_SUPPLIER_UNBIND = 4, +}; + +enum device_physical_location_horizontal_position { + DEVICE_HORI_POS_LEFT = 0, + DEVICE_HORI_POS_CENTER = 1, + DEVICE_HORI_POS_RIGHT = 2, +}; + +enum device_physical_location_panel { + DEVICE_PANEL_TOP = 0, + DEVICE_PANEL_BOTTOM = 1, + DEVICE_PANEL_LEFT = 2, + DEVICE_PANEL_RIGHT = 3, + DEVICE_PANEL_FRONT = 4, + DEVICE_PANEL_BACK = 5, + DEVICE_PANEL_UNKNOWN = 6, +}; + +enum device_physical_location_vertical_position { + DEVICE_VERT_POS_UPPER = 0, + DEVICE_VERT_POS_CENTER = 1, + DEVICE_VERT_POS_LOWER = 2, +}; + +enum device_removable { + DEVICE_REMOVABLE_NOT_SUPPORTED = 0, + DEVICE_REMOVABLE_UNKNOWN = 1, + DEVICE_FIXED = 2, + DEVICE_REMOVABLE = 3, +}; + +enum devkmsg_log_bits { + __DEVKMSG_LOG_BIT_ON = 0, + __DEVKMSG_LOG_BIT_OFF = 1, + __DEVKMSG_LOG_BIT_LOCK = 2, +}; + +enum devkmsg_log_masks { + DEVKMSG_LOG_MASK_ON = 1, + DEVKMSG_LOG_MASK_OFF = 2, + DEVKMSG_LOG_MASK_LOCK = 4, +}; + +enum devlink_port_flavour { + DEVLINK_PORT_FLAVOUR_PHYSICAL = 0, + DEVLINK_PORT_FLAVOUR_CPU = 1, + DEVLINK_PORT_FLAVOUR_DSA = 2, + DEVLINK_PORT_FLAVOUR_PCI_PF = 3, + DEVLINK_PORT_FLAVOUR_PCI_VF = 4, + DEVLINK_PORT_FLAVOUR_VIRTUAL = 5, + DEVLINK_PORT_FLAVOUR_UNUSED = 6, + DEVLINK_PORT_FLAVOUR_PCI_SF = 7, +}; + +enum devlink_port_fn_opstate { + DEVLINK_PORT_FN_OPSTATE_DETACHED = 0, + DEVLINK_PORT_FN_OPSTATE_ATTACHED = 1, +}; + +enum devlink_port_fn_state { + DEVLINK_PORT_FN_STATE_INACTIVE = 0, + DEVLINK_PORT_FN_STATE_ACTIVE = 1, +}; + +enum devlink_port_type { + DEVLINK_PORT_TYPE_NOTSET = 0, + DEVLINK_PORT_TYPE_AUTO = 1, + DEVLINK_PORT_TYPE_ETH = 2, + DEVLINK_PORT_TYPE_IB = 3, +}; + +enum devlink_rate_type { + DEVLINK_RATE_TYPE_LEAF = 0, + DEVLINK_RATE_TYPE_NODE = 1, +}; + +enum devm_ioremap_type { + DEVM_IOREMAP = 0, + DEVM_IOREMAP_UC = 1, + DEVM_IOREMAP_WC = 2, + DEVM_IOREMAP_NP = 3, +}; + +enum die_val { + DIE_UNUSED = 0, + DIE_OOPS = 1, +}; + +enum dim_cq_period_mode { + DIM_CQ_PERIOD_MODE_START_FROM_EQE = 0, + DIM_CQ_PERIOD_MODE_START_FROM_CQE = 1, + DIM_CQ_PERIOD_NUM_MODES = 2, +}; + +enum dim_state { + DIM_START_MEASURE = 0, + DIM_MEASURE_IN_PROGRESS = 1, + DIM_APPLY_NEW_PROFILE = 2, +}; + +enum dim_stats_state { + DIM_STATS_WORSE = 0, + DIM_STATS_SAME = 1, + DIM_STATS_BETTER = 2, +}; + +enum dim_step_result { + DIM_STEPPED = 0, + DIM_TOO_TIRED = 1, + DIM_ON_EDGE = 2, +}; + +enum dim_tune_state { + DIM_PARKING_ON_TOP = 0, + DIM_PARKING_TIRED = 1, + DIM_GOING_RIGHT = 2, + DIM_GOING_LEFT = 3, +}; + +enum dl_dev_state { + DL_DEV_NO_DRIVER = 0, + DL_DEV_PROBING = 1, + DL_DEV_DRIVER_BOUND = 2, + DL_DEV_UNBINDING = 3, +}; + +enum dma_data_direction { + DMA_BIDIRECTIONAL = 0, + DMA_TO_DEVICE = 1, + DMA_FROM_DEVICE = 2, + DMA_NONE = 3, +}; + +enum dma_transaction_type { + DMA_MEMCPY = 0, + DMA_XOR = 1, + DMA_PQ = 2, + DMA_XOR_VAL = 3, + DMA_PQ_VAL = 4, + DMA_MEMSET = 5, + DMA_MEMSET_SG = 6, + DMA_INTERRUPT = 7, + DMA_PRIVATE = 8, + DMA_ASYNC_TX = 9, + DMA_SLAVE = 10, + DMA_CYCLIC = 11, + DMA_INTERLEAVE = 12, + DMA_COMPLETION_NO_ORDER = 13, + DMA_REPEAT = 14, + DMA_LOAD_EOT = 15, + DMA_TX_TYPE_END = 16, +}; + +enum dpm_order { + DPM_ORDER_NONE = 0, + DPM_ORDER_DEV_AFTER_PARENT = 1, + DPM_ORDER_PARENT_BEFORE_DEV = 2, + DPM_ORDER_DEV_LAST = 3, +}; + +enum dynevent_type { + DYNEVENT_TYPE_SYNTH = 1, + DYNEVENT_TYPE_KPROBE = 2, + DYNEVENT_TYPE_NONE = 3, +}; + +enum error_detector { + ERROR_DETECTOR_KFENCE = 0, + ERROR_DETECTOR_KASAN = 1, + ERROR_DETECTOR_WARN = 2, +}; + +enum ethnl_sock_type { + ETHTOOL_SOCK_TYPE_MODULE_FW_FLASH = 0, +}; + +enum ethtool_c33_pse_admin_state { + ETHTOOL_C33_PSE_ADMIN_STATE_UNKNOWN = 1, + ETHTOOL_C33_PSE_ADMIN_STATE_DISABLED = 2, + ETHTOOL_C33_PSE_ADMIN_STATE_ENABLED = 3, +}; + +enum ethtool_c33_pse_ext_state { + ETHTOOL_C33_PSE_EXT_STATE_ERROR_CONDITION = 1, + ETHTOOL_C33_PSE_EXT_STATE_MR_MPS_VALID = 2, + ETHTOOL_C33_PSE_EXT_STATE_MR_PSE_ENABLE = 3, + ETHTOOL_C33_PSE_EXT_STATE_OPTION_DETECT_TED = 4, + ETHTOOL_C33_PSE_EXT_STATE_OPTION_VPORT_LIM = 5, + ETHTOOL_C33_PSE_EXT_STATE_OVLD_DETECTED = 6, + ETHTOOL_C33_PSE_EXT_STATE_PD_DLL_POWER_TYPE = 7, + ETHTOOL_C33_PSE_EXT_STATE_POWER_NOT_AVAILABLE = 8, + ETHTOOL_C33_PSE_EXT_STATE_SHORT_DETECTED = 9, +}; + +enum ethtool_c33_pse_ext_substate_error_condition { + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_NON_EXISTING_PORT = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_UNDEFINED_PORT = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_INTERNAL_HW_FAULT = 3, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_COMM_ERROR_AFTER_FORCE_ON = 4, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_UNKNOWN_PORT_STATUS = 5, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_HOST_CRASH_TURN_OFF = 6, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_HOST_CRASH_FORCE_SHUTDOWN = 7, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_CONFIG_CHANGE = 8, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_DETECTED_OVER_TEMP = 9, +}; + +enum ethtool_c33_pse_ext_substate_mr_pse_enable { + ETHTOOL_C33_PSE_EXT_SUBSTATE_MR_PSE_ENABLE_DISABLE_PIN_ACTIVE = 1, +}; + +enum ethtool_c33_pse_ext_substate_option_detect_ted { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_DETECT_TED_DET_IN_PROCESS = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_DETECT_TED_CONNECTION_CHECK_ERROR = 2, +}; + +enum ethtool_c33_pse_ext_substate_option_vport_lim { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_HIGH_VOLTAGE = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_LOW_VOLTAGE = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_VOLTAGE_INJECTION = 3, +}; + +enum ethtool_c33_pse_ext_substate_ovld_detected { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OVLD_DETECTED_OVERLOAD = 1, +}; + +enum ethtool_c33_pse_ext_substate_power_not_available { + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_BUDGET_EXCEEDED = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_PORT_PW_LIMIT_EXCEEDS_CONTROLLER_BUDGET = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_PD_REQUEST_EXCEEDS_PORT_LIMIT = 3, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_HW_PW_LIMIT = 4, +}; + +enum ethtool_c33_pse_ext_substate_short_detected { + ETHTOOL_C33_PSE_EXT_SUBSTATE_SHORT_DETECTED_SHORT_CONDITION = 1, +}; + +enum ethtool_c33_pse_pw_d_status { + ETHTOOL_C33_PSE_PW_D_STATUS_UNKNOWN = 1, + ETHTOOL_C33_PSE_PW_D_STATUS_DISABLED = 2, + ETHTOOL_C33_PSE_PW_D_STATUS_SEARCHING = 3, + ETHTOOL_C33_PSE_PW_D_STATUS_DELIVERING = 4, + ETHTOOL_C33_PSE_PW_D_STATUS_TEST = 5, + ETHTOOL_C33_PSE_PW_D_STATUS_FAULT = 6, + ETHTOOL_C33_PSE_PW_D_STATUS_OTHERFAULT = 7, +}; + +enum ethtool_cmis_cdb_cmd_id { + ETHTOOL_CMIS_CDB_CMD_QUERY_STATUS = 0, + ETHTOOL_CMIS_CDB_CMD_MODULE_FEATURES = 64, + ETHTOOL_CMIS_CDB_CMD_FW_MANAGMENT_FEATURES = 65, + ETHTOOL_CMIS_CDB_CMD_START_FW_DOWNLOAD = 257, + ETHTOOL_CMIS_CDB_CMD_WRITE_FW_BLOCK_LPL = 259, + ETHTOOL_CMIS_CDB_CMD_WRITE_FW_BLOCK_EPL = 260, + ETHTOOL_CMIS_CDB_CMD_COMPLETE_FW_DOWNLOAD = 263, + ETHTOOL_CMIS_CDB_CMD_RUN_FW_IMAGE = 265, + ETHTOOL_CMIS_CDB_CMD_COMMIT_FW_IMAGE = 266, +}; + +enum ethtool_fec_config_bits { + ETHTOOL_FEC_NONE_BIT = 0, + ETHTOOL_FEC_AUTO_BIT = 1, + ETHTOOL_FEC_OFF_BIT = 2, + ETHTOOL_FEC_RS_BIT = 3, + ETHTOOL_FEC_BASER_BIT = 4, + ETHTOOL_FEC_LLRS_BIT = 5, +}; + +enum ethtool_flags { + ETH_FLAG_TXVLAN = 128, + ETH_FLAG_RXVLAN = 256, + ETH_FLAG_LRO = 32768, + ETH_FLAG_NTUPLE = 134217728, + ETH_FLAG_RXHASH = 268435456, +}; + +enum ethtool_header_flags { + ETHTOOL_FLAG_COMPACT_BITSETS = 1, + ETHTOOL_FLAG_OMIT_REPLY = 2, + ETHTOOL_FLAG_STATS = 4, +}; + +enum ethtool_link_ext_state { + ETHTOOL_LINK_EXT_STATE_AUTONEG = 0, + ETHTOOL_LINK_EXT_STATE_LINK_TRAINING_FAILURE = 1, + ETHTOOL_LINK_EXT_STATE_LINK_LOGICAL_MISMATCH = 2, + ETHTOOL_LINK_EXT_STATE_BAD_SIGNAL_INTEGRITY = 3, + ETHTOOL_LINK_EXT_STATE_NO_CABLE = 4, + ETHTOOL_LINK_EXT_STATE_CABLE_ISSUE = 5, + ETHTOOL_LINK_EXT_STATE_EEPROM_ISSUE = 6, + ETHTOOL_LINK_EXT_STATE_CALIBRATION_FAILURE = 7, + ETHTOOL_LINK_EXT_STATE_POWER_BUDGET_EXCEEDED = 8, + ETHTOOL_LINK_EXT_STATE_OVERHEAT = 9, + ETHTOOL_LINK_EXT_STATE_MODULE = 10, +}; + +enum ethtool_link_ext_substate_autoneg { + ETHTOOL_LINK_EXT_SUBSTATE_AN_NO_PARTNER_DETECTED = 1, + ETHTOOL_LINK_EXT_SUBSTATE_AN_ACK_NOT_RECEIVED = 2, + ETHTOOL_LINK_EXT_SUBSTATE_AN_NEXT_PAGE_EXCHANGE_FAILED = 3, + ETHTOOL_LINK_EXT_SUBSTATE_AN_NO_PARTNER_DETECTED_FORCE_MODE = 4, + ETHTOOL_LINK_EXT_SUBSTATE_AN_FEC_MISMATCH_DURING_OVERRIDE = 5, + ETHTOOL_LINK_EXT_SUBSTATE_AN_NO_HCD = 6, +}; + +enum ethtool_link_ext_substate_bad_signal_integrity { + ETHTOOL_LINK_EXT_SUBSTATE_BSI_LARGE_NUMBER_OF_PHYSICAL_ERRORS = 1, + ETHTOOL_LINK_EXT_SUBSTATE_BSI_UNSUPPORTED_RATE = 2, + ETHTOOL_LINK_EXT_SUBSTATE_BSI_SERDES_REFERENCE_CLOCK_LOST = 3, + ETHTOOL_LINK_EXT_SUBSTATE_BSI_SERDES_ALOS = 4, +}; + +enum ethtool_link_ext_substate_cable_issue { + ETHTOOL_LINK_EXT_SUBSTATE_CI_UNSUPPORTED_CABLE = 1, + ETHTOOL_LINK_EXT_SUBSTATE_CI_CABLE_TEST_FAILURE = 2, +}; + +enum ethtool_link_ext_substate_link_logical_mismatch { + ETHTOOL_LINK_EXT_SUBSTATE_LLM_PCS_DID_NOT_ACQUIRE_BLOCK_LOCK = 1, + ETHTOOL_LINK_EXT_SUBSTATE_LLM_PCS_DID_NOT_ACQUIRE_AM_LOCK = 2, + ETHTOOL_LINK_EXT_SUBSTATE_LLM_PCS_DID_NOT_GET_ALIGN_STATUS = 3, + ETHTOOL_LINK_EXT_SUBSTATE_LLM_FC_FEC_IS_NOT_LOCKED = 4, + ETHTOOL_LINK_EXT_SUBSTATE_LLM_RS_FEC_IS_NOT_LOCKED = 5, +}; + +enum ethtool_link_ext_substate_link_training { + ETHTOOL_LINK_EXT_SUBSTATE_LT_KR_FRAME_LOCK_NOT_ACQUIRED = 1, + ETHTOOL_LINK_EXT_SUBSTATE_LT_KR_LINK_INHIBIT_TIMEOUT = 2, + ETHTOOL_LINK_EXT_SUBSTATE_LT_KR_LINK_PARTNER_DID_NOT_SET_RECEIVER_READY = 3, + ETHTOOL_LINK_EXT_SUBSTATE_LT_REMOTE_FAULT = 4, +}; + +enum ethtool_link_ext_substate_module { + ETHTOOL_LINK_EXT_SUBSTATE_MODULE_CMIS_NOT_READY = 1, +}; + +enum ethtool_link_mode_bit_indices { + ETHTOOL_LINK_MODE_10baseT_Half_BIT = 0, + ETHTOOL_LINK_MODE_10baseT_Full_BIT = 1, + ETHTOOL_LINK_MODE_100baseT_Half_BIT = 2, + ETHTOOL_LINK_MODE_100baseT_Full_BIT = 3, + ETHTOOL_LINK_MODE_1000baseT_Half_BIT = 4, + ETHTOOL_LINK_MODE_1000baseT_Full_BIT = 5, + ETHTOOL_LINK_MODE_Autoneg_BIT = 6, + ETHTOOL_LINK_MODE_TP_BIT = 7, + ETHTOOL_LINK_MODE_AUI_BIT = 8, + ETHTOOL_LINK_MODE_MII_BIT = 9, + ETHTOOL_LINK_MODE_FIBRE_BIT = 10, + ETHTOOL_LINK_MODE_BNC_BIT = 11, + ETHTOOL_LINK_MODE_10000baseT_Full_BIT = 12, + ETHTOOL_LINK_MODE_Pause_BIT = 13, + ETHTOOL_LINK_MODE_Asym_Pause_BIT = 14, + ETHTOOL_LINK_MODE_2500baseX_Full_BIT = 15, + ETHTOOL_LINK_MODE_Backplane_BIT = 16, + ETHTOOL_LINK_MODE_1000baseKX_Full_BIT = 17, + ETHTOOL_LINK_MODE_10000baseKX4_Full_BIT = 18, + ETHTOOL_LINK_MODE_10000baseKR_Full_BIT = 19, + ETHTOOL_LINK_MODE_10000baseR_FEC_BIT = 20, + ETHTOOL_LINK_MODE_20000baseMLD2_Full_BIT = 21, + ETHTOOL_LINK_MODE_20000baseKR2_Full_BIT = 22, + ETHTOOL_LINK_MODE_40000baseKR4_Full_BIT = 23, + ETHTOOL_LINK_MODE_40000baseCR4_Full_BIT = 24, + ETHTOOL_LINK_MODE_40000baseSR4_Full_BIT = 25, + ETHTOOL_LINK_MODE_40000baseLR4_Full_BIT = 26, + ETHTOOL_LINK_MODE_56000baseKR4_Full_BIT = 27, + ETHTOOL_LINK_MODE_56000baseCR4_Full_BIT = 28, + ETHTOOL_LINK_MODE_56000baseSR4_Full_BIT = 29, + ETHTOOL_LINK_MODE_56000baseLR4_Full_BIT = 30, + ETHTOOL_LINK_MODE_25000baseCR_Full_BIT = 31, + ETHTOOL_LINK_MODE_25000baseKR_Full_BIT = 32, + ETHTOOL_LINK_MODE_25000baseSR_Full_BIT = 33, + ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT = 34, + ETHTOOL_LINK_MODE_50000baseKR2_Full_BIT = 35, + ETHTOOL_LINK_MODE_100000baseKR4_Full_BIT = 36, + ETHTOOL_LINK_MODE_100000baseSR4_Full_BIT = 37, + ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT = 38, + ETHTOOL_LINK_MODE_100000baseLR4_ER4_Full_BIT = 39, + ETHTOOL_LINK_MODE_50000baseSR2_Full_BIT = 40, + ETHTOOL_LINK_MODE_1000baseX_Full_BIT = 41, + ETHTOOL_LINK_MODE_10000baseCR_Full_BIT = 42, + ETHTOOL_LINK_MODE_10000baseSR_Full_BIT = 43, + ETHTOOL_LINK_MODE_10000baseLR_Full_BIT = 44, + ETHTOOL_LINK_MODE_10000baseLRM_Full_BIT = 45, + ETHTOOL_LINK_MODE_10000baseER_Full_BIT = 46, + ETHTOOL_LINK_MODE_2500baseT_Full_BIT = 47, + ETHTOOL_LINK_MODE_5000baseT_Full_BIT = 48, + ETHTOOL_LINK_MODE_FEC_NONE_BIT = 49, + ETHTOOL_LINK_MODE_FEC_RS_BIT = 50, + ETHTOOL_LINK_MODE_FEC_BASER_BIT = 51, + ETHTOOL_LINK_MODE_50000baseKR_Full_BIT = 52, + ETHTOOL_LINK_MODE_50000baseSR_Full_BIT = 53, + ETHTOOL_LINK_MODE_50000baseCR_Full_BIT = 54, + ETHTOOL_LINK_MODE_50000baseLR_ER_FR_Full_BIT = 55, + ETHTOOL_LINK_MODE_50000baseDR_Full_BIT = 56, + ETHTOOL_LINK_MODE_100000baseKR2_Full_BIT = 57, + ETHTOOL_LINK_MODE_100000baseSR2_Full_BIT = 58, + ETHTOOL_LINK_MODE_100000baseCR2_Full_BIT = 59, + ETHTOOL_LINK_MODE_100000baseLR2_ER2_FR2_Full_BIT = 60, + ETHTOOL_LINK_MODE_100000baseDR2_Full_BIT = 61, + ETHTOOL_LINK_MODE_200000baseKR4_Full_BIT = 62, + ETHTOOL_LINK_MODE_200000baseSR4_Full_BIT = 63, + ETHTOOL_LINK_MODE_200000baseLR4_ER4_FR4_Full_BIT = 64, + ETHTOOL_LINK_MODE_200000baseDR4_Full_BIT = 65, + ETHTOOL_LINK_MODE_200000baseCR4_Full_BIT = 66, + ETHTOOL_LINK_MODE_100baseT1_Full_BIT = 67, + ETHTOOL_LINK_MODE_1000baseT1_Full_BIT = 68, + ETHTOOL_LINK_MODE_400000baseKR8_Full_BIT = 69, + ETHTOOL_LINK_MODE_400000baseSR8_Full_BIT = 70, + ETHTOOL_LINK_MODE_400000baseLR8_ER8_FR8_Full_BIT = 71, + ETHTOOL_LINK_MODE_400000baseDR8_Full_BIT = 72, + ETHTOOL_LINK_MODE_400000baseCR8_Full_BIT = 73, + ETHTOOL_LINK_MODE_FEC_LLRS_BIT = 74, + ETHTOOL_LINK_MODE_100000baseKR_Full_BIT = 75, + ETHTOOL_LINK_MODE_100000baseSR_Full_BIT = 76, + ETHTOOL_LINK_MODE_100000baseLR_ER_FR_Full_BIT = 77, + ETHTOOL_LINK_MODE_100000baseCR_Full_BIT = 78, + ETHTOOL_LINK_MODE_100000baseDR_Full_BIT = 79, + ETHTOOL_LINK_MODE_200000baseKR2_Full_BIT = 80, + ETHTOOL_LINK_MODE_200000baseSR2_Full_BIT = 81, + ETHTOOL_LINK_MODE_200000baseLR2_ER2_FR2_Full_BIT = 82, + ETHTOOL_LINK_MODE_200000baseDR2_Full_BIT = 83, + ETHTOOL_LINK_MODE_200000baseCR2_Full_BIT = 84, + ETHTOOL_LINK_MODE_400000baseKR4_Full_BIT = 85, + ETHTOOL_LINK_MODE_400000baseSR4_Full_BIT = 86, + ETHTOOL_LINK_MODE_400000baseLR4_ER4_FR4_Full_BIT = 87, + ETHTOOL_LINK_MODE_400000baseDR4_Full_BIT = 88, + ETHTOOL_LINK_MODE_400000baseCR4_Full_BIT = 89, + ETHTOOL_LINK_MODE_100baseFX_Half_BIT = 90, + ETHTOOL_LINK_MODE_100baseFX_Full_BIT = 91, + ETHTOOL_LINK_MODE_10baseT1L_Full_BIT = 92, + ETHTOOL_LINK_MODE_800000baseCR8_Full_BIT = 93, + ETHTOOL_LINK_MODE_800000baseKR8_Full_BIT = 94, + ETHTOOL_LINK_MODE_800000baseDR8_Full_BIT = 95, + ETHTOOL_LINK_MODE_800000baseDR8_2_Full_BIT = 96, + ETHTOOL_LINK_MODE_800000baseSR8_Full_BIT = 97, + ETHTOOL_LINK_MODE_800000baseVR8_Full_BIT = 98, + ETHTOOL_LINK_MODE_10baseT1S_Full_BIT = 99, + ETHTOOL_LINK_MODE_10baseT1S_Half_BIT = 100, + ETHTOOL_LINK_MODE_10baseT1S_P2MP_Half_BIT = 101, + ETHTOOL_LINK_MODE_10baseT1BRR_Full_BIT = 102, + __ETHTOOL_LINK_MODE_MASK_NBITS = 103, +}; + +enum ethtool_mac_stats_src { + ETHTOOL_MAC_STATS_SRC_AGGREGATE = 0, + ETHTOOL_MAC_STATS_SRC_EMAC = 1, + ETHTOOL_MAC_STATS_SRC_PMAC = 2, +}; + +enum ethtool_mm_verify_status { + ETHTOOL_MM_VERIFY_STATUS_UNKNOWN = 0, + ETHTOOL_MM_VERIFY_STATUS_INITIAL = 1, + ETHTOOL_MM_VERIFY_STATUS_VERIFYING = 2, + ETHTOOL_MM_VERIFY_STATUS_SUCCEEDED = 3, + ETHTOOL_MM_VERIFY_STATUS_FAILED = 4, + ETHTOOL_MM_VERIFY_STATUS_DISABLED = 5, +}; + +enum ethtool_module_fw_flash_status { + ETHTOOL_MODULE_FW_FLASH_STATUS_STARTED = 1, + ETHTOOL_MODULE_FW_FLASH_STATUS_IN_PROGRESS = 2, + ETHTOOL_MODULE_FW_FLASH_STATUS_COMPLETED = 3, + ETHTOOL_MODULE_FW_FLASH_STATUS_ERROR = 4, +}; + +enum ethtool_module_power_mode { + ETHTOOL_MODULE_POWER_MODE_LOW = 1, + ETHTOOL_MODULE_POWER_MODE_HIGH = 2, +}; + +enum ethtool_module_power_mode_policy { + ETHTOOL_MODULE_POWER_MODE_POLICY_HIGH = 1, + ETHTOOL_MODULE_POWER_MODE_POLICY_AUTO = 2, +}; + +enum ethtool_multicast_groups { + ETHNL_MCGRP_MONITOR = 0, +}; + +enum ethtool_phys_id_state { + ETHTOOL_ID_INACTIVE = 0, + ETHTOOL_ID_ACTIVE = 1, + ETHTOOL_ID_ON = 2, + ETHTOOL_ID_OFF = 3, +}; + +enum ethtool_podl_pse_admin_state { + ETHTOOL_PODL_PSE_ADMIN_STATE_UNKNOWN = 1, + ETHTOOL_PODL_PSE_ADMIN_STATE_DISABLED = 2, + ETHTOOL_PODL_PSE_ADMIN_STATE_ENABLED = 3, +}; + +enum ethtool_podl_pse_pw_d_status { + ETHTOOL_PODL_PSE_PW_D_STATUS_UNKNOWN = 1, + ETHTOOL_PODL_PSE_PW_D_STATUS_DISABLED = 2, + ETHTOOL_PODL_PSE_PW_D_STATUS_SEARCHING = 3, + ETHTOOL_PODL_PSE_PW_D_STATUS_DELIVERING = 4, + ETHTOOL_PODL_PSE_PW_D_STATUS_SLEEP = 5, + ETHTOOL_PODL_PSE_PW_D_STATUS_IDLE = 6, + ETHTOOL_PODL_PSE_PW_D_STATUS_ERROR = 7, +}; + +enum ethtool_reset_flags { + ETH_RESET_MGMT = 1, + ETH_RESET_IRQ = 2, + ETH_RESET_DMA = 4, + ETH_RESET_FILTER = 8, + ETH_RESET_OFFLOAD = 16, + ETH_RESET_MAC = 32, + ETH_RESET_PHY = 64, + ETH_RESET_RAM = 128, + ETH_RESET_AP = 256, + ETH_RESET_DEDICATED = 65535, + ETH_RESET_ALL = 4294967295, +}; + +enum ethtool_sfeatures_retval_bits { + ETHTOOL_F_UNSUPPORTED__BIT = 0, + ETHTOOL_F_WISH__BIT = 1, + ETHTOOL_F_COMPAT__BIT = 2, +}; + +enum ethtool_stringset { + ETH_SS_TEST = 0, + ETH_SS_STATS = 1, + ETH_SS_PRIV_FLAGS = 2, + ETH_SS_NTUPLE_FILTERS = 3, + ETH_SS_FEATURES = 4, + ETH_SS_RSS_HASH_FUNCS = 5, + ETH_SS_TUNABLES = 6, + ETH_SS_PHY_STATS = 7, + ETH_SS_PHY_TUNABLES = 8, + ETH_SS_LINK_MODES = 9, + ETH_SS_MSG_CLASSES = 10, + ETH_SS_WOL_MODES = 11, + ETH_SS_SOF_TIMESTAMPING = 12, + ETH_SS_TS_TX_TYPES = 13, + ETH_SS_TS_RX_FILTERS = 14, + ETH_SS_UDP_TUNNEL_TYPES = 15, + ETH_SS_STATS_STD = 16, + ETH_SS_STATS_ETH_PHY = 17, + ETH_SS_STATS_ETH_MAC = 18, + ETH_SS_STATS_ETH_CTRL = 19, + ETH_SS_STATS_RMON = 20, + ETH_SS_STATS_PHY = 21, + ETH_SS_TS_FLAGS = 22, + ETH_SS_COUNT = 23, +}; + +enum ethtool_supported_ring_param { + ETHTOOL_RING_USE_RX_BUF_LEN = 1, + ETHTOOL_RING_USE_CQE_SIZE = 2, + ETHTOOL_RING_USE_TX_PUSH = 4, + ETHTOOL_RING_USE_RX_PUSH = 8, + ETHTOOL_RING_USE_TX_PUSH_BUF_LEN = 16, + ETHTOOL_RING_USE_TCP_DATA_SPLIT = 32, + ETHTOOL_RING_USE_HDS_THRS = 64, +}; + +enum ethtool_tcp_data_split { + ETHTOOL_TCP_DATA_SPLIT_UNKNOWN = 0, + ETHTOOL_TCP_DATA_SPLIT_DISABLED = 1, + ETHTOOL_TCP_DATA_SPLIT_ENABLED = 2, +}; + +enum event_command_flags { + EVENT_CMD_FL_POST_TRIGGER = 1, + EVENT_CMD_FL_NEEDS_REC = 2, +}; + +enum event_trigger_type { + ETT_NONE = 0, + ETT_TRACE_ONOFF = 1, + ETT_SNAPSHOT = 2, + ETT_STACKTRACE = 4, + ETT_EVENT_ENABLE = 8, + ETT_EVENT_HIST = 16, + ETT_HIST_ENABLE = 32, + ETT_EVENT_EPROBE = 64, +}; + +enum event_type_t { + EVENT_FLEXIBLE = 1, + EVENT_PINNED = 2, + EVENT_TIME = 4, + EVENT_FROZEN = 8, + EVENT_CPU = 16, + EVENT_CGROUP = 32, + EVENT_ALL = 3, + EVENT_TIME_FROZEN = 12, +}; + +enum exact_level { + NOT_EXACT = 0, + EXACT = 1, + RANGE_WITHIN = 2, +}; + +enum execmem_range_flags { + EXECMEM_KASAN_SHADOW = 1, + EXECMEM_ROX_CACHE = 2, +}; + +enum execmem_type { + EXECMEM_DEFAULT = 0, + EXECMEM_MODULE_TEXT = 0, + EXECMEM_KPROBES = 1, + EXECMEM_FTRACE = 2, + EXECMEM_BPF = 3, + EXECMEM_MODULE_DATA = 4, + EXECMEM_TYPE_MAX = 5, +}; + +enum fail_dup_mod_reason { + FAIL_DUP_MOD_BECOMING = 0, + FAIL_DUP_MOD_LOAD = 1, +}; + +enum fault_flag { + FAULT_FLAG_WRITE = 1, + FAULT_FLAG_MKWRITE = 2, + FAULT_FLAG_ALLOW_RETRY = 4, + FAULT_FLAG_RETRY_NOWAIT = 8, + FAULT_FLAG_KILLABLE = 16, + FAULT_FLAG_TRIED = 32, + FAULT_FLAG_USER = 64, + FAULT_FLAG_REMOTE = 128, + FAULT_FLAG_INSTRUCTION = 256, + FAULT_FLAG_INTERRUPTIBLE = 512, + FAULT_FLAG_UNSHARE = 1024, + FAULT_FLAG_ORIG_PTE_VALID = 2048, + FAULT_FLAG_VMA_LOCK = 4096, +}; + +enum fetch_op { + FETCH_OP_NOP = 0, + FETCH_OP_REG = 1, + FETCH_OP_STACK = 2, + FETCH_OP_STACKP = 3, + FETCH_OP_RETVAL = 4, + FETCH_OP_IMM = 5, + FETCH_OP_COMM = 6, + FETCH_OP_ARG = 7, + FETCH_OP_FOFFS = 8, + FETCH_OP_DATA = 9, + FETCH_OP_EDATA = 10, + FETCH_OP_DEREF = 11, + FETCH_OP_UDEREF = 12, + FETCH_OP_ST_RAW = 13, + FETCH_OP_ST_MEM = 14, + FETCH_OP_ST_UMEM = 15, + FETCH_OP_ST_STRING = 16, + FETCH_OP_ST_USTRING = 17, + FETCH_OP_ST_SYMSTR = 18, + FETCH_OP_ST_EDATA = 19, + FETCH_OP_MOD_BF = 20, + FETCH_OP_LP_ARRAY = 21, + FETCH_OP_TP_ARG = 22, + FETCH_OP_END = 23, + FETCH_NOP_SYMBOL = 24, +}; + +enum fib6_walk_state { + FWS_L = 0, + FWS_R = 1, + FWS_C = 2, + FWS_U = 3, +}; + +enum fib_event_type { + FIB_EVENT_ENTRY_REPLACE = 0, + FIB_EVENT_ENTRY_APPEND = 1, + FIB_EVENT_ENTRY_ADD = 2, + FIB_EVENT_ENTRY_DEL = 3, + FIB_EVENT_RULE_ADD = 4, + FIB_EVENT_RULE_DEL = 5, + FIB_EVENT_NH_ADD = 6, + FIB_EVENT_NH_DEL = 7, + FIB_EVENT_VIF_ADD = 8, + FIB_EVENT_VIF_DEL = 9, +}; + +enum fid_type { + FILEID_ROOT = 0, + FILEID_INO32_GEN = 1, + FILEID_INO32_GEN_PARENT = 2, + FILEID_BTRFS_WITHOUT_PARENT = 77, + FILEID_BTRFS_WITH_PARENT = 78, + FILEID_BTRFS_WITH_PARENT_ROOT = 79, + FILEID_UDF_WITHOUT_PARENT = 81, + FILEID_UDF_WITH_PARENT = 82, + FILEID_NILFS_WITHOUT_PARENT = 97, + FILEID_NILFS_WITH_PARENT = 98, + FILEID_FAT_WITHOUT_PARENT = 113, + FILEID_FAT_WITH_PARENT = 114, + FILEID_INO64_GEN = 129, + FILEID_INO64_GEN_PARENT = 130, + FILEID_LUSTRE = 151, + FILEID_BCACHEFS_WITHOUT_PARENT = 177, + FILEID_BCACHEFS_WITH_PARENT = 178, + FILEID_KERNFS = 254, + FILEID_INVALID = 255, +}; + +enum file_time_flags { + S_ATIME = 1, + S_MTIME = 2, + S_CTIME = 4, + S_VERSION = 8, +}; + +enum filter_op_ids { + OP_GLOB = 0, + OP_NE = 1, + OP_EQ = 2, + OP_LE = 3, + OP_LT = 4, + OP_GE = 5, + OP_GT = 6, + OP_BAND = 7, + OP_MAX = 8, +}; + +enum filter_pred_fn { + FILTER_PRED_FN_NOP = 0, + FILTER_PRED_FN_64 = 1, + FILTER_PRED_FN_64_CPUMASK = 2, + FILTER_PRED_FN_S64 = 3, + FILTER_PRED_FN_U64 = 4, + FILTER_PRED_FN_32 = 5, + FILTER_PRED_FN_32_CPUMASK = 6, + FILTER_PRED_FN_S32 = 7, + FILTER_PRED_FN_U32 = 8, + FILTER_PRED_FN_16 = 9, + FILTER_PRED_FN_16_CPUMASK = 10, + FILTER_PRED_FN_S16 = 11, + FILTER_PRED_FN_U16 = 12, + FILTER_PRED_FN_8 = 13, + FILTER_PRED_FN_8_CPUMASK = 14, + FILTER_PRED_FN_S8 = 15, + FILTER_PRED_FN_U8 = 16, + FILTER_PRED_FN_COMM = 17, + FILTER_PRED_FN_STRING = 18, + FILTER_PRED_FN_STRLOC = 19, + FILTER_PRED_FN_STRRELLOC = 20, + FILTER_PRED_FN_PCHAR_USER = 21, + FILTER_PRED_FN_PCHAR = 22, + FILTER_PRED_FN_CPU = 23, + FILTER_PRED_FN_CPU_CPUMASK = 24, + FILTER_PRED_FN_CPUMASK = 25, + FILTER_PRED_FN_CPUMASK_CPU = 26, + FILTER_PRED_FN_FUNCTION = 27, + FILTER_PRED_FN_ = 28, + FILTER_PRED_TEST_VISITED = 29, +}; + +enum fit_type { + NOTHING_FIT = 0, + FL_FIT_TYPE = 1, + LE_FIT_TYPE = 2, + RE_FIT_TYPE = 3, + NE_FIT_TYPE = 4, +}; + +enum fixed_addresses { + FIX_EARLYCON_MEM_BASE = 0, + __end_of_permanent_fixed_addresses = 1, + FIX_KMAP_BEGIN = 1, + FIX_KMAP_END = 16, + FIX_TEXT_POKE0 = 17, + FIX_TEXT_POKE1 = 18, + __end_of_fixmap_region = 19, + FIX_BTMAP_END = 1, + FIX_BTMAP_BEGIN = 224, + __end_of_early_ioremap_region = 225, +}; + +enum flow_action_hw_stats { + FLOW_ACTION_HW_STATS_IMMEDIATE = 1, + FLOW_ACTION_HW_STATS_DELAYED = 2, + FLOW_ACTION_HW_STATS_ANY = 3, + FLOW_ACTION_HW_STATS_DISABLED = 4, + FLOW_ACTION_HW_STATS_DONT_CARE = 7, +}; + +enum flow_action_hw_stats_bit { + FLOW_ACTION_HW_STATS_IMMEDIATE_BIT = 0, + FLOW_ACTION_HW_STATS_DELAYED_BIT = 1, + FLOW_ACTION_HW_STATS_DISABLED_BIT = 2, + FLOW_ACTION_HW_STATS_NUM_BITS = 3, +}; + +enum flow_action_id { + FLOW_ACTION_ACCEPT = 0, + FLOW_ACTION_DROP = 1, + FLOW_ACTION_TRAP = 2, + FLOW_ACTION_GOTO = 3, + FLOW_ACTION_REDIRECT = 4, + FLOW_ACTION_MIRRED = 5, + FLOW_ACTION_REDIRECT_INGRESS = 6, + FLOW_ACTION_MIRRED_INGRESS = 7, + FLOW_ACTION_VLAN_PUSH = 8, + FLOW_ACTION_VLAN_POP = 9, + FLOW_ACTION_VLAN_MANGLE = 10, + FLOW_ACTION_TUNNEL_ENCAP = 11, + FLOW_ACTION_TUNNEL_DECAP = 12, + FLOW_ACTION_MANGLE = 13, + FLOW_ACTION_ADD = 14, + FLOW_ACTION_CSUM = 15, + FLOW_ACTION_MARK = 16, + FLOW_ACTION_PTYPE = 17, + FLOW_ACTION_PRIORITY = 18, + FLOW_ACTION_RX_QUEUE_MAPPING = 19, + FLOW_ACTION_WAKE = 20, + FLOW_ACTION_QUEUE = 21, + FLOW_ACTION_SAMPLE = 22, + FLOW_ACTION_POLICE = 23, + FLOW_ACTION_CT = 24, + FLOW_ACTION_CT_METADATA = 25, + FLOW_ACTION_MPLS_PUSH = 26, + FLOW_ACTION_MPLS_POP = 27, + FLOW_ACTION_MPLS_MANGLE = 28, + FLOW_ACTION_GATE = 29, + FLOW_ACTION_PPPOE_PUSH = 30, + FLOW_ACTION_JUMP = 31, + FLOW_ACTION_PIPE = 32, + FLOW_ACTION_VLAN_PUSH_ETH = 33, + FLOW_ACTION_VLAN_POP_ETH = 34, + FLOW_ACTION_CONTINUE = 35, + NUM_FLOW_ACTIONS = 36, +}; + +enum flow_action_mangle_base { + FLOW_ACT_MANGLE_UNSPEC = 0, + FLOW_ACT_MANGLE_HDR_TYPE_ETH = 1, + FLOW_ACT_MANGLE_HDR_TYPE_IP4 = 2, + FLOW_ACT_MANGLE_HDR_TYPE_IP6 = 3, + FLOW_ACT_MANGLE_HDR_TYPE_TCP = 4, + FLOW_ACT_MANGLE_HDR_TYPE_UDP = 5, +}; + +enum flow_block_binder_type { + FLOW_BLOCK_BINDER_TYPE_UNSPEC = 0, + FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS = 1, + FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS = 2, + FLOW_BLOCK_BINDER_TYPE_RED_EARLY_DROP = 3, + FLOW_BLOCK_BINDER_TYPE_RED_MARK = 4, +}; + +enum flow_block_command { + FLOW_BLOCK_BIND = 0, + FLOW_BLOCK_UNBIND = 1, +}; + +enum flow_dissect_ret { + FLOW_DISSECT_RET_OUT_GOOD = 0, + FLOW_DISSECT_RET_OUT_BAD = 1, + FLOW_DISSECT_RET_PROTO_AGAIN = 2, + FLOW_DISSECT_RET_IPPROTO_AGAIN = 3, + FLOW_DISSECT_RET_CONTINUE = 4, +}; + +enum flow_dissector_ctrl_flags { + FLOW_DIS_IS_FRAGMENT = 1, + FLOW_DIS_FIRST_FRAG = 2, + FLOW_DIS_F_TUNNEL_CSUM = 4, + FLOW_DIS_F_TUNNEL_DONT_FRAGMENT = 8, + FLOW_DIS_F_TUNNEL_OAM = 16, + FLOW_DIS_F_TUNNEL_CRIT_OPT = 32, + FLOW_DIS_ENCAPSULATION = 64, +}; + +enum flow_dissector_key_id { + FLOW_DISSECTOR_KEY_CONTROL = 0, + FLOW_DISSECTOR_KEY_BASIC = 1, + FLOW_DISSECTOR_KEY_IPV4_ADDRS = 2, + FLOW_DISSECTOR_KEY_IPV6_ADDRS = 3, + FLOW_DISSECTOR_KEY_PORTS = 4, + FLOW_DISSECTOR_KEY_PORTS_RANGE = 5, + FLOW_DISSECTOR_KEY_ICMP = 6, + FLOW_DISSECTOR_KEY_ETH_ADDRS = 7, + FLOW_DISSECTOR_KEY_TIPC = 8, + FLOW_DISSECTOR_KEY_ARP = 9, + FLOW_DISSECTOR_KEY_VLAN = 10, + FLOW_DISSECTOR_KEY_FLOW_LABEL = 11, + FLOW_DISSECTOR_KEY_GRE_KEYID = 12, + FLOW_DISSECTOR_KEY_MPLS_ENTROPY = 13, + FLOW_DISSECTOR_KEY_ENC_KEYID = 14, + FLOW_DISSECTOR_KEY_ENC_IPV4_ADDRS = 15, + FLOW_DISSECTOR_KEY_ENC_IPV6_ADDRS = 16, + FLOW_DISSECTOR_KEY_ENC_CONTROL = 17, + FLOW_DISSECTOR_KEY_ENC_PORTS = 18, + FLOW_DISSECTOR_KEY_MPLS = 19, + FLOW_DISSECTOR_KEY_TCP = 20, + FLOW_DISSECTOR_KEY_IP = 21, + FLOW_DISSECTOR_KEY_CVLAN = 22, + FLOW_DISSECTOR_KEY_ENC_IP = 23, + FLOW_DISSECTOR_KEY_ENC_OPTS = 24, + FLOW_DISSECTOR_KEY_META = 25, + FLOW_DISSECTOR_KEY_CT = 26, + FLOW_DISSECTOR_KEY_HASH = 27, + FLOW_DISSECTOR_KEY_NUM_OF_VLANS = 28, + FLOW_DISSECTOR_KEY_PPPOE = 29, + FLOW_DISSECTOR_KEY_L2TPV3 = 30, + FLOW_DISSECTOR_KEY_CFM = 31, + FLOW_DISSECTOR_KEY_IPSEC = 32, + FLOW_DISSECTOR_KEY_MAX = 33, +}; + +enum flowlabel_reflect { + FLOWLABEL_REFLECT_ESTABLISHED = 1, + FLOWLABEL_REFLECT_TCP_RESET = 2, + FLOWLABEL_REFLECT_ICMPV6_ECHO_REPLIES = 4, +}; + +enum folio_references { + FOLIOREF_RECLAIM = 0, + FOLIOREF_RECLAIM_CLEAN = 1, + FOLIOREF_KEEP = 2, + FOLIOREF_ACTIVATE = 3, +}; + +enum folio_walk_level { + FW_LEVEL_PTE = 0, + FW_LEVEL_PMD = 1, + FW_LEVEL_PUD = 2, +}; + +enum format_state { + FORMAT_STATE_NONE = 0, + FORMAT_STATE_NUM = 1, + FORMAT_STATE_WIDTH = 2, + FORMAT_STATE_PRECISION = 3, + FORMAT_STATE_CHAR = 4, + FORMAT_STATE_STR = 5, + FORMAT_STATE_PTR = 6, + FORMAT_STATE_PERCENT_CHAR = 7, + FORMAT_STATE_INVALID = 8, +}; + +enum freeze_holder { + FREEZE_HOLDER_KERNEL = 1, + FREEZE_HOLDER_USERSPACE = 2, + FREEZE_MAY_NEST = 4, +}; + +enum freq_qos_req_type { + FREQ_QOS_MIN = 1, + FREQ_QOS_MAX = 2, +}; + +enum fs_context_phase { + FS_CONTEXT_CREATE_PARAMS = 0, + FS_CONTEXT_CREATING = 1, + FS_CONTEXT_AWAITING_MOUNT = 2, + FS_CONTEXT_AWAITING_RECONF = 3, + FS_CONTEXT_RECONF_PARAMS = 4, + FS_CONTEXT_RECONFIGURING = 5, + FS_CONTEXT_FAILED = 6, +}; + +enum fs_context_purpose { + FS_CONTEXT_FOR_MOUNT = 0, + FS_CONTEXT_FOR_SUBMOUNT = 1, + FS_CONTEXT_FOR_RECONFIGURE = 2, +}; + +enum fs_value_type { + fs_value_is_undefined = 0, + fs_value_is_flag = 1, + fs_value_is_string = 2, + fs_value_is_blob = 3, + fs_value_is_filename = 4, + fs_value_is_file = 5, +}; + +enum fsconfig_command { + FSCONFIG_SET_FLAG = 0, + FSCONFIG_SET_STRING = 1, + FSCONFIG_SET_BINARY = 2, + FSCONFIG_SET_PATH = 3, + FSCONFIG_SET_PATH_EMPTY = 4, + FSCONFIG_SET_FD = 5, + FSCONFIG_CMD_CREATE = 6, + FSCONFIG_CMD_RECONFIGURE = 7, + FSCONFIG_CMD_CREATE_EXCL = 8, +}; + +enum fsnotify_data_type { + FSNOTIFY_EVENT_NONE = 0, + FSNOTIFY_EVENT_FILE_RANGE = 1, + FSNOTIFY_EVENT_PATH = 2, + FSNOTIFY_EVENT_INODE = 3, + FSNOTIFY_EVENT_DENTRY = 4, + FSNOTIFY_EVENT_ERROR = 5, +}; + +enum fsnotify_group_prio { + FSNOTIFY_PRIO_NORMAL = 0, + FSNOTIFY_PRIO_CONTENT = 1, + FSNOTIFY_PRIO_PRE_CONTENT = 2, + __FSNOTIFY_PRIO_NUM = 3, +}; + +enum fsnotify_iter_type { + FSNOTIFY_ITER_TYPE_INODE = 0, + FSNOTIFY_ITER_TYPE_VFSMOUNT = 1, + FSNOTIFY_ITER_TYPE_SB = 2, + FSNOTIFY_ITER_TYPE_PARENT = 3, + FSNOTIFY_ITER_TYPE_INODE2 = 4, + FSNOTIFY_ITER_TYPE_COUNT = 5, +}; + +enum ftrace_bug_type { + FTRACE_BUG_UNKNOWN = 0, + FTRACE_BUG_INIT = 1, + FTRACE_BUG_NOP = 2, + FTRACE_BUG_CALL = 3, + FTRACE_BUG_UPDATE = 4, +}; + +enum ftrace_dump_mode { + DUMP_NONE = 0, + DUMP_ALL = 1, + DUMP_ORIG = 2, + DUMP_PARAM = 3, +}; + +enum ftrace_ops_cmd { + FTRACE_OPS_CMD_ENABLE_SHARE_IPMODIFY_SELF = 0, + FTRACE_OPS_CMD_ENABLE_SHARE_IPMODIFY_PEER = 1, + FTRACE_OPS_CMD_DISABLE_SHARE_IPMODIFY_PEER = 2, +}; + +enum genl_validate_flags { + GENL_DONT_VALIDATE_STRICT = 1, + GENL_DONT_VALIDATE_DUMP = 2, + GENL_DONT_VALIDATE_DUMP_STRICT = 4, +}; + +enum gpiod_flags { + GPIOD_ASIS = 0, + GPIOD_IN = 1, + GPIOD_OUT_LOW = 3, + GPIOD_OUT_HIGH = 7, + GPIOD_OUT_LOW_OPEN_DRAIN = 11, + GPIOD_OUT_HIGH_OPEN_DRAIN = 15, +}; + +enum graph_filter_type { + GRAPH_FILTER_NOTRACE = 0, + GRAPH_FILTER_FUNCTION = 1, +}; + +enum gro_result { + GRO_MERGED = 0, + GRO_MERGED_FREE = 1, + GRO_HELD = 2, + GRO_NORMAL = 3, + GRO_CONSUMED = 4, +}; + +typedef enum gro_result gro_result_t; + +enum handle_to_path_flags { + HANDLE_CHECK_PERMS = 1, + HANDLE_CHECK_SUBTREE = 2, +}; + +enum hk_type { + HK_TYPE_DOMAIN = 0, + HK_TYPE_MANAGED_IRQ = 1, + HK_TYPE_KERNEL_NOISE = 2, + HK_TYPE_MAX = 3, + HK_TYPE_TICK = 2, + HK_TYPE_TIMER = 2, + HK_TYPE_RCU = 2, + HK_TYPE_MISC = 2, + HK_TYPE_WQ = 2, + HK_TYPE_KTHREAD = 2, +}; + +enum hprobe_state { + HPROBE_LEASED = 0, + HPROBE_STABLE = 1, + HPROBE_GONE = 2, + HPROBE_CONSUMED = 3, +}; + +enum hrtimer_base_type { + HRTIMER_BASE_MONOTONIC = 0, + HRTIMER_BASE_REALTIME = 1, + HRTIMER_BASE_BOOTTIME = 2, + HRTIMER_BASE_TAI = 3, + HRTIMER_BASE_MONOTONIC_SOFT = 4, + HRTIMER_BASE_REALTIME_SOFT = 5, + HRTIMER_BASE_BOOTTIME_SOFT = 6, + HRTIMER_BASE_TAI_SOFT = 7, + HRTIMER_MAX_CLOCK_BASES = 8, +}; + +enum hrtimer_mode { + HRTIMER_MODE_ABS = 0, + HRTIMER_MODE_REL = 1, + HRTIMER_MODE_PINNED = 2, + HRTIMER_MODE_SOFT = 4, + HRTIMER_MODE_HARD = 8, + HRTIMER_MODE_ABS_PINNED = 2, + HRTIMER_MODE_REL_PINNED = 3, + HRTIMER_MODE_ABS_SOFT = 4, + HRTIMER_MODE_REL_SOFT = 5, + HRTIMER_MODE_ABS_PINNED_SOFT = 6, + HRTIMER_MODE_REL_PINNED_SOFT = 7, + HRTIMER_MODE_ABS_HARD = 8, + HRTIMER_MODE_REL_HARD = 9, + HRTIMER_MODE_ABS_PINNED_HARD = 10, + HRTIMER_MODE_REL_PINNED_HARD = 11, +}; + +enum hrtimer_restart { + HRTIMER_NORESTART = 0, + HRTIMER_RESTART = 1, +}; + +enum hwtstamp_flags { + HWTSTAMP_FLAG_BONDED_PHC_INDEX = 1, + HWTSTAMP_FLAG_LAST = 1, + HWTSTAMP_FLAG_MASK = 1, +}; + +enum hwtstamp_provider_qualifier { + HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, + HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, + HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +}; + +enum hwtstamp_rx_filters { + HWTSTAMP_FILTER_NONE = 0, + HWTSTAMP_FILTER_ALL = 1, + HWTSTAMP_FILTER_SOME = 2, + HWTSTAMP_FILTER_PTP_V1_L4_EVENT = 3, + HWTSTAMP_FILTER_PTP_V1_L4_SYNC = 4, + HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ = 5, + HWTSTAMP_FILTER_PTP_V2_L4_EVENT = 6, + HWTSTAMP_FILTER_PTP_V2_L4_SYNC = 7, + HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ = 8, + HWTSTAMP_FILTER_PTP_V2_L2_EVENT = 9, + HWTSTAMP_FILTER_PTP_V2_L2_SYNC = 10, + HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ = 11, + HWTSTAMP_FILTER_PTP_V2_EVENT = 12, + HWTSTAMP_FILTER_PTP_V2_SYNC = 13, + HWTSTAMP_FILTER_PTP_V2_DELAY_REQ = 14, + HWTSTAMP_FILTER_NTP_ALL = 15, + __HWTSTAMP_FILTER_CNT = 16, +}; + +enum hwtstamp_source { + HWTSTAMP_SOURCE_UNSPEC = 0, + HWTSTAMP_SOURCE_NETDEV = 1, + HWTSTAMP_SOURCE_PHYLIB = 2, +}; + +enum hwtstamp_tx_types { + HWTSTAMP_TX_OFF = 0, + HWTSTAMP_TX_ON = 1, + HWTSTAMP_TX_ONESTEP_SYNC = 2, + HWTSTAMP_TX_ONESTEP_P2P = 3, + __HWTSTAMP_TX_CNT = 4, +}; + +enum in6_addr_gen_mode { + IN6_ADDR_GEN_MODE_EUI64 = 0, + IN6_ADDR_GEN_MODE_NONE = 1, + IN6_ADDR_GEN_MODE_STABLE_PRIVACY = 2, + IN6_ADDR_GEN_MODE_RANDOM = 3, +}; + +enum inet_csk_ack_state_t { + ICSK_ACK_SCHED = 1, + ICSK_ACK_TIMER = 2, + ICSK_ACK_PUSHED = 4, + ICSK_ACK_PUSHED2 = 8, + ICSK_ACK_NOW = 16, + ICSK_ACK_NOMEM = 32, +}; + +enum inode_i_mutex_lock_class { + I_MUTEX_NORMAL = 0, + I_MUTEX_PARENT = 1, + I_MUTEX_CHILD = 2, + I_MUTEX_XATTR = 3, + I_MUTEX_NONDIR2 = 4, + I_MUTEX_PARENT2 = 5, +}; + +enum io_uring_op { + IORING_OP_NOP = 0, + IORING_OP_READV = 1, + IORING_OP_WRITEV = 2, + IORING_OP_FSYNC = 3, + IORING_OP_READ_FIXED = 4, + IORING_OP_WRITE_FIXED = 5, + IORING_OP_POLL_ADD = 6, + IORING_OP_POLL_REMOVE = 7, + IORING_OP_SYNC_FILE_RANGE = 8, + IORING_OP_SENDMSG = 9, + IORING_OP_RECVMSG = 10, + IORING_OP_TIMEOUT = 11, + IORING_OP_TIMEOUT_REMOVE = 12, + IORING_OP_ACCEPT = 13, + IORING_OP_ASYNC_CANCEL = 14, + IORING_OP_LINK_TIMEOUT = 15, + IORING_OP_CONNECT = 16, + IORING_OP_FALLOCATE = 17, + IORING_OP_OPENAT = 18, + IORING_OP_CLOSE = 19, + IORING_OP_FILES_UPDATE = 20, + IORING_OP_STATX = 21, + IORING_OP_READ = 22, + IORING_OP_WRITE = 23, + IORING_OP_FADVISE = 24, + IORING_OP_MADVISE = 25, + IORING_OP_SEND = 26, + IORING_OP_RECV = 27, + IORING_OP_OPENAT2 = 28, + IORING_OP_EPOLL_CTL = 29, + IORING_OP_SPLICE = 30, + IORING_OP_PROVIDE_BUFFERS = 31, + IORING_OP_REMOVE_BUFFERS = 32, + IORING_OP_TEE = 33, + IORING_OP_SHUTDOWN = 34, + IORING_OP_RENAMEAT = 35, + IORING_OP_UNLINKAT = 36, + IORING_OP_MKDIRAT = 37, + IORING_OP_SYMLINKAT = 38, + IORING_OP_LINKAT = 39, + IORING_OP_MSG_RING = 40, + IORING_OP_FSETXATTR = 41, + IORING_OP_SETXATTR = 42, + IORING_OP_FGETXATTR = 43, + IORING_OP_GETXATTR = 44, + IORING_OP_SOCKET = 45, + IORING_OP_URING_CMD = 46, + IORING_OP_SEND_ZC = 47, + IORING_OP_SENDMSG_ZC = 48, + IORING_OP_READ_MULTISHOT = 49, + IORING_OP_WAITID = 50, + IORING_OP_FUTEX_WAIT = 51, + IORING_OP_FUTEX_WAKE = 52, + IORING_OP_FUTEX_WAITV = 53, + IORING_OP_FIXED_FD_INSTALL = 54, + IORING_OP_FTRUNCATE = 55, + IORING_OP_BIND = 56, + IORING_OP_LISTEN = 57, + IORING_OP_LAST = 58, +}; + +enum io_uring_register_op { + IORING_REGISTER_BUFFERS = 0, + IORING_UNREGISTER_BUFFERS = 1, + IORING_REGISTER_FILES = 2, + IORING_UNREGISTER_FILES = 3, + IORING_REGISTER_EVENTFD = 4, + IORING_UNREGISTER_EVENTFD = 5, + IORING_REGISTER_FILES_UPDATE = 6, + IORING_REGISTER_EVENTFD_ASYNC = 7, + IORING_REGISTER_PROBE = 8, + IORING_REGISTER_PERSONALITY = 9, + IORING_UNREGISTER_PERSONALITY = 10, + IORING_REGISTER_RESTRICTIONS = 11, + IORING_REGISTER_ENABLE_RINGS = 12, + IORING_REGISTER_FILES2 = 13, + IORING_REGISTER_FILES_UPDATE2 = 14, + IORING_REGISTER_BUFFERS2 = 15, + IORING_REGISTER_BUFFERS_UPDATE = 16, + IORING_REGISTER_IOWQ_AFF = 17, + IORING_UNREGISTER_IOWQ_AFF = 18, + IORING_REGISTER_IOWQ_MAX_WORKERS = 19, + IORING_REGISTER_RING_FDS = 20, + IORING_UNREGISTER_RING_FDS = 21, + IORING_REGISTER_PBUF_RING = 22, + IORING_UNREGISTER_PBUF_RING = 23, + IORING_REGISTER_SYNC_CANCEL = 24, + IORING_REGISTER_FILE_ALLOC_RANGE = 25, + IORING_REGISTER_PBUF_STATUS = 26, + IORING_REGISTER_NAPI = 27, + IORING_UNREGISTER_NAPI = 28, + IORING_REGISTER_CLOCK = 29, + IORING_REGISTER_CLONE_BUFFERS = 30, + IORING_REGISTER_SEND_MSG_RING = 31, + IORING_REGISTER_RESIZE_RINGS = 33, + IORING_REGISTER_MEM_REGION = 34, + IORING_REGISTER_LAST = 35, + IORING_REGISTER_USE_REGISTERED_RING = 2147483648, +}; + +enum io_uring_sqe_flags_bit { + IOSQE_FIXED_FILE_BIT = 0, + IOSQE_IO_DRAIN_BIT = 1, + IOSQE_IO_LINK_BIT = 2, + IOSQE_IO_HARDLINK_BIT = 3, + IOSQE_ASYNC_BIT = 4, + IOSQE_BUFFER_SELECT_BIT = 5, + IOSQE_CQE_SKIP_SUCCESS_BIT = 6, +}; + +enum ioam6_event_attr { + IOAM6_EVENT_ATTR_UNSPEC = 0, + IOAM6_EVENT_ATTR_TRACE_NAMESPACE = 1, + IOAM6_EVENT_ATTR_TRACE_NODELEN = 2, + IOAM6_EVENT_ATTR_TRACE_TYPE = 3, + IOAM6_EVENT_ATTR_TRACE_DATA = 4, + __IOAM6_EVENT_ATTR_MAX = 5, +}; + +enum ioam6_event_type { + IOAM6_EVENT_UNSPEC = 0, + IOAM6_EVENT_TRACE = 1, +}; + +enum ip6_defrag_users { + IP6_DEFRAG_LOCAL_DELIVER = 0, + IP6_DEFRAG_CONNTRACK_IN = 1, + __IP6_DEFRAG_CONNTRACK_IN = 65536, + IP6_DEFRAG_CONNTRACK_OUT = 65537, + __IP6_DEFRAG_CONNTRACK_OUT = 131072, + IP6_DEFRAG_CONNTRACK_BRIDGE_IN = 131073, + __IP6_DEFRAG_CONNTRACK_BRIDGE_IN = 196608, +}; + +enum ip_conntrack_dir { + IP_CT_DIR_ORIGINAL = 0, + IP_CT_DIR_REPLY = 1, + IP_CT_DIR_MAX = 2, +}; + +enum ip_defrag_users { + IP_DEFRAG_LOCAL_DELIVER = 0, + IP_DEFRAG_CALL_RA_CHAIN = 1, + IP_DEFRAG_CONNTRACK_IN = 2, + __IP_DEFRAG_CONNTRACK_IN_END = 65537, + IP_DEFRAG_CONNTRACK_OUT = 65538, + __IP_DEFRAG_CONNTRACK_OUT_END = 131073, + IP_DEFRAG_CONNTRACK_BRIDGE_IN = 131074, + __IP_DEFRAG_CONNTRACK_BRIDGE_IN = 196609, + IP_DEFRAG_VS_IN = 196610, + IP_DEFRAG_VS_OUT = 196611, + IP_DEFRAG_VS_FWD = 196612, + IP_DEFRAG_AF_PACKET = 196613, + IP_DEFRAG_MACVLAN = 196614, +}; + +enum irq_domain_bus_token { + DOMAIN_BUS_ANY = 0, + DOMAIN_BUS_WIRED = 1, + DOMAIN_BUS_GENERIC_MSI = 2, + DOMAIN_BUS_PCI_MSI = 3, + DOMAIN_BUS_PLATFORM_MSI = 4, + DOMAIN_BUS_NEXUS = 5, + DOMAIN_BUS_IPI = 6, + DOMAIN_BUS_FSL_MC_MSI = 7, + DOMAIN_BUS_TI_SCI_INTA_MSI = 8, + DOMAIN_BUS_WAKEUP = 9, + DOMAIN_BUS_VMD_MSI = 10, + DOMAIN_BUS_PCI_DEVICE_MSI = 11, + DOMAIN_BUS_PCI_DEVICE_MSIX = 12, + DOMAIN_BUS_DMAR = 13, + DOMAIN_BUS_AMDVI = 14, + DOMAIN_BUS_DEVICE_MSI = 15, + DOMAIN_BUS_WIRED_TO_MSI = 16, +}; + +enum irq_gc_flags { + IRQ_GC_INIT_MASK_CACHE = 1, + IRQ_GC_INIT_NESTED_LOCK = 2, + IRQ_GC_MASK_CACHE_PER_TYPE = 4, + IRQ_GC_NO_MASK = 8, + IRQ_GC_BE_IO = 16, +}; + +enum irqchip_irq_state { + IRQCHIP_STATE_PENDING = 0, + IRQCHIP_STATE_ACTIVE = 1, + IRQCHIP_STATE_MASKED = 2, + IRQCHIP_STATE_LINE_LEVEL = 3, +}; + +enum irqreturn { + IRQ_NONE = 0, + IRQ_HANDLED = 1, + IRQ_WAKE_THREAD = 2, +}; + +typedef enum irqreturn irqreturn_t; + +enum iter_type { + ITER_UBUF = 0, + ITER_IOVEC = 1, + ITER_BVEC = 2, + ITER_KVEC = 3, + ITER_FOLIOQ = 4, + ITER_XARRAY = 5, + ITER_DISCARD = 6, +}; + +enum kernel_load_data_id { + LOADING_UNKNOWN = 0, + LOADING_FIRMWARE = 1, + LOADING_MODULE = 2, + LOADING_KEXEC_IMAGE = 3, + LOADING_KEXEC_INITRAMFS = 4, + LOADING_POLICY = 5, + LOADING_X509_CERTIFICATE = 6, + LOADING_MAX_ID = 7, +}; + +enum kernel_read_file_id { + READING_UNKNOWN = 0, + READING_FIRMWARE = 1, + READING_MODULE = 2, + READING_KEXEC_IMAGE = 3, + READING_KEXEC_INITRAMFS = 4, + READING_POLICY = 5, + READING_X509_CERTIFICATE = 6, + READING_MAX_ID = 7, +}; + +enum kfunc_ptr_arg_type { + KF_ARG_PTR_TO_CTX = 0, + KF_ARG_PTR_TO_ALLOC_BTF_ID = 1, + KF_ARG_PTR_TO_REFCOUNTED_KPTR = 2, + KF_ARG_PTR_TO_DYNPTR = 3, + KF_ARG_PTR_TO_ITER = 4, + KF_ARG_PTR_TO_LIST_HEAD = 5, + KF_ARG_PTR_TO_LIST_NODE = 6, + KF_ARG_PTR_TO_BTF_ID = 7, + KF_ARG_PTR_TO_MEM = 8, + KF_ARG_PTR_TO_MEM_SIZE = 9, + KF_ARG_PTR_TO_CALLBACK = 10, + KF_ARG_PTR_TO_RB_ROOT = 11, + KF_ARG_PTR_TO_RB_NODE = 12, + KF_ARG_PTR_TO_NULL = 13, + KF_ARG_PTR_TO_CONST_STR = 14, + KF_ARG_PTR_TO_MAP = 15, + KF_ARG_PTR_TO_WORKQUEUE = 16, + KF_ARG_PTR_TO_IRQ_FLAG = 17, +}; + +enum kmalloc_cache_type { + KMALLOC_NORMAL = 0, + KMALLOC_DMA = 0, + KMALLOC_CGROUP = 0, + KMALLOC_RANDOM_START = 0, + KMALLOC_RANDOM_END = 0, + KMALLOC_RECLAIM = 0, + NR_KMALLOC_TYPES = 1, +}; + +enum kmsg_dump_reason { + KMSG_DUMP_UNDEF = 0, + KMSG_DUMP_PANIC = 1, + KMSG_DUMP_OOPS = 2, + KMSG_DUMP_EMERG = 3, + KMSG_DUMP_SHUTDOWN = 4, + KMSG_DUMP_MAX = 5, +}; + +enum kobj_ns_type { + KOBJ_NS_TYPE_NONE = 0, + KOBJ_NS_TYPE_NET = 1, + KOBJ_NS_TYPES = 2, +}; + +enum kobject_action { + KOBJ_ADD = 0, + KOBJ_REMOVE = 1, + KOBJ_CHANGE = 2, + KOBJ_MOVE = 3, + KOBJ_ONLINE = 4, + KOBJ_OFFLINE = 5, + KOBJ_BIND = 6, + KOBJ_UNBIND = 7, +}; + +enum kprobe_slot_state { + SLOT_CLEAN = 0, + SLOT_DIRTY = 1, + SLOT_USED = 2, +}; + +enum l2tp_debug_flags { + L2TP_MSG_DEBUG = 1, + L2TP_MSG_CONTROL = 2, + L2TP_MSG_SEQ = 4, + L2TP_MSG_DATA = 8, +}; + +enum led_brightness { + LED_OFF = 0, + LED_ON = 1, + LED_HALF = 127, + LED_FULL = 255, +}; + +enum legacy_fs_param { + LEGACY_FS_UNSET_PARAMS = 0, + LEGACY_FS_MONOLITHIC_PARAMS = 1, + LEGACY_FS_INDIVIDUAL_PARAMS = 2, +}; + +enum lockdep_ok { + LOCKDEP_STILL_OK = 0, + LOCKDEP_NOW_UNRELIABLE = 1, +}; + +enum lockdown_reason { + LOCKDOWN_NONE = 0, + LOCKDOWN_MODULE_SIGNATURE = 1, + LOCKDOWN_DEV_MEM = 2, + LOCKDOWN_EFI_TEST = 3, + LOCKDOWN_KEXEC = 4, + LOCKDOWN_HIBERNATION = 5, + LOCKDOWN_PCI_ACCESS = 6, + LOCKDOWN_IOPORT = 7, + LOCKDOWN_MSR = 8, + LOCKDOWN_ACPI_TABLES = 9, + LOCKDOWN_DEVICE_TREE = 10, + LOCKDOWN_PCMCIA_CIS = 11, + LOCKDOWN_TIOCSSERIAL = 12, + LOCKDOWN_MODULE_PARAMETERS = 13, + LOCKDOWN_MMIOTRACE = 14, + LOCKDOWN_DEBUGFS = 15, + LOCKDOWN_XMON_WR = 16, + LOCKDOWN_BPF_WRITE_USER = 17, + LOCKDOWN_DBG_WRITE_KERNEL = 18, + LOCKDOWN_RTAS_ERROR_INJECTION = 19, + LOCKDOWN_INTEGRITY_MAX = 20, + LOCKDOWN_KCORE = 21, + LOCKDOWN_KPROBES = 22, + LOCKDOWN_BPF_READ_KERNEL = 23, + LOCKDOWN_DBG_READ_KERNEL = 24, + LOCKDOWN_PERF = 25, + LOCKDOWN_TRACEFS = 26, + LOCKDOWN_XMON_RW = 27, + LOCKDOWN_XFRM_SECRET = 28, + LOCKDOWN_CONFIDENTIALITY_MAX = 29, +}; + +enum lru_list { + LRU_INACTIVE_ANON = 0, + LRU_ACTIVE_ANON = 1, + LRU_INACTIVE_FILE = 2, + LRU_ACTIVE_FILE = 3, + LRU_UNEVICTABLE = 4, + NR_LRU_LISTS = 5, +}; + +enum lru_status { + LRU_REMOVED = 0, + LRU_REMOVED_RETRY = 1, + LRU_ROTATE = 2, + LRU_SKIP = 3, + LRU_RETRY = 4, + LRU_STOP = 5, +}; + +enum lruvec_flags { + LRUVEC_CGROUP_CONGESTED = 0, + LRUVEC_NODE_CONGESTED = 1, +}; + +enum lw_bits { + LW_URGENT = 0, +}; + +enum lwtunnel_encap_types { + LWTUNNEL_ENCAP_NONE = 0, + LWTUNNEL_ENCAP_MPLS = 1, + LWTUNNEL_ENCAP_IP = 2, + LWTUNNEL_ENCAP_ILA = 3, + LWTUNNEL_ENCAP_IP6 = 4, + LWTUNNEL_ENCAP_SEG6 = 5, + LWTUNNEL_ENCAP_BPF = 6, + LWTUNNEL_ENCAP_SEG6_LOCAL = 7, + LWTUNNEL_ENCAP_RPL = 8, + LWTUNNEL_ENCAP_IOAM6 = 9, + LWTUNNEL_ENCAP_XFRM = 10, + __LWTUNNEL_ENCAP_MAX = 11, +}; + +enum lwtunnel_ip6_t { + LWTUNNEL_IP6_UNSPEC = 0, + LWTUNNEL_IP6_ID = 1, + LWTUNNEL_IP6_DST = 2, + LWTUNNEL_IP6_SRC = 3, + LWTUNNEL_IP6_HOPLIMIT = 4, + LWTUNNEL_IP6_TC = 5, + LWTUNNEL_IP6_FLAGS = 6, + LWTUNNEL_IP6_PAD = 7, + LWTUNNEL_IP6_OPTS = 8, + __LWTUNNEL_IP6_MAX = 9, +}; + +enum lwtunnel_ip_t { + LWTUNNEL_IP_UNSPEC = 0, + LWTUNNEL_IP_ID = 1, + LWTUNNEL_IP_DST = 2, + LWTUNNEL_IP_SRC = 3, + LWTUNNEL_IP_TTL = 4, + LWTUNNEL_IP_TOS = 5, + LWTUNNEL_IP_FLAGS = 6, + LWTUNNEL_IP_PAD = 7, + LWTUNNEL_IP_OPTS = 8, + __LWTUNNEL_IP_MAX = 9, +}; + +enum maple_status { + ma_active = 0, + ma_start = 1, + ma_root = 2, + ma_none = 3, + ma_pause = 4, + ma_overflow = 5, + ma_underflow = 6, + ma_error = 7, +}; + +enum maple_type { + maple_dense = 0, + maple_leaf_64 = 1, + maple_range_64 = 2, + maple_arange_64 = 3, +}; + +enum mapping_flags { + AS_EIO = 0, + AS_ENOSPC = 1, + AS_MM_ALL_LOCKS = 2, + AS_UNEVICTABLE = 3, + AS_EXITING = 4, + AS_NO_WRITEBACK_TAGS = 5, + AS_RELEASE_ALWAYS = 6, + AS_STABLE_WRITES = 7, + AS_INACCESSIBLE = 8, + AS_FOLIO_ORDER_BITS = 5, + AS_FOLIO_ORDER_MIN = 16, + AS_FOLIO_ORDER_MAX = 21, +}; + +enum memblock_flags { + MEMBLOCK_NONE = 0, + MEMBLOCK_HOTPLUG = 1, + MEMBLOCK_MIRROR = 2, + MEMBLOCK_NOMAP = 4, + MEMBLOCK_DRIVER_MANAGED = 8, + MEMBLOCK_RSRV_NOINIT = 16, +}; + +enum memcg_memory_event { + MEMCG_LOW = 0, + MEMCG_HIGH = 1, + MEMCG_MAX = 2, + MEMCG_OOM = 3, + MEMCG_OOM_KILL = 4, + MEMCG_OOM_GROUP_KILL = 5, + MEMCG_SWAP_HIGH = 6, + MEMCG_SWAP_MAX = 7, + MEMCG_SWAP_FAIL = 8, + MEMCG_NR_MEMORY_EVENTS = 9, +}; + +enum memcg_stat_item { + MEMCG_SWAP = 44, + MEMCG_SOCK = 45, + MEMCG_PERCPU_B = 46, + MEMCG_VMALLOC = 47, + MEMCG_KMEM = 48, + MEMCG_ZSWAP_B = 49, + MEMCG_ZSWAPPED = 50, + MEMCG_NR_STAT = 51, +}; + +enum meminit_context { + MEMINIT_EARLY = 0, + MEMINIT_HOTPLUG = 1, +}; + +enum memory_type { + MEMORY_DEVICE_PRIVATE = 1, + MEMORY_DEVICE_COHERENT = 2, + MEMORY_DEVICE_FS_DAX = 3, + MEMORY_DEVICE_GENERIC = 4, + MEMORY_DEVICE_PCI_P2PDMA = 5, +}; + +enum metadata_type { + METADATA_IP_TUNNEL = 0, + METADATA_HW_PORT_MUX = 1, + METADATA_MACSEC = 2, + METADATA_XFRM = 3, +}; + +enum migrate_mode { + MIGRATE_ASYNC = 0, + MIGRATE_SYNC_LIGHT = 1, + MIGRATE_SYNC = 2, +}; + +enum migrate_reason { + MR_COMPACTION = 0, + MR_MEMORY_FAILURE = 1, + MR_MEMORY_HOTPLUG = 2, + MR_SYSCALL = 3, + MR_MEMPOLICY_MBIND = 4, + MR_NUMA_MISPLACED = 5, + MR_CONTIG_RANGE = 6, + MR_LONGTERM_PIN = 7, + MR_DEMOTION = 8, + MR_DAMON = 9, + MR_TYPES = 10, +}; + +enum migratetype { + MIGRATE_UNMOVABLE = 0, + MIGRATE_MOVABLE = 1, + MIGRATE_RECLAIMABLE = 2, + MIGRATE_PCPTYPES = 3, + MIGRATE_HIGHATOMIC = 3, + MIGRATE_TYPES = 4, +}; + +enum mminit_level { + MMINIT_WARNING = 0, + MMINIT_VERIFY = 1, + MMINIT_TRACE = 2, +}; + +enum mnt_tree_flags_t { + MNT_TREE_MOVE = 1, + MNT_TREE_BENEATH = 2, +}; + +enum mod_license { + NOT_GPL_ONLY = 0, + GPL_ONLY = 1, +}; + +enum mod_mem_type { + MOD_TEXT = 0, + MOD_DATA = 1, + MOD_RODATA = 2, + MOD_RO_AFTER_INIT = 3, + MOD_INIT_TEXT = 4, + MOD_INIT_DATA = 5, + MOD_INIT_RODATA = 6, + MOD_MEM_NUM_TYPES = 7, + MOD_INVALID = -1, +}; + +enum module_state { + MODULE_STATE_LIVE = 0, + MODULE_STATE_COMING = 1, + MODULE_STATE_GOING = 2, + MODULE_STATE_UNFORMED = 3, +}; + +enum mthp_stat_item { + MTHP_STAT_ANON_FAULT_ALLOC = 0, + MTHP_STAT_ANON_FAULT_FALLBACK = 1, + MTHP_STAT_ANON_FAULT_FALLBACK_CHARGE = 2, + MTHP_STAT_ZSWPOUT = 3, + MTHP_STAT_SWPIN = 4, + MTHP_STAT_SWPIN_FALLBACK = 5, + MTHP_STAT_SWPIN_FALLBACK_CHARGE = 6, + MTHP_STAT_SWPOUT = 7, + MTHP_STAT_SWPOUT_FALLBACK = 8, + MTHP_STAT_SHMEM_ALLOC = 9, + MTHP_STAT_SHMEM_FALLBACK = 10, + MTHP_STAT_SHMEM_FALLBACK_CHARGE = 11, + MTHP_STAT_SPLIT = 12, + MTHP_STAT_SPLIT_FAILED = 13, + MTHP_STAT_SPLIT_DEFERRED = 14, + MTHP_STAT_NR_ANON = 15, + MTHP_STAT_NR_ANON_PARTIALLY_MAPPED = 16, + __MTHP_STAT_COUNT = 17, +}; + +enum nbcon_prio { + NBCON_PRIO_NONE = 0, + NBCON_PRIO_NORMAL = 1, + NBCON_PRIO_EMERGENCY = 2, + NBCON_PRIO_PANIC = 3, + NBCON_PRIO_MAX = 4, +}; + +enum net_device_flags { + IFF_UP = 1, + IFF_BROADCAST = 2, + IFF_DEBUG = 4, + IFF_LOOPBACK = 8, + IFF_POINTOPOINT = 16, + IFF_NOTRAILERS = 32, + IFF_RUNNING = 64, + IFF_NOARP = 128, + IFF_PROMISC = 256, + IFF_ALLMULTI = 512, + IFF_MASTER = 1024, + IFF_SLAVE = 2048, + IFF_MULTICAST = 4096, + IFF_PORTSEL = 8192, + IFF_AUTOMEDIA = 16384, + IFF_DYNAMIC = 32768, + IFF_LOWER_UP = 65536, + IFF_DORMANT = 131072, + IFF_ECHO = 262144, +}; + +enum net_device_path_type { + DEV_PATH_ETHERNET = 0, + DEV_PATH_VLAN = 1, + DEV_PATH_BRIDGE = 2, + DEV_PATH_PPPOE = 3, + DEV_PATH_DSA = 4, + DEV_PATH_MTK_WDMA = 5, +}; + +enum netdev_cmd { + NETDEV_UP = 1, + NETDEV_DOWN = 2, + NETDEV_REBOOT = 3, + NETDEV_CHANGE = 4, + NETDEV_REGISTER = 5, + NETDEV_UNREGISTER = 6, + NETDEV_CHANGEMTU = 7, + NETDEV_CHANGEADDR = 8, + NETDEV_PRE_CHANGEADDR = 9, + NETDEV_GOING_DOWN = 10, + NETDEV_CHANGENAME = 11, + NETDEV_FEAT_CHANGE = 12, + NETDEV_BONDING_FAILOVER = 13, + NETDEV_PRE_UP = 14, + NETDEV_PRE_TYPE_CHANGE = 15, + NETDEV_POST_TYPE_CHANGE = 16, + NETDEV_POST_INIT = 17, + NETDEV_PRE_UNINIT = 18, + NETDEV_RELEASE = 19, + NETDEV_NOTIFY_PEERS = 20, + NETDEV_JOIN = 21, + NETDEV_CHANGEUPPER = 22, + NETDEV_RESEND_IGMP = 23, + NETDEV_PRECHANGEMTU = 24, + NETDEV_CHANGEINFODATA = 25, + NETDEV_BONDING_INFO = 26, + NETDEV_PRECHANGEUPPER = 27, + NETDEV_CHANGELOWERSTATE = 28, + NETDEV_UDP_TUNNEL_PUSH_INFO = 29, + NETDEV_UDP_TUNNEL_DROP_INFO = 30, + NETDEV_CHANGE_TX_QUEUE_LEN = 31, + NETDEV_CVLAN_FILTER_PUSH_INFO = 32, + NETDEV_CVLAN_FILTER_DROP_INFO = 33, + NETDEV_SVLAN_FILTER_PUSH_INFO = 34, + NETDEV_SVLAN_FILTER_DROP_INFO = 35, + NETDEV_OFFLOAD_XSTATS_ENABLE = 36, + NETDEV_OFFLOAD_XSTATS_DISABLE = 37, + NETDEV_OFFLOAD_XSTATS_REPORT_USED = 38, + NETDEV_OFFLOAD_XSTATS_REPORT_DELTA = 39, + NETDEV_XDP_FEAT_CHANGE = 40, +}; + +enum netdev_ml_priv_type { + ML_PRIV_NONE = 0, + ML_PRIV_CAN = 1, +}; + +enum netdev_offload_xstats_type { + NETDEV_OFFLOAD_XSTATS_TYPE_L3 = 1, +}; + +enum netdev_priv_flags { + IFF_802_1Q_VLAN = 1, + IFF_EBRIDGE = 2, + IFF_BONDING = 4, + IFF_ISATAP = 8, + IFF_WAN_HDLC = 16, + IFF_XMIT_DST_RELEASE = 32, + IFF_DONT_BRIDGE = 64, + IFF_DISABLE_NETPOLL = 128, + IFF_MACVLAN_PORT = 256, + IFF_BRIDGE_PORT = 512, + IFF_OVS_DATAPATH = 1024, + IFF_TX_SKB_SHARING = 2048, + IFF_UNICAST_FLT = 4096, + IFF_TEAM_PORT = 8192, + IFF_SUPP_NOFCS = 16384, + IFF_LIVE_ADDR_CHANGE = 32768, + IFF_MACVLAN = 65536, + IFF_XMIT_DST_RELEASE_PERM = 131072, + IFF_L3MDEV_MASTER = 262144, + IFF_NO_QUEUE = 524288, + IFF_OPENVSWITCH = 1048576, + IFF_L3MDEV_SLAVE = 2097152, + IFF_TEAM = 4194304, + IFF_RXFH_CONFIGURED = 8388608, + IFF_PHONY_HEADROOM = 16777216, + IFF_MACSEC = 33554432, + IFF_NO_RX_HANDLER = 67108864, + IFF_FAILOVER = 134217728, + IFF_FAILOVER_SLAVE = 268435456, + IFF_L3MDEV_RX_HANDLER = 536870912, + IFF_NO_ADDRCONF = 1073741824, + IFF_TX_SKB_NO_LINEAR = 2147483648, +}; + +enum netdev_qstats_scope { + NETDEV_QSTATS_SCOPE_QUEUE = 1, +}; + +enum netdev_queue_state_t { + __QUEUE_STATE_DRV_XOFF = 0, + __QUEUE_STATE_STACK_XOFF = 1, + __QUEUE_STATE_FROZEN = 2, +}; + +enum netdev_queue_type { + NETDEV_QUEUE_TYPE_RX = 0, + NETDEV_QUEUE_TYPE_TX = 1, +}; + +enum netdev_reg_state { + NETREG_UNINITIALIZED = 0, + NETREG_REGISTERED = 1, + NETREG_UNREGISTERING = 2, + NETREG_UNREGISTERED = 3, + NETREG_RELEASED = 4, + NETREG_DUMMY = 5, +}; + +enum netdev_stat_type { + NETDEV_PCPU_STAT_NONE = 0, + NETDEV_PCPU_STAT_LSTATS = 1, + NETDEV_PCPU_STAT_TSTATS = 2, + NETDEV_PCPU_STAT_DSTATS = 3, +}; + +enum netdev_state_t { + __LINK_STATE_START = 0, + __LINK_STATE_PRESENT = 1, + __LINK_STATE_NOCARRIER = 2, + __LINK_STATE_LINKWATCH_PENDING = 3, + __LINK_STATE_DORMANT = 4, + __LINK_STATE_TESTING = 5, +}; + +enum netdev_tx { + __NETDEV_TX_MIN = -2147483648, + NETDEV_TX_OK = 0, + NETDEV_TX_BUSY = 16, +}; + +typedef enum netdev_tx netdev_tx_t; + +enum netdev_xdp_act { + NETDEV_XDP_ACT_BASIC = 1, + NETDEV_XDP_ACT_REDIRECT = 2, + NETDEV_XDP_ACT_NDO_XMIT = 4, + NETDEV_XDP_ACT_XSK_ZEROCOPY = 8, + NETDEV_XDP_ACT_HW_OFFLOAD = 16, + NETDEV_XDP_ACT_RX_SG = 32, + NETDEV_XDP_ACT_NDO_XMIT_SG = 64, + NETDEV_XDP_ACT_MASK = 127, +}; + +enum netdev_xdp_rx_metadata { + NETDEV_XDP_RX_METADATA_TIMESTAMP = 1, + NETDEV_XDP_RX_METADATA_HASH = 2, + NETDEV_XDP_RX_METADATA_VLAN_TAG = 4, +}; + +enum netdev_xsk_flags { + NETDEV_XSK_FLAGS_TX_TIMESTAMP = 1, + NETDEV_XSK_FLAGS_TX_CHECKSUM = 2, +}; + +enum netevent_notif_type { + NETEVENT_NEIGH_UPDATE = 1, + NETEVENT_REDIRECT = 2, + NETEVENT_DELAY_PROBE_TIME_UPDATE = 3, + NETEVENT_IPV4_MPATH_HASH_UPDATE = 4, + NETEVENT_IPV6_MPATH_HASH_UPDATE = 5, + NETEVENT_IPV4_FWD_UPDATE_PRIORITY_UPDATE = 6, +}; + +enum netlink_attribute_type { + NL_ATTR_TYPE_INVALID = 0, + NL_ATTR_TYPE_FLAG = 1, + NL_ATTR_TYPE_U8 = 2, + NL_ATTR_TYPE_U16 = 3, + NL_ATTR_TYPE_U32 = 4, + NL_ATTR_TYPE_U64 = 5, + NL_ATTR_TYPE_S8 = 6, + NL_ATTR_TYPE_S16 = 7, + NL_ATTR_TYPE_S32 = 8, + NL_ATTR_TYPE_S64 = 9, + NL_ATTR_TYPE_BINARY = 10, + NL_ATTR_TYPE_STRING = 11, + NL_ATTR_TYPE_NUL_STRING = 12, + NL_ATTR_TYPE_NESTED = 13, + NL_ATTR_TYPE_NESTED_ARRAY = 14, + NL_ATTR_TYPE_BITFIELD32 = 15, + NL_ATTR_TYPE_SINT = 16, + NL_ATTR_TYPE_UINT = 17, +}; + +enum netlink_policy_type_attr { + NL_POLICY_TYPE_ATTR_UNSPEC = 0, + NL_POLICY_TYPE_ATTR_TYPE = 1, + NL_POLICY_TYPE_ATTR_MIN_VALUE_S = 2, + NL_POLICY_TYPE_ATTR_MAX_VALUE_S = 3, + NL_POLICY_TYPE_ATTR_MIN_VALUE_U = 4, + NL_POLICY_TYPE_ATTR_MAX_VALUE_U = 5, + NL_POLICY_TYPE_ATTR_MIN_LENGTH = 6, + NL_POLICY_TYPE_ATTR_MAX_LENGTH = 7, + NL_POLICY_TYPE_ATTR_POLICY_IDX = 8, + NL_POLICY_TYPE_ATTR_POLICY_MAXTYPE = 9, + NL_POLICY_TYPE_ATTR_BITFIELD32_MASK = 10, + NL_POLICY_TYPE_ATTR_PAD = 11, + NL_POLICY_TYPE_ATTR_MASK = 12, + __NL_POLICY_TYPE_ATTR_MAX = 13, + NL_POLICY_TYPE_ATTR_MAX = 12, +}; + +enum netlink_skb_flags { + NETLINK_SKB_DST = 8, +}; + +enum netlink_validation { + NL_VALIDATE_LIBERAL = 0, + NL_VALIDATE_TRAILING = 1, + NL_VALIDATE_MAXTYPE = 2, + NL_VALIDATE_UNSPEC = 4, + NL_VALIDATE_STRICT_ATTRS = 8, + NL_VALIDATE_NESTED = 16, +}; + +enum netns_bpf_attach_type { + NETNS_BPF_INVALID = -1, + NETNS_BPF_FLOW_DISSECTOR = 0, + NETNS_BPF_SK_LOOKUP = 1, + MAX_NETNS_BPF_ATTACH_TYPE = 2, +}; + +enum nexthop_event_type { + NEXTHOP_EVENT_DEL = 0, + NEXTHOP_EVENT_REPLACE = 1, + NEXTHOP_EVENT_RES_TABLE_PRE_REPLACE = 2, + NEXTHOP_EVENT_BUCKET_REPLACE = 3, + NEXTHOP_EVENT_HW_STATS_REPORT_DELTA = 4, +}; + +enum nf_inet_hooks { + NF_INET_PRE_ROUTING = 0, + NF_INET_LOCAL_IN = 1, + NF_INET_FORWARD = 2, + NF_INET_LOCAL_OUT = 3, + NF_INET_POST_ROUTING = 4, + NF_INET_NUMHOOKS = 5, + NF_INET_INGRESS = 5, +}; + +enum nfs_opnum4 { + OP_ACCESS = 3, + OP_CLOSE = 4, + OP_COMMIT = 5, + OP_CREATE = 6, + OP_DELEGPURGE = 7, + OP_DELEGRETURN = 8, + OP_GETATTR = 9, + OP_GETFH = 10, + OP_LINK = 11, + OP_LOCK = 12, + OP_LOCKT = 13, + OP_LOCKU = 14, + OP_LOOKUP = 15, + OP_LOOKUPP = 16, + OP_NVERIFY = 17, + OP_OPEN = 18, + OP_OPENATTR = 19, + OP_OPEN_CONFIRM = 20, + OP_OPEN_DOWNGRADE = 21, + OP_PUTFH = 22, + OP_PUTPUBFH = 23, + OP_PUTROOTFH = 24, + OP_READ = 25, + OP_READDIR = 26, + OP_READLINK = 27, + OP_REMOVE = 28, + OP_RENAME = 29, + OP_RENEW = 30, + OP_RESTOREFH = 31, + OP_SAVEFH = 32, + OP_SECINFO = 33, + OP_SETATTR = 34, + OP_SETCLIENTID = 35, + OP_SETCLIENTID_CONFIRM = 36, + OP_VERIFY = 37, + OP_WRITE = 38, + OP_RELEASE_LOCKOWNER = 39, + OP_BACKCHANNEL_CTL = 40, + OP_BIND_CONN_TO_SESSION = 41, + OP_EXCHANGE_ID = 42, + OP_CREATE_SESSION = 43, + OP_DESTROY_SESSION = 44, + OP_FREE_STATEID = 45, + OP_GET_DIR_DELEGATION = 46, + OP_GETDEVICEINFO = 47, + OP_GETDEVICELIST = 48, + OP_LAYOUTCOMMIT = 49, + OP_LAYOUTGET = 50, + OP_LAYOUTRETURN = 51, + OP_SECINFO_NO_NAME = 52, + OP_SEQUENCE = 53, + OP_SET_SSV = 54, + OP_TEST_STATEID = 55, + OP_WANT_DELEGATION = 56, + OP_DESTROY_CLIENTID = 57, + OP_RECLAIM_COMPLETE = 58, + OP_ALLOCATE = 59, + OP_COPY = 60, + OP_COPY_NOTIFY = 61, + OP_DEALLOCATE = 62, + OP_IO_ADVISE = 63, + OP_LAYOUTERROR = 64, + OP_LAYOUTSTATS = 65, + OP_OFFLOAD_CANCEL = 66, + OP_OFFLOAD_STATUS = 67, + OP_READ_PLUS = 68, + OP_SEEK = 69, + OP_WRITE_SAME = 70, + OP_CLONE = 71, + OP_GETXATTR = 72, + OP_SETXATTR = 73, + OP_LISTXATTRS = 74, + OP_REMOVEXATTR = 75, + OP_ILLEGAL = 10044, +}; + +enum nh_notifier_info_type { + NH_NOTIFIER_INFO_TYPE_SINGLE = 0, + NH_NOTIFIER_INFO_TYPE_GRP = 1, + NH_NOTIFIER_INFO_TYPE_RES_TABLE = 2, + NH_NOTIFIER_INFO_TYPE_RES_BUCKET = 3, + NH_NOTIFIER_INFO_TYPE_GRP_HW_STATS = 4, +}; + +enum nla_policy_validation { + NLA_VALIDATE_NONE = 0, + NLA_VALIDATE_RANGE = 1, + NLA_VALIDATE_RANGE_WARN_TOO_LONG = 2, + NLA_VALIDATE_MIN = 3, + NLA_VALIDATE_MAX = 4, + NLA_VALIDATE_MASK = 5, + NLA_VALIDATE_RANGE_PTR = 6, + NLA_VALIDATE_FUNCTION = 7, +}; + +enum nlmsgerr_attrs { + NLMSGERR_ATTR_UNUSED = 0, + NLMSGERR_ATTR_MSG = 1, + NLMSGERR_ATTR_OFFS = 2, + NLMSGERR_ATTR_COOKIE = 3, + NLMSGERR_ATTR_POLICY = 4, + NLMSGERR_ATTR_MISS_TYPE = 5, + NLMSGERR_ATTR_MISS_NEST = 6, + __NLMSGERR_ATTR_MAX = 7, + NLMSGERR_ATTR_MAX = 6, +}; + +enum node_stat_item { + NR_LRU_BASE = 0, + NR_INACTIVE_ANON = 0, + NR_ACTIVE_ANON = 1, + NR_INACTIVE_FILE = 2, + NR_ACTIVE_FILE = 3, + NR_UNEVICTABLE = 4, + NR_SLAB_RECLAIMABLE_B = 5, + NR_SLAB_UNRECLAIMABLE_B = 6, + NR_ISOLATED_ANON = 7, + NR_ISOLATED_FILE = 8, + WORKINGSET_NODES = 9, + WORKINGSET_REFAULT_BASE = 10, + WORKINGSET_REFAULT_ANON = 10, + WORKINGSET_REFAULT_FILE = 11, + WORKINGSET_ACTIVATE_BASE = 12, + WORKINGSET_ACTIVATE_ANON = 12, + WORKINGSET_ACTIVATE_FILE = 13, + WORKINGSET_RESTORE_BASE = 14, + WORKINGSET_RESTORE_ANON = 14, + WORKINGSET_RESTORE_FILE = 15, + WORKINGSET_NODERECLAIM = 16, + NR_ANON_MAPPED = 17, + NR_FILE_MAPPED = 18, + NR_FILE_PAGES = 19, + NR_FILE_DIRTY = 20, + NR_WRITEBACK = 21, + NR_WRITEBACK_TEMP = 22, + NR_SHMEM = 23, + NR_SHMEM_THPS = 24, + NR_SHMEM_PMDMAPPED = 25, + NR_FILE_THPS = 26, + NR_FILE_PMDMAPPED = 27, + NR_ANON_THPS = 28, + NR_VMSCAN_WRITE = 29, + NR_VMSCAN_IMMEDIATE = 30, + NR_DIRTIED = 31, + NR_WRITTEN = 32, + NR_THROTTLED_WRITTEN = 33, + NR_KERNEL_MISC_RECLAIMABLE = 34, + NR_FOLL_PIN_ACQUIRED = 35, + NR_FOLL_PIN_RELEASED = 36, + NR_KERNEL_STACK_KB = 37, + NR_PAGETABLE = 38, + NR_SECONDARY_PAGETABLE = 39, + NR_IOMMU_PAGES = 40, + PGDEMOTE_KSWAPD = 41, + PGDEMOTE_DIRECT = 42, + PGDEMOTE_KHUGEPAGED = 43, + NR_VM_NODE_STAT_ITEMS = 44, +}; + +enum node_states { + N_POSSIBLE = 0, + N_ONLINE = 1, + N_NORMAL_MEMORY = 2, + N_HIGH_MEMORY = 2, + N_MEMORY = 3, + N_CPU = 4, + N_GENERIC_INITIATOR = 5, + NR_NODE_STATES = 6, +}; + +enum offload_act_command { + FLOW_ACT_REPLACE = 0, + FLOW_ACT_DESTROY = 1, + FLOW_ACT_STATS = 2, +}; + +enum oom_constraint { + CONSTRAINT_NONE = 0, + CONSTRAINT_CPUSET = 1, + CONSTRAINT_MEMORY_POLICY = 2, + CONSTRAINT_MEMCG = 3, +}; + +enum owner_state { + OWNER_NULL = 1, + OWNER_WRITER = 2, + OWNER_READER = 4, + OWNER_NONSPINNABLE = 8, +}; + +enum page_size_enum { + __PAGE_SIZE = 4096, +}; + +enum page_walk_action { + ACTION_SUBTREE = 0, + ACTION_CONTINUE = 1, + ACTION_AGAIN = 2, +}; + +enum page_walk_lock { + PGWALK_RDLOCK = 0, + PGWALK_WRLOCK = 1, + PGWALK_WRLOCK_VERIFY = 2, +}; + +enum pageblock_bits { + PB_migrate = 0, + PB_migrate_end = 2, + PB_migrate_skip = 3, + NR_PAGEBLOCK_BITS = 4, +}; + +enum pageflags { + PG_locked = 0, + PG_writeback = 1, + PG_referenced = 2, + PG_uptodate = 3, + PG_dirty = 4, + PG_lru = 5, + PG_head = 6, + PG_waiters = 7, + PG_active = 8, + PG_workingset = 9, + PG_owner_priv_1 = 10, + PG_owner_2 = 11, + PG_arch_1 = 12, + PG_reserved = 13, + PG_private = 14, + PG_private_2 = 15, + PG_reclaim = 16, + PG_swapbacked = 17, + PG_unevictable = 18, + PG_dropbehind = 19, + PG_mlocked = 20, + __NR_PAGEFLAGS = 21, + PG_readahead = 16, + PG_swapcache = 10, + PG_checked = 10, + PG_anon_exclusive = 11, + PG_mappedtodisk = 11, + PG_fscache = 15, + PG_pinned = 10, + PG_savepinned = 4, + PG_foreign = 10, + PG_xen_remapped = 10, + PG_isolated = 16, + PG_reported = 3, + PG_has_hwpoisoned = 8, + PG_large_rmappable = 9, + PG_partially_mapped = 16, +}; + +enum pagetype { + PGTY_buddy = 240, + PGTY_offline = 241, + PGTY_table = 242, + PGTY_guard = 243, + PGTY_hugetlb = 244, + PGTY_slab = 245, + PGTY_zsmalloc = 246, + PGTY_unaccepted = 247, + PGTY_mapcount_underflow = 255, +}; + +enum pci_p2pdma_map_type { + PCI_P2PDMA_MAP_UNKNOWN = 0, + PCI_P2PDMA_MAP_NOT_SUPPORTED = 1, + PCI_P2PDMA_MAP_BUS_ADDR = 2, + PCI_P2PDMA_MAP_THRU_HOST_BRIDGE = 3, +}; + +enum pcpu_fc { + PCPU_FC_AUTO = 0, + PCPU_FC_EMBED = 1, + PCPU_FC_PAGE = 2, + PCPU_FC_NR = 3, +}; + +enum perf_addr_filter_action_t { + PERF_ADDR_FILTER_ACTION_STOP = 0, + PERF_ADDR_FILTER_ACTION_START = 1, + PERF_ADDR_FILTER_ACTION_FILTER = 2, +}; + +enum perf_bpf_event_type { + PERF_BPF_EVENT_UNKNOWN = 0, + PERF_BPF_EVENT_PROG_LOAD = 1, + PERF_BPF_EVENT_PROG_UNLOAD = 2, + PERF_BPF_EVENT_MAX = 3, +}; + +enum perf_branch_sample_type { + PERF_SAMPLE_BRANCH_USER = 1, + PERF_SAMPLE_BRANCH_KERNEL = 2, + PERF_SAMPLE_BRANCH_HV = 4, + PERF_SAMPLE_BRANCH_ANY = 8, + PERF_SAMPLE_BRANCH_ANY_CALL = 16, + PERF_SAMPLE_BRANCH_ANY_RETURN = 32, + PERF_SAMPLE_BRANCH_IND_CALL = 64, + PERF_SAMPLE_BRANCH_ABORT_TX = 128, + PERF_SAMPLE_BRANCH_IN_TX = 256, + PERF_SAMPLE_BRANCH_NO_TX = 512, + PERF_SAMPLE_BRANCH_COND = 1024, + PERF_SAMPLE_BRANCH_CALL_STACK = 2048, + PERF_SAMPLE_BRANCH_IND_JUMP = 4096, + PERF_SAMPLE_BRANCH_CALL = 8192, + PERF_SAMPLE_BRANCH_NO_FLAGS = 16384, + PERF_SAMPLE_BRANCH_NO_CYCLES = 32768, + PERF_SAMPLE_BRANCH_TYPE_SAVE = 65536, + PERF_SAMPLE_BRANCH_HW_INDEX = 131072, + PERF_SAMPLE_BRANCH_PRIV_SAVE = 262144, + PERF_SAMPLE_BRANCH_COUNTERS = 524288, + PERF_SAMPLE_BRANCH_MAX = 1048576, +}; + +enum perf_branch_sample_type_shift { + PERF_SAMPLE_BRANCH_USER_SHIFT = 0, + PERF_SAMPLE_BRANCH_KERNEL_SHIFT = 1, + PERF_SAMPLE_BRANCH_HV_SHIFT = 2, + PERF_SAMPLE_BRANCH_ANY_SHIFT = 3, + PERF_SAMPLE_BRANCH_ANY_CALL_SHIFT = 4, + PERF_SAMPLE_BRANCH_ANY_RETURN_SHIFT = 5, + PERF_SAMPLE_BRANCH_IND_CALL_SHIFT = 6, + PERF_SAMPLE_BRANCH_ABORT_TX_SHIFT = 7, + PERF_SAMPLE_BRANCH_IN_TX_SHIFT = 8, + PERF_SAMPLE_BRANCH_NO_TX_SHIFT = 9, + PERF_SAMPLE_BRANCH_COND_SHIFT = 10, + PERF_SAMPLE_BRANCH_CALL_STACK_SHIFT = 11, + PERF_SAMPLE_BRANCH_IND_JUMP_SHIFT = 12, + PERF_SAMPLE_BRANCH_CALL_SHIFT = 13, + PERF_SAMPLE_BRANCH_NO_FLAGS_SHIFT = 14, + PERF_SAMPLE_BRANCH_NO_CYCLES_SHIFT = 15, + PERF_SAMPLE_BRANCH_TYPE_SAVE_SHIFT = 16, + PERF_SAMPLE_BRANCH_HW_INDEX_SHIFT = 17, + PERF_SAMPLE_BRANCH_PRIV_SAVE_SHIFT = 18, + PERF_SAMPLE_BRANCH_COUNTERS_SHIFT = 19, + PERF_SAMPLE_BRANCH_MAX_SHIFT = 20, +}; + +enum perf_callchain_context { + PERF_CONTEXT_HV = 18446744073709551584ULL, + PERF_CONTEXT_KERNEL = 18446744073709551488ULL, + PERF_CONTEXT_USER = 18446744073709551104ULL, + PERF_CONTEXT_GUEST = 18446744073709549568ULL, + PERF_CONTEXT_GUEST_KERNEL = 18446744073709549440ULL, + PERF_CONTEXT_GUEST_USER = 18446744073709549056ULL, + PERF_CONTEXT_MAX = 18446744073709547521ULL, +}; + +enum perf_event_arm_regs { + PERF_REG_ARM_R0 = 0, + PERF_REG_ARM_R1 = 1, + PERF_REG_ARM_R2 = 2, + PERF_REG_ARM_R3 = 3, + PERF_REG_ARM_R4 = 4, + PERF_REG_ARM_R5 = 5, + PERF_REG_ARM_R6 = 6, + PERF_REG_ARM_R7 = 7, + PERF_REG_ARM_R8 = 8, + PERF_REG_ARM_R9 = 9, + PERF_REG_ARM_R10 = 10, + PERF_REG_ARM_FP = 11, + PERF_REG_ARM_IP = 12, + PERF_REG_ARM_SP = 13, + PERF_REG_ARM_LR = 14, + PERF_REG_ARM_PC = 15, + PERF_REG_ARM_MAX = 16, +}; + +enum perf_event_ioc_flags { + PERF_IOC_FLAG_GROUP = 1, +}; + +enum perf_event_read_format { + PERF_FORMAT_TOTAL_TIME_ENABLED = 1, + PERF_FORMAT_TOTAL_TIME_RUNNING = 2, + PERF_FORMAT_ID = 4, + PERF_FORMAT_GROUP = 8, + PERF_FORMAT_LOST = 16, + PERF_FORMAT_MAX = 32, +}; + +enum perf_event_sample_format { + PERF_SAMPLE_IP = 1, + PERF_SAMPLE_TID = 2, + PERF_SAMPLE_TIME = 4, + PERF_SAMPLE_ADDR = 8, + PERF_SAMPLE_READ = 16, + PERF_SAMPLE_CALLCHAIN = 32, + PERF_SAMPLE_ID = 64, + PERF_SAMPLE_CPU = 128, + PERF_SAMPLE_PERIOD = 256, + PERF_SAMPLE_STREAM_ID = 512, + PERF_SAMPLE_RAW = 1024, + PERF_SAMPLE_BRANCH_STACK = 2048, + PERF_SAMPLE_REGS_USER = 4096, + PERF_SAMPLE_STACK_USER = 8192, + PERF_SAMPLE_WEIGHT = 16384, + PERF_SAMPLE_DATA_SRC = 32768, + PERF_SAMPLE_IDENTIFIER = 65536, + PERF_SAMPLE_TRANSACTION = 131072, + PERF_SAMPLE_REGS_INTR = 262144, + PERF_SAMPLE_PHYS_ADDR = 524288, + PERF_SAMPLE_AUX = 1048576, + PERF_SAMPLE_CGROUP = 2097152, + PERF_SAMPLE_DATA_PAGE_SIZE = 4194304, + PERF_SAMPLE_CODE_PAGE_SIZE = 8388608, + PERF_SAMPLE_WEIGHT_STRUCT = 16777216, + PERF_SAMPLE_MAX = 33554432, +}; + +enum perf_event_state { + PERF_EVENT_STATE_DEAD = -4, + PERF_EVENT_STATE_EXIT = -3, + PERF_EVENT_STATE_ERROR = -2, + PERF_EVENT_STATE_OFF = -1, + PERF_EVENT_STATE_INACTIVE = 0, + PERF_EVENT_STATE_ACTIVE = 1, +}; + +enum perf_event_task_context { + perf_invalid_context = -1, + perf_hw_context = 0, + perf_sw_context = 1, + perf_nr_task_contexts = 2, +}; + +enum perf_event_type { + PERF_RECORD_MMAP = 1, + PERF_RECORD_LOST = 2, + PERF_RECORD_COMM = 3, + PERF_RECORD_EXIT = 4, + PERF_RECORD_THROTTLE = 5, + PERF_RECORD_UNTHROTTLE = 6, + PERF_RECORD_FORK = 7, + PERF_RECORD_READ = 8, + PERF_RECORD_SAMPLE = 9, + PERF_RECORD_MMAP2 = 10, + PERF_RECORD_AUX = 11, + PERF_RECORD_ITRACE_START = 12, + PERF_RECORD_LOST_SAMPLES = 13, + PERF_RECORD_SWITCH = 14, + PERF_RECORD_SWITCH_CPU_WIDE = 15, + PERF_RECORD_NAMESPACES = 16, + PERF_RECORD_KSYMBOL = 17, + PERF_RECORD_BPF_EVENT = 18, + PERF_RECORD_CGROUP = 19, + PERF_RECORD_TEXT_POKE = 20, + PERF_RECORD_AUX_OUTPUT_HW_ID = 21, + PERF_RECORD_MAX = 22, +}; + +enum perf_hw_cache_id { + PERF_COUNT_HW_CACHE_L1D = 0, + PERF_COUNT_HW_CACHE_L1I = 1, + PERF_COUNT_HW_CACHE_LL = 2, + PERF_COUNT_HW_CACHE_DTLB = 3, + PERF_COUNT_HW_CACHE_ITLB = 4, + PERF_COUNT_HW_CACHE_BPU = 5, + PERF_COUNT_HW_CACHE_NODE = 6, + PERF_COUNT_HW_CACHE_MAX = 7, +}; + +enum perf_hw_cache_op_id { + PERF_COUNT_HW_CACHE_OP_READ = 0, + PERF_COUNT_HW_CACHE_OP_WRITE = 1, + PERF_COUNT_HW_CACHE_OP_PREFETCH = 2, + PERF_COUNT_HW_CACHE_OP_MAX = 3, +}; + +enum perf_hw_cache_op_result_id { + PERF_COUNT_HW_CACHE_RESULT_ACCESS = 0, + PERF_COUNT_HW_CACHE_RESULT_MISS = 1, + PERF_COUNT_HW_CACHE_RESULT_MAX = 2, +}; + +enum perf_hw_id { + PERF_COUNT_HW_CPU_CYCLES = 0, + PERF_COUNT_HW_INSTRUCTIONS = 1, + PERF_COUNT_HW_CACHE_REFERENCES = 2, + PERF_COUNT_HW_CACHE_MISSES = 3, + PERF_COUNT_HW_BRANCH_INSTRUCTIONS = 4, + PERF_COUNT_HW_BRANCH_MISSES = 5, + PERF_COUNT_HW_BUS_CYCLES = 6, + PERF_COUNT_HW_STALLED_CYCLES_FRONTEND = 7, + PERF_COUNT_HW_STALLED_CYCLES_BACKEND = 8, + PERF_COUNT_HW_REF_CPU_CYCLES = 9, + PERF_COUNT_HW_MAX = 10, +}; + +enum perf_pmu_scope { + PERF_PMU_SCOPE_NONE = 0, + PERF_PMU_SCOPE_CORE = 1, + PERF_PMU_SCOPE_DIE = 2, + PERF_PMU_SCOPE_CLUSTER = 3, + PERF_PMU_SCOPE_PKG = 4, + PERF_PMU_SCOPE_SYS_WIDE = 5, + PERF_PMU_MAX_SCOPE = 6, +}; + +enum perf_probe_config { + PERF_PROBE_CONFIG_IS_RETPROBE = 1, + PERF_UPROBE_REF_CTR_OFFSET_BITS = 32, + PERF_UPROBE_REF_CTR_OFFSET_SHIFT = 32, +}; + +enum perf_record_ksymbol_type { + PERF_RECORD_KSYMBOL_TYPE_UNKNOWN = 0, + PERF_RECORD_KSYMBOL_TYPE_BPF = 1, + PERF_RECORD_KSYMBOL_TYPE_OOL = 2, + PERF_RECORD_KSYMBOL_TYPE_MAX = 3, +}; + +enum perf_sample_regs_abi { + PERF_SAMPLE_REGS_ABI_NONE = 0, + PERF_SAMPLE_REGS_ABI_32 = 1, + PERF_SAMPLE_REGS_ABI_64 = 2, +}; + +enum perf_sw_ids { + PERF_COUNT_SW_CPU_CLOCK = 0, + PERF_COUNT_SW_TASK_CLOCK = 1, + PERF_COUNT_SW_PAGE_FAULTS = 2, + PERF_COUNT_SW_CONTEXT_SWITCHES = 3, + PERF_COUNT_SW_CPU_MIGRATIONS = 4, + PERF_COUNT_SW_PAGE_FAULTS_MIN = 5, + PERF_COUNT_SW_PAGE_FAULTS_MAJ = 6, + PERF_COUNT_SW_ALIGNMENT_FAULTS = 7, + PERF_COUNT_SW_EMULATION_FAULTS = 8, + PERF_COUNT_SW_DUMMY = 9, + PERF_COUNT_SW_BPF_OUTPUT = 10, + PERF_COUNT_SW_CGROUP_SWITCHES = 11, + PERF_COUNT_SW_MAX = 12, +}; + +enum perf_type_id { + PERF_TYPE_HARDWARE = 0, + PERF_TYPE_SOFTWARE = 1, + PERF_TYPE_TRACEPOINT = 2, + PERF_TYPE_HW_CACHE = 3, + PERF_TYPE_RAW = 4, + PERF_TYPE_BREAKPOINT = 5, + PERF_TYPE_MAX = 6, +}; + +enum pgdat_flags { + PGDAT_DIRTY = 0, + PGDAT_WRITEBACK = 1, + PGDAT_RECLAIM_LOCKED = 2, +}; + +enum pgt_entry { + NORMAL_PMD = 0, + HPAGE_PMD = 1, + NORMAL_PUD = 2, + HPAGE_PUD = 3, +}; + +enum phy_state { + PHY_DOWN = 0, + PHY_READY = 1, + PHY_HALTED = 2, + PHY_ERROR = 3, + PHY_UP = 4, + PHY_RUNNING = 5, + PHY_NOLINK = 6, + PHY_CABLETEST = 7, +}; + +enum phy_tunable_id { + ETHTOOL_PHY_ID_UNSPEC = 0, + ETHTOOL_PHY_DOWNSHIFT = 1, + ETHTOOL_PHY_FAST_LINK_DOWN = 2, + ETHTOOL_PHY_EDPD = 3, + __ETHTOOL_PHY_TUNABLE_COUNT = 4, +}; + +enum phy_upstream { + PHY_UPSTREAM_MAC = 0, + PHY_UPSTREAM_PHY = 1, +}; + +enum pid_type { + PIDTYPE_PID = 0, + PIDTYPE_TGID = 1, + PIDTYPE_PGID = 2, + PIDTYPE_SID = 3, + PIDTYPE_MAX = 4, +}; + +enum pkt_hash_types { + PKT_HASH_TYPE_NONE = 0, + PKT_HASH_TYPE_L2 = 1, + PKT_HASH_TYPE_L3 = 2, + PKT_HASH_TYPE_L4 = 3, +}; + +enum pm_qos_req_action { + PM_QOS_ADD_REQ = 0, + PM_QOS_UPDATE_REQ = 1, + PM_QOS_REMOVE_REQ = 2, +}; + +enum pm_qos_type { + PM_QOS_UNITIALIZED = 0, + PM_QOS_MAX = 1, + PM_QOS_MIN = 2, +}; + +enum poll_time_type { + PT_TIMEVAL = 0, + PT_OLD_TIMEVAL = 1, + PT_TIMESPEC = 2, + PT_OLD_TIMESPEC = 3, +}; + +enum pool_workqueue_stats { + PWQ_STAT_STARTED = 0, + PWQ_STAT_COMPLETED = 1, + PWQ_STAT_CPU_TIME = 2, + PWQ_STAT_CPU_INTENSIVE = 3, + PWQ_STAT_CM_WAKEUP = 4, + PWQ_STAT_REPATRIATED = 5, + PWQ_STAT_MAYDAY = 6, + PWQ_STAT_RESCUED = 7, + PWQ_NR_STATS = 8, +}; + +enum positive_aop_returns { + AOP_WRITEPAGE_ACTIVATE = 524288, + AOP_TRUNCATED_PAGE = 524289, +}; + +enum print_line_t { + TRACE_TYPE_PARTIAL_LINE = 0, + TRACE_TYPE_HANDLED = 1, + TRACE_TYPE_UNHANDLED = 2, + TRACE_TYPE_NO_CONSUME = 3, +}; + +enum priv_stack_mode { + PRIV_STACK_UNKNOWN = 0, + NO_PRIV_STACK = 1, + PRIV_STACK_ADAPTIVE = 2, +}; + +enum probe_print_type { + PROBE_PRINT_NORMAL = 0, + PROBE_PRINT_RETURN = 1, + PROBE_PRINT_EVENT = 2, +}; + +enum probe_type { + PROBE_DEFAULT_STRATEGY = 0, + PROBE_PREFER_ASYNCHRONOUS = 1, + PROBE_FORCE_SYNCHRONOUS = 2, +}; + +enum probes_arm_action { + PROBES_PRELOAD_IMM = 0, + PROBES_PRELOAD_REG = 1, + PROBES_BRANCH_IMM = 2, + PROBES_BRANCH_REG = 3, + PROBES_MRS = 4, + PROBES_CLZ = 5, + PROBES_SATURATING_ARITHMETIC = 6, + PROBES_MUL1 = 7, + PROBES_MUL2 = 8, + PROBES_SWP = 9, + PROBES_LDRSTRD = 10, + PROBES_LOAD = 11, + PROBES_STORE = 12, + PROBES_LOAD_EXTRA = 13, + PROBES_STORE_EXTRA = 14, + PROBES_MOV_IP_SP = 15, + PROBES_DATA_PROCESSING_REG = 16, + PROBES_DATA_PROCESSING_IMM = 17, + PROBES_MOV_HALFWORD = 18, + PROBES_SEV = 19, + PROBES_WFE = 20, + PROBES_SATURATE = 21, + PROBES_REV = 22, + PROBES_MMI = 23, + PROBES_PACK = 24, + PROBES_EXTEND = 25, + PROBES_EXTEND_ADD = 26, + PROBES_MUL_ADD_LONG = 27, + PROBES_MUL_ADD = 28, + PROBES_BITFIELD = 29, + PROBES_BRANCH = 30, + PROBES_LDMSTM = 31, + NUM_PROBES_ARM_ACTIONS = 32, +}; + +enum probes_insn { + INSN_REJECTED = 0, + INSN_GOOD = 1, + INSN_GOOD_NO_SLOT = 2, +}; + +enum probes_t16_action { + PROBES_T16_ADD_SP = 0, + PROBES_T16_CBZ = 1, + PROBES_T16_SIGN_EXTEND = 2, + PROBES_T16_PUSH = 3, + PROBES_T16_POP = 4, + PROBES_T16_SEV = 5, + PROBES_T16_WFE = 6, + PROBES_T16_IT = 7, + PROBES_T16_CMP = 8, + PROBES_T16_ADDSUB = 9, + PROBES_T16_LOGICAL = 10, + PROBES_T16_BLX = 11, + PROBES_T16_HIREGOPS = 12, + PROBES_T16_LDR_LIT = 13, + PROBES_T16_LDRHSTRH = 14, + PROBES_T16_LDRSTR = 15, + PROBES_T16_ADR = 16, + PROBES_T16_LDMSTM = 17, + PROBES_T16_BRANCH_COND = 18, + PROBES_T16_BRANCH = 19, + NUM_PROBES_T16_ACTIONS = 20, +}; + +enum probes_t32_action { + PROBES_T32_EMULATE_NONE = 0, + PROBES_T32_SIMULATE_NOP = 1, + PROBES_T32_LDMSTM = 2, + PROBES_T32_LDRDSTRD = 3, + PROBES_T32_TABLE_BRANCH = 4, + PROBES_T32_TST = 5, + PROBES_T32_CMP = 6, + PROBES_T32_MOV = 7, + PROBES_T32_ADDSUB = 8, + PROBES_T32_LOGICAL = 9, + PROBES_T32_ADDWSUBW_PC = 10, + PROBES_T32_ADDWSUBW = 11, + PROBES_T32_MOVW = 12, + PROBES_T32_SAT = 13, + PROBES_T32_BITFIELD = 14, + PROBES_T32_SEV = 15, + PROBES_T32_WFE = 16, + PROBES_T32_MRS = 17, + PROBES_T32_BRANCH_COND = 18, + PROBES_T32_BRANCH = 19, + PROBES_T32_PLDI = 20, + PROBES_T32_LDR_LIT = 21, + PROBES_T32_LDRSTR = 22, + PROBES_T32_SIGN_EXTEND = 23, + PROBES_T32_MEDIA = 24, + PROBES_T32_REVERSE = 25, + PROBES_T32_MUL_ADD = 26, + PROBES_T32_MUL_ADD2 = 27, + PROBES_T32_MUL_ADD_LONG = 28, + NUM_PROBES_T32_ACTIONS = 29, +}; + +enum proc_cn_event { + PROC_EVENT_NONE = 0, + PROC_EVENT_FORK = 1, + PROC_EVENT_EXEC = 2, + PROC_EVENT_UID = 4, + PROC_EVENT_GID = 64, + PROC_EVENT_SID = 128, + PROC_EVENT_PTRACE = 256, + PROC_EVENT_COMM = 512, + PROC_EVENT_NONZERO_EXIT = 536870912, + PROC_EVENT_COREDUMP = 1073741824, + PROC_EVENT_EXIT = 2147483648, +}; + +enum ptrace_syscall_dir { + PTRACE_SYSCALL_ENTER = 0, + PTRACE_SYSCALL_EXIT = 1, +}; + +enum qdisc_state2_t { + __QDISC_STATE2_RUNNING = 0, +}; + +enum qdisc_state_t { + __QDISC_STATE_SCHED = 0, + __QDISC_STATE_DEACTIVATED = 1, + __QDISC_STATE_MISSED = 2, + __QDISC_STATE_DRAINING = 3, +}; + +enum quota_type { + USRQUOTA = 0, + GRPQUOTA = 1, + PRJQUOTA = 2, +}; + +enum ramfs_param { + Opt_mode___2 = 0, +}; + +enum reboot_mode { + REBOOT_UNDEFINED = -1, + REBOOT_COLD = 0, + REBOOT_WARM = 1, + REBOOT_HARD = 2, + REBOOT_SOFT = 3, + REBOOT_GPIO = 4, +}; + +enum reboot_type { + BOOT_TRIPLE = 116, + BOOT_KBD = 107, + BOOT_BIOS = 98, + BOOT_ACPI = 97, + BOOT_EFI = 101, + BOOT_CF9_FORCE = 112, + BOOT_CF9_SAFE = 113, +}; + +enum ref_state_type { + REF_TYPE_PTR = 1, + REF_TYPE_IRQ = 2, + REF_TYPE_LOCK = 3, +}; + +enum refcount_saturation_type { + REFCOUNT_ADD_NOT_ZERO_OVF = 0, + REFCOUNT_ADD_OVF = 1, + REFCOUNT_ADD_UAF = 2, + REFCOUNT_SUB_UAF = 3, + REFCOUNT_DEC_LEAK = 4, +}; + +enum reg_arg_type { + SRC_OP = 0, + DST_OP = 1, + DST_OP_NO_MARK = 2, +}; + +enum regex_type { + MATCH_FULL = 0, + MATCH_FRONT_ONLY = 1, + MATCH_MIDDLE_ONLY = 2, + MATCH_END_ONLY = 3, + MATCH_GLOB = 4, + MATCH_INDEX = 5, +}; + +enum regs { + FP = 7, + SP = 13, + LR = 14, + PC = 15, +}; + +enum resolve_mode { + RESOLVE_TBD = 0, + RESOLVE_PTR = 1, + RESOLVE_STRUCT_OR_ARRAY = 2, +}; + +enum ring_buffer_flags { + RB_FL_OVERWRITE = 1, +}; + +enum ring_buffer_type { + RINGBUF_TYPE_DATA_TYPE_LEN_MAX = 28, + RINGBUF_TYPE_PADDING = 29, + RINGBUF_TYPE_TIME_EXTEND = 30, + RINGBUF_TYPE_TIME_STAMP = 31, +}; + +enum rlimit_type { + UCOUNT_RLIMIT_NPROC = 0, + UCOUNT_RLIMIT_MSGQUEUE = 1, + UCOUNT_RLIMIT_SIGPENDING = 2, + UCOUNT_RLIMIT_MEMLOCK = 3, + UCOUNT_RLIMIT_COUNTS = 4, +}; + +enum rmap_level { + RMAP_LEVEL_PTE = 0, + RMAP_LEVEL_PMD = 1, +}; + +enum rmp_flags { + RMP_LOCKED = 1, + RMP_USE_SHARED_ZEROPAGE = 2, +}; + +enum rp_check { + RP_CHECK_CALL = 0, + RP_CHECK_CHAIN_CALL = 1, + RP_CHECK_RET = 2, +}; + +enum rpc_display_format_t { + RPC_DISPLAY_ADDR = 0, + RPC_DISPLAY_PORT = 1, + RPC_DISPLAY_PROTO = 2, + RPC_DISPLAY_HEX_ADDR = 3, + RPC_DISPLAY_HEX_PORT = 4, + RPC_DISPLAY_NETID = 5, + RPC_DISPLAY_MAX = 6, +}; + +enum rseq_cs_flags_bit { + RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT_BIT = 0, + RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL_BIT = 1, + RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE_BIT = 2, +}; + +enum rt6_nud_state { + RT6_NUD_FAIL_HARD = -3, + RT6_NUD_FAIL_PROBE = -2, + RT6_NUD_FAIL_DO_RR = -1, + RT6_NUD_SUCCEED = 1, +}; + +enum rt_class_t { + RT_TABLE_UNSPEC = 0, + RT_TABLE_COMPAT = 252, + RT_TABLE_DEFAULT = 253, + RT_TABLE_MAIN = 254, + RT_TABLE_LOCAL = 255, + RT_TABLE_MAX = 4294967295, +}; + +enum rt_scope_t { + RT_SCOPE_UNIVERSE = 0, + RT_SCOPE_SITE = 200, + RT_SCOPE_LINK = 253, + RT_SCOPE_HOST = 254, + RT_SCOPE_NOWHERE = 255, +}; + +enum rtattr_type_t { + RTA_UNSPEC = 0, + RTA_DST = 1, + RTA_SRC = 2, + RTA_IIF = 3, + RTA_OIF = 4, + RTA_GATEWAY = 5, + RTA_PRIORITY = 6, + RTA_PREFSRC = 7, + RTA_METRICS = 8, + RTA_MULTIPATH = 9, + RTA_PROTOINFO = 10, + RTA_FLOW = 11, + RTA_CACHEINFO = 12, + RTA_SESSION = 13, + RTA_MP_ALGO = 14, + RTA_TABLE = 15, + RTA_MARK = 16, + RTA_MFC_STATS = 17, + RTA_VIA = 18, + RTA_NEWDST = 19, + RTA_PREF = 20, + RTA_ENCAP_TYPE = 21, + RTA_ENCAP = 22, + RTA_EXPIRES = 23, + RTA_PAD = 24, + RTA_UID = 25, + RTA_TTL_PROPAGATE = 26, + RTA_IP_PROTO = 27, + RTA_SPORT = 28, + RTA_DPORT = 29, + RTA_NH_ID = 30, + RTA_FLOWLABEL = 31, + __RTA_MAX = 32, +}; + +enum rtnetlink_groups { + RTNLGRP_NONE = 0, + RTNLGRP_LINK = 1, + RTNLGRP_NOTIFY = 2, + RTNLGRP_NEIGH = 3, + RTNLGRP_TC = 4, + RTNLGRP_IPV4_IFADDR = 5, + RTNLGRP_IPV4_MROUTE = 6, + RTNLGRP_IPV4_ROUTE = 7, + RTNLGRP_IPV4_RULE = 8, + RTNLGRP_IPV6_IFADDR = 9, + RTNLGRP_IPV6_MROUTE = 10, + RTNLGRP_IPV6_ROUTE = 11, + RTNLGRP_IPV6_IFINFO = 12, + RTNLGRP_DECnet_IFADDR = 13, + RTNLGRP_NOP2 = 14, + RTNLGRP_DECnet_ROUTE = 15, + RTNLGRP_DECnet_RULE = 16, + RTNLGRP_NOP4 = 17, + RTNLGRP_IPV6_PREFIX = 18, + RTNLGRP_IPV6_RULE = 19, + RTNLGRP_ND_USEROPT = 20, + RTNLGRP_PHONET_IFADDR = 21, + RTNLGRP_PHONET_ROUTE = 22, + RTNLGRP_DCB = 23, + RTNLGRP_IPV4_NETCONF = 24, + RTNLGRP_IPV6_NETCONF = 25, + RTNLGRP_MDB = 26, + RTNLGRP_MPLS_ROUTE = 27, + RTNLGRP_NSID = 28, + RTNLGRP_MPLS_NETCONF = 29, + RTNLGRP_IPV4_MROUTE_R = 30, + RTNLGRP_IPV6_MROUTE_R = 31, + RTNLGRP_NEXTHOP = 32, + RTNLGRP_BRVLAN = 33, + RTNLGRP_MCTP_IFADDR = 34, + RTNLGRP_TUNNEL = 35, + RTNLGRP_STATS = 36, + RTNLGRP_IPV4_MCADDR = 37, + RTNLGRP_IPV6_MCADDR = 38, + RTNLGRP_IPV6_ACADDR = 39, + __RTNLGRP_MAX = 40, +}; + +enum rtnl_kinds { + RTNL_KIND_NEW = 0, + RTNL_KIND_DEL = 1, + RTNL_KIND_GET = 2, + RTNL_KIND_SET = 3, +}; + +enum rtnl_link_flags { + RTNL_FLAG_DOIT_UNLOCKED = 1, + RTNL_FLAG_BULK_DEL_SUPPORTED = 2, + RTNL_FLAG_DUMP_UNLOCKED = 4, + RTNL_FLAG_DUMP_SPLIT_NLM_DONE = 8, +}; + +enum rw_hint { + WRITE_LIFE_NOT_SET = 0, + WRITE_LIFE_NONE = 1, + WRITE_LIFE_SHORT = 2, + WRITE_LIFE_MEDIUM = 3, + WRITE_LIFE_LONG = 4, + WRITE_LIFE_EXTREME = 5, +} __attribute__((mode(byte))); + +enum rwsem_waiter_type { + RWSEM_WAITING_FOR_WRITE = 0, + RWSEM_WAITING_FOR_READ = 1, +}; + +enum rwsem_wake_type { + RWSEM_WAKE_ANY = 0, + RWSEM_WAKE_READERS = 1, + RWSEM_WAKE_READ_OWNED = 2, +}; + +enum rx_handler_result { + RX_HANDLER_CONSUMED = 0, + RX_HANDLER_ANOTHER = 1, + RX_HANDLER_EXACT = 2, + RX_HANDLER_PASS = 3, +}; + +typedef enum rx_handler_result rx_handler_result_t; + +enum scan_balance { + SCAN_EQUAL = 0, + SCAN_FRACT = 1, + SCAN_ANON = 2, + SCAN_FILE = 3, +}; + +enum sched_tunable_scaling { + SCHED_TUNABLESCALING_NONE = 0, + SCHED_TUNABLESCALING_LOG = 1, + SCHED_TUNABLESCALING_LINEAR = 2, + SCHED_TUNABLESCALING_END = 3, +}; + +enum sctp_msg_flags { + MSG_NOTIFICATION = 32768, +}; + +enum set_event_iter_type { + SET_EVENT_FILE = 0, + SET_EVENT_MOD = 1, +}; + +enum sgp_type { + SGP_READ = 0, + SGP_NOALLOC = 1, + SGP_CACHE = 2, + SGP_WRITE = 3, + SGP_FALLOC = 4, +}; + +enum sig_handler { + HANDLER_CURRENT = 0, + HANDLER_SIG_DFL = 1, + HANDLER_EXIT = 2, +}; + +enum siginfo_layout { + SIL_KILL = 0, + SIL_TIMER = 1, + SIL_POLL = 2, + SIL_FAULT = 3, + SIL_FAULT_TRAPNO = 4, + SIL_FAULT_MCEERR = 5, + SIL_FAULT_BNDERR = 6, + SIL_FAULT_PKUERR = 7, + SIL_FAULT_PERF_EVENT = 8, + SIL_CHLD = 9, + SIL_RT = 10, + SIL_SYS = 11, +}; + +enum sk_action { + SK_DROP = 0, + SK_PASS = 1, +}; + +enum sk_pacing { + SK_PACING_NONE = 0, + SK_PACING_NEEDED = 1, + SK_PACING_FQ = 2, +}; + +enum sk_psock_state_bits { + SK_PSOCK_TX_ENABLED = 0, + SK_PSOCK_RX_STRP_ENABLED = 1, +}; + +enum sk_rst_reason { + SK_RST_REASON_NOT_SPECIFIED = 0, + SK_RST_REASON_NO_SOCKET = 1, + SK_RST_REASON_TCP_INVALID_ACK_SEQUENCE = 2, + SK_RST_REASON_TCP_RFC7323_PAWS = 3, + SK_RST_REASON_TCP_TOO_OLD_ACK = 4, + SK_RST_REASON_TCP_ACK_UNSENT_DATA = 5, + SK_RST_REASON_TCP_FLAGS = 6, + SK_RST_REASON_TCP_OLD_ACK = 7, + SK_RST_REASON_TCP_ABORT_ON_DATA = 8, + SK_RST_REASON_TCP_TIMEWAIT_SOCKET = 9, + SK_RST_REASON_INVALID_SYN = 10, + SK_RST_REASON_TCP_ABORT_ON_CLOSE = 11, + SK_RST_REASON_TCP_ABORT_ON_LINGER = 12, + SK_RST_REASON_TCP_ABORT_ON_MEMORY = 13, + SK_RST_REASON_TCP_STATE = 14, + SK_RST_REASON_TCP_KEEPALIVE_TIMEOUT = 15, + SK_RST_REASON_TCP_DISCONNECT_WITH_DATA = 16, + SK_RST_REASON_MPTCP_RST_EUNSPEC = 17, + SK_RST_REASON_MPTCP_RST_EMPTCP = 18, + SK_RST_REASON_MPTCP_RST_ERESOURCE = 19, + SK_RST_REASON_MPTCP_RST_EPROHIBIT = 20, + SK_RST_REASON_MPTCP_RST_EWQ2BIG = 21, + SK_RST_REASON_MPTCP_RST_EBADPERF = 22, + SK_RST_REASON_MPTCP_RST_EMIDDLEBOX = 23, + SK_RST_REASON_ERROR = 24, + SK_RST_REASON_MAX = 25, +}; + +enum skb_drop_reason { + SKB_NOT_DROPPED_YET = 0, + SKB_CONSUMED = 1, + SKB_DROP_REASON_NOT_SPECIFIED = 2, + SKB_DROP_REASON_NO_SOCKET = 3, + SKB_DROP_REASON_SOCKET_CLOSE = 4, + SKB_DROP_REASON_SOCKET_FILTER = 5, + SKB_DROP_REASON_SOCKET_RCVBUFF = 6, + SKB_DROP_REASON_UNIX_DISCONNECT = 7, + SKB_DROP_REASON_UNIX_SKIP_OOB = 8, + SKB_DROP_REASON_PKT_TOO_SMALL = 9, + SKB_DROP_REASON_TCP_CSUM = 10, + SKB_DROP_REASON_UDP_CSUM = 11, + SKB_DROP_REASON_NETFILTER_DROP = 12, + SKB_DROP_REASON_OTHERHOST = 13, + SKB_DROP_REASON_IP_CSUM = 14, + SKB_DROP_REASON_IP_INHDR = 15, + SKB_DROP_REASON_IP_RPFILTER = 16, + SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST = 17, + SKB_DROP_REASON_XFRM_POLICY = 18, + SKB_DROP_REASON_IP_NOPROTO = 19, + SKB_DROP_REASON_PROTO_MEM = 20, + SKB_DROP_REASON_TCP_AUTH_HDR = 21, + SKB_DROP_REASON_TCP_MD5NOTFOUND = 22, + SKB_DROP_REASON_TCP_MD5UNEXPECTED = 23, + SKB_DROP_REASON_TCP_MD5FAILURE = 24, + SKB_DROP_REASON_TCP_AONOTFOUND = 25, + SKB_DROP_REASON_TCP_AOUNEXPECTED = 26, + SKB_DROP_REASON_TCP_AOKEYNOTFOUND = 27, + SKB_DROP_REASON_TCP_AOFAILURE = 28, + SKB_DROP_REASON_SOCKET_BACKLOG = 29, + SKB_DROP_REASON_TCP_FLAGS = 30, + SKB_DROP_REASON_TCP_ABORT_ON_DATA = 31, + SKB_DROP_REASON_TCP_ZEROWINDOW = 32, + SKB_DROP_REASON_TCP_OLD_DATA = 33, + SKB_DROP_REASON_TCP_OVERWINDOW = 34, + SKB_DROP_REASON_TCP_OFOMERGE = 35, + SKB_DROP_REASON_TCP_RFC7323_PAWS = 36, + SKB_DROP_REASON_TCP_RFC7323_PAWS_ACK = 37, + SKB_DROP_REASON_TCP_OLD_SEQUENCE = 38, + SKB_DROP_REASON_TCP_INVALID_SEQUENCE = 39, + SKB_DROP_REASON_TCP_INVALID_ACK_SEQUENCE = 40, + SKB_DROP_REASON_TCP_RESET = 41, + SKB_DROP_REASON_TCP_INVALID_SYN = 42, + SKB_DROP_REASON_TCP_CLOSE = 43, + SKB_DROP_REASON_TCP_FASTOPEN = 44, + SKB_DROP_REASON_TCP_OLD_ACK = 45, + SKB_DROP_REASON_TCP_TOO_OLD_ACK = 46, + SKB_DROP_REASON_TCP_ACK_UNSENT_DATA = 47, + SKB_DROP_REASON_TCP_OFO_QUEUE_PRUNE = 48, + SKB_DROP_REASON_TCP_OFO_DROP = 49, + SKB_DROP_REASON_IP_OUTNOROUTES = 50, + SKB_DROP_REASON_BPF_CGROUP_EGRESS = 51, + SKB_DROP_REASON_IPV6DISABLED = 52, + SKB_DROP_REASON_NEIGH_CREATEFAIL = 53, + SKB_DROP_REASON_NEIGH_FAILED = 54, + SKB_DROP_REASON_NEIGH_QUEUEFULL = 55, + SKB_DROP_REASON_NEIGH_DEAD = 56, + SKB_DROP_REASON_TC_EGRESS = 57, + SKB_DROP_REASON_SECURITY_HOOK = 58, + SKB_DROP_REASON_QDISC_DROP = 59, + SKB_DROP_REASON_QDISC_OVERLIMIT = 60, + SKB_DROP_REASON_QDISC_CONGESTED = 61, + SKB_DROP_REASON_CAKE_FLOOD = 62, + SKB_DROP_REASON_FQ_BAND_LIMIT = 63, + SKB_DROP_REASON_FQ_HORIZON_LIMIT = 64, + SKB_DROP_REASON_FQ_FLOW_LIMIT = 65, + SKB_DROP_REASON_CPU_BACKLOG = 66, + SKB_DROP_REASON_XDP = 67, + SKB_DROP_REASON_TC_INGRESS = 68, + SKB_DROP_REASON_UNHANDLED_PROTO = 69, + SKB_DROP_REASON_SKB_CSUM = 70, + SKB_DROP_REASON_SKB_GSO_SEG = 71, + SKB_DROP_REASON_SKB_UCOPY_FAULT = 72, + SKB_DROP_REASON_DEV_HDR = 73, + SKB_DROP_REASON_DEV_READY = 74, + SKB_DROP_REASON_FULL_RING = 75, + SKB_DROP_REASON_NOMEM = 76, + SKB_DROP_REASON_HDR_TRUNC = 77, + SKB_DROP_REASON_TAP_FILTER = 78, + SKB_DROP_REASON_TAP_TXFILTER = 79, + SKB_DROP_REASON_ICMP_CSUM = 80, + SKB_DROP_REASON_INVALID_PROTO = 81, + SKB_DROP_REASON_IP_INADDRERRORS = 82, + SKB_DROP_REASON_IP_INNOROUTES = 83, + SKB_DROP_REASON_IP_LOCAL_SOURCE = 84, + SKB_DROP_REASON_IP_INVALID_SOURCE = 85, + SKB_DROP_REASON_IP_LOCALNET = 86, + SKB_DROP_REASON_IP_INVALID_DEST = 87, + SKB_DROP_REASON_PKT_TOO_BIG = 88, + SKB_DROP_REASON_DUP_FRAG = 89, + SKB_DROP_REASON_FRAG_REASM_TIMEOUT = 90, + SKB_DROP_REASON_FRAG_TOO_FAR = 91, + SKB_DROP_REASON_TCP_MINTTL = 92, + SKB_DROP_REASON_IPV6_BAD_EXTHDR = 93, + SKB_DROP_REASON_IPV6_NDISC_FRAG = 94, + SKB_DROP_REASON_IPV6_NDISC_HOP_LIMIT = 95, + SKB_DROP_REASON_IPV6_NDISC_BAD_CODE = 96, + SKB_DROP_REASON_IPV6_NDISC_BAD_OPTIONS = 97, + SKB_DROP_REASON_IPV6_NDISC_NS_OTHERHOST = 98, + SKB_DROP_REASON_QUEUE_PURGE = 99, + SKB_DROP_REASON_TC_COOKIE_ERROR = 100, + SKB_DROP_REASON_PACKET_SOCK_ERROR = 101, + SKB_DROP_REASON_TC_CHAIN_NOTFOUND = 102, + SKB_DROP_REASON_TC_RECLASSIFY_LOOP = 103, + SKB_DROP_REASON_VXLAN_INVALID_HDR = 104, + SKB_DROP_REASON_VXLAN_VNI_NOT_FOUND = 105, + SKB_DROP_REASON_MAC_INVALID_SOURCE = 106, + SKB_DROP_REASON_VXLAN_ENTRY_EXISTS = 107, + SKB_DROP_REASON_NO_TX_TARGET = 108, + SKB_DROP_REASON_IP_TUNNEL_ECN = 109, + SKB_DROP_REASON_TUNNEL_TXINFO = 110, + SKB_DROP_REASON_LOCAL_MAC = 111, + SKB_DROP_REASON_ARP_PVLAN_DISABLE = 112, + SKB_DROP_REASON_MAC_IEEE_MAC_CONTROL = 113, + SKB_DROP_REASON_BRIDGE_INGRESS_STP_STATE = 114, + SKB_DROP_REASON_MAX = 115, + SKB_DROP_REASON_SUBSYS_MASK = 4294901760, +}; + +enum skb_drop_reason_subsys { + SKB_DROP_REASON_SUBSYS_CORE = 0, + SKB_DROP_REASON_SUBSYS_MAC80211_UNUSABLE = 1, + SKB_DROP_REASON_SUBSYS_MAC80211_MONITOR = 2, + SKB_DROP_REASON_SUBSYS_OPENVSWITCH = 3, + SKB_DROP_REASON_SUBSYS_NUM = 4, +}; + +enum skb_tstamp_type { + SKB_CLOCK_REALTIME = 0, + SKB_CLOCK_MONOTONIC = 1, + SKB_CLOCK_TAI = 2, + __SKB_CLOCK_MAX = 2, +}; + +enum sknetlink_groups { + SKNLGRP_NONE = 0, + SKNLGRP_INET_TCP_DESTROY = 1, + SKNLGRP_INET_UDP_DESTROY = 2, + SKNLGRP_INET6_TCP_DESTROY = 3, + SKNLGRP_INET6_UDP_DESTROY = 4, + __SKNLGRP_MAX = 5, +}; + +enum slab_state { + DOWN = 0, + PARTIAL = 1, + UP = 2, + FULL = 3, +}; + +enum sock_flags { + SOCK_DEAD = 0, + SOCK_DONE = 1, + SOCK_URGINLINE = 2, + SOCK_KEEPOPEN = 3, + SOCK_LINGER = 4, + SOCK_DESTROY = 5, + SOCK_BROADCAST = 6, + SOCK_TIMESTAMP = 7, + SOCK_ZAPPED = 8, + SOCK_USE_WRITE_QUEUE = 9, + SOCK_DBG = 10, + SOCK_RCVTSTAMP = 11, + SOCK_RCVTSTAMPNS = 12, + SOCK_LOCALROUTE = 13, + SOCK_MEMALLOC = 14, + SOCK_TIMESTAMPING_RX_SOFTWARE = 15, + SOCK_FASYNC = 16, + SOCK_RXQ_OVFL = 17, + SOCK_ZEROCOPY = 18, + SOCK_WIFI_STATUS = 19, + SOCK_NOFCS = 20, + SOCK_FILTER_LOCKED = 21, + SOCK_SELECT_ERR_QUEUE = 22, + SOCK_RCU_FREE = 23, + SOCK_TXTIME = 24, + SOCK_XDP = 25, + SOCK_TSTAMP_NEW = 26, + SOCK_RCVMARK = 27, + SOCK_RCVPRIORITY = 28, +}; + +enum sock_shutdown_cmd { + SHUT_RD = 0, + SHUT_WR = 1, + SHUT_RDWR = 2, +}; + +enum sock_type { + SOCK_STREAM = 1, + SOCK_DGRAM = 2, + SOCK_RAW = 3, + SOCK_RDM = 4, + SOCK_SEQPACKET = 5, + SOCK_DCCP = 6, + SOCK_PACKET = 10, +}; + +enum special_kfunc_type { + KF_bpf_obj_new_impl = 0, + KF_bpf_obj_drop_impl = 1, + KF_bpf_refcount_acquire_impl = 2, + KF_bpf_list_push_front_impl = 3, + KF_bpf_list_push_back_impl = 4, + KF_bpf_list_pop_front = 5, + KF_bpf_list_pop_back = 6, + KF_bpf_cast_to_kern_ctx = 7, + KF_bpf_rdonly_cast = 8, + KF_bpf_rcu_read_lock = 9, + KF_bpf_rcu_read_unlock = 10, + KF_bpf_rbtree_remove = 11, + KF_bpf_rbtree_add_impl = 12, + KF_bpf_rbtree_first = 13, + KF_bpf_dynptr_from_skb = 14, + KF_bpf_dynptr_from_xdp = 15, + KF_bpf_dynptr_slice = 16, + KF_bpf_dynptr_slice_rdwr = 17, + KF_bpf_dynptr_clone = 18, + KF_bpf_percpu_obj_new_impl = 19, + KF_bpf_percpu_obj_drop_impl = 20, + KF_bpf_throw = 21, + KF_bpf_wq_set_callback_impl = 22, + KF_bpf_preempt_disable = 23, + KF_bpf_preempt_enable = 24, + KF_bpf_iter_css_task_new = 25, + KF_bpf_session_cookie = 26, + KF_bpf_get_kmem_cache = 27, + KF_bpf_local_irq_save = 28, + KF_bpf_local_irq_restore = 29, + KF_bpf_iter_num_new = 30, + KF_bpf_iter_num_next = 31, + KF_bpf_iter_num_destroy = 32, +}; + +enum stat_item { + ALLOC_FASTPATH = 0, + ALLOC_SLOWPATH = 1, + FREE_FASTPATH = 2, + FREE_SLOWPATH = 3, + FREE_FROZEN = 4, + FREE_ADD_PARTIAL = 5, + FREE_REMOVE_PARTIAL = 6, + ALLOC_FROM_PARTIAL = 7, + ALLOC_SLAB = 8, + ALLOC_REFILL = 9, + ALLOC_NODE_MISMATCH = 10, + FREE_SLAB = 11, + CPUSLAB_FLUSH = 12, + DEACTIVATE_FULL = 13, + DEACTIVATE_EMPTY = 14, + DEACTIVATE_TO_HEAD = 15, + DEACTIVATE_TO_TAIL = 16, + DEACTIVATE_REMOTE_FREES = 17, + DEACTIVATE_BYPASS = 18, + ORDER_FALLBACK = 19, + CMPXCHG_DOUBLE_CPU_FAIL = 20, + CMPXCHG_DOUBLE_FAIL = 21, + CPU_PARTIAL_ALLOC = 22, + CPU_PARTIAL_FREE = 23, + CPU_PARTIAL_NODE = 24, + CPU_PARTIAL_DRAIN = 25, + NR_SLUB_STAT_ITEMS = 26, +}; + +enum store_type { + wr_invalid = 0, + wr_new_root = 1, + wr_store_root = 2, + wr_exact_fit = 3, + wr_spanning_store = 4, + wr_split_store = 5, + wr_rebalance = 6, + wr_append = 7, + wr_node_store = 8, + wr_slot_store = 9, +}; + +enum string_size_units { + STRING_UNITS_10 = 0, + STRING_UNITS_2 = 1, + STRING_UNITS_MASK = 1, + STRING_UNITS_NO_SPACE = 1073741824, + STRING_UNITS_NO_BYTES = 2147483648, +}; + +enum sum_check_bits { + SUM_CHECK_P = 0, + SUM_CHECK_Q = 1, +}; + +enum sys_off_mode { + SYS_OFF_MODE_POWER_OFF_PREPARE = 0, + SYS_OFF_MODE_POWER_OFF = 1, + SYS_OFF_MODE_RESTART_PREPARE = 2, + SYS_OFF_MODE_RESTART = 3, +}; + +enum system_states { + SYSTEM_BOOTING = 0, + SYSTEM_SCHEDULING = 1, + SYSTEM_FREEING_INITMEM = 2, + SYSTEM_RUNNING = 3, + SYSTEM_HALT = 4, + SYSTEM_POWER_OFF = 5, + SYSTEM_RESTART = 6, + SYSTEM_SUSPEND = 7, +}; + +enum task_work_notify_mode { + TWA_NONE = 0, + TWA_RESUME = 1, + TWA_SIGNAL = 2, + TWA_SIGNAL_NO_IPI = 3, + TWA_NMI_CURRENT = 4, +}; + +enum tc_mq_command { + TC_MQ_CREATE = 0, + TC_MQ_DESTROY = 1, + TC_MQ_STATS = 2, + TC_MQ_GRAFT = 3, +}; + +enum tc_setup_type { + TC_QUERY_CAPS = 0, + TC_SETUP_QDISC_MQPRIO = 1, + TC_SETUP_CLSU32 = 2, + TC_SETUP_CLSFLOWER = 3, + TC_SETUP_CLSMATCHALL = 4, + TC_SETUP_CLSBPF = 5, + TC_SETUP_BLOCK = 6, + TC_SETUP_QDISC_CBS = 7, + TC_SETUP_QDISC_RED = 8, + TC_SETUP_QDISC_PRIO = 9, + TC_SETUP_QDISC_MQ = 10, + TC_SETUP_QDISC_ETF = 11, + TC_SETUP_ROOT_QDISC = 12, + TC_SETUP_QDISC_GRED = 13, + TC_SETUP_QDISC_TAPRIO = 14, + TC_SETUP_FT = 15, + TC_SETUP_QDISC_ETS = 16, + TC_SETUP_QDISC_TBF = 17, + TC_SETUP_QDISC_FIFO = 18, + TC_SETUP_QDISC_HTB = 19, + TC_SETUP_ACT = 20, +}; + +enum tcp_ca_ack_event_flags { + CA_ACK_SLOWPATH = 1, + CA_ACK_WIN_UPDATE = 2, + CA_ACK_ECE = 4, +}; + +enum tcp_ca_event { + CA_EVENT_TX_START = 0, + CA_EVENT_CWND_RESTART = 1, + CA_EVENT_COMPLETE_CWR = 2, + CA_EVENT_LOSS = 3, + CA_EVENT_ECN_NO_CE = 4, + CA_EVENT_ECN_IS_CE = 5, +}; + +enum tcp_ca_state { + TCP_CA_Open = 0, + TCP_CA_Disorder = 1, + TCP_CA_CWR = 2, + TCP_CA_Recovery = 3, + TCP_CA_Loss = 4, +}; + +enum tcp_chrono { + TCP_CHRONO_UNSPEC = 0, + TCP_CHRONO_BUSY = 1, + TCP_CHRONO_RWND_LIMITED = 2, + TCP_CHRONO_SNDBUF_LIMITED = 3, + __TCP_CHRONO_MAX = 4, +}; + +enum tcp_fastopen_client_fail { + TFO_STATUS_UNSPEC = 0, + TFO_COOKIE_UNAVAILABLE = 1, + TFO_DATA_NOT_ACKED = 2, + TFO_SYN_RETRANSMITTED = 3, +}; + +enum tcp_metric_index { + TCP_METRIC_RTT = 0, + TCP_METRIC_RTTVAR = 1, + TCP_METRIC_SSTHRESH = 2, + TCP_METRIC_CWND = 3, + TCP_METRIC_REORDERING = 4, + TCP_METRIC_RTT_US = 5, + TCP_METRIC_RTTVAR_US = 6, + __TCP_METRIC_MAX = 7, +}; + +enum tcp_queue { + TCP_FRAG_IN_WRITE_QUEUE = 0, + TCP_FRAG_IN_RTX_QUEUE = 1, +}; + +enum tcp_skb_cb_sacked_flags { + TCPCB_SACKED_ACKED = 1, + TCPCB_SACKED_RETRANS = 2, + TCPCB_LOST = 4, + TCPCB_TAGBITS = 7, + TCPCB_REPAIRED = 16, + TCPCB_EVER_RETRANS = 128, + TCPCB_RETRANS = 146, +}; + +enum tcp_synack_type { + TCP_SYNACK_NORMAL = 0, + TCP_SYNACK_FASTOPEN = 1, + TCP_SYNACK_COOKIE = 2, +}; + +enum tcp_tw_status { + TCP_TW_SUCCESS = 0, + TCP_TW_RST = 1, + TCP_TW_ACK = 2, + TCP_TW_SYN = 3, +}; + +enum tcx_action_base { + TCX_NEXT = -1, + TCX_PASS = 0, + TCX_DROP = 2, + TCX_REDIRECT = 7, +}; + +enum tick_broadcast_state { + TICK_BROADCAST_EXIT = 0, + TICK_BROADCAST_ENTER = 1, +}; + +enum tick_dep_bits { + TICK_DEP_BIT_POSIX_TIMER = 0, + TICK_DEP_BIT_PERF_EVENTS = 1, + TICK_DEP_BIT_SCHED = 2, + TICK_DEP_BIT_CLOCK_UNSTABLE = 3, + TICK_DEP_BIT_RCU = 4, + TICK_DEP_BIT_RCU_EXP = 5, +}; + +enum tick_device_mode { + TICKDEV_MODE_PERIODIC = 0, + TICKDEV_MODE_ONESHOT = 1, +}; + +enum timekeeping_adv_mode { + TK_ADV_TICK = 0, + TK_ADV_FREQ = 1, +}; + +enum timespec_type { + TT_NONE = 0, + TT_NATIVE = 1, + TT_COMPAT = 2, +}; + +enum tk_offsets { + TK_OFFS_REAL = 0, + TK_OFFS_BOOT = 1, + TK_OFFS_TAI = 2, + TK_OFFS_MAX = 3, +}; + +enum tlb_flush_reason { + TLB_FLUSH_ON_TASK_SWITCH = 0, + TLB_REMOTE_SHOOTDOWN = 1, + TLB_LOCAL_SHOOTDOWN = 2, + TLB_LOCAL_MM_SHOOTDOWN = 3, + TLB_REMOTE_SEND_IPI = 4, + TLB_REMOTE_WRONG_CPU = 5, + NR_TLB_FLUSH_REASONS = 6, +}; + +enum tp_func_state { + TP_FUNC_0 = 0, + TP_FUNC_1 = 1, + TP_FUNC_2 = 2, + TP_FUNC_N = 3, +}; + +enum tp_transition_sync { + TP_TRANSITION_SYNC_1_0_1 = 0, + TP_TRANSITION_SYNC_N_2_1 = 1, + _NR_TP_TRANSITION_SYNC = 2, +}; + +enum trace_flag_type { + TRACE_FLAG_IRQS_OFF = 1, + TRACE_FLAG_NEED_RESCHED_LAZY = 2, + TRACE_FLAG_NEED_RESCHED = 4, + TRACE_FLAG_HARDIRQ = 8, + TRACE_FLAG_SOFTIRQ = 16, + TRACE_FLAG_PREEMPT_RESCHED = 32, + TRACE_FLAG_NMI = 64, + TRACE_FLAG_BH_OFF = 128, +}; + +enum trace_iter_flags { + TRACE_FILE_LAT_FMT = 1, + TRACE_FILE_ANNOTATE = 2, + TRACE_FILE_TIME_IN_NS = 4, +}; + +enum trace_iterator_bits { + TRACE_ITER_PRINT_PARENT_BIT = 0, + TRACE_ITER_SYM_OFFSET_BIT = 1, + TRACE_ITER_SYM_ADDR_BIT = 2, + TRACE_ITER_VERBOSE_BIT = 3, + TRACE_ITER_RAW_BIT = 4, + TRACE_ITER_HEX_BIT = 5, + TRACE_ITER_BIN_BIT = 6, + TRACE_ITER_BLOCK_BIT = 7, + TRACE_ITER_FIELDS_BIT = 8, + TRACE_ITER_PRINTK_BIT = 9, + TRACE_ITER_ANNOTATE_BIT = 10, + TRACE_ITER_USERSTACKTRACE_BIT = 11, + TRACE_ITER_SYM_USEROBJ_BIT = 12, + TRACE_ITER_PRINTK_MSGONLY_BIT = 13, + TRACE_ITER_CONTEXT_INFO_BIT = 14, + TRACE_ITER_LATENCY_FMT_BIT = 15, + TRACE_ITER_RECORD_CMD_BIT = 16, + TRACE_ITER_RECORD_TGID_BIT = 17, + TRACE_ITER_OVERWRITE_BIT = 18, + TRACE_ITER_STOP_ON_FREE_BIT = 19, + TRACE_ITER_IRQ_INFO_BIT = 20, + TRACE_ITER_MARKERS_BIT = 21, + TRACE_ITER_EVENT_FORK_BIT = 22, + TRACE_ITER_TRACE_PRINTK_BIT = 23, + TRACE_ITER_PAUSE_ON_TRACE_BIT = 24, + TRACE_ITER_HASH_PTR_BIT = 25, + TRACE_ITER_FUNCTION_BIT = 26, + TRACE_ITER_FUNC_FORK_BIT = 27, + TRACE_ITER_DISPLAY_GRAPH_BIT = 28, + TRACE_ITER_STACKTRACE_BIT = 29, + TRACE_ITER_LAST_BIT = 30, +}; + +enum trace_iterator_flags { + TRACE_ITER_PRINT_PARENT = 1, + TRACE_ITER_SYM_OFFSET = 2, + TRACE_ITER_SYM_ADDR = 4, + TRACE_ITER_VERBOSE = 8, + TRACE_ITER_RAW = 16, + TRACE_ITER_HEX = 32, + TRACE_ITER_BIN = 64, + TRACE_ITER_BLOCK = 128, + TRACE_ITER_FIELDS = 256, + TRACE_ITER_PRINTK = 512, + TRACE_ITER_ANNOTATE = 1024, + TRACE_ITER_USERSTACKTRACE = 2048, + TRACE_ITER_SYM_USEROBJ = 4096, + TRACE_ITER_PRINTK_MSGONLY = 8192, + TRACE_ITER_CONTEXT_INFO = 16384, + TRACE_ITER_LATENCY_FMT = 32768, + TRACE_ITER_RECORD_CMD = 65536, + TRACE_ITER_RECORD_TGID = 131072, + TRACE_ITER_OVERWRITE = 262144, + TRACE_ITER_STOP_ON_FREE = 524288, + TRACE_ITER_IRQ_INFO = 1048576, + TRACE_ITER_MARKERS = 2097152, + TRACE_ITER_EVENT_FORK = 4194304, + TRACE_ITER_TRACE_PRINTK = 8388608, + TRACE_ITER_PAUSE_ON_TRACE = 16777216, + TRACE_ITER_HASH_PTR = 33554432, + TRACE_ITER_FUNCTION = 67108864, + TRACE_ITER_FUNC_FORK = 134217728, + TRACE_ITER_DISPLAY_GRAPH = 268435456, + TRACE_ITER_STACKTRACE = 536870912, +}; + +enum trace_reg { + TRACE_REG_REGISTER = 0, + TRACE_REG_UNREGISTER = 1, + TRACE_REG_PERF_REGISTER = 2, + TRACE_REG_PERF_UNREGISTER = 3, + TRACE_REG_PERF_OPEN = 4, + TRACE_REG_PERF_CLOSE = 5, + TRACE_REG_PERF_ADD = 6, + TRACE_REG_PERF_DEL = 7, +}; + +enum trace_type { + __TRACE_FIRST_TYPE = 0, + TRACE_FN = 1, + TRACE_CTX = 2, + TRACE_WAKE = 3, + TRACE_STACK = 4, + TRACE_PRINT = 5, + TRACE_BPRINT = 6, + TRACE_MMIO_RW = 7, + TRACE_MMIO_MAP = 8, + TRACE_BRANCH = 9, + TRACE_GRAPH_RET = 10, + TRACE_GRAPH_ENT = 11, + TRACE_GRAPH_RETADDR_ENT = 12, + TRACE_USER_STACK = 13, + TRACE_BLK = 14, + TRACE_BPUTS = 15, + TRACE_HWLAT = 16, + TRACE_OSNOISE = 17, + TRACE_TIMERLAT = 18, + TRACE_RAW_DATA = 19, + TRACE_FUNC_REPEATS = 20, + __TRACE_LAST_TYPE = 21, +}; + +enum tsq_enum { + TSQ_THROTTLED = 0, + TSQ_QUEUED = 1, + TCP_TSQ_DEFERRED = 2, + TCP_WRITE_TIMER_DEFERRED = 3, + TCP_DELACK_TIMER_DEFERRED = 4, + TCP_MTU_REDUCED_DEFERRED = 5, + TCP_ACK_DEFERRED = 6, +}; + +enum tsq_flags { + TSQF_THROTTLED = 1, + TSQF_QUEUED = 2, + TCPF_TSQ_DEFERRED = 4, + TCPF_WRITE_TIMER_DEFERRED = 8, + TCPF_DELACK_TIMER_DEFERRED = 16, + TCPF_MTU_REDUCED_DEFERRED = 32, + TCPF_ACK_DEFERRED = 64, +}; + +enum ttu_flags { + TTU_SPLIT_HUGE_PMD = 4, + TTU_IGNORE_MLOCK = 8, + TTU_SYNC = 16, + TTU_HWPOISON = 32, + TTU_BATCH_FLUSH = 64, + TTU_RMAP_LOCKED = 128, +}; + +enum tunable_id { + ETHTOOL_ID_UNSPEC = 0, + ETHTOOL_RX_COPYBREAK = 1, + ETHTOOL_TX_COPYBREAK = 2, + ETHTOOL_PFC_PREVENTION_TOUT = 3, + ETHTOOL_TX_COPYBREAK_BUF_SIZE = 4, + __ETHTOOL_TUNABLE_COUNT = 5, +}; + +enum tunable_type_id { + ETHTOOL_TUNABLE_UNSPEC = 0, + ETHTOOL_TUNABLE_U8 = 1, + ETHTOOL_TUNABLE_U16 = 2, + ETHTOOL_TUNABLE_U32 = 3, + ETHTOOL_TUNABLE_U64 = 4, + ETHTOOL_TUNABLE_STRING = 5, + ETHTOOL_TUNABLE_S8 = 6, + ETHTOOL_TUNABLE_S16 = 7, + ETHTOOL_TUNABLE_S32 = 8, + ETHTOOL_TUNABLE_S64 = 9, +}; + +enum tunnel_encap_types { + TUNNEL_ENCAP_NONE = 0, + TUNNEL_ENCAP_FOU = 1, + TUNNEL_ENCAP_GUE = 2, + TUNNEL_ENCAP_MPLS = 3, +}; + +enum txtime_flags { + SOF_TXTIME_DEADLINE_MODE = 1, + SOF_TXTIME_REPORT_ERRORS = 2, + SOF_TXTIME_FLAGS_LAST = 2, + SOF_TXTIME_FLAGS_MASK = 3, +}; + +enum ucount_type { + UCOUNT_USER_NAMESPACES = 0, + UCOUNT_PID_NAMESPACES = 1, + UCOUNT_UTS_NAMESPACES = 2, + UCOUNT_IPC_NAMESPACES = 3, + UCOUNT_NET_NAMESPACES = 4, + UCOUNT_MNT_NAMESPACES = 5, + UCOUNT_CGROUP_NAMESPACES = 6, + UCOUNT_TIME_NAMESPACES = 7, + UCOUNT_COUNTS = 8, +}; + +enum udp_parsable_tunnel_type { + UDP_TUNNEL_TYPE_VXLAN = 1, + UDP_TUNNEL_TYPE_GENEVE = 2, + UDP_TUNNEL_TYPE_VXLAN_GPE = 4, +}; + +enum udp_tunnel_nic_info_flags { + UDP_TUNNEL_NIC_INFO_MAY_SLEEP = 1, + UDP_TUNNEL_NIC_INFO_OPEN_ONLY = 2, + UDP_TUNNEL_NIC_INFO_IPV4_ONLY = 4, + UDP_TUNNEL_NIC_INFO_STATIC_IANA_VXLAN = 8, +}; + +enum umh_disable_depth { + UMH_ENABLED = 0, + UMH_FREEZING = 1, + UMH_DISABLED = 2, +}; + +enum umount_tree_flags { + UMOUNT_SYNC = 1, + UMOUNT_PROPAGATE = 2, + UMOUNT_CONNECTED = 4, +}; + +enum unwind_reason_code { + URC_OK = 0, + URC_CONTINUE_UNWIND = 8, + URC_FAILURE = 9, +}; + +enum uprobe_task_state { + UTASK_RUNNING = 0, + UTASK_SSTEP = 1, + UTASK_SSTEP_ACK = 2, + UTASK_SSTEP_TRAPPED = 3, +}; + +enum utf8_normalization { + UTF8_NFDI = 0, + UTF8_NFDICF = 1, + UTF8_NMAX = 2, +}; + +enum uts_proc { + UTS_PROC_ARCH = 0, + UTS_PROC_OSTYPE = 1, + UTS_PROC_OSRELEASE = 2, + UTS_PROC_VERSION = 3, + UTS_PROC_HOSTNAME = 4, + UTS_PROC_DOMAINNAME = 5, +}; + +enum vdso_clock_mode { + VDSO_CLOCKMODE_NONE = 0, + VDSO_CLOCKMODE_MAX = 1, + VDSO_CLOCKMODE_TIMENS = 2147483647, +}; + +enum verifier_phase { + CHECK_META = 0, + CHECK_TYPE = 1, +}; + +enum vesa_blank_mode { + VESA_NO_BLANKING = 0, + VESA_VSYNC_SUSPEND = 1, + VESA_HSYNC_SUSPEND = 2, + VESA_POWERDOWN = 3, + VESA_BLANK_MAX = 3, +}; + +enum visit_state { + NOT_VISITED = 0, + VISITED = 1, + RESOLVED = 2, +}; + +enum vm_event_item { + PGPGIN = 0, + PGPGOUT = 1, + PSWPIN = 2, + PSWPOUT = 3, + PGALLOC_NORMAL = 4, + PGALLOC_MOVABLE = 5, + ALLOCSTALL_NORMAL = 6, + ALLOCSTALL_MOVABLE = 7, + PGSCAN_SKIP_NORMAL = 8, + PGSCAN_SKIP_MOVABLE = 9, + PGFREE = 10, + PGACTIVATE = 11, + PGDEACTIVATE = 12, + PGLAZYFREE = 13, + PGFAULT = 14, + PGMAJFAULT = 15, + PGLAZYFREED = 16, + PGREFILL = 17, + PGREUSE = 18, + PGSTEAL_KSWAPD = 19, + PGSTEAL_DIRECT = 20, + PGSTEAL_KHUGEPAGED = 21, + PGSCAN_KSWAPD = 22, + PGSCAN_DIRECT = 23, + PGSCAN_KHUGEPAGED = 24, + PGSCAN_DIRECT_THROTTLE = 25, + PGSCAN_ANON = 26, + PGSCAN_FILE = 27, + PGSTEAL_ANON = 28, + PGSTEAL_FILE = 29, + PGINODESTEAL = 30, + SLABS_SCANNED = 31, + KSWAPD_INODESTEAL = 32, + KSWAPD_LOW_WMARK_HIT_QUICKLY = 33, + KSWAPD_HIGH_WMARK_HIT_QUICKLY = 34, + PAGEOUTRUN = 35, + PGROTATED = 36, + DROP_PAGECACHE = 37, + DROP_SLAB = 38, + OOM_KILL = 39, + PGMIGRATE_SUCCESS = 40, + PGMIGRATE_FAIL = 41, + THP_MIGRATION_SUCCESS = 42, + THP_MIGRATION_FAIL = 43, + THP_MIGRATION_SPLIT = 44, + COMPACTMIGRATE_SCANNED = 45, + COMPACTFREE_SCANNED = 46, + COMPACTISOLATED = 47, + COMPACTSTALL = 48, + COMPACTFAIL = 49, + COMPACTSUCCESS = 50, + KCOMPACTD_WAKE = 51, + KCOMPACTD_MIGRATE_SCANNED = 52, + KCOMPACTD_FREE_SCANNED = 53, + UNEVICTABLE_PGCULLED = 54, + UNEVICTABLE_PGSCANNED = 55, + UNEVICTABLE_PGRESCUED = 56, + UNEVICTABLE_PGMLOCKED = 57, + UNEVICTABLE_PGMUNLOCKED = 58, + UNEVICTABLE_PGCLEARED = 59, + UNEVICTABLE_PGSTRANDED = 60, + NR_VM_EVENT_ITEMS = 61, +}; + +enum vm_fault_reason { + VM_FAULT_OOM = 1, + VM_FAULT_SIGBUS = 2, + VM_FAULT_MAJOR = 4, + VM_FAULT_HWPOISON = 16, + VM_FAULT_HWPOISON_LARGE = 32, + VM_FAULT_SIGSEGV = 64, + VM_FAULT_NOPAGE = 256, + VM_FAULT_LOCKED = 512, + VM_FAULT_RETRY = 1024, + VM_FAULT_FALLBACK = 2048, + VM_FAULT_DONE_COW = 4096, + VM_FAULT_NEEDDSYNC = 8192, + VM_FAULT_COMPLETED = 16384, + VM_FAULT_HINDEX_MASK = 983040, +}; + +enum vma_merge_flags { + VMG_FLAG_DEFAULT = 0, + VMG_FLAG_JUST_EXPAND = 1, +}; + +enum vma_merge_state { + VMA_MERGE_START = 0, + VMA_MERGE_ERROR_NOMEM = 1, + VMA_MERGE_NOMERGE = 2, + VMA_MERGE_SUCCESS = 3, +}; + +enum vmscan_throttle_state { + VMSCAN_THROTTLE_WRITEBACK = 0, + VMSCAN_THROTTLE_ISOLATED = 1, + VMSCAN_THROTTLE_NOPROGRESS = 2, + VMSCAN_THROTTLE_CONGESTED = 3, + NR_VMSCAN_THROTTLE = 4, +}; + +enum wb_reason { + WB_REASON_BACKGROUND = 0, + WB_REASON_VMSCAN = 1, + WB_REASON_SYNC = 2, + WB_REASON_PERIODIC = 3, + WB_REASON_LAPTOP_TIMER = 4, + WB_REASON_FS_FREE_SPACE = 5, + WB_REASON_FORKER_THREAD = 6, + WB_REASON_FOREIGN_FLUSH = 7, + WB_REASON_MAX = 8, +}; + +enum wb_stat_item { + WB_RECLAIMABLE = 0, + WB_WRITEBACK = 1, + WB_DIRTIED = 2, + WB_WRITTEN = 3, + NR_WB_STAT_ITEMS = 4, +}; + +enum wb_state { + WB_registered = 0, + WB_writeback_running = 1, + WB_has_dirty_io = 2, + WB_start_all = 3, +}; + +enum work_bits { + WORK_STRUCT_PENDING_BIT = 0, + WORK_STRUCT_INACTIVE_BIT = 1, + WORK_STRUCT_PWQ_BIT = 2, + WORK_STRUCT_LINKED_BIT = 3, + WORK_STRUCT_FLAG_BITS = 4, + WORK_STRUCT_COLOR_SHIFT = 4, + WORK_STRUCT_COLOR_BITS = 4, + WORK_STRUCT_PWQ_SHIFT = 8, + WORK_OFFQ_FLAG_SHIFT = 4, + WORK_OFFQ_BH_BIT = 4, + WORK_OFFQ_FLAG_END = 5, + WORK_OFFQ_FLAG_BITS = 1, + WORK_OFFQ_DISABLE_SHIFT = 5, + WORK_OFFQ_DISABLE_BITS = 16, + WORK_OFFQ_POOL_SHIFT = 21, + WORK_OFFQ_LEFT = 11, + WORK_OFFQ_POOL_BITS = 11, +}; + +enum work_cancel_flags { + WORK_CANCEL_DELAYED = 1, + WORK_CANCEL_DISABLE = 2, +}; + +enum work_flags { + WORK_STRUCT_PENDING = 1, + WORK_STRUCT_INACTIVE = 2, + WORK_STRUCT_PWQ = 4, + WORK_STRUCT_LINKED = 8, + WORK_STRUCT_STATIC = 0, +}; + +enum worker_flags { + WORKER_DIE = 2, + WORKER_IDLE = 4, + WORKER_PREP = 8, + WORKER_CPU_INTENSIVE = 64, + WORKER_UNBOUND = 128, + WORKER_REBOUND = 256, + WORKER_NOT_RUNNING = 456, +}; + +enum worker_pool_flags { + POOL_BH = 1, + POOL_MANAGER_ACTIVE = 2, + POOL_DISASSOCIATED = 4, + POOL_BH_DRAINING = 8, +}; + +enum wq_affn_scope { + WQ_AFFN_DFL = 0, + WQ_AFFN_CPU = 1, + WQ_AFFN_SMT = 2, + WQ_AFFN_CACHE = 3, + WQ_AFFN_NUMA = 4, + WQ_AFFN_SYSTEM = 5, + WQ_AFFN_NR_TYPES = 6, +}; + +enum wq_consts { + WQ_MAX_ACTIVE = 2048, + WQ_UNBOUND_MAX_ACTIVE = 2048, + WQ_DFL_ACTIVE = 1024, + WQ_DFL_MIN_ACTIVE = 8, +}; + +enum wq_flags { + WQ_BH = 1, + WQ_UNBOUND = 2, + WQ_FREEZABLE = 4, + WQ_MEM_RECLAIM = 8, + WQ_HIGHPRI = 16, + WQ_CPU_INTENSIVE = 32, + WQ_SYSFS = 64, + WQ_POWER_EFFICIENT = 128, + __WQ_DESTROYING = 32768, + __WQ_DRAINING = 65536, + __WQ_ORDERED = 131072, + __WQ_LEGACY = 262144, + __WQ_BH_ALLOWS = 17, +}; + +enum wq_internal_consts { + NR_STD_WORKER_POOLS = 2, + UNBOUND_POOL_HASH_ORDER = 6, + BUSY_WORKER_HASH_ORDER = 6, + MAX_IDLE_WORKERS_RATIO = 4, + IDLE_WORKER_TIMEOUT = 30000, + MAYDAY_INITIAL_TIMEOUT = 2, + MAYDAY_INTERVAL = 10, + CREATE_COOLDOWN = 100, + RESCUER_NICE_LEVEL = -20, + HIGHPRI_NICE_LEVEL = -20, + WQ_NAME_LEN = 32, + WORKER_ID_LEN = 42, +}; + +enum wq_misc_consts { + WORK_NR_COLORS = 16, + WORK_CPU_UNBOUND = 1, + WORK_BUSY_PENDING = 1, + WORK_BUSY_RUNNING = 2, + WORKER_DESC_LEN = 32, +}; + +enum writeback_sync_modes { + WB_SYNC_NONE = 0, + WB_SYNC_ALL = 1, +}; + +enum xa_lock_type { + XA_LOCK_IRQ = 1, + XA_LOCK_BH = 2, +}; + +enum xdp_action { + XDP_ABORTED = 0, + XDP_DROP = 1, + XDP_PASS = 2, + XDP_TX = 3, + XDP_REDIRECT = 4, +}; + +enum xdp_buff_flags { + XDP_FLAGS_HAS_FRAGS = 1, + XDP_FLAGS_FRAGS_PF_MEMALLOC = 2, +}; + +enum xdp_mem_type { + MEM_TYPE_PAGE_SHARED = 0, + MEM_TYPE_PAGE_ORDER0 = 1, + MEM_TYPE_PAGE_POOL = 2, + MEM_TYPE_XSK_BUFF_POOL = 3, + MEM_TYPE_MAX = 4, +}; + +enum xdp_rss_hash_type { + XDP_RSS_L3_IPV4 = 1, + XDP_RSS_L3_IPV6 = 2, + XDP_RSS_L3_DYNHDR = 4, + XDP_RSS_L4 = 8, + XDP_RSS_L4_TCP = 16, + XDP_RSS_L4_UDP = 32, + XDP_RSS_L4_SCTP = 64, + XDP_RSS_L4_IPSEC = 128, + XDP_RSS_L4_ICMP = 256, + XDP_RSS_TYPE_NONE = 0, + XDP_RSS_TYPE_L2 = 0, + XDP_RSS_TYPE_L3_IPV4 = 1, + XDP_RSS_TYPE_L3_IPV6 = 2, + XDP_RSS_TYPE_L3_IPV4_OPT = 5, + XDP_RSS_TYPE_L3_IPV6_EX = 6, + XDP_RSS_TYPE_L4_ANY = 8, + XDP_RSS_TYPE_L4_IPV4_TCP = 25, + XDP_RSS_TYPE_L4_IPV4_UDP = 41, + XDP_RSS_TYPE_L4_IPV4_SCTP = 73, + XDP_RSS_TYPE_L4_IPV4_IPSEC = 137, + XDP_RSS_TYPE_L4_IPV4_ICMP = 265, + XDP_RSS_TYPE_L4_IPV6_TCP = 26, + XDP_RSS_TYPE_L4_IPV6_UDP = 42, + XDP_RSS_TYPE_L4_IPV6_SCTP = 74, + XDP_RSS_TYPE_L4_IPV6_IPSEC = 138, + XDP_RSS_TYPE_L4_IPV6_ICMP = 266, + XDP_RSS_TYPE_L4_IPV6_TCP_EX = 30, + XDP_RSS_TYPE_L4_IPV6_UDP_EX = 46, + XDP_RSS_TYPE_L4_IPV6_SCTP_EX = 78, +}; + +enum xdp_rx_metadata { + XDP_METADATA_KFUNC_RX_TIMESTAMP = 0, + XDP_METADATA_KFUNC_RX_HASH = 1, + XDP_METADATA_KFUNC_RX_VLAN_TAG = 2, + MAX_XDP_METADATA_KFUNC = 3, +}; + +enum xfrm_attr_type_t { + XFRMA_UNSPEC = 0, + XFRMA_ALG_AUTH = 1, + XFRMA_ALG_CRYPT = 2, + XFRMA_ALG_COMP = 3, + XFRMA_ENCAP = 4, + XFRMA_TMPL = 5, + XFRMA_SA = 6, + XFRMA_POLICY = 7, + XFRMA_SEC_CTX = 8, + XFRMA_LTIME_VAL = 9, + XFRMA_REPLAY_VAL = 10, + XFRMA_REPLAY_THRESH = 11, + XFRMA_ETIMER_THRESH = 12, + XFRMA_SRCADDR = 13, + XFRMA_COADDR = 14, + XFRMA_LASTUSED = 15, + XFRMA_POLICY_TYPE = 16, + XFRMA_MIGRATE = 17, + XFRMA_ALG_AEAD = 18, + XFRMA_KMADDRESS = 19, + XFRMA_ALG_AUTH_TRUNC = 20, + XFRMA_MARK = 21, + XFRMA_TFCPAD = 22, + XFRMA_REPLAY_ESN_VAL = 23, + XFRMA_SA_EXTRA_FLAGS = 24, + XFRMA_PROTO = 25, + XFRMA_ADDRESS_FILTER = 26, + XFRMA_PAD = 27, + XFRMA_OFFLOAD_DEV = 28, + XFRMA_SET_MARK = 29, + XFRMA_SET_MARK_MASK = 30, + XFRMA_IF_ID = 31, + XFRMA_MTIMER_THRESH = 32, + XFRMA_SA_DIR = 33, + XFRMA_NAT_KEEPALIVE_INTERVAL = 34, + XFRMA_SA_PCPU = 35, + XFRMA_IPTFS_DROP_TIME = 36, + XFRMA_IPTFS_REORDER_WINDOW = 37, + XFRMA_IPTFS_DONT_FRAG = 38, + XFRMA_IPTFS_INIT_DELAY = 39, + XFRMA_IPTFS_MAX_QSIZE = 40, + XFRMA_IPTFS_PKT_SIZE = 41, + __XFRMA_MAX = 42, +}; + +enum xfrm_replay_mode { + XFRM_REPLAY_MODE_LEGACY = 0, + XFRM_REPLAY_MODE_BMP = 1, + XFRM_REPLAY_MODE_ESN = 2, +}; + +enum zone_flags { + ZONE_BOOSTED_WATERMARK = 0, + ZONE_RECLAIM_ACTIVE = 1, + ZONE_BELOW_HIGH = 2, +}; + +enum zone_stat_item { + NR_FREE_PAGES = 0, + NR_ZONE_LRU_BASE = 1, + NR_ZONE_INACTIVE_ANON = 1, + NR_ZONE_ACTIVE_ANON = 2, + NR_ZONE_INACTIVE_FILE = 3, + NR_ZONE_ACTIVE_FILE = 4, + NR_ZONE_UNEVICTABLE = 5, + NR_ZONE_WRITE_PENDING = 6, + NR_MLOCK = 7, + NR_BOUNCE = 8, + NR_FREE_CMA_PAGES = 9, + NR_VM_ZONE_STAT_ITEMS = 10, +}; + +enum zone_type { + ZONE_NORMAL = 0, + ZONE_MOVABLE = 1, + __MAX_NR_ZONES = 2, +}; + +enum zone_watermarks { + WMARK_MIN = 0, + WMARK_LOW = 1, + WMARK_HIGH = 2, + WMARK_PROMO = 3, + NR_WMARK = 4, +}; + +typedef _Bool bool; + +typedef const char (* const ethnl_string_array_t)[32]; + +typedef int __kernel_clockid_t; + +typedef int __kernel_daddr_t; + +typedef int __kernel_pid_t; + +typedef int __kernel_ptrdiff_t; + +typedef int __kernel_rwf_t; + +typedef int __kernel_ssize_t; + +typedef int __kernel_timer_t; + +typedef int __s32; + +typedef int class_get_unused_fd_t; + +typedef __kernel_clockid_t clockid_t; + +typedef __s32 s32; + +typedef s32 compat_int_t; + +typedef s32 compat_ssize_t; + +typedef int folio_walk_flags_t; + +typedef int fpb_t; + +typedef int fpi_t; + +typedef s32 int32_t; + +typedef s32 old_time32_t; + +typedef __kernel_pid_t pid_t; + +typedef __kernel_ptrdiff_t ptrdiff_t; + +typedef int rmap_t; + +typedef __kernel_rwf_t rwf_t; + +typedef __kernel_ssize_t ssize_t; + +typedef long int __kernel_long_t; + +typedef __kernel_long_t __kernel_clock_t; + +typedef __kernel_long_t __kernel_off_t; + +typedef __kernel_long_t __kernel_old_time_t; + +typedef __kernel_long_t __kernel_suseconds_t; + +typedef __kernel_clock_t clock_t; + +typedef __kernel_off_t off_t; + +typedef __kernel_suseconds_t suseconds_t; + +typedef long long int __kernel_loff_t; + +typedef long long int __kernel_time64_t; + +typedef long long int __s64; + +typedef __s64 s64; + +typedef s64 int64_t; + +typedef s64 ktime_t; + +typedef __kernel_loff_t loff_t; + +typedef long long int qsize_t; + +typedef __s64 time64_t; + +typedef long long unsigned int __u64; + +typedef __u64 Elf64_Addr; + +typedef __u64 Elf64_Off; + +typedef __u64 Elf64_Xword; + +typedef __u64 __addrpair; + +typedef __u64 __be64; + +typedef __u64 __le64; + +typedef __u64 u64; + +typedef u64 async_cookie_t; + +typedef u64 blkcnt_t; + +typedef __be64 fdt64_t; + +typedef u64 io_req_flags_t; + +typedef u64 netdev_features_t; + +typedef u64 sci_t; + +typedef u64 sector_t; + +typedef __u64 timeu64_t; + +typedef u64 uint64_t; + +typedef long unsigned int __kernel_ulong_t; + +typedef long unsigned int cycles_t; + +typedef __kernel_ulong_t ino_t; + +typedef long unsigned int irq_hw_number_t; + +typedef long unsigned int kernel_ulong_t; + +typedef long unsigned int netmem_ref; + +typedef long unsigned int old_sigset_t; + +typedef long unsigned int perf_trace_t[2048]; + +typedef long unsigned int pte_marker; + +typedef long unsigned int uintptr_t; + +typedef long unsigned int ulong; + +typedef long unsigned int vm_flags_t; + +typedef short int __s16; + +typedef __s16 s16; + +typedef short unsigned int __u16; + +typedef __u16 Elf32_Half; + +typedef __u16 Elf64_Half; + +typedef __u16 __be16; + +typedef short unsigned int __kernel_sa_family_t; + +typedef __u16 __le16; + +typedef __u16 __sum16; + +typedef short unsigned int pipe_index_t; + +typedef __kernel_sa_family_t sa_family_t; + +typedef __u16 u16; + +typedef u16 uint16_t; + +typedef short unsigned int umode_t; + +typedef signed char __s8; + +typedef __s8 s8; + +typedef unsigned char __u8; + +typedef __u8 u8; + +typedef u8 blk_status_t; + +typedef unsigned char cc_t; + +typedef u8 dscp_t; + +typedef unsigned char *sk_buff_data_t; + +typedef u8 u_int8_t; + +typedef u8 uint8_t; + +typedef unsigned int __u32; + +typedef __u32 Elf32_Addr; + +typedef __u32 Elf32_Off; + +typedef __u32 Elf32_Word; + +typedef __u32 Elf64_Word; + +typedef __u32 __be32; + +typedef __u32 u32; + +typedef u32 __kernel_dev_t; + +typedef unsigned int __kernel_gid32_t; + +typedef unsigned int __kernel_size_t; + +typedef unsigned int __kernel_uid32_t; + +typedef __u32 __le32; + +typedef unsigned int __poll_t; + +typedef __u32 __portpair; + +typedef __u32 __wsum; + +typedef unsigned int blk_features_t; + +typedef unsigned int blk_flags_t; + +typedef unsigned int blk_mode_t; + +typedef __u32 blk_opf_t; + +typedef unsigned int blk_qc_t; + +typedef u32 compat_caddr_t; + +typedef u32 compat_size_t; + +typedef u32 compat_uint_t; + +typedef u32 compat_ulong_t; + +typedef u32 compat_uptr_t; + +typedef u32 depot_stack_handle_t; + +typedef __kernel_dev_t dev_t; + +typedef u32 dma_addr_t; + +typedef u32 errseq_t; + +typedef __be32 fdt32_t; + +typedef unsigned int fgf_t; + +typedef unsigned int fmode_t; + +typedef unsigned int fop_flags_t; + +typedef unsigned int gfp_t; + +typedef __kernel_gid32_t gid_t; + +typedef unsigned int iov_iter_extraction_t; + +typedef unsigned int isolate_mode_t; + +typedef unsigned int kasan_vmalloc_flags_t; + +typedef u32 kprobe_opcode_t; + +typedef u32 pmdval_t; + +typedef pmdval_t pgd_t[2]; + +typedef u32 pteval_t; + +typedef pteval_t pgprot_t; + +typedef unsigned int pgtbl_mod_mask; + +typedef u32 phandle; + +typedef u32 phys_addr_t; + +typedef pmdval_t pmd_t; + +typedef u32 probes_opcode_t; + +typedef __kernel_uid32_t projid_t; + +typedef pteval_t pte_t; + +typedef phys_addr_t resource_size_t; + +typedef __kernel_size_t size_t; + +typedef unsigned int slab_flags_t; + +typedef unsigned int speed_t; + +typedef unsigned int t_key; + +typedef unsigned int tcflag_t; + +typedef __kernel_uid32_t uid_t; + +typedef unsigned int uint; + +typedef u32 uint32_t; + +typedef u32 uprobe_opcode_t; + +typedef unsigned int vm_fault_t; + +typedef unsigned int xa_mark_t; + +typedef u32 xdp_features_t; + +typedef unsigned int zap_flags_t; + +typedef struct { + long unsigned int fds_bits[32]; +} __kernel_fd_set; + +typedef struct { + int val[2]; +} __kernel_fsid_t; + +typedef struct {} arch_rwlock_t; + +typedef struct {} arch_spinlock_t; + +typedef struct { + s64 counter; +} atomic64_t; + +typedef struct { + int counter; +} atomic_t; + +typedef atomic_t atomic_long_t; + +typedef struct { + union { + void *kernel; + void *user; + }; + bool is_kernel: 1; +} sockptr_t; + +typedef sockptr_t bpfptr_t; + +typedef struct { + unsigned int interval; + unsigned int timeout; +} cisco_proto; + +typedef struct { + void *lock; +} class_cpus_read_lock_t; + +struct rq; + +typedef struct { + struct rq *lock; + struct rq *lock2; +} class_double_rq_lock_t; + +typedef struct { + void *lock; + long unsigned int flags; +} class_irqsave_t; + +typedef struct { + void *lock; +} class_jump_label_lock_t; + +typedef struct { + void *lock; +} class_preempt_notrace_t; + +typedef struct { + void *lock; +} class_preempt_t; + +struct raw_spinlock; + +typedef struct raw_spinlock raw_spinlock_t; + +typedef struct { + raw_spinlock_t *lock; +} class_raw_spinlock_irq_t; + +typedef struct { + raw_spinlock_t *lock; + long unsigned int flags; +} class_raw_spinlock_irqsave_t; + +typedef struct { + raw_spinlock_t *lock; +} class_raw_spinlock_t; + +typedef struct { + void *lock; +} class_rcu_t; + +typedef struct { + void *lock; +} class_rcu_tasks_trace_t; + +struct pin_cookie {}; + +struct rq_flags { + long unsigned int flags; + struct pin_cookie cookie; +}; + +typedef struct { + struct rq *lock; + struct rq_flags rf; +} class_rq_lock_t; + +struct spinlock; + +typedef struct spinlock spinlock_t; + +typedef struct { + spinlock_t *lock; + long unsigned int flags; +} class_spinlock_irqsave_t; + +typedef struct { + spinlock_t *lock; +} class_spinlock_t; + +struct srcu_struct; + +typedef struct { + struct srcu_struct *lock; + int idx; +} class_srcu_t; + +struct task_struct; + +typedef struct { + struct task_struct *lock; + struct rq *rq; + struct rq_flags rf; +} class_task_rq_lock_t; + +typedef struct { + arch_rwlock_t raw_lock; +} rwlock_t; + +typedef struct { + rwlock_t *lock; +} class_write_lock_irq_t; + +typedef __kernel_fd_set fd_set; + +typedef struct { + long unsigned int *in; + long unsigned int *out; + long unsigned int *ex; + long unsigned int *res_in; + long unsigned int *res_out; + long unsigned int *res_ex; +} fd_set_bits; + +typedef struct { + atomic_t refcnt; +} file_ref_t; + +typedef struct { + unsigned int t391; + unsigned int t392; + unsigned int n391; + unsigned int n392; + unsigned int n393; + short unsigned int lmi; + short unsigned int dce; +} fr_proto; + +typedef struct { + unsigned int dlci; +} fr_proto_pvc; + +typedef struct { + unsigned int dlci; + char master[16]; +} fr_proto_pvc_info; + +typedef struct { + long unsigned int v; +} freeptr_t; + +typedef struct { + __u8 b[16]; +} guid_t; + +typedef struct { + long unsigned int key[2]; +} hsiphash_key_t; + +typedef struct { + unsigned int __softirq_pending; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +} irq_cpustat_t; + +typedef struct { + u64 val; +} kernel_cap_t; + +typedef struct { + gid_t val; +} kgid_t; + +typedef struct { + projid_t val; +} kprojid_t; + +typedef struct { + uid_t val; +} kuid_t; + +typedef struct { + atomic64_t a; +} local64_t; + +typedef struct {} local_lock_t; + +typedef struct { + atomic_long_t a; +} local_t; + +typedef struct {} lockdep_map_p; + +typedef struct { + atomic64_t id; + atomic_t vmalloc_seq; + long unsigned int sigpage; +} mm_context_t; + +typedef struct {} netdevice_tracker; + +typedef struct {} netns_tracker; + +typedef struct { + long unsigned int bits[1]; +} nodemask_t; + +typedef struct { + pgd_t pgd; +} p4d_t; + +typedef struct { + u64 val; +} pfn_t; + +typedef struct {} possible_net_t; + +typedef struct { + p4d_t p4d; +} pud_t; + +typedef struct { + short unsigned int encoding; + short unsigned int parity; +} raw_hdlc_proto; + +typedef struct { + atomic_t refcnt; +} rcuref_t; + +typedef struct { + size_t written; + size_t count; + union { + char *buf; + void *data; + } arg; + int error; +} read_descriptor_t; + +typedef union { +} release_pages_arg; + +struct seqcount { + unsigned int sequence; +}; + +typedef struct seqcount seqcount_t; + +typedef struct { + seqcount_t seqcount; +} seqcount_latch_t; + +struct seqcount_spinlock { + seqcount_t seqcount; +}; + +typedef struct seqcount_spinlock seqcount_spinlock_t; + +struct raw_spinlock { + arch_spinlock_t raw_lock; +}; + +struct spinlock { + union { + struct raw_spinlock rlock; + }; +}; + +typedef struct { + seqcount_spinlock_t seqcount; + spinlock_t lock; +} seqlock_t; + +typedef struct { + long unsigned int sig[2]; +} sigset_t; + +typedef struct { + u64 key[2]; +} siphash_key_t; + +struct list_head { + struct list_head *next; + struct list_head *prev; +}; + +struct wait_queue_head { + spinlock_t lock; + struct list_head head; +}; + +typedef struct wait_queue_head wait_queue_head_t; + +typedef struct { + spinlock_t slock; + int owned; + wait_queue_head_t wq; +} socket_lock_t; + +typedef struct { + char *from; + char *to; +} substring_t; + +typedef struct { + long unsigned int val; +} swp_entry_t; + +typedef struct { + unsigned int clock_rate; + unsigned int clock_type; + short unsigned int loopback; +} sync_serial_settings; + +typedef struct { + unsigned int clock_rate; + unsigned int clock_type; + short unsigned int loopback; + unsigned int slot_map; +} te1_settings; + +typedef struct { + u64 v; +} u64_stats_t; + +typedef struct { + __u8 b[16]; +} uuid_t; + +typedef struct { + gid_t val; +} vfsgid_t; + +typedef struct { + uid_t val; +} vfsuid_t; + +typedef struct { + short unsigned int dce; + unsigned int modulo; + unsigned int window; + unsigned int t1; + unsigned int t2; + unsigned int n2; +} x25_hdlc_proto; + +struct in6_addr { + union { + __u8 u6_addr8[16]; + __be16 u6_addr16[8]; + __be32 u6_addr32[4]; + } in6_u; +}; + +typedef union { + __be32 a4; + __be32 a6[4]; + struct in6_addr in6; +} xfrm_address_t; + +struct hlist_node { + struct hlist_node *next; + struct hlist_node **pprev; +}; + +struct refcount_struct { + atomic_t refs; +}; + +typedef struct refcount_struct refcount_t; + +struct sk_buff; + +struct sk_buff_list { + struct sk_buff *next; + struct sk_buff *prev; +}; + +struct sk_buff_head { + union { + struct { + struct sk_buff *next; + struct sk_buff *prev; + }; + struct sk_buff_list list; + }; + __u32 qlen; + spinlock_t lock; +}; + +struct qdisc_skb_head { + struct sk_buff *head; + struct sk_buff *tail; + __u32 qlen; + spinlock_t lock; +}; + +struct u64_stats_sync { + seqcount_t seq; +}; + +struct gnet_stats_basic_sync { + u64_stats_t bytes; + u64_stats_t packets; + struct u64_stats_sync syncp; + long: 32; + long: 32; + long: 32; +}; + +struct gnet_stats_queue { + __u32 qlen; + __u32 backlog; + __u32 drops; + __u32 requeues; + __u32 overlimits; +}; + +struct callback_head { + struct callback_head *next; + void (*func)(struct callback_head *); +}; + +struct lock_class_key {}; + +struct Qdisc_ops; + +struct qdisc_size_table; + +struct netdev_queue; + +struct net_rate_estimator; + +struct Qdisc { + int (*enqueue)(struct sk_buff *, struct Qdisc *, struct sk_buff **); + struct sk_buff * (*dequeue)(struct Qdisc *); + unsigned int flags; + u32 limit; + const struct Qdisc_ops *ops; + struct qdisc_size_table *stab; + struct hlist_node hash; + u32 handle; + u32 parent; + struct netdev_queue *dev_queue; + struct net_rate_estimator *rate_est; + struct gnet_stats_basic_sync *cpu_bstats; + struct gnet_stats_queue *cpu_qstats; + int pad; + refcount_t refcnt; + struct sk_buff_head gso_skb; + struct qdisc_skb_head q; + long: 32; + long: 32; + struct gnet_stats_basic_sync bstats; + struct gnet_stats_queue qstats; + int owner; + long unsigned int state; + long unsigned int state2; + struct Qdisc *next_sched; + struct sk_buff_head skb_bad_txq; + spinlock_t busylock; + spinlock_t seqlock; + struct callback_head rcu; + netdevice_tracker dev_tracker; + struct lock_class_key root_lock_key; + long: 32; + long: 32; + long int privdata[0]; +}; + +struct tcmsg; + +struct netlink_ext_ack; + +struct nlattr; + +struct qdisc_walker; + +struct tcf_block; + +struct gnet_dump; + +struct Qdisc_class_ops { + unsigned int flags; + struct netdev_queue * (*select_queue)(struct Qdisc *, struct tcmsg *); + int (*graft)(struct Qdisc *, long unsigned int, struct Qdisc *, struct Qdisc **, struct netlink_ext_ack *); + struct Qdisc * (*leaf)(struct Qdisc *, long unsigned int); + void (*qlen_notify)(struct Qdisc *, long unsigned int); + long unsigned int (*find)(struct Qdisc *, u32); + int (*change)(struct Qdisc *, u32, u32, struct nlattr **, long unsigned int *, struct netlink_ext_ack *); + int (*delete)(struct Qdisc *, long unsigned int, struct netlink_ext_ack *); + void (*walk)(struct Qdisc *, struct qdisc_walker *); + struct tcf_block * (*tcf_block)(struct Qdisc *, long unsigned int, struct netlink_ext_ack *); + long unsigned int (*bind_tcf)(struct Qdisc *, long unsigned int, u32); + void (*unbind_tcf)(struct Qdisc *, long unsigned int); + int (*dump)(struct Qdisc *, long unsigned int, struct sk_buff *, struct tcmsg *); + int (*dump_stats)(struct Qdisc *, long unsigned int, struct gnet_dump *); +}; + +struct module; + +struct Qdisc_ops { + struct Qdisc_ops *next; + const struct Qdisc_class_ops *cl_ops; + char id[16]; + int priv_size; + unsigned int static_flags; + int (*enqueue)(struct sk_buff *, struct Qdisc *, struct sk_buff **); + struct sk_buff * (*dequeue)(struct Qdisc *); + struct sk_buff * (*peek)(struct Qdisc *); + int (*init)(struct Qdisc *, struct nlattr *, struct netlink_ext_ack *); + void (*reset)(struct Qdisc *); + void (*destroy)(struct Qdisc *); + int (*change)(struct Qdisc *, struct nlattr *, struct netlink_ext_ack *); + void (*attach)(struct Qdisc *); + int (*change_tx_queue_len)(struct Qdisc *, unsigned int); + void (*change_real_num_tx)(struct Qdisc *, unsigned int); + int (*dump)(struct Qdisc *, struct sk_buff *); + int (*dump_stats)(struct Qdisc *, struct gnet_dump *); + void (*ingress_block_set)(struct Qdisc *, u32); + void (*egress_block_set)(struct Qdisc *, u32); + u32 (*ingress_block_get)(struct Qdisc *); + u32 (*egress_block_get)(struct Qdisc *); + struct module *owner; +}; + +struct pt_regs { + long unsigned int uregs[18]; +}; + +struct __arch_ftrace_regs { + struct pt_regs regs; +}; + +struct llist_node { + struct llist_node *next; +}; + +struct __call_single_node { + struct llist_node llist; + union { + unsigned int u_flags; + atomic_t a_flags; + }; +}; + +typedef void (*smp_call_func_t)(void *); + +struct __call_single_data { + struct __call_single_node node; + smp_call_func_t func; + void *info; +}; + +typedef struct __call_single_data call_single_data_t; + +struct genradix_root; + +struct __genradix { + struct genradix_root *root; +}; + +struct cgroup; + +struct pmu; + +struct __group_key { + int cpu; + struct pmu *pmu; + struct cgroup *cgroup; +}; + +struct __kernel_timespec { + __kernel_time64_t tv_sec; + long long int tv_nsec; +}; + +struct __kernel_itimerspec { + struct __kernel_timespec it_interval; + struct __kernel_timespec it_value; +}; + +struct __kernel_old_timespec { + __kernel_old_time_t tv_sec; + long int tv_nsec; +}; + +struct __kernel_old_timeval { + __kernel_long_t tv_sec; + __kernel_long_t tv_usec; +}; + +struct __kernel_sock_timeval { + __s64 tv_sec; + __s64 tv_usec; +}; + +struct __kernel_sockaddr_storage { + union { + struct { + __kernel_sa_family_t ss_family; + char __data[126]; + }; + void *__align; + }; +}; + +struct __kernel_timex_timeval { + __kernel_time64_t tv_sec; + long long int tv_usec; +}; + +struct __kernel_timex { + unsigned int modes; + long: 32; + long long int offset; + long long int freq; + long long int maxerror; + long long int esterror; + int status; + long: 32; + long long int constant; + long long int precision; + long long int tolerance; + struct __kernel_timex_timeval time; + long long int tick; + long long int ppsfreq; + long long int jitter; + int shift; + long: 32; + long long int stabil; + long long int jitcnt; + long long int calcnt; + long long int errcnt; + long long int stbcnt; + int tai; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct __kfifo { + unsigned int in; + unsigned int out; + unsigned int mask; + unsigned int esize; + void *data; +}; + +union sigval { + int sival_int; + void *sival_ptr; +}; + +typedef union sigval sigval_t; + +union __sifields { + struct { + __kernel_pid_t _pid; + __kernel_uid32_t _uid; + } _kill; + struct { + __kernel_timer_t _tid; + int _overrun; + sigval_t _sigval; + int _sys_private; + } _timer; + struct { + __kernel_pid_t _pid; + __kernel_uid32_t _uid; + sigval_t _sigval; + } _rt; + struct { + __kernel_pid_t _pid; + __kernel_uid32_t _uid; + int _status; + __kernel_clock_t _utime; + __kernel_clock_t _stime; + } _sigchld; + struct { + void *_addr; + union { + int _trapno; + short int _addr_lsb; + struct { + char _dummy_bnd[4]; + void *_lower; + void *_upper; + } _addr_bnd; + struct { + char _dummy_pkey[4]; + __u32 _pkey; + } _addr_pkey; + struct { + long unsigned int _data; + __u32 _type; + __u32 _flags; + } _perf; + }; + } _sigfault; + struct { + long int _band; + int _fd; + } _sigpoll; + struct { + void *_call_addr; + int _syscall; + unsigned int _arch; + } _sigsys; +}; + +struct bpf_flow_keys; + +struct bpf_sock; + +struct __sk_buff { + __u32 len; + __u32 pkt_type; + __u32 mark; + __u32 queue_mapping; + __u32 protocol; + __u32 vlan_present; + __u32 vlan_tci; + __u32 vlan_proto; + __u32 priority; + __u32 ingress_ifindex; + __u32 ifindex; + __u32 tc_index; + __u32 cb[5]; + __u32 hash; + __u32 tc_classid; + __u32 data; + __u32 data_end; + __u32 napi_id; + __u32 family; + __u32 remote_ip4; + __u32 local_ip4; + __u32 remote_ip6[4]; + __u32 local_ip6[4]; + __u32 remote_port; + __u32 local_port; + __u32 data_meta; + union { + struct bpf_flow_keys *flow_keys; + }; + __u64 tstamp; + __u32 wire_len; + __u32 gso_segs; + union { + struct bpf_sock *sk; + }; + __u32 gso_size; + __u8 tstamp_type; + __u64 hwtstamp; +}; + +struct __una_u32 { + u32 x; +}; + +struct inode; + +struct __uprobe_key { + struct inode *inode; + long: 32; + loff_t offset; +}; + +struct __va_list { + void *__ap; +}; + +typedef struct __va_list va_list; + +struct net_device; + +struct _bpf_dtab_netdev { + struct net_device *dev; +}; + +struct _flow_keys_digest_data { + __be16 n_proto; + u8 ip_proto; + u8 padding; + __be32 ports; + __be32 src; + __be32 dst; +}; + +struct strp_msg { + int full_len; + int offset; +}; + +struct _strp_msg { + struct strp_msg strp; + int accum_len; +}; + +struct ack_sample { + u32 pkts_acked; + s32 rtt_us; + u32 in_flight; +}; + +struct acpi_device_id { + __u8 id[16]; + kernel_ulong_t driver_data; + __u32 cls; + __u32 cls_msk; +}; + +struct action_devres { + void *data; + void (*action)(void *); +}; + +struct xarray { + spinlock_t xa_lock; + gfp_t xa_flags; + void *xa_head; +}; + +struct rw_semaphore { + atomic_long_t count; + atomic_long_t owner; + raw_spinlock_t wait_lock; + struct list_head wait_list; +}; + +struct rb_node; + +struct rb_root { + struct rb_node *rb_node; +}; + +struct rb_root_cached { + struct rb_root rb_root; + struct rb_node *rb_leftmost; +}; + +struct address_space_operations; + +struct address_space { + struct inode *host; + struct xarray i_pages; + struct rw_semaphore invalidate_lock; + gfp_t gfp_mask; + atomic_t i_mmap_writable; + struct rb_root_cached i_mmap; + long unsigned int nrpages; + long unsigned int writeback_index; + const struct address_space_operations *a_ops; + long unsigned int flags; + errseq_t wb_err; + spinlock_t i_private_lock; + struct list_head i_private_list; + struct rw_semaphore i_mmap_rwsem; + void *i_private_data; +}; + +struct page; + +struct writeback_control; + +struct file; + +struct folio; + +struct readahead_control; + +struct kiocb; + +struct iov_iter; + +struct swap_info_struct; + +struct address_space_operations { + int (*writepage)(struct page *, struct writeback_control *); + int (*read_folio)(struct file *, struct folio *); + int (*writepages)(struct address_space *, struct writeback_control *); + bool (*dirty_folio)(struct address_space *, struct folio *); + void (*readahead)(struct readahead_control *); + int (*write_begin)(struct file *, struct address_space *, loff_t, unsigned int, struct folio **, void **); + int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct folio *, void *); + sector_t (*bmap)(struct address_space *, sector_t); + void (*invalidate_folio)(struct folio *, size_t, size_t); + bool (*release_folio)(struct folio *, gfp_t); + void (*free_folio)(struct folio *); + ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *); + int (*migrate_folio)(struct address_space *, struct folio *, struct folio *, enum migrate_mode); + int (*launder_folio)(struct folio *); + bool (*is_partially_uptodate)(struct folio *, size_t, size_t); + void (*is_dirty_writeback)(struct folio *, bool *, bool *); + int (*error_remove_folio)(struct address_space *, struct folio *); + int (*swap_activate)(struct swap_info_struct *, struct file *, sector_t *); + void (*swap_deactivate)(struct file *); + int (*swap_rw)(struct kiocb *, struct iov_iter *); +}; + +struct cpumask; + +struct affinity_context { + const struct cpumask *new_mask; + struct cpumask *user_mask; + unsigned int flags; +}; + +struct component_master_ops; + +struct device; + +struct component_match; + +struct aggregate_device { + struct list_head node; + bool bound; + const struct component_master_ops *ops; + struct device *parent; + struct component_match *match; +}; + +typedef void (*crypto_completion_t)(void *, int); + +struct crypto_tfm; + +struct crypto_async_request { + struct list_head list; + crypto_completion_t complete; + void *data; + struct crypto_tfm *tfm; + u32 flags; +}; + +struct scatterlist; + +struct ahash_request { + struct crypto_async_request base; + unsigned int nbytes; + struct scatterlist *src; + u8 *result; + void *priv; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + void *__ctx[0]; +}; + +struct rb_node { + long unsigned int __rb_parent_color; + struct rb_node *rb_right; + struct rb_node *rb_left; +}; + +struct timerqueue_node { + struct rb_node node; + long: 32; + ktime_t expires; +}; + +struct hrtimer_clock_base; + +struct hrtimer { + struct timerqueue_node node; + ktime_t _softexpires; + enum hrtimer_restart (*function)(struct hrtimer *); + struct hrtimer_clock_base *base; + u8 state; + u8 is_rel; + u8 is_soft; + u8 is_hard; + long: 32; +}; + +struct alarm { + struct timerqueue_node node; + struct hrtimer timer; + void (*function)(struct alarm *, ktime_t); + enum alarmtimer_type type; + int state; + void *data; +}; + +struct timerqueue_head { + struct rb_root_cached rb_root; +}; + +struct timespec64; + +struct alarm_base { + spinlock_t lock; + struct timerqueue_head timerqueue; + ktime_t (*get_ktime)(void); + void (*get_timespec)(struct timespec64 *); + clockid_t base_clockid; +}; + +struct device_node; + +struct alias_prop { + struct list_head link; + const char *alias; + struct device_node *np; + int id; + char stem[0]; +}; + +struct zonelist; + +struct zoneref; + +struct alloc_context { + struct zonelist *zonelist; + nodemask_t *nodemask; + struct zoneref *preferred_zoneref; + int migratetype; + enum zone_type highest_zoneidx; + bool spread_dirty_pages; +}; + +struct codetag { + unsigned int flags; + unsigned int lineno; + const char *modname; + const char *function; + const char *filename; + long: 32; +}; + +struct alloc_tag_counters; + +struct alloc_tag { + struct codetag ct; + struct alloc_tag_counters *counters; + long: 32; +}; + +struct alloc_tag_counters { + u64 bytes; + u64 calls; +}; + +struct amba_cs_uci_id { + unsigned int devarch; + unsigned int devarch_mask; + unsigned int devtype; + void *data; +}; + +struct kref { + refcount_t refcount; +}; + +struct kset; + +struct kobj_type; + +struct kernfs_node; + +struct kobject { + const char *name; + struct list_head entry; + struct kobject *parent; + struct kset *kset; + const struct kobj_type *ktype; + struct kernfs_node *sd; + struct kref kref; + unsigned int state_initialized: 1; + unsigned int state_in_sysfs: 1; + unsigned int state_add_uevent_sent: 1; + unsigned int state_remove_uevent_sent: 1; + unsigned int uevent_suppress: 1; +}; + +struct mutex { + atomic_long_t owner; + raw_spinlock_t wait_lock; + struct list_head wait_list; +}; + +struct dev_links_info { + struct list_head suppliers; + struct list_head consumers; + struct list_head defer_sync; + enum dl_dev_state status; +}; + +struct pm_message { + int event; +}; + +typedef struct pm_message pm_message_t; + +struct pm_subsys_data; + +struct dev_pm_qos; + +struct dev_pm_info { + pm_message_t power_state; + bool can_wakeup: 1; + bool async_suspend: 1; + bool in_dpm_list: 1; + bool is_prepared: 1; + bool is_suspended: 1; + bool is_noirq_suspended: 1; + bool is_late_suspended: 1; + bool no_pm: 1; + bool early_init: 1; + bool direct_complete: 1; + u32 driver_flags; + spinlock_t lock; + bool should_wakeup: 1; + struct pm_subsys_data *subsys_data; + void (*set_latency_tolerance)(struct device *, s32); + struct dev_pm_qos *qos; +}; + +struct dev_msi_info {}; + +struct dev_archdata { + unsigned int dma_ops_setup: 1; +}; + +struct dev_iommu; + +struct device_private; + +struct device_type; + +struct bus_type; + +struct device_driver; + +struct dev_pm_domain; + +struct dma_map_ops; + +struct bus_dma_region; + +struct device_dma_parameters; + +struct dma_coherent_mem; + +struct fwnode_handle; + +struct class; + +struct attribute_group; + +struct iommu_group; + +struct device_physical_location; + +struct device { + struct kobject kobj; + struct device *parent; + struct device_private *p; + const char *init_name; + const struct device_type *type; + const struct bus_type *bus; + struct device_driver *driver; + void *platform_data; + void *driver_data; + struct mutex mutex; + struct dev_links_info links; + struct dev_pm_info power; + struct dev_pm_domain *pm_domain; + struct dev_msi_info msi; + const struct dma_map_ops *dma_ops; + u64 *dma_mask; + long: 32; + u64 coherent_dma_mask; + u64 bus_dma_limit; + const struct bus_dma_region *dma_range_map; + struct device_dma_parameters *dma_parms; + struct list_head dma_pools; + struct dma_coherent_mem *dma_mem; + struct dev_archdata archdata; + struct device_node *of_node; + struct fwnode_handle *fwnode; + dev_t devt; + u32 id; + spinlock_t devres_lock; + struct list_head devres_head; + const struct class *class; + const struct attribute_group **groups; + void (*release)(struct device *); + struct iommu_group *iommu_group; + struct dev_iommu *iommu; + struct device_physical_location *physical_location; + enum device_removable removable; + bool offline_disabled: 1; + bool offline: 1; + bool of_node_reused: 1; + bool state_synced: 1; + bool can_match: 1; + bool dma_coherent: 1; + bool dma_skip_sync: 1; +}; + +struct resource { + resource_size_t start; + resource_size_t end; + const char *name; + long unsigned int flags; + long unsigned int desc; + struct resource *parent; + struct resource *sibling; + struct resource *child; +}; + +struct device_dma_parameters { + unsigned int max_segment_size; + unsigned int min_align_mask; + long unsigned int segment_boundary_mask; +}; + +struct clk; + +struct amba_device { + struct device dev; + struct resource res; + struct clk *pclk; + struct device_dma_parameters dma_parms; + unsigned int periphid; + struct mutex periphid_lock; + unsigned int cid; + struct amba_cs_uci_id uci; + unsigned int irq[9]; + const char *driver_override; + long: 32; +}; + +struct kobj_uevent_env; + +struct kobj_ns_type_operations; + +struct dev_pm_ops; + +struct class { + const char *name; + const struct attribute_group **class_groups; + const struct attribute_group **dev_groups; + int (*dev_uevent)(const struct device *, struct kobj_uevent_env *); + char * (*devnode)(const struct device *, umode_t *); + void (*class_release)(const struct class *); + void (*dev_release)(struct device *); + int (*shutdown_pre)(struct device *); + const struct kobj_ns_type_operations *ns_type; + const void * (*namespace)(const struct device *); + void (*get_ownership)(const struct device *, kuid_t *, kgid_t *); + const struct dev_pm_ops *pm; +}; + +struct transport_container; + +struct transport_class { + struct class class; + int (*setup)(struct transport_container *, struct device *, struct device *); + int (*configure)(struct transport_container *, struct device *, struct device *); + int (*remove)(struct transport_container *, struct device *, struct device *); +}; + +struct klist_node; + +struct klist { + spinlock_t k_lock; + struct list_head k_list; + void (*get)(struct klist_node *); + void (*put)(struct klist_node *); +}; + +struct device_attribute; + +struct attribute_container { + struct list_head node; + struct klist containers; + struct class *class; + const struct attribute_group *grp; + struct device_attribute **attrs; + int (*match)(struct attribute_container *, struct device *); + long unsigned int flags; +}; + +struct anon_transport_class { + struct transport_class tclass; + struct attribute_container container; +}; + +struct anon_vma { + struct anon_vma *root; + struct rw_semaphore rwsem; + atomic_t refcount; + long unsigned int num_children; + long unsigned int num_active_vmas; + struct anon_vma *parent; + struct rb_root_cached rb_root; +}; + +struct vm_area_struct; + +struct anon_vma_chain { + struct vm_area_struct *vma; + struct anon_vma *anon_vma; + struct list_head same_vma; + struct rb_node rb; + long unsigned int rb_subtree_last; +}; + +struct anon_vma_name { + struct kref kref; + char name[0]; +}; + +struct workqueue_struct; + +struct workqueue_attrs; + +struct pool_workqueue; + +struct apply_wqattrs_ctx { + struct workqueue_struct *wq; + struct workqueue_attrs *attrs; + struct list_head list; + struct pool_workqueue *dfl_pwq; + struct pool_workqueue *pwq_tbl[0]; +}; + +struct arch_elf_state {}; + +struct arch_hw_breakpoint_ctrl { + u32 __reserved: 9; + u32 mismatch: 1; + short: 6; + char: 3; + u32 len: 8; + u32 type: 2; + u32 privilege: 2; + u32 enabled: 1; +}; + +struct arch_hw_breakpoint { + u32 address; + u32 trigger; + struct arch_hw_breakpoint_ctrl step_ctrl; + struct arch_hw_breakpoint_ctrl ctrl; +}; + +struct arch_io_reserve_memtype_wc_devres { + resource_size_t start; + resource_size_t size; +}; + +struct arch_msi_msg_addr_hi { + u32 address_hi; +}; + +typedef struct arch_msi_msg_addr_hi arch_msi_msg_addr_hi_t; + +struct arch_msi_msg_addr_lo { + u32 address_lo; +}; + +typedef struct arch_msi_msg_addr_lo arch_msi_msg_addr_lo_t; + +struct arch_msi_msg_data { + u32 data; +}; + +typedef struct arch_msi_msg_data arch_msi_msg_data_t; + +struct arch_probes_insn; + +typedef void probes_insn_handler_t(probes_opcode_t, struct arch_probes_insn *, struct pt_regs *); + +typedef long unsigned int probes_check_cc(long unsigned int); + +typedef void probes_insn_singlestep_t(probes_opcode_t, struct arch_probes_insn *, struct pt_regs *); + +typedef void probes_insn_fn_t(void); + +struct arch_probes_insn { + probes_opcode_t *insn; + probes_insn_handler_t *insn_handler; + probes_check_cc *insn_check_cc; + probes_insn_singlestep_t *insn_singlestep; + probes_insn_fn_t *insn_fn; + int stack_space; + long unsigned int register_usage_flags; + bool kprobe_direct_exec; +}; + +struct arch_uprobe_task; + +struct arch_uprobe { + u8 insn[4]; + long unsigned int ixol[2]; + uprobe_opcode_t bpinsn; + bool simulate; + u32 pcreg; + void (*prehandler)(struct arch_uprobe *, struct arch_uprobe_task *, struct pt_regs *); + void (*posthandler)(struct arch_uprobe *, struct arch_uprobe_task *, struct pt_regs *); + struct arch_probes_insn asi; +}; + +struct arch_uprobe_task { + u32 backup; + long unsigned int saved_trap_no; +}; + +struct net; + +struct arg_dev_net_ip { + struct net *net; + struct in6_addr *addr; +}; + +struct arg_netdev_event { + const struct net_device *dev; + union { + unsigned char nh_flags; + long unsigned int event; + }; +}; + +struct arm_delay_ops { + void (*delay)(long unsigned int); + void (*const_udelay)(long unsigned int); + void (*udelay)(long unsigned int); + long unsigned int ticks_per_jiffy; +}; + +struct arm_dma_alloc_args { + struct device *dev; + size_t size; + gfp_t gfp; + pgprot_t prot; + const void *caller; + bool want_vaddr; + int coherent_flag; +}; + +struct arm_dma_free_args; + +struct arm_dma_allocator { + void * (*alloc)(struct arm_dma_alloc_args *, struct page **); + void (*free)(struct arm_dma_free_args *); +}; + +struct arm_dma_buffer { + struct list_head list; + void *virt; + struct arm_dma_allocator *allocator; +}; + +struct arm_dma_free_args { + struct device *dev; + size_t size; + void *cpu_addr; + struct page *page; + bool want_vaddr; +}; + +struct perf_cpu_pmu_context; + +struct perf_event; + +struct mm_struct; + +struct perf_event_pmu_context; + +struct kmem_cache; + +struct perf_output_handle; + +struct pmu { + struct list_head entry; + struct module *module; + struct device *dev; + struct device *parent; + const struct attribute_group **attr_groups; + const struct attribute_group **attr_update; + const char *name; + int type; + int capabilities; + unsigned int scope; + int *pmu_disable_count; + struct perf_cpu_pmu_context *cpu_pmu_context; + atomic_t exclusive_cnt; + int task_ctx_nr; + int hrtimer_interval_ms; + unsigned int nr_addr_filters; + void (*pmu_enable)(struct pmu *); + void (*pmu_disable)(struct pmu *); + int (*event_init)(struct perf_event *); + void (*event_mapped)(struct perf_event *, struct mm_struct *); + void (*event_unmapped)(struct perf_event *, struct mm_struct *); + int (*add)(struct perf_event *, int); + void (*del)(struct perf_event *, int); + void (*start)(struct perf_event *, int); + void (*stop)(struct perf_event *, int); + void (*read)(struct perf_event *); + void (*start_txn)(struct pmu *, unsigned int); + int (*commit_txn)(struct pmu *); + void (*cancel_txn)(struct pmu *); + int (*event_idx)(struct perf_event *); + void (*sched_task)(struct perf_event_pmu_context *, bool); + struct kmem_cache *task_ctx_cache; + void (*swap_task_ctx)(struct perf_event_pmu_context *, struct perf_event_pmu_context *); + void * (*setup_aux)(struct perf_event *, void **, int, bool); + void (*free_aux)(void *); + long int (*snapshot_aux)(struct perf_event *, struct perf_output_handle *, long unsigned int); + int (*addr_filters_validate)(struct list_head *); + void (*addr_filters_sync)(struct perf_event *); + int (*aux_output_match)(struct perf_event *); + bool (*filter)(struct pmu *, int); + int (*check_period)(struct perf_event *, u64); +}; + +struct cpumask { + long unsigned int bits[1]; +}; + +typedef struct cpumask cpumask_t; + +struct notifier_block; + +typedef int (*notifier_fn_t)(struct notifier_block *, long unsigned int, void *); + +struct notifier_block { + notifier_fn_t notifier_call; + struct notifier_block *next; + int priority; +}; + +struct pmu_hw_events; + +struct hw_perf_event; + +struct perf_event_attr; + +struct platform_device; + +struct arm_pmu { + struct pmu pmu; + cpumask_t supported_cpus; + char *name; + int pmuver; + irqreturn_t (*handle_irq)(struct arm_pmu *); + void (*enable)(struct perf_event *); + void (*disable)(struct perf_event *); + int (*get_event_idx)(struct pmu_hw_events *, struct perf_event *); + void (*clear_event_idx)(struct pmu_hw_events *, struct perf_event *); + int (*set_event_filter)(struct hw_perf_event *, struct perf_event_attr *); + u64 (*read_counter)(struct perf_event *); + void (*write_counter)(struct perf_event *, u64); + void (*start)(struct arm_pmu *); + void (*stop)(struct arm_pmu *); + void (*reset)(void *); + int (*map_event)(struct perf_event *); + long unsigned int cntr_mask[1]; + bool secure_access; + long unsigned int pmceid_bitmap[2]; + long unsigned int pmceid_ext_bitmap[2]; + struct platform_device *plat_device; + struct pmu_hw_events *hw_events; + struct hlist_node node; + struct notifier_block cpu_pm_nb; + const struct attribute_group *attr_groups[5]; + long: 32; + u64 reg_pmmir; + long unsigned int acpi_cpuid; + long: 32; +}; + +struct arm_smccc_quirk { + int id; + union { + long unsigned int a6; + } state; +}; + +struct arm_smccc_res { + long unsigned int a0; + long unsigned int a1; + long unsigned int a2; + long unsigned int a3; +}; + +struct arphdr { + __be16 ar_hrd; + __be16 ar_pro; + unsigned char ar_hln; + unsigned char ar_pln; + __be16 ar_op; +}; + +struct sockaddr { + sa_family_t sa_family; + union { + char sa_data_min[14]; + struct { + struct {} __empty_sa_data; + char sa_data[0]; + }; + }; +}; + +struct arpreq { + struct sockaddr arp_pa; + struct sockaddr arp_ha; + int arp_flags; + struct sockaddr arp_netmask; + char arp_dev[16]; +}; + +struct trace_array; + +struct trace_buffer; + +struct trace_array_cpu; + +struct array_buffer { + struct trace_array *tr; + struct trace_buffer *buffer; + struct trace_array_cpu *data; + long: 32; + u64 time_start; + int cpu; + long: 32; +}; + +struct async_domain { + struct list_head pending; + unsigned int registered: 1; +}; + +struct work_struct; + +typedef void (*work_func_t)(struct work_struct *); + +struct work_struct { + atomic_long_t data; + struct list_head entry; + work_func_t func; +}; + +typedef void (*async_func_t)(void *, async_cookie_t); + +struct async_entry { + struct list_head domain_list; + struct list_head global_list; + struct work_struct work; + async_cookie_t cookie; + async_func_t func; + void *data; + struct async_domain *domain; + long: 32; +}; + +struct atomic_notifier_head { + spinlock_t lock; + struct notifier_block *head; +}; + +struct attribute { + const char *name; + umode_t mode; +}; + +struct bin_attribute; + +struct attribute_group { + const char *name; + umode_t (*is_visible)(struct kobject *, struct attribute *, int); + umode_t (*is_bin_visible)(struct kobject *, const struct bin_attribute *, int); + size_t (*bin_size)(struct kobject *, const struct bin_attribute *, int); + struct attribute **attrs; + union { + struct bin_attribute **bin_attrs; + const struct bin_attribute * const *bin_attrs_new; + }; +}; + +struct audit_ntp_data {}; + +struct aux_sigframe { + long unsigned int end_magic; + long: 32; +}; + +struct percpu_counter { + s64 count; +}; + +struct fprop_local_percpu { + struct percpu_counter events; + unsigned int period; + raw_spinlock_t lock; + long: 32; +}; + +struct timer_list { + struct hlist_node entry; + long unsigned int expires; + void (*function)(struct timer_list *); + u32 flags; +}; + +struct delayed_work { + struct work_struct work; + struct timer_list timer; + struct workqueue_struct *wq; + int cpu; +}; + +struct backing_dev_info; + +struct bdi_writeback { + struct backing_dev_info *bdi; + long unsigned int state; + long unsigned int last_old_flush; + struct list_head b_dirty; + struct list_head b_io; + struct list_head b_more_io; + struct list_head b_dirty_time; + spinlock_t list_lock; + atomic_t writeback_inodes; + struct percpu_counter stat[4]; + long unsigned int bw_time_stamp; + long unsigned int dirtied_stamp; + long unsigned int written_stamp; + long unsigned int write_bandwidth; + long unsigned int avg_write_bandwidth; + long unsigned int dirty_ratelimit; + long unsigned int balanced_dirty_ratelimit; + long: 32; + struct fprop_local_percpu completions; + int dirty_exceeded; + enum wb_reason start_all_reason; + spinlock_t work_lock; + struct list_head work_list; + struct delayed_work dwork; + struct delayed_work bw_dwork; + struct list_head bdi_node; +}; + +struct backing_dev_info { + u64 id; + struct rb_node rb_node; + struct list_head bdi_list; + long unsigned int ra_pages; + long unsigned int io_pages; + struct kref refcnt; + unsigned int capabilities; + unsigned int min_ratio; + unsigned int max_ratio; + unsigned int max_prop_frac; + atomic_long_t tot_write_bandwidth; + long unsigned int last_bdp_sleep; + struct bdi_writeback wb; + struct list_head wb_list; + wait_queue_head_t wb_waitq; + struct device *dev; + char dev_name[64]; + struct device *owner; + struct timer_list laptop_mode_wb_timer; + long: 32; +}; + +struct vfsmount; + +struct dentry; + +struct path { + struct vfsmount *mnt; + struct dentry *dentry; +}; + +struct file_ra_state { + long unsigned int start; + unsigned int size; + unsigned int async_size; + unsigned int ra_pages; + unsigned int mmap_miss; + long: 32; + loff_t prev_pos; +}; + +struct file_operations; + +struct cred; + +struct fown_struct; + +struct file { + file_ref_t f_ref; + spinlock_t f_lock; + fmode_t f_mode; + const struct file_operations *f_op; + struct address_space *f_mapping; + void *private_data; + struct inode *f_inode; + unsigned int f_flags; + unsigned int f_iocb_flags; + const struct cred *f_cred; + struct path f_path; + long: 32; + union { + struct mutex f_pos_lock; + u64 f_pipe; + }; + loff_t f_pos; + struct fown_struct *f_owner; + errseq_t f_wb_err; + errseq_t f_sb_err; + long: 32; + union { + struct callback_head f_task_work; + struct llist_node f_llist; + struct file_ra_state f_ra; + freeptr_t f_freeptr; + }; +}; + +struct backing_file { + struct file file; + union { + struct path user_path; + freeptr_t bf_freeptr; + }; +}; + +struct bpf_verifier_env; + +struct backtrack_state { + struct bpf_verifier_env *env; + u32 frame; + u32 reg_masks[8]; + u64 stack_masks[8]; +}; + +struct balance_callback { + struct balance_callback *next; + void (*func)(struct rq *); +}; + +struct batadv_unicast_packet { + __u8 packet_type; + __u8 version; + __u8 ttl; + __u8 ttvn; + __u8 dest[6]; +}; + +struct batch_u16 { + u16 entropy[48]; + local_lock_t lock; + long unsigned int generation; + unsigned int position; +}; + +struct batch_u32 { + u32 entropy[24]; + local_lock_t lock; + long unsigned int generation; + unsigned int position; +}; + +struct batch_u64 { + u64 entropy[12]; + local_lock_t lock; + long unsigned int generation; + unsigned int position; +}; + +struct batch_u8 { + u8 entropy[96]; + local_lock_t lock; + long unsigned int generation; + unsigned int position; +}; + +struct bictcp { + u32 cnt; + u32 last_max_cwnd; + u32 last_cwnd; + u32 last_time; + u32 bic_origin_point; + u32 bic_K; + u32 delay_min; + u32 epoch_start; + u32 ack_cnt; + u32 tcp_cwnd; + u16 unused; + u8 sample_cnt; + u8 found; + u32 round_start; + u32 end_seq; + u32 last_ack; + u32 curr_rtt; +}; + +struct bin_attribute { + struct attribute attr; + size_t size; + void *private; + struct address_space * (*f_mapping)(void); + ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t); + ssize_t (*read_new)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t); + ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t); + ssize_t (*write_new)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t); + loff_t (*llseek)(struct file *, struct kobject *, const struct bin_attribute *, loff_t, int); + int (*mmap)(struct file *, struct kobject *, const struct bin_attribute *, struct vm_area_struct *); +}; + +struct bvec_iter { + sector_t bi_sector; + unsigned int bi_size; + unsigned int bi_idx; + unsigned int bi_bvec_done; +}; + +struct bio; + +typedef void bio_end_io_t(struct bio *); + +struct bio_vec { + struct page *bv_page; + unsigned int bv_len; + unsigned int bv_offset; +}; + +struct block_device; + +struct bio_set; + +struct bio { + struct bio *bi_next; + struct block_device *bi_bdev; + blk_opf_t bi_opf; + short unsigned int bi_flags; + short unsigned int bi_ioprio; + enum rw_hint bi_write_hint; + blk_status_t bi_status; + atomic_t __bi_remaining; + struct bvec_iter bi_iter; + union { + blk_qc_t bi_cookie; + unsigned int __bi_nr_segments; + }; + bio_end_io_t *bi_end_io; + void *bi_private; + short unsigned int bi_vcnt; + short unsigned int bi_max_vecs; + atomic_t __bi_cnt; + struct bio_vec *bi_io_vec; + struct bio_set *bi_pool; + struct bio_vec bi_inline_vecs[0]; +}; + +struct bio_list { + struct bio *head; + struct bio *tail; +}; + +struct bio_alloc_cache; + +typedef void *mempool_alloc_t(gfp_t, void *); + +typedef void mempool_free_t(void *, void *); + +struct mempool_s { + spinlock_t lock; + int min_nr; + int curr_nr; + void **elements; + void *pool_data; + mempool_alloc_t *alloc; + mempool_free_t *free; + wait_queue_head_t wait; +}; + +typedef struct mempool_s mempool_t; + +struct bio_set { + struct kmem_cache *bio_slab; + unsigned int front_pad; + struct bio_alloc_cache *cache; + mempool_t bio_pool; + mempool_t bvec_pool; + unsigned int back_pad; + spinlock_t rescue_lock; + struct bio_list rescue_list; + struct work_struct rescue_work; + struct workqueue_struct *rescue_workqueue; + struct hlist_node cpuhp_dead; +}; + +struct blacklist_entry { + struct list_head next; + char *buf; +}; + +struct blake2s_state { + u32 h[8]; + u32 t[2]; + u32 f[2]; + u8 buf[64]; + unsigned int buflen; + unsigned int outlen; +}; + +struct blk_holder_ops { + void (*mark_dead)(struct block_device *, bool); + void (*sync)(struct block_device *); + int (*freeze)(struct block_device *); + int (*thaw)(struct block_device *); +}; + +struct blk_independent_access_range { + struct kobject kobj; + long: 32; + sector_t sector; + sector_t nr_sectors; +}; + +struct blk_independent_access_ranges { + struct kobject kobj; + bool sysfs_registered; + unsigned int nr_ia_ranges; + long: 32; + struct blk_independent_access_range ia_range[0]; +}; + +struct blk_integrity { + unsigned char flags; + enum blk_integrity_checksum csum_type; + unsigned char tuple_size; + unsigned char pi_offset; + unsigned char interval_exp; + unsigned char tag_size; +}; + +struct blk_plug {}; + +struct blk_zone { + __u64 start; + __u64 len; + __u64 wp; + __u8 type; + __u8 cond; + __u8 non_seq; + __u8 reset; + __u8 resv[4]; + __u64 capacity; + __u8 reserved[24]; +}; + +struct disk_stats; + +struct gendisk; + +struct request_queue; + +struct partition_meta_info; + +struct block_device { + sector_t bd_start_sect; + sector_t bd_nr_sectors; + struct gendisk *bd_disk; + struct request_queue *bd_queue; + struct disk_stats *bd_stats; + long unsigned int bd_stamp; + atomic_t __bd_flags; + dev_t bd_dev; + struct address_space *bd_mapping; + atomic_t bd_openers; + spinlock_t bd_size_lock; + void *bd_claiming; + void *bd_holder; + const struct blk_holder_ops *bd_holder_ops; + struct mutex bd_holder_lock; + int bd_holders; + struct kobject *bd_holder_dir; + atomic_t bd_fsfreeze_count; + struct mutex bd_fsfreeze_mutex; + struct partition_meta_info *bd_meta_info; + int bd_writers; + struct device bd_device; +}; + +struct hd_geometry; + +typedef int (*report_zones_cb)(struct blk_zone *, unsigned int, void *); + +struct pr_ops; + +struct io_comp_batch; + +struct block_device_operations { + void (*submit_bio)(struct bio *); + int (*poll_bio)(struct bio *, struct io_comp_batch *, unsigned int); + int (*open)(struct gendisk *, blk_mode_t); + void (*release)(struct gendisk *); + int (*ioctl)(struct block_device *, blk_mode_t, unsigned int, long unsigned int); + int (*compat_ioctl)(struct block_device *, blk_mode_t, unsigned int, long unsigned int); + unsigned int (*check_events)(struct gendisk *, unsigned int); + void (*unlock_native_capacity)(struct gendisk *); + int (*getgeo)(struct block_device *, struct hd_geometry *); + int (*set_read_only)(struct block_device *, bool); + void (*free_disk)(struct gendisk *); + void (*swap_slot_free_notify)(struct block_device *, long unsigned int); + int (*report_zones)(struct gendisk *, sector_t, unsigned int, report_zones_cb, void *); + char * (*devnode)(struct gendisk *, umode_t *); + int (*get_unique_id)(struct gendisk *, u8 *, enum blk_unique_id); + struct module *owner; + const struct pr_ops *pr_ops; + int (*alternative_gpt_sector)(struct gendisk *, sector_t *); +}; + +struct blocking_notifier_head { + struct rw_semaphore rwsem; + struct notifier_block *head; +}; + +struct boot_triggers { + const char *event; + char *trigger; +}; + +struct bp_slots_histogram { + atomic_t *count; +}; + +struct bp_cpuinfo { + unsigned int cpu_pinned; + struct bp_slots_histogram tsk_pinned; +}; + +struct bpf_map_ops; + +struct btf_record; + +struct btf; + +struct btf_type; + +struct bpf_map { + const struct bpf_map_ops *ops; + struct bpf_map *inner_map_meta; + enum bpf_map_type map_type; + u32 key_size; + u32 value_size; + u32 max_entries; + u64 map_extra; + u32 map_flags; + u32 id; + struct btf_record *record; + int numa_node; + u32 btf_key_type_id; + u32 btf_value_type_id; + u32 btf_vmlinux_value_type_id; + struct btf *btf; + char name[16]; + struct mutex freeze_mutex; + long: 32; + atomic64_t refcnt; + atomic64_t usercnt; + union { + struct work_struct work; + struct callback_head rcu; + }; + atomic64_t writecnt; + struct { + const struct btf_type *attach_func_proto; + spinlock_t lock; + enum bpf_prog_type type; + bool jited; + bool xdp_has_frags; + } owner; + bool bypass_spec_v1; + bool frozen; + bool free_after_mult_rcu_gp; + bool free_after_rcu_gp; + atomic64_t sleepable_refcnt; + s64 *elem_count; + long: 32; +}; + +struct bpf_array_aux; + +struct bpf_array { + struct bpf_map map; + u32 elem_size; + u32 index_mask; + struct bpf_array_aux *aux; + long: 32; + union { + struct { + struct {} __empty_value; + char value[0]; + }; + struct { + struct {} __empty_ptrs; + void *ptrs[0]; + }; + struct { + struct {} __empty_pptrs; + void *pptrs[0]; + }; + }; +}; + +struct bpf_array_aux { + struct list_head poke_progs; + struct bpf_map *map; + struct mutex poke_mutex; + struct work_struct work; +}; + +struct bpf_prog; + +struct bpf_async_cb { + struct bpf_map *map; + struct bpf_prog *prog; + void *callback_fn; + void *value; + union { + struct callback_head rcu; + struct work_struct delete_work; + }; + u64 flags; +}; + +struct bpf_spin_lock { + __u32 val; +}; + +struct bpf_hrtimer; + +struct bpf_work; + +struct bpf_async_kern { + union { + struct bpf_async_cb *cb; + struct bpf_hrtimer *timer; + struct bpf_work *work; + }; + struct bpf_spin_lock lock; +}; + +struct btf_func_model { + u8 ret_size; + u8 ret_flags; + u8 nr_args; + u8 arg_size[12]; + u8 arg_flags[12]; +}; + +struct bpf_attach_target_info { + struct btf_func_model fmodel; + long int tgt_addr; + struct module *tgt_mod; + const char *tgt_name; + const struct btf_type *tgt_type; +}; + +union bpf_attr { + struct { + __u32 map_type; + __u32 key_size; + __u32 value_size; + __u32 max_entries; + __u32 map_flags; + __u32 inner_map_fd; + __u32 numa_node; + char map_name[16]; + __u32 map_ifindex; + __u32 btf_fd; + __u32 btf_key_type_id; + __u32 btf_value_type_id; + __u32 btf_vmlinux_value_type_id; + __u64 map_extra; + __s32 value_type_btf_obj_fd; + __s32 map_token_fd; + }; + struct { + __u32 map_fd; + long: 32; + __u64 key; + union { + __u64 value; + __u64 next_key; + }; + __u64 flags; + }; + struct { + __u64 in_batch; + __u64 out_batch; + __u64 keys; + __u64 values; + __u32 count; + __u32 map_fd; + __u64 elem_flags; + __u64 flags; + } batch; + struct { + __u32 prog_type; + __u32 insn_cnt; + __u64 insns; + __u64 license; + __u32 log_level; + __u32 log_size; + __u64 log_buf; + __u32 kern_version; + __u32 prog_flags; + char prog_name[16]; + __u32 prog_ifindex; + __u32 expected_attach_type; + __u32 prog_btf_fd; + __u32 func_info_rec_size; + __u64 func_info; + __u32 func_info_cnt; + __u32 line_info_rec_size; + __u64 line_info; + __u32 line_info_cnt; + __u32 attach_btf_id; + union { + __u32 attach_prog_fd; + __u32 attach_btf_obj_fd; + }; + __u32 core_relo_cnt; + __u64 fd_array; + __u64 core_relos; + __u32 core_relo_rec_size; + __u32 log_true_size; + __s32 prog_token_fd; + __u32 fd_array_cnt; + }; + struct { + __u64 pathname; + __u32 bpf_fd; + __u32 file_flags; + __s32 path_fd; + long: 32; + }; + struct { + union { + __u32 target_fd; + __u32 target_ifindex; + }; + __u32 attach_bpf_fd; + __u32 attach_type; + __u32 attach_flags; + __u32 replace_bpf_fd; + union { + __u32 relative_fd; + __u32 relative_id; + }; + __u64 expected_revision; + }; + struct { + __u32 prog_fd; + __u32 retval; + __u32 data_size_in; + __u32 data_size_out; + __u64 data_in; + __u64 data_out; + __u32 repeat; + __u32 duration; + __u32 ctx_size_in; + __u32 ctx_size_out; + __u64 ctx_in; + __u64 ctx_out; + __u32 flags; + __u32 cpu; + __u32 batch_size; + long: 32; + } test; + struct { + union { + __u32 start_id; + __u32 prog_id; + __u32 map_id; + __u32 btf_id; + __u32 link_id; + }; + __u32 next_id; + __u32 open_flags; + }; + struct { + __u32 bpf_fd; + __u32 info_len; + __u64 info; + } info; + struct { + union { + __u32 target_fd; + __u32 target_ifindex; + }; + __u32 attach_type; + __u32 query_flags; + __u32 attach_flags; + __u64 prog_ids; + union { + __u32 prog_cnt; + __u32 count; + }; + long: 32; + __u64 prog_attach_flags; + __u64 link_ids; + __u64 link_attach_flags; + __u64 revision; + } query; + struct { + __u64 name; + __u32 prog_fd; + long: 32; + __u64 cookie; + } raw_tracepoint; + struct { + __u64 btf; + __u64 btf_log_buf; + __u32 btf_size; + __u32 btf_log_size; + __u32 btf_log_level; + __u32 btf_log_true_size; + __u32 btf_flags; + __s32 btf_token_fd; + }; + struct { + __u32 pid; + __u32 fd; + __u32 flags; + __u32 buf_len; + __u64 buf; + __u32 prog_id; + __u32 fd_type; + __u64 probe_offset; + __u64 probe_addr; + } task_fd_query; + struct { + union { + __u32 prog_fd; + __u32 map_fd; + }; + union { + __u32 target_fd; + __u32 target_ifindex; + }; + __u32 attach_type; + __u32 flags; + union { + __u32 target_btf_id; + struct { + __u64 iter_info; + __u32 iter_info_len; + long: 32; + }; + struct { + __u64 bpf_cookie; + } perf_event; + struct { + __u32 flags; + __u32 cnt; + __u64 syms; + __u64 addrs; + __u64 cookies; + } kprobe_multi; + struct { + __u32 target_btf_id; + long: 32; + __u64 cookie; + } tracing; + struct { + __u32 pf; + __u32 hooknum; + __s32 priority; + __u32 flags; + } netfilter; + struct { + union { + __u32 relative_fd; + __u32 relative_id; + }; + long: 32; + __u64 expected_revision; + } tcx; + struct { + __u64 path; + __u64 offsets; + __u64 ref_ctr_offsets; + __u64 cookies; + __u32 cnt; + __u32 flags; + __u32 pid; + long: 32; + } uprobe_multi; + struct { + union { + __u32 relative_fd; + __u32 relative_id; + }; + long: 32; + __u64 expected_revision; + } netkit; + }; + } link_create; + struct { + __u32 link_fd; + union { + __u32 new_prog_fd; + __u32 new_map_fd; + }; + __u32 flags; + union { + __u32 old_prog_fd; + __u32 old_map_fd; + }; + } link_update; + struct { + __u32 link_fd; + } link_detach; + struct { + __u32 type; + } enable_stats; + struct { + __u32 link_fd; + __u32 flags; + } iter_create; + struct { + __u32 prog_fd; + __u32 map_fd; + __u32 flags; + } prog_bind_map; + struct { + __u32 flags; + __u32 bpffs_fd; + } token_create; +}; + +struct bpf_binary_header { + u32 size; + long: 32; + u8 image[0]; +}; + +struct bpf_bloom_filter { + struct bpf_map map; + u32 bitset_mask; + u32 hash_seed; + u32 nr_hash_funcs; + long unsigned int bitset[0]; + long: 32; +}; + +struct bpf_bprintf_buffers { + char bin_args[512]; + char buf[1024]; +}; + +struct bpf_bprintf_data { + u32 *bin_args; + char *buf; + bool get_bin_args; + bool get_buf; +}; + +struct bpf_btf_info { + __u64 btf; + __u32 btf_size; + __u32 id; + __u64 name; + __u32 name_len; + __u32 kernel_btf; +}; + +struct btf_field; + +struct bpf_call_arg_meta { + struct bpf_map *map_ptr; + bool raw_mode; + bool pkt_access; + u8 release_regno; + int regno; + int access_size; + int mem_size; + long: 32; + u64 msize_max_value; + int ref_obj_id; + int dynptr_id; + int map_uid; + int func_id; + struct btf *btf; + u32 btf_id; + struct btf *ret_btf; + u32 ret_btf_id; + u32 subprogno; + struct btf_field *kptr_field; + s64 const_map_key; +}; + +struct bpf_cand_cache { + const char *name; + u32 name_len; + u16 kind; + u16 cnt; + struct { + const struct btf *btf; + u32 id; + } cands[0]; +}; + +struct bpf_run_ctx {}; + +struct bpf_prog_array_item; + +struct bpf_cg_run_ctx { + struct bpf_run_ctx run_ctx; + const struct bpf_prog_array_item *prog_item; + int retval; +}; + +struct bpf_lru_list { + struct list_head lists[3]; + unsigned int counts[2]; + struct list_head *next_inactive_rotation; + raw_spinlock_t lock; +}; + +struct bpf_lru_locallist; + +struct bpf_common_lru { + struct bpf_lru_list lru_list; + struct bpf_lru_locallist *local_list; +}; + +struct bpf_core_accessor { + __u32 type_id; + __u32 idx; + const char *name; +}; + +struct bpf_core_cand { + const struct btf *btf; + __u32 id; +}; + +struct bpf_core_cand_list { + struct bpf_core_cand *cands; + int len; +}; + +struct bpf_verifier_log; + +struct bpf_core_ctx { + struct bpf_verifier_log *log; + const struct btf *btf; +}; + +struct bpf_core_relo { + __u32 insn_off; + __u32 type_id; + __u32 access_str_off; + enum bpf_core_relo_kind kind; +}; + +struct bpf_core_relo_res { + __u64 orig_val; + __u64 new_val; + bool poison; + bool validate; + bool fail_memsz_adjust; + __u32 orig_sz; + __u32 orig_type_id; + __u32 new_sz; + __u32 new_type_id; + long: 32; +}; + +struct bpf_core_spec { + const struct btf *btf; + struct bpf_core_accessor spec[64]; + __u32 root_type_id; + enum bpf_core_relo_kind relo_kind; + int len; + int raw_spec[64]; + int raw_len; + __u32 bit_offset; +}; + +struct bpf_cpu_map_entry; + +struct bpf_cpu_map { + struct bpf_map map; + struct bpf_cpu_map_entry **cpu_map; + long: 32; +}; + +struct bpf_cpumap_val { + __u32 qsize; + union { + int fd; + __u32 id; + } bpf_prog; +}; + +struct swait_queue_head { + raw_spinlock_t lock; + struct list_head task_list; +}; + +struct completion { + unsigned int done; + struct swait_queue_head wait; +}; + +struct rcu_work { + struct work_struct work; + struct callback_head rcu; + struct workqueue_struct *wq; +}; + +struct xdp_bulk_queue; + +struct ptr_ring; + +struct bpf_cpu_map_entry { + u32 cpu; + int map_id; + struct xdp_bulk_queue *bulkq; + struct ptr_ring *queue; + struct task_struct *kthread; + struct bpf_cpumap_val value; + struct bpf_prog *prog; + struct completion kthread_running; + struct rcu_work free_work; +}; + +struct bpf_cpumask { + cpumask_t cpumask; + refcount_t usage; +}; + +struct bpf_ctx_arg_aux { + u32 offset; + enum bpf_reg_type reg_type; + struct btf *btf; + u32 btf_id; +}; + +struct sock; + +struct sk_buff { + union { + struct { + struct sk_buff *next; + struct sk_buff *prev; + union { + struct net_device *dev; + long unsigned int dev_scratch; + }; + }; + struct rb_node rbnode; + struct list_head list; + struct llist_node ll_node; + }; + struct sock *sk; + union { + ktime_t tstamp; + u64 skb_mstamp_ns; + }; + char cb[48]; + union { + struct { + long unsigned int _skb_refdst; + void (*destructor)(struct sk_buff *); + }; + struct list_head tcp_tsorted_anchor; + long unsigned int _sk_redir; + }; + unsigned int len; + unsigned int data_len; + __u16 mac_len; + __u16 hdr_len; + __u16 queue_mapping; + __u8 __cloned_offset[0]; + __u8 cloned: 1; + __u8 nohdr: 1; + __u8 fclone: 2; + __u8 peeked: 1; + __u8 head_frag: 1; + __u8 pfmemalloc: 1; + __u8 pp_recycle: 1; + union { + struct { + __u8 __pkt_type_offset[0]; + __u8 pkt_type: 3; + __u8 ignore_df: 1; + __u8 dst_pending_confirm: 1; + __u8 ip_summed: 2; + __u8 ooo_okay: 1; + __u8 __mono_tc_offset[0]; + __u8 tstamp_type: 2; + __u8 tc_at_ingress: 1; + __u8 tc_skip_classify: 1; + __u8 remcsum_offload: 1; + __u8 csum_complete_sw: 1; + __u8 csum_level: 2; + __u8 inner_protocol_type: 1; + __u8 l4_hash: 1; + __u8 sw_hash: 1; + __u8 wifi_acked_valid: 1; + __u8 wifi_acked: 1; + __u8 no_fcs: 1; + __u8 encapsulation: 1; + __u8 encap_hdr_csum: 1; + __u8 csum_valid: 1; + __u8 ndisc_nodetype: 2; + __u8 redirected: 1; + __u8 slow_gro: 1; + __u8 unreadable: 1; + __u16 tc_index; + u16 alloc_cpu; + union { + __wsum csum; + struct { + __u16 csum_start; + __u16 csum_offset; + }; + }; + __u32 priority; + int skb_iif; + __u32 hash; + union { + u32 vlan_all; + struct { + __be16 vlan_proto; + __u16 vlan_tci; + }; + }; + union { + unsigned int napi_id; + unsigned int sender_cpu; + }; + union { + __u32 mark; + __u32 reserved_tailroom; + }; + union { + __be16 inner_protocol; + __u8 inner_ipproto; + }; + __u16 inner_transport_header; + __u16 inner_network_header; + __u16 inner_mac_header; + __be16 protocol; + __u16 transport_header; + __u16 network_header; + __u16 mac_header; + }; + struct { + __u8 __pkt_type_offset[0]; + __u8 pkt_type: 3; + __u8 ignore_df: 1; + __u8 dst_pending_confirm: 1; + __u8 ip_summed: 2; + __u8 ooo_okay: 1; + __u8 __mono_tc_offset[0]; + __u8 tstamp_type: 2; + __u8 tc_at_ingress: 1; + __u8 tc_skip_classify: 1; + __u8 remcsum_offload: 1; + __u8 csum_complete_sw: 1; + __u8 csum_level: 2; + __u8 inner_protocol_type: 1; + __u8 l4_hash: 1; + __u8 sw_hash: 1; + __u8 wifi_acked_valid: 1; + __u8 wifi_acked: 1; + __u8 no_fcs: 1; + __u8 encapsulation: 1; + __u8 encap_hdr_csum: 1; + __u8 csum_valid: 1; + __u8 ndisc_nodetype: 2; + __u8 redirected: 1; + __u8 slow_gro: 1; + __u8 unreadable: 1; + __u16 tc_index; + u16 alloc_cpu; + union { + __wsum csum; + struct { + __u16 csum_start; + __u16 csum_offset; + }; + }; + __u32 priority; + int skb_iif; + __u32 hash; + union { + u32 vlan_all; + struct { + __be16 vlan_proto; + __u16 vlan_tci; + }; + }; + union { + unsigned int napi_id; + unsigned int sender_cpu; + }; + union { + __u32 mark; + __u32 reserved_tailroom; + }; + union { + __be16 inner_protocol; + __u8 inner_ipproto; + }; + __u16 inner_transport_header; + __u16 inner_network_header; + __u16 inner_mac_header; + __be16 protocol; + __u16 transport_header; + __u16 network_header; + __u16 mac_header; + } headers; + }; + sk_buff_data_t tail; + sk_buff_data_t end; + unsigned char *head; + unsigned char *data; + unsigned int truesize; + refcount_t users; + long: 32; +}; + +struct xdp_md { + __u32 data; + __u32 data_end; + __u32 data_meta; + __u32 ingress_ifindex; + __u32 rx_queue_index; + __u32 egress_ifindex; +}; + +struct xdp_rxq_info; + +struct xdp_txq_info; + +struct xdp_buff { + void *data; + void *data_end; + void *data_meta; + void *data_hard_start; + struct xdp_rxq_info *rxq; + struct xdp_txq_info *txq; + u32 frame_sz; + u32 flags; +}; + +struct bpf_sock_ops { + __u32 op; + union { + __u32 args[4]; + __u32 reply; + __u32 replylong[4]; + }; + __u32 family; + __u32 remote_ip4; + __u32 local_ip4; + __u32 remote_ip6[4]; + __u32 local_ip6[4]; + __u32 remote_port; + __u32 local_port; + __u32 is_fullsock; + __u32 snd_cwnd; + __u32 srtt_us; + __u32 bpf_sock_ops_cb_flags; + __u32 state; + __u32 rtt_min; + __u32 snd_ssthresh; + __u32 rcv_nxt; + __u32 snd_nxt; + __u32 snd_una; + __u32 mss_cache; + __u32 ecn_flags; + __u32 rate_delivered; + __u32 rate_interval_us; + __u32 packets_out; + __u32 retrans_out; + __u32 total_retrans; + __u32 segs_in; + __u32 data_segs_in; + __u32 segs_out; + __u32 data_segs_out; + __u32 lost_out; + __u32 sacked_out; + __u32 sk_txhash; + __u64 bytes_received; + __u64 bytes_acked; + union { + struct bpf_sock *sk; + }; + union { + void *skb_data; + }; + union { + void *skb_data_end; + }; + __u32 skb_len; + __u32 skb_tcp_flags; + __u64 skb_hwtstamp; +}; + +struct bpf_sock_ops_kern { + struct sock *sk; + union { + u32 args[4]; + u32 reply; + u32 replylong[4]; + }; + struct sk_buff *syn_skb; + struct sk_buff *skb; + void *skb_data_end; + u8 op; + u8 is_fullsock; + u8 remaining_opt_len; + long: 32; + u64 temp; +}; + +struct sk_msg_md { + union { + void *data; + }; + union { + void *data_end; + }; + __u32 family; + __u32 remote_ip4; + __u32 local_ip4; + __u32 remote_ip6[4]; + __u32 local_ip6[4]; + __u32 remote_port; + __u32 local_port; + __u32 size; + union { + struct bpf_sock *sk; + }; +}; + +struct scatterlist { + long unsigned int page_link; + unsigned int offset; + unsigned int length; + dma_addr_t dma_address; +}; + +struct sk_msg_sg { + u32 start; + u32 curr; + u32 end; + u32 size; + u32 copybreak; + long unsigned int copy[1]; + struct scatterlist data[19]; +}; + +struct sk_msg { + struct sk_msg_sg sg; + void *data; + void *data_end; + u32 apply_bytes; + u32 cork_bytes; + u32 flags; + struct sk_buff *skb; + struct sock *sk_redir; + struct sock *sk; + struct list_head list; +}; + +struct bpf_flow_dissector { + struct bpf_flow_keys *flow_keys; + const struct sk_buff *skb; + const void *data; + const void *data_end; +}; + +typedef struct pt_regs bpf_user_pt_regs_t; + +struct bpf_perf_event_data { + bpf_user_pt_regs_t regs; + __u64 sample_period; + __u64 addr; +}; + +struct perf_sample_data; + +struct bpf_perf_event_data_kern { + bpf_user_pt_regs_t *regs; + struct perf_sample_data *data; + struct perf_event *event; +}; + +struct bpf_raw_tracepoint_args { + __u64 args[0]; +}; + +struct sk_reuseport_md { + union { + void *data; + }; + union { + void *data_end; + }; + __u32 len; + __u32 eth_protocol; + __u32 ip_protocol; + __u32 bind_inany; + __u32 hash; + long: 32; + union { + struct bpf_sock *sk; + }; + union { + struct bpf_sock *migrating_sk; + }; +}; + +struct sk_reuseport_kern { + struct sk_buff *skb; + struct sock *sk; + struct sock *selected_sk; + struct sock *migrating_sk; + void *data_end; + u32 hash; + u32 reuseport_id; + bool bind_inany; +}; + +struct bpf_sk_lookup { + union { + union { + struct bpf_sock *sk; + }; + __u64 cookie; + }; + __u32 family; + __u32 protocol; + __u32 remote_ip4; + __u32 remote_ip6[4]; + __be16 remote_port; + __u32 local_ip4; + __u32 local_ip6[4]; + __u32 local_port; + __u32 ingress_ifindex; + long: 32; +}; + +struct bpf_sk_lookup_kern { + u16 family; + u16 protocol; + __be16 sport; + u16 dport; + struct { + __be32 saddr; + __be32 daddr; + } v4; + struct { + const struct in6_addr *saddr; + const struct in6_addr *daddr; + } v6; + struct sock *selected_sk; + u32 ingress_ifindex; + bool no_reuseport; +}; + +struct bpf_ctx_convert { + struct __sk_buff BPF_PROG_TYPE_SOCKET_FILTER_prog; + struct sk_buff BPF_PROG_TYPE_SOCKET_FILTER_kern; + struct __sk_buff BPF_PROG_TYPE_SCHED_CLS_prog; + struct sk_buff BPF_PROG_TYPE_SCHED_CLS_kern; + struct __sk_buff BPF_PROG_TYPE_SCHED_ACT_prog; + struct sk_buff BPF_PROG_TYPE_SCHED_ACT_kern; + struct xdp_md BPF_PROG_TYPE_XDP_prog; + struct xdp_buff BPF_PROG_TYPE_XDP_kern; + struct __sk_buff BPF_PROG_TYPE_LWT_IN_prog; + struct sk_buff BPF_PROG_TYPE_LWT_IN_kern; + struct __sk_buff BPF_PROG_TYPE_LWT_OUT_prog; + struct sk_buff BPF_PROG_TYPE_LWT_OUT_kern; + struct __sk_buff BPF_PROG_TYPE_LWT_XMIT_prog; + struct sk_buff BPF_PROG_TYPE_LWT_XMIT_kern; + struct __sk_buff BPF_PROG_TYPE_LWT_SEG6LOCAL_prog; + struct sk_buff BPF_PROG_TYPE_LWT_SEG6LOCAL_kern; + struct bpf_sock_ops BPF_PROG_TYPE_SOCK_OPS_prog; + struct bpf_sock_ops_kern BPF_PROG_TYPE_SOCK_OPS_kern; + struct __sk_buff BPF_PROG_TYPE_SK_SKB_prog; + struct sk_buff BPF_PROG_TYPE_SK_SKB_kern; + struct sk_msg_md BPF_PROG_TYPE_SK_MSG_prog; + struct sk_msg BPF_PROG_TYPE_SK_MSG_kern; + struct __sk_buff BPF_PROG_TYPE_FLOW_DISSECTOR_prog; + struct bpf_flow_dissector BPF_PROG_TYPE_FLOW_DISSECTOR_kern; + bpf_user_pt_regs_t BPF_PROG_TYPE_KPROBE_prog; + struct pt_regs BPF_PROG_TYPE_KPROBE_kern; + __u64 BPF_PROG_TYPE_TRACEPOINT_prog; + u64 BPF_PROG_TYPE_TRACEPOINT_kern; + struct bpf_perf_event_data BPF_PROG_TYPE_PERF_EVENT_prog; + struct bpf_perf_event_data_kern BPF_PROG_TYPE_PERF_EVENT_kern; + long: 32; + struct bpf_raw_tracepoint_args BPF_PROG_TYPE_RAW_TRACEPOINT_prog; + u64 BPF_PROG_TYPE_RAW_TRACEPOINT_kern; + struct bpf_raw_tracepoint_args BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE_prog; + u64 BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE_kern; + void *BPF_PROG_TYPE_TRACING_prog; + void *BPF_PROG_TYPE_TRACING_kern; + struct sk_reuseport_md BPF_PROG_TYPE_SK_REUSEPORT_prog; + struct sk_reuseport_kern BPF_PROG_TYPE_SK_REUSEPORT_kern; + struct bpf_sk_lookup BPF_PROG_TYPE_SK_LOOKUP_prog; + struct bpf_sk_lookup_kern BPF_PROG_TYPE_SK_LOOKUP_kern; + void *BPF_PROG_TYPE_STRUCT_OPS_prog; + void *BPF_PROG_TYPE_STRUCT_OPS_kern; + void *BPF_PROG_TYPE_EXT_prog; + void *BPF_PROG_TYPE_EXT_kern; + void *BPF_PROG_TYPE_SYSCALL_prog; + void *BPF_PROG_TYPE_SYSCALL_kern; + long: 32; +}; + +struct bpf_devmap_val { + __u32 ifindex; + union { + int fd; + __u32 id; + } bpf_prog; +}; + +struct bpf_dispatcher_prog { + struct bpf_prog *prog; + refcount_t users; +}; + +struct latch_tree_node { + struct rb_node node[2]; +}; + +struct bpf_ksym { + long unsigned int start; + long unsigned int end; + char name[512]; + struct list_head lnode; + struct latch_tree_node tnode; + bool prog; +}; + +struct bpf_dispatcher { + struct mutex mutex; + void *func; + struct bpf_dispatcher_prog progs[48]; + int num_progs; + void *image; + void *rw_image; + u32 image_off; + struct bpf_ksym ksym; +}; + +struct bpf_dtab_netdev; + +struct hlist_head; + +struct bpf_dtab { + struct bpf_map map; + struct bpf_dtab_netdev **netdev_map; + struct list_head list; + struct hlist_head *dev_index_head; + spinlock_t index_lock; + unsigned int items; + u32 n_buckets; +}; + +struct bpf_dtab_netdev { + struct net_device *dev; + struct hlist_node index_hlist; + struct bpf_prog *xdp_prog; + struct callback_head rcu; + unsigned int idx; + struct bpf_devmap_val val; +}; + +struct bpf_dummy_ops_state; + +struct bpf_dummy_ops { + int (*test_1)(struct bpf_dummy_ops_state *); + int (*test_2)(struct bpf_dummy_ops_state *, int, short unsigned int, char, long unsigned int); + int (*test_sleepable)(struct bpf_dummy_ops_state *); +}; + +struct bpf_dummy_ops_state { + int val; +}; + +struct bpf_dummy_ops_test_args { + u64 args[12]; + struct bpf_dummy_ops_state state; + long: 32; +}; + +struct bpf_dynptr { + __u64 __opaque[2]; +}; + +struct bpf_dynptr_kern { + void *data; + u32 size; + u32 offset; + long: 32; +}; + +struct bpf_cgroup_storage; + +struct bpf_prog_array_item { + struct bpf_prog *prog; + long: 32; + union { + struct bpf_cgroup_storage *cgroup_storage[2]; + u64 bpf_cookie; + }; +}; + +struct bpf_prog_array { + struct callback_head rcu; + struct bpf_prog_array_item items[0]; +}; + +struct bpf_empty_prog_array { + struct bpf_prog_array hdr; + struct bpf_prog *null_prog; + long: 32; +}; + +struct bpf_event_entry { + struct perf_event *event; + struct file *perf_file; + struct file *map_file; + struct callback_head rcu; +}; + +struct bpf_fentry_test_t { + struct bpf_fentry_test_t *a; +}; + +struct bpf_fib_lookup { + __u8 family; + __u8 l4_protocol; + __be16 sport; + __be16 dport; + union { + __u16 tot_len; + __u16 mtu_result; + }; + __u32 ifindex; + union { + __u8 tos; + __be32 flowinfo; + __u32 rt_metric; + }; + union { + __be32 ipv4_src; + __u32 ipv6_src[4]; + }; + union { + __be32 ipv4_dst; + __u32 ipv6_dst[4]; + }; + union { + struct { + __be16 h_vlan_proto; + __be16 h_vlan_TCI; + }; + __u32 tbid; + }; + union { + struct { + __u32 mark; + }; + struct { + __u8 smac[6]; + __u8 dmac[6]; + }; + }; +}; + +struct bpf_flow_keys { + __u16 nhoff; + __u16 thoff; + __u16 addr_proto; + __u8 is_frag; + __u8 is_first_frag; + __u8 is_encap; + __u8 ip_proto; + __be16 n_proto; + __be16 sport; + __be16 dport; + union { + struct { + __be32 ipv4_src; + __be32 ipv4_dst; + }; + struct { + __u32 ipv6_src[4]; + __u32 ipv6_dst[4]; + }; + }; + __u32 flags; + __be32 flow_label; +}; + +struct bpf_func_info { + __u32 insn_off; + __u32 type_id; +}; + +struct bpf_func_info_aux { + u16 linkage; + bool unreliable; + bool called: 1; + bool verified: 1; +}; + +struct bpf_func_proto { + u64 (*func)(u64, u64, u64, u64, u64); + bool gpl_only; + bool pkt_access; + bool might_sleep; + bool allow_fastcall; + enum bpf_return_type ret_type; + union { + struct { + enum bpf_arg_type arg1_type; + enum bpf_arg_type arg2_type; + enum bpf_arg_type arg3_type; + enum bpf_arg_type arg4_type; + enum bpf_arg_type arg5_type; + }; + enum bpf_arg_type arg_type[5]; + }; + union { + struct { + u32 *arg1_btf_id; + u32 *arg2_btf_id; + u32 *arg3_btf_id; + u32 *arg4_btf_id; + u32 *arg5_btf_id; + }; + u32 *arg_btf_id[5]; + struct { + size_t arg1_size; + size_t arg2_size; + size_t arg3_size; + size_t arg4_size; + size_t arg5_size; + }; + size_t arg_size[5]; + }; + int *ret_btf_id; + bool (*allowed)(const struct bpf_prog *); +}; + +struct tnum { + u64 value; + u64 mask; +}; + +struct bpf_reg_state { + enum bpf_reg_type type; + s32 off; + union { + int range; + struct { + struct bpf_map *map_ptr; + u32 map_uid; + }; + struct { + struct btf *btf; + u32 btf_id; + }; + struct { + u32 mem_size; + u32 dynptr_id; + }; + struct { + enum bpf_dynptr_type type; + bool first_slot; + } dynptr; + struct { + struct btf *btf; + u32 btf_id; + enum bpf_iter_state state: 2; + int depth: 30; + } iter; + struct { + long unsigned int raw1; + long unsigned int raw2; + } raw; + u32 subprogno; + }; + long: 32; + struct tnum var_off; + s64 smin_value; + s64 smax_value; + u64 umin_value; + u64 umax_value; + s32 s32_min_value; + s32 s32_max_value; + u32 u32_min_value; + u32 u32_max_value; + u32 id; + u32 ref_obj_id; + struct bpf_reg_state *parent; + u32 frameno; + s32 subreg_def; + enum bpf_reg_liveness live; + bool precise; + long: 32; +}; + +struct bpf_retval_range { + s32 minval; + s32 maxval; +}; + +struct bpf_stack_state; + +struct bpf_func_state { + struct bpf_reg_state regs[11]; + int callsite; + u32 frameno; + u32 subprogno; + u32 async_entry_cnt; + struct bpf_retval_range callback_ret_range; + bool in_callback_fn; + bool in_async_callback_fn; + bool in_exception_callback_fn; + u32 callback_depth; + struct bpf_stack_state *stack; + int allocated_stack; +}; + +struct bpf_hrtimer { + struct bpf_async_cb cb; + struct hrtimer timer; + atomic_t cancelling; + long: 32; +}; + +struct obj_cgroup; + +struct bpf_mem_caches; + +struct bpf_mem_cache; + +struct bpf_mem_alloc { + struct bpf_mem_caches *caches; + struct bpf_mem_cache *cache; + struct obj_cgroup *objcg; + bool percpu; + struct work_struct work; +}; + +struct pcpu_freelist_node; + +struct pcpu_freelist_head { + struct pcpu_freelist_node *first; + raw_spinlock_t lock; +}; + +struct pcpu_freelist { + struct pcpu_freelist_head *freelist; + struct pcpu_freelist_head extralist; +}; + +struct bpf_lru_node; + +typedef bool (*del_from_htab_func)(void *, struct bpf_lru_node *); + +struct bpf_lru { + union { + struct bpf_common_lru common_lru; + struct bpf_lru_list *percpu_lru; + }; + del_from_htab_func del_from_htab; + void *del_arg; + unsigned int hash_offset; + unsigned int nr_scans; + bool percpu; +}; + +struct bucket; + +struct htab_elem; + +struct bpf_htab { + struct bpf_map map; + struct bpf_mem_alloc ma; + struct bpf_mem_alloc pcpu_ma; + struct bucket *buckets; + void *elems; + union { + struct pcpu_freelist freelist; + struct bpf_lru lru; + }; + struct htab_elem **extra_elems; + struct percpu_counter pcount; + atomic_t count; + bool use_percpu_counter; + u32 n_buckets; + u32 elem_size; + u32 hashrnd; + struct lock_class_key lockdep_key; + int *map_locked[8]; + long: 32; +}; + +struct bpf_id_pair { + u32 old; + u32 cur; +}; + +struct bpf_idmap { + u32 tmp_id_gen; + struct bpf_id_pair map[600]; +}; + +struct bpf_idset { + u32 count; + u32 ids[600]; +}; + +struct bpf_insn { + __u8 code; + __u8 dst_reg: 4; + __u8 src_reg: 4; + __s16 off; + __s32 imm; +}; + +struct bpf_insn_access_aux { + enum bpf_reg_type reg_type; + bool is_ldsx; + union { + int ctx_field_size; + struct { + struct btf *btf; + u32 btf_id; + }; + }; + struct bpf_verifier_log *log; + bool is_retval; +}; + +struct bpf_map_ptr_state { + struct bpf_map *map_ptr; + bool poison; + bool unpriv; +}; + +struct bpf_loop_inline_state { + unsigned int initialized: 1; + unsigned int fit_for_inline: 1; + u32 callback_subprogno; +}; + +struct btf_struct_meta; + +struct bpf_insn_aux_data { + union { + enum bpf_reg_type ptr_type; + struct bpf_map_ptr_state map_ptr_state; + s32 call_imm; + u32 alu_limit; + struct { + u32 map_index; + u32 map_off; + }; + struct { + enum bpf_reg_type reg_type; + union { + struct { + struct btf *btf; + u32 btf_id; + }; + u32 mem_size; + }; + } btf_var; + struct bpf_loop_inline_state loop_inline_state; + }; + long: 32; + union { + u64 obj_new_size; + u64 insert_off; + }; + struct btf_struct_meta *kptr_struct_meta; + long: 32; + u64 map_key_state; + int ctx_field_size; + u32 seen; + bool sanitize_stack_spill; + bool zext_dst; + bool needs_zext; + bool storage_get_func_atomic; + bool is_iter_next; + bool call_with_percpu_alloc_ptr; + u8 alu_state; + u8 fastcall_pattern: 1; + u8 fastcall_spills_num: 3; + unsigned int orig_idx; + bool jmp_point; + bool prune_point; + bool force_checkpoint; + bool calls_callback; +}; + +typedef void (*bpf_insn_print_t)(void *, const char *, ...); + +typedef const char * (*bpf_insn_revmap_call_t)(void *, const struct bpf_insn *); + +typedef const char * (*bpf_insn_print_imm_t)(void *, const struct bpf_insn *, __u64); + +struct bpf_insn_cbs { + bpf_insn_print_t cb_print; + bpf_insn_revmap_call_t cb_call; + bpf_insn_print_imm_t cb_imm; + void *private_data; +}; + +struct bpf_insn_hist_entry { + u32 idx; + u32 prev_idx: 22; + u32 flags: 10; + u64 linked_regs; +}; + +struct bpf_iter_meta; + +struct bpf_link; + +struct bpf_iter__bpf_link { + union { + struct bpf_iter_meta *meta; + }; + union { + struct bpf_link *link; + }; +}; + +struct bpf_iter__bpf_map { + union { + struct bpf_iter_meta *meta; + }; + union { + struct bpf_map *map; + }; +}; + +struct bpf_iter__bpf_map_elem { + union { + struct bpf_iter_meta *meta; + }; + union { + struct bpf_map *map; + }; + union { + void *key; + }; + union { + void *value; + }; +}; + +struct bpf_iter__bpf_prog { + union { + struct bpf_iter_meta *meta; + }; + union { + struct bpf_prog *prog; + }; +}; + +struct bpf_iter__bpf_sk_storage_map { + union { + struct bpf_iter_meta *meta; + }; + union { + struct bpf_map *map; + }; + union { + struct sock *sk; + }; + union { + void *value; + }; +}; + +struct bpf_iter__kmem_cache { + union { + struct bpf_iter_meta *meta; + }; + union { + struct kmem_cache *s; + }; +}; + +struct kallsym_iter; + +struct bpf_iter__ksym { + union { + struct bpf_iter_meta *meta; + }; + union { + struct kallsym_iter *ksym; + }; +}; + +struct bpf_iter__sockmap { + union { + struct bpf_iter_meta *meta; + }; + union { + struct bpf_map *map; + }; + union { + void *key; + }; + union { + struct sock *sk; + }; +}; + +struct bpf_iter__task { + union { + struct bpf_iter_meta *meta; + }; + union { + struct task_struct *task; + }; +}; + +struct bpf_iter__task__safe_trusted { + struct bpf_iter_meta *meta; + struct task_struct *task; +}; + +struct bpf_iter__task_file { + union { + struct bpf_iter_meta *meta; + }; + union { + struct task_struct *task; + }; + u32 fd; + long: 32; + union { + struct file *file; + }; +}; + +struct bpf_iter__task_vma { + union { + struct bpf_iter_meta *meta; + }; + union { + struct task_struct *task; + }; + union { + struct vm_area_struct *vma; + }; +}; + +struct bpf_iter_aux_info { + struct bpf_map *map; + struct { + struct cgroup *start; + enum bpf_cgroup_iter_order order; + } cgroup; + struct { + enum bpf_iter_task_type type; + u32 pid; + } task; +}; + +struct bpf_iter_bits { + __u64 __opaque[2]; +}; + +struct bpf_iter_bits_kern { + union { + __u64 *bits; + __u64 bits_copy; + }; + int nr_bits; + int bit; +}; + +struct bpf_iter_kmem_cache { + __u64 __opaque[1]; +}; + +struct bpf_iter_kmem_cache_kern { + struct kmem_cache *pos; + long: 32; +}; + +struct bpf_link_ops; + +struct bpf_link { + atomic64_t refcnt; + u32 id; + enum bpf_link_type type; + const struct bpf_link_ops *ops; + struct bpf_prog *prog; + bool sleepable; + union { + struct callback_head rcu; + struct work_struct work; + }; + long: 32; +}; + +struct bpf_iter_target_info; + +struct bpf_iter_link { + struct bpf_link link; + struct bpf_iter_aux_info aux; + struct bpf_iter_target_info *tinfo; +}; + +union bpf_iter_link_info { + struct { + __u32 map_fd; + } map; + struct { + enum bpf_cgroup_iter_order order; + __u32 cgroup_fd; + __u64 cgroup_id; + } cgroup; + struct { + __u32 tid; + __u32 pid; + __u32 pid_fd; + } task; +}; + +struct seq_file; + +struct bpf_iter_meta { + union { + struct seq_file *seq; + }; + u64 session_id; + u64 seq_num; +}; + +struct bpf_iter_meta__safe_trusted { + struct seq_file *seq; +}; + +struct bpf_iter_num { + __u64 __opaque[1]; +}; + +struct bpf_iter_num_kern { + int cur; + int end; +}; + +struct bpf_iter_seq_info; + +struct bpf_iter_priv_data { + struct bpf_iter_target_info *tinfo; + const struct bpf_iter_seq_info *seq_info; + struct bpf_prog *prog; + long: 32; + u64 session_id; + u64 seq_num; + bool done_stop; + long: 32; + u8 target_private[0]; +}; + +typedef int (*bpf_iter_attach_target_t)(struct bpf_prog *, union bpf_iter_link_info *, struct bpf_iter_aux_info *); + +typedef void (*bpf_iter_detach_target_t)(struct bpf_iter_aux_info *); + +typedef void (*bpf_iter_show_fdinfo_t)(const struct bpf_iter_aux_info *, struct seq_file *); + +struct bpf_link_info; + +typedef int (*bpf_iter_fill_link_info_t)(const struct bpf_iter_aux_info *, struct bpf_link_info *); + +typedef const struct bpf_func_proto * (*bpf_iter_get_func_proto_t)(enum bpf_func_id, const struct bpf_prog *); + +struct bpf_iter_reg { + const char *target; + bpf_iter_attach_target_t attach_target; + bpf_iter_detach_target_t detach_target; + bpf_iter_show_fdinfo_t show_fdinfo; + bpf_iter_fill_link_info_t fill_link_info; + bpf_iter_get_func_proto_t get_func_proto; + u32 ctx_arg_info_size; + u32 feature; + struct bpf_ctx_arg_aux ctx_arg_info[2]; + const struct bpf_iter_seq_info *seq_info; +}; + +struct bpf_iter_seq_array_map_info { + struct bpf_map *map; + void *percpu_value_buf; + u32 index; +}; + +struct bpf_iter_seq_hash_map_info { + struct bpf_map *map; + struct bpf_htab *htab; + void *percpu_value_buf; + u32 bucket_id; + u32 skip_elems; +}; + +typedef int (*bpf_iter_init_seq_priv_t)(void *, struct bpf_iter_aux_info *); + +typedef void (*bpf_iter_fini_seq_priv_t)(void *); + +struct seq_operations; + +struct bpf_iter_seq_info { + const struct seq_operations *seq_ops; + bpf_iter_init_seq_priv_t init_seq_private; + bpf_iter_fini_seq_priv_t fini_seq_private; + u32 seq_priv_size; +}; + +struct bpf_iter_seq_link_info { + u32 link_id; +}; + +struct bpf_iter_seq_map_info { + u32 map_id; +}; + +struct bpf_iter_seq_prog_info { + u32 prog_id; +}; + +struct bpf_iter_seq_sk_storage_map_info { + struct bpf_map *map; + unsigned int bucket_id; + unsigned int skip_elems; +}; + +struct pid_namespace; + +struct bpf_iter_seq_task_common { + struct pid_namespace *ns; + enum bpf_iter_task_type type; + u32 pid; + u32 pid_visiting; +}; + +struct bpf_iter_seq_task_file_info { + struct bpf_iter_seq_task_common common; + struct task_struct *task; + u32 tid; + u32 fd; +}; + +struct bpf_iter_seq_task_info { + struct bpf_iter_seq_task_common common; + u32 tid; +}; + +struct bpf_iter_seq_task_vma_info { + struct bpf_iter_seq_task_common common; + struct task_struct *task; + struct mm_struct *mm; + struct vm_area_struct *vma; + u32 tid; + long unsigned int prev_vm_start; + long unsigned int prev_vm_end; +}; + +struct bpf_iter_target_info { + struct list_head list; + const struct bpf_iter_reg *reg_info; + u32 btf_id; +}; + +struct bpf_iter_task { + __u64 __opaque[3]; +}; + +struct bpf_iter_task_kern { + struct task_struct *task; + struct task_struct *pos; + unsigned int flags; + long: 32; +}; + +struct bpf_iter_task_vma { + __u64 __opaque[1]; +}; + +struct bpf_iter_task_vma_kern_data; + +struct bpf_iter_task_vma_kern { + struct bpf_iter_task_vma_kern_data *data; + long: 32; +}; + +struct maple_enode; + +struct maple_tree; + +struct maple_alloc; + +struct ma_state { + struct maple_tree *tree; + long unsigned int index; + long unsigned int last; + struct maple_enode *node; + long unsigned int min; + long unsigned int max; + struct maple_alloc *alloc; + enum maple_status status; + unsigned char depth; + unsigned char offset; + unsigned char mas_flags; + unsigned char end; + enum store_type store_type; +}; + +struct vma_iterator { + struct ma_state mas; +}; + +struct mmap_unlock_irq_work; + +struct bpf_iter_task_vma_kern_data { + struct task_struct *task; + struct mm_struct *mm; + struct mmap_unlock_irq_work *work; + struct vma_iterator vmi; +}; + +struct bpf_jit_poke_descriptor { + void *tailcall_target; + void *tailcall_bypass; + void *bypass_addr; + void *aux; + union { + struct { + struct bpf_map *map; + u32 key; + } tail_call; + }; + bool tailcall_target_stable; + u8 adj_off; + u16 reason; + u32 insn_idx; +}; + +struct bpf_kfunc_btf { + struct btf *btf; + struct module *module; + u16 offset; +}; + +struct bpf_kfunc_btf_tab { + struct bpf_kfunc_btf descs[256]; + u32 nr_descs; +}; + +struct bpf_kfunc_call_arg_meta { + struct btf *btf; + u32 func_id; + u32 kfunc_flags; + const struct btf_type *func_proto; + const char *func_name; + u32 ref_obj_id; + u8 release_regno; + bool r0_rdonly; + u32 ret_btf_id; + u64 r0_size; + u32 subprogno; + long: 32; + struct { + u64 value; + bool found; + long: 32; + } arg_constant; + struct btf *arg_btf; + u32 arg_btf_id; + bool arg_owning_ref; + struct { + struct btf_field *field; + } arg_list_head; + struct { + struct btf_field *field; + } arg_rbtree_root; + struct { + enum bpf_dynptr_type type; + u32 id; + u32 ref_obj_id; + } initialized_dynptr; + struct { + u8 spi; + u8 frameno; + } iter; + struct { + struct bpf_map *ptr; + int uid; + } map; + long: 32; + u64 mem_size; +}; + +struct bpf_kfunc_desc { + struct btf_func_model func_model; + u32 func_id; + s32 imm; + u16 offset; + long unsigned int addr; +}; + +struct bpf_kfunc_desc_tab { + struct bpf_kfunc_desc descs[256]; + u32 nr_descs; +}; + +struct bpf_line_info { + __u32 insn_off; + __u32 file_name_off; + __u32 line_off; + __u32 line_col; +}; + +struct bpf_link_info { + __u32 type; + __u32 id; + __u32 prog_id; + long: 32; + union { + struct { + __u64 tp_name; + __u32 tp_name_len; + long: 32; + } raw_tracepoint; + struct { + __u32 attach_type; + __u32 target_obj_id; + __u32 target_btf_id; + } tracing; + struct { + __u64 cgroup_id; + __u32 attach_type; + long: 32; + } cgroup; + struct { + __u64 target_name; + __u32 target_name_len; + union { + struct { + __u32 map_id; + } map; + }; + union { + struct { + __u64 cgroup_id; + __u32 order; + long: 32; + } cgroup; + struct { + __u32 tid; + __u32 pid; + } task; + }; + } iter; + struct { + __u32 netns_ino; + __u32 attach_type; + } netns; + struct { + __u32 ifindex; + } xdp; + struct { + __u32 map_id; + } struct_ops; + struct { + __u32 pf; + __u32 hooknum; + __s32 priority; + __u32 flags; + } netfilter; + struct { + __u64 addrs; + __u32 count; + __u32 flags; + __u64 missed; + __u64 cookies; + } kprobe_multi; + struct { + __u64 path; + __u64 offsets; + __u64 ref_ctr_offsets; + __u64 cookies; + __u32 path_size; + __u32 count; + __u32 flags; + __u32 pid; + } uprobe_multi; + struct { + __u32 type; + long: 32; + union { + struct { + __u64 file_name; + __u32 name_len; + __u32 offset; + __u64 cookie; + } uprobe; + struct { + __u64 func_name; + __u32 name_len; + __u32 offset; + __u64 addr; + __u64 missed; + __u64 cookie; + } kprobe; + struct { + __u64 tp_name; + __u32 name_len; + long: 32; + __u64 cookie; + } tracepoint; + struct { + __u64 config; + __u32 type; + long: 32; + __u64 cookie; + } event; + }; + } perf_event; + struct { + __u32 ifindex; + __u32 attach_type; + } tcx; + struct { + __u32 ifindex; + __u32 attach_type; + } netkit; + struct { + __u32 map_id; + __u32 attach_type; + } sockmap; + }; +}; + +struct poll_table_struct; + +struct bpf_link_ops { + void (*release)(struct bpf_link *); + void (*dealloc)(struct bpf_link *); + void (*dealloc_deferred)(struct bpf_link *); + int (*detach)(struct bpf_link *); + int (*update_prog)(struct bpf_link *, struct bpf_prog *, struct bpf_prog *); + void (*show_fdinfo)(const struct bpf_link *, struct seq_file *); + int (*fill_link_info)(const struct bpf_link *, struct bpf_link_info *); + int (*update_map)(struct bpf_link *, struct bpf_map *, struct bpf_map *); + __poll_t (*poll)(struct file *, struct poll_table_struct *); +}; + +struct bpf_link_primer { + struct bpf_link *link; + struct file *file; + int fd; + u32 id; +}; + +struct bpf_list_head { + __u64 __opaque[2]; +}; + +struct bpf_list_node { + __u64 __opaque[3]; +}; + +struct bpf_list_node_kern { + struct list_head list_head; + void *owner; + long: 32; +}; + +struct hlist_head { + struct hlist_node *first; +}; + +struct bpf_local_storage_data; + +struct bpf_local_storage_map; + +struct bpf_local_storage { + struct bpf_local_storage_data *cache[16]; + struct bpf_local_storage_map *smap; + struct hlist_head list; + void *owner; + struct callback_head rcu; + raw_spinlock_t lock; +}; + +struct bpf_local_storage_cache { + spinlock_t idx_lock; + u64 idx_usage_counts[16]; +}; + +struct bpf_local_storage_data { + struct bpf_local_storage_map *smap; + long: 32; + u8 data[0]; +}; + +struct bpf_local_storage_elem { + struct hlist_node map_node; + struct hlist_node snode; + struct bpf_local_storage *local_storage; + union { + struct callback_head rcu; + struct hlist_node free_node; + }; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + struct bpf_local_storage_data sdata; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct bpf_local_storage_map_bucket; + +struct bpf_local_storage_map { + struct bpf_map map; + struct bpf_local_storage_map_bucket *buckets; + u32 bucket_log; + u16 elem_size; + u16 cache_idx; + struct bpf_mem_alloc selem_ma; + struct bpf_mem_alloc storage_ma; + bool bpf_ma; +}; + +struct bpf_local_storage_map_bucket { + struct hlist_head list; + raw_spinlock_t lock; +}; + +struct bpf_lpm_trie_key_hdr { + __u32 prefixlen; +}; + +struct bpf_lpm_trie_key_u8 { + union { + struct bpf_lpm_trie_key_hdr hdr; + __u32 prefixlen; + }; + __u8 data[0]; +}; + +struct bpf_lru_locallist { + struct list_head lists[2]; + u16 next_steal; + raw_spinlock_t lock; +}; + +struct bpf_lru_node { + struct list_head list; + u16 cpu; + u8 type; + u8 ref; +}; + +struct bpf_offloaded_map; + +struct bpf_map_dev_ops { + int (*map_get_next_key)(struct bpf_offloaded_map *, void *, void *); + int (*map_lookup_elem)(struct bpf_offloaded_map *, void *, void *); + int (*map_update_elem)(struct bpf_offloaded_map *, void *, void *, u64); + int (*map_delete_elem)(struct bpf_offloaded_map *, void *); +}; + +struct bpf_map_info { + __u32 type; + __u32 id; + __u32 key_size; + __u32 value_size; + __u32 max_entries; + __u32 map_flags; + char name[16]; + __u32 ifindex; + __u32 btf_vmlinux_value_type_id; + __u64 netns_dev; + __u64 netns_ino; + __u32 btf_id; + __u32 btf_key_type_id; + __u32 btf_value_type_id; + __u32 btf_vmlinux_id; + __u64 map_extra; +}; + +typedef u64 (*bpf_callback_t)(u64, u64, u64, u64, u64); + +struct bpf_prog_aux; + +struct bpf_map_ops { + int (*map_alloc_check)(union bpf_attr *); + struct bpf_map * (*map_alloc)(union bpf_attr *); + void (*map_release)(struct bpf_map *, struct file *); + void (*map_free)(struct bpf_map *); + int (*map_get_next_key)(struct bpf_map *, void *, void *); + void (*map_release_uref)(struct bpf_map *); + void * (*map_lookup_elem_sys_only)(struct bpf_map *, void *); + int (*map_lookup_batch)(struct bpf_map *, const union bpf_attr *, union bpf_attr *); + int (*map_lookup_and_delete_elem)(struct bpf_map *, void *, void *, u64); + int (*map_lookup_and_delete_batch)(struct bpf_map *, const union bpf_attr *, union bpf_attr *); + int (*map_update_batch)(struct bpf_map *, struct file *, const union bpf_attr *, union bpf_attr *); + int (*map_delete_batch)(struct bpf_map *, const union bpf_attr *, union bpf_attr *); + void * (*map_lookup_elem)(struct bpf_map *, void *); + long int (*map_update_elem)(struct bpf_map *, void *, void *, u64); + long int (*map_delete_elem)(struct bpf_map *, void *); + long int (*map_push_elem)(struct bpf_map *, void *, u64); + long int (*map_pop_elem)(struct bpf_map *, void *); + long int (*map_peek_elem)(struct bpf_map *, void *); + void * (*map_lookup_percpu_elem)(struct bpf_map *, void *, u32); + void * (*map_fd_get_ptr)(struct bpf_map *, struct file *, int); + void (*map_fd_put_ptr)(struct bpf_map *, void *, bool); + int (*map_gen_lookup)(struct bpf_map *, struct bpf_insn *); + u32 (*map_fd_sys_lookup_elem)(void *); + void (*map_seq_show_elem)(struct bpf_map *, void *, struct seq_file *); + int (*map_check_btf)(const struct bpf_map *, const struct btf *, const struct btf_type *, const struct btf_type *); + int (*map_poke_track)(struct bpf_map *, struct bpf_prog_aux *); + void (*map_poke_untrack)(struct bpf_map *, struct bpf_prog_aux *); + void (*map_poke_run)(struct bpf_map *, u32, struct bpf_prog *, struct bpf_prog *); + int (*map_direct_value_addr)(const struct bpf_map *, u64 *, u32); + int (*map_direct_value_meta)(const struct bpf_map *, u64, u32 *); + int (*map_mmap)(struct bpf_map *, struct vm_area_struct *); + __poll_t (*map_poll)(struct bpf_map *, struct file *, struct poll_table_struct *); + long unsigned int (*map_get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); + int (*map_local_storage_charge)(struct bpf_local_storage_map *, void *, u32); + void (*map_local_storage_uncharge)(struct bpf_local_storage_map *, void *, u32); + struct bpf_local_storage ** (*map_owner_storage_ptr)(void *); + long int (*map_redirect)(struct bpf_map *, u64, u64); + bool (*map_meta_equal)(const struct bpf_map *, const struct bpf_map *); + int (*map_set_for_each_callback_args)(struct bpf_verifier_env *, struct bpf_func_state *, struct bpf_func_state *); + long int (*map_for_each_callback)(struct bpf_map *, bpf_callback_t, void *, u64); + u64 (*map_mem_usage)(const struct bpf_map *); + int *map_btf_id; + const struct bpf_iter_seq_info *iter_seq_info; +}; + +struct llist_head { + struct llist_node *first; +}; + +struct rcuwait { + struct task_struct *task; +}; + +struct irq_work { + struct __call_single_node node; + void (*func)(struct irq_work *); + struct rcuwait irqwait; +}; + +struct bpf_mem_cache { + struct llist_head free_llist; + local_t active; + struct llist_head free_llist_extra; + struct irq_work refill_work; + struct obj_cgroup *objcg; + int unit_size; + int free_cnt; + int low_watermark; + int high_watermark; + int batch; + int percpu_size; + bool draining; + struct bpf_mem_cache *tgt; + struct llist_head free_by_rcu; + struct llist_node *free_by_rcu_tail; + struct llist_head waiting_for_gp; + struct llist_node *waiting_for_gp_tail; + struct callback_head rcu; + atomic_t call_rcu_in_progress; + struct llist_head free_llist_extra_rcu; + struct llist_head free_by_rcu_ttrace; + struct llist_head waiting_for_gp_ttrace; + struct callback_head rcu_ttrace; + atomic_t call_rcu_ttrace_in_progress; +}; + +struct bpf_mem_caches { + struct bpf_mem_cache cache[11]; +}; + +struct bpf_mount_opts { + kuid_t uid; + kgid_t gid; + umode_t mode; + long: 32; + u64 delegate_cmds; + u64 delegate_maps; + u64 delegate_progs; + u64 delegate_attachs; +}; + +struct bpf_mprog_fp { + struct bpf_prog *prog; +}; + +struct bpf_mprog_bundle; + +struct bpf_mprog_entry { + struct bpf_mprog_fp fp_items[64]; + struct bpf_mprog_bundle *parent; +}; + +struct bpf_mprog_cp { + struct bpf_link *link; +}; + +struct bpf_mprog_bundle { + struct bpf_mprog_entry a; + struct bpf_mprog_entry b; + struct bpf_mprog_cp cp_items[64]; + struct bpf_prog *ref; + long: 32; + atomic64_t revision; + u32 count; + long: 32; +}; + +struct bpf_nested_pt_regs { + struct pt_regs regs[3]; +}; + +struct bpf_nh_params { + u32 nh_family; + union { + u32 ipv4_nh; + struct in6_addr ipv6_nh; + }; +}; + +struct bpf_redirect_info { + u64 tgt_index; + void *tgt_value; + struct bpf_map *map; + u32 flags; + u32 map_id; + enum bpf_map_type map_type; + struct bpf_nh_params nh; + u32 kern_flags; + long: 32; +}; + +struct bpf_net_context { + struct bpf_redirect_info ri; + struct list_head cpu_map_flush_list; + struct list_head dev_map_flush_list; + struct list_head xskmap_map_flush_list; +}; + +struct bpf_netns_link { + struct bpf_link link; + enum bpf_attach_type type; + enum netns_bpf_attach_type netns_type; + struct net *net; + struct list_head node; + long: 32; +}; + +struct nf_hook_state; + +struct bpf_nf_ctx { + const struct nf_hook_state *state; + struct sk_buff *skb; +}; + +struct bpf_prog_offload_ops; + +struct bpf_offload_dev { + const struct bpf_prog_offload_ops *ops; + struct list_head netdevs; + void *priv; +}; + +struct rhash_head { + struct rhash_head *next; +}; + +struct bpf_offload_netdev { + struct rhash_head l; + struct net_device *netdev; + struct bpf_offload_dev *offdev; + struct list_head progs; + struct list_head maps; + struct list_head offdev_netdevs; +}; + +struct bpf_offloaded_map { + struct bpf_map map; + struct net_device *netdev; + const struct bpf_map_dev_ops *dev_ops; + void *dev_priv; + struct list_head offloads; + long: 32; +}; + +struct bpf_perf_event_value { + __u64 counter; + __u64 enabled; + __u64 running; +}; + +struct bpf_perf_link { + struct bpf_link link; + struct file *perf_file; + long: 32; +}; + +struct bpf_pidns_info { + __u32 pid; + __u32 tgid; +}; + +struct bpf_preload_info { + char link_name[16]; + struct bpf_link *link; +}; + +struct bpf_preload_ops { + int (*preload)(struct bpf_preload_info *); + struct module *owner; +}; + +struct sock_filter { + __u16 code; + __u8 jt; + __u8 jf; + __u32 k; +}; + +struct bpf_prog_stats; + +struct sock_fprog_kern; + +struct bpf_prog { + u16 pages; + u16 jited: 1; + u16 jit_requested: 1; + u16 gpl_compatible: 1; + u16 cb_access: 1; + u16 dst_needed: 1; + u16 blinding_requested: 1; + u16 blinded: 1; + u16 is_func: 1; + u16 kprobe_override: 1; + u16 has_callchain_buf: 1; + u16 enforce_expected_attach_type: 1; + u16 call_get_stack: 1; + u16 call_get_func_ip: 1; + u16 tstamp_type_access: 1; + u16 sleepable: 1; + enum bpf_prog_type type; + enum bpf_attach_type expected_attach_type; + u32 len; + u32 jited_len; + u8 tag[8]; + struct bpf_prog_stats *stats; + int *active; + unsigned int (*bpf_func)(const void *, const struct bpf_insn *); + struct bpf_prog_aux *aux; + struct sock_fprog_kern *orig_prog; + union { + struct { + struct {} __empty_insns; + struct sock_filter insns[0]; + }; + struct { + struct {} __empty_insnsi; + struct bpf_insn insnsi[0]; + }; + }; +}; + +struct bpf_arena; + +struct bpf_trampoline; + +struct bpf_prog_ops; + +struct btf_mod_pair; + +struct user_struct; + +struct bpf_token; + +struct bpf_prog_offload; + +struct exception_table_entry; + +struct bpf_prog_aux { + atomic64_t refcnt; + u32 used_map_cnt; + u32 used_btf_cnt; + u32 max_ctx_offset; + u32 max_pkt_offset; + u32 max_tp_access; + u32 stack_depth; + u32 id; + u32 func_cnt; + u32 real_func_cnt; + u32 func_idx; + u32 attach_btf_id; + u32 ctx_arg_info_size; + u32 max_rdonly_access; + u32 max_rdwr_access; + struct btf *attach_btf; + const struct bpf_ctx_arg_aux *ctx_arg_info; + void *priv_stack_ptr; + struct mutex dst_mutex; + struct bpf_prog *dst_prog; + struct bpf_trampoline *dst_trampoline; + enum bpf_prog_type saved_dst_prog_type; + enum bpf_attach_type saved_dst_attach_type; + bool verifier_zext; + bool dev_bound; + bool offload_requested; + bool attach_btf_trace; + bool attach_tracing_prog; + bool func_proto_unreliable; + bool tail_call_reachable; + bool xdp_has_frags; + bool exception_cb; + bool exception_boundary; + bool is_extended; + bool jits_use_priv_stack; + bool priv_stack_requested; + bool changes_pkt_data; + u64 prog_array_member_cnt; + struct mutex ext_mutex; + struct bpf_arena *arena; + void (*recursion_detected)(struct bpf_prog *); + const struct btf_type *attach_func_proto; + const char *attach_func_name; + struct bpf_prog **func; + void *jit_data; + struct bpf_jit_poke_descriptor *poke_tab; + struct bpf_kfunc_desc_tab *kfunc_tab; + struct bpf_kfunc_btf_tab *kfunc_btf_tab; + u32 size_poke_tab; + struct bpf_ksym ksym; + const struct bpf_prog_ops *ops; + struct bpf_map **used_maps; + struct mutex used_maps_mutex; + struct btf_mod_pair *used_btfs; + struct bpf_prog *prog; + struct user_struct *user; + u64 load_time; + u32 verified_insns; + int cgroup_atype; + struct bpf_map *cgroup_storage[2]; + char name[16]; + u64 (*bpf_exception_cb)(u64, u64, u64, u64, u64); + struct bpf_token *token; + struct bpf_prog_offload *offload; + struct btf *btf; + struct bpf_func_info *func_info; + struct bpf_func_info_aux *func_info_aux; + struct bpf_line_info *linfo; + void **jited_linfo; + u32 func_info_cnt; + u32 nr_linfo; + u32 linfo_idx; + struct module *mod; + u32 num_exentries; + struct exception_table_entry *extable; + union { + struct work_struct work; + struct callback_head rcu; + }; +}; + +struct bpf_prog_dummy { + struct bpf_prog prog; +}; + +struct bpf_prog_info { + __u32 type; + __u32 id; + __u8 tag[8]; + __u32 jited_prog_len; + __u32 xlated_prog_len; + __u64 jited_prog_insns; + __u64 xlated_prog_insns; + __u64 load_time; + __u32 created_by_uid; + __u32 nr_map_ids; + __u64 map_ids; + char name[16]; + __u32 ifindex; + __u32 gpl_compatible: 1; + __u64 netns_dev; + __u64 netns_ino; + __u32 nr_jited_ksyms; + __u32 nr_jited_func_lens; + __u64 jited_ksyms; + __u64 jited_func_lens; + __u32 btf_id; + __u32 func_info_rec_size; + __u64 func_info; + __u32 nr_func_info; + __u32 nr_line_info; + __u64 line_info; + __u64 jited_line_info; + __u32 nr_jited_line_info; + __u32 line_info_rec_size; + __u32 jited_line_info_rec_size; + __u32 nr_prog_tags; + __u64 prog_tags; + __u64 run_time_ns; + __u64 run_cnt; + __u64 recursion_misses; + __u32 verified_insns; + __u32 attach_btf_obj_id; + __u32 attach_btf_id; + long: 32; +}; + +struct bpf_prog_kstats { + u64 nsecs; + u64 cnt; + u64 misses; +}; + +struct bpf_prog_offload { + struct bpf_prog *prog; + struct net_device *netdev; + struct bpf_offload_dev *offdev; + void *dev_priv; + struct list_head offloads; + bool dev_state; + bool opt_failed; + void *jited_image; + u32 jited_len; +}; + +struct bpf_prog_offload_ops { + int (*insn_hook)(struct bpf_verifier_env *, int, int); + int (*finalize)(struct bpf_verifier_env *); + int (*replace_insn)(struct bpf_verifier_env *, u32, struct bpf_insn *); + int (*remove_insns)(struct bpf_verifier_env *, u32, u32); + int (*prepare)(struct bpf_prog *); + int (*translate)(struct bpf_prog *); + void (*destroy)(struct bpf_prog *); +}; + +struct bpf_prog_ops { + int (*test_run)(struct bpf_prog *, const union bpf_attr *, union bpf_attr *); +}; + +struct bpf_prog_pack { + struct list_head list; + void *ptr; + long unsigned int bitmap[0]; +}; + +struct bpf_prog_stats { + u64_stats_t cnt; + u64_stats_t nsecs; + u64_stats_t misses; + struct u64_stats_sync syncp; + long: 32; +}; + +struct bpf_queue_stack { + struct bpf_map map; + raw_spinlock_t lock; + u32 head; + u32 tail; + u32 size; + long: 32; + char elements[0]; +}; + +struct tracepoint; + +struct bpf_raw_event_map { + struct tracepoint *tp; + void *bpf_func; + u32 num_args; + u32 writable_size; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct bpf_raw_tp_link { + struct bpf_link link; + struct bpf_raw_event_map *btp; + long: 32; + u64 cookie; +}; + +struct bpf_raw_tp_null_args { + const char *func; + long: 32; + u64 mask; +}; + +struct bpf_raw_tp_regs { + struct pt_regs regs[3]; +}; + +struct bpf_raw_tp_test_run_info { + struct bpf_prog *prog; + void *ctx; + u32 retval; +}; + +struct bpf_rb_node { + __u64 __opaque[4]; +}; + +struct bpf_rb_node_kern { + struct rb_node rb_node; + void *owner; +}; + +struct bpf_rb_root { + __u64 __opaque[2]; +}; + +struct bpf_redir_neigh { + __u32 nh_family; + union { + __be32 ipv4_nh; + __u32 ipv6_nh[4]; + }; +}; + +struct bpf_refcount { + __u32 __opaque[1]; +}; + +struct bpf_reference_state { + enum ref_state_type type; + int id; + int insn_idx; + void *ptr; +}; + +struct bpf_reg_types { + const enum bpf_reg_type types[10]; + u32 *btf_id; +}; + +struct bpf_ringbuf { + wait_queue_head_t waitq; + struct irq_work work; + u64 mask; + struct page **pages; + int nr_pages; + raw_spinlock_t spinlock; + atomic_t busy; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long unsigned int consumer_pos; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long unsigned int producer_pos; + long unsigned int pending_pos; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + char data[0]; +}; + +struct bpf_ringbuf_hdr { + u32 len; + u32 pg_off; +}; + +struct bpf_ringbuf_map { + struct bpf_map map; + struct bpf_ringbuf *rb; + long: 32; +}; + +struct bpf_sanitize_info { + struct bpf_insn_aux_data aux; + bool mask_to_left; + long: 32; +}; + +struct bpf_session_run_ctx { + struct bpf_run_ctx run_ctx; + bool is_return; + void *data; +}; + +struct sk_psock_progs { + struct bpf_prog *msg_parser; + struct bpf_prog *stream_parser; + struct bpf_prog *stream_verdict; + struct bpf_prog *skb_verdict; + struct bpf_link *msg_parser_link; + struct bpf_link *stream_parser_link; + struct bpf_link *stream_verdict_link; + struct bpf_link *skb_verdict_link; +}; + +struct bpf_shtab_bucket; + +struct bpf_shtab { + struct bpf_map map; + struct bpf_shtab_bucket *buckets; + u32 buckets_num; + u32 elem_size; + struct sk_psock_progs progs; + atomic_t count; +}; + +struct bpf_shtab_bucket { + struct hlist_head head; + spinlock_t lock; +}; + +struct bpf_shtab_elem { + struct callback_head rcu; + u32 hash; + struct sock *sk; + struct hlist_node node; + u8 key[0]; +}; + +struct bpf_sk_storage_diag { + u32 nr_maps; + struct bpf_map *maps[0]; +}; + +struct qdisc_skb_cb { + struct { + unsigned int pkt_len; + u16 slave_dev_queue_mapping; + u16 tc_classid; + }; + unsigned char data[20]; +}; + +struct bpf_skb_data_end { + struct qdisc_skb_cb qdisc_cb; + void *data_meta; + void *data_end; +}; + +struct bpf_sock { + __u32 bound_dev_if; + __u32 family; + __u32 type; + __u32 protocol; + __u32 mark; + __u32 priority; + __u32 src_ip4; + __u32 src_ip6[4]; + __u32 src_port; + __be16 dst_port; + __u32 dst_ip4; + __u32 dst_ip6[4]; + __u32 state; + __s32 rx_queue_mapping; +}; + +struct bpf_sock_addr { + __u32 user_family; + __u32 user_ip4; + __u32 user_ip6[4]; + __u32 user_port; + __u32 family; + __u32 type; + __u32 protocol; + __u32 msg_src_ip4; + __u32 msg_src_ip6[4]; + long: 32; + union { + struct bpf_sock *sk; + }; +}; + +struct bpf_sock_addr_kern { + struct sock *sk; + struct sockaddr *uaddr; + u64 tmp_reg; + void *t_ctx; + u32 uaddrlen; +}; + +struct bpf_sock_tuple { + union { + struct { + __be32 saddr; + __be32 daddr; + __be16 sport; + __be16 dport; + } ipv4; + struct { + __be32 saddr[4]; + __be32 daddr[4]; + __be16 sport; + __be16 dport; + } ipv6; + }; +}; + +struct bpf_stab { + struct bpf_map map; + struct sock **sks; + struct sk_psock_progs progs; + spinlock_t lock; + long: 32; +}; + +struct bpf_stack_build_id { + __s32 status; + unsigned char build_id[20]; + union { + __u64 offset; + __u64 ip; + }; +}; + +struct stack_map_bucket; + +struct bpf_stack_map { + struct bpf_map map; + void *elems; + struct pcpu_freelist freelist; + u32 n_buckets; + struct stack_map_bucket *buckets[0]; +}; + +struct bpf_stack_state { + struct bpf_reg_state spilled_ptr; + u8 slot_type[8]; +}; + +struct bpf_verifier_ops; + +struct btf_member; + +struct bpf_struct_ops { + const struct bpf_verifier_ops *verifier_ops; + int (*init)(struct btf *); + int (*check_member)(const struct btf_type *, const struct btf_member *, const struct bpf_prog *); + int (*init_member)(const struct btf_type *, const struct btf_member *, void *, const void *); + int (*reg)(void *, struct bpf_link *); + void (*unreg)(void *, struct bpf_link *); + int (*update)(void *, void *, struct bpf_link *); + int (*validate)(void *); + void *cfi_stubs; + struct module *owner; + const char *name; + struct btf_func_model func_models[64]; +}; + +struct bpf_struct_ops_arg_info { + struct bpf_ctx_arg_aux *info; + u32 cnt; +}; + +struct bpf_struct_ops_common_value { + refcount_t refcnt; + enum bpf_struct_ops_state state; +}; + +struct bpf_struct_ops_bpf_dummy_ops { + struct bpf_struct_ops_common_value common; + struct bpf_dummy_ops data; +}; + +struct bpf_struct_ops_desc { + struct bpf_struct_ops *st_ops; + const struct btf_type *type; + const struct btf_type *value_type; + u32 type_id; + u32 value_id; + struct bpf_struct_ops_arg_info *arg_info; +}; + +struct bpf_struct_ops_link { + struct bpf_link link; + struct bpf_map *map; + wait_queue_head_t wait_hup; + long: 32; +}; + +struct bpf_struct_ops_value { + struct bpf_struct_ops_common_value common; + char data[0]; +}; + +struct bpf_struct_ops_map { + struct bpf_map map; + const struct bpf_struct_ops_desc *st_ops_desc; + struct mutex lock; + struct bpf_link **links; + struct bpf_ksym **ksyms; + u32 funcs_cnt; + u32 image_pages_cnt; + void *image_pages[8]; + struct btf *btf; + struct bpf_struct_ops_value *uvalue; + struct bpf_struct_ops_value kvalue; +}; + +struct rate_sample; + +union tcp_cc_info; + +struct tcp_congestion_ops { + u32 (*ssthresh)(struct sock *); + void (*cong_avoid)(struct sock *, u32, u32); + void (*set_state)(struct sock *, u8); + void (*cwnd_event)(struct sock *, enum tcp_ca_event); + void (*in_ack_event)(struct sock *, u32); + void (*pkts_acked)(struct sock *, const struct ack_sample *); + u32 (*min_tso_segs)(struct sock *); + void (*cong_control)(struct sock *, u32, int, const struct rate_sample *); + u32 (*undo_cwnd)(struct sock *); + u32 (*sndbuf_expand)(struct sock *); + size_t (*get_info)(struct sock *, u32, int *, union tcp_cc_info *); + char name[16]; + struct module *owner; + struct list_head list; + u32 key; + u32 flags; + void (*init)(struct sock *); + void (*release)(struct sock *); +}; + +struct bpf_struct_ops_tcp_congestion_ops { + struct bpf_struct_ops_common_value common; + struct tcp_congestion_ops data; +}; + +struct bpf_subprog_arg_info { + enum bpf_arg_type arg_type; + union { + u32 mem_size; + u32 btf_id; + }; +}; + +struct bpf_subprog_info { + u32 start; + u32 linfo_idx; + u16 stack_depth; + u16 stack_extra; + s16 fastcall_stack_off; + bool has_tail_call: 1; + bool tail_call_reachable: 1; + bool has_ld_abs: 1; + bool is_cb: 1; + bool is_async_cb: 1; + bool is_exception_cb: 1; + bool args_cached: 1; + bool keep_fastcall_stack: 1; + bool changes_pkt_data: 1; + enum priv_stack_mode priv_stack_mode; + u8 arg_cnt; + struct bpf_subprog_arg_info args[5]; +}; + +struct bpf_tcp_req_attrs { + u32 rcv_tsval; + u32 rcv_tsecr; + u16 mss; + u8 rcv_wscale; + u8 snd_wscale; + u8 ecn_ok; + u8 wscale_ok; + u8 sack_ok; + u8 tstamp_ok; + u8 usec_ts_ok; + u8 reserved[3]; +}; + +struct bpf_tcp_sock { + __u32 snd_cwnd; + __u32 srtt_us; + __u32 rtt_min; + __u32 snd_ssthresh; + __u32 rcv_nxt; + __u32 snd_nxt; + __u32 snd_una; + __u32 mss_cache; + __u32 ecn_flags; + __u32 rate_delivered; + __u32 rate_interval_us; + __u32 packets_out; + __u32 retrans_out; + __u32 total_retrans; + __u32 segs_in; + __u32 data_segs_in; + __u32 segs_out; + __u32 data_segs_out; + __u32 lost_out; + __u32 sacked_out; + __u64 bytes_received; + __u64 bytes_acked; + __u32 dsack_dups; + __u32 delivered; + __u32 delivered_ce; + __u32 icsk_retransmits; +}; + +struct bpf_test_timer { + enum { + NO_PREEMPT = 0, + NO_MIGRATE = 1, + } mode; + u32 i; + u64 time_start; + u64 time_spent; +}; + +struct bpf_throw_ctx { + struct bpf_prog_aux *aux; + long: 32; + u64 sp; + u64 bp; + int cnt; + long: 32; +}; + +struct bpf_timer { + __u64 __opaque[2]; +}; + +struct user_namespace; + +struct bpf_token { + struct work_struct work; + atomic64_t refcnt; + struct user_namespace *userns; + long: 32; + u64 allowed_cmds; + u64 allowed_maps; + u64 allowed_progs; + u64 allowed_attachs; +}; + +struct bpf_trace_module { + struct module *module; + struct list_head list; +}; + +struct bpf_trace_run_ctx { + struct bpf_run_ctx run_ctx; + u64 bpf_cookie; + bool is_uprobe; + long: 32; +}; + +union perf_sample_weight { + __u64 full; + struct { + __u32 var1_dw; + __u16 var2_w; + __u16 var3_w; + }; +}; + +union perf_mem_data_src { + __u64 val; + struct { + __u64 mem_op: 5; + __u64 mem_lvl: 14; + __u64 mem_snoop: 5; + __u64 mem_lock: 2; + __u64 mem_dtlb: 7; + __u64 mem_lvl_num: 4; + __u64 mem_remote: 1; + __u64 mem_snoopx: 2; + __u64 mem_blk: 3; + __u64 mem_hops: 3; + __u64 mem_rsvd: 18; + }; +}; + +struct perf_regs { + __u64 abi; + struct pt_regs *regs; + long: 32; +}; + +struct perf_callchain_entry; + +struct perf_raw_record; + +struct perf_branch_stack; + +struct perf_sample_data { + u64 sample_flags; + u64 period; + u64 dyn_size; + u64 type; + struct { + u32 pid; + u32 tid; + } tid_entry; + u64 time; + u64 id; + struct { + u32 cpu; + u32 reserved; + } cpu_entry; + u64 ip; + struct perf_callchain_entry *callchain; + struct perf_raw_record *raw; + struct perf_branch_stack *br_stack; + u64 *br_stack_cntr; + union perf_sample_weight weight; + union perf_mem_data_src data_src; + u64 txn; + struct perf_regs regs_user; + struct perf_regs regs_intr; + u64 stack_user_size; + u64 stream_id; + u64 cgroup; + u64 addr; + u64 phys_addr; + u64 data_page_size; + u64 code_page_size; + u64 aux_size; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct bpf_trace_sample_data { + struct perf_sample_data sds[3]; +}; + +struct bpf_tramp_link { + struct bpf_link link; + struct hlist_node tramp_hlist; + u64 cookie; +}; + +struct bpf_tracing_link { + struct bpf_tramp_link link; + enum bpf_attach_type attach_type; + struct bpf_trampoline *trampoline; + struct bpf_prog *tgt_prog; + long: 32; +}; + +struct percpu_ref_data; + +struct percpu_ref { + long unsigned int percpu_count_ptr; + struct percpu_ref_data *data; +}; + +struct bpf_tramp_image { + void *image; + int size; + struct bpf_ksym ksym; + struct percpu_ref pcref; + void *ip_after_call; + void *ip_epilogue; + union { + struct callback_head rcu; + struct work_struct work; + }; +}; + +struct bpf_tramp_links { + struct bpf_tramp_link *links[38]; + int nr_links; +}; + +struct bpf_tramp_run_ctx { + struct bpf_run_ctx run_ctx; + u64 bpf_cookie; + struct bpf_run_ctx *saved_run_ctx; + long: 32; +}; + +struct ftrace_ops; + +struct bpf_trampoline { + struct hlist_node hlist; + struct ftrace_ops *fops; + struct mutex mutex; + refcount_t refcnt; + u32 flags; + u64 key; + struct { + struct btf_func_model model; + void *addr; + bool ftrace_managed; + } func; + struct bpf_prog *extension_prog; + struct hlist_head progs_hlist[3]; + int progs_cnt[3]; + struct bpf_tramp_image *cur_image; + long: 32; +}; + +struct bpf_tunnel_key { + __u32 tunnel_id; + union { + __u32 remote_ipv4; + __u32 remote_ipv6[4]; + }; + __u8 tunnel_tos; + __u8 tunnel_ttl; + union { + __u16 tunnel_ext; + __be16 tunnel_flags; + }; + __u32 tunnel_label; + union { + __u32 local_ipv4; + __u32 local_ipv6[4]; + }; +}; + +struct bpf_tuple { + struct bpf_prog *prog; + struct bpf_link *link; +}; + +struct uprobe_consumer { + int (*handler)(struct uprobe_consumer *, struct pt_regs *, __u64 *); + int (*ret_handler)(struct uprobe_consumer *, long unsigned int, struct pt_regs *, __u64 *); + bool (*filter)(struct uprobe_consumer *, struct mm_struct *); + struct list_head cons_node; + long: 32; + __u64 id; +}; + +struct bpf_uprobe_multi_link; + +struct uprobe; + +struct bpf_uprobe { + struct bpf_uprobe_multi_link *link; + long: 32; + loff_t offset; + long unsigned int ref_ctr_offset; + long: 32; + u64 cookie; + struct uprobe *uprobe; + long: 32; + struct uprobe_consumer consumer; + bool session; + long: 32; +}; + +struct bpf_uprobe_multi_link { + struct path path; + struct bpf_link link; + u32 cnt; + u32 flags; + struct bpf_uprobe *uprobes; + struct task_struct *task; +}; + +struct bpf_uprobe_multi_run_ctx { + struct bpf_session_run_ctx session_ctx; + long unsigned int entry_ip; + struct bpf_uprobe *uprobe; +}; + +struct btf_mod_pair { + struct btf *btf; + struct module *module; +}; + +struct bpf_verifier_log { + u64 start_pos; + u64 end_pos; + char *ubuf; + u32 level; + u32 len_total; + u32 len_max; + char kbuf[1024]; +}; + +struct bpf_verifier_stack_elem; + +struct bpf_verifier_state; + +struct bpf_verifier_state_list; + +struct bpf_verifier_env { + u32 insn_idx; + u32 prev_insn_idx; + struct bpf_prog *prog; + const struct bpf_verifier_ops *ops; + struct module *attach_btf_mod; + struct bpf_verifier_stack_elem *head; + int stack_size; + bool strict_alignment; + bool test_state_freq; + bool test_reg_invariants; + struct bpf_verifier_state *cur_state; + struct bpf_verifier_state_list **explored_states; + struct bpf_verifier_state_list *free_list; + struct bpf_map *used_maps[64]; + struct btf_mod_pair used_btfs[64]; + u32 used_map_cnt; + u32 used_btf_cnt; + u32 id_gen; + u32 hidden_subprog_cnt; + int exception_callback_subprog; + bool explore_alu_limits; + bool allow_ptr_leaks; + bool allow_uninit_stack; + bool bpf_capable; + bool bypass_spec_v1; + bool bypass_spec_v4; + bool seen_direct_write; + bool seen_exception; + struct bpf_insn_aux_data *insn_aux_data; + const struct bpf_line_info *prev_linfo; + struct bpf_verifier_log log; + struct bpf_subprog_info subprog_info[258]; + union { + struct bpf_idmap idmap_scratch; + struct bpf_idset idset_scratch; + }; + struct { + int *insn_state; + int *insn_stack; + int cur_stack; + } cfg; + struct backtrack_state bt; + struct bpf_insn_hist_entry *insn_hist; + struct bpf_insn_hist_entry *cur_hist_ent; + u32 insn_hist_cap; + u32 pass_cnt; + u32 subprog_cnt; + u32 prev_insn_processed; + u32 insn_processed; + u32 prev_jmps_processed; + u32 jmps_processed; + long: 32; + u64 verification_time; + u32 max_states_per_insn; + u32 total_states; + u32 peak_states; + u32 longest_mark_read_walk; + bpfptr_t fd_array; + u32 scratched_regs; + long: 32; + u64 scratched_stack_slots; + u64 prev_log_pos; + u64 prev_insn_print_pos; + struct bpf_reg_state fake_reg[2]; + char tmp_str_buf[320]; + struct bpf_insn insn_buf[32]; + struct bpf_insn epilogue_buf[32]; +}; + +struct bpf_verifier_ops { + const struct bpf_func_proto * (*get_func_proto)(enum bpf_func_id, const struct bpf_prog *); + bool (*is_valid_access)(int, int, enum bpf_access_type, const struct bpf_prog *, struct bpf_insn_access_aux *); + int (*gen_prologue)(struct bpf_insn *, bool, const struct bpf_prog *); + int (*gen_epilogue)(struct bpf_insn *, const struct bpf_prog *, s16); + int (*gen_ld_abs)(const struct bpf_insn *, struct bpf_insn *); + u32 (*convert_ctx_access)(enum bpf_access_type, const struct bpf_insn *, struct bpf_insn *, struct bpf_prog *, u32 *); + int (*btf_struct_access)(struct bpf_verifier_log *, const struct bpf_reg_state *, int, int); +}; + +struct bpf_verifier_state { + struct bpf_func_state *frame[8]; + struct bpf_verifier_state *parent; + struct bpf_reference_state *refs; + u32 branches; + u32 insn_idx; + u32 curframe; + u32 acquired_refs; + u32 active_locks; + u32 active_preempt_locks; + u32 active_irq_id; + bool active_rcu_lock; + bool speculative; + bool used_as_loop_entry; + bool in_sleepable; + u32 first_insn_idx; + u32 last_insn_idx; + struct bpf_verifier_state *loop_entry; + u32 insn_hist_start; + u32 insn_hist_end; + u32 dfs_depth; + u32 callback_unroll_depth; + u32 may_goto_depth; +}; + +struct bpf_verifier_stack_elem { + struct bpf_verifier_state st; + int insn_idx; + int prev_insn_idx; + struct bpf_verifier_stack_elem *next; + u32 log_pos; +}; + +struct bpf_verifier_state_list { + struct bpf_verifier_state state; + struct bpf_verifier_state_list *next; + int miss_cnt; + int hit_cnt; +}; + +struct bpf_work { + struct bpf_async_cb cb; + struct work_struct work; + struct work_struct delete_work; +}; + +struct bpf_wq { + __u64 __opaque[2]; +}; + +struct bpf_xdp_link; + +struct bpf_xdp_entity { + struct bpf_prog *prog; + struct bpf_xdp_link *link; +}; + +struct bpf_xdp_link { + struct bpf_link link; + struct net_device *dev; + int flags; +}; + +struct bpf_xdp_sock { + __u32 queue_id; +}; + +struct bpffs_btf_enums { + const struct btf *btf; + const struct btf_type *cmd_t; + const struct btf_type *map_t; + const struct btf_type *prog_t; + const struct btf_type *attach_t; +}; + +struct trace_entry { + short unsigned int type; + unsigned char flags; + unsigned char preempt_count; + int pid; +}; + +struct bprint_entry { + struct trace_entry ent; + long unsigned int ip; + const char *fmt; + u32 buf[0]; +}; + +struct bputs_entry { + struct trace_entry ent; + long unsigned int ip; + const char *str; +}; + +struct br_mdb_entry { + __u32 ifindex; + __u8 state; + __u8 flags; + __u16 vid; + struct { + union { + __be32 ip4; + struct in6_addr ip6; + unsigned char mac_addr[6]; + } u; + __be16 proto; + } addr; +}; + +struct br_port_msg { + __u8 family; + __u32 ifindex; +}; + +struct broadcast_sk { + struct sock *sk; + struct work_struct work; +}; + +struct btf_header { + __u16 magic; + __u8 version; + __u8 flags; + __u32 hdr_len; + __u32 type_off; + __u32 type_len; + __u32 str_off; + __u32 str_len; +}; + +struct btf_kfunc_set_tab; + +struct btf_id_dtor_kfunc_tab; + +struct btf_struct_metas; + +struct btf_struct_ops_tab; + +struct btf { + void *data; + struct btf_type **types; + u32 *resolved_ids; + u32 *resolved_sizes; + const char *strings; + void *nohdr_data; + struct btf_header hdr; + u32 nr_types; + u32 types_size; + u32 data_size; + refcount_t refcnt; + u32 id; + struct callback_head rcu; + struct btf_kfunc_set_tab *kfunc_set_tab; + struct btf_id_dtor_kfunc_tab *dtor_kfunc_tab; + struct btf_struct_metas *struct_meta_tab; + struct btf_struct_ops_tab *struct_ops_tab; + struct btf *base_btf; + u32 start_id; + u32 start_str_off; + char name[60]; + bool kernel_btf; + __u32 *base_id_map; +}; + +struct btf_array { + __u32 type; + __u32 index_type; + __u32 nelems; +}; + +struct btf_decl_tag { + __s32 component_idx; +}; + +struct btf_enum { + __u32 name_off; + __s32 val; +}; + +struct btf_enum64 { + __u32 name_off; + __u32 val_lo32; + __u32 val_hi32; +}; + +typedef void (*btf_dtor_kfunc_t)(void *); + +struct btf_field_kptr { + struct btf *btf; + struct module *module; + btf_dtor_kfunc_t dtor; + u32 btf_id; +}; + +struct btf_field_graph_root { + struct btf *btf; + u32 value_btf_id; + u32 node_offset; + struct btf_record *value_rec; +}; + +struct btf_field { + u32 offset; + u32 size; + enum btf_field_type type; + union { + struct btf_field_kptr kptr; + struct btf_field_graph_root graph_root; + }; +}; + +struct btf_field_desc { + int t_off_cnt; + int t_offs[2]; + int m_sz; + int m_off_cnt; + int m_offs[1]; +}; + +struct btf_field_info { + enum btf_field_type type; + u32 off; + union { + struct { + u32 type_id; + } kptr; + struct { + const char *node_name; + u32 value_btf_id; + } graph_root; + }; +}; + +struct btf_field_iter { + struct btf_field_desc desc; + void *p; + int m_idx; + int off_idx; + int vlen; +}; + +struct btf_id_dtor_kfunc { + u32 btf_id; + u32 kfunc_btf_id; +}; + +struct btf_id_dtor_kfunc_tab { + u32 cnt; + struct btf_id_dtor_kfunc dtors[0]; +}; + +struct btf_id_set { + u32 cnt; + u32 ids[0]; +}; + +struct btf_id_set8 { + u32 cnt; + u32 flags; + struct { + u32 id; + u32 flags; + } pairs[0]; +}; + +typedef int (*btf_kfunc_filter_t)(const struct bpf_prog *, u32); + +struct btf_kfunc_hook_filter { + btf_kfunc_filter_t filters[16]; + u32 nr_filters; +}; + +struct btf_kfunc_id_set { + struct module *owner; + struct btf_id_set8 *set; + btf_kfunc_filter_t filter; +}; + +struct btf_kfunc_set_tab { + struct btf_id_set8 *sets[14]; + struct btf_kfunc_hook_filter hook_filters[14]; +}; + +struct btf_verifier_env; + +struct resolve_vertex; + +struct btf_show; + +struct btf_kind_operations { + s32 (*check_meta)(struct btf_verifier_env *, const struct btf_type *, u32); + int (*resolve)(struct btf_verifier_env *, const struct resolve_vertex *); + int (*check_member)(struct btf_verifier_env *, const struct btf_type *, const struct btf_member *, const struct btf_type *); + int (*check_kflag_member)(struct btf_verifier_env *, const struct btf_type *, const struct btf_member *, const struct btf_type *); + void (*log_details)(struct btf_verifier_env *, const struct btf_type *); + void (*show)(const struct btf *, const struct btf_type *, u32, void *, u8, struct btf_show *); +}; + +struct btf_member { + __u32 name_off; + __u32 type; + __u32 offset; +}; + +struct btf_module { + struct list_head list; + struct module *module; + struct btf *btf; + struct bin_attribute *sysfs_attr; + int flags; +}; + +struct btf_name_info { + const char *name; + bool needs_size: 1; + unsigned int size: 31; + __u32 id; +}; + +struct btf_param { + __u32 name_off; + __u32 type; +}; + +struct btf_ptr { + void *ptr; + __u32 type_id; + __u32 flags; +}; + +struct btf_record { + u32 cnt; + u32 field_mask; + int spin_lock_off; + int timer_off; + int wq_off; + int refcount_off; + struct btf_field fields[0]; +}; + +struct btf_relocate { + struct btf *btf; + const struct btf *base_btf; + const struct btf *dist_base_btf; + unsigned int nr_base_types; + unsigned int nr_split_types; + unsigned int nr_dist_base_types; + int dist_str_len; + int base_str_len; + __u32 *id_map; + __u32 *str_map; +}; + +struct btf_sec_info { + u32 off; + u32 len; +}; + +struct btf_show { + u64 flags; + void *target; + void (*showfn)(struct btf_show *, const char *, va_list); + const struct btf *btf; + struct { + u8 depth; + u8 depth_to_show; + u8 depth_check; + u8 array_member: 1; + u8 array_terminated: 1; + u16 array_encoding; + u32 type_id; + int status; + const struct btf_type *type; + const struct btf_member *member; + char name[80]; + } state; + struct { + u32 size; + void *head; + void *data; + u8 safe[32]; + } obj; +}; + +struct btf_show_snprintf { + struct btf_show show; + int len_left; + int len; +}; + +struct btf_struct_meta { + u32 btf_id; + struct btf_record *record; +}; + +struct btf_struct_metas { + u32 cnt; + struct btf_struct_meta types[0]; +}; + +struct btf_struct_ops_tab { + u32 cnt; + u32 capacity; + struct bpf_struct_ops_desc ops[0]; +}; + +struct btf_type { + __u32 name_off; + __u32 info; + union { + __u32 size; + __u32 type; + }; +}; + +struct btf_var { + __u32 linkage; +}; + +struct btf_var_secinfo { + __u32 type; + __u32 offset; + __u32 size; +}; + +struct resolve_vertex { + const struct btf_type *t; + u32 type_id; + u16 next_member; +}; + +struct btf_verifier_env { + struct btf *btf; + u8 *visit_states; + struct resolve_vertex stack[32]; + struct bpf_verifier_log log; + u32 log_type_id; + u32 top_stack; + enum verifier_phase phase; + enum resolve_mode resolve_mode; +}; + +struct hlist_nulls_node; + +struct hlist_nulls_head { + struct hlist_nulls_node *first; +}; + +struct bucket { + struct hlist_nulls_head head; + raw_spinlock_t raw_lock; +}; + +struct lockdep_map {}; + +struct rhash_lock_head; + +struct bucket_table { + unsigned int size; + unsigned int nest; + u32 hash_rnd; + struct list_head walkers; + struct callback_head rcu; + struct bucket_table *future_tbl; + struct lockdep_map dep_map; + struct rhash_lock_head *buckets[0]; +}; + +struct buffer_data_page { + u64 time_stamp; + local_t commit; + unsigned char data[0]; + long: 32; +}; + +struct buffer_data_read_page { + unsigned int order; + struct buffer_data_page *data; +}; + +struct buffer_page { + struct list_head list; + local_t write; + unsigned int read; + local_t entries; + long unsigned int real_end; + unsigned int order; + u32 id: 30; + u32 range: 1; + struct buffer_data_page *page; +}; + +struct buffer_ref { + struct trace_buffer *buffer; + void *page; + int cpu; + refcount_t refcount; +}; + +struct bus_attribute { + struct attribute attr; + ssize_t (*show)(const struct bus_type *, char *); + ssize_t (*store)(const struct bus_type *, const char *, size_t); +}; + +struct bus_dma_region { + phys_addr_t cpu_start; + dma_addr_t dma_start; + u64 size; +}; + +struct bus_type { + const char *name; + const char *dev_name; + const struct attribute_group **bus_groups; + const struct attribute_group **dev_groups; + const struct attribute_group **drv_groups; + int (*match)(struct device *, const struct device_driver *); + int (*uevent)(const struct device *, struct kobj_uevent_env *); + int (*probe)(struct device *); + void (*sync_state)(struct device *); + void (*remove)(struct device *); + void (*shutdown)(struct device *); + const struct cpumask * (*irq_get_affinity)(struct device *, unsigned int); + int (*online)(struct device *); + int (*offline)(struct device *); + int (*suspend)(struct device *, pm_message_t); + int (*resume)(struct device *); + int (*num_vf)(struct device *); + int (*dma_configure)(struct device *); + void (*dma_cleanup)(struct device *); + const struct dev_pm_ops *pm; + bool need_parent_lock; +}; + +struct cache_type_info { + const char *size_prop; + const char *line_size_props[2]; + const char *nr_sets_prop; +}; + +struct cacheinfo { + unsigned int id; + enum cache_type type; + unsigned int level; + unsigned int coherency_line_size; + unsigned int number_of_sets; + unsigned int ways_of_associativity; + unsigned int physical_line_partition; + unsigned int size; + cpumask_t shared_cpu_map; + unsigned int attributes; + void *fw_token; + bool disable_sysfs; + void *priv; +}; + +struct cachepolicy { + const char policy[16]; + unsigned int cr_mask; + pmdval_t pmd; + pteval_t pte; +}; + +struct callchain_cpus_entries { + struct callback_head callback_head; + struct perf_callchain_entry *cpu_entries[0]; +}; + +struct compact_control; + +struct capture_control { + struct compact_control *cc; + struct page *page; +}; + +struct cdev { + struct kobject kobj; + struct module *owner; + const struct file_operations *ops; + struct list_head list; + dev_t dev; + unsigned int count; +}; + +struct clock_event_device; + +struct ce_unbind { + struct clock_event_device *ce; + int res; +}; + +struct load_weight { + long unsigned int weight; + u32 inv_weight; +}; + +struct sched_entity; + +struct cfs_rq { + struct load_weight load; + unsigned int nr_queued; + unsigned int h_nr_queued; + unsigned int h_nr_runnable; + unsigned int h_nr_idle; + s64 avg_vruntime; + u64 avg_load; + u64 min_vruntime; + struct rb_root_cached tasks_timeline; + struct sched_entity *curr; + struct sched_entity *next; +}; + +struct cgroup__safe_rcu { + struct kernfs_node *kn; +}; + +struct proc_ns_operations; + +struct ns_common { + struct dentry *stashed; + const struct proc_ns_operations *ops; + unsigned int inum; + refcount_t count; +}; + +struct css_set; + +struct ucounts; + +struct cgroup_namespace { + struct ns_common ns; + struct user_namespace *user_ns; + struct ucounts *ucounts; + struct css_set *root_cset; +}; + +struct ethnl_reply_data { + struct net_device *dev; +}; + +struct ethtool_channels { + __u32 cmd; + __u32 max_rx; + __u32 max_tx; + __u32 max_other; + __u32 max_combined; + __u32 rx_count; + __u32 tx_count; + __u32 other_count; + __u32 combined_count; +}; + +struct channels_reply_data { + struct ethnl_reply_data base; + struct ethtool_channels channels; +}; + +struct char_device_struct { + struct char_device_struct *next; + unsigned int major; + unsigned int baseminor; + int minorct; + char name[64]; + struct cdev *cdev; +}; + +struct check_mount { + struct vfsmount *mnt; + unsigned int mounted; +}; + +struct cipher_alg { + unsigned int cia_min_keysize; + unsigned int cia_max_keysize; + int (*cia_setkey)(struct crypto_tfm *, const u8 *, unsigned int); + void (*cia_encrypt)(struct crypto_tfm *, u8 *, const u8 *); + void (*cia_decrypt)(struct crypto_tfm *, u8 *, const u8 *); +}; + +struct cipher_context { + char iv[20]; + char rec_seq[8]; +}; + +struct class_attribute { + struct attribute attr; + ssize_t (*show)(const struct class *, const struct class_attribute *, char *); + ssize_t (*store)(const struct class *, const struct class_attribute *, const char *, size_t); +}; + +struct class_attribute_string { + struct class_attribute attr; + char *str; +}; + +struct class_compat { + struct kobject *kobj; +}; + +struct klist_iter { + struct klist *i_klist; + struct klist_node *i_cur; +}; + +struct subsys_private; + +struct class_dev_iter { + struct klist_iter ki; + const struct device_type *type; + struct subsys_private *sp; +}; + +struct class_dir { + struct kobject kobj; + const struct class *class; +}; + +struct class_interface { + struct list_head node; + const struct class *class; + int (*add_dev)(struct device *); + void (*remove_dev)(struct device *); +}; + +struct clk_core; + +struct clk { + struct clk_core *core; + struct device *dev; + const char *dev_id; + const char *con_id; + long unsigned int min_rate; + long unsigned int max_rate; + unsigned int exclusive_count; + struct hlist_node clks_node; +}; + +struct clk_bulk_data { + const char *id; + struct clk *clk; +}; + +struct clk_bulk_devres { + struct clk_bulk_data *clks; + int num_clks; +}; + +struct clk_init_data; + +struct clk_hw { + struct clk_core *core; + struct clk *clk; + const struct clk_init_data *init; +}; + +struct clk_rate_request; + +struct clk_duty; + +struct clk_ops { + int (*prepare)(struct clk_hw *); + void (*unprepare)(struct clk_hw *); + int (*is_prepared)(struct clk_hw *); + void (*unprepare_unused)(struct clk_hw *); + int (*enable)(struct clk_hw *); + void (*disable)(struct clk_hw *); + int (*is_enabled)(struct clk_hw *); + void (*disable_unused)(struct clk_hw *); + int (*save_context)(struct clk_hw *); + void (*restore_context)(struct clk_hw *); + long unsigned int (*recalc_rate)(struct clk_hw *, long unsigned int); + long int (*round_rate)(struct clk_hw *, long unsigned int, long unsigned int *); + int (*determine_rate)(struct clk_hw *, struct clk_rate_request *); + int (*set_parent)(struct clk_hw *, u8); + u8 (*get_parent)(struct clk_hw *); + int (*set_rate)(struct clk_hw *, long unsigned int, long unsigned int); + int (*set_rate_and_parent)(struct clk_hw *, long unsigned int, long unsigned int, u8); + long unsigned int (*recalc_accuracy)(struct clk_hw *, long unsigned int); + int (*get_phase)(struct clk_hw *); + int (*set_phase)(struct clk_hw *, int); + int (*get_duty_cycle)(struct clk_hw *, struct clk_duty *); + int (*set_duty_cycle)(struct clk_hw *, struct clk_duty *); + int (*init)(struct clk_hw *); + void (*terminate)(struct clk_hw *); + void (*debug_init)(struct clk_hw *, struct dentry *); +}; + +struct clk_composite { + struct clk_hw hw; + struct clk_ops ops; + struct clk_hw *mux_hw; + struct clk_hw *rate_hw; + struct clk_hw *gate_hw; + const struct clk_ops *mux_ops; + const struct clk_ops *rate_ops; + const struct clk_ops *gate_ops; +}; + +struct clk_duty { + unsigned int num; + unsigned int den; +}; + +struct clk_parent_map; + +struct clk_core { + const char *name; + const struct clk_ops *ops; + struct clk_hw *hw; + struct module *owner; + struct device *dev; + struct hlist_node rpm_node; + struct device_node *of_node; + struct clk_core *parent; + struct clk_parent_map *parents; + u8 num_parents; + u8 new_parent_index; + long unsigned int rate; + long unsigned int req_rate; + long unsigned int new_rate; + struct clk_core *new_parent; + struct clk_core *new_child; + long unsigned int flags; + bool orphan; + bool rpm_enabled; + unsigned int enable_count; + unsigned int prepare_count; + unsigned int protect_count; + long unsigned int min_rate; + long unsigned int max_rate; + long unsigned int accuracy; + int phase; + struct clk_duty duty; + struct hlist_head children; + struct hlist_node child_node; + struct hlist_head clks; + unsigned int notifier_count; + struct kref ref; +}; + +struct clk_div_table { + unsigned int val; + unsigned int div; +}; + +struct clk_divider { + struct clk_hw hw; + void *reg; + u8 shift; + u8 width; + u16 flags; + const struct clk_div_table *table; + spinlock_t *lock; +}; + +struct clk_fixed_factor { + struct clk_hw hw; + unsigned int mult; + unsigned int div; + long unsigned int acc; + unsigned int flags; +}; + +struct clk_fixed_rate { + struct clk_hw hw; + long unsigned int fixed_rate; + long unsigned int fixed_accuracy; + long unsigned int flags; +}; + +struct clk_fractional_divider { + struct clk_hw hw; + void *reg; + u8 mshift; + u8 mwidth; + u8 nshift; + u8 nwidth; + u8 flags; + void (*approximation)(struct clk_hw *, long unsigned int, long unsigned int *, long unsigned int *, long unsigned int *); + spinlock_t *lock; +}; + +struct clk_gate { + struct clk_hw hw; + void *reg; + u8 bit_idx; + u8 flags; + spinlock_t *lock; +}; + +struct gpio_desc; + +struct clk_gpio { + struct clk_hw hw; + struct gpio_desc *gpiod; +}; + +struct regulator; + +struct clk_gated_fixed { + struct clk_gpio clk_gpio; + struct regulator *supply; + long unsigned int rate; +}; + +struct clk_hw_onecell_data { + unsigned int num; + struct clk_hw *hws[0]; +}; + +struct clk_parent_data; + +struct clk_init_data { + const char *name; + const struct clk_ops *ops; + const char * const *parent_names; + const struct clk_parent_data *parent_data; + const struct clk_hw **parent_hws; + u8 num_parents; + long unsigned int flags; +}; + +struct clk_lookup { + struct list_head node; + const char *dev_id; + const char *con_id; + struct clk *clk; + struct clk_hw *clk_hw; +}; + +struct clk_lookup_alloc { + struct clk_lookup cl; + char dev_id[24]; + char con_id[16]; +}; + +struct clk_multiplier { + struct clk_hw hw; + void *reg; + u8 shift; + u8 width; + u8 flags; + spinlock_t *lock; +}; + +struct clk_mux { + struct clk_hw hw; + void *reg; + const u32 *table; + u32 mask; + u8 shift; + u8 flags; + spinlock_t *lock; +}; + +struct srcu_usage {}; + +struct srcu_struct { + short int srcu_lock_nesting[2]; + u8 srcu_gp_running; + u8 srcu_gp_waiting; + long unsigned int srcu_idx; + long unsigned int srcu_idx_max; + struct swait_queue_head srcu_wq; + struct callback_head *srcu_cb_head; + struct callback_head **srcu_cb_tail; + struct work_struct srcu_work; +}; + +struct srcu_notifier_head { + struct mutex mutex; + struct srcu_usage srcuu; + struct srcu_struct srcu; + struct notifier_block *head; +}; + +struct clk_notifier { + struct clk *clk; + struct srcu_notifier_head notifier_head; + struct list_head node; +}; + +struct clk_notifier_data { + struct clk *clk; + long unsigned int old_rate; + long unsigned int new_rate; +}; + +struct clk_notifier_devres { + struct clk *clk; + struct notifier_block *nb; +}; + +struct clk_onecell_data { + struct clk **clks; + unsigned int clk_num; +}; + +struct clk_parent_data { + const struct clk_hw *hw; + const char *fw_name; + const char *name; + int index; +}; + +struct clk_parent_map { + const struct clk_hw *hw; + struct clk_core *core; + const char *fw_name; + const char *name; + int index; +}; + +struct clk_rate_request { + struct clk_core *core; + long unsigned int rate; + long unsigned int min_rate; + long unsigned int max_rate; + long unsigned int best_parent_rate; + struct clk_hw *best_parent_hw; +}; + +struct clock_read_data { + u64 epoch_ns; + u64 epoch_cyc; + u64 sched_clock_mask; + u64 (*read_sched_clock)(void); + u32 mult; + u32 shift; + long: 32; +}; + +struct clock_data { + seqcount_latch_t seq; + long: 32; + struct clock_read_data read_data[2]; + ktime_t wrap_kt; + long unsigned int rate; + u64 (*actual_read_sched_clock)(void); +}; + +struct clock_event_device { + void (*event_handler)(struct clock_event_device *); + int (*set_next_event)(long unsigned int, struct clock_event_device *); + int (*set_next_ktime)(ktime_t, struct clock_event_device *); + long: 32; + ktime_t next_event; + u64 max_delta_ns; + u64 min_delta_ns; + u32 mult; + u32 shift; + enum clock_event_state state_use_accessors; + unsigned int features; + long unsigned int retries; + int (*set_state_periodic)(struct clock_event_device *); + int (*set_state_oneshot)(struct clock_event_device *); + int (*set_state_oneshot_stopped)(struct clock_event_device *); + int (*set_state_shutdown)(struct clock_event_device *); + int (*tick_resume)(struct clock_event_device *); + void (*broadcast)(const struct cpumask *); + void (*suspend)(struct clock_event_device *); + void (*resume)(struct clock_event_device *); + long unsigned int min_delta_ticks; + long unsigned int max_delta_ticks; + const char *name; + int rating; + int irq; + int bound_on; + const struct cpumask *cpumask; + struct list_head list; + struct module *owner; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct clock_identity { + u8 id[8]; +}; + +struct clock_provider { + void (*clk_init_cb)(struct device_node *); + struct device_node *np; + struct list_head node; +}; + +struct clocksource_base; + +struct clocksource { + u64 (*read)(struct clocksource *); + long: 32; + u64 mask; + u32 mult; + u32 shift; + u64 max_idle_ns; + u32 maxadj; + u32 uncertainty_margin; + u64 max_cycles; + u64 max_raw_delta; + const char *name; + struct list_head list; + u32 freq_khz; + int rating; + enum clocksource_ids id; + enum vdso_clock_mode vdso_clock_mode; + long unsigned int flags; + struct clocksource_base *base; + int (*enable)(struct clocksource *); + void (*disable)(struct clocksource *); + void (*suspend)(struct clocksource *); + void (*resume)(struct clocksource *); + void (*mark_unstable)(struct clocksource *); + void (*tick_stable)(struct clocksource *); + struct module *owner; +}; + +struct clocksource_base { + enum clocksource_ids id; + u32 freq_khz; + u64 offset; + u32 numerator; + u32 denominator; +}; + +struct clone_args { + __u64 flags; + __u64 pidfd; + __u64 child_tid; + __u64 parent_tid; + __u64 exit_signal; + __u64 stack; + __u64 stack_size; + __u64 tls; + __u64 set_tid; + __u64 set_tid_size; + __u64 cgroup; +}; + +struct cmis_cdb_advert_rpl { + u8 inst_supported; + u8 read_write_len_ext; + u8 resv1; + u8 resv2; +}; + +struct cmis_cdb_fw_mng_features_rpl { + u8 resv1; + u8 resv2; + u8 start_cmd_payload_size; + u8 resv3; + u8 read_write_len_ext; + u8 write_mechanism; + u8 resv4; + u8 resv5; + __be16 max_duration_start; + __be16 resv6; + __be16 max_duration_write; + __be16 max_duration_complete; + __be16 resv7; +}; + +struct cmis_cdb_module_features_rpl { + u8 resv1[34]; + __be16 max_completion_time; +}; + +struct cmis_cdb_query_status_pl { + u16 response_delay; +}; + +struct cmis_cdb_query_status_rpl { + u8 length; + u8 status; +}; + +struct cmis_cdb_run_fw_image_pl { + u8 resv1; + u8 image_to_run; + u16 delay_to_reset; +}; + +struct cmis_cdb_start_fw_download_pl_h { + __be32 image_size; + __be32 resv1; +}; + +struct cmis_cdb_start_fw_download_pl { + union { + struct { + __be32 image_size; + __be32 resv1; + }; + struct cmis_cdb_start_fw_download_pl_h head; + }; + u8 vendor_data[112]; +}; + +struct cmis_cdb_write_fw_block_epl_pl { + u8 fw_block[2048]; +}; + +struct cmis_cdb_write_fw_block_lpl_pl { + __be32 block_address; + u8 fw_block[116]; +}; + +struct cmis_fw_update_fw_mng_features { + u8 start_cmd_payload_size; + u8 write_mechanism; + u16 max_duration_start; + u16 max_duration_write; + u16 max_duration_complete; +}; + +struct cmis_password_entry_pl { + __be32 password; +}; + +struct cmis_rev_rpl { + u8 rev; +}; + +struct cmis_wait_for_cond_rpl { + u8 state; +}; + +struct cmsghdr { + __kernel_size_t cmsg_len; + int cmsg_level; + int cmsg_type; +}; + +struct ethtool_coalesce { + __u32 cmd; + __u32 rx_coalesce_usecs; + __u32 rx_max_coalesced_frames; + __u32 rx_coalesce_usecs_irq; + __u32 rx_max_coalesced_frames_irq; + __u32 tx_coalesce_usecs; + __u32 tx_max_coalesced_frames; + __u32 tx_coalesce_usecs_irq; + __u32 tx_max_coalesced_frames_irq; + __u32 stats_block_coalesce_usecs; + __u32 use_adaptive_rx_coalesce; + __u32 use_adaptive_tx_coalesce; + __u32 pkt_rate_low; + __u32 rx_coalesce_usecs_low; + __u32 rx_max_coalesced_frames_low; + __u32 tx_coalesce_usecs_low; + __u32 tx_max_coalesced_frames_low; + __u32 pkt_rate_high; + __u32 rx_coalesce_usecs_high; + __u32 rx_max_coalesced_frames_high; + __u32 tx_coalesce_usecs_high; + __u32 tx_max_coalesced_frames_high; + __u32 rate_sample_interval; +}; + +struct kernel_ethtool_coalesce { + u8 use_cqe_mode_tx; + u8 use_cqe_mode_rx; + u32 tx_aggr_max_bytes; + u32 tx_aggr_max_frames; + u32 tx_aggr_time_usecs; +}; + +struct coalesce_reply_data { + struct ethnl_reply_data base; + struct ethtool_coalesce coalesce; + struct kernel_ethtool_coalesce kernel_coalesce; + u32 supported_params; +}; + +struct zone; + +struct compact_control { + struct list_head freepages[11]; + struct list_head migratepages; + unsigned int nr_freepages; + unsigned int nr_migratepages; + long unsigned int free_pfn; + long unsigned int migrate_pfn; + long unsigned int fast_start_pfn; + struct zone *zone; + long unsigned int total_migrate_scanned; + long unsigned int total_free_scanned; + short unsigned int fast_search_fail; + short int search_order; + const gfp_t gfp_mask; + int order; + int migratetype; + const unsigned int alloc_flags; + const int highest_zoneidx; + enum migrate_mode mode; + bool ignore_skip_hint; + bool no_set_skip_hint; + bool ignore_block_suitable; + bool direct_compaction; + bool proactive_compaction; + bool whole_zone; + bool contended; + bool finish_pageblock; + bool alloc_contig; +}; + +struct compat_group_filter { + union { + struct { + __u32 gf_interface_aux; + struct __kernel_sockaddr_storage gf_group_aux; + __u32 gf_fmode_aux; + __u32 gf_numsrc_aux; + struct __kernel_sockaddr_storage gf_slist[1]; + }; + struct { + __u32 gf_interface; + struct __kernel_sockaddr_storage gf_group; + __u32 gf_fmode; + __u32 gf_numsrc; + struct __kernel_sockaddr_storage gf_slist_flex[0]; + }; + }; +}; + +struct compat_group_req { + __u32 gr_interface; + struct __kernel_sockaddr_storage gr_group; +}; + +struct compat_group_source_req { + __u32 gsr_interface; + struct __kernel_sockaddr_storage gsr_group; + struct __kernel_sockaddr_storage gsr_source; +}; + +struct compat_if_settings { + unsigned int type; + unsigned int size; + compat_uptr_t ifs_ifsu; +}; + +struct compat_ifconf { + compat_int_t ifc_len; + compat_caddr_t ifcbuf; +}; + +struct compat_ifmap { + compat_ulong_t mem_start; + compat_ulong_t mem_end; + short unsigned int base_addr; + unsigned char irq; + unsigned char dma; + unsigned char port; +}; + +struct compat_ifreq { + union { + char ifrn_name[16]; + } ifr_ifrn; + union { + struct sockaddr ifru_addr; + struct sockaddr ifru_dstaddr; + struct sockaddr ifru_broadaddr; + struct sockaddr ifru_netmask; + struct sockaddr ifru_hwaddr; + short int ifru_flags; + compat_int_t ifru_ivalue; + compat_int_t ifru_mtu; + struct compat_ifmap ifru_map; + char ifru_slave[16]; + char ifru_newname[16]; + compat_caddr_t ifru_data; + struct compat_if_settings ifru_settings; + } ifr_ifru; +}; + +struct compat_iovec { + compat_uptr_t iov_base; + compat_size_t iov_len; +}; + +struct compat_msghdr { + compat_uptr_t msg_name; + compat_int_t msg_namelen; + compat_uptr_t msg_iov; + compat_size_t msg_iovlen; + compat_uptr_t msg_control; + compat_size_t msg_controllen; + compat_uint_t msg_flags; +}; + +struct compat_mmsghdr { + struct compat_msghdr msg_hdr; + compat_uint_t msg_len; +}; + +struct compat_sock_fprog { + u16 len; + compat_uptr_t filter; +}; + +struct component_ops; + +struct component { + struct list_head node; + struct aggregate_device *adev; + bool bound; + const struct component_ops *ops; + int subcomponent; + struct device *dev; +}; + +struct component_master_ops { + int (*bind)(struct device *); + void (*unbind)(struct device *); +}; + +struct component_match_array; + +struct component_match { + size_t alloc; + size_t num; + struct component_match_array *compare; +}; + +struct component_match_array { + void *data; + int (*compare)(struct device *, void *); + int (*compare_typed)(struct device *, int, void *); + void (*release)(struct device *, void *); + struct component *component; + bool duplicate; +}; + +struct component_ops { + int (*bind)(struct device *, struct device *, void *); + void (*unbind)(struct device *, struct device *, void *); +}; + +struct compress_alg { + int (*coa_compress)(struct crypto_tfm *, const u8 *, unsigned int, u8 *, unsigned int *); + int (*coa_decompress)(struct crypto_tfm *, const u8 *, unsigned int, u8 *, unsigned int *); +}; + +typedef int (*decompress_fn)(unsigned char *, long int, long int (*)(void *, long unsigned int), long int (*)(void *, long unsigned int), unsigned char *, long int *, void (*)(char *)); + +struct compress_format { + unsigned char magic[2]; + const char *name; + decompress_fn decompressor; +}; + +struct console; + +struct printk_buffers; + +struct nbcon_context { + struct console *console; + unsigned int spinwait_max_us; + enum nbcon_prio prio; + unsigned int allow_unsafe_takeover: 1; + unsigned int backlog: 1; + struct printk_buffers *pbufs; + long: 32; + u64 seq; +}; + +struct tty_driver; + +struct nbcon_write_context; + +struct console { + char name[16]; + void (*write)(struct console *, const char *, unsigned int); + int (*read)(struct console *, char *, unsigned int); + struct tty_driver * (*device)(struct console *, int *); + void (*unblank)(void); + int (*setup)(struct console *, char *); + int (*exit)(struct console *); + int (*match)(struct console *, char *, int, char *); + short int flags; + short int index; + int cflag; + uint ispeed; + uint ospeed; + long: 32; + u64 seq; + long unsigned int dropped; + void *data; + struct hlist_node node; + void (*write_atomic)(struct console *, struct nbcon_write_context *); + void (*write_thread)(struct console *, struct nbcon_write_context *); + void (*device_lock)(struct console *, long unsigned int *); + void (*device_unlock)(struct console *, long unsigned int); + atomic_t nbcon_state; + atomic_long_t nbcon_seq; + struct nbcon_context nbcon_device_ctxt; + atomic_long_t nbcon_prev_seq; + struct printk_buffers *pbufs; + struct task_struct *kthread; + struct rcuwait rcuwait; + struct irq_work irq_work; +}; + +struct console_cmdline { + char name[16]; + int index; + char devname[32]; + bool user_specified; + char *options; +}; + +struct console_flush_type { + bool nbcon_atomic; + bool nbcon_offload; + bool legacy_direct; + bool legacy_offload; +}; + +struct constant_table { + const char *name; + int value; +}; + +struct container_dev { + struct device dev; + int (*offline)(struct container_dev *); + long: 32; +}; + +struct contig_page_info { + long unsigned int free_pages; + long unsigned int free_blocks_total; + long unsigned int free_blocks_suitable; +}; + +struct core_thread { + struct task_struct *task; + struct core_thread *next; +}; + +struct core_state { + atomic_t nr_threads; + struct core_thread dumper; + struct completion startup; +}; + +struct cpio_data { + void *data; + size_t size; + char name[18]; +}; + +struct cpu { + int node_id; + int hotpluggable; + struct device dev; +}; + +struct device_attribute { + struct attribute attr; + ssize_t (*show)(struct device *, struct device_attribute *, char *); + ssize_t (*store)(struct device *, struct device_attribute *, const char *, size_t); +}; + +struct cpu_attr { + struct device_attribute attr; + const struct cpumask * const map; +}; + +struct cpu_cache_fns { + void (*flush_icache_all)(void); + void (*flush_kern_all)(void); + void (*flush_kern_louis)(void); + void (*flush_user_all)(void); + void (*flush_user_range)(long unsigned int, long unsigned int, unsigned int); + void (*coherent_kern_range)(long unsigned int, long unsigned int); + int (*coherent_user_range)(long unsigned int, long unsigned int); + void (*flush_kern_dcache_area)(void *, size_t); + void (*dma_map_area)(const void *, size_t, int); + void (*dma_unmap_area)(const void *, size_t, int); + void (*dma_flush_range)(const void *, const void *); +}; + +struct cpu_cacheinfo { + struct cacheinfo *info_list; + unsigned int per_cpu_data_slice_size; + unsigned int num_levels; + unsigned int num_leaves; + bool cpu_map_populated; + bool early_ci_levels; +}; + +struct cpu_context_save { + __u32 r4; + __u32 r5; + __u32 r6; + __u32 r7; + __u32 r8; + __u32 r9; + __u32 sl; + __u32 fp; + __u32 sp; + __u32 pc; + __u32 extra[2]; +}; + +struct folio_batch { + unsigned char nr; + unsigned char i; + bool percpu_pvec_drained; + struct folio *folios[31]; +}; + +struct cpu_fbatches { + local_lock_t lock; + struct folio_batch lru_add; + struct folio_batch lru_deactivate_file; + struct folio_batch lru_deactivate; + struct folio_batch lru_lazyfree; + local_lock_t lock_irq; + struct folio_batch lru_move_tail; +}; + +typedef int (*cpu_stop_fn_t)(void *); + +struct cpu_stop_work { + struct work_struct work; + cpu_stop_fn_t fn; + void *arg; +}; + +struct cpu_tlb_fns { + void (*flush_user_range)(long unsigned int, long unsigned int, struct vm_area_struct *); + void (*flush_kern_range)(long unsigned int, long unsigned int); + long unsigned int tlb_flags; +}; + +struct cpu_user_fns { + void (*cpu_clear_user_highpage)(struct page *, long unsigned int); + void (*cpu_copy_user_highpage)(struct page *, struct page *, long unsigned int, struct vm_area_struct *); +}; + +struct cpu_vfs_cap_data { + __u32 magic_etc; + kuid_t rootid; + kernel_cap_t permitted; + kernel_cap_t inheritable; +}; + +struct cpufreq_cpuinfo { + unsigned int max_freq; + unsigned int min_freq; + unsigned int transition_latency; +}; + +struct cpufreq_frequency_table { + unsigned int flags; + unsigned int driver_data; + unsigned int frequency; +}; + +struct cpufreq_policy; + +struct cpufreq_governor { + char name[16]; + int (*init)(struct cpufreq_policy *); + void (*exit)(struct cpufreq_policy *); + int (*start)(struct cpufreq_policy *); + void (*stop)(struct cpufreq_policy *); + void (*limits)(struct cpufreq_policy *); + ssize_t (*show_setspeed)(struct cpufreq_policy *, char *); + int (*store_setspeed)(struct cpufreq_policy *, unsigned int); + struct list_head governor_list; + struct module *owner; + u8 flags; +}; + +typedef struct cpumask cpumask_var_t[1]; + +struct plist_head { + struct list_head node_list; +}; + +struct pm_qos_constraints { + struct plist_head list; + s32 target_value; + s32 default_value; + s32 no_constraint_value; + enum pm_qos_type type; + struct blocking_notifier_head *notifiers; +}; + +struct freq_constraints { + struct pm_qos_constraints min_freq; + struct blocking_notifier_head min_freq_notifiers; + struct pm_qos_constraints max_freq; + struct blocking_notifier_head max_freq_notifiers; +}; + +struct cpufreq_stats; + +struct thermal_cooling_device; + +struct freq_qos_request; + +struct cpufreq_policy { + cpumask_var_t cpus; + cpumask_var_t related_cpus; + cpumask_var_t real_cpus; + unsigned int shared_type; + unsigned int cpu; + struct clk *clk; + struct cpufreq_cpuinfo cpuinfo; + unsigned int min; + unsigned int max; + unsigned int cur; + unsigned int suspend_freq; + unsigned int policy; + unsigned int last_policy; + struct cpufreq_governor *governor; + void *governor_data; + char last_governor[16]; + struct work_struct update; + struct freq_constraints constraints; + struct freq_qos_request *min_freq_req; + struct freq_qos_request *max_freq_req; + struct cpufreq_frequency_table *freq_table; + enum cpufreq_table_sorting freq_table_sorted; + struct list_head policy_list; + struct kobject kobj; + struct completion kobj_unregister; + struct rw_semaphore rwsem; + bool fast_switch_possible; + bool fast_switch_enabled; + bool strict_target; + bool efficiencies_available; + unsigned int transition_delay_us; + bool dvfs_possible_from_any_cpu; + bool boost_enabled; + unsigned int cached_target_freq; + unsigned int cached_resolved_idx; + bool transition_ongoing; + spinlock_t transition_lock; + wait_queue_head_t transition_wait; + struct task_struct *transition_task; + struct cpufreq_stats *stats; + void *driver_data; + struct thermal_cooling_device *cdev; + struct notifier_block nb_min; + struct notifier_block nb_max; +}; + +struct cpuhp_cpu_state { + enum cpuhp_state state; + enum cpuhp_state target; + enum cpuhp_state fail; +}; + +struct cpuhp_step { + const char *name; + union { + int (*single)(unsigned int); + int (*multi)(unsigned int, struct hlist_node *); + } startup; + union { + int (*single)(unsigned int); + int (*multi)(unsigned int, struct hlist_node *); + } teardown; + struct hlist_head list; + bool cant_stop; + bool multi_instance; +}; + +struct cpuidle_state_usage { + long long unsigned int disable; + long long unsigned int usage; + u64 time_ns; + long long unsigned int above; + long long unsigned int below; + long long unsigned int rejected; +}; + +struct cpuidle_state_kobj; + +struct cpuidle_driver_kobj; + +struct cpuidle_device_kobj; + +struct cpuidle_device { + unsigned int registered: 1; + unsigned int enabled: 1; + unsigned int poll_time_limit: 1; + unsigned int cpu; + ktime_t next_hrtimer; + int last_state_idx; + long: 32; + u64 last_residency_ns; + u64 poll_limit_ns; + u64 forced_idle_latency_limit_ns; + struct cpuidle_state_usage states_usage[10]; + struct cpuidle_state_kobj *kobjs[10]; + struct cpuidle_driver_kobj *kobj_driver; + struct cpuidle_device_kobj *kobj_dev; + struct list_head device_list; +}; + +struct cpuidle_driver; + +struct cpuidle_state { + char name[16]; + char desc[32]; + s64 exit_latency_ns; + s64 target_residency_ns; + unsigned int flags; + unsigned int exit_latency; + int power_usage; + unsigned int target_residency; + int (*enter)(struct cpuidle_device *, struct cpuidle_driver *, int); + void (*enter_dead)(struct cpuidle_device *, int); + int (*enter_s2idle)(struct cpuidle_device *, struct cpuidle_driver *, int); + long: 32; +}; + +struct cpuidle_driver { + const char *name; + struct module *owner; + unsigned int bctimer: 1; + long: 32; + struct cpuidle_state states[10]; + int state_count; + int safe_state_index; + struct cpumask *cpumask; + const char *governor; +}; + +struct cpuinfo_arm { + u32 cpuid; +}; + +struct group_info; + +struct cred { + atomic_long_t usage; + kuid_t uid; + kgid_t gid; + kuid_t suid; + kgid_t sgid; + kuid_t euid; + kgid_t egid; + kuid_t fsuid; + kgid_t fsgid; + unsigned int securebits; + kernel_cap_t cap_inheritable; + kernel_cap_t cap_permitted; + kernel_cap_t cap_effective; + kernel_cap_t cap_bset; + kernel_cap_t cap_ambient; + struct user_struct *user; + struct user_namespace *user_ns; + struct ucounts *ucounts; + struct group_info *group_info; + union { + int non_rcu; + struct callback_head rcu; + }; +}; + +struct crng { + u8 key[32]; + long unsigned int generation; + local_lock_t lock; +}; + +struct crypto_alg; + +struct crypto_tfm { + refcount_t refcnt; + u32 crt_flags; + int node; + void (*exit)(struct crypto_tfm *); + struct crypto_alg *__crt_alg; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + void *__crt_ctx[0]; +}; + +struct crypto_aead { + unsigned int authsize; + unsigned int reqsize; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + struct crypto_tfm base; +}; + +struct crypto_type; + +struct crypto_alg { + struct list_head cra_list; + struct list_head cra_users; + u32 cra_flags; + unsigned int cra_blocksize; + unsigned int cra_ctxsize; + unsigned int cra_alignmask; + int cra_priority; + refcount_t cra_refcnt; + char cra_name[128]; + char cra_driver_name[128]; + const struct crypto_type *cra_type; + union { + struct cipher_alg cipher; + struct compress_alg compress; + } cra_u; + int (*cra_init)(struct crypto_tfm *); + void (*cra_exit)(struct crypto_tfm *); + void (*cra_destroy)(struct crypto_alg *); + struct module *cra_module; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct crypto_wait { + struct completion completion; + int err; +}; + +struct css_set__safe_rcu { + struct cgroup *dfl_cgrp; +}; + +struct csum_state { + __wsum csum; + size_t off; +}; + +struct ctl_table; + +struct ctl_table_root; + +struct ctl_table_set; + +struct ctl_dir; + +struct ctl_node; + +struct ctl_table_header { + union { + struct { + const struct ctl_table *ctl_table; + int ctl_table_size; + int used; + int count; + int nreg; + }; + struct callback_head rcu; + }; + struct completion *unregistering; + const struct ctl_table *ctl_table_arg; + struct ctl_table_root *root; + struct ctl_table_set *set; + struct ctl_dir *parent; + struct ctl_node *node; + struct hlist_head inodes; + enum { + SYSCTL_TABLE_TYPE_DEFAULT = 0, + SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY = 1, + } type; +}; + +struct ctl_dir { + struct ctl_table_header header; + struct rb_root root; +}; + +struct ctl_node { + struct rb_node node; + struct ctl_table_header *header; +}; + +typedef int proc_handler(const struct ctl_table *, int, void *, size_t *, loff_t *); + +struct ctl_table_poll; + +struct ctl_table { + const char *procname; + void *data; + int maxlen; + umode_t mode; + proc_handler *proc_handler; + struct ctl_table_poll *poll; + void *extra1; + void *extra2; +}; + +struct ctl_table_poll { + atomic_t event; + wait_queue_head_t wait; +}; + +struct ctl_table_set { + int (*is_seen)(struct ctl_table_set *); + struct ctl_dir dir; +}; + +struct ctl_table_root { + struct ctl_table_set default_set; + struct ctl_table_set * (*lookup)(struct ctl_table_root *); + void (*set_ownership)(struct ctl_table_header *, kuid_t *, kgid_t *); + int (*permissions)(struct ctl_table_header *, const struct ctl_table *); +}; + +struct netlink_policy_dump_state; + +struct genl_family; + +struct genl_op_iter; + +struct ctrl_dump_policy_ctx { + struct netlink_policy_dump_state *state; + const struct genl_family *rt; + struct genl_op_iter *op_iter; + u32 op; + u16 fam_id; + u8 dump_map: 1; + u8 single_op: 1; +}; + +struct ctx_switch_entry { + struct trace_entry ent; + unsigned int prev_pid; + unsigned int next_pid; + unsigned int next_cpu; + unsigned char prev_prio; + unsigned char prev_state; + unsigned char next_prio; + unsigned char next_state; +}; + +struct cyclecounter { + u64 (*read)(const struct cyclecounter *); + long: 32; + u64 mask; + u32 mult; + u32 shift; +}; + +struct debug_info { + struct perf_event *hbp[32]; +}; + +struct debug_reply_data { + struct ethnl_reply_data base; + u32 msg_mask; +}; + +struct decode_header; + +typedef enum probes_insn probes_custom_decode_t(probes_opcode_t, struct arch_probes_insn *, const struct decode_header *); + +union decode_action { + probes_insn_handler_t *handler; + probes_custom_decode_t *decoder; +}; + +typedef enum probes_insn probes_check_t(probes_opcode_t, struct arch_probes_insn *, const struct decode_header *); + +struct decode_checker { + probes_check_t *checker; +}; + +union decode_item { + u32 bits; + const union decode_item *table; + int action; +}; + +struct decode_header { + union decode_item type_regs; + union decode_item mask; + union decode_item value; +}; + +struct decode_custom { + struct decode_header header; + union decode_item decoder; +}; + +struct decode_emulate { + struct decode_header header; + union decode_item handler; +}; + +struct decode_simulate { + struct decode_header header; + union decode_item handler; +}; + +struct decode_table { + struct decode_header header; + union decode_item table; +}; + +struct delay_timer { + long unsigned int (*read_current_timer)(void); + long unsigned int freq; +}; + +struct delayed_call { + void (*fn)(void *); + void *arg; +}; + +struct delayed_uprobe { + struct list_head list; + struct uprobe *uprobe; + struct mm_struct *mm; +}; + +struct hlist_bl_node { + struct hlist_bl_node *next; + struct hlist_bl_node **pprev; +}; + +struct qstr { + union { + struct { + u32 hash; + u32 len; + }; + u64 hash_len; + }; + const unsigned char *name; + long: 32; +}; + +union shortname_store { + unsigned char string[44]; + long unsigned int words[11]; +}; + +struct lockref { + union { + struct { + spinlock_t lock; + int count; + }; + }; +}; + +struct dentry_operations; + +struct super_block; + +struct dentry { + unsigned int d_flags; + seqcount_spinlock_t d_seq; + struct hlist_bl_node d_hash; + struct dentry *d_parent; + long: 32; + struct qstr d_name; + struct inode *d_inode; + union shortname_store d_shortname; + const struct dentry_operations *d_op; + struct super_block *d_sb; + long unsigned int d_time; + void *d_fsdata; + struct lockref d_lockref; + union { + struct list_head d_lru; + wait_queue_head_t *d_wait; + }; + struct hlist_node d_sib; + struct hlist_head d_children; + union { + struct hlist_node d_alias; + struct hlist_bl_node d_in_lookup_hash; + struct callback_head d_rcu; + } d_u; +}; + +struct dentry__safe_trusted { + struct inode *d_inode; +}; + +struct dentry_operations { + int (*d_revalidate)(struct inode *, const struct qstr *, struct dentry *, unsigned int); + int (*d_weak_revalidate)(struct dentry *, unsigned int); + int (*d_hash)(const struct dentry *, struct qstr *); + int (*d_compare)(const struct dentry *, unsigned int, const char *, const struct qstr *); + int (*d_delete)(const struct dentry *); + int (*d_init)(struct dentry *); + void (*d_release)(struct dentry *); + void (*d_prune)(struct dentry *); + void (*d_iput)(struct dentry *, struct inode *); + char * (*d_dname)(struct dentry *, char *, int); + struct vfsmount * (*d_automount)(struct path *); + int (*d_manage)(const struct path *, bool); + struct dentry * (*d_real)(struct dentry *, enum d_real_type); + bool (*d_unalias_trylock)(const struct dentry *); + void (*d_unalias_unlock)(const struct dentry *); + long: 32; +}; + +struct slab; + +struct detached_freelist { + struct slab *slab; + void *tail; + void *freelist; + int cnt; + struct kmem_cache *s; +}; + +struct dev_ext_attribute { + struct device_attribute attr; + void *var; +}; + +struct dev_ifalias { + struct callback_head rcuhead; + char ifalias[0]; +}; + +struct dev_kfree_skb_cb { + enum skb_drop_reason reason; +}; + +struct vmem_altmap { + long unsigned int base_pfn; + const long unsigned int end_pfn; + const long unsigned int reserve; + long unsigned int free; + long unsigned int align; + long unsigned int alloc; + bool inaccessible; +}; + +struct range { + u64 start; + u64 end; +}; + +struct dev_pagemap_ops; + +struct dev_pagemap { + struct vmem_altmap altmap; + struct percpu_ref ref; + struct completion done; + enum memory_type type; + unsigned int flags; + long unsigned int vmemmap_shift; + const struct dev_pagemap_ops *ops; + void *owner; + int nr_range; + union { + struct range range; + struct { + struct {} __empty_ranges; + struct range ranges[0]; + }; + }; +}; + +struct vm_fault; + +struct dev_pagemap_ops { + void (*page_free)(struct page *); + vm_fault_t (*migrate_to_ram)(struct vm_fault *); + int (*memory_failure)(struct dev_pagemap *, long unsigned int, long unsigned int, int); +}; + +struct dev_pm_ops { + int (*prepare)(struct device *); + void (*complete)(struct device *); + int (*suspend)(struct device *); + int (*resume)(struct device *); + int (*freeze)(struct device *); + int (*thaw)(struct device *); + int (*poweroff)(struct device *); + int (*restore)(struct device *); + int (*suspend_late)(struct device *); + int (*resume_early)(struct device *); + int (*freeze_late)(struct device *); + int (*thaw_early)(struct device *); + int (*poweroff_late)(struct device *); + int (*restore_early)(struct device *); + int (*suspend_noirq)(struct device *); + int (*resume_noirq)(struct device *); + int (*freeze_noirq)(struct device *); + int (*thaw_noirq)(struct device *); + int (*poweroff_noirq)(struct device *); + int (*restore_noirq)(struct device *); + int (*runtime_suspend)(struct device *); + int (*runtime_resume)(struct device *); + int (*runtime_idle)(struct device *); +}; + +struct dev_pm_domain { + struct dev_pm_ops ops; + int (*start)(struct device *); + void (*detach)(struct device *, bool); + int (*activate)(struct device *); + void (*sync)(struct device *); + void (*dismiss)(struct device *); + int (*set_performance_state)(struct device *, unsigned int); +}; + +struct pm_qos_flags { + struct list_head list; + s32 effective_flags; +}; + +struct dev_pm_qos_request; + +struct dev_pm_qos { + struct pm_qos_constraints resume_latency; + struct pm_qos_constraints latency_tolerance; + struct freq_constraints freq; + struct pm_qos_flags flags; + struct dev_pm_qos_request *resume_latency_req; + struct dev_pm_qos_request *latency_tolerance_req; + struct dev_pm_qos_request *flags_req; +}; + +struct plist_node { + int prio; + struct list_head prio_list; + struct list_head node_list; +}; + +struct pm_qos_flags_request { + struct list_head node; + s32 flags; +}; + +struct freq_qos_request { + enum freq_qos_req_type type; + struct plist_node pnode; + struct freq_constraints *qos; +}; + +struct dev_pm_qos_request { + enum dev_pm_qos_req_type type; + union { + struct plist_node pnode; + struct pm_qos_flags_request flr; + struct freq_qos_request freq; + } data; + struct device *dev; +}; + +struct device_attach_data { + struct device *dev; + bool check_async; + bool want_async; + bool have_async; +}; + +union device_attr_group_devres { + const struct attribute_group *group; + const struct attribute_group **groups; +}; + +struct of_device_id; + +struct driver_private; + +struct device_driver { + const char *name; + const struct bus_type *bus; + struct module *owner; + const char *mod_name; + bool suppress_bind_attrs; + enum probe_type probe_type; + const struct of_device_id *of_match_table; + const struct acpi_device_id *acpi_match_table; + int (*probe)(struct device *); + void (*sync_state)(struct device *); + int (*remove)(struct device *); + void (*shutdown)(struct device *); + int (*suspend)(struct device *, pm_message_t); + int (*resume)(struct device *); + const struct attribute_group **groups; + const struct attribute_group **dev_groups; + const struct dev_pm_ops *pm; + void (*coredump)(struct device *); + struct driver_private *p; +}; + +struct device_link { + struct device *supplier; + struct list_head s_node; + struct device *consumer; + struct list_head c_node; + struct device link_dev; + enum device_link_state status; + u32 flags; + refcount_t rpm_active; + struct kref kref; + struct work_struct rm_work; + bool supplier_preactivated; + long: 32; +}; + +struct fwnode_operations; + +struct fwnode_handle { + struct fwnode_handle *secondary; + const struct fwnode_operations *ops; + struct device *dev; + struct list_head suppliers; + struct list_head consumers; + u8 flags; +}; + +struct property; + +struct device_node { + const char *name; + phandle phandle; + const char *full_name; + struct fwnode_handle fwnode; + struct property *properties; + struct property *deadprops; + struct device_node *parent; + struct device_node *child; + struct device_node *sibling; + long unsigned int _flags; + void *data; +}; + +struct device_physical_location { + enum device_physical_location_panel panel; + enum device_physical_location_vertical_position vertical_position; + enum device_physical_location_horizontal_position horizontal_position; + bool dock; + bool lid; +}; + +struct klist_node { + void *n_klist; + struct list_head n_node; + struct kref n_ref; +}; + +struct device_private { + struct klist klist_children; + struct klist_node knode_parent; + struct klist_node knode_driver; + struct klist_node knode_bus; + struct klist_node knode_class; + struct list_head deferred_probe; + const struct device_driver *async_driver; + char *deferred_probe_reason; + struct device *device; + u8 dead: 1; +}; + +struct device_type { + const char *name; + const struct attribute_group **groups; + int (*uevent)(const struct device *, struct kobj_uevent_env *); + char * (*devnode)(const struct device *, umode_t *, kuid_t *, kgid_t *); + void (*release)(struct device *); + const struct dev_pm_ops *pm; +}; + +struct devlink; + +struct ib_device; + +struct netdev_phys_item_id { + unsigned char id[32]; + unsigned char id_len; +}; + +struct devlink_port_phys_attrs { + u32 port_number; + u32 split_subport_number; +}; + +struct devlink_port_pci_pf_attrs { + u32 controller; + u16 pf; + u8 external: 1; +}; + +struct devlink_port_pci_vf_attrs { + u32 controller; + u16 pf; + u16 vf; + u8 external: 1; +}; + +struct devlink_port_pci_sf_attrs { + u32 controller; + u32 sf; + u16 pf; + u8 external: 1; +}; + +struct devlink_port_attrs { + u8 split: 1; + u8 splittable: 1; + u32 lanes; + enum devlink_port_flavour flavour; + struct netdev_phys_item_id switch_id; + union { + struct devlink_port_phys_attrs phys; + struct devlink_port_pci_pf_attrs pci_pf; + struct devlink_port_pci_vf_attrs pci_vf; + struct devlink_port_pci_sf_attrs pci_sf; + }; +}; + +struct devlink_linecard; + +struct devlink_port_ops; + +struct devlink_rate; + +struct devlink_port { + struct list_head list; + struct list_head region_list; + struct devlink *devlink; + const struct devlink_port_ops *ops; + unsigned int index; + spinlock_t type_lock; + enum devlink_port_type type; + enum devlink_port_type desired_type; + union { + struct { + struct net_device *netdev; + int ifindex; + char ifname[16]; + } type_eth; + struct { + struct ib_device *ibdev; + } type_ib; + }; + struct devlink_port_attrs attrs; + u8 attrs_set: 1; + u8 switch_port: 1; + u8 registered: 1; + u8 initialized: 1; + struct delayed_work type_warn_dw; + struct list_head reporter_list; + struct devlink_rate *devlink_rate; + struct devlink_linecard *linecard; + u32 rel_index; +}; + +struct devlink_port_ops { + int (*port_split)(struct devlink *, struct devlink_port *, unsigned int, struct netlink_ext_ack *); + int (*port_unsplit)(struct devlink *, struct devlink_port *, struct netlink_ext_ack *); + int (*port_type_set)(struct devlink_port *, enum devlink_port_type); + int (*port_del)(struct devlink *, struct devlink_port *, struct netlink_ext_ack *); + int (*port_fn_hw_addr_get)(struct devlink_port *, u8 *, int *, struct netlink_ext_ack *); + int (*port_fn_hw_addr_set)(struct devlink_port *, const u8 *, int, struct netlink_ext_ack *); + int (*port_fn_roce_get)(struct devlink_port *, bool *, struct netlink_ext_ack *); + int (*port_fn_roce_set)(struct devlink_port *, bool, struct netlink_ext_ack *); + int (*port_fn_migratable_get)(struct devlink_port *, bool *, struct netlink_ext_ack *); + int (*port_fn_migratable_set)(struct devlink_port *, bool, struct netlink_ext_ack *); + int (*port_fn_state_get)(struct devlink_port *, enum devlink_port_fn_state *, enum devlink_port_fn_opstate *, struct netlink_ext_ack *); + int (*port_fn_state_set)(struct devlink_port *, enum devlink_port_fn_state, struct netlink_ext_ack *); + int (*port_fn_ipsec_crypto_get)(struct devlink_port *, bool *, struct netlink_ext_ack *); + int (*port_fn_ipsec_crypto_set)(struct devlink_port *, bool, struct netlink_ext_ack *); + int (*port_fn_ipsec_packet_get)(struct devlink_port *, bool *, struct netlink_ext_ack *); + int (*port_fn_ipsec_packet_set)(struct devlink_port *, bool, struct netlink_ext_ack *); + int (*port_fn_max_io_eqs_get)(struct devlink_port *, u32 *, struct netlink_ext_ack *); + int (*port_fn_max_io_eqs_set)(struct devlink_port *, u32, struct netlink_ext_ack *); +}; + +struct devlink_rate { + struct list_head list; + enum devlink_rate_type type; + struct devlink *devlink; + void *priv; + long: 32; + u64 tx_share; + u64 tx_max; + struct devlink_rate *parent; + union { + struct devlink_port *devlink_port; + struct { + char *name; + refcount_t refcnt; + }; + }; + u32 tx_priority; + u32 tx_weight; + long: 32; +}; + +struct devm_clk_state { + struct clk *clk; + void (*exit)(struct clk *); +}; + +typedef void (*dr_release_t)(struct device *, void *); + +struct devres_node { + struct list_head entry; + dr_release_t release; + const char *name; + size_t size; +}; + +struct devres { + struct devres_node node; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + u8 data[0]; +}; + +struct devres_group { + struct devres_node node[2]; + void *id; + int color; +}; + +struct die_args { + struct pt_regs *regs; + const char *str; + long int err; + int trapnr; + int signr; +}; + +struct dim_stats { + int ppms; + int bpms; + int epms; + int cpms; + int cpe_ratio; +}; + +struct dim_sample { + ktime_t time; + u32 pkt_ctr; + u32 byte_ctr; + u16 event_ctr; + u32 comp_ctr; +}; + +struct dim { + u8 state; + struct dim_stats prev_stats; + struct dim_sample start_sample; + struct dim_sample measuring_sample; + struct work_struct work; + void *priv; + u8 profile_ix; + u8 mode; + u8 tune_state; + u8 steps_right; + u8 steps_left; + u8 tired; + long: 32; +}; + +struct dim_cq_moder { + u16 usec; + u16 pkts; + u16 comps; + u8 cq_period_mode; + struct callback_head rcu; +}; + +struct dim_irq_moder { + u8 profile_flags; + u8 coal_flags; + u8 dim_rx_mode; + u8 dim_tx_mode; + struct dim_cq_moder *rx_profile; + struct dim_cq_moder *tx_profile; + void (*rx_dim_work)(struct work_struct *); + void (*tx_dim_work)(struct work_struct *); +}; + +struct dir_context; + +typedef bool (*filldir_t)(struct dir_context *, const char *, int, loff_t, u64, unsigned int); + +struct dir_context { + filldir_t actor; + long: 32; + loff_t pos; +}; + +struct dirty_throttle_control { + struct bdi_writeback *wb; + struct fprop_local_percpu *wb_completions; + long unsigned int avail; + long unsigned int dirty; + long unsigned int thresh; + long unsigned int bg_thresh; + long unsigned int wb_dirty; + long unsigned int wb_thresh; + long unsigned int wb_bg_thresh; + long unsigned int pos_ratio; + bool freerun; + bool dirty_exceeded; +}; + +struct dl_bw { + raw_spinlock_t lock; + u64 bw; + u64 total_bw; +}; + +struct dl_rq { + struct rb_root_cached root; + unsigned int dl_nr_running; + long: 32; + struct dl_bw dl_bw; + u64 running_bw; + u64 this_bw; + u64 extra_bw; + u64 max_bw; + u64 bw_ratio; +}; + +struct dma_block { + struct dma_block *next_block; + dma_addr_t dma; +}; + +struct dma_coherent_mem { + void *virt_base; + dma_addr_t device_base; + long unsigned int pfn_base; + int size; + long unsigned int *bitmap; + spinlock_t spinlock; + bool use_dev_dma_pfn_offset; +}; + +struct dma_devres { + size_t size; + void *vaddr; + dma_addr_t dma_handle; + long unsigned int attrs; +}; + +struct sg_table; + +struct dma_map_ops { + void * (*alloc)(struct device *, size_t, dma_addr_t *, gfp_t, long unsigned int); + void (*free)(struct device *, size_t, void *, dma_addr_t, long unsigned int); + struct page * (*alloc_pages_op)(struct device *, size_t, dma_addr_t *, enum dma_data_direction, gfp_t); + void (*free_pages)(struct device *, size_t, struct page *, dma_addr_t, enum dma_data_direction); + int (*mmap)(struct device *, struct vm_area_struct *, void *, dma_addr_t, size_t, long unsigned int); + int (*get_sgtable)(struct device *, struct sg_table *, void *, dma_addr_t, size_t, long unsigned int); + dma_addr_t (*map_page)(struct device *, struct page *, long unsigned int, size_t, enum dma_data_direction, long unsigned int); + void (*unmap_page)(struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + int (*map_sg)(struct device *, struct scatterlist *, int, enum dma_data_direction, long unsigned int); + void (*unmap_sg)(struct device *, struct scatterlist *, int, enum dma_data_direction, long unsigned int); + dma_addr_t (*map_resource)(struct device *, phys_addr_t, size_t, enum dma_data_direction, long unsigned int); + void (*unmap_resource)(struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + void (*sync_single_for_cpu)(struct device *, dma_addr_t, size_t, enum dma_data_direction); + void (*sync_single_for_device)(struct device *, dma_addr_t, size_t, enum dma_data_direction); + void (*sync_sg_for_cpu)(struct device *, struct scatterlist *, int, enum dma_data_direction); + void (*sync_sg_for_device)(struct device *, struct scatterlist *, int, enum dma_data_direction); + void (*cache_sync)(struct device *, void *, size_t, enum dma_data_direction); + int (*dma_supported)(struct device *, u64); + u64 (*get_required_mask)(struct device *); + size_t (*max_mapping_size)(struct device *); + size_t (*opt_mapping_size)(void); + long unsigned int (*get_merge_boundary)(struct device *); +}; + +struct dma_page { + struct list_head page_list; + void *vaddr; + dma_addr_t dma; +}; + +struct dma_pool { + struct list_head page_list; + spinlock_t lock; + struct dma_block *next_block; + size_t nr_blocks; + size_t nr_active; + size_t nr_pages; + struct device *dev; + unsigned int size; + unsigned int allocation; + unsigned int boundary; + char name[32]; + struct list_head pools; +}; + +struct dmabuf_cmsg { + __u64 frag_offset; + __u32 frag_size; + __u32 frag_token; + __u32 dmabuf_id; + __u32 flags; +}; + +struct dmabuf_token { + __u32 token_start; + __u32 token_count; +}; + +struct kqid { + union { + kuid_t uid; + kgid_t gid; + kprojid_t projid; + }; + enum quota_type type; +}; + +struct mem_dqblk { + qsize_t dqb_bhardlimit; + qsize_t dqb_bsoftlimit; + qsize_t dqb_curspace; + qsize_t dqb_rsvspace; + qsize_t dqb_ihardlimit; + qsize_t dqb_isoftlimit; + qsize_t dqb_curinodes; + time64_t dqb_btime; + time64_t dqb_itime; +}; + +struct dquot { + struct hlist_node dq_hash; + struct list_head dq_inuse; + struct list_head dq_free; + struct list_head dq_dirty; + struct mutex dq_lock; + spinlock_t dq_dqb_lock; + atomic_t dq_count; + struct super_block *dq_sb; + struct kqid dq_id; + long: 32; + loff_t dq_off; + long unsigned int dq_flags; + long: 32; + struct mem_dqblk dq_dqb; +}; + +struct dquot_operations { + int (*write_dquot)(struct dquot *); + struct dquot * (*alloc_dquot)(struct super_block *, int); + void (*destroy_dquot)(struct dquot *); + int (*acquire_dquot)(struct dquot *); + int (*release_dquot)(struct dquot *); + int (*mark_dirty)(struct dquot *); + int (*write_info)(struct super_block *, int); + qsize_t * (*get_reserved_space)(struct inode *); + int (*get_projid)(struct inode *, kprojid_t *); + int (*get_inode_usage)(struct inode *, qsize_t *); + int (*get_next_id)(struct super_block *, struct kqid *); +}; + +struct driver_attribute { + struct attribute attr; + ssize_t (*show)(struct device_driver *, char *); + ssize_t (*store)(struct device_driver *, const char *, size_t); +}; + +struct module_kobject; + +struct driver_private { + struct kobject kobj; + struct klist klist_devices; + struct klist_node knode_bus; + struct module_kobject *mkobj; + struct device_driver *driver; +}; + +struct drop_reason_list { + const char * const *reasons; + size_t n_reasons; +}; + +struct dst_cache_pcpu; + +struct dst_cache { + struct dst_cache_pcpu *cache; + long unsigned int reset_ts; +}; + +struct in_addr { + __be32 s_addr; +}; + +struct dst_entry; + +struct dst_cache_pcpu { + long unsigned int refresh_ts; + struct dst_entry *dst; + u32 cookie; + union { + struct in_addr in_saddr; + struct in6_addr in6_saddr; + }; +}; + +struct dst_ops; + +struct lwtunnel_state; + +struct uncached_list; + +struct dst_entry { + struct net_device *dev; + struct dst_ops *ops; + long unsigned int _metrics; + long unsigned int expires; + void *__pad1; + int (*input)(struct sk_buff *); + int (*output)(struct net *, struct sock *, struct sk_buff *); + short unsigned int flags; + short int obsolete; + short unsigned int header_len; + short unsigned int trailer_len; + int __use; + long unsigned int lastuse; + struct callback_head callback_head; + short int error; + short int __pad; + __u32 tclassid; + struct lwtunnel_state *lwtstate; + rcuref_t __rcuref; + netdevice_tracker dev_tracker; + struct list_head rt_uncached; + struct uncached_list *rt_uncached_list; +}; + +struct dst_metrics { + u32 metrics[17]; + refcount_t refcnt; +}; + +struct neighbour; + +struct dst_ops { + short unsigned int family; + unsigned int gc_thresh; + void (*gc)(struct dst_ops *); + struct dst_entry * (*check)(struct dst_entry *, __u32); + unsigned int (*default_advmss)(const struct dst_entry *); + unsigned int (*mtu)(const struct dst_entry *); + u32 * (*cow_metrics)(struct dst_entry *, long unsigned int); + void (*destroy)(struct dst_entry *); + void (*ifdown)(struct dst_entry *, struct net_device *); + void (*negative_advice)(struct sock *, struct dst_entry *); + void (*link_failure)(struct sk_buff *); + void (*update_pmtu)(struct dst_entry *, struct sock *, struct sk_buff *, u32, bool); + void (*redirect)(struct dst_entry *, struct sock *, struct sk_buff *); + int (*local_out)(struct net *, struct sock *, struct sk_buff *); + struct neighbour * (*neigh_lookup)(const struct dst_entry *, struct sk_buff *, const void *); + void (*confirm_neigh)(const struct dst_entry *, const void *); + struct kmem_cache *kmem_cachep; + long: 32; + struct percpu_counter pcpuc_entries; +}; + +struct dyn_arch_ftrace { + struct module *mod; +}; + +struct dyn_event_operations; + +struct dyn_event { + struct list_head list; + struct dyn_event_operations *ops; +}; + +struct dyn_event_operations { + struct list_head list; + int (*create)(const char *); + int (*show)(struct seq_file *, struct dyn_event *); + bool (*is_busy)(struct dyn_event *); + int (*free)(struct dyn_event *); + bool (*match)(const char *, const char *, int, const char **, struct dyn_event *); +}; + +struct dyn_ftrace { + long unsigned int ip; + long unsigned int flags; + struct dyn_arch_ftrace arch; +}; + +struct dynevent_arg { + const char *str; + char separator; +}; + +struct dynevent_arg_pair { + const char *lhs; + const char *rhs; + char operator; + char separator; +}; + +struct seq_buf { + char *buffer; + size_t size; + size_t len; +}; + +struct dynevent_cmd; + +typedef int (*dynevent_create_fn_t)(struct dynevent_cmd *); + +struct dynevent_cmd { + struct seq_buf seq; + const char *event_name; + unsigned int n_fields; + enum dynevent_type type; + dynevent_create_fn_t run_command; + void *private_data; +}; + +struct eee_config { + u32 tx_lpi_timer; + bool tx_lpi_enabled; + bool eee_enabled; +}; + +struct ethtool_keee { + long unsigned int supported[4]; + long unsigned int advertised[4]; + long unsigned int lp_advertised[4]; + u32 tx_lpi_timer; + bool tx_lpi_enabled; + bool eee_active; + bool eee_enabled; +}; + +struct eee_reply_data { + struct ethnl_reply_data base; + struct ethtool_keee eee; +}; + +struct eeprom_reply_data { + struct ethnl_reply_data base; + u32 length; + u8 *data; +}; + +struct ethnl_req_info { + struct net_device *dev; + netdevice_tracker dev_tracker; + u32 flags; + u32 phy_index; +}; + +struct eeprom_req_info { + struct ethnl_req_info base; + u32 offset; + u32 length; + u8 page; + u8 bank; + u8 i2c_address; +}; + +struct elf32_hdr { + unsigned char e_ident[16]; + Elf32_Half e_type; + Elf32_Half e_machine; + Elf32_Word e_version; + Elf32_Addr e_entry; + Elf32_Off e_phoff; + Elf32_Off e_shoff; + Elf32_Word e_flags; + Elf32_Half e_ehsize; + Elf32_Half e_phentsize; + Elf32_Half e_phnum; + Elf32_Half e_shentsize; + Elf32_Half e_shnum; + Elf32_Half e_shstrndx; +}; + +typedef struct elf32_hdr Elf32_Ehdr; + +struct elf32_note { + Elf32_Word n_namesz; + Elf32_Word n_descsz; + Elf32_Word n_type; +}; + +typedef struct elf32_note Elf32_Nhdr; + +struct elf32_phdr { + Elf32_Word p_type; + Elf32_Off p_offset; + Elf32_Addr p_vaddr; + Elf32_Addr p_paddr; + Elf32_Word p_filesz; + Elf32_Word p_memsz; + Elf32_Word p_flags; + Elf32_Word p_align; +}; + +typedef struct elf32_phdr Elf32_Phdr; + +struct elf32_rel { + Elf32_Addr r_offset; + Elf32_Word r_info; +}; + +typedef struct elf32_rel Elf32_Rel; + +struct elf32_shdr { + Elf32_Word sh_name; + Elf32_Word sh_type; + Elf32_Word sh_flags; + Elf32_Addr sh_addr; + Elf32_Off sh_offset; + Elf32_Word sh_size; + Elf32_Word sh_link; + Elf32_Word sh_info; + Elf32_Word sh_addralign; + Elf32_Word sh_entsize; +}; + +typedef struct elf32_shdr Elf32_Shdr; + +struct elf32_sym { + Elf32_Word st_name; + Elf32_Addr st_value; + Elf32_Word st_size; + unsigned char st_info; + unsigned char st_other; + Elf32_Half st_shndx; +}; + +typedef struct elf32_sym Elf32_Sym; + +struct elf64_hdr { + unsigned char e_ident[16]; + Elf64_Half e_type; + Elf64_Half e_machine; + Elf64_Word e_version; + Elf64_Addr e_entry; + Elf64_Off e_phoff; + Elf64_Off e_shoff; + Elf64_Word e_flags; + Elf64_Half e_ehsize; + Elf64_Half e_phentsize; + Elf64_Half e_phnum; + Elf64_Half e_shentsize; + Elf64_Half e_shnum; + Elf64_Half e_shstrndx; +}; + +typedef struct elf64_hdr Elf64_Ehdr; + +struct elf64_phdr { + Elf64_Word p_type; + Elf64_Word p_flags; + Elf64_Off p_offset; + Elf64_Addr p_vaddr; + Elf64_Addr p_paddr; + Elf64_Xword p_filesz; + Elf64_Xword p_memsz; + Elf64_Xword p_align; +}; + +typedef struct elf64_phdr Elf64_Phdr; + +struct trace_event_file; + +struct enable_trigger_data { + struct trace_event_file *file; + bool enable; + bool hist; +}; + +struct entropy_timer_state { + long unsigned int entropy; + struct timer_list timer; + atomic_t samples; + unsigned int samples_per_bit; +}; + +struct trace_eprobe; + +struct eprobe_data { + struct trace_event_file *file; + struct trace_eprobe *ep; +}; + +struct eprobe_trace_entry_head { + struct trace_entry ent; +}; + +struct err_info { + const char **errs; + u8 type; + u16 pos; + u64 ts; +}; + +struct erspan_md2 { + __be32 timestamp; + __be16 sgt; + __u8 hwid_upper: 2; + __u8 ft: 5; + __u8 p: 1; + __u8 o: 1; + __u8 gra: 2; + __u8 dir: 1; + __u8 hwid: 4; +}; + +struct erspan_metadata { + int version; + union { + __be32 index; + struct erspan_md2 md2; + } u; +}; + +struct ethhdr { + unsigned char h_dest[6]; + unsigned char h_source[6]; + __be16 h_proto; +}; + +struct ethnl_request_ops; + +struct ethnl_dump_ctx { + const struct ethnl_request_ops *ops; + struct ethnl_req_info *req_info; + struct ethnl_reply_data *reply_data; + long unsigned int pos_ifindex; +}; + +struct ethnl_module_fw_flash_ntf_params { + u32 portid; + u32 seq; + bool closed_sock; +}; + +struct phy_req_info; + +struct ethnl_phy_dump_ctx { + struct phy_req_info *phy_req_info; + long unsigned int ifindex; + long unsigned int phy_index; +}; + +struct genl_info; + +struct ethnl_request_ops { + u8 request_cmd; + u8 reply_cmd; + u16 hdr_attr; + unsigned int req_info_size; + unsigned int reply_data_size; + bool allow_nodev_do; + u8 set_ntf_cmd; + int (*parse_request)(struct ethnl_req_info *, struct nlattr **, struct netlink_ext_ack *); + int (*prepare_data)(const struct ethnl_req_info *, struct ethnl_reply_data *, const struct genl_info *); + int (*reply_size)(const struct ethnl_req_info *, const struct ethnl_reply_data *); + int (*fill_reply)(struct sk_buff *, const struct ethnl_req_info *, const struct ethnl_reply_data *); + void (*cleanup_data)(struct ethnl_reply_data *); + int (*set_validate)(struct ethnl_req_info *, struct genl_info *); + int (*set)(struct ethnl_req_info *, struct genl_info *); +}; + +struct ethnl_sock_priv { + struct net_device *dev; + u32 portid; + enum ethnl_sock_type type; +}; + +struct tsinfo_req_info; + +struct tsinfo_reply_data; + +struct ethnl_tsinfo_dump_ctx { + struct tsinfo_req_info *req_info; + struct tsinfo_reply_data *reply_data; + long unsigned int pos_ifindex; + bool netdev_dump_done; + long unsigned int pos_phyindex; + enum hwtstamp_provider_qualifier pos_phcqualifier; +}; + +struct ethnl_tunnel_info_dump_ctx { + struct ethnl_req_info req_info; + long unsigned int ifindex; +}; + +struct ethtool_ah_espip4_spec { + __be32 ip4src; + __be32 ip4dst; + __be32 spi; + __u8 tos; +}; + +struct ethtool_ah_espip6_spec { + __be32 ip6src[4]; + __be32 ip6dst[4]; + __be32 spi; + __u8 tclass; +}; + +struct ethtool_c33_pse_ext_state_info { + enum ethtool_c33_pse_ext_state c33_pse_ext_state; + union { + enum ethtool_c33_pse_ext_substate_error_condition error_condition; + enum ethtool_c33_pse_ext_substate_mr_pse_enable mr_pse_enable; + enum ethtool_c33_pse_ext_substate_option_detect_ted option_detect_ted; + enum ethtool_c33_pse_ext_substate_option_vport_lim option_vport_lim; + enum ethtool_c33_pse_ext_substate_ovld_detected ovld_detected; + enum ethtool_c33_pse_ext_substate_power_not_available power_not_available; + enum ethtool_c33_pse_ext_substate_short_detected short_detected; + u32 __c33_pse_ext_substate; + }; +}; + +struct ethtool_c33_pse_pw_limit_range { + u32 min; + u32 max; +}; + +struct ethtool_cmd { + __u32 cmd; + __u32 supported; + __u32 advertising; + __u16 speed; + __u8 duplex; + __u8 port; + __u8 phy_address; + __u8 transceiver; + __u8 autoneg; + __u8 mdio_support; + __u32 maxtxpkt; + __u32 maxrxpkt; + __u16 speed_hi; + __u8 eth_tp_mdix; + __u8 eth_tp_mdix_ctrl; + __u32 lp_advertising; + __u32 reserved[2]; +}; + +struct ethtool_cmis_cdb { + u8 cmis_rev; + u8 read_write_len_ext; + u16 max_completion_time; +}; + +struct ethtool_cmis_cdb_request { + __be16 id; + union { + struct { + __be16 epl_len; + u8 lpl_len; + u8 chk_code; + u8 resv1; + u8 resv2; + u8 payload[120]; + }; + struct { + __be16 epl_len; + u8 lpl_len; + u8 chk_code; + u8 resv1; + u8 resv2; + u8 payload[120]; + } body; + }; + u8 *epl; +}; + +struct ethtool_cmis_cdb_cmd_args { + struct ethtool_cmis_cdb_request req; + u16 max_duration; + u8 read_write_len_ext; + u8 msleep_pre_rpl; + u8 rpl_exp_len; + u8 flags; + char *err_msg; +}; + +struct ethtool_cmis_cdb_rpl_hdr { + u8 rpl_len; + u8 rpl_chk_code; +}; + +struct ethtool_cmis_cdb_rpl { + struct ethtool_cmis_cdb_rpl_hdr hdr; + u8 payload[120]; +}; + +struct ethtool_module_fw_flash_params { + __be32 password; + u8 password_valid: 1; +}; + +struct firmware; + +struct ethtool_cmis_fw_update_params { + struct net_device *dev; + struct ethtool_module_fw_flash_params params; + struct ethnl_module_fw_flash_ntf_params ntf_params; + const struct firmware *fw; +}; + +struct ethtool_flash { + __u32 cmd; + __u32 region; + char data[128]; +}; + +struct ethtool_drvinfo { + __u32 cmd; + char driver[32]; + char version[32]; + char fw_version[32]; + char bus_info[32]; + char erom_version[32]; + char reserved2[12]; + __u32 n_priv_flags; + __u32 n_stats; + __u32 testinfo_len; + __u32 eedump_len; + __u32 regdump_len; +}; + +struct ethtool_devlink_compat { + struct devlink *devlink; + union { + struct ethtool_flash efl; + struct ethtool_drvinfo info; + }; +}; + +struct ethtool_dump { + __u32 cmd; + __u32 version; + __u32 flag; + __u32 len; + __u8 data[0]; +}; + +struct ethtool_eee { + __u32 cmd; + __u32 supported; + __u32 advertised; + __u32 lp_advertised; + __u32 eee_active; + __u32 eee_enabled; + __u32 tx_lpi_enabled; + __u32 tx_lpi_timer; + __u32 reserved[2]; +}; + +struct ethtool_eeprom { + __u32 cmd; + __u32 magic; + __u32 offset; + __u32 len; + __u8 data[0]; +}; + +struct ethtool_eth_ctrl_stats { + enum ethtool_mac_stats_src src; + long: 32; + union { + struct { + u64 MACControlFramesTransmitted; + u64 MACControlFramesReceived; + u64 UnsupportedOpcodesReceived; + }; + struct { + u64 MACControlFramesTransmitted; + u64 MACControlFramesReceived; + u64 UnsupportedOpcodesReceived; + } stats; + }; +}; + +struct ethtool_eth_mac_stats { + enum ethtool_mac_stats_src src; + long: 32; + union { + struct { + u64 FramesTransmittedOK; + u64 SingleCollisionFrames; + u64 MultipleCollisionFrames; + u64 FramesReceivedOK; + u64 FrameCheckSequenceErrors; + u64 AlignmentErrors; + u64 OctetsTransmittedOK; + u64 FramesWithDeferredXmissions; + u64 LateCollisions; + u64 FramesAbortedDueToXSColls; + u64 FramesLostDueToIntMACXmitError; + u64 CarrierSenseErrors; + u64 OctetsReceivedOK; + u64 FramesLostDueToIntMACRcvError; + u64 MulticastFramesXmittedOK; + u64 BroadcastFramesXmittedOK; + u64 FramesWithExcessiveDeferral; + u64 MulticastFramesReceivedOK; + u64 BroadcastFramesReceivedOK; + u64 InRangeLengthErrors; + u64 OutOfRangeLengthField; + u64 FrameTooLongErrors; + }; + struct { + u64 FramesTransmittedOK; + u64 SingleCollisionFrames; + u64 MultipleCollisionFrames; + u64 FramesReceivedOK; + u64 FrameCheckSequenceErrors; + u64 AlignmentErrors; + u64 OctetsTransmittedOK; + u64 FramesWithDeferredXmissions; + u64 LateCollisions; + u64 FramesAbortedDueToXSColls; + u64 FramesLostDueToIntMACXmitError; + u64 CarrierSenseErrors; + u64 OctetsReceivedOK; + u64 FramesLostDueToIntMACRcvError; + u64 MulticastFramesXmittedOK; + u64 BroadcastFramesXmittedOK; + u64 FramesWithExcessiveDeferral; + u64 MulticastFramesReceivedOK; + u64 BroadcastFramesReceivedOK; + u64 InRangeLengthErrors; + u64 OutOfRangeLengthField; + u64 FrameTooLongErrors; + } stats; + }; +}; + +struct ethtool_eth_phy_stats { + enum ethtool_mac_stats_src src; + long: 32; + union { + struct { + u64 SymbolErrorDuringCarrier; + }; + struct { + u64 SymbolErrorDuringCarrier; + } stats; + }; +}; + +struct ethtool_fec_stat { + u64 total; + u64 lanes[8]; +}; + +struct ethtool_fec_stats { + struct ethtool_fec_stat corrected_blocks; + struct ethtool_fec_stat uncorrectable_blocks; + struct ethtool_fec_stat corrected_bits; +}; + +struct ethtool_fecparam { + __u32 cmd; + __u32 active_fec; + __u32 fec; + __u32 reserved; +}; + +struct ethtool_flow_ext { + __u8 padding[2]; + unsigned char h_dest[6]; + __be16 vlan_etype; + __be16 vlan_tci; + __be32 data[2]; +}; + +struct ethtool_tcpip4_spec { + __be32 ip4src; + __be32 ip4dst; + __be16 psrc; + __be16 pdst; + __u8 tos; +}; + +struct ethtool_usrip4_spec { + __be32 ip4src; + __be32 ip4dst; + __be32 l4_4_bytes; + __u8 tos; + __u8 ip_ver; + __u8 proto; +}; + +struct ethtool_tcpip6_spec { + __be32 ip6src[4]; + __be32 ip6dst[4]; + __be16 psrc; + __be16 pdst; + __u8 tclass; +}; + +struct ethtool_usrip6_spec { + __be32 ip6src[4]; + __be32 ip6dst[4]; + __be32 l4_4_bytes; + __u8 tclass; + __u8 l4_proto; +}; + +union ethtool_flow_union { + struct ethtool_tcpip4_spec tcp_ip4_spec; + struct ethtool_tcpip4_spec udp_ip4_spec; + struct ethtool_tcpip4_spec sctp_ip4_spec; + struct ethtool_ah_espip4_spec ah_ip4_spec; + struct ethtool_ah_espip4_spec esp_ip4_spec; + struct ethtool_usrip4_spec usr_ip4_spec; + struct ethtool_tcpip6_spec tcp_ip6_spec; + struct ethtool_tcpip6_spec udp_ip6_spec; + struct ethtool_tcpip6_spec sctp_ip6_spec; + struct ethtool_ah_espip6_spec ah_ip6_spec; + struct ethtool_ah_espip6_spec esp_ip6_spec; + struct ethtool_usrip6_spec usr_ip6_spec; + struct ethhdr ether_spec; + __u8 hdata[52]; +}; + +struct ethtool_forced_speed_map { + u32 speed; + long unsigned int caps[4]; + const u32 *cap_arr; + u32 arr_size; +}; + +struct ethtool_get_features_block { + __u32 available; + __u32 requested; + __u32 active; + __u32 never_changed; +}; + +struct ethtool_gfeatures { + __u32 cmd; + __u32 size; + struct ethtool_get_features_block features[0]; +}; + +struct ethtool_gstrings { + __u32 cmd; + __u32 string_set; + __u32 len; + __u8 data[0]; +}; + +struct ethtool_link_ext_state_info { + enum ethtool_link_ext_state link_ext_state; + union { + enum ethtool_link_ext_substate_autoneg autoneg; + enum ethtool_link_ext_substate_link_training link_training; + enum ethtool_link_ext_substate_link_logical_mismatch link_logical_mismatch; + enum ethtool_link_ext_substate_bad_signal_integrity bad_signal_integrity; + enum ethtool_link_ext_substate_cable_issue cable_issue; + enum ethtool_link_ext_substate_module module; + u32 __link_ext_substate; + }; +}; + +struct ethtool_link_ext_stats { + u64 link_down_events; +}; + +struct ethtool_link_settings { + __u32 cmd; + __u32 speed; + __u8 duplex; + __u8 port; + __u8 phy_address; + __u8 autoneg; + __u8 mdio_support; + __u8 eth_tp_mdix; + __u8 eth_tp_mdix_ctrl; + __s8 link_mode_masks_nwords; + __u8 transceiver; + __u8 master_slave_cfg; + __u8 master_slave_state; + __u8 rate_matching; + __u32 reserved[7]; +}; + +struct ethtool_link_ksettings { + struct ethtool_link_settings base; + struct { + long unsigned int supported[4]; + long unsigned int advertising[4]; + long unsigned int lp_advertising[4]; + } link_modes; + u32 lanes; +}; + +struct ethtool_link_usettings { + struct ethtool_link_settings base; + struct { + __u32 supported[4]; + __u32 advertising[4]; + __u32 lp_advertising[4]; + } link_modes; +}; + +struct ethtool_mm_cfg { + u32 verify_time; + bool verify_enabled; + bool tx_enabled; + bool pmac_enabled; + u32 tx_min_frag_size; +}; + +struct ethtool_mm_state { + u32 verify_time; + u32 max_verify_time; + enum ethtool_mm_verify_status verify_status; + bool tx_enabled; + bool tx_active; + bool pmac_enabled; + bool verify_enabled; + u32 tx_min_frag_size; + u32 rx_min_frag_size; +}; + +struct ethtool_mm_stats { + u64 MACMergeFrameAssErrorCount; + u64 MACMergeFrameSmdErrorCount; + u64 MACMergeFrameAssOkCount; + u64 MACMergeFragCountRx; + u64 MACMergeFragCountTx; + u64 MACMergeHoldCount; +}; + +struct ethtool_modinfo { + __u32 cmd; + __u32 type; + __u32 eeprom_len; + __u32 reserved[8]; +}; + +struct ethtool_module_eeprom { + u32 offset; + u32 length; + u8 page; + u8 bank; + u8 i2c_address; + u8 *data; +}; + +struct ethtool_module_fw_flash { + struct list_head list; + netdevice_tracker dev_tracker; + struct work_struct work; + struct ethtool_cmis_fw_update_params fw_update; +}; + +struct ethtool_module_power_mode_params { + enum ethtool_module_power_mode_policy policy; + enum ethtool_module_power_mode mode; +}; + +struct ethtool_netdev_state { + struct xarray rss_ctx; + struct mutex rss_lock; + unsigned int wol_enabled: 1; + unsigned int module_fw_flash_in_progress: 1; +}; + +struct ethtool_regs; + +struct ethtool_wolinfo; + +struct ethtool_ringparam; + +struct kernel_ethtool_ringparam; + +struct ethtool_pause_stats; + +struct ethtool_pauseparam; + +struct ethtool_test; + +struct ethtool_stats; + +struct ethtool_rxnfc; + +struct ethtool_rxfh_param; + +struct ethtool_rxfh_context; + +struct kernel_ethtool_ts_info; + +struct ethtool_ts_stats; + +struct ethtool_tunable; + +struct ethtool_rmon_stats; + +struct ethtool_rmon_hist_range; + +struct ethtool_ops { + u32 cap_link_lanes_supported: 1; + u32 cap_rss_ctx_supported: 1; + u32 cap_rss_sym_xor_supported: 1; + u32 rxfh_per_ctx_key: 1; + u32 cap_rss_rxnfc_adds: 1; + u32 rxfh_indir_space; + u16 rxfh_key_space; + u16 rxfh_priv_size; + u32 rxfh_max_num_contexts; + u32 supported_coalesce_params; + u32 supported_ring_params; + u32 supported_hwtstamp_qualifiers; + void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *); + int (*get_regs_len)(struct net_device *); + void (*get_regs)(struct net_device *, struct ethtool_regs *, void *); + void (*get_wol)(struct net_device *, struct ethtool_wolinfo *); + int (*set_wol)(struct net_device *, struct ethtool_wolinfo *); + u32 (*get_msglevel)(struct net_device *); + void (*set_msglevel)(struct net_device *, u32); + int (*nway_reset)(struct net_device *); + u32 (*get_link)(struct net_device *); + int (*get_link_ext_state)(struct net_device *, struct ethtool_link_ext_state_info *); + void (*get_link_ext_stats)(struct net_device *, struct ethtool_link_ext_stats *); + int (*get_eeprom_len)(struct net_device *); + int (*get_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *); + int (*set_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *); + int (*get_coalesce)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *); + int (*set_coalesce)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *); + void (*get_ringparam)(struct net_device *, struct ethtool_ringparam *, struct kernel_ethtool_ringparam *, struct netlink_ext_ack *); + int (*set_ringparam)(struct net_device *, struct ethtool_ringparam *, struct kernel_ethtool_ringparam *, struct netlink_ext_ack *); + void (*get_pause_stats)(struct net_device *, struct ethtool_pause_stats *); + void (*get_pauseparam)(struct net_device *, struct ethtool_pauseparam *); + int (*set_pauseparam)(struct net_device *, struct ethtool_pauseparam *); + void (*self_test)(struct net_device *, struct ethtool_test *, u64 *); + void (*get_strings)(struct net_device *, u32, u8 *); + int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state); + void (*get_ethtool_stats)(struct net_device *, struct ethtool_stats *, u64 *); + int (*begin)(struct net_device *); + void (*complete)(struct net_device *); + u32 (*get_priv_flags)(struct net_device *); + int (*set_priv_flags)(struct net_device *, u32); + int (*get_sset_count)(struct net_device *, int); + int (*get_rxnfc)(struct net_device *, struct ethtool_rxnfc *, u32 *); + int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *); + int (*flash_device)(struct net_device *, struct ethtool_flash *); + int (*reset)(struct net_device *, u32 *); + u32 (*get_rxfh_key_size)(struct net_device *); + u32 (*get_rxfh_indir_size)(struct net_device *); + int (*get_rxfh)(struct net_device *, struct ethtool_rxfh_param *); + int (*set_rxfh)(struct net_device *, struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*create_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, const struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*modify_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, const struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*remove_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, u32, struct netlink_ext_ack *); + void (*get_channels)(struct net_device *, struct ethtool_channels *); + int (*set_channels)(struct net_device *, struct ethtool_channels *); + int (*get_dump_flag)(struct net_device *, struct ethtool_dump *); + int (*get_dump_data)(struct net_device *, struct ethtool_dump *, void *); + int (*set_dump)(struct net_device *, struct ethtool_dump *); + int (*get_ts_info)(struct net_device *, struct kernel_ethtool_ts_info *); + void (*get_ts_stats)(struct net_device *, struct ethtool_ts_stats *); + int (*get_module_info)(struct net_device *, struct ethtool_modinfo *); + int (*get_module_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *); + int (*get_eee)(struct net_device *, struct ethtool_keee *); + int (*set_eee)(struct net_device *, struct ethtool_keee *); + int (*get_tunable)(struct net_device *, const struct ethtool_tunable *, void *); + int (*set_tunable)(struct net_device *, const struct ethtool_tunable *, const void *); + int (*get_per_queue_coalesce)(struct net_device *, u32, struct ethtool_coalesce *); + int (*set_per_queue_coalesce)(struct net_device *, u32, struct ethtool_coalesce *); + int (*get_link_ksettings)(struct net_device *, struct ethtool_link_ksettings *); + int (*set_link_ksettings)(struct net_device *, const struct ethtool_link_ksettings *); + void (*get_fec_stats)(struct net_device *, struct ethtool_fec_stats *); + int (*get_fecparam)(struct net_device *, struct ethtool_fecparam *); + int (*set_fecparam)(struct net_device *, struct ethtool_fecparam *); + void (*get_ethtool_phy_stats)(struct net_device *, struct ethtool_stats *, u64 *); + int (*get_phy_tunable)(struct net_device *, const struct ethtool_tunable *, void *); + int (*set_phy_tunable)(struct net_device *, const struct ethtool_tunable *, const void *); + int (*get_module_eeprom_by_page)(struct net_device *, const struct ethtool_module_eeprom *, struct netlink_ext_ack *); + int (*set_module_eeprom_by_page)(struct net_device *, const struct ethtool_module_eeprom *, struct netlink_ext_ack *); + void (*get_eth_phy_stats)(struct net_device *, struct ethtool_eth_phy_stats *); + void (*get_eth_mac_stats)(struct net_device *, struct ethtool_eth_mac_stats *); + void (*get_eth_ctrl_stats)(struct net_device *, struct ethtool_eth_ctrl_stats *); + void (*get_rmon_stats)(struct net_device *, struct ethtool_rmon_stats *, const struct ethtool_rmon_hist_range **); + int (*get_module_power_mode)(struct net_device *, struct ethtool_module_power_mode_params *, struct netlink_ext_ack *); + int (*set_module_power_mode)(struct net_device *, const struct ethtool_module_power_mode_params *, struct netlink_ext_ack *); + int (*get_mm)(struct net_device *, struct ethtool_mm_state *); + int (*set_mm)(struct net_device *, struct ethtool_mm_cfg *, struct netlink_ext_ack *); + void (*get_mm_stats)(struct net_device *, struct ethtool_mm_stats *); +}; + +struct ethtool_pause_stats { + enum ethtool_mac_stats_src src; + long: 32; + union { + struct { + u64 tx_pause_frames; + u64 rx_pause_frames; + }; + struct { + u64 tx_pause_frames; + u64 rx_pause_frames; + } stats; + }; +}; + +struct ethtool_pauseparam { + __u32 cmd; + __u32 autoneg; + __u32 rx_pause; + __u32 tx_pause; +}; + +struct ethtool_per_queue_op { + __u32 cmd; + __u32 sub_command; + __u32 queue_mask[128]; + char data[0]; +}; + +struct ethtool_perm_addr { + __u32 cmd; + __u32 size; + __u8 data[0]; +}; + +struct phy_device; + +struct phy_plca_cfg; + +struct phy_plca_status; + +struct phy_tdr_config; + +struct ethtool_phy_ops { + int (*get_sset_count)(struct phy_device *); + int (*get_strings)(struct phy_device *, u8 *); + int (*get_stats)(struct phy_device *, struct ethtool_stats *, u64 *); + int (*get_plca_cfg)(struct phy_device *, struct phy_plca_cfg *); + int (*set_plca_cfg)(struct phy_device *, const struct phy_plca_cfg *, struct netlink_ext_ack *); + int (*get_plca_status)(struct phy_device *, struct phy_plca_status *); + int (*start_cable_test)(struct phy_device *, struct netlink_ext_ack *); + int (*start_cable_test_tdr)(struct phy_device *, struct netlink_ext_ack *, const struct phy_tdr_config *); +}; + +struct ethtool_phy_stats { + u64 rx_packets; + u64 rx_bytes; + u64 rx_errors; + u64 tx_packets; + u64 tx_bytes; + u64 tx_errors; +}; + +struct ethtool_pse_control_status { + enum ethtool_podl_pse_admin_state podl_admin_state; + enum ethtool_podl_pse_pw_d_status podl_pw_status; + enum ethtool_c33_pse_admin_state c33_admin_state; + enum ethtool_c33_pse_pw_d_status c33_pw_status; + u32 c33_pw_class; + u32 c33_actual_pw; + struct ethtool_c33_pse_ext_state_info c33_ext_state_info; + u32 c33_avail_pw_limit; + struct ethtool_c33_pse_pw_limit_range *c33_pw_limit_ranges; + u32 c33_pw_limit_nb_ranges; +}; + +struct ethtool_regs { + __u32 cmd; + __u32 version; + __u32 len; + __u8 data[0]; +}; + +struct ethtool_ringparam { + __u32 cmd; + __u32 rx_max_pending; + __u32 rx_mini_max_pending; + __u32 rx_jumbo_max_pending; + __u32 tx_max_pending; + __u32 rx_pending; + __u32 rx_mini_pending; + __u32 rx_jumbo_pending; + __u32 tx_pending; +}; + +struct ethtool_rmon_hist_range { + u16 low; + u16 high; +}; + +struct ethtool_rmon_stats { + enum ethtool_mac_stats_src src; + long: 32; + union { + struct { + u64 undersize_pkts; + u64 oversize_pkts; + u64 fragments; + u64 jabbers; + u64 hist[10]; + u64 hist_tx[10]; + }; + struct { + u64 undersize_pkts; + u64 oversize_pkts; + u64 fragments; + u64 jabbers; + u64 hist[10]; + u64 hist_tx[10]; + } stats; + }; +}; + +struct flow_dissector_key_basic { + __be16 n_proto; + u8 ip_proto; + u8 padding; +}; + +struct flow_dissector_key_ipv4_addrs { + __be32 src; + __be32 dst; +}; + +struct flow_dissector_key_ipv6_addrs { + struct in6_addr src; + struct in6_addr dst; +}; + +struct flow_dissector_key_ports { + union { + __be32 ports; + struct { + __be16 src; + __be16 dst; + }; + }; +}; + +struct flow_dissector_key_ip { + __u8 tos; + __u8 ttl; +}; + +struct flow_dissector_key_vlan { + union { + struct { + u16 vlan_id: 12; + u16 vlan_dei: 1; + u16 vlan_priority: 3; + }; + __be16 vlan_tci; + }; + __be16 vlan_tpid; + __be16 vlan_eth_type; + u16 padding; +}; + +struct flow_dissector_key_eth_addrs { + unsigned char dst[6]; + unsigned char src[6]; +}; + +struct ethtool_rx_flow_key { + struct flow_dissector_key_basic basic; + union { + struct flow_dissector_key_ipv4_addrs ipv4; + struct flow_dissector_key_ipv6_addrs ipv6; + }; + struct flow_dissector_key_ports tp; + struct flow_dissector_key_ip ip; + struct flow_dissector_key_vlan vlan; + struct flow_dissector_key_eth_addrs eth_addrs; +}; + +struct flow_dissector { + long long unsigned int used_keys; + short unsigned int offset[33]; + long: 32; +}; + +struct ethtool_rx_flow_match { + struct flow_dissector dissector; + struct ethtool_rx_flow_key key; + struct ethtool_rx_flow_key mask; +}; + +struct flow_rule; + +struct ethtool_rx_flow_rule { + struct flow_rule *rule; + long unsigned int priv[0]; +}; + +struct ethtool_rx_flow_spec { + __u32 flow_type; + union ethtool_flow_union h_u; + struct ethtool_flow_ext h_ext; + union ethtool_flow_union m_u; + struct ethtool_flow_ext m_ext; + long: 32; + __u64 ring_cookie; + __u32 location; + long: 32; +}; + +struct ethtool_rx_flow_spec_input { + const struct ethtool_rx_flow_spec *fs; + u32 rss_ctx; +}; + +struct ethtool_rxfh { + __u32 cmd; + __u32 rss_context; + __u32 indir_size; + __u32 key_size; + __u8 hfunc; + __u8 input_xfrm; + __u8 rsvd8[2]; + __u32 rsvd32; + __u32 rss_config[0]; +}; + +struct ethtool_rxfh_context { + u32 indir_size; + u32 key_size; + u16 priv_size; + u8 hfunc; + u8 input_xfrm; + u8 indir_configured: 1; + u8 key_configured: 1; + u32 key_off; + u8 data[0]; +}; + +struct ethtool_rxfh_param { + u8 hfunc; + u32 indir_size; + u32 *indir; + u32 key_size; + u8 *key; + u32 rss_context; + u8 rss_delete; + u8 input_xfrm; +}; + +struct ethtool_rxnfc { + __u32 cmd; + __u32 flow_type; + __u64 data; + struct ethtool_rx_flow_spec fs; + union { + __u32 rule_cnt; + __u32 rss_context; + }; + __u32 rule_locs[0]; + long: 32; +}; + +struct ethtool_set_features_block { + __u32 valid; + __u32 requested; +}; + +struct ethtool_sfeatures { + __u32 cmd; + __u32 size; + struct ethtool_set_features_block features[0]; +}; + +struct ethtool_sset_info { + __u32 cmd; + __u32 reserved; + __u64 sset_mask; + __u32 data[0]; +}; + +struct ethtool_stats { + __u32 cmd; + __u32 n_stats; + __u64 data[0]; +}; + +struct ethtool_test { + __u32 cmd; + __u32 flags; + __u32 reserved; + __u32 len; + __u64 data[0]; +}; + +struct ethtool_ts_info { + __u32 cmd; + __u32 so_timestamping; + __s32 phc_index; + __u32 tx_types; + __u32 tx_reserved[3]; + __u32 rx_filters; + __u32 rx_reserved[3]; +}; + +struct ethtool_ts_stats { + union { + struct { + u64 pkts; + u64 onestep_pkts_unconfirmed; + u64 lost; + u64 err; + }; + struct { + u64 pkts; + u64 onestep_pkts_unconfirmed; + u64 lost; + u64 err; + } tx_stats; + }; +}; + +struct ethtool_tunable { + __u32 cmd; + __u32 id; + __u32 type_id; + __u32 len; + void *data[0]; +}; + +struct ethtool_value { + __u32 cmd; + __u32 data; +}; + +struct ethtool_wolinfo { + __u32 cmd; + __u32 supported; + __u32 wolopts; + __u8 sopass[6]; +}; + +struct event_trigger_data; + +struct event_trigger_ops; + +struct event_command { + struct list_head list; + char *name; + enum event_trigger_type trigger_type; + int flags; + int (*parse)(struct event_command *, struct trace_event_file *, char *, char *, char *); + int (*reg)(char *, struct event_trigger_data *, struct trace_event_file *); + void (*unreg)(char *, struct event_trigger_data *, struct trace_event_file *); + void (*unreg_all)(struct trace_event_file *); + int (*set_filter)(char *, struct event_trigger_data *, struct trace_event_file *); + struct event_trigger_ops * (*get_trigger_ops)(char *, char *); +}; + +struct event_file_link { + struct trace_event_file *file; + struct list_head list; +}; + +struct prog_entry; + +struct event_filter { + struct prog_entry *prog; + char *filter_string; +}; + +struct perf_cpu_context; + +struct perf_event_context; + +typedef void (*event_f)(struct perf_event *, struct perf_cpu_context *, struct perf_event_context *, void *); + +struct event_function_struct { + struct perf_event *event; + event_f func; + void *data; +}; + +struct event_mod_load { + struct list_head list; + char *module; + char *match; + char *system; + char *event; +}; + +struct event_probe_data { + struct trace_event_file *file; + long unsigned int count; + int ref; + bool enable; +}; + +struct event_subsystem { + struct list_head list; + const char *name; + struct event_filter *filter; + int ref_count; +}; + +struct event_trigger_data { + long unsigned int count; + int ref; + int flags; + struct event_trigger_ops *ops; + struct event_command *cmd_ops; + struct event_filter *filter; + char *filter_str; + void *private_data; + bool paused; + bool paused_tmp; + struct list_head list; + char *name; + struct list_head named_list; + struct event_trigger_data *named_data; +}; + +struct ring_buffer_event; + +struct event_trigger_ops { + void (*trigger)(struct event_trigger_data *, struct trace_buffer *, void *, struct ring_buffer_event *); + int (*init)(struct event_trigger_data *); + void (*free)(struct event_trigger_data *); + int (*print)(struct seq_file *, struct event_trigger_data *); +}; + +struct eventfs_attr { + int mode; + kuid_t uid; + kgid_t gid; +}; + +typedef int (*eventfs_callback)(const char *, umode_t *, void **, const struct file_operations **); + +typedef void (*eventfs_release)(const char *, void *); + +struct eventfs_entry { + const char *name; + eventfs_callback callback; + eventfs_release release; +}; + +struct eventfs_inode { + union { + struct list_head list; + struct callback_head rcu; + }; + struct list_head children; + const struct eventfs_entry *entries; + const char *name; + struct eventfs_attr *entry_attrs; + void *data; + struct eventfs_attr attr; + struct kref kref; + unsigned int is_freed: 1; + unsigned int is_events: 1; + unsigned int nr_entries: 30; + unsigned int ino; +}; + +struct eventfs_root_inode { + struct eventfs_inode ei; + struct dentry *events_dir; +}; + +struct exception_table_entry { + long unsigned int insn; + long unsigned int fixup; +}; + +struct execmem_range { + long unsigned int start; + long unsigned int end; + long unsigned int fallback_start; + long unsigned int fallback_end; + pgprot_t pgprot; + unsigned int alignment; + enum execmem_range_flags flags; +}; + +struct execmem_info { + struct execmem_range ranges[5]; +}; + +struct execute_work { + struct work_struct work; +}; + +struct iomap; + +struct fid; + +struct iattr; + +struct handle_to_path_ctx; + +struct export_operations { + int (*encode_fh)(struct inode *, __u32 *, int *, struct inode *); + struct dentry * (*fh_to_dentry)(struct super_block *, struct fid *, int, int); + struct dentry * (*fh_to_parent)(struct super_block *, struct fid *, int, int); + int (*get_name)(struct dentry *, char *, struct dentry *); + struct dentry * (*get_parent)(struct dentry *); + int (*commit_metadata)(struct inode *); + int (*get_uuid)(struct super_block *, u8 *, u32 *, u64 *); + int (*map_blocks)(struct inode *, loff_t, u64, struct iomap *, bool, u32 *); + int (*commit_blocks)(struct inode *, struct iomap *, int, struct iattr *); + int (*permission)(struct handle_to_path_ctx *, unsigned int); + struct file * (*open)(struct path *, unsigned int); + long unsigned int flags; +}; + +struct external_name { + atomic_t count; + struct callback_head head; + unsigned char name[0]; +}; + +struct f_owner_ex { + int type; + __kernel_pid_t pid; +}; + +struct fast_pool { + long unsigned int pool[4]; + long unsigned int last; + unsigned int count; + struct timer_list mix; +}; + +struct request_sock; + +struct tcp_fastopen_context; + +struct fastopen_queue { + struct request_sock *rskq_rst_head; + struct request_sock *rskq_rst_tail; + spinlock_t lock; + int qlen; + int max_qlen; + struct tcp_fastopen_context *ctx; +}; + +struct fasync_struct { + rwlock_t fa_lock; + int magic; + int fa_fd; + struct fasync_struct *fa_next; + struct file *fa_file; + struct callback_head fa_rcu; +}; + +struct faux_device { + struct device dev; +}; + +struct faux_device_ops { + int (*probe)(struct faux_device *); + void (*remove)(struct faux_device *); +}; + +struct faux_object { + struct faux_device faux_dev; + const struct faux_device_ops *faux_ops; + long: 32; +}; + +struct fc_log { + refcount_t usage; + u8 head; + u8 tail; + u8 need_free; + struct module *owner; + char *buffer[8]; +}; + +struct fd { + long unsigned int word; +}; + +typedef struct fd class_fd_pos_t; + +typedef struct fd class_fd_raw_t; + +typedef struct fd class_fd_t; + +struct fd_range { + unsigned int from; + unsigned int to; +}; + +struct fdt_errtabent { + const char *str; +}; + +struct fdt_header { + fdt32_t magic; + fdt32_t totalsize; + fdt32_t off_dt_struct; + fdt32_t off_dt_strings; + fdt32_t off_mem_rsvmap; + fdt32_t version; + fdt32_t last_comp_version; + fdt32_t boot_cpuid_phys; + fdt32_t size_dt_strings; + fdt32_t size_dt_struct; +}; + +struct fdt_node_header { + fdt32_t tag; + char name[0]; +}; + +struct fdt_property { + fdt32_t tag; + fdt32_t len; + fdt32_t nameoff; + char data[0]; +}; + +struct fdt_reserve_entry { + fdt64_t address; + fdt64_t size; +}; + +struct fdtable { + unsigned int max_fds; + struct file **fd; + long unsigned int *close_on_exec; + long unsigned int *open_fds; + long unsigned int *full_fds_bits; + struct callback_head rcu; +}; + +struct features_reply_data { + struct ethnl_reply_data base; + u32 hw[2]; + u32 wanted[2]; + u32 active[2]; + u32 nochange[2]; + u32 all[2]; +}; + +struct fec_stat_grp { + u64 stats[9]; + u8 cnt; + long: 32; +}; + +struct fec_reply_data { + struct ethnl_reply_data base; + long unsigned int fec_link_modes[4]; + u32 active_fec; + u8 fec_auto; + long: 32; + struct fec_stat_grp corr; + struct fec_stat_grp uncorr; + struct fec_stat_grp corr_bits; +}; + +struct fetch_insn { + enum fetch_op op; + union { + unsigned int param; + struct { + unsigned int size; + int offset; + }; + struct { + unsigned char basesize; + unsigned char lshift; + unsigned char rshift; + }; + long unsigned int immediate; + void *data; + }; +}; + +struct trace_seq; + +typedef int (*print_type_func_t)(struct trace_seq *, void *, void *); + +struct fetch_type { + const char *name; + size_t size; + bool is_signed; + bool is_string; + print_type_func_t print; + const char *fmt; + const char *fmttype; +}; + +struct fgraph_cpu_data { + pid_t last_pid; + int depth; + int depth_irq; + int ignore; + long unsigned int enter_funcs[50]; +}; + +struct ftrace_graph_ent { + long unsigned int func; + int depth; +}; + +struct ftrace_graph_ent_entry { + struct trace_entry ent; + struct ftrace_graph_ent graph_ent; +}; + +struct ftrace_graph_ret { + long unsigned int func; + int depth; + unsigned int overrun; +}; + +struct ftrace_graph_ret_entry { + struct trace_entry ent; + struct ftrace_graph_ret ret; + long long unsigned int calltime; + long long unsigned int rettime; +}; + +struct fgraph_data { + struct fgraph_cpu_data *cpu_data; + union { + struct ftrace_graph_ent_entry ent; + struct ftrace_graph_ent_entry rent; + } ent; + struct ftrace_graph_ret_entry ret; + int failed; + int cpu; +}; + +struct fgraph_ops; + +struct ftrace_regs; + +typedef int (*trace_func_graph_ent_t)(struct ftrace_graph_ent *, struct fgraph_ops *, struct ftrace_regs *); + +typedef void (*trace_func_graph_ret_t)(struct ftrace_graph_ret *, struct fgraph_ops *, struct ftrace_regs *); + +typedef void (*ftrace_func_t)(long unsigned int, long unsigned int, struct ftrace_ops *, struct ftrace_regs *); + +struct ftrace_hash; + +struct ftrace_ops_hash { + struct ftrace_hash *notrace_hash; + struct ftrace_hash *filter_hash; + struct mutex regex_lock; +}; + +typedef int (*ftrace_ops_func_t)(struct ftrace_ops *, enum ftrace_ops_cmd); + +struct ftrace_ops { + ftrace_func_t func; + struct ftrace_ops *next; + long unsigned int flags; + void *private; + ftrace_func_t saved_func; + struct ftrace_ops_hash local_hash; + struct ftrace_ops_hash *func_hash; + struct ftrace_ops_hash old_hash; + long unsigned int trampoline; + long unsigned int trampoline_size; + struct list_head list; + struct list_head subop_list; + ftrace_ops_func_t ops_func; + struct ftrace_ops *managed; +}; + +struct fgraph_ops { + trace_func_graph_ent_t entryfunc; + trace_func_graph_ret_t retfunc; + struct ftrace_ops ops; + void *private; + trace_func_graph_ent_t saved_func; + int idx; +}; + +struct fgraph_times { + long long unsigned int calltime; + long long unsigned int sleeptime; +}; + +struct fib6_node; + +struct fib6_info; + +struct fib6_walker { + struct list_head lh; + struct fib6_node *root; + struct fib6_node *node; + struct fib6_info *leaf; + enum fib6_walk_state state; + unsigned int skip; + unsigned int count; + unsigned int skip_in_node; + int (*func)(struct fib6_walker *); + void *args; +}; + +struct fib6_cleaner { + struct fib6_walker w; + struct net *net; + int (*func)(struct fib6_info *, void *); + int sernum; + void *arg; + bool skip_notify; +}; + +struct nlmsghdr; + +struct nl_info { + struct nlmsghdr *nlh; + struct net *nl_net; + u32 portid; + u8 skip_notify: 1; + u8 skip_notify_kernel: 1; +}; + +struct fib6_config { + u32 fc_table; + u32 fc_metric; + int fc_dst_len; + int fc_src_len; + int fc_ifindex; + u32 fc_flags; + u32 fc_protocol; + u16 fc_type; + u16 fc_delete_all_nh: 1; + u16 fc_ignore_dev_down: 1; + u16 __unused: 14; + u32 fc_nh_id; + struct in6_addr fc_dst; + struct in6_addr fc_src; + struct in6_addr fc_prefsrc; + struct in6_addr fc_gateway; + long unsigned int fc_expires; + struct nlattr *fc_mx; + int fc_mx_len; + int fc_mp_len; + struct nlattr *fc_mp; + struct nl_info fc_nlinfo; + struct nlattr *fc_encap; + u16 fc_encap_type; + bool fc_is_fdb; +}; + +struct fib6_dump_arg { + struct net *net; + struct notifier_block *nb; + struct netlink_ext_ack *extack; +}; + +struct fib_notifier_info { + int family; + struct netlink_ext_ack *extack; +}; + +struct fib6_entry_notifier_info { + struct fib_notifier_info info; + struct fib6_info *rt; + unsigned int nsiblings; +}; + +struct fib6_gc_args { + int timeout; + int more; +}; + +struct rt6key { + struct in6_addr addr; + int plen; +}; + +struct rtable; + +struct fnhe_hash_bucket; + +struct fib_nh_common { + struct net_device *nhc_dev; + netdevice_tracker nhc_dev_tracker; + int nhc_oif; + unsigned char nhc_scope; + u8 nhc_family; + u8 nhc_gw_family; + unsigned char nhc_flags; + struct lwtunnel_state *nhc_lwtstate; + union { + __be32 ipv4; + struct in6_addr ipv6; + } nhc_gw; + int nhc_weight; + atomic_t nhc_upper_bound; + struct rtable **nhc_pcpu_rth_output; + struct rtable *nhc_rth_input; + struct fnhe_hash_bucket *nhc_exceptions; +}; + +struct rt6_info; + +struct rt6_exception_bucket; + +struct fib6_nh { + struct fib_nh_common nh_common; + struct rt6_info **rt6i_pcpu; + struct rt6_exception_bucket *rt6i_exception_bucket; +}; + +struct fib6_table; + +struct nexthop; + +struct fib6_info { + struct fib6_table *fib6_table; + struct fib6_info *fib6_next; + struct fib6_node *fib6_node; + union { + struct list_head fib6_siblings; + struct list_head nh_list; + }; + unsigned int fib6_nsiblings; + refcount_t fib6_ref; + long unsigned int expires; + struct hlist_node gc_link; + struct dst_metrics *fib6_metrics; + struct rt6key fib6_dst; + u32 fib6_flags; + struct rt6key fib6_src; + struct rt6key fib6_prefsrc; + u32 fib6_metric; + u8 fib6_protocol; + u8 fib6_type; + u8 offload; + u8 trap; + u8 offload_failed; + u8 should_flush: 1; + u8 dst_nocount: 1; + u8 dst_nopolicy: 1; + u8 fib6_destroying: 1; + u8 unused: 4; + struct callback_head rcu; + struct nexthop *nh; + struct fib6_nh fib6_nh[0]; +}; + +struct fib6_nh_age_excptn_arg { + struct fib6_gc_args *gc_args; + long unsigned int now; +}; + +struct fib6_nh_del_cached_rt_arg { + struct fib6_config *cfg; + struct fib6_info *f6i; +}; + +struct fib6_nh_dm_arg { + struct net *net; + const struct in6_addr *saddr; + int oif; + int flags; + struct fib6_nh *nh; +}; + +struct rt6_rtnl_dump_arg; + +struct fib6_nh_exception_dump_walker { + struct rt6_rtnl_dump_arg *dump; + struct fib6_info *rt; + unsigned int flags; + unsigned int skip; + unsigned int count; +}; + +struct fib6_nh_excptn_arg { + struct rt6_info *rt; + int plen; +}; + +struct fib6_nh_frl_arg { + u32 flags; + int oif; + int strict; + int *mpri; + bool *do_rr; + struct fib6_nh *nh; +}; + +struct fib6_nh_match_arg { + const struct net_device *dev; + const struct in6_addr *gw; + struct fib6_nh *match; +}; + +struct fib6_nh_pcpu_arg { + struct fib6_info *from; + const struct fib6_table *table; +}; + +struct fib6_result; + +struct flowi6; + +struct fib6_nh_rd_arg { + struct fib6_result *res; + struct flowi6 *fl6; + const struct in6_addr *gw; + struct rt6_info **ret; +}; + +struct fib6_node { + struct fib6_node *parent; + struct fib6_node *left; + struct fib6_node *right; + struct fib6_info *leaf; + __u16 fn_bit; + __u16 fn_flags; + int fn_sernum; + struct fib6_info *rr_ptr; + struct callback_head rcu; +}; + +struct fib6_result { + struct fib6_nh *nh; + struct fib6_info *f6i; + u32 fib6_flags; + u8 fib6_type; + struct rt6_info *rt6; +}; + +struct inet_peer_base { + struct rb_root rb_root; + seqlock_t lock; + int total; +}; + +struct fib6_table { + struct hlist_node tb6_hlist; + u32 tb6_id; + spinlock_t tb6_lock; + struct fib6_node tb6_root; + struct inet_peer_base tb6_peers; + unsigned int flags; + unsigned int fib_seq; + struct hlist_head tb6_gc_hlist; +}; + +struct fib_info; + +struct fib_alias { + struct hlist_node fa_list; + struct fib_info *fa_info; + dscp_t fa_dscp; + u8 fa_type; + u8 fa_state; + u8 fa_slen; + u32 tb_id; + s16 fa_default; + u8 offload; + u8 trap; + u8 offload_failed; + struct callback_head rcu; +}; + +struct rtnexthop; + +struct fib_config { + u8 fc_dst_len; + dscp_t fc_dscp; + u8 fc_protocol; + u8 fc_scope; + u8 fc_type; + u8 fc_gw_family; + u32 fc_table; + __be32 fc_dst; + union { + __be32 fc_gw4; + struct in6_addr fc_gw6; + }; + int fc_oif; + u32 fc_flags; + u32 fc_priority; + __be32 fc_prefsrc; + u32 fc_nh_id; + struct nlattr *fc_mx; + struct rtnexthop *fc_mp; + int fc_mx_len; + int fc_mp_len; + u32 fc_flow; + u32 fc_nlflags; + struct nl_info fc_nlinfo; + struct nlattr *fc_encap; + u16 fc_encap_type; +}; + +struct fib_dump_filter { + u32 table_id; + bool filter_set; + bool dump_routes; + bool dump_exceptions; + bool rtnl_held; + unsigned char protocol; + unsigned char rt_type; + unsigned int flags; + struct net_device *dev; +}; + +struct fib_entry_notifier_info { + struct fib_notifier_info info; + u32 dst; + int dst_len; + struct fib_info *fi; + dscp_t dscp; + u8 type; + u32 tb_id; +}; + +struct fib_nh { + struct fib_nh_common nh_common; + struct hlist_node nh_hash; + struct fib_info *nh_parent; + __be32 nh_saddr; + int nh_saddr_genid; +}; + +struct fib_info { + struct hlist_node fib_hash; + struct hlist_node fib_lhash; + struct list_head nh_list; + struct net *fib_net; + refcount_t fib_treeref; + refcount_t fib_clntref; + unsigned int fib_flags; + unsigned char fib_dead; + unsigned char fib_protocol; + unsigned char fib_scope; + unsigned char fib_type; + __be32 fib_prefsrc; + u32 fib_tb_id; + u32 fib_priority; + struct dst_metrics *fib_metrics; + int fib_nhs; + bool fib_nh_is_v6; + bool nh_updated; + bool pfsrc_removed; + struct nexthop *nh; + struct callback_head rcu; + struct fib_nh fib_nh[0]; +}; + +struct fib_nh_exception { + struct fib_nh_exception *fnhe_next; + int fnhe_genid; + __be32 fnhe_daddr; + u32 fnhe_pmtu; + bool fnhe_mtu_locked; + __be32 fnhe_gw; + long unsigned int fnhe_expires; + struct rtable *fnhe_rth_input; + struct rtable *fnhe_rth_output; + long unsigned int fnhe_stamp; + struct callback_head rcu; +}; + +struct fib_nh_notifier_info { + struct fib_notifier_info info; + struct fib_nh *fib_nh; +}; + +struct fib_notifier_net { + struct list_head fib_notifier_ops; + struct atomic_notifier_head fib_chain; +}; + +struct fib_notifier_ops { + int family; + struct list_head list; + unsigned int (*fib_seq_read)(const struct net *); + int (*fib_dump)(struct net *, struct notifier_block *, struct netlink_ext_ack *); + struct module *owner; + struct callback_head rcu; +}; + +struct fib_prop { + int error; + u8 scope; +}; + +struct fib_table; + +struct fib_result { + __be32 prefix; + unsigned char prefixlen; + unsigned char nh_sel; + unsigned char type; + unsigned char scope; + u32 tclassid; + dscp_t dscp; + struct fib_nh_common *nhc; + struct fib_info *fi; + struct fib_table *table; + struct hlist_head *fa_head; +}; + +struct fib_result_nl { + __be32 fl_addr; + u32 fl_mark; + unsigned char fl_tos; + unsigned char fl_scope; + unsigned char tb_id_in; + unsigned char tb_id; + unsigned char prefixlen; + unsigned char nh_sel; + unsigned char type; + unsigned char scope; + int err; +}; + +struct fib_rt_info { + struct fib_info *fi; + u32 tb_id; + __be32 dst; + int dst_len; + dscp_t dscp; + u8 type; + u8 offload: 1; + u8 trap: 1; + u8 offload_failed: 1; + u8 unused: 5; +}; + +struct fib_table { + struct hlist_node tb_hlist; + u32 tb_id; + int tb_num_default; + struct callback_head rcu; + long unsigned int *tb_data; + long unsigned int __data[0]; +}; + +struct fid { + union { + struct { + u32 ino; + u32 gen; + u32 parent_ino; + u32 parent_gen; + } i32; + struct { + u64 ino; + u32 gen; + } i64; + struct { + u32 block; + u16 partref; + u16 parent_partref; + u32 generation; + u32 parent_block; + u32 parent_generation; + } udf; + struct { + struct {} __empty_raw; + __u32 raw[0]; + }; + }; +}; + +struct fiemap_extent { + __u64 fe_logical; + __u64 fe_physical; + __u64 fe_length; + __u64 fe_reserved64[2]; + __u32 fe_flags; + __u32 fe_reserved[3]; +}; + +struct fiemap { + __u64 fm_start; + __u64 fm_length; + __u32 fm_flags; + __u32 fm_mapped_extents; + __u32 fm_extent_count; + __u32 fm_reserved; + struct fiemap_extent fm_extents[0]; +}; + +struct fiemap_extent_info { + unsigned int fi_flags; + unsigned int fi_extents_mapped; + unsigned int fi_extents_max; + struct fiemap_extent *fi_extents_start; +}; + +struct file__safe_trusted { + struct inode *f_inode; +}; + +struct file_clone_range { + __s64 src_fd; + __u64 src_offset; + __u64 src_length; + __u64 dest_offset; +}; + +struct file_dedupe_range_info { + __s64 dest_fd; + __u64 dest_offset; + __u64 bytes_deduped; + __s32 status; + __u32 reserved; +}; + +struct file_dedupe_range { + __u64 src_offset; + __u64 src_length; + __u16 dest_count; + __u16 reserved1; + __u32 reserved2; + struct file_dedupe_range_info info[0]; +}; + +typedef void *fl_owner_t; + +struct file_lock_core { + struct file_lock_core *flc_blocker; + struct list_head flc_list; + struct hlist_node flc_link; + struct list_head flc_blocked_requests; + struct list_head flc_blocked_member; + fl_owner_t flc_owner; + unsigned int flc_flags; + unsigned char flc_type; + pid_t flc_pid; + int flc_link_cpu; + wait_queue_head_t flc_wait; + struct file *flc_file; +}; + +struct lease_manager_operations; + +struct file_lease { + struct file_lock_core c; + struct fasync_struct *fl_fasync; + long unsigned int fl_break_time; + long unsigned int fl_downgrade_time; + const struct lease_manager_operations *fl_lmops; +}; + +struct nlm_lockowner; + +struct nfs_lock_info { + u32 state; + struct nlm_lockowner *owner; + struct list_head list; +}; + +struct nfs4_lock_state; + +struct nfs4_lock_info { + struct nfs4_lock_state *owner; +}; + +struct file_lock_operations; + +struct lock_manager_operations; + +struct file_lock { + struct file_lock_core c; + long: 32; + loff_t fl_start; + loff_t fl_end; + const struct file_lock_operations *fl_ops; + const struct lock_manager_operations *fl_lmops; + union { + struct nfs_lock_info nfs_fl; + struct nfs4_lock_info nfs4_fl; + struct { + struct list_head link; + int state; + unsigned int debug_id; + } afs; + struct { + struct inode *inode; + } ceph; + } fl_u; +}; + +struct file_lock_context { + spinlock_t flc_lock; + struct list_head flc_flock; + struct list_head flc_posix; + struct list_head flc_lease; +}; + +struct file_lock_operations { + void (*fl_copy_lock)(struct file_lock *, struct file_lock *); + void (*fl_release_private)(struct file_lock *); +}; + +struct io_uring_cmd; + +struct pipe_inode_info; + +struct file_operations { + struct module *owner; + fop_flags_t fop_flags; + loff_t (*llseek)(struct file *, loff_t, int); + ssize_t (*read)(struct file *, char *, size_t, loff_t *); + ssize_t (*write)(struct file *, const char *, size_t, loff_t *); + ssize_t (*read_iter)(struct kiocb *, struct iov_iter *); + ssize_t (*write_iter)(struct kiocb *, struct iov_iter *); + int (*iopoll)(struct kiocb *, struct io_comp_batch *, unsigned int); + int (*iterate_shared)(struct file *, struct dir_context *); + __poll_t (*poll)(struct file *, struct poll_table_struct *); + long int (*unlocked_ioctl)(struct file *, unsigned int, long unsigned int); + long int (*compat_ioctl)(struct file *, unsigned int, long unsigned int); + int (*mmap)(struct file *, struct vm_area_struct *); + int (*open)(struct inode *, struct file *); + int (*flush)(struct file *, fl_owner_t); + int (*release)(struct inode *, struct file *); + int (*fsync)(struct file *, loff_t, loff_t, int); + int (*fasync)(int, struct file *, int); + int (*lock)(struct file *, int, struct file_lock *); + long unsigned int (*get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); + int (*check_flags)(int); + int (*flock)(struct file *, int, struct file_lock *); + ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int); + ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int); + void (*splice_eof)(struct file *); + int (*setlease)(struct file *, int, struct file_lease **, void **); + long int (*fallocate)(struct file *, int, loff_t, loff_t); + void (*show_fdinfo)(struct seq_file *, struct file *); + ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t, size_t, unsigned int); + loff_t (*remap_file_range)(struct file *, loff_t, struct file *, loff_t, loff_t, unsigned int); + int (*fadvise)(struct file *, loff_t, loff_t, int); + int (*uring_cmd)(struct io_uring_cmd *, unsigned int); + int (*uring_cmd_iopoll)(struct io_uring_cmd *, struct io_comp_batch *, unsigned int); +}; + +struct fs_context; + +struct fs_parameter_spec; + +struct file_system_type { + const char *name; + int fs_flags; + int (*init_fs_context)(struct fs_context *); + const struct fs_parameter_spec *parameters; + struct dentry * (*mount)(struct file_system_type *, int, const char *, void *); + void (*kill_sb)(struct super_block *); + struct module *owner; + struct file_system_type *next; + struct hlist_head fs_supers; + struct lock_class_key s_lock_key; + struct lock_class_key s_umount_key; + struct lock_class_key s_vfs_rename_key; + struct lock_class_key s_writers_key[3]; + struct lock_class_key i_lock_key; + struct lock_class_key i_mutex_key; + struct lock_class_key invalidate_lock_key; + struct lock_class_key i_mutex_dir_key; +}; + +struct fileattr { + u32 flags; + u32 fsx_xflags; + u32 fsx_extsize; + u32 fsx_nextents; + u32 fsx_projid; + u32 fsx_cowextsize; + bool flags_valid: 1; + bool fsx_valid: 1; +}; + +struct audit_names; + +struct filename { + const char *name; + const char *uptr; + atomic_t refcnt; + struct audit_names *aname; + const char iname[0]; +}; + +struct files_stat_struct { + long unsigned int nr_files; + long unsigned int nr_free_files; + long unsigned int max_files; +}; + +struct files_struct { + atomic_t count; + bool resize_in_progress; + wait_queue_head_t resize_wait; + struct fdtable *fdt; + struct fdtable fdtab; + spinlock_t file_lock; + unsigned int next_fd; + long unsigned int close_on_exec_init[1]; + long unsigned int open_fds_init[1]; + long unsigned int full_fds_bits_init[1]; + struct file *fd_array[32]; +}; + +struct filter_list { + struct list_head list; + struct event_filter *filter; +}; + +struct filter_parse_error { + int lasterr; + int lasterr_pos; +}; + +struct regex; + +struct ftrace_event_field; + +struct filter_pred { + struct regex *regex; + struct cpumask *mask; + short unsigned int *ops; + struct ftrace_event_field *field; + u64 val; + u64 val2; + enum filter_pred_fn fn_num; + int offset; + int not; + int op; +}; + +struct kernel_symbol; + +struct find_symbol_arg { + const char *name; + bool gplok; + bool warn; + struct module *owner; + const u32 *crc; + const struct kernel_symbol *sym; + enum mod_license license; +}; + +struct firmware { + size_t size; + const u8 *data; + void *priv; +}; + +struct firmware_ops { + int (*prepare_idle)(long unsigned int); + int (*do_idle)(long unsigned int); + int (*set_cpu_boot_addr)(int, long unsigned int); + int (*get_cpu_boot_addr)(int, long unsigned int *); + int (*cpu_boot)(int); + int (*l2x0_init)(void); + int (*suspend)(void); + int (*resume)(void); +}; + +struct flock { + short int l_type; + short int l_whence; + __kernel_off_t l_start; + __kernel_off_t l_len; + __kernel_pid_t l_pid; +}; + +struct flock64 { + short int l_type; + short int l_whence; + long: 32; + __kernel_loff_t l_start; + __kernel_loff_t l_len; + __kernel_pid_t l_pid; + long: 32; +}; + +typedef void (*action_destr)(void *); + +struct psample_group; + +struct nf_flowtable; + +struct action_gate_entry; + +struct ip_tunnel_info; + +struct flow_action_cookie; + +struct flow_action_entry { + enum flow_action_id id; + u32 hw_index; + long unsigned int cookie; + long: 32; + u64 miss_cookie; + enum flow_action_hw_stats hw_stats; + action_destr destructor; + void *destructor_priv; + long: 32; + union { + u32 chain_index; + struct net_device *dev; + struct { + u16 vid; + __be16 proto; + u8 prio; + } vlan; + struct { + unsigned char dst[6]; + unsigned char src[6]; + } vlan_push_eth; + struct { + enum flow_action_mangle_base htype; + u32 offset; + u32 mask; + u32 val; + } mangle; + struct ip_tunnel_info *tunnel; + u32 csum_flags; + u32 mark; + u16 ptype; + u16 rx_queue; + u32 priority; + struct { + u32 ctx; + u32 index; + u8 vf; + } queue; + struct { + struct psample_group *psample_group; + u32 rate; + u32 trunc_size; + bool truncate; + } sample; + struct { + u32 burst; + long: 32; + u64 rate_bytes_ps; + u64 peakrate_bytes_ps; + u32 avrate; + u16 overhead; + u64 burst_pkt; + u64 rate_pkt_ps; + u32 mtu; + struct { + enum flow_action_id act_id; + u32 extval; + } exceed; + struct { + enum flow_action_id act_id; + u32 extval; + } notexceed; + long: 32; + } police; + struct { + int action; + u16 zone; + struct nf_flowtable *flow_table; + } ct; + struct { + long unsigned int cookie; + u32 mark; + u32 labels[4]; + bool orig_dir; + } ct_metadata; + struct { + u32 label; + __be16 proto; + u8 tc; + u8 bos; + u8 ttl; + } mpls_push; + struct { + __be16 proto; + } mpls_pop; + struct { + u32 label; + u8 tc; + u8 bos; + u8 ttl; + } mpls_mangle; + struct { + s32 prio; + long: 32; + u64 basetime; + u64 cycletime; + u64 cycletimeext; + u32 num_entries; + struct action_gate_entry *entries; + } gate; + struct { + u16 sid; + } pppoe; + }; + struct flow_action_cookie *user_cookie; + long: 32; +}; + +struct flow_action { + unsigned int num_entries; + long: 32; + struct flow_action_entry entries[0]; +}; + +struct flow_action_cookie { + u32 cookie_len; + u8 cookie[0]; +}; + +struct flow_block { + struct list_head cb_list; +}; + +typedef int flow_setup_cb_t(enum tc_setup_type, void *, void *); + +struct flow_block_cb; + +struct flow_block_indr { + struct list_head list; + struct net_device *dev; + struct Qdisc *sch; + enum flow_block_binder_type binder_type; + void *data; + void *cb_priv; + void (*cleanup)(struct flow_block_cb *); +}; + +struct flow_block_cb { + struct list_head driver_list; + struct list_head list; + flow_setup_cb_t *cb; + void *cb_ident; + void *cb_priv; + void (*release)(void *); + struct flow_block_indr indr; + unsigned int refcnt; +}; + +struct flow_block_offload { + enum flow_block_command command; + enum flow_block_binder_type binder_type; + bool block_shared; + bool unlocked_driver_cb; + struct net *net; + struct flow_block *block; + struct list_head cb_list; + struct list_head *driver_block_list; + struct netlink_ext_ack *extack; + struct Qdisc *sch; + struct list_head *cb_list_head; +}; + +struct flow_dissector_key { + enum flow_dissector_key_id key_id; + size_t offset; +}; + +struct flow_dissector_key_tipc { + __be32 key; +}; + +struct flow_dissector_key_addrs { + union { + struct flow_dissector_key_ipv4_addrs v4addrs; + struct flow_dissector_key_ipv6_addrs v6addrs; + struct flow_dissector_key_tipc tipckey; + }; +}; + +struct flow_dissector_key_arp { + __u32 sip; + __u32 tip; + __u8 op; + unsigned char sha[6]; + unsigned char tha[6]; +}; + +struct flow_dissector_key_cfm { + u8 mdl_ver; + u8 opcode; +}; + +struct flow_dissector_key_control { + u16 thoff; + u16 addr_type; + u32 flags; +}; + +struct flow_dissector_key_ct { + u16 ct_state; + u16 ct_zone; + u32 ct_mark; + u32 ct_labels[4]; +}; + +struct flow_dissector_key_enc_opts { + u8 data[255]; + u8 len; + u32 dst_opt_type; +}; + +struct flow_dissector_key_hash { + u32 hash; +}; + +struct flow_dissector_key_icmp { + struct { + u8 type; + u8 code; + }; + u16 id; +}; + +struct flow_dissector_key_ipsec { + __be32 spi; +}; + +struct flow_dissector_key_keyid { + __be32 keyid; +}; + +struct flow_dissector_key_l2tpv3 { + __be32 session_id; +}; + +struct flow_dissector_key_meta { + int ingress_ifindex; + u16 ingress_iftype; + u8 l2_miss; +}; + +struct flow_dissector_mpls_lse { + u32 mpls_ttl: 8; + u32 mpls_bos: 1; + u32 mpls_tc: 3; + u32 mpls_label: 20; +}; + +struct flow_dissector_key_mpls { + struct flow_dissector_mpls_lse ls[7]; + u8 used_lses; +}; + +struct flow_dissector_key_num_of_vlans { + u8 num_of_vlans; +}; + +struct flow_dissector_key_ports_range { + union { + struct flow_dissector_key_ports tp; + struct { + struct flow_dissector_key_ports tp_min; + struct flow_dissector_key_ports tp_max; + }; + }; +}; + +struct flow_dissector_key_pppoe { + __be16 session_id; + __be16 ppp_proto; + __be16 type; +}; + +struct flow_dissector_key_tags { + u32 flow_label; +}; + +struct flow_dissector_key_tcp { + __be16 flags; +}; + +struct flow_indir_dev_info { + void *data; + struct net_device *dev; + struct Qdisc *sch; + enum tc_setup_type type; + void (*cleanup)(struct flow_block_cb *); + struct list_head list; + enum flow_block_command command; + enum flow_block_binder_type binder_type; + struct list_head *cb_list; +}; + +typedef int flow_indr_block_bind_cb_t(struct net_device *, struct Qdisc *, void *, enum tc_setup_type, void *, void *, void (*)(struct flow_block_cb *)); + +struct flow_indr_dev { + struct list_head list; + flow_indr_block_bind_cb_t *cb; + void *cb_priv; + refcount_t refcnt; +}; + +struct flow_keys { + struct flow_dissector_key_control control; + struct flow_dissector_key_basic basic; + struct flow_dissector_key_tags tags; + struct flow_dissector_key_vlan vlan; + struct flow_dissector_key_vlan cvlan; + struct flow_dissector_key_keyid keyid; + struct flow_dissector_key_ports ports; + struct flow_dissector_key_icmp icmp; + struct flow_dissector_key_addrs addrs; + long: 32; +}; + +struct flow_keys_basic { + struct flow_dissector_key_control control; + struct flow_dissector_key_basic basic; +}; + +struct flow_keys_digest { + u8 data[16]; +}; + +struct flow_match { + struct flow_dissector *dissector; + void *mask; + void *key; +}; + +struct flow_match_arp { + struct flow_dissector_key_arp *key; + struct flow_dissector_key_arp *mask; +}; + +struct flow_match_basic { + struct flow_dissector_key_basic *key; + struct flow_dissector_key_basic *mask; +}; + +struct flow_match_control { + struct flow_dissector_key_control *key; + struct flow_dissector_key_control *mask; +}; + +struct flow_match_ct { + struct flow_dissector_key_ct *key; + struct flow_dissector_key_ct *mask; +}; + +struct flow_match_enc_keyid { + struct flow_dissector_key_keyid *key; + struct flow_dissector_key_keyid *mask; +}; + +struct flow_match_enc_opts { + struct flow_dissector_key_enc_opts *key; + struct flow_dissector_key_enc_opts *mask; +}; + +struct flow_match_eth_addrs { + struct flow_dissector_key_eth_addrs *key; + struct flow_dissector_key_eth_addrs *mask; +}; + +struct flow_match_icmp { + struct flow_dissector_key_icmp *key; + struct flow_dissector_key_icmp *mask; +}; + +struct flow_match_ip { + struct flow_dissector_key_ip *key; + struct flow_dissector_key_ip *mask; +}; + +struct flow_match_ipsec { + struct flow_dissector_key_ipsec *key; + struct flow_dissector_key_ipsec *mask; +}; + +struct flow_match_ipv4_addrs { + struct flow_dissector_key_ipv4_addrs *key; + struct flow_dissector_key_ipv4_addrs *mask; +}; + +struct flow_match_ipv6_addrs { + struct flow_dissector_key_ipv6_addrs *key; + struct flow_dissector_key_ipv6_addrs *mask; +}; + +struct flow_match_l2tpv3 { + struct flow_dissector_key_l2tpv3 *key; + struct flow_dissector_key_l2tpv3 *mask; +}; + +struct flow_match_meta { + struct flow_dissector_key_meta *key; + struct flow_dissector_key_meta *mask; +}; + +struct flow_match_mpls { + struct flow_dissector_key_mpls *key; + struct flow_dissector_key_mpls *mask; +}; + +struct flow_match_ports { + struct flow_dissector_key_ports *key; + struct flow_dissector_key_ports *mask; +}; + +struct flow_match_ports_range { + struct flow_dissector_key_ports_range *key; + struct flow_dissector_key_ports_range *mask; +}; + +struct flow_match_pppoe { + struct flow_dissector_key_pppoe *key; + struct flow_dissector_key_pppoe *mask; +}; + +struct flow_match_tcp { + struct flow_dissector_key_tcp *key; + struct flow_dissector_key_tcp *mask; +}; + +struct flow_match_vlan { + struct flow_dissector_key_vlan *key; + struct flow_dissector_key_vlan *mask; +}; + +struct flow_stats { + u64 pkts; + u64 bytes; + u64 drops; + u64 lastused; + enum flow_action_hw_stats used_hw_stats; + bool used_hw_stats_valid; +}; + +struct flow_offload_action { + struct netlink_ext_ack *extack; + enum offload_act_command command; + enum flow_action_id id; + u32 index; + long unsigned int cookie; + long: 32; + struct flow_stats stats; + struct flow_action action; +}; + +struct flow_rule { + struct flow_match match; + long: 32; + struct flow_action action; +}; + +struct flowi_tunnel { + __be64 tun_id; +}; + +struct flowi_common { + int flowic_oif; + int flowic_iif; + int flowic_l3mdev; + __u32 flowic_mark; + __u8 flowic_tos; + __u8 flowic_scope; + __u8 flowic_proto; + __u8 flowic_flags; + __u32 flowic_secid; + kuid_t flowic_uid; + __u32 flowic_multipath_hash; + struct flowi_tunnel flowic_tun_key; +}; + +union flowi_uli { + struct { + __be16 dport; + __be16 sport; + } ports; + struct { + __u8 type; + __u8 code; + } icmpt; + __be32 gre_key; + struct { + __u8 type; + } mht; +}; + +struct flowi4 { + struct flowi_common __fl_common; + __be32 saddr; + __be32 daddr; + union flowi_uli uli; + long: 32; +}; + +struct flowi6 { + struct flowi_common __fl_common; + struct in6_addr daddr; + struct in6_addr saddr; + __be32 flowlabel; + union flowi_uli uli; + __u32 mp_hash; + long: 32; +}; + +struct flowi { + union { + struct flowi_common __fl_common; + struct flowi4 ip4; + struct flowi6 ip6; + } u; +}; + +struct flush_backlogs { + cpumask_t flush_cpus; + struct work_struct w[0]; +}; + +struct fmt { + const char *str; + unsigned char state; + unsigned char size; +}; + +struct fnhe_hash_bucket { + struct fib_nh_exception *chain; +}; + +struct page_pool; + +struct page { + long unsigned int flags; + union { + struct { + union { + struct list_head lru; + struct { + void *__filler; + unsigned int mlock_count; + }; + struct list_head buddy_list; + struct list_head pcp_list; + }; + struct address_space *mapping; + union { + long unsigned int index; + long unsigned int share; + }; + long unsigned int private; + }; + struct { + long unsigned int pp_magic; + struct page_pool *pp; + long unsigned int _pp_mapping_pad; + long unsigned int dma_addr; + atomic_long_t pp_ref_count; + }; + struct { + long unsigned int compound_head; + }; + struct { + struct dev_pagemap *pgmap; + void *zone_device_data; + }; + struct callback_head callback_head; + }; + union { + unsigned int page_type; + atomic_t _mapcount; + }; + atomic_t _refcount; +}; + +struct folio { + union { + struct { + long unsigned int flags; + union { + struct list_head lru; + struct { + void *__filler; + unsigned int mlock_count; + }; + }; + struct address_space *mapping; + long unsigned int index; + union { + void *private; + swp_entry_t swap; + }; + atomic_t _mapcount; + atomic_t _refcount; + }; + struct page page; + }; + union { + struct { + long unsigned int _flags_1; + long unsigned int _head_1; + atomic_t _large_mapcount; + atomic_t _entire_mapcount; + atomic_t _nr_pages_mapped; + atomic_t _pincount; + }; + struct page __page_1; + }; + union { + struct { + long unsigned int _flags_2; + long unsigned int _head_2; + void *_hugetlb_subpool; + void *_hugetlb_cgroup; + void *_hugetlb_cgroup_rsvd; + void *_hugetlb_hwpoison; + }; + struct { + long unsigned int _flags_2a; + long unsigned int _head_2a; + struct list_head _deferred_list; + }; + struct page __page_2; + }; +}; + +struct folio_queue { + struct folio_batch vec; + u8 orders[31]; + struct folio_queue *next; + struct folio_queue *prev; + long unsigned int marks; + long unsigned int marks2; + long unsigned int marks3; + unsigned int rreq_id; + unsigned int debug_id; +}; + +struct mem_cgroup; + +struct folio_referenced_arg { + int mapcount; + int referenced; + long unsigned int vm_flags; + struct mem_cgroup *memcg; +}; + +struct folio_walk { + struct page *page; + enum folio_walk_level level; + union { + pte_t *ptep; + pud_t *pudp; + pmd_t *pmdp; + }; + union { + pte_t pte; + pud_t pud; + pmd_t pmd; + }; + struct vm_area_struct *vma; + spinlock_t *ptl; +}; + +struct follow_page_context { + struct dev_pagemap *pgmap; + unsigned int page_mask; +}; + +struct follow_pfnmap_args { + struct vm_area_struct *vma; + long unsigned int address; + spinlock_t *lock; + pte_t *ptep; + long unsigned int pfn; + pgprot_t pgprot; + bool writable; + bool special; +}; + +struct format_state___2 { + unsigned char state; + unsigned char size; + unsigned char flags_or_double_size; + unsigned char base; +}; + +struct pid; + +struct fown_struct { + struct file *file; + rwlock_t lock; + struct pid *pid; + enum pid_type pid_type; + kuid_t uid; + kuid_t euid; + int signum; +}; + +struct fp_hard_struct { + unsigned int save[35]; +}; + +struct fp_soft_struct { + unsigned int save[35]; +}; + +union fp_state { + struct fp_hard_struct hard; + struct fp_soft_struct soft; +}; + +struct fprop_global { + struct percpu_counter events; + unsigned int period; + seqcount_t sequence; +}; + +typedef u32 (*rht_hashfn_t)(const void *, u32, u32); + +typedef u32 (*rht_obj_hashfn_t)(const void *, u32, u32); + +struct rhashtable_compare_arg; + +typedef int (*rht_obj_cmpfn_t)(struct rhashtable_compare_arg *, const void *); + +struct rhashtable_params { + u16 nelem_hint; + u16 key_len; + u16 key_offset; + u16 head_offset; + unsigned int max_size; + u16 min_size; + bool automatic_shrinking; + rht_hashfn_t hashfn; + rht_obj_hashfn_t obj_hashfn; + rht_obj_cmpfn_t obj_cmpfn; +}; + +struct rhashtable { + struct bucket_table *tbl; + unsigned int key_len; + unsigned int max_elems; + struct rhashtable_params p; + bool rhlist; + struct work_struct run_work; + struct mutex mutex; + spinlock_t lock; + atomic_t nelems; +}; + +struct inet_frags; + +struct fqdir { + long int high_thresh; + long int low_thresh; + int timeout; + int max_dist; + struct inet_frags *f; + struct net *net; + bool dead; + struct rhashtable rhashtable; + atomic_long_t mem; + struct work_struct destroy_work; + struct llist_node free_list; +}; + +struct frag_hdr { + __u8 nexthdr; + __u8 reserved; + __be16 frag_off; + __be32 identification; +}; + +struct frag_v4_compare_key { + __be32 saddr; + __be32 daddr; + u32 user; + u32 vif; + __be16 id; + u16 protocol; +}; + +struct frag_v6_compare_key { + struct in6_addr saddr; + struct in6_addr daddr; + u32 user; + __be32 id; + u32 iif; +}; + +struct inet_frag_queue { + struct rhash_head node; + union { + struct frag_v4_compare_key v4; + struct frag_v6_compare_key v6; + } key; + struct timer_list timer; + spinlock_t lock; + refcount_t refcnt; + struct rb_root rb_fragments; + struct sk_buff *fragments_tail; + struct sk_buff *last_run_head; + long: 32; + ktime_t stamp; + int len; + int meat; + u8 tstamp_type; + __u8 flags; + u16 max_size; + struct fqdir *fqdir; + struct callback_head rcu; +}; + +struct frag_queue { + struct inet_frag_queue q; + int iif; + __u16 nhoffset; + u8 ecn; +}; + +struct frame_tail { + struct frame_tail *fp; + long unsigned int sp; + long unsigned int lr; +}; + +struct freader { + void *buf; + u32 buf_sz; + int err; + long: 32; + union { + struct { + struct file *file; + struct folio *folio; + void *addr; + long: 32; + loff_t folio_off; + bool may_fault; + long: 32; + }; + struct { + const char *data; + long: 32; + u64 data_sz; + }; + }; +}; + +struct free_area { + struct list_head free_list[4]; + long unsigned int nr_free; +}; + +struct p_log { + const char *prefix; + struct fc_log *log; +}; + +struct fs_context_operations; + +struct fs_context { + const struct fs_context_operations *ops; + struct mutex uapi_mutex; + struct file_system_type *fs_type; + void *fs_private; + void *sget_key; + struct dentry *root; + struct user_namespace *user_ns; + struct net *net_ns; + const struct cred *cred; + struct p_log log; + const char *source; + void *security; + void *s_fs_info; + unsigned int sb_flags; + unsigned int sb_flags_mask; + unsigned int s_iflags; + enum fs_context_purpose purpose: 8; + enum fs_context_phase phase: 8; + bool need_free: 1; + bool global: 1; + bool oldapi: 1; + bool exclusive: 1; +}; + +struct fs_parameter; + +struct fs_context_operations { + void (*free)(struct fs_context *); + int (*dup)(struct fs_context *, struct fs_context *); + int (*parse_param)(struct fs_context *, struct fs_parameter *); + int (*parse_monolithic)(struct fs_context *, void *); + int (*get_tree)(struct fs_context *); + int (*reconfigure)(struct fs_context *); +}; + +struct fs_parameter { + const char *key; + enum fs_value_type type: 8; + union { + char *string; + void *blob; + struct filename *name; + struct file *file; + }; + size_t size; + int dirfd; +}; + +struct fs_parse_result; + +typedef int fs_param_type(struct p_log *, const struct fs_parameter_spec *, struct fs_parameter *, struct fs_parse_result *); + +struct fs_parameter_spec { + const char *name; + fs_param_type *type; + u8 opt; + short unsigned int flags; + const void *data; +}; + +struct fs_parse_result { + bool negated; + long: 32; + union { + bool boolean; + int int_32; + unsigned int uint_32; + u64 uint_64; + kuid_t uid; + kgid_t gid; + }; +}; + +struct fs_pin { + wait_queue_head_t wait; + int done; + struct hlist_node s_list; + struct hlist_node m_list; + void (*kill)(struct fs_pin *); +}; + +struct fs_struct { + int users; + spinlock_t lock; + seqcount_spinlock_t seq; + int umask; + int in_exec; + struct path root; + struct path pwd; +}; + +struct fs_sysfs_path { + __u8 len; + __u8 name[128]; +}; + +struct fsnotify_mark_connector { + spinlock_t lock; + unsigned char type; + unsigned char prio; + short unsigned int flags; + union { + void *obj; + struct fsnotify_mark_connector *destroy_next; + }; + struct hlist_head list; +}; + +struct fsnotify_sb_info { + struct fsnotify_mark_connector *sb_marks; + atomic_long_t watched_objects[3]; +}; + +struct fsr_info { + int (*fn)(long unsigned int, unsigned int, struct pt_regs *); + int sig; + int code; + const char *name; +}; + +struct fsuuid2 { + __u8 len; + __u8 uuid[16]; +}; + +struct fsxattr { + __u32 fsx_xflags; + __u32 fsx_extsize; + __u32 fsx_nextents; + __u32 fsx_projid; + __u32 fsx_cowextsize; + unsigned char fsx_pad[8]; +}; + +struct trace_seq { + char buffer[8172]; + struct seq_buf seq; + size_t readpos; + int full; +}; + +struct tracer; + +struct ring_buffer_iter; + +struct trace_iterator { + struct trace_array *tr; + struct tracer *trace; + struct array_buffer *array_buffer; + void *private; + int cpu_file; + struct mutex mutex; + struct ring_buffer_iter **buffer_iter; + long unsigned int iter_flags; + void *temp; + unsigned int temp_size; + char *fmt; + unsigned int fmt_size; + atomic_t wait_index; + struct trace_seq tmp_seq; + cpumask_var_t started; + bool closed; + bool snapshot; + struct trace_seq seq; + struct trace_entry *ent; + long unsigned int lost_events; + int leftover; + int ent_size; + int cpu; + u64 ts; + loff_t pos; + long int idx; + long: 32; +}; + +struct ftrace_buffer_info { + struct trace_iterator iter; + void *spare; + unsigned int spare_cpu; + unsigned int spare_size; + unsigned int read; +}; + +struct ftrace_entry { + struct trace_entry ent; + long unsigned int ip; + long unsigned int parent_ip; +}; + +struct ftrace_event_field { + struct list_head link; + const char *name; + const char *type; + int filter_type; + int offset; + int size; + unsigned int is_signed: 1; + unsigned int needs_test: 1; + int len; +}; + +struct ftrace_func_command { + struct list_head list; + char *name; + int (*func)(struct trace_array *, struct ftrace_hash *, char *, char *, char *, int); +}; + +struct ftrace_func_entry { + struct hlist_node hlist; + long unsigned int ip; + long unsigned int direct; +}; + +struct ftrace_func_map { + struct ftrace_func_entry entry; + void *data; +}; + +struct ftrace_hash { + long unsigned int size_bits; + struct hlist_head *buckets; + long unsigned int count; + long unsigned int flags; + struct callback_head rcu; +}; + +struct ftrace_func_mapper { + struct ftrace_hash hash; +}; + +struct ftrace_probe_ops; + +struct ftrace_func_probe { + struct ftrace_probe_ops *probe_ops; + struct ftrace_ops ops; + struct trace_array *tr; + struct list_head list; + void *data; + int ref; +}; + +struct ftrace_glob { + char *search; + unsigned int len; + int type; +}; + +struct trace_parser { + bool cont; + char *buffer; + unsigned int idx; + unsigned int size; +}; + +struct ftrace_graph_data { + struct ftrace_hash *hash; + struct ftrace_func_entry *entry; + int idx; + enum graph_filter_type type; + struct ftrace_hash *new_hash; + const struct seq_operations *seq_ops; + struct trace_parser parser; +}; + +struct ftrace_init_func { + struct list_head list; + long unsigned int ip; +}; + +struct ftrace_page; + +struct ftrace_iterator { + loff_t pos; + loff_t func_pos; + loff_t mod_pos; + struct ftrace_page *pg; + struct dyn_ftrace *func; + struct ftrace_func_probe *probe; + struct ftrace_func_entry *probe_entry; + struct trace_parser parser; + struct ftrace_hash *hash; + struct ftrace_ops *ops; + struct trace_array *tr; + struct list_head *mod_list; + int pidx; + int idx; + unsigned int flags; + long: 32; +}; + +struct ftrace_mod_func { + struct list_head list; + char *name; + long unsigned int ip; + unsigned int size; +}; + +struct ftrace_mod_load { + struct list_head list; + char *func; + char *module; + int enable; +}; + +struct ftrace_mod_map { + struct callback_head rcu; + struct list_head list; + struct module *mod; + long unsigned int start_addr; + long unsigned int end_addr; + struct list_head funcs; + unsigned int num_funcs; +}; + +struct ftrace_page { + struct ftrace_page *next; + struct dyn_ftrace *records; + int index; + int order; +}; + +struct ftrace_probe_ops { + void (*func)(long unsigned int, long unsigned int, struct trace_array *, struct ftrace_probe_ops *, void *); + int (*init)(struct ftrace_probe_ops *, struct trace_array *, long unsigned int, void *, void **); + void (*free)(struct ftrace_probe_ops *, struct trace_array *, long unsigned int, void *); + int (*print)(struct seq_file *, long unsigned int, struct ftrace_probe_ops *, void *); +}; + +struct ftrace_rec_iter { + struct ftrace_page *pg; + int index; +}; + +struct ftrace_regs {}; + +struct ftrace_ret_stack { + long unsigned int ret; + long unsigned int func; + long unsigned int fp; + long unsigned int *retp; +}; + +struct ftrace_stack { + long unsigned int calls[1024]; +}; + +struct ftrace_stacks { + struct ftrace_stack stacks[4]; +}; + +struct func_repeats_entry { + struct trace_entry ent; + long unsigned int ip; + long unsigned int parent_ip; + u16 count; + u16 top_delta_ts; + u32 bottom_delta_ts; +}; + +struct function_filter_data { + struct ftrace_ops *ops; + int first_filter; + int first_notrace; +}; + +union fwnet_hwaddr { + u8 u[16]; + struct { + __be64 uniq_id; + u8 max_rec; + u8 sspd; + u8 fifo[6]; + } uc; +}; + +struct fwnode_endpoint { + unsigned int port; + unsigned int id; + const struct fwnode_handle *local_fwnode; +}; + +struct fwnode_link { + struct fwnode_handle *supplier; + struct list_head s_hook; + struct fwnode_handle *consumer; + struct list_head c_hook; + u8 flags; +}; + +struct fwnode_reference_args; + +struct fwnode_operations { + struct fwnode_handle * (*get)(struct fwnode_handle *); + void (*put)(struct fwnode_handle *); + bool (*device_is_available)(const struct fwnode_handle *); + const void * (*device_get_match_data)(const struct fwnode_handle *, const struct device *); + bool (*device_dma_supported)(const struct fwnode_handle *); + enum dev_dma_attr (*device_get_dma_attr)(const struct fwnode_handle *); + bool (*property_present)(const struct fwnode_handle *, const char *); + bool (*property_read_bool)(const struct fwnode_handle *, const char *); + int (*property_read_int_array)(const struct fwnode_handle *, const char *, unsigned int, void *, size_t); + int (*property_read_string_array)(const struct fwnode_handle *, const char *, const char **, size_t); + const char * (*get_name)(const struct fwnode_handle *); + const char * (*get_name_prefix)(const struct fwnode_handle *); + struct fwnode_handle * (*get_parent)(const struct fwnode_handle *); + struct fwnode_handle * (*get_next_child_node)(const struct fwnode_handle *, struct fwnode_handle *); + struct fwnode_handle * (*get_named_child_node)(const struct fwnode_handle *, const char *); + int (*get_reference_args)(const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *); + struct fwnode_handle * (*graph_get_next_endpoint)(const struct fwnode_handle *, struct fwnode_handle *); + struct fwnode_handle * (*graph_get_remote_endpoint)(const struct fwnode_handle *); + struct fwnode_handle * (*graph_get_port_parent)(struct fwnode_handle *); + int (*graph_parse_endpoint)(const struct fwnode_handle *, struct fwnode_endpoint *); + void * (*iomap)(struct fwnode_handle *, int); + int (*irq_get)(const struct fwnode_handle *, unsigned int); + int (*add_links)(struct fwnode_handle *); +}; + +struct fwnode_reference_args { + struct fwnode_handle *fwnode; + unsigned int nargs; + u64 args[8]; +}; + +struct pcpu_gen_cookie; + +struct gen_cookie { + struct pcpu_gen_cookie *local; + long: 32; + atomic64_t forward_last; + atomic64_t reverse_last; +}; + +struct gen_pool; + +typedef long unsigned int (*genpool_algo_t)(long unsigned int *, long unsigned int, long unsigned int, unsigned int, void *, struct gen_pool *, long unsigned int); + +struct gen_pool { + spinlock_t lock; + struct list_head chunks; + int min_alloc_order; + genpool_algo_t algo; + void *data; + const char *name; +}; + +struct gen_pool_chunk { + struct list_head next_chunk; + atomic_long_t avail; + phys_addr_t phys_addr; + void *owner; + long unsigned int start_addr; + long unsigned int end_addr; + long unsigned int bits[0]; +}; + +struct disk_events; + +struct badblocks; + +struct timer_rand_state; + +struct gendisk { + int major; + int first_minor; + int minors; + char disk_name[32]; + short unsigned int events; + short unsigned int event_flags; + struct xarray part_tbl; + struct block_device *part0; + const struct block_device_operations *fops; + struct request_queue *queue; + void *private_data; + struct bio_set bio_split; + int flags; + long unsigned int state; + struct mutex open_mutex; + unsigned int open_partitions; + struct backing_dev_info *bdi; + struct kobject queue_kobj; + struct kobject *slave_dir; + struct timer_rand_state *random; + atomic_t sync_io; + struct disk_events *ev; + int node_id; + struct badblocks *bb; + struct lockdep_map lockdep_map; + long: 32; + u64 diskseq; + blk_mode_t open_mode; + struct blk_independent_access_ranges *ia_ranges; +}; + +struct geneve_opt { + __be16 opt_class; + u8 type; + u8 length: 5; + u8 r3: 1; + u8 r2: 1; + u8 r1: 1; + u8 opt_data[0]; +}; + +struct netlink_callback; + +struct nla_policy; + +struct genl_split_ops { + union { + struct { + int (*pre_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); + int (*doit)(struct sk_buff *, struct genl_info *); + void (*post_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); + }; + struct { + int (*start)(struct netlink_callback *); + int (*dumpit)(struct sk_buff *, struct netlink_callback *); + int (*done)(struct netlink_callback *); + }; + }; + const struct nla_policy *policy; + unsigned int maxattr; + u8 cmd; + u8 internal_flags; + u8 flags; + u8 validate; +}; + +struct genlmsghdr; + +struct genl_info { + u32 snd_seq; + u32 snd_portid; + const struct genl_family *family; + const struct nlmsghdr *nlhdr; + struct genlmsghdr *genlhdr; + struct nlattr **attrs; + possible_net_t _net; + union { + u8 ctx[48]; + void *user_ptr[2]; + }; + struct netlink_ext_ack *extack; +}; + +struct genl_dumpit_info { + struct genl_split_ops op; + struct genl_info info; +}; + +struct genl_ops; + +struct genl_small_ops; + +struct genl_multicast_group; + +struct genl_family { + unsigned int hdrsize; + char name[16]; + unsigned int version; + unsigned int maxattr; + u8 netnsok: 1; + u8 parallel_ops: 1; + u8 n_ops; + u8 n_small_ops; + u8 n_split_ops; + u8 n_mcgrps; + u8 resv_start_op; + const struct nla_policy *policy; + int (*pre_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); + void (*post_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); + int (*bind)(int); + void (*unbind)(int); + const struct genl_ops *ops; + const struct genl_small_ops *small_ops; + const struct genl_split_ops *split_ops; + const struct genl_multicast_group *mcgrps; + struct module *module; + size_t sock_priv_size; + void (*sock_priv_init)(void *); + void (*sock_priv_destroy)(void *); + int id; + unsigned int mcgrp_offset; + struct xarray *sock_privs; +}; + +struct genl_multicast_group { + char name[16]; + u8 flags; +}; + +struct genl_op_iter { + const struct genl_family *family; + struct genl_split_ops doit; + struct genl_split_ops dumpit; + int cmd_idx; + int entry_idx; + u32 cmd; + u8 flags; +}; + +struct genl_ops { + int (*doit)(struct sk_buff *, struct genl_info *); + int (*start)(struct netlink_callback *); + int (*dumpit)(struct sk_buff *, struct netlink_callback *); + int (*done)(struct netlink_callback *); + const struct nla_policy *policy; + unsigned int maxattr; + u8 cmd; + u8 internal_flags; + u8 flags; + u8 validate; +}; + +struct genl_small_ops { + int (*doit)(struct sk_buff *, struct genl_info *); + int (*dumpit)(struct sk_buff *, struct netlink_callback *); + u8 cmd; + u8 internal_flags; + u8 flags; + u8 validate; +}; + +struct genl_start_context { + const struct genl_family *family; + struct nlmsghdr *nlh; + struct netlink_ext_ack *extack; + const struct genl_split_ops *ops; + int hdrlen; +}; + +struct genlmsghdr { + __u8 cmd; + __u8 version; + __u16 reserved; +}; + +struct genpool_data_align { + int align; +}; + +struct genpool_data_fixed { + long unsigned int offset; +}; + +struct genradix_iter { + size_t offset; + size_t pos; +}; + +struct genradix_node { + union { + struct genradix_node *children[128]; + u8 data[512]; + }; +}; + +struct getcpu_cache { + long unsigned int blob[32]; +}; + +struct linux_dirent; + +struct getdents_callback { + struct dir_context ctx; + struct linux_dirent *current_dir; + int prev_reclen; + int count; + int error; +}; + +struct linux_dirent64; + +struct getdents_callback64 { + struct dir_context ctx; + struct linux_dirent64 *current_dir; + int prev_reclen; + int count; + int error; +}; + +struct tc_stats { + __u64 bytes; + __u32 packets; + __u32 drops; + __u32 overlimits; + __u32 bps; + __u32 pps; + __u32 qlen; + __u32 backlog; + long: 32; +}; + +struct gnet_dump { + spinlock_t *lock; + struct sk_buff *skb; + struct nlattr *tail; + int compat_tc_stats; + int compat_xstats; + int padattr; + void *xstats; + int xstats_len; + struct tc_stats tc_stats; +}; + +struct gnet_estimator { + signed char interval; + unsigned char ewma_log; +}; + +struct gnet_stats_basic { + __u64 bytes; + __u32 packets; + long: 32; +}; + +struct gnet_stats_rate_est { + __u32 bps; + __u32 pps; +}; + +struct gnet_stats_rate_est64 { + __u64 bps; + __u64 pps; +}; + +struct gre_base_hdr { + __be16 flags; + __be16 protocol; +}; + +struct gre_full_hdr { + struct gre_base_hdr fixed_header; + __be16 csum; + __be16 reserved1; + __be32 key; + __be32 seq; +}; + +struct gro_list { + struct list_head list; + int count; +}; + +struct napi_config; + +struct napi_struct { + struct list_head poll_list; + long unsigned int state; + int weight; + u32 defer_hard_irqs_count; + long unsigned int gro_bitmask; + int (*poll)(struct napi_struct *, int); + int list_owner; + struct net_device *dev; + struct gro_list gro_hash[8]; + struct sk_buff *skb; + struct list_head rx_list; + int rx_count; + unsigned int napi_id; + struct hrtimer timer; + struct task_struct *thread; + long unsigned int gro_flush_timeout; + long unsigned int irq_suspend_timeout; + u32 defer_hard_irqs; + struct list_head dev_list; + struct hlist_node napi_hash_node; + int irq; + int index; + struct napi_config *config; + long: 32; +}; + +struct gro_cell { + struct sk_buff_head napi_skbs; + long: 32; + struct napi_struct napi; +}; + +struct gro_cells { + struct gro_cell *cells; +}; + +struct group_filter { + union { + struct { + __u32 gf_interface_aux; + struct __kernel_sockaddr_storage gf_group_aux; + __u32 gf_fmode_aux; + __u32 gf_numsrc_aux; + struct __kernel_sockaddr_storage gf_slist[1]; + }; + struct { + __u32 gf_interface; + struct __kernel_sockaddr_storage gf_group; + __u32 gf_fmode; + __u32 gf_numsrc; + struct __kernel_sockaddr_storage gf_slist_flex[0]; + }; + }; +}; + +struct group_info { + refcount_t usage; + int ngroups; + kgid_t gid[0]; +}; + +struct group_req { + __u32 gr_interface; + struct __kernel_sockaddr_storage gr_group; +}; + +struct group_source_req { + __u32 gsr_interface; + struct __kernel_sockaddr_storage gsr_group; + struct __kernel_sockaddr_storage gsr_source; +}; + +struct handle_to_path_ctx { + struct path root; + enum handle_to_path_flags flags; + unsigned int fh_flags; +}; + +struct hh_cache; + +struct header_ops { + int (*create)(struct sk_buff *, struct net_device *, short unsigned int, const void *, const void *, unsigned int); + int (*parse)(const struct sk_buff *, unsigned char *); + int (*cache)(const struct neighbour *, struct hh_cache *, __be16); + void (*cache_update)(struct hh_cache *, const struct net_device *, const unsigned char *); + bool (*validate)(const char *, unsigned int); + __be16 (*parse_protocol)(const struct sk_buff *); +}; + +struct hh_cache { + unsigned int hh_len; + seqlock_t hh_lock; + long unsigned int hh_data[8]; +}; + +struct hlist_bl_head { + struct hlist_bl_node *first; +}; + +struct hlist_nulls_node { + struct hlist_nulls_node *next; + struct hlist_nulls_node **pprev; +}; + +struct hop_jumbo_hdr { + u8 nexthdr; + u8 hdrlen; + u8 tlv_type; + u8 tlv_len; + __be32 jumbo_payload_len; +}; + +struct hprobe { + enum hprobe_state state; + int srcu_idx; + struct uprobe *uprobe; +}; + +struct seqcount_raw_spinlock { + seqcount_t seqcount; +}; + +typedef struct seqcount_raw_spinlock seqcount_raw_spinlock_t; + +struct hrtimer_cpu_base; + +struct hrtimer_clock_base { + struct hrtimer_cpu_base *cpu_base; + unsigned int index; + clockid_t clockid; + seqcount_raw_spinlock_t seq; + struct hrtimer *running; + struct timerqueue_head active; + ktime_t (*get_time)(void); + ktime_t offset; +}; + +struct hrtimer_cpu_base { + raw_spinlock_t lock; + unsigned int cpu; + unsigned int active_bases; + unsigned int clock_was_set_seq; + unsigned int hres_active: 1; + unsigned int in_hrtirq: 1; + unsigned int hang_detected: 1; + unsigned int softirq_activated: 1; + unsigned int online: 1; + ktime_t expires_next; + struct hrtimer *next_timer; + long: 32; + ktime_t softirq_expires_next; + struct hrtimer *softirq_next_timer; + long: 32; + struct hrtimer_clock_base clock_base[8]; + call_single_data_t csd; +}; + +struct hrtimer_sleeper { + struct hrtimer timer; + struct task_struct *task; + long: 32; +}; + +struct hsr_tag { + __be16 path_and_LSDU_size; + __be16 sequence_nr; + __be16 encap_proto; +}; + +struct hstate {}; + +struct pcpu_freelist_node { + struct pcpu_freelist_node *next; +}; + +struct htab_elem { + union { + struct hlist_nulls_node hash_node; + struct { + void *padding; + union { + struct pcpu_freelist_node fnode; + struct htab_elem *batch_flink; + }; + }; + }; + union { + void *ptr_to_pptr; + struct bpf_lru_node lru_node; + }; + u32 hash; + char key[0]; +}; + +struct hw_perf_event_extra { + u64 config; + unsigned int reg; + int alloc; + int idx; + long: 32; +}; + +struct rhlist_head { + struct rhash_head rhead; + struct rhlist_head *next; +}; + +struct hw_perf_event { + union { + struct { + u64 config; + u64 last_tag; + long unsigned int config_base; + long unsigned int event_base; + int event_base_rdpmc; + int idx; + int last_cpu; + int flags; + struct hw_perf_event_extra extra_reg; + struct hw_perf_event_extra branch_reg; + }; + struct { + u64 aux_config; + unsigned int aux_paused; + long: 32; + }; + struct { + struct hrtimer hrtimer; + }; + struct { + struct list_head tp_list; + }; + struct { + u64 pwr_acc; + u64 ptsc; + }; + struct { + struct arch_hw_breakpoint info; + struct rhlist_head bp_list; + }; + struct { + u8 iommu_bank; + u8 iommu_cntr; + u16 padding; + long: 32; + u64 conf; + u64 conf1; + }; + }; + struct task_struct *target; + void *addr_filters; + long unsigned int addr_filters_gen; + int state; + local64_t prev_count; + u64 sample_period; + union { + struct { + u64 last_period; + local64_t period_left; + }; + struct { + u64 saved_metric; + u64 saved_slots; + }; + }; + u64 interrupts_seq; + u64 interrupts; + u64 freq_time_stamp; + u64 freq_count_stamp; +}; + +struct hw_port_info { + struct net_device *lower_dev; + u32 port_id; +}; + +struct timespec64 { + time64_t tv_sec; + long int tv_nsec; + long: 32; +}; + +struct hwlat_entry { + struct trace_entry ent; + u64 duration; + u64 outer_duration; + u64 nmi_total_ts; + struct timespec64 timestamp; + unsigned int nmi_count; + unsigned int seqnum; + unsigned int count; + long: 32; +}; + +struct hwtstamp_config { + int flags; + int tx_type; + int rx_filter; +}; + +struct hwtstamp_provider_desc { + int index; + enum hwtstamp_provider_qualifier qualifier; +}; + +struct hwtstamp_provider { + struct callback_head callback_head; + enum hwtstamp_source source; + struct phy_device *phydev; + struct hwtstamp_provider_desc desc; +}; + +struct iattr { + unsigned int ia_valid; + umode_t ia_mode; + union { + kuid_t ia_uid; + vfsuid_t ia_vfsuid; + }; + union { + kgid_t ia_gid; + vfsgid_t ia_vfsgid; + }; + loff_t ia_size; + struct timespec64 ia_atime; + struct timespec64 ia_mtime; + struct timespec64 ia_ctime; + struct file *ia_file; + long: 32; +}; + +struct icmp6_err { + int err; + int fatal; +}; + +struct icmp6_filter { + __u32 data[8]; +}; + +struct icmpv6_echo { + __be16 identifier; + __be16 sequence; +}; + +struct icmpv6_nd_advt { + __u32 reserved: 5; + __u32 override: 1; + __u32 solicited: 1; + __u32 router: 1; + __u32 reserved2: 24; +}; + +struct icmpv6_nd_ra { + __u8 hop_limit; + __u8 reserved: 3; + __u8 router_pref: 2; + __u8 home_agent: 1; + __u8 other: 1; + __u8 managed: 1; + __be16 rt_lifetime; +}; + +struct icmp6hdr { + __u8 icmp6_type; + __u8 icmp6_code; + __sum16 icmp6_cksum; + union { + __be32 un_data32[1]; + __be16 un_data16[2]; + __u8 un_data8[4]; + struct icmpv6_echo u_echo; + struct icmpv6_nd_advt u_nd_advt; + struct icmpv6_nd_ra u_nd_ra; + } icmp6_dataun; +}; + +struct icmphdr { + __u8 type; + __u8 code; + __sum16 checksum; + union { + struct { + __be16 id; + __be16 sequence; + } echo; + __be32 gateway; + struct { + __be16 __unused; + __be16 mtu; + } frag; + __u8 reserved[4]; + } un; +}; + +struct ip_options { + __be32 faddr; + __be32 nexthop; + unsigned char optlen; + unsigned char srr; + unsigned char rr; + unsigned char ts; + unsigned char is_strictroute: 1; + unsigned char srr_is_hit: 1; + unsigned char is_changed: 1; + unsigned char rr_needaddr: 1; + unsigned char ts_needtime: 1; + unsigned char ts_needaddr: 1; + unsigned char router_alert; + unsigned char cipso; + unsigned char __pad2; + unsigned char __data[0]; +}; + +struct ip_options_rcu { + struct callback_head rcu; + struct ip_options opt; +}; + +struct ip_options_data { + struct ip_options_rcu opt; + char data[40]; +}; + +struct icmp_bxm { + struct sk_buff *skb; + int offset; + int data_len; + struct { + struct icmphdr icmph; + __be32 times[3]; + } data; + int head_len; + struct ip_options_data replyopts; +}; + +struct icmp_control { + enum skb_drop_reason (*handler)(struct sk_buff *); + short int error; +}; + +struct icmp_err { + int errno; + unsigned int fatal: 1; +}; + +struct icmp_ext_echo_ctype3_hdr { + __be16 afi; + __u8 addrlen; + __u8 reserved; +}; + +struct icmp_extobj_hdr { + __be16 length; + __u8 class_num; + __u8 class_type; +}; + +struct icmp_ext_echo_iio { + struct icmp_extobj_hdr extobj_hdr; + union { + char name[16]; + __be32 ifindex; + struct { + struct icmp_ext_echo_ctype3_hdr ctype3_hdr; + union { + __be32 ipv4_addr; + struct in6_addr ipv6_addr; + } ip_addr; + } addr; + } ident; +}; + +struct icmp_ext_hdr { + __u8 reserved1: 4; + __u8 version: 4; + __u8 reserved2; + __sum16 checksum; +}; + +struct icmp_filter { + __u32 data; +}; + +struct icmp_mib { + long unsigned int mibs[30]; +}; + +struct icmpmsg_mib { + atomic_long_t mibs[512]; +}; + +struct icmpv6_mib { + long unsigned int mibs[7]; +}; + +struct icmpv6_mib_device { + atomic_long_t mibs[7]; +}; + +struct icmpv6_msg { + struct sk_buff *skb; + int offset; + uint8_t type; +}; + +struct icmpv6msg_mib { + atomic_long_t mibs[512]; +}; + +struct icmpv6msg_mib_device { + atomic_long_t mibs[512]; +}; + +struct ida { + struct xarray xa; +}; + +struct ida_bitmap { + long unsigned int bitmap[32]; +}; + +struct idempotent { + const void *cookie; + struct hlist_node entry; + struct completion complete; + int ret; +}; + +struct idle_timer { + struct hrtimer timer; + int done; + long: 32; +}; + +struct idr { + struct xarray idr_rt; + unsigned int idr_base; + unsigned int idr_next; +}; + +struct if_settings { + unsigned int type; + unsigned int size; + union { + raw_hdlc_proto *raw_hdlc; + cisco_proto *cisco; + fr_proto *fr; + fr_proto_pvc *fr_pvc; + fr_proto_pvc_info *fr_pvc_info; + x25_hdlc_proto *x25; + sync_serial_settings *sync; + te1_settings *te1; + } ifs_ifsu; +}; + +struct if_stats_msg { + __u8 family; + __u8 pad1; + __u16 pad2; + __u32 ifindex; + __u32 filter_mask; +}; + +struct ifa6_config { + const struct in6_addr *pfx; + unsigned int plen; + u8 ifa_proto; + const struct in6_addr *peer_pfx; + u32 rt_priority; + u32 ifa_flags; + u32 preferred_lft; + u32 valid_lft; + u16 scope; +}; + +struct ifa_cacheinfo { + __u32 ifa_prefered; + __u32 ifa_valid; + __u32 cstamp; + __u32 tstamp; +}; + +struct ifacaddr6 { + struct in6_addr aca_addr; + struct fib6_info *aca_rt; + struct ifacaddr6 *aca_next; + struct hlist_node aca_addr_lst; + int aca_users; + refcount_t aca_refcnt; + long unsigned int aca_cstamp; + long unsigned int aca_tstamp; + struct callback_head rcu; +}; + +struct ifaddrlblmsg { + __u8 ifal_family; + __u8 __ifal_reserved; + __u8 ifal_prefixlen; + __u8 ifal_flags; + __u32 ifal_index; + __u32 ifal_seq; +}; + +struct ifaddrmsg { + __u8 ifa_family; + __u8 ifa_prefixlen; + __u8 ifa_flags; + __u8 ifa_scope; + __u32 ifa_index; +}; + +struct ifbond { + __s32 bond_mode; + __s32 num_slaves; + __s32 miimon; +}; + +typedef struct ifbond ifbond; + +struct ifreq; + +struct ifconf { + int ifc_len; + union { + char *ifcu_buf; + struct ifreq *ifcu_req; + } ifc_ifcu; +}; + +struct ifinfomsg { + unsigned char ifi_family; + unsigned char __ifi_pad; + short unsigned int ifi_type; + int ifi_index; + unsigned int ifi_flags; + unsigned int ifi_change; +}; + +struct ifla_cacheinfo { + __u32 max_reasm_len; + __u32 tstamp; + __u32 reachable_time; + __u32 retrans_time; +}; + +struct ifla_vf_broadcast { + __u8 broadcast[32]; +}; + +struct ifla_vf_guid { + __u32 vf; + long: 32; + __u64 guid; +}; + +struct ifla_vf_info { + __u32 vf; + __u8 mac[32]; + __u32 vlan; + __u32 qos; + __u32 spoofchk; + __u32 linkstate; + __u32 min_tx_rate; + __u32 max_tx_rate; + __u32 rss_query_en; + __u32 trusted; + __be16 vlan_proto; +}; + +struct ifla_vf_link_state { + __u32 vf; + __u32 link_state; +}; + +struct ifla_vf_mac { + __u32 vf; + __u8 mac[32]; +}; + +struct ifla_vf_rate { + __u32 vf; + __u32 min_tx_rate; + __u32 max_tx_rate; +}; + +struct ifla_vf_rss_query_en { + __u32 vf; + __u32 setting; +}; + +struct ifla_vf_spoofchk { + __u32 vf; + __u32 setting; +}; + +struct ifla_vf_stats { + __u64 rx_packets; + __u64 tx_packets; + __u64 rx_bytes; + __u64 tx_bytes; + __u64 broadcast; + __u64 multicast; + __u64 rx_dropped; + __u64 tx_dropped; +}; + +struct ifla_vf_trust { + __u32 vf; + __u32 setting; +}; + +struct ifla_vf_tx_rate { + __u32 vf; + __u32 rate; +}; + +struct ifla_vf_vlan { + __u32 vf; + __u32 vlan; + __u32 qos; +}; + +struct ifla_vf_vlan_info { + __u32 vf; + __u32 vlan; + __u32 qos; + __be16 vlan_proto; +}; + +struct ifmap { + long unsigned int mem_start; + long unsigned int mem_end; + short unsigned int base_addr; + unsigned char irq; + unsigned char dma; + unsigned char port; +}; + +struct inet6_dev; + +struct ip6_sf_list; + +struct ifmcaddr6 { + struct in6_addr mca_addr; + struct inet6_dev *idev; + struct ifmcaddr6 *next; + struct ip6_sf_list *mca_sources; + struct ip6_sf_list *mca_tomb; + unsigned int mca_sfmode; + unsigned char mca_crcount; + long unsigned int mca_sfcount[2]; + struct delayed_work mca_work; + unsigned int mca_flags; + int mca_users; + refcount_t mca_refcnt; + long unsigned int mca_cstamp; + long unsigned int mca_tstamp; + struct callback_head rcu; +}; + +struct ifreq { + union { + char ifrn_name[16]; + } ifr_ifrn; + union { + struct sockaddr ifru_addr; + struct sockaddr ifru_dstaddr; + struct sockaddr ifru_broadaddr; + struct sockaddr ifru_netmask; + struct sockaddr ifru_hwaddr; + short int ifru_flags; + int ifru_ivalue; + int ifru_mtu; + struct ifmap ifru_map; + char ifru_slave[16]; + char ifru_newname[16]; + void *ifru_data; + struct if_settings ifru_settings; + } ifr_ifru; +}; + +struct ifslave { + __s32 slave_id; + char slave_name[16]; + __s8 link; + __s8 state; + __u32 link_failure_count; +}; + +typedef struct ifslave ifslave; + +struct igmphdr { + __u8 type; + __u8 code; + __sum16 csum; + __be32 group; +}; + +struct in6_flowlabel_req { + struct in6_addr flr_dst; + __be32 flr_label; + __u8 flr_action; + __u8 flr_share; + __u16 flr_flags; + __u16 flr_expires; + __u16 flr_linger; + __u32 __flr_pad; +}; + +struct in6_ifreq { + struct in6_addr ifr6_addr; + __u32 ifr6_prefixlen; + int ifr6_ifindex; +}; + +struct in6_pktinfo { + struct in6_addr ipi6_addr; + int ipi6_ifindex; +}; + +struct in6_rtmsg { + struct in6_addr rtmsg_dst; + struct in6_addr rtmsg_src; + struct in6_addr rtmsg_gateway; + __u32 rtmsg_type; + __u16 rtmsg_dst_len; + __u16 rtmsg_src_len; + __u32 rtmsg_metric; + long unsigned int rtmsg_info; + __u32 rtmsg_flags; + int rtmsg_ifindex; +}; + +struct in6_validator_info { + struct in6_addr i6vi_addr; + struct inet6_dev *i6vi_dev; + struct netlink_ext_ack *extack; +}; + +struct ipv4_devconf { + void *sysctl; + int data[33]; + long unsigned int state[2]; +}; + +struct in_ifaddr; + +struct ip_mc_list; + +struct neigh_parms; + +struct in_device { + struct net_device *dev; + netdevice_tracker dev_tracker; + refcount_t refcnt; + int dead; + struct in_ifaddr *ifa_list; + struct ip_mc_list *mc_list; + struct ip_mc_list **mc_hash; + int mc_count; + spinlock_t mc_tomb_lock; + struct ip_mc_list *mc_tomb; + long unsigned int mr_v1_seen; + long unsigned int mr_v2_seen; + long unsigned int mr_maxdelay; + long unsigned int mr_qi; + long unsigned int mr_qri; + unsigned char mr_qrv; + unsigned char mr_gq_running; + u32 mr_ifc_count; + struct timer_list mr_gq_timer; + struct timer_list mr_ifc_timer; + struct neigh_parms *arp_parms; + struct ipv4_devconf cnf; + struct callback_head callback_head; +}; + +struct in_ifaddr { + struct hlist_node addr_lst; + struct in_ifaddr *ifa_next; + struct in_device *ifa_dev; + struct callback_head callback_head; + __be32 ifa_local; + __be32 ifa_address; + __be32 ifa_mask; + __u32 ifa_rt_priority; + __be32 ifa_broadcast; + unsigned char ifa_scope; + unsigned char ifa_prefixlen; + unsigned char ifa_proto; + __u32 ifa_flags; + char ifa_label[16]; + __u32 ifa_valid_lft; + __u32 ifa_preferred_lft; + long unsigned int ifa_cstamp; + long unsigned int ifa_tstamp; +}; + +struct in_pktinfo { + int ipi_ifindex; + struct in_addr ipi_spec_dst; + struct in_addr ipi_addr; +}; + +struct in_validator_info { + __be32 ivi_addr; + struct in_device *ivi_dev; + struct netlink_ext_ack *extack; +}; + +struct ipv6_txoptions; + +struct inet6_cork { + struct ipv6_txoptions *opt; + u8 hop_limit; + u8 tclass; +}; + +struct ipv6_stable_secret { + bool initialized; + struct in6_addr secret; +}; + +struct ipv6_devconf { + __u8 __cacheline_group_begin__ipv6_devconf_read_txrx[0]; + __s32 disable_ipv6; + __s32 hop_limit; + __s32 mtu6; + __s32 forwarding; + __s32 disable_policy; + __s32 proxy_ndp; + __u8 __cacheline_group_end__ipv6_devconf_read_txrx[0]; + __s32 accept_ra; + __s32 accept_redirects; + __s32 autoconf; + __s32 dad_transmits; + __s32 rtr_solicits; + __s32 rtr_solicit_interval; + __s32 rtr_solicit_max_interval; + __s32 rtr_solicit_delay; + __s32 force_mld_version; + __s32 mldv1_unsolicited_report_interval; + __s32 mldv2_unsolicited_report_interval; + __s32 use_tempaddr; + __s32 temp_valid_lft; + __s32 temp_prefered_lft; + __s32 regen_min_advance; + __s32 regen_max_retry; + __s32 max_desync_factor; + __s32 max_addresses; + __s32 accept_ra_defrtr; + __u32 ra_defrtr_metric; + __s32 accept_ra_min_hop_limit; + __s32 accept_ra_min_lft; + __s32 accept_ra_pinfo; + __s32 ignore_routes_with_linkdown; + __s32 accept_source_route; + __s32 accept_ra_from_local; + __s32 drop_unicast_in_l2_multicast; + __s32 accept_dad; + __s32 force_tllao; + __s32 ndisc_notify; + __s32 suppress_frag_ndisc; + __s32 accept_ra_mtu; + __s32 drop_unsolicited_na; + __s32 accept_untracked_na; + struct ipv6_stable_secret stable_secret; + __s32 use_oif_addrs_only; + __s32 keep_addr_on_down; + __s32 seg6_enabled; + __u32 enhanced_dad; + __u32 addr_gen_mode; + __s32 ndisc_tclass; + __s32 rpl_seg_enabled; + __u32 ioam6_id; + __u32 ioam6_id_wide; + __u8 ioam6_enabled; + __u8 ndisc_evict_nocarrier; + __u8 ra_honor_pio_life; + __u8 ra_honor_pio_pflag; + struct ctl_table_header *sysctl_header; +}; + +struct proc_dir_entry; + +struct ipstats_mib; + +struct ipv6_devstat { + struct proc_dir_entry *proc_dir_entry; + struct ipstats_mib *ipv6; + struct icmpv6_mib_device *icmpv6dev; + struct icmpv6msg_mib_device *icmpv6msgdev; +}; + +struct inet6_dev { + struct net_device *dev; + netdevice_tracker dev_tracker; + struct list_head addr_list; + struct ifmcaddr6 *mc_list; + struct ifmcaddr6 *mc_tomb; + unsigned char mc_qrv; + unsigned char mc_gq_running; + unsigned char mc_ifc_count; + unsigned char mc_dad_count; + long unsigned int mc_v1_seen; + long unsigned int mc_qi; + long unsigned int mc_qri; + long unsigned int mc_maxdelay; + struct delayed_work mc_gq_work; + struct delayed_work mc_ifc_work; + struct delayed_work mc_dad_work; + struct delayed_work mc_query_work; + struct delayed_work mc_report_work; + struct sk_buff_head mc_query_queue; + struct sk_buff_head mc_report_queue; + spinlock_t mc_query_lock; + spinlock_t mc_report_lock; + struct mutex mc_lock; + struct ifacaddr6 *ac_list; + rwlock_t lock; + refcount_t refcnt; + __u32 if_flags; + int dead; + u32 desync_factor; + struct list_head tempaddr_list; + struct in6_addr token; + struct neigh_parms *nd_parms; + struct ipv6_devconf cnf; + struct ipv6_devstat stats; + struct timer_list rs_timer; + __s32 rs_interval; + __u8 rs_probes; + long unsigned int tstamp; + struct callback_head rcu; + unsigned int ra_mtu; +}; + +struct inet6_fill_args { + u32 portid; + u32 seq; + int event; + unsigned int flags; + int netnsid; + int ifindex; + enum addr_type_t type; + bool force_rt_scope_universe; +}; + +struct inet6_ifaddr { + struct in6_addr addr; + __u32 prefix_len; + __u32 rt_priority; + __u32 valid_lft; + __u32 prefered_lft; + refcount_t refcnt; + spinlock_t lock; + int state; + __u32 flags; + __u8 dad_probes; + __u8 stable_privacy_retry; + __u16 scope; + __u64 dad_nonce; + long unsigned int cstamp; + long unsigned int tstamp; + struct delayed_work dad_work; + struct inet6_dev *idev; + struct fib6_info *rt; + struct hlist_node addr_lst; + struct list_head if_list; + struct list_head if_list_aux; + struct list_head tmp_list; + struct inet6_ifaddr *ifpub; + int regen_count; + bool tokenized; + u8 ifa_proto; + struct callback_head rcu; + struct in6_addr peer_addr; +}; + +struct inet6_skb_parm; + +struct inet6_protocol { + int (*handler)(struct sk_buff *); + int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int, __be32); + unsigned int flags; + u32 secret; +}; + +struct inet6_skb_parm { + int iif; + __be16 ra; + __u16 dst0; + __u16 srcrt; + __u16 dst1; + __u16 lastopt; + __u16 nhoff; + __u16 flags; + __u16 frag_max_size; + __u16 srhoff; +}; + +struct inet_bind2_bucket { + possible_net_t ib_net; + int l3mdev; + short unsigned int port; + short unsigned int addr_type; + struct in6_addr v6_rcv_saddr; + struct hlist_node node; + struct hlist_node bhash_node; + struct hlist_head owners; +}; + +struct inet_bind_bucket { + possible_net_t ib_net; + int l3mdev; + short unsigned int port; + signed char fastreuse; + signed char fastreuseport; + kuid_t fastuid; + struct in6_addr fast_v6_rcv_saddr; + __be32 fast_rcv_saddr; + short unsigned int fast_sk_family; + bool fast_ipv6_only; + struct hlist_node node; + struct hlist_head bhash2; +}; + +struct inet_bind_hashbucket { + spinlock_t lock; + struct hlist_head chain; +}; + +struct proto; + +struct inet_timewait_death_row; + +struct sock_common { + union { + __addrpair skc_addrpair; + struct { + __be32 skc_daddr; + __be32 skc_rcv_saddr; + }; + }; + union { + unsigned int skc_hash; + __u16 skc_u16hashes[2]; + }; + union { + __portpair skc_portpair; + struct { + __be16 skc_dport; + __u16 skc_num; + }; + }; + short unsigned int skc_family; + volatile unsigned char skc_state; + unsigned char skc_reuse: 4; + unsigned char skc_reuseport: 1; + unsigned char skc_ipv6only: 1; + unsigned char skc_net_refcnt: 1; + int skc_bound_dev_if; + union { + struct hlist_node skc_bind_node; + struct hlist_node skc_portaddr_node; + }; + struct proto *skc_prot; + possible_net_t skc_net; + struct in6_addr skc_v6_daddr; + struct in6_addr skc_v6_rcv_saddr; + long: 32; + atomic64_t skc_cookie; + union { + long unsigned int skc_flags; + struct sock *skc_listener; + struct inet_timewait_death_row *skc_tw_dr; + }; + int skc_dontcopy_begin[0]; + union { + struct hlist_node skc_node; + struct hlist_nulls_node skc_nulls_node; + }; + short unsigned int skc_tx_queue_mapping; + union { + int skc_incoming_cpu; + u32 skc_rcv_wnd; + u32 skc_tw_rcv_nxt; + }; + refcount_t skc_refcnt; + int skc_dontcopy_end[0]; + union { + u32 skc_rxhash; + u32 skc_window_clamp; + u32 skc_tw_snd_nxt; + }; + long: 32; +}; + +struct page_frag { + struct page *page; + __u16 offset; + __u16 size; +}; + +struct sock_cgroup_data {}; + +struct sk_filter; + +struct socket_wq; + +struct socket; + +struct sock_reuseport; + +struct sock { + struct sock_common __sk_common; + __u8 __cacheline_group_begin__sock_write_rx[0]; + atomic_t sk_drops; + __s32 sk_peek_off; + struct sk_buff_head sk_error_queue; + struct sk_buff_head sk_receive_queue; + struct { + atomic_t rmem_alloc; + int len; + struct sk_buff *head; + struct sk_buff *tail; + } sk_backlog; + __u8 __cacheline_group_end__sock_write_rx[0]; + __u8 __cacheline_group_begin__sock_read_rx[0]; + struct dst_entry *sk_rx_dst; + int sk_rx_dst_ifindex; + u32 sk_rx_dst_cookie; + unsigned int sk_ll_usec; + unsigned int sk_napi_id; + u16 sk_busy_poll_budget; + u8 sk_prefer_busy_poll; + u8 sk_userlocks; + int sk_rcvbuf; + struct sk_filter *sk_filter; + union { + struct socket_wq *sk_wq; + struct socket_wq *sk_wq_raw; + }; + void (*sk_data_ready)(struct sock *); + long int sk_rcvtimeo; + int sk_rcvlowat; + __u8 __cacheline_group_end__sock_read_rx[0]; + __u8 __cacheline_group_begin__sock_read_rxtx[0]; + int sk_err; + struct socket *sk_socket; + struct mem_cgroup *sk_memcg; + __u8 __cacheline_group_end__sock_read_rxtx[0]; + __u8 __cacheline_group_begin__sock_write_rxtx[0]; + socket_lock_t sk_lock; + u32 sk_reserved_mem; + int sk_forward_alloc; + u32 sk_tsflags; + __u8 __cacheline_group_end__sock_write_rxtx[0]; + __u8 __cacheline_group_begin__sock_write_tx[0]; + int sk_write_pending; + atomic_t sk_omem_alloc; + int sk_sndbuf; + int sk_wmem_queued; + refcount_t sk_wmem_alloc; + long unsigned int sk_tsq_flags; + union { + struct sk_buff *sk_send_head; + struct rb_root tcp_rtx_queue; + }; + struct sk_buff_head sk_write_queue; + u32 sk_dst_pending_confirm; + u32 sk_pacing_status; + struct page_frag sk_frag; + struct timer_list sk_timer; + long unsigned int sk_pacing_rate; + atomic_t sk_zckey; + atomic_t sk_tskey; + __u8 __cacheline_group_end__sock_write_tx[0]; + __u8 __cacheline_group_begin__sock_read_tx[0]; + long unsigned int sk_max_pacing_rate; + long int sk_sndtimeo; + u32 sk_priority; + u32 sk_mark; + struct dst_entry *sk_dst_cache; + netdev_features_t sk_route_caps; + u16 sk_gso_type; + u16 sk_gso_max_segs; + unsigned int sk_gso_max_size; + gfp_t sk_allocation; + u32 sk_txhash; + u8 sk_pacing_shift; + bool sk_use_task_frag; + __u8 __cacheline_group_end__sock_read_tx[0]; + u8 sk_gso_disabled: 1; + u8 sk_kern_sock: 1; + u8 sk_no_check_tx: 1; + u8 sk_no_check_rx: 1; + u8 sk_shutdown; + u16 sk_type; + u16 sk_protocol; + long unsigned int sk_lingertime; + struct proto *sk_prot_creator; + rwlock_t sk_callback_lock; + int sk_err_soft; + u32 sk_ack_backlog; + u32 sk_max_ack_backlog; + kuid_t sk_uid; + spinlock_t sk_peer_lock; + int sk_bind_phc; + struct pid *sk_peer_pid; + const struct cred *sk_peer_cred; + long: 32; + ktime_t sk_stamp; + seqlock_t sk_stamp_seq; + int sk_disconnects; + u8 sk_txrehash; + u8 sk_clockid; + u8 sk_txtime_deadline_mode: 1; + u8 sk_txtime_report_errors: 1; + u8 sk_txtime_unused: 6; + void *sk_user_data; + struct sock_cgroup_data sk_cgrp_data; + void (*sk_state_change)(struct sock *); + void (*sk_write_space)(struct sock *); + void (*sk_error_report)(struct sock *); + int (*sk_backlog_rcv)(struct sock *, struct sk_buff *); + void (*sk_destruct)(struct sock *); + struct sock_reuseport *sk_reuseport_cb; + struct bpf_local_storage *sk_bpf_storage; + struct callback_head sk_rcu; + netns_tracker ns_tracker; + struct xarray sk_user_frags; + long: 32; +}; + +struct inet_cork { + unsigned int flags; + __be32 addr; + struct ip_options *opt; + unsigned int fragsize; + int length; + struct dst_entry *dst; + u8 tx_flags; + __u8 ttl; + __s16 tos; + u32 priority; + __u16 gso_size; + u32 ts_opt_id; + u64 transmit_time; + u32 mark; + long: 32; +}; + +struct inet_cork_full { + struct inet_cork base; + struct flowi fl; +}; + +struct ipv6_pinfo; + +struct ip_mc_socklist; + +struct inet_sock { + struct sock sk; + struct ipv6_pinfo *pinet6; + long unsigned int inet_flags; + __be32 inet_saddr; + __s16 uc_ttl; + __be16 inet_sport; + struct ip_options_rcu *inet_opt; + atomic_t inet_id; + __u8 tos; + __u8 min_ttl; + __u8 mc_ttl; + __u8 pmtudisc; + __u8 rcv_tos; + __u8 convert_csum; + int uc_index; + int mc_index; + __be32 mc_addr; + u32 local_port_range; + struct ip_mc_socklist *mc_list; + long: 32; + struct inet_cork_full cork; +}; + +struct request_sock_queue { + spinlock_t rskq_lock; + u8 rskq_defer_accept; + u32 synflood_warned; + atomic_t qlen; + atomic_t young; + struct request_sock *rskq_accept_head; + struct request_sock *rskq_accept_tail; + struct fastopen_queue fastopenq; +}; + +struct inet_connection_sock_af_ops; + +struct tcp_ulp_ops; + +struct inet_connection_sock { + struct inet_sock icsk_inet; + struct request_sock_queue icsk_accept_queue; + struct inet_bind_bucket *icsk_bind_hash; + struct inet_bind2_bucket *icsk_bind2_hash; + long unsigned int icsk_timeout; + struct timer_list icsk_retransmit_timer; + struct timer_list icsk_delack_timer; + __u32 icsk_rto; + __u32 icsk_rto_min; + __u32 icsk_delack_max; + __u32 icsk_pmtu_cookie; + const struct tcp_congestion_ops *icsk_ca_ops; + const struct inet_connection_sock_af_ops *icsk_af_ops; + const struct tcp_ulp_ops *icsk_ulp_ops; + void *icsk_ulp_data; + void (*icsk_clean_acked)(struct sock *, u32); + unsigned int (*icsk_sync_mss)(struct sock *, u32); + __u8 icsk_ca_state: 5; + __u8 icsk_ca_initialized: 1; + __u8 icsk_ca_setsockopt: 1; + __u8 icsk_ca_dst_locked: 1; + __u8 icsk_retransmits; + __u8 icsk_pending; + __u8 icsk_backoff; + __u8 icsk_syn_retries; + __u8 icsk_probes_out; + __u16 icsk_ext_hdr_len; + struct { + __u8 pending; + __u8 quick; + __u8 pingpong; + __u8 retry; + __u32 ato: 8; + __u32 lrcv_flowlabel: 20; + __u32 unused: 4; + long unsigned int timeout; + __u32 lrcvtime; + __u16 last_seg_size; + __u16 rcv_mss; + } icsk_ack; + struct { + int search_high; + int search_low; + u32 probe_size: 31; + u32 enabled: 1; + u32 probe_timestamp; + } icsk_mtup; + u32 icsk_probes_tstamp; + u32 icsk_user_timeout; + long: 32; + u64 icsk_ca_priv[13]; +}; + +struct inet_connection_sock_af_ops { + int (*queue_xmit)(struct sock *, struct sk_buff *, struct flowi *); + void (*send_check)(struct sock *, struct sk_buff *); + int (*rebuild_header)(struct sock *); + void (*sk_rx_dst_set)(struct sock *, const struct sk_buff *); + int (*conn_request)(struct sock *, struct sk_buff *); + struct sock * (*syn_recv_sock)(const struct sock *, struct sk_buff *, struct request_sock *, struct dst_entry *, struct request_sock *, bool *); + u16 net_header_len; + u16 sockaddr_len; + int (*setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); + int (*getsockopt)(struct sock *, int, int, char *, int *); + void (*addr2sockaddr)(struct sock *, struct sockaddr *); + void (*mtu_reduced)(struct sock *); +}; + +struct inet_diag_bc_op { + unsigned char code; + unsigned char yes; + short unsigned int no; +}; + +struct inet_diag_dump_data { + struct nlattr *req_nlas[4]; + struct bpf_sk_storage_diag *bpf_stg_diag; +}; + +struct inet_diag_entry { + const __be32 *saddr; + const __be32 *daddr; + u16 sport; + u16 dport; + u16 family; + u16 userlocks; + u32 ifindex; + u32 mark; +}; + +struct inet_diag_req_v2; + +struct inet_diag_msg; + +struct inet_diag_handler { + struct module *owner; + void (*dump)(struct sk_buff *, struct netlink_callback *, const struct inet_diag_req_v2 *); + int (*dump_one)(struct netlink_callback *, const struct inet_diag_req_v2 *); + void (*idiag_get_info)(struct sock *, struct inet_diag_msg *, void *); + int (*idiag_get_aux)(struct sock *, bool, struct sk_buff *); + size_t (*idiag_get_aux_size)(struct sock *, bool); + int (*destroy)(struct sk_buff *, const struct inet_diag_req_v2 *); + __u16 idiag_type; + __u16 idiag_info_size; +}; + +struct inet_diag_hostcond { + __u8 family; + __u8 prefix_len; + int port; + __be32 addr[0]; +}; + +struct inet_diag_markcond { + __u32 mark; + __u32 mask; +}; + +struct inet_diag_meminfo { + __u32 idiag_rmem; + __u32 idiag_wmem; + __u32 idiag_fmem; + __u32 idiag_tmem; +}; + +struct inet_diag_sockid { + __be16 idiag_sport; + __be16 idiag_dport; + __be32 idiag_src[4]; + __be32 idiag_dst[4]; + __u32 idiag_if; + __u32 idiag_cookie[2]; +}; + +struct inet_diag_msg { + __u8 idiag_family; + __u8 idiag_state; + __u8 idiag_timer; + __u8 idiag_retrans; + struct inet_diag_sockid id; + __u32 idiag_expires; + __u32 idiag_rqueue; + __u32 idiag_wqueue; + __u32 idiag_uid; + __u32 idiag_inode; +}; + +struct inet_diag_req { + __u8 idiag_family; + __u8 idiag_src_len; + __u8 idiag_dst_len; + __u8 idiag_ext; + struct inet_diag_sockid id; + __u32 idiag_states; + __u32 idiag_dbs; +}; + +struct inet_diag_req_v2 { + __u8 sdiag_family; + __u8 sdiag_protocol; + __u8 idiag_ext; + __u8 pad; + __u32 idiag_states; + struct inet_diag_sockid id; +}; + +struct inet_diag_sockopt { + __u8 recverr: 1; + __u8 is_icsk: 1; + __u8 freebind: 1; + __u8 hdrincl: 1; + __u8 mc_loop: 1; + __u8 transparent: 1; + __u8 mc_all: 1; + __u8 nodefrag: 1; + __u8 bind_address_no_port: 1; + __u8 recverr_rfc4884: 1; + __u8 defer_connect: 1; + __u8 unused: 5; +}; + +struct inet_ehash_bucket { + struct hlist_nulls_head chain; +}; + +struct inet_fill_args { + u32 portid; + u32 seq; + int event; + unsigned int flags; + int netnsid; + int ifindex; +}; + +struct inet_frags { + unsigned int qsize; + void (*constructor)(struct inet_frag_queue *, const void *); + void (*destructor)(struct inet_frag_queue *); + void (*frag_expire)(struct timer_list *); + struct kmem_cache *frags_cachep; + const char *frags_cache_name; + struct rhashtable_params rhash_params; + refcount_t refcnt; + struct completion completion; +}; + +struct inet_listen_hashbucket; + +struct inet_hashinfo { + struct inet_ehash_bucket *ehash; + spinlock_t *ehash_locks; + unsigned int ehash_mask; + unsigned int ehash_locks_mask; + struct kmem_cache *bind_bucket_cachep; + struct inet_bind_hashbucket *bhash; + struct kmem_cache *bind2_bucket_cachep; + struct inet_bind_hashbucket *bhash2; + unsigned int bhash_size; + unsigned int lhash2_mask; + struct inet_listen_hashbucket *lhash2; + bool pernet; +}; + +struct inet_listen_hashbucket { + spinlock_t lock; + struct hlist_nulls_head nulls_head; +}; + +struct ipv4_addr_key { + __be32 addr; + int vif; +}; + +struct inetpeer_addr { + union { + struct ipv4_addr_key a4; + struct in6_addr a6; + u32 key[4]; + }; + __u16 family; +}; + +struct inet_peer { + struct rb_node rb_node; + struct inetpeer_addr daddr; + u32 metrics[17]; + u32 rate_tokens; + u32 n_redirects; + long unsigned int rate_last; + union { + struct { + atomic_t rid; + }; + struct callback_head rcu; + }; + __u32 dtime; + refcount_t refcnt; +}; + +struct proto_ops; + +struct inet_protosw { + struct list_head list; + short unsigned int type; + short unsigned int protocol; + struct proto *prot; + const struct proto_ops *ops; + unsigned char flags; +}; + +struct request_sock_ops; + +struct saved_syn; + +struct request_sock { + struct sock_common __req_common; + struct request_sock *dl_next; + u16 mss; + u8 num_retrans; + u8 syncookie: 1; + u8 num_timeout: 7; + u32 ts_recent; + struct timer_list rsk_timer; + const struct request_sock_ops *rsk_ops; + struct sock *sk; + struct saved_syn *saved_syn; + u32 secid; + u32 peer_secid; + u32 timeout; +}; + +struct inet_request_sock { + struct request_sock req; + u16 snd_wscale: 4; + u16 rcv_wscale: 4; + u16 tstamp_ok: 1; + u16 sack_ok: 1; + u16 wscale_ok: 1; + u16 ecn_ok: 1; + u16 acked: 1; + u16 no_srccheck: 1; + u16 smc_ok: 1; + u32 ir_mark; + union { + struct ip_options_rcu *ireq_opt; + struct { + struct ipv6_txoptions *ipv6_opt; + struct sk_buff *pktopts; + }; + }; +}; + +struct inet_skb_parm { + int iif; + struct ip_options opt; + u16 flags; + u16 frag_max_size; +}; + +struct inet_timewait_death_row { + refcount_t tw_refcount; + struct inet_hashinfo *hashinfo; + int sysctl_max_tw_buckets; +}; + +struct inet_timewait_sock { + struct sock_common __tw_common; + __u32 tw_mark; + unsigned char tw_substate; + unsigned char tw_rcv_wscale; + __be16 tw_sport; + unsigned int tw_transparent: 1; + unsigned int tw_flowlabel: 20; + unsigned int tw_usec_ts: 1; + unsigned int tw_pad: 2; + unsigned int tw_tos: 8; + u32 tw_txhash; + u32 tw_priority; + u32 tw_entry_stamp; + struct timer_list tw_timer; + struct inet_bind_bucket *tw_tb; + struct inet_bind2_bucket *tw_tb2; + long: 32; +}; + +struct inode_operations; + +struct inode { + umode_t i_mode; + short unsigned int i_opflags; + kuid_t i_uid; + kgid_t i_gid; + unsigned int i_flags; + const struct inode_operations *i_op; + struct super_block *i_sb; + struct address_space *i_mapping; + long unsigned int i_ino; + union { + const unsigned int i_nlink; + unsigned int __i_nlink; + }; + dev_t i_rdev; + loff_t i_size; + time64_t i_atime_sec; + time64_t i_mtime_sec; + time64_t i_ctime_sec; + u32 i_atime_nsec; + u32 i_mtime_nsec; + u32 i_ctime_nsec; + u32 i_generation; + spinlock_t i_lock; + short unsigned int i_bytes; + u8 i_blkbits; + enum rw_hint i_write_hint; + long: 32; + blkcnt_t i_blocks; + u32 i_state; + struct rw_semaphore i_rwsem; + long unsigned int dirtied_when; + long unsigned int dirtied_time_when; + struct hlist_node i_hash; + struct list_head i_io_list; + struct list_head i_lru; + struct list_head i_sb_list; + struct list_head i_wb_list; + union { + struct hlist_head i_dentry; + struct callback_head i_rcu; + }; + long: 32; + atomic64_t i_version; + atomic64_t i_sequence; + atomic_t i_count; + atomic_t i_dio_count; + atomic_t i_writecount; + union { + const struct file_operations *i_fop; + void (*free_inode)(struct inode *); + }; + struct file_lock_context *i_flctx; + struct address_space i_data; + union { + struct list_head i_devices; + int i_linklen; + }; + union { + struct pipe_inode_info *i_pipe; + struct cdev *i_cdev; + char *i_link; + unsigned int i_dir_seq; + }; + void *i_private; +}; + +struct mnt_idmap; + +struct posix_acl; + +struct kstat; + +struct offset_ctx; + +struct inode_operations { + struct dentry * (*lookup)(struct inode *, struct dentry *, unsigned int); + const char * (*get_link)(struct dentry *, struct inode *, struct delayed_call *); + int (*permission)(struct mnt_idmap *, struct inode *, int); + struct posix_acl * (*get_inode_acl)(struct inode *, int, bool); + int (*readlink)(struct dentry *, char *, int); + int (*create)(struct mnt_idmap *, struct inode *, struct dentry *, umode_t, bool); + int (*link)(struct dentry *, struct inode *, struct dentry *); + int (*unlink)(struct inode *, struct dentry *); + int (*symlink)(struct mnt_idmap *, struct inode *, struct dentry *, const char *); + int (*mkdir)(struct mnt_idmap *, struct inode *, struct dentry *, umode_t); + int (*rmdir)(struct inode *, struct dentry *); + int (*mknod)(struct mnt_idmap *, struct inode *, struct dentry *, umode_t, dev_t); + int (*rename)(struct mnt_idmap *, struct inode *, struct dentry *, struct inode *, struct dentry *, unsigned int); + int (*setattr)(struct mnt_idmap *, struct dentry *, struct iattr *); + int (*getattr)(struct mnt_idmap *, const struct path *, struct kstat *, u32, unsigned int); + ssize_t (*listxattr)(struct dentry *, char *, size_t); + int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64, u64); + int (*update_time)(struct inode *, int); + int (*atomic_open)(struct inode *, struct dentry *, struct file *, unsigned int, umode_t); + int (*tmpfile)(struct mnt_idmap *, struct inode *, struct file *, umode_t); + struct posix_acl * (*get_acl)(struct mnt_idmap *, struct dentry *, int); + int (*set_acl)(struct mnt_idmap *, struct dentry *, struct posix_acl *, int); + int (*fileattr_set)(struct mnt_idmap *, struct dentry *, struct fileattr *); + int (*fileattr_get)(struct dentry *, struct fileattr *); + struct offset_ctx * (*get_offset_ctx)(struct inode *); + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct internal_container { + struct klist_node node; + struct attribute_container *cont; + long: 32; + struct device classdev; +}; + +struct request; + +struct rq_list { + struct request *head; + struct request *tail; +}; + +struct io_comp_batch { + struct rq_list req_list; + bool need_ts; + void (*complete)(struct io_comp_batch *); +}; + +struct io_context { + atomic_long_t refcount; + atomic_t active_ref; + short unsigned int ioprio; +}; + +struct ioam6_hdr { + __u8 opt_type; + __u8 opt_len; + char: 8; + __u8 type; +}; + +struct ioam6_schema; + +struct ioam6_namespace { + struct rhash_head head; + struct callback_head rcu; + struct ioam6_schema *schema; + __be16 id; + __be32 data; + __be64 data_wide; +}; + +struct ioam6_pernet_data { + struct mutex lock; + struct rhashtable namespaces; + struct rhashtable schemas; +}; + +struct ioam6_schema { + struct rhash_head head; + struct callback_head rcu; + struct ioam6_namespace *ns; + u32 id; + int len; + __be32 hdr; + u8 data[0]; +}; + +struct ioam6_trace_hdr { + __be16 namespace_id; + char: 2; + __u8 overflow: 1; + __u8 nodelen: 5; + __u8 remlen: 7; + union { + __be32 type_be32; + struct { + __u32 bit7: 1; + __u32 bit6: 1; + __u32 bit5: 1; + __u32 bit4: 1; + __u32 bit3: 1; + __u32 bit2: 1; + __u32 bit1: 1; + __u32 bit0: 1; + __u32 bit15: 1; + __u32 bit14: 1; + __u32 bit13: 1; + __u32 bit12: 1; + __u32 bit11: 1; + __u32 bit10: 1; + __u32 bit9: 1; + __u32 bit8: 1; + __u32 bit23: 1; + __u32 bit22: 1; + __u32 bit21: 1; + __u32 bit20: 1; + __u32 bit19: 1; + __u32 bit18: 1; + __u32 bit17: 1; + __u32 bit16: 1; + } type; + }; + __u8 data[0]; +}; + +struct iommu_group {}; + +struct iovec { + void *iov_base; + __kernel_size_t iov_len; +}; + +struct kvec; + +struct iov_iter { + u8 iter_type; + bool nofault; + bool data_source; + size_t iov_offset; + union { + struct iovec __ubuf_iovec; + struct { + union { + const struct iovec *__iov; + const struct kvec *kvec; + const struct bio_vec *bvec; + const struct folio_queue *folioq; + struct xarray *xarray; + void *ubuf; + }; + size_t count; + }; + }; + union { + long unsigned int nr_segs; + u8 folioq_slot; + loff_t xarray_start; + }; +}; + +struct iov_iter_state { + size_t iov_offset; + size_t count; + long unsigned int nr_segs; +}; + +struct ip6_flowlabel { + struct ip6_flowlabel *next; + __be32 label; + atomic_t users; + struct in6_addr dst; + struct ipv6_txoptions *opt; + long unsigned int linger; + struct callback_head rcu; + u8 share; + union { + struct pid *pid; + kuid_t uid; + } owner; + long unsigned int lastuse; + long unsigned int expires; + struct net *fl_net; +}; + +struct ip6_frag_state { + u8 *prevhdr; + unsigned int hlen; + unsigned int mtu; + unsigned int left; + int offset; + int ptr; + int hroom; + int troom; + __be32 frag_id; + u8 nexthdr; +}; + +struct ipv6hdr; + +struct ip6_fraglist_iter { + struct ipv6hdr *tmp_hdr; + struct sk_buff *frag; + int offset; + unsigned int hlen; + __be32 frag_id; + u8 nexthdr; +}; + +struct sockaddr_in6 { + short unsigned int sin6_family; + __be16 sin6_port; + __be32 sin6_flowinfo; + struct in6_addr sin6_addr; + __u32 sin6_scope_id; +}; + +struct ip6_mtuinfo { + struct sockaddr_in6 ip6m_addr; + __u32 ip6m_mtu; +}; + +struct ip6_ra_chain { + struct ip6_ra_chain *next; + struct sock *sk; + int sel; + void (*destructor)(struct sock *); +}; + +struct ip6_sf_list { + struct ip6_sf_list *sf_next; + struct in6_addr sf_addr; + long unsigned int sf_count[2]; + unsigned char sf_gsresp; + unsigned char sf_oldin; + unsigned char sf_crcount; + struct callback_head rcu; +}; + +struct ip6_sf_socklist { + unsigned int sl_max; + unsigned int sl_count; + struct callback_head rcu; + struct in6_addr sl_addr[0]; +}; + +struct ip_tunnel_encap; + +struct ip6_tnl_encap_ops { + size_t (*encap_hlen)(struct ip_tunnel_encap *); + int (*build_header)(struct sk_buff *, struct ip_tunnel_encap *, u8 *, struct flowi6 *); + int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int, __be32); +}; + +struct ip6addrlbl_entry { + struct in6_addr prefix; + int prefixlen; + int ifindex; + int addrtype; + u32 label; + struct hlist_node list; + struct callback_head rcu; +}; + +struct ip6addrlbl_init_table { + const struct in6_addr *prefix; + int prefixlen; + u32 label; +}; + +struct ip6rd_flowi { + struct flowi6 fl6; + struct in6_addr gateway; +}; + +struct ip_auth_hdr { + __u8 nexthdr; + __u8 hdrlen; + __be16 reserved; + __be32 spi; + __be32 seq_no; + __u8 auth_data[0]; +}; + +struct ip_esp_hdr { + __be32 spi; + __be32 seq_no; + __u8 enc_data[0]; +}; + +struct ip_frag_state { + bool DF; + unsigned int hlen; + unsigned int ll_rs; + unsigned int mtu; + unsigned int left; + int offset; + int ptr; + __be16 not_last_frag; +}; + +struct iphdr; + +struct ip_fraglist_iter { + struct sk_buff *frag; + struct iphdr *iph; + int offset; + unsigned int hlen; +}; + +struct ip_sf_list; + +struct ip_mc_list { + struct in_device *interface; + __be32 multiaddr; + unsigned int sfmode; + struct ip_sf_list *sources; + struct ip_sf_list *tomb; + long unsigned int sfcount[2]; + union { + struct ip_mc_list *next; + struct ip_mc_list *next_rcu; + }; + struct ip_mc_list *next_hash; + struct timer_list timer; + int users; + refcount_t refcnt; + spinlock_t lock; + char tm_running; + char reporter; + char unsolicit_count; + char loaded; + unsigned char gsquery; + unsigned char crcount; + long unsigned int mca_cstamp; + long unsigned int mca_tstamp; + struct callback_head rcu; +}; + +struct ip_mreqn { + struct in_addr imr_multiaddr; + struct in_addr imr_address; + int imr_ifindex; +}; + +struct ip_sf_socklist; + +struct ip_mc_socklist { + struct ip_mc_socklist *next_rcu; + struct ip_mreqn multi; + unsigned int sfmode; + struct ip_sf_socklist *sflist; + struct callback_head rcu; +}; + +struct ip_mreq_source { + __be32 imr_multiaddr; + __be32 imr_interface; + __be32 imr_sourceaddr; +}; + +struct ip_msfilter { + __be32 imsf_multiaddr; + __be32 imsf_interface; + __u32 imsf_fmode; + __u32 imsf_numsrc; + union { + __be32 imsf_slist[1]; + struct { + struct {} __empty_imsf_slist_flex; + __be32 imsf_slist_flex[0]; + }; + }; +}; + +struct ip_ra_chain { + struct ip_ra_chain *next; + struct sock *sk; + union { + void (*destructor)(struct sock *); + struct sock *saved_sk; + }; + struct callback_head rcu; +}; + +struct kvec { + void *iov_base; + size_t iov_len; +}; + +struct ip_reply_arg { + struct kvec iov[1]; + int flags; + __wsum csum; + int csumoffset; + int bound_dev_if; + u8 tos; + kuid_t uid; +}; + +struct ip_sf_list { + struct ip_sf_list *sf_next; + long unsigned int sf_count[2]; + __be32 sf_inaddr; + unsigned char sf_gsresp; + unsigned char sf_oldin; + unsigned char sf_crcount; +}; + +struct ip_sf_socklist { + unsigned int sl_max; + unsigned int sl_count; + struct callback_head rcu; + __be32 sl_addr[0]; +}; + +struct iphdr { + __u8 ihl: 4; + __u8 version: 4; + __u8 tos; + __be16 tot_len; + __be16 id; + __be16 frag_off; + __u8 ttl; + __u8 protocol; + __sum16 check; + union { + struct { + __be32 saddr; + __be32 daddr; + }; + struct { + __be32 saddr; + __be32 daddr; + } addrs; + }; +}; + +struct ip_tunnel_parm_kern { + char name[16]; + long unsigned int i_flags[1]; + long unsigned int o_flags[1]; + __be32 i_key; + __be32 o_key; + int link; + struct iphdr iph; +}; + +struct ip_tunnel_encap { + u16 type; + u16 flags; + __be16 sport; + __be16 dport; +}; + +struct ip_tunnel_prl_entry; + +struct ip_tunnel { + struct ip_tunnel *next; + struct hlist_node hash_node; + struct net_device *dev; + netdevice_tracker dev_tracker; + struct net *net; + long unsigned int err_time; + int err_count; + u32 i_seqno; + atomic_t o_seqno; + int tun_hlen; + u32 index; + u8 erspan_ver; + u8 dir; + u16 hwid; + struct dst_cache dst_cache; + struct ip_tunnel_parm_kern parms; + int mlink; + int encap_hlen; + int hlen; + struct ip_tunnel_encap encap; + struct ip_tunnel_prl_entry *prl; + unsigned int prl_count; + unsigned int ip_tnl_net_id; + struct gro_cells gro_cells; + __u32 fwmark; + bool collect_md; + bool ignore_df; +}; + +struct ip_tunnel_encap_ops { + size_t (*encap_hlen)(struct ip_tunnel_encap *); + int (*build_header)(struct sk_buff *, struct ip_tunnel_encap *, u8 *, struct flowi4 *); + int (*err_handler)(struct sk_buff *, u32); +}; + +struct ip_tunnel_key { + __be64 tun_id; + union { + struct { + __be32 src; + __be32 dst; + } ipv4; + struct { + struct in6_addr src; + struct in6_addr dst; + } ipv6; + } u; + long unsigned int tun_flags[1]; + __be32 label; + u32 nhid; + u8 tos; + u8 ttl; + __be16 tp_src; + __be16 tp_dst; + __u8 flow_flags; + long: 32; +}; + +struct ip_tunnel_info { + struct ip_tunnel_key key; + struct ip_tunnel_encap encap; + struct dst_cache dst_cache; + u8 options_len; + u8 mode; + long: 32; +}; + +struct rtnl_link_ops; + +struct ip_tunnel_net { + struct net_device *fb_tunnel_dev; + struct rtnl_link_ops *rtnl_link_ops; + struct hlist_head tunnels[128]; + struct ip_tunnel *collect_md_tun; + int type; +}; + +struct ip_tunnel_parm { + char name[16]; + int link; + __be16 i_flags; + __be16 o_flags; + __be32 i_key; + __be32 o_key; + struct iphdr iph; +}; + +struct ip_tunnel_prl { + __be32 addr; + __u16 flags; + __u16 __reserved; + __u32 datalen; + __u32 __reserved2; +}; + +struct ip_tunnel_prl_entry { + struct ip_tunnel_prl_entry *next; + __be32 addr; + u16 flags; + struct callback_head callback_head; +}; + +struct ipc_ids { + int in_use; + short unsigned int seq; + struct rw_semaphore rwsem; + struct idr ipcs_idr; + int max_idx; + int last_idx; + struct rhashtable key_ht; +}; + +struct ipc_namespace { + struct ipc_ids ids[3]; + int sem_ctls[4]; + int used_sems; + unsigned int msg_ctlmax; + unsigned int msg_ctlmnb; + unsigned int msg_ctlmni; + long: 32; + struct percpu_counter percpu_msg_bytes; + struct percpu_counter percpu_msg_hdrs; + size_t shm_ctlmax; + size_t shm_ctlall; + long unsigned int shm_tot; + int shm_ctlmni; + int shm_rmid_forced; + struct notifier_block ipcns_nb; + struct vfsmount *mq_mnt; + unsigned int mq_queues_count; + unsigned int mq_queues_max; + unsigned int mq_msg_max; + unsigned int mq_msgsize_max; + unsigned int mq_msg_default; + unsigned int mq_msgsize_default; + struct ctl_table_set mq_set; + struct ctl_table_header *mq_sysctls; + struct ctl_table_set ipc_set; + struct ctl_table_header *ipc_sysctls; + struct user_namespace *user_ns; + struct ucounts *ucounts; + struct llist_node mnt_llist; + struct ns_common ns; +}; + +struct sockcm_cookie { + u64 transmit_time; + u32 mark; + u32 tsflags; + u32 ts_opt_id; + u32 priority; +}; + +struct ipcm6_cookie { + struct sockcm_cookie sockc; + __s16 hlimit; + __s16 tclass; + __u16 gso_size; + __s8 dontfrag; + struct ipv6_txoptions *opt; + long: 32; +}; + +struct ipcm_cookie { + struct sockcm_cookie sockc; + __be32 addr; + int oif; + struct ip_options_rcu *opt; + __u8 protocol; + __u8 ttl; + __s16 tos; + __u16 gso_size; + long: 32; +}; + +struct ipfrag_skb_cb { + union { + struct inet_skb_parm h4; + struct inet6_skb_parm h6; + }; + struct sk_buff *next_frag; + int frag_run_len; + int ip_defrag_offset; +}; + +struct ipq { + struct inet_frag_queue q; + u8 ecn; + u16 max_df_size; + int iif; + unsigned int rid; + struct inet_peer *peer; +}; + +struct ipstats_mib { + u64 mibs[38]; + struct u64_stats_sync syncp; + long: 32; +}; + +struct ipv6_ac_socklist { + struct in6_addr acl_addr; + int acl_ifindex; + struct ipv6_ac_socklist *acl_next; +}; + +struct udp_table; + +struct ipv6_bpf_stub { + int (*inet6_bind)(struct sock *, struct sockaddr *, int, u32); + struct sock * (*udp6_lib_lookup)(const struct net *, const struct in6_addr *, __be16, const struct in6_addr *, __be16, int, int, struct udp_table *, struct sk_buff *); + int (*ipv6_setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); + int (*ipv6_getsockopt)(struct sock *, int, int, sockptr_t, sockptr_t); + int (*ipv6_dev_get_saddr)(struct net *, const struct net_device *, const struct in6_addr *, unsigned int, struct in6_addr *); +}; + +struct ipv6_fl_socklist { + struct ipv6_fl_socklist *next; + struct ip6_flowlabel *fl; + struct callback_head rcu; +}; + +struct ipv6_mc_socklist { + struct in6_addr addr; + int ifindex; + unsigned int sfmode; + struct ipv6_mc_socklist *next; + struct ip6_sf_socklist *sflist; + struct callback_head rcu; +}; + +struct ipv6_mreq { + struct in6_addr ipv6mr_multiaddr; + int ipv6mr_ifindex; +}; + +struct ipv6_opt_hdr { + __u8 nexthdr; + __u8 hdrlen; +}; + +struct ipv6_params { + __s32 disable_ipv6; + __s32 autoconf; +}; + +struct ipv6_pinfo { + struct in6_addr saddr; + struct in6_pktinfo sticky_pktinfo; + const struct in6_addr *daddr_cache; + __be32 flow_label; + __u32 frag_size; + s16 hop_limit; + u8 mcast_hops; + int ucast_oif; + int mcast_oif; + union { + struct { + __u16 srcrt: 1; + __u16 osrcrt: 1; + __u16 rxinfo: 1; + __u16 rxoinfo: 1; + __u16 rxhlim: 1; + __u16 rxohlim: 1; + __u16 hopopts: 1; + __u16 ohopopts: 1; + __u16 dstopts: 1; + __u16 odstopts: 1; + __u16 rxflow: 1; + __u16 rxtclass: 1; + __u16 rxpmtu: 1; + __u16 rxorigdstaddr: 1; + __u16 recvfragsize: 1; + } bits; + __u16 all; + } rxopt; + __u8 srcprefs; + __u8 pmtudisc; + __u8 min_hopcount; + __u8 tclass; + __be32 rcv_flowinfo; + __u32 dst_cookie; + struct ipv6_mc_socklist *ipv6_mc_list; + struct ipv6_ac_socklist *ipv6_ac_list; + struct ipv6_fl_socklist *ipv6_fl_list; + struct ipv6_txoptions *opt; + struct sk_buff *pktoptions; + struct sk_buff *rxpmtu; + struct inet6_cork cork; +}; + +struct ipv6_rpl_sr_hdr { + __u8 nexthdr; + __u8 hdrlen; + __u8 type; + __u8 segments_left; + __u32 cmpre: 4; + __u32 cmpri: 4; + __u32 reserved: 4; + __u32 pad: 4; + __u32 reserved1: 16; + union { + struct { + struct {} __empty_addr; + struct in6_addr addr[0]; + }; + struct { + struct {} __empty_data; + __u8 data[0]; + }; + } segments; +}; + +struct ipv6_rt_hdr { + __u8 nexthdr; + __u8 hdrlen; + __u8 type; + __u8 segments_left; +}; + +struct ipv6_saddr_dst { + const struct in6_addr *addr; + int ifindex; + int scope; + int label; + unsigned int prefs; +}; + +struct ipv6_saddr_score { + int rule; + int addr_type; + struct inet6_ifaddr *ifa; + long unsigned int scorebits[1]; + int scopedist; + int matchlen; +}; + +struct ipv6_sr_hdr { + __u8 nexthdr; + __u8 hdrlen; + __u8 type; + __u8 segments_left; + __u8 first_segment; + __u8 flags; + __u16 tag; + struct in6_addr segments[0]; +}; + +struct neigh_table; + +struct ipv6_stub { + int (*ipv6_sock_mc_join)(struct sock *, int, const struct in6_addr *); + int (*ipv6_sock_mc_drop)(struct sock *, int, const struct in6_addr *); + struct dst_entry * (*ipv6_dst_lookup_flow)(struct net *, const struct sock *, struct flowi6 *, const struct in6_addr *); + int (*ipv6_route_input)(struct sk_buff *); + struct fib6_table * (*fib6_get_table)(struct net *, u32); + int (*fib6_lookup)(struct net *, int, struct flowi6 *, struct fib6_result *, int); + int (*fib6_table_lookup)(struct net *, struct fib6_table *, int, struct flowi6 *, struct fib6_result *, int); + void (*fib6_select_path)(const struct net *, struct fib6_result *, struct flowi6 *, int, bool, const struct sk_buff *, int); + u32 (*ip6_mtu_from_fib6)(const struct fib6_result *, const struct in6_addr *, const struct in6_addr *); + int (*fib6_nh_init)(struct net *, struct fib6_nh *, struct fib6_config *, gfp_t, struct netlink_ext_ack *); + void (*fib6_nh_release)(struct fib6_nh *); + void (*fib6_nh_release_dsts)(struct fib6_nh *); + void (*fib6_update_sernum)(struct net *, struct fib6_info *); + int (*ip6_del_rt)(struct net *, struct fib6_info *, bool); + void (*fib6_rt_update)(struct net *, struct fib6_info *, struct nl_info *); + void (*udpv6_encap_enable)(void); + void (*ndisc_send_na)(struct net_device *, const struct in6_addr *, const struct in6_addr *, bool, bool, bool, bool); + struct neigh_table *nd_tbl; + int (*ipv6_fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *)); + struct net_device * (*ipv6_dev_find)(struct net *, const struct in6_addr *, struct net_device *); + int (*ip6_xmit)(const struct sock *, struct sk_buff *, struct flowi6 *, __u32, struct ipv6_txoptions *, int, u32); +}; + +struct ipv6_txoptions { + refcount_t refcnt; + int tot_len; + __u16 opt_flen; + __u16 opt_nflen; + struct ipv6_opt_hdr *hopopt; + struct ipv6_opt_hdr *dst0opt; + struct ipv6_rt_hdr *srcrt; + struct ipv6_opt_hdr *dst1opt; + struct callback_head rcu; +}; + +struct ipv6hdr { + __u8 priority: 4; + __u8 version: 4; + __u8 flow_lbl[3]; + __be16 payload_len; + __u8 nexthdr; + __u8 hop_limit; + union { + struct { + struct in6_addr saddr; + struct in6_addr daddr; + }; + struct { + struct in6_addr saddr; + struct in6_addr daddr; + } addrs; + }; +}; + +struct irq_affinity { + unsigned int pre_vectors; + unsigned int post_vectors; + unsigned int nr_sets; + unsigned int set_size[4]; + void (*calc_sets)(struct irq_affinity *, unsigned int); + void *priv; +}; + +struct irq_affinity_desc { + struct cpumask mask; + unsigned int is_managed: 1; +}; + +struct irq_affinity_devres { + unsigned int count; + unsigned int irq[0]; +}; + +struct irq_data; + +struct msi_msg; + +struct irq_chip { + const char *name; + unsigned int (*irq_startup)(struct irq_data *); + void (*irq_shutdown)(struct irq_data *); + void (*irq_enable)(struct irq_data *); + void (*irq_disable)(struct irq_data *); + void (*irq_ack)(struct irq_data *); + void (*irq_mask)(struct irq_data *); + void (*irq_mask_ack)(struct irq_data *); + void (*irq_unmask)(struct irq_data *); + void (*irq_eoi)(struct irq_data *); + int (*irq_set_affinity)(struct irq_data *, const struct cpumask *, bool); + int (*irq_retrigger)(struct irq_data *); + int (*irq_set_type)(struct irq_data *, unsigned int); + int (*irq_set_wake)(struct irq_data *, unsigned int); + void (*irq_bus_lock)(struct irq_data *); + void (*irq_bus_sync_unlock)(struct irq_data *); + void (*irq_suspend)(struct irq_data *); + void (*irq_resume)(struct irq_data *); + void (*irq_pm_shutdown)(struct irq_data *); + void (*irq_calc_mask)(struct irq_data *); + void (*irq_print_chip)(struct irq_data *, struct seq_file *); + int (*irq_request_resources)(struct irq_data *); + void (*irq_release_resources)(struct irq_data *); + void (*irq_compose_msi_msg)(struct irq_data *, struct msi_msg *); + void (*irq_write_msi_msg)(struct irq_data *, struct msi_msg *); + int (*irq_get_irqchip_state)(struct irq_data *, enum irqchip_irq_state, bool *); + int (*irq_set_irqchip_state)(struct irq_data *, enum irqchip_irq_state, bool); + int (*irq_set_vcpu_affinity)(struct irq_data *, void *); + void (*ipi_send_single)(struct irq_data *, unsigned int); + void (*ipi_send_mask)(struct irq_data *, const struct cpumask *); + int (*irq_nmi_setup)(struct irq_data *); + void (*irq_nmi_teardown)(struct irq_data *); + long unsigned int flags; +}; + +struct irq_chip_regs { + long unsigned int enable; + long unsigned int disable; + long unsigned int mask; + long unsigned int ack; + long unsigned int eoi; + long unsigned int type; +}; + +struct irq_desc; + +typedef void (*irq_flow_handler_t)(struct irq_desc *); + +struct irq_chip_type { + struct irq_chip chip; + struct irq_chip_regs regs; + irq_flow_handler_t handler; + u32 type; + u32 mask_cache_priv; + u32 *mask_cache; +}; + +struct irq_domain; + +struct irq_chip_generic { + raw_spinlock_t lock; + void *reg_base; + u32 (*reg_readl)(void *); + void (*reg_writel)(u32, void *); + void (*suspend)(struct irq_chip_generic *); + void (*resume)(struct irq_chip_generic *); + unsigned int irq_base; + unsigned int irq_cnt; + u32 mask_cache; + u32 wake_enabled; + u32 wake_active; + unsigned int num_ct; + void *private; + long unsigned int installed; + long unsigned int unused; + struct irq_domain *domain; + struct list_head list; + struct irq_chip_type chip_types[0]; +}; + +struct msi_desc; + +struct irq_common_data { + unsigned int state_use_accessors; + void *handler_data; + struct msi_desc *msi_desc; +}; + +struct irq_data { + u32 mask; + unsigned int irq; + irq_hw_number_t hwirq; + struct irq_common_data *common; + struct irq_chip *chip; + struct irq_domain *domain; + void *chip_data; +}; + +struct irqstat; + +struct irqaction; + +struct irq_desc { + struct irq_common_data irq_common_data; + struct irq_data irq_data; + struct irqstat *kstat_irqs; + irq_flow_handler_t handle_irq; + struct irqaction *action; + unsigned int status_use_accessors; + unsigned int core_internal_state__do_not_mess_with_it; + unsigned int depth; + unsigned int wake_depth; + unsigned int tot_count; + unsigned int irq_count; + long unsigned int last_unhandled; + unsigned int irqs_unhandled; + atomic_t threads_handled; + int threads_handled_last; + raw_spinlock_t lock; + struct cpumask *percpu_enabled; + const struct cpumask *percpu_affinity; + long unsigned int threads_oneshot; + atomic_t threads_active; + wait_queue_head_t wait_for_threads; + struct callback_head rcu; + struct kobject kobj; + struct mutex request_mutex; + int parent_irq; + struct module *owner; + const char *name; + struct hlist_node resend_node; +}; + +struct irq_desc_devres { + unsigned int from; + unsigned int cnt; +}; + +struct irq_devres { + unsigned int irq; + void *dev_id; +}; + +struct irq_domain_ops; + +struct irq_domain_chip_generic; + +struct irq_domain { + struct list_head link; + const char *name; + const struct irq_domain_ops *ops; + void *host_data; + unsigned int flags; + unsigned int mapcount; + struct mutex mutex; + struct irq_domain *root; + struct fwnode_handle *fwnode; + enum irq_domain_bus_token bus_token; + struct irq_domain_chip_generic *gc; + struct device *dev; + struct device *pm_dev; + void (*exit)(struct irq_domain *); + irq_hw_number_t hwirq_max; + unsigned int revmap_size; + struct xarray revmap_tree; + struct irq_data *revmap[0]; +}; + +struct irq_domain_chip_generic { + unsigned int irqs_per_chip; + unsigned int num_chips; + unsigned int irq_flags_to_clear; + unsigned int irq_flags_to_set; + enum irq_gc_flags gc_flags; + void (*exit)(struct irq_chip_generic *); + struct irq_chip_generic *gc[0]; +}; + +struct irq_domain_chip_generic_info { + const char *name; + irq_flow_handler_t handler; + unsigned int irqs_per_chip; + unsigned int num_ct; + unsigned int irq_flags_to_clear; + unsigned int irq_flags_to_set; + enum irq_gc_flags gc_flags; + int (*init)(struct irq_chip_generic *); + void (*exit)(struct irq_chip_generic *); +}; + +struct irq_domain_info { + struct fwnode_handle *fwnode; + unsigned int domain_flags; + unsigned int size; + irq_hw_number_t hwirq_max; + int direct_max; + unsigned int hwirq_base; + unsigned int virq_base; + enum irq_domain_bus_token bus_token; + const char *name_suffix; + const struct irq_domain_ops *ops; + void *host_data; + struct irq_domain_chip_generic_info *dgc_info; + int (*init)(struct irq_domain *); + void (*exit)(struct irq_domain *); +}; + +struct irq_fwspec; + +struct irq_domain_ops { + int (*match)(struct irq_domain *, struct device_node *, enum irq_domain_bus_token); + int (*select)(struct irq_domain *, struct irq_fwspec *, enum irq_domain_bus_token); + int (*map)(struct irq_domain *, unsigned int, irq_hw_number_t); + void (*unmap)(struct irq_domain *, unsigned int); + int (*xlate)(struct irq_domain *, struct device_node *, const u32 *, unsigned int, long unsigned int *, unsigned int *); +}; + +struct irq_fwspec { + struct fwnode_handle *fwnode; + int param_count; + u32 param[16]; +}; + +typedef irqreturn_t (*irq_handler_t)(int, void *); + +struct irqaction { + irq_handler_t handler; + void *dev_id; + void *percpu_dev_id; + struct irqaction *next; + irq_handler_t thread_fn; + struct task_struct *thread; + struct irqaction *secondary; + unsigned int irq; + unsigned int flags; + long unsigned int thread_flags; + long unsigned int thread_mask; + const char *name; + struct proc_dir_entry *dir; +}; + +struct irqchip_fwid { + struct fwnode_handle fwnode; + unsigned int type; + char *name; + phys_addr_t *pa; +}; + +struct irqstat { + unsigned int cnt; +}; + +struct itimerspec64 { + struct timespec64 it_interval; + struct timespec64 it_value; +}; + +struct jit_ctx { + const struct bpf_prog *prog; + unsigned int idx; + unsigned int prologue_bytes; + unsigned int epilogue_offset; + unsigned int cpu_architecture; + u32 flags; + u32 *offsets; + u32 *target; + u32 stack_size; +}; + +typedef void __signalfn_t(int); + +typedef __signalfn_t *__sighandler_t; + +typedef void __restorefn_t(void); + +typedef __restorefn_t *__sigrestore_t; + +struct sigaction { + __sighandler_t sa_handler; + long unsigned int sa_flags; + __sigrestore_t sa_restorer; + sigset_t sa_mask; +}; + +struct k_sigaction { + struct sigaction sa; +}; + +struct kallsym_iter { + loff_t pos; + loff_t pos_mod_end; + loff_t pos_ftrace_mod_end; + loff_t pos_bpf_end; + long unsigned int value; + unsigned int nameoff; + char type; + char name[512]; + char module_name[60]; + int exported; + int show_value; +}; + +struct kallsyms_data { + long unsigned int *addrs; + const char **syms; + size_t cnt; + size_t found; +}; + +struct kernel_clone_args { + u64 flags; + int *pidfd; + int *child_tid; + int *parent_tid; + const char *name; + int exit_signal; + u32 kthread: 1; + u32 io_thread: 1; + u32 user_worker: 1; + u32 no_files: 1; + long unsigned int stack; + long unsigned int stack_size; + long unsigned int tls; + pid_t *set_tid; + size_t set_tid_size; + int cgroup; + int idle; + int (*fn)(void *); + void *fn_arg; + struct cgroup *cgrp; + struct css_set *cset; + unsigned int kill_seq; +}; + +struct kernel_cpustat { + u64 cpustat[10]; +}; + +struct kernel_ethtool_ringparam { + u32 rx_buf_len; + u8 tcp_data_split; + u8 tx_push; + u8 rx_push; + u32 cqe_size; + u32 tx_push_buf_len; + u32 tx_push_buf_max_len; + u32 hds_thresh; + u32 hds_thresh_max; +}; + +struct kernel_ethtool_ts_info { + u32 cmd; + u32 so_timestamping; + int phc_index; + enum hwtstamp_provider_qualifier phc_qualifier; + enum hwtstamp_tx_types tx_types; + enum hwtstamp_rx_filters rx_filters; +}; + +struct kernel_hwtstamp_config { + int flags; + int tx_type; + int rx_filter; + struct ifreq *ifr; + bool copied_to_user; + enum hwtstamp_source source; + enum hwtstamp_provider_qualifier qualifier; +}; + +struct kernel_param_ops; + +struct kparam_string; + +struct kparam_array; + +struct kernel_param { + const char *name; + struct module *mod; + const struct kernel_param_ops *ops; + const u16 perm; + s8 level; + u8 flags; + union { + void *arg; + const struct kparam_string *str; + const struct kparam_array *arr; + }; +}; + +struct kernel_param_ops { + unsigned int flags; + int (*set)(const char *, const struct kernel_param *); + int (*get)(char *, const struct kernel_param *); + void (*free)(void *); +}; + +struct kernel_siginfo { + struct { + int si_signo; + int si_errno; + int si_code; + union __sifields _sifields; + }; +}; + +typedef struct kernel_siginfo kernel_siginfo_t; + +struct kernel_stat { + long unsigned int irqs_sum; + unsigned int softirqs[10]; +}; + +struct kernel_symbol { + long unsigned int value; + const char *name; + const char *namespace; +}; + +struct xattr_name; + +struct kernel_xattr_ctx { + union { + const void *cvalue; + void *value; + }; + void *kvalue; + size_t size; + struct xattr_name *kname; + unsigned int flags; +}; + +struct kernfs_open_node; + +struct kernfs_ops; + +struct kernfs_elem_attr { + const struct kernfs_ops *ops; + struct kernfs_open_node *open; + loff_t size; + struct kernfs_node *notify_next; + long: 32; +}; + +struct kernfs_root; + +struct kernfs_elem_dir { + long unsigned int subdirs; + struct rb_root children; + struct kernfs_root *root; + long unsigned int rev; +}; + +struct kernfs_elem_symlink { + struct kernfs_node *target_kn; +}; + +struct kernfs_iattrs; + +struct kernfs_node { + atomic_t count; + atomic_t active; + struct kernfs_node *parent; + const char *name; + struct rb_node rb; + const void *ns; + unsigned int hash; + short unsigned int flags; + umode_t mode; + union { + struct kernfs_elem_dir dir; + struct kernfs_elem_symlink symlink; + struct kernfs_elem_attr attr; + }; + u64 id; + void *priv; + struct kernfs_iattrs *iattr; + struct callback_head rcu; +}; + +struct vm_operations_struct; + +struct kernfs_open_file { + struct kernfs_node *kn; + struct file *file; + struct seq_file *seq_file; + void *priv; + struct mutex mutex; + struct mutex prealloc_mutex; + int event; + struct list_head list; + char *prealloc_buf; + size_t atomic_write_len; + bool mmapped: 1; + bool released: 1; + const struct vm_operations_struct *vm_ops; +}; + +struct kernfs_ops { + int (*open)(struct kernfs_open_file *); + void (*release)(struct kernfs_open_file *); + int (*seq_show)(struct seq_file *, void *); + void * (*seq_start)(struct seq_file *, loff_t *); + void * (*seq_next)(struct seq_file *, void *, loff_t *); + void (*seq_stop)(struct seq_file *, void *); + ssize_t (*read)(struct kernfs_open_file *, char *, size_t, loff_t); + size_t atomic_write_len; + bool prealloc; + ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t); + __poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *); + int (*mmap)(struct kernfs_open_file *, struct vm_area_struct *); + loff_t (*llseek)(struct kernfs_open_file *, loff_t, int); +}; + +struct key_vector { + t_key key; + unsigned char pos; + unsigned char bits; + unsigned char slen; + union { + struct hlist_head leaf; + struct { + struct {} __empty_tnode; + struct key_vector *tnode[0]; + }; + }; +}; + +struct rcu_gp_oldstate { + long unsigned int rgos_norm; +}; + +struct kfree_rcu_cpu; + +struct kfree_rcu_cpu_work { + struct rcu_work rcu_work; + struct callback_head *head_free; + struct rcu_gp_oldstate head_free_gp_snap; + struct list_head bulk_head_free[2]; + struct kfree_rcu_cpu *krcp; +}; + +struct kfree_rcu_cpu { + struct callback_head *head; + long unsigned int head_gp_snap; + atomic_t head_count; + struct list_head bulk_head[2]; + atomic_t bulk_count[2]; + struct kfree_rcu_cpu_work krw_arr[2]; + raw_spinlock_t lock; + struct delayed_work monitor_work; + bool initialized; + struct delayed_work page_cache_work; + atomic_t backoff_page_cache_fill; + atomic_t work_in_progress; + struct hrtimer hrtimer; + struct llist_head bkvcache; + int nr_bkv_objs; +}; + +struct wait_page_queue; + +struct kiocb { + struct file *ki_filp; + long: 32; + loff_t ki_pos; + void (*ki_complete)(struct kiocb *, long int); + void *private; + int ki_flags; + u16 ki_ioprio; + union { + struct wait_page_queue *ki_waitq; + ssize_t (*dio_complete)(void *); + }; + long: 32; +}; + +struct klist_waiter { + struct list_head list; + struct klist_node *node; + struct task_struct *process; + int woken; +}; + +struct kmalloc_info_struct { + const char *name[1]; + unsigned int size; +}; + +struct kmalloced_param { + struct list_head list; + char val[0]; +}; + +struct kmap_ctrl {}; + +typedef struct kmem_cache *kmem_buckets[14]; + +struct reciprocal_value { + u32 m; + u8 sh1; + u8 sh2; +}; + +struct kmem_cache_order_objects { + unsigned int x; +}; + +struct kmem_cache_node; + +struct kmem_cache { + slab_flags_t flags; + long unsigned int min_partial; + unsigned int size; + unsigned int object_size; + struct reciprocal_value reciprocal_size; + unsigned int offset; + struct kmem_cache_order_objects oo; + struct kmem_cache_order_objects min; + gfp_t allocflags; + int refcount; + void (*ctor)(void *); + unsigned int inuse; + unsigned int align; + unsigned int red_left_pad; + const char *name; + struct list_head list; + struct kmem_cache_node *node[1]; +}; + +struct kmem_cache_args { + unsigned int align; + unsigned int useroffset; + unsigned int usersize; + unsigned int freeptr_offset; + bool use_freeptr_offset; + void (*ctor)(void *); +}; + +union kmem_cache_iter_priv { + struct bpf_iter_kmem_cache it; + struct bpf_iter_kmem_cache_kern kit; +}; + +struct kmem_cache_node { + spinlock_t list_lock; + long unsigned int nr_partial; + struct list_head partial; +}; + +struct kobj_attribute { + struct attribute attr; + ssize_t (*show)(struct kobject *, struct kobj_attribute *, char *); + ssize_t (*store)(struct kobject *, struct kobj_attribute *, const char *, size_t); +}; + +struct probe; + +struct kobj_map { + struct probe *probes[255]; + struct mutex *lock; +}; + +struct kobj_ns_type_operations { + enum kobj_ns_type type; + bool (*current_may_mount)(void); + void * (*grab_current_ns)(void); + const void * (*netlink_ns)(struct sock *); + const void * (*initial_ns)(void); + void (*drop_ns)(void *); +}; + +struct sysfs_ops; + +struct kobj_type { + void (*release)(struct kobject *); + const struct sysfs_ops *sysfs_ops; + const struct attribute_group **default_groups; + const struct kobj_ns_type_operations * (*child_ns_type)(const struct kobject *); + const void * (*namespace)(const struct kobject *); + void (*get_ownership)(const struct kobject *, kuid_t *, kgid_t *); +}; + +struct kobj_uevent_env { + char *argv[3]; + char *envp[64]; + int envp_idx; + char buf[2048]; + int buflen; +}; + +struct kparam_array { + unsigned int max; + unsigned int elemsize; + unsigned int *num; + const struct kernel_param_ops *ops; + void *elem; +}; + +struct kparam_string { + unsigned int maxlen; + char *string; +}; + +struct kprobe; + +typedef int (*kprobe_pre_handler_t)(struct kprobe *, struct pt_regs *); + +typedef void (*kprobe_post_handler_t)(struct kprobe *, struct pt_regs *, long unsigned int); + +struct kprobe { + struct hlist_node hlist; + struct list_head list; + long unsigned int nmissed; + kprobe_opcode_t *addr; + const char *symbol_name; + unsigned int offset; + kprobe_pre_handler_t pre_handler; + kprobe_post_handler_t post_handler; + kprobe_opcode_t opcode; + struct arch_probes_insn ainsn; + u32 flags; +}; + +struct kprobe_blacklist_entry { + struct list_head list; + long unsigned int start_addr; + long unsigned int end_addr; +}; + +struct prev_kprobe { + struct kprobe *kp; + unsigned int status; +}; + +struct kprobe_ctlblk { + unsigned int kprobe_status; + struct prev_kprobe prev_kprobe; +}; + +struct kprobe_insn_cache { + struct mutex mutex; + void * (*alloc)(void); + void (*free)(void *); + const char *sym; + struct list_head pages; + size_t insn_size; + int nr_garbage; +}; + +struct kprobe_insn_page { + struct list_head list; + kprobe_opcode_t *insns; + struct kprobe_insn_cache *cache; + int nused; + int ngarbage; + char slot_used[0]; +}; + +struct kprobe_trace_entry_head { + struct trace_entry ent; + long unsigned int ip; +}; + +struct kretprobe_instance; + +typedef int (*kretprobe_handler_t)(struct kretprobe_instance *, struct pt_regs *); + +struct kretprobe_holder; + +struct kretprobe { + struct kprobe kp; + kretprobe_handler_t handler; + kretprobe_handler_t entry_handler; + int maxactive; + int nmissed; + size_t data_size; + struct kretprobe_holder *rph; +}; + +struct objpool_head; + +typedef int (*objpool_fini_cb)(struct objpool_head *, void *); + +struct objpool_slot; + +struct objpool_head { + int obj_size; + int nr_objs; + int nr_possible_cpus; + int capacity; + gfp_t gfp; + refcount_t ref; + long unsigned int flags; + struct objpool_slot **cpu_slots; + objpool_fini_cb release; + void *context; +}; + +struct kretprobe_holder { + struct kretprobe *rp; + struct objpool_head pool; +}; + +struct kretprobe_instance { + struct callback_head rcu; + struct llist_node llist; + struct kretprobe_holder *rph; + kprobe_opcode_t *ret_addr; + void *fp; + char data[0]; +}; + +struct kretprobe_trace_entry_head { + struct trace_entry ent; + long unsigned int func; + long unsigned int ret_ip; +}; + +struct kset_uevent_ops; + +struct kset { + struct list_head list; + spinlock_t list_lock; + struct kobject kobj; + const struct kset_uevent_ops *uevent_ops; +}; + +struct kset_uevent_ops { + int (* const filter)(const struct kobject *); + const char * (* const name)(const struct kobject *); + int (* const uevent)(const struct kobject *, struct kobj_uevent_env *); +}; + +struct ksignal { + struct k_sigaction ka; + kernel_siginfo_t info; + int sig; +}; + +struct kstat { + u32 result_mask; + umode_t mode; + unsigned int nlink; + uint32_t blksize; + u64 attributes; + u64 attributes_mask; + u64 ino; + dev_t dev; + dev_t rdev; + kuid_t uid; + kgid_t gid; + loff_t size; + struct timespec64 atime; + struct timespec64 mtime; + struct timespec64 ctime; + struct timespec64 btime; + u64 blocks; + u64 mnt_id; + u64 change_cookie; + u64 subvol; + u32 dio_mem_align; + u32 dio_offset_align; + u32 dio_read_offset_align; + u32 atomic_write_unit_min; + u32 atomic_write_unit_max; + u32 atomic_write_segments_max; +}; + +struct kstatfs { + long int f_type; + long int f_bsize; + u64 f_blocks; + u64 f_bfree; + u64 f_bavail; + u64 f_files; + u64 f_ffree; + __kernel_fsid_t f_fsid; + long int f_namelen; + long int f_frsize; + long int f_flags; + long int f_spare[4]; + long: 32; +}; + +struct statmount { + __u32 size; + __u32 mnt_opts; + __u64 mask; + __u32 sb_dev_major; + __u32 sb_dev_minor; + __u64 sb_magic; + __u32 sb_flags; + __u32 fs_type; + __u64 mnt_id; + __u64 mnt_parent_id; + __u32 mnt_id_old; + __u32 mnt_parent_id_old; + __u64 mnt_attr; + __u64 mnt_propagation; + __u64 mnt_peer_group; + __u64 mnt_master; + __u64 propagate_from; + __u32 mnt_root; + __u32 mnt_point; + __u64 mnt_ns_id; + __u32 fs_subtype; + __u32 sb_source; + __u32 opt_num; + __u32 opt_array; + __u32 opt_sec_num; + __u32 opt_sec_array; + __u64 __spare2[46]; + char str[0]; +}; + +struct seq_file { + char *buf; + size_t size; + size_t from; + size_t count; + size_t pad_until; + long: 32; + loff_t index; + loff_t read_pos; + struct mutex lock; + const struct seq_operations *op; + int poll_event; + const struct file *file; + void *private; + long: 32; +}; + +struct kstatmount { + struct statmount *buf; + size_t bufsize; + struct vfsmount *mnt; + long: 32; + u64 mask; + struct path root; + struct statmount sm; + struct seq_file seq; +}; + +struct ktermios { + tcflag_t c_iflag; + tcflag_t c_oflag; + tcflag_t c_cflag; + tcflag_t c_lflag; + cc_t c_line; + cc_t c_cc[19]; + speed_t c_ispeed; + speed_t c_ospeed; +}; + +struct kthread { + long unsigned int flags; + unsigned int cpu; + unsigned int node; + int started; + int result; + int (*threadfn)(void *); + void *data; + struct completion parked; + struct completion exited; + char *full_name; + struct task_struct *task; + struct list_head hotplug_node; + struct cpumask *preferred_affinity; +}; + +struct kthread_create_info { + char *full_name; + int (*threadfn)(void *); + void *data; + int node; + struct task_struct *result; + struct completion *done; + struct list_head list; +}; + +struct kthread_work; + +typedef void (*kthread_work_func_t)(struct kthread_work *); + +struct kthread_worker; + +struct kthread_work { + struct list_head node; + kthread_work_func_t func; + struct kthread_worker *worker; + int canceling; +}; + +struct kthread_delayed_work { + struct kthread_work work; + struct timer_list timer; +}; + +struct kthread_flush_work { + struct kthread_work work; + struct completion done; +}; + +struct kthread_worker { + unsigned int flags; + raw_spinlock_t lock; + struct list_head work_list; + struct list_head delayed_work_list; + struct task_struct *task; + struct kthread_work *current_work; +}; + +struct kvfree_rcu_bulk_data { + struct list_head list; + struct rcu_gp_oldstate gp_snap; + long unsigned int nr_records; + void *records[0]; +}; + +struct l2x0_regs; + +struct outer_cache_fns { + void (*inv_range)(long unsigned int, long unsigned int); + void (*clean_range)(long unsigned int, long unsigned int); + void (*flush_range)(long unsigned int, long unsigned int); + void (*flush_all)(void); + void (*disable)(void); + void (*sync)(void); + void (*resume)(void); + void (*write_sec)(long unsigned int, unsigned int); + void (*configure)(const struct l2x0_regs *); +}; + +struct l2c_init_data { + const char *type; + unsigned int way_size_0; + unsigned int num_lock; + void (*of_parse)(const struct device_node *, u32 *, u32 *); + void (*enable)(void *, unsigned int); + void (*fixup)(void *, u32, struct outer_cache_fns *); + void (*save)(void *); + void (*configure)(void *); + void (*unlock)(void *, unsigned int); + struct outer_cache_fns outer_cache; +}; + +struct l2x0_regs { + long unsigned int phy_base; + long unsigned int aux_ctrl; + long unsigned int tag_latency; + long unsigned int data_latency; + long unsigned int filter_start; + long unsigned int filter_end; + long unsigned int prefetch_ctrl; + long unsigned int pwr_ctrl; + long unsigned int ctrl; + long unsigned int aux2_ctrl; +}; + +struct latch_tree_ops { + bool (*less)(struct latch_tree_node *, struct latch_tree_node *); + int (*comp)(void *, struct latch_tree_node *); +}; + +struct latch_tree_root { + seqcount_latch_t seq; + struct rb_root tree[2]; +}; + +struct ld_semaphore { + atomic_long_t count; + raw_spinlock_t wait_lock; + unsigned int wait_readers; + struct list_head read_wait; + struct list_head write_wait; +}; + +struct lease_manager_operations { + bool (*lm_break)(struct file_lease *); + int (*lm_change)(struct file_lease *, int, struct list_head *); + void (*lm_setup)(struct file_lease *, void **); + bool (*lm_breaker_owns_lease)(struct file_lease *); +}; + +struct legacy_fs_context { + char *legacy_data; + size_t data_size; + enum legacy_fs_param param_type; +}; + +struct linger { + int l_onoff; + int l_linger; +}; + +struct link_mode_info { + int speed; + u8 lanes; + u8 duplex; +}; + +struct linked_reg { + u8 frameno; + union { + u8 spi; + u8 regno; + }; + bool is_reg; +}; + +struct linked_regs { + int cnt; + struct linked_reg entries[6]; +}; + +struct linkinfo_reply_data { + struct ethnl_reply_data base; + struct ethtool_link_ksettings ksettings; + struct ethtool_link_settings *lsettings; +}; + +struct linkmodes_reply_data { + struct ethnl_reply_data base; + struct ethtool_link_ksettings ksettings; + struct ethtool_link_settings *lsettings; + bool peer_empty; +}; + +struct linkstate_reply_data { + struct ethnl_reply_data base; + int link; + int sqi; + int sqi_max; + struct ethtool_link_ext_stats link_stats; + bool link_ext_state_provided; + struct ethtool_link_ext_state_info ethtool_link_ext_state_info; + long: 32; +}; + +struct linux_binprm; + +struct linux_binfmt { + struct list_head lh; + struct module *module; + int (*load_binary)(struct linux_binprm *); + int (*load_shlib)(struct file *); +}; + +struct rlimit { + __kernel_ulong_t rlim_cur; + __kernel_ulong_t rlim_max; +}; + +struct linux_binprm { + struct vm_area_struct *vma; + long unsigned int vma_pages; + long unsigned int argmin; + struct mm_struct *mm; + long unsigned int p; + unsigned int have_execfd: 1; + unsigned int execfd_creds: 1; + unsigned int secureexec: 1; + unsigned int point_of_no_return: 1; + unsigned int comm_from_dentry: 1; + unsigned int is_check: 1; + struct file *executable; + struct file *interpreter; + struct file *file; + struct cred *cred; + int unsafe; + unsigned int per_clear; + int argc; + int envc; + const char *filename; + const char *interp; + const char *fdpath; + unsigned int interp_flags; + int execfd; + long unsigned int loader; + long unsigned int exec; + struct rlimit rlim_stack; + char buf[256]; +}; + +struct linux_binprm__safe_trusted { + struct file *file; +}; + +struct linux_dirent { + long unsigned int d_ino; + long unsigned int d_off; + short unsigned int d_reclen; + char d_name[0]; +}; + +struct linux_dirent64 { + u64 d_ino; + s64 d_off; + short unsigned int d_reclen; + unsigned char d_type; + char d_name[0]; + long: 32; +}; + +struct linux_mib { + long unsigned int mibs[133]; +}; + +struct list_lru_node; + +struct list_lru { + struct list_lru_node *node; +}; + +struct list_lru_one { + struct list_head list; + long int nr_items; + spinlock_t lock; +}; + +struct list_lru_node { + struct list_lru_one lru; + atomic_long_t nr_items; +}; + +struct listeners { + struct callback_head rcu; + long unsigned int masks[0]; +}; + +struct load_info { + const char *name; + struct module *mod; + Elf32_Ehdr *hdr; + long unsigned int len; + Elf32_Shdr *sechdrs; + char *secstrings; + char *strtab; + long unsigned int symoffs; + long unsigned int stroffs; + long unsigned int init_typeoffs; + long unsigned int core_typeoffs; + bool sig_ok; + long unsigned int mod_kallsyms_init_off; + struct { + unsigned int sym; + unsigned int str; + unsigned int mod; + unsigned int vers; + unsigned int info; + unsigned int pcpu; + unsigned int vers_ext_crc; + unsigned int vers_ext_name; + } index; +}; + +struct local_ports { + u32 range; + bool warned; +}; + +struct lock_manager_operations { + void *lm_mod_owner; + fl_owner_t (*lm_get_owner)(fl_owner_t); + void (*lm_put_owner)(fl_owner_t); + void (*lm_notify)(struct file_lock *); + int (*lm_grant)(struct file_lock *, int); + bool (*lm_lock_expirable)(struct file_lock *); + void (*lm_expire_lock)(void); +}; + +struct logic_pio_host_ops { + u32 (*in)(void *, long unsigned int, size_t); + void (*out)(void *, long unsigned int, u32, size_t); + u32 (*ins)(void *, long unsigned int, void *, size_t, unsigned int); + void (*outs)(void *, long unsigned int, const void *, size_t, unsigned int); +}; + +struct logic_pio_hwaddr { + struct list_head list; + const struct fwnode_handle *fwnode; + resource_size_t hw_start; + resource_size_t io_start; + resource_size_t size; + long unsigned int flags; + void *hostdata; + const struct logic_pio_host_ops *ops; +}; + +struct lookup_args { + int offset; + const struct in6_addr *addr; +}; + +union lower_chunk { + union lower_chunk *next; + long unsigned int data[512]; +}; + +struct lpm_trie_node; + +struct lpm_trie { + struct bpf_map map; + struct lpm_trie_node *root; + struct bpf_mem_alloc ma; + size_t n_entries; + size_t max_prefixlen; + size_t data_size; + raw_spinlock_t lock; +}; + +struct lpm_trie_node { + struct lpm_trie_node *child[2]; + u32 prefixlen; + u32 flags; + u8 data[0]; +}; + +struct zswap_lruvec_state {}; + +struct lruvec { + struct list_head lists[5]; + spinlock_t lru_lock; + long unsigned int anon_cost; + long unsigned int file_cost; + atomic_long_t nonresident_age; + long unsigned int refaults[2]; + long unsigned int flags; + struct zswap_lruvec_state zswap_lruvec_state; +}; + +struct lsm_context { + char *context; + u32 len; + int id; +}; + +struct lwq { + spinlock_t lock; + struct llist_node *ready; + struct llist_head new; +}; + +struct lwtunnel_encap_ops { + int (*build_state)(struct net *, struct nlattr *, unsigned int, const void *, struct lwtunnel_state **, struct netlink_ext_ack *); + void (*destroy_state)(struct lwtunnel_state *); + int (*output)(struct net *, struct sock *, struct sk_buff *); + int (*input)(struct sk_buff *); + int (*fill_encap)(struct sk_buff *, struct lwtunnel_state *); + int (*get_encap_size)(struct lwtunnel_state *); + int (*cmp_encap)(struct lwtunnel_state *, struct lwtunnel_state *); + int (*xmit)(struct sk_buff *); + struct module *owner; +}; + +struct lwtunnel_state { + __u16 type; + __u16 flags; + __u16 headroom; + atomic_t refcnt; + int (*orig_output)(struct net *, struct sock *, struct sk_buff *); + int (*orig_input)(struct sk_buff *); + struct callback_head rcu; + __u8 data[0]; +}; + +struct ma_topiary { + struct maple_enode *head; + struct maple_enode *tail; + struct maple_tree *mtree; +}; + +struct maple_node; + +struct ma_wr_state { + struct ma_state *mas; + struct maple_node *node; + long unsigned int r_min; + long unsigned int r_max; + enum maple_type type; + unsigned char offset_end; + long unsigned int *pivots; + long unsigned int end_piv; + void **slots; + void *entry; + void *content; +}; + +struct smp_operations; + +struct tag; + +struct machine_desc { + unsigned int nr; + const char *name; + long unsigned int atag_offset; + const char * const *dt_compat; + unsigned int nr_irqs; + unsigned int video_start; + unsigned int video_end; + unsigned char reserve_lp0: 1; + unsigned char reserve_lp1: 1; + unsigned char reserve_lp2: 1; + enum reboot_mode reboot_mode; + unsigned int l2c_aux_val; + unsigned int l2c_aux_mask; + void (*l2c_write_sec)(long unsigned int, unsigned int); + const struct smp_operations *smp; + bool (*smp_init)(void); + void (*fixup)(struct tag *, char **); + void (*dt_fixup)(void); + long long int (*pv_fixup)(void); + void (*reserve)(void); + void (*map_io)(void); + void (*init_early)(void); + void (*init_irq)(void); + void (*init_time)(void); + void (*init_machine)(void); + void (*init_late)(void); + void (*restart)(enum reboot_mode, const char *); +}; + +struct macsec_info { + sci_t sci; +}; + +struct map_desc { + long unsigned int virtual; + long unsigned int pfn; + long unsigned int length; + unsigned int type; +}; + +struct map_info { + struct map_info *next; + struct mm_struct *mm; + long unsigned int vaddr; +}; + +struct map_iter { + void *key; + bool done; +}; + +struct maple_alloc { + long unsigned int total; + unsigned char node_count; + unsigned int request_count; + struct maple_alloc *slot[61]; +}; + +struct maple_pnode; + +struct maple_metadata { + unsigned char end; + unsigned char gap; +}; + +struct maple_arange_64 { + struct maple_pnode *parent; + long unsigned int pivot[20]; + void *slot[21]; + long unsigned int gap[21]; + struct maple_metadata meta; +}; + +struct maple_big_node { + long unsigned int pivot[65]; + union { + struct maple_enode *slot[66]; + struct { + long unsigned int padding[43]; + long unsigned int gap[43]; + }; + }; + unsigned char b_end; + enum maple_type type; +}; + +struct maple_range_64 { + struct maple_pnode *parent; + long unsigned int pivot[31]; + union { + void *slot[32]; + struct { + void *pad[31]; + struct maple_metadata meta; + }; + }; +}; + +struct maple_node { + union { + struct { + struct maple_pnode *parent; + void *slot[63]; + }; + struct { + void *pad; + struct callback_head rcu; + struct maple_enode *piv_parent; + unsigned char parent_slot; + enum maple_type type; + unsigned char slot_len; + unsigned int ma_flags; + }; + struct maple_range_64 mr64; + struct maple_arange_64 ma64; + struct maple_alloc alloc; + }; +}; + +struct maple_subtree_state { + struct ma_state *orig_l; + struct ma_state *orig_r; + struct ma_state *l; + struct ma_state *m; + struct ma_state *r; + struct ma_topiary *free; + struct ma_topiary *destroy; + struct maple_big_node *bn; +}; + +struct maple_topiary { + struct maple_pnode *parent; + struct maple_enode *next; +}; + +struct maple_tree { + union { + spinlock_t ma_lock; + lockdep_map_p ma_external_lock; + }; + unsigned int ma_flags; + void *ma_root; +}; + +struct match_token { + int token; + const char *pattern; +}; + +struct mdio_bus_stats { + u64_stats_t transfers; + u64_stats_t errors; + u64_stats_t writes; + u64_stats_t reads; + struct u64_stats_sync syncp; + long: 32; +}; + +struct reset_control; + +struct mii_bus; + +struct mdio_device { + struct device dev; + struct mii_bus *bus; + char modalias[32]; + int (*bus_match)(struct device *, const struct device_driver *); + void (*device_free)(struct mdio_device *); + void (*device_remove)(struct mdio_device *); + int addr; + int flags; + int reset_state; + struct gpio_desc *reset_gpio; + struct reset_control *reset_ctrl; + unsigned int reset_assert_delay; + unsigned int reset_deassert_delay; + long: 32; +}; + +struct mdio_driver_common { + struct device_driver driver; + int flags; +}; + +struct pglist_data; + +typedef struct pglist_data pg_data_t; + +struct mem_cgroup_reclaim_cookie { + pg_data_t *pgdat; + int generation; +}; + +struct quota_format_type; + +struct mem_dqinfo { + struct quota_format_type *dqi_format; + int dqi_fmt_id; + struct list_head dqi_dirty_list; + long unsigned int dqi_flags; + unsigned int dqi_bgrace; + unsigned int dqi_igrace; + long: 32; + qsize_t dqi_max_spc_limit; + qsize_t dqi_max_ino_limit; + void *dqi_priv; + long: 32; +}; + +struct mem_type { + pteval_t prot_pte; + pteval_t prot_pte_s2; + pmdval_t prot_l1; + pmdval_t prot_sect; + unsigned int domain; +}; + +struct memblock_region; + +struct memblock_type { + long unsigned int cnt; + long unsigned int max; + phys_addr_t total_size; + struct memblock_region *regions; + char *name; +}; + +struct memblock { + bool bottom_up; + phys_addr_t current_limit; + struct memblock_type memory; + struct memblock_type reserved; +}; + +struct memblock_region { + phys_addr_t base; + phys_addr_t size; + enum memblock_flags flags; +}; + +struct membuf { + void *p; + size_t left; +}; + +struct memdev { + const char *name; + const struct file_operations *fops; + fmode_t fmode; + umode_t mode; +}; + +struct memory_notify { + long unsigned int altmap_start_pfn; + long unsigned int altmap_nr_pages; + long unsigned int start_pfn; + long unsigned int nr_pages; + int status_change_nid_normal; + int status_change_nid; +}; + +struct mempolicy {}; + +struct xfrm_md_info { + u32 if_id; + int link; + struct dst_entry *dst_orig; +}; + +struct metadata_dst { + struct dst_entry dst; + enum metadata_type type; + long: 32; + union { + struct ip_tunnel_info tun_info; + struct hw_port_info port_info; + struct macsec_info macsec_info; + struct xfrm_md_info xfrm_info; + } u; +}; + +struct migrate_pages_stats { + int nr_succeeded; + int nr_failed_pages; + int nr_thp_succeeded; + int nr_thp_failed; + int nr_thp_split; + int nr_split; +}; + +struct migration_target_control { + int nid; + nodemask_t *nmask; + gfp_t gfp_mask; + enum migrate_reason reason; +}; + +struct phy_package_shared; + +struct mii_bus { + struct module *owner; + const char *name; + char id[61]; + void *priv; + int (*read)(struct mii_bus *, int, int); + int (*write)(struct mii_bus *, int, int, u16); + int (*read_c45)(struct mii_bus *, int, int, int); + int (*write_c45)(struct mii_bus *, int, int, int, u16); + int (*reset)(struct mii_bus *); + struct mdio_bus_stats stats[32]; + struct mutex mdio_lock; + struct device *parent; + enum { + MDIOBUS_ALLOCATED = 1, + MDIOBUS_REGISTERED = 2, + MDIOBUS_UNREGISTERED = 3, + MDIOBUS_RELEASED = 4, + } state; + long: 32; + struct device dev; + struct mdio_device *mdio_map[32]; + u32 phy_mask; + u32 phy_ignore_ta_mask; + int irq[32]; + int reset_delay_us; + int reset_post_delay_us; + struct gpio_desc *reset_gpiod; + struct mutex shared_lock; + struct phy_package_shared *shared[32]; +}; + +struct mii_timestamper { + bool (*rxtstamp)(struct mii_timestamper *, struct sk_buff *, int); + void (*txtstamp)(struct mii_timestamper *, struct sk_buff *, int); + int (*hwtstamp)(struct mii_timestamper *, struct kernel_hwtstamp_config *, struct netlink_ext_ack *); + void (*link_state)(struct mii_timestamper *, struct phy_device *); + int (*ts_info)(struct mii_timestamper *, struct kernel_ethtool_ts_info *); + struct device *device; +}; + +struct min_heap_callbacks { + bool (*less)(const void *, const void *, void *); + void (*swp)(void *, void *, void *); +}; + +struct min_heap_char { + size_t nr; + size_t size; + char *data; + char preallocated[0]; +}; + +typedef struct min_heap_char min_heap_char; + +struct tcf_proto; + +struct mini_Qdisc { + struct tcf_proto *filter_list; + struct tcf_block *block; + struct gnet_stats_basic_sync *cpu_bstats; + struct gnet_stats_queue *cpu_qstats; + long unsigned int rcu_state; +}; + +struct mini_Qdisc_pair { + struct mini_Qdisc miniq1; + struct mini_Qdisc miniq2; + struct mini_Qdisc **p_miniq; +}; + +struct minmax_sample { + u32 t; + u32 v; +}; + +struct minmax { + struct minmax_sample s[3]; +}; + +struct miscdevice { + int minor; + const char *name; + const struct file_operations *fops; + struct list_head list; + struct device *parent; + struct device *this_device; + const struct attribute_group **groups; + const char *nodename; + umode_t mode; +}; + +struct mld2_grec { + __u8 grec_type; + __u8 grec_auxwords; + __be16 grec_nsrcs; + struct in6_addr grec_mca; + struct in6_addr grec_src[0]; +}; + +struct mld2_query { + struct icmp6hdr mld2q_hdr; + struct in6_addr mld2q_mca; + __u8 mld2q_qrv: 3; + __u8 mld2q_suppress: 1; + __u8 mld2q_resv2: 4; + __u8 mld2q_qqic; + __be16 mld2q_nsrcs; + struct in6_addr mld2q_srcs[0]; +}; + +struct mld2_report { + struct icmp6hdr mld2r_hdr; + struct mld2_grec mld2r_grec[0]; +}; + +struct mld_msg { + struct icmp6hdr mld_hdr; + struct in6_addr mld_mca; +}; + +struct mlock_fbatch { + local_lock_t lock; + struct folio_batch fbatch; +}; + +struct mm_reply_data { + struct ethnl_reply_data base; + struct ethtool_mm_state state; + long: 32; + struct ethtool_mm_stats stats; +}; + +struct xol_area; + +struct uprobes_state { + struct xol_area *xol_area; +}; + +struct mm_struct { + struct { + struct { + atomic_t mm_count; + }; + struct maple_tree mm_mt; + long unsigned int mmap_base; + long unsigned int mmap_legacy_base; + long unsigned int task_size; + pgd_t *pgd; + atomic_t mm_users; + atomic_long_t pgtables_bytes; + int map_count; + spinlock_t page_table_lock; + struct rw_semaphore mmap_lock; + struct list_head mmlist; + long unsigned int hiwater_rss; + long unsigned int hiwater_vm; + long unsigned int total_vm; + long unsigned int locked_vm; + atomic64_t pinned_vm; + long unsigned int data_vm; + long unsigned int exec_vm; + long unsigned int stack_vm; + long unsigned int def_flags; + seqcount_t write_protect_seq; + spinlock_t arg_lock; + long unsigned int start_code; + long unsigned int end_code; + long unsigned int start_data; + long unsigned int end_data; + long unsigned int start_brk; + long unsigned int brk; + long unsigned int start_stack; + long unsigned int arg_start; + long unsigned int arg_end; + long unsigned int env_start; + long unsigned int env_end; + long unsigned int saved_auxv[46]; + struct percpu_counter rss_stat[4]; + struct linux_binfmt *binfmt; + long: 32; + mm_context_t context; + long unsigned int flags; + struct user_namespace *user_ns; + struct file *exe_file; + atomic_t tlb_flush_pending; + struct uprobes_state uprobes_state; + struct work_struct async_put_work; + long: 32; + }; + long unsigned int cpu_bitmap[0]; +}; + +struct mm_struct__safe_rcu_or_null { + struct file *exe_file; +}; + +struct mm_walk_ops; + +struct mm_walk { + const struct mm_walk_ops *ops; + struct mm_struct *mm; + pgd_t *pgd; + struct vm_area_struct *vma; + enum page_walk_action action; + bool no_vma; + void *private; +}; + +struct mm_walk_ops { + int (*pgd_entry)(pgd_t *, long unsigned int, long unsigned int, struct mm_walk *); + int (*p4d_entry)(p4d_t *, long unsigned int, long unsigned int, struct mm_walk *); + int (*pud_entry)(pud_t *, long unsigned int, long unsigned int, struct mm_walk *); + int (*pmd_entry)(pmd_t *, long unsigned int, long unsigned int, struct mm_walk *); + int (*pte_entry)(pte_t *, long unsigned int, long unsigned int, struct mm_walk *); + int (*pte_hole)(long unsigned int, long unsigned int, int, struct mm_walk *); + int (*hugetlb_entry)(pte_t *, long unsigned int, long unsigned int, long unsigned int, struct mm_walk *); + int (*test_walk)(long unsigned int, long unsigned int, struct mm_walk *); + int (*pre_vma)(long unsigned int, long unsigned int, struct mm_walk *); + void (*post_vma)(struct mm_walk *); + int (*install_pte)(long unsigned int, long unsigned int, pte_t *, struct mm_walk *); + enum page_walk_lock walk_lock; +}; + +struct mmap_arg_struct { + long unsigned int addr; + long unsigned int len; + long unsigned int prot; + long unsigned int flags; + long unsigned int fd; + long unsigned int offset; +}; + +struct vma_munmap_struct { + struct vma_iterator *vmi; + struct vm_area_struct *vma; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct list_head *uf; + long unsigned int start; + long unsigned int end; + long unsigned int unmap_start; + long unsigned int unmap_end; + int vma_count; + bool unlock; + bool clear_ptes; + long unsigned int nr_pages; + long unsigned int locked_vm; + long unsigned int nr_accounted; + long unsigned int exec_vm; + long unsigned int stack_vm; + long unsigned int data_vm; +}; + +struct mmap_state { + struct mm_struct *mm; + struct vma_iterator *vmi; + long unsigned int addr; + long unsigned int end; + long unsigned int pgoff; + long unsigned int pglen; + long unsigned int flags; + struct file *file; + long unsigned int charged; + bool retry_merge; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct vma_munmap_struct vms; + struct ma_state mas_detach; + struct maple_tree mt_detach; +}; + +struct mmap_unlock_irq_work { + struct irq_work irq_work; + struct mm_struct *mm; +}; + +struct mmpin { + struct user_struct *user; + unsigned int num_pg; +}; + +struct user_msghdr { + void *msg_name; + int msg_namelen; + struct iovec *msg_iov; + __kernel_size_t msg_iovlen; + void *msg_control; + __kernel_size_t msg_controllen; + unsigned int msg_flags; +}; + +struct mmsghdr { + struct user_msghdr msg_hdr; + unsigned int msg_len; +}; + +struct encoded_page; + +struct mmu_gather_batch { + struct mmu_gather_batch *next; + unsigned int nr; + unsigned int max; + struct encoded_page *encoded_pages[0]; +}; + +struct mmu_gather { + struct mm_struct *mm; + long unsigned int start; + long unsigned int end; + unsigned int fullmm: 1; + unsigned int need_flush_all: 1; + unsigned int freed_tables: 1; + unsigned int delayed_rmap: 1; + unsigned int cleared_ptes: 1; + unsigned int cleared_pmds: 1; + unsigned int cleared_puds: 1; + unsigned int cleared_p4ds: 1; + unsigned int vma_exec: 1; + unsigned int vma_huge: 1; + unsigned int vma_pfn: 1; + unsigned int batch_count; + struct mmu_gather_batch *active; + struct mmu_gather_batch local; + struct page *__pages[8]; +}; + +struct mmu_notifier_range { + long unsigned int start; + long unsigned int end; +}; + +struct mnt_id_req { + __u32 size; + __u32 spare; + __u64 mnt_id; + __u64 param; + __u64 mnt_ns_id; +}; + +struct uid_gid_extent { + u32 first; + u32 lower_first; + u32 count; +}; + +struct uid_gid_map { + union { + struct { + struct uid_gid_extent extent[5]; + u32 nr_extents; + }; + struct { + struct uid_gid_extent *forward; + struct uid_gid_extent *reverse; + }; + }; +}; + +struct mnt_idmap { + struct uid_gid_map uid_map; + struct uid_gid_map gid_map; + refcount_t count; +}; + +struct mount; + +struct mnt_namespace { + struct ns_common ns; + struct mount *root; + struct { + struct rb_root mounts; + struct rb_node *mnt_last_node; + struct rb_node *mnt_first_node; + }; + struct user_namespace *user_ns; + struct ucounts *ucounts; + u64 seq; + union { + wait_queue_head_t poll; + struct callback_head mnt_ns_rcu; + }; + u64 event; + unsigned int nr_mounts; + unsigned int pending_mounts; + struct rb_node mnt_ns_tree_node; + struct list_head mnt_ns_list; + refcount_t passive; +}; + +struct mnt_ns_info { + __u32 size; + __u32 nr_mounts; + __u64 mnt_ns_id; +}; + +struct plt_entries; + +struct mod_plt_sec { + struct elf32_shdr *plt; + struct plt_entries *plt_ent; + int plt_count; +}; + +struct unwind_table; + +struct mod_arch_specific { + struct list_head unwind_list; + struct unwind_table *init_table; + struct mod_plt_sec core; + struct mod_plt_sec init; +}; + +struct mod_initfree { + struct llist_node node; + void *init_text; + void *init_data; + void *init_rodata; +}; + +struct mod_kallsyms { + Elf32_Sym *symtab; + unsigned int num_symtab; + char *strtab; + char *typetab; +}; + +struct mod_tree_node { + struct module *mod; + struct latch_tree_node node; +}; + +struct mod_tree_root { + struct latch_tree_root root; + long unsigned int addr_min; + long unsigned int addr_max; +}; + +struct module_param_attrs; + +struct module_kobject { + struct kobject kobj; + struct module *mod; + struct kobject *drivers_dir; + struct module_param_attrs *mp; + struct completion *kobj_completion; +}; + +struct module_memory { + void *base; + void *rw_copy; + bool is_rox; + unsigned int size; + struct mod_tree_node mtn; +}; + +struct module_sect_attrs; + +struct module_notes_attrs; + +typedef struct tracepoint * const tracepoint_ptr_t; + +struct module_attribute; + +struct trace_event_call; + +struct trace_eval_map; + +struct module { + enum module_state state; + struct list_head list; + char name[60]; + struct module_kobject mkobj; + struct module_attribute *modinfo_attrs; + const char *version; + const char *srcversion; + struct kobject *holders_dir; + const struct kernel_symbol *syms; + const u32 *crcs; + unsigned int num_syms; + struct kernel_param *kp; + unsigned int num_kp; + unsigned int num_gpl_syms; + const struct kernel_symbol *gpl_syms; + const u32 *gpl_crcs; + bool using_gplonly_symbols; + bool async_probe_requested; + unsigned int num_exentries; + struct exception_table_entry *extable; + int (*init)(void); + long: 32; + struct module_memory mem[7]; + struct mod_arch_specific arch; + long unsigned int taints; + struct mod_kallsyms *kallsyms; + struct mod_kallsyms core_kallsyms; + struct module_sect_attrs *sect_attrs; + struct module_notes_attrs *notes_attrs; + char *args; + void *noinstr_text_start; + unsigned int noinstr_text_size; + unsigned int num_tracepoints; + tracepoint_ptr_t *tracepoints_ptrs; + unsigned int num_bpf_raw_events; + struct bpf_raw_event_map *bpf_raw_events; + unsigned int btf_data_size; + unsigned int btf_base_data_size; + void *btf_data; + void *btf_base_data; + unsigned int num_trace_bprintk_fmt; + const char **trace_bprintk_fmt_start; + struct trace_event_call **trace_events; + unsigned int num_trace_events; + struct trace_eval_map **trace_evals; + unsigned int num_trace_evals; + unsigned int num_ftrace_callsites; + long unsigned int *ftrace_callsites; + void *kprobes_text_start; + unsigned int kprobes_text_size; + long unsigned int *kprobe_blacklist; + unsigned int num_kprobe_blacklist; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct module_attribute { + struct attribute attr; + ssize_t (*show)(const struct module_attribute *, struct module_kobject *, char *); + ssize_t (*store)(const struct module_attribute *, struct module_kobject *, const char *, size_t); + void (*setup)(struct module *, const char *); + int (*test)(struct module *); + void (*free)(struct module *); +}; + +struct param_attribute { + struct module_attribute mattr; + const struct kernel_param *param; +}; + +struct module_param_attrs { + unsigned int num; + struct attribute_group grp; + struct param_attribute attrs[0]; +}; + +struct module_reply_data { + struct ethnl_reply_data base; + struct ethtool_module_power_mode_params power; +}; + +struct module_string { + struct list_head next; + struct module *module; + char *str; +}; + +struct vfsmount { + struct dentry *mnt_root; + struct super_block *mnt_sb; + int mnt_flags; + struct mnt_idmap *mnt_idmap; +}; + +struct mountpoint; + +struct mount { + struct hlist_node mnt_hash; + struct mount *mnt_parent; + struct dentry *mnt_mountpoint; + struct vfsmount mnt; + union { + struct rb_node mnt_node; + struct callback_head mnt_rcu; + struct llist_node mnt_llist; + }; + int mnt_count; + int mnt_writers; + struct list_head mnt_mounts; + struct list_head mnt_child; + struct list_head mnt_instance; + const char *mnt_devname; + struct list_head mnt_list; + struct list_head mnt_expire; + struct list_head mnt_share; + struct list_head mnt_slave_list; + struct list_head mnt_slave; + struct mount *mnt_master; + struct mnt_namespace *mnt_ns; + struct mountpoint *mnt_mp; + union { + struct hlist_node mnt_mp_list; + struct hlist_node mnt_umount; + }; + struct list_head mnt_umounting; + int mnt_id; + u64 mnt_id_unique; + int mnt_group_id; + int mnt_expiry_mark; + struct hlist_head mnt_pins; + struct hlist_head mnt_stuck_children; +}; + +struct mount_attr { + __u64 attr_set; + __u64 attr_clr; + __u64 propagation; + __u64 userns_fd; +}; + +struct mount_kattr { + unsigned int attr_set; + unsigned int attr_clr; + unsigned int propagation; + unsigned int lookup_flags; + bool recurse; + struct user_namespace *mnt_userns; + struct mnt_idmap *mnt_idmap; +}; + +struct mountpoint { + struct hlist_node m_hash; + struct dentry *m_dentry; + struct hlist_head m_list; + int m_count; +}; + +struct movable_operations { + bool (*isolate_page)(struct page *, isolate_mode_t); + int (*migrate_page)(struct page *, struct page *, enum migrate_mode); + void (*putback_page)(struct page *); +}; + +struct mpidr_hash { + u32 mask; + u32 shift_aff[3]; + u32 bits; +}; + +struct mpls_label { + __be32 entry; +}; + +struct mpls_shim_hdr { + __be32 label_stack_entry; +}; + +struct mptcp_out_options {}; + +struct mptcp_sock {}; + +struct mq_sched { + struct Qdisc **qdiscs; +}; + +struct ubuf_info; + +struct msghdr { + void *msg_name; + int msg_namelen; + int msg_inq; + long: 32; + struct iov_iter msg_iter; + union { + void *msg_control; + void *msg_control_user; + }; + bool msg_control_is_user: 1; + bool msg_get_inq: 1; + unsigned int msg_flags; + __kernel_size_t msg_controllen; + struct kiocb *msg_iocb; + struct ubuf_info *msg_ubuf; + int (*sg_from_iter)(struct sk_buff *, struct iov_iter *, size_t); + long: 32; +}; + +struct msi_msg { + union { + u32 address_lo; + arch_msi_msg_addr_lo_t arch_addr_lo; + }; + union { + u32 address_hi; + arch_msi_msg_addr_hi_t arch_addr_hi; + }; + union { + u32 data; + arch_msi_msg_data_t arch_data; + }; +}; + +struct pci_msi_desc { + union { + u32 msi_mask; + u32 msix_ctrl; + }; + struct { + u8 is_msix: 1; + u8 multiple: 3; + u8 multi_cap: 3; + u8 can_mask: 1; + u8 is_64: 1; + u8 is_virtual: 1; + unsigned int default_irq; + } msi_attrib; + union { + u8 mask_pos; + void *mask_base; + }; +}; + +union msi_domain_cookie { + u64 value; + void *ptr; + void *iobase; +}; + +union msi_instance_cookie { + u64 value; + void *ptr; +}; + +struct msi_desc_data { + union msi_domain_cookie dcookie; + union msi_instance_cookie icookie; +}; + +struct msi_desc { + unsigned int irq; + unsigned int nvec_used; + struct device *dev; + struct msi_msg msg; + struct irq_affinity_desc *affinity; + void (*write_msi_msg)(struct msi_desc *, void *); + void *write_msi_msg_data; + u16 msi_index; + union { + struct pci_msi_desc pci; + struct msi_desc_data data; + }; +}; + +struct multiprocess_signals { + sigset_t signal; + struct hlist_node node; +}; + +typedef struct mutex *class_mutex_t; + +typedef class_mutex_t class_mutex_intr_t; + +struct ww_acquire_ctx; + +struct mutex_waiter { + struct list_head list; + struct task_struct *task; + struct ww_acquire_ctx *ww_ctx; +}; + +struct name_snapshot { + struct qstr name; + union shortname_store inline_name; + long: 32; +}; + +struct saved { + struct path link; + struct delayed_call done; + const char *name; + unsigned int seq; +}; + +struct nameidata { + struct path path; + struct qstr last; + struct path root; + struct inode *inode; + unsigned int flags; + unsigned int state; + unsigned int seq; + unsigned int next_seq; + unsigned int m_seq; + unsigned int r_seq; + int last_type; + unsigned int depth; + int total_link_count; + struct saved *stack; + struct saved internal[2]; + struct filename *name; + const char *pathname; + struct nameidata *saved; + unsigned int root_seq; + int dfd; + vfsuid_t dir_vfsuid; + umode_t dir_mode; +}; + +struct page_frag_cache { + long unsigned int encoded_page; + __u16 offset; + __u16 pagecnt_bias; +}; + +struct napi_alloc_cache { + local_lock_t bh_lock; + struct page_frag_cache page; + unsigned int skb_count; + void *skb_cache[64]; +}; + +struct napi_config { + u64 gro_flush_timeout; + u64 irq_suspend_timeout; + u32 defer_hard_irqs; + unsigned int napi_id; +}; + +struct napi_gro_cb { + union { + struct { + void *frag0; + unsigned int frag0_len; + }; + struct { + struct sk_buff *last; + long unsigned int age; + }; + }; + int data_offset; + u16 flush; + u16 count; + u16 proto; + u16 pad; + union { + struct { + u16 gro_remcsum_start; + u8 same_flow: 1; + u8 encap_mark: 1; + u8 csum_valid: 1; + u8 csum_cnt: 3; + u8 free: 2; + u8 is_ipv6: 1; + u8 is_fou: 1; + u8 ip_fixedid: 1; + u8 recursion_counter: 4; + u8 is_flist: 1; + }; + struct { + u16 gro_remcsum_start; + u8 same_flow: 1; + u8 encap_mark: 1; + u8 csum_valid: 1; + u8 csum_cnt: 3; + u8 free: 2; + u8 is_ipv6: 1; + u8 is_fou: 1; + u8 ip_fixedid: 1; + u8 recursion_counter: 4; + u8 is_flist: 1; + } zeroed; + }; + __wsum csum; + union { + struct { + u16 network_offset; + u16 inner_network_offset; + }; + u16 network_offsets[2]; + }; +}; + +struct nbcon_write_context { + struct nbcon_context ctxt; + char *outbuf; + unsigned int len; + bool unsafe_takeover; + long: 32; +}; + +struct nd_msg { + struct icmp6hdr icmph; + struct in6_addr target; + __u8 opt[0]; +}; + +struct nd_opt_hdr { + __u8 nd_opt_type; + __u8 nd_opt_len; +}; + +struct nda_cacheinfo { + __u32 ndm_confirmed; + __u32 ndm_used; + __u32 ndm_updated; + __u32 ndm_refcnt; +}; + +struct ndisc_options; + +struct prefix_info; + +struct ndisc_ops { + int (*parse_options)(const struct net_device *, struct nd_opt_hdr *, struct ndisc_options *); + void (*update)(const struct net_device *, struct neighbour *, u32, u8, const struct ndisc_options *); + int (*opt_addr_space)(const struct net_device *, u8, struct neighbour *, u8 *, u8 **); + void (*fill_addr_option)(const struct net_device *, struct sk_buff *, u8, const u8 *); + void (*prefix_rcv_add_addr)(struct net *, struct net_device *, const struct prefix_info *, struct inet6_dev *, struct in6_addr *, int, u32, bool, bool, __u32, u32, bool); +}; + +struct ndisc_options { + struct nd_opt_hdr *nd_opt_array[15]; + struct nd_opt_hdr *nd_useropts; + struct nd_opt_hdr *nd_useropts_end; +}; + +struct ndmsg { + __u8 ndm_family; + __u8 ndm_pad1; + __u16 ndm_pad2; + __s32 ndm_ifindex; + __u16 ndm_state; + __u8 ndm_flags; + __u8 ndm_type; +}; + +struct ndo_fdb_dump_context { + long unsigned int ifindex; + long unsigned int fdb_idx; +}; + +struct ndt_config { + __u16 ndtc_key_len; + __u16 ndtc_entry_size; + __u32 ndtc_entries; + __u32 ndtc_last_flush; + __u32 ndtc_last_rand; + __u32 ndtc_hash_rnd; + __u32 ndtc_hash_mask; + __u32 ndtc_hash_chain_gc; + __u32 ndtc_proxy_qlen; +}; + +struct ndt_stats { + __u64 ndts_allocs; + __u64 ndts_destroys; + __u64 ndts_hash_grows; + __u64 ndts_res_failed; + __u64 ndts_lookups; + __u64 ndts_hits; + __u64 ndts_rcv_probes_mcast; + __u64 ndts_rcv_probes_ucast; + __u64 ndts_periodic_gc_runs; + __u64 ndts_forced_gc_runs; + __u64 ndts_table_fulls; +}; + +struct ndtmsg { + __u8 ndtm_family; + __u8 ndtm_pad1; + __u16 ndtm_pad2; +}; + +struct nduseroptmsg { + unsigned char nduseropt_family; + unsigned char nduseropt_pad1; + short unsigned int nduseropt_opts_len; + int nduseropt_ifindex; + __u8 nduseropt_icmp_type; + __u8 nduseropt_icmp_code; + short unsigned int nduseropt_pad2; + unsigned int nduseropt_pad3; +}; + +struct neigh_dump_filter { + int master_idx; + int dev_idx; +}; + +struct neigh_hash_table { + struct hlist_head *hash_heads; + unsigned int hash_shift; + __u32 hash_rnd[4]; + struct callback_head rcu; +}; + +struct neigh_ops { + int family; + void (*solicit)(struct neighbour *, struct sk_buff *); + void (*error_report)(struct neighbour *, struct sk_buff *); + int (*output)(struct neighbour *, struct sk_buff *); + int (*connected_output)(struct neighbour *, struct sk_buff *); +}; + +struct neigh_parms { + possible_net_t net; + struct net_device *dev; + netdevice_tracker dev_tracker; + struct list_head list; + int (*neigh_setup)(struct neighbour *); + struct neigh_table *tbl; + void *sysctl_table; + int dead; + refcount_t refcnt; + struct callback_head callback_head; + int reachable_time; + u32 qlen; + int data[14]; + long unsigned int data_state[1]; +}; + +struct neigh_statistics { + long unsigned int allocs; + long unsigned int destroys; + long unsigned int hash_grows; + long unsigned int res_failed; + long unsigned int lookups; + long unsigned int hits; + long unsigned int rcv_probes_mcast; + long unsigned int rcv_probes_ucast; + long unsigned int periodic_gc_runs; + long unsigned int forced_gc_runs; + long unsigned int unres_discards; + long unsigned int table_fulls; +}; + +struct pneigh_entry; + +struct neigh_table { + int family; + unsigned int entry_size; + unsigned int key_len; + __be16 protocol; + __u32 (*hash)(const void *, const struct net_device *, __u32 *); + bool (*key_eq)(const struct neighbour *, const void *); + int (*constructor)(struct neighbour *); + int (*pconstructor)(struct pneigh_entry *); + void (*pdestructor)(struct pneigh_entry *); + void (*proxy_redo)(struct sk_buff *); + int (*is_multicast)(const void *); + bool (*allow_add)(const struct net_device *, struct netlink_ext_ack *); + char *id; + struct neigh_parms parms; + struct list_head parms_list; + int gc_interval; + int gc_thresh1; + int gc_thresh2; + int gc_thresh3; + long unsigned int last_flush; + struct delayed_work gc_work; + struct delayed_work managed_work; + struct timer_list proxy_timer; + struct sk_buff_head proxy_queue; + atomic_t entries; + atomic_t gc_entries; + struct list_head gc_list; + struct list_head managed_list; + rwlock_t lock; + long unsigned int last_rand; + struct neigh_statistics *stats; + struct neigh_hash_table *nht; + struct pneigh_entry **phash_buckets; +}; + +struct neighbour { + struct hlist_node hash; + struct hlist_node dev_list; + struct neigh_table *tbl; + struct neigh_parms *parms; + long unsigned int confirmed; + long unsigned int updated; + rwlock_t lock; + refcount_t refcnt; + unsigned int arp_queue_len_bytes; + struct sk_buff_head arp_queue; + struct timer_list timer; + long unsigned int used; + atomic_t probes; + u8 nud_state; + u8 type; + u8 dead; + u8 protocol; + u32 flags; + seqlock_t ha_lock; + long: 32; + unsigned char ha[32]; + struct hh_cache hh; + int (*output)(struct neighbour *, struct sk_buff *); + const struct neigh_ops *ops; + struct list_head gc_list; + struct list_head managed_list; + struct callback_head rcu; + struct net_device *dev; + netdevice_tracker dev_tracker; + u8 primary_key[0]; + long: 32; +}; + +struct neighbour_cb { + long unsigned int sched_next; + unsigned int flags; +}; + +union nested_table { + union nested_table *table; + struct rhash_lock_head *bucket; +}; + +struct ref_tracker_dir {}; + +struct raw_notifier_head { + struct notifier_block *head; +}; + +struct netns_core { + struct ctl_table_header *sysctl_hdr; + int sysctl_somaxconn; + int sysctl_optmem_max; + u8 sysctl_txrehash; + u8 sysctl_tstamp_allow_data; +}; + +struct tcp_mib; + +struct udp_mib; + +struct netns_mib { + struct ipstats_mib *ip_statistics; + struct ipstats_mib *ipv6_statistics; + struct tcp_mib *tcp_statistics; + struct linux_mib *net_statistics; + struct udp_mib *udp_statistics; + struct udp_mib *udp_stats_in6; + struct udp_mib *udplite_statistics; + struct udp_mib *udplite_stats_in6; + struct icmp_mib *icmp_statistics; + struct icmpmsg_mib *icmpmsg_statistics; + struct icmpv6_mib *icmpv6_statistics; + struct icmpv6msg_mib *icmpv6msg_statistics; + struct proc_dir_entry *proc_net_devsnmp6; +}; + +struct netns_packet { + struct mutex sklist_lock; + struct hlist_head sklist; +}; + +struct netns_nexthop { + struct rb_root rb_root; + struct hlist_head *devhash; + unsigned int seq; + u32 last_id_allocated; + struct blocking_notifier_head notifier_chain; +}; + +struct ping_group_range { + seqlock_t lock; + kgid_t range[2]; +}; + +struct netns_ipv4 { + __u8 __cacheline_group_begin__netns_ipv4_read_tx[0]; + u8 sysctl_tcp_early_retrans; + u8 sysctl_tcp_tso_win_divisor; + u8 sysctl_tcp_tso_rtt_log; + u8 sysctl_tcp_autocorking; + int sysctl_tcp_min_snd_mss; + unsigned int sysctl_tcp_notsent_lowat; + int sysctl_tcp_limit_output_bytes; + int sysctl_tcp_min_rtt_wlen; + int sysctl_tcp_wmem[3]; + u8 sysctl_ip_fwd_use_pmtu; + __u8 __cacheline_group_end__netns_ipv4_read_tx[0]; + __u8 __cacheline_group_begin__netns_ipv4_read_txrx[0]; + u8 sysctl_tcp_moderate_rcvbuf; + __u8 __cacheline_group_end__netns_ipv4_read_txrx[0]; + __u8 __cacheline_group_begin__netns_ipv4_read_rx[0]; + u8 sysctl_ip_early_demux; + u8 sysctl_tcp_early_demux; + u8 sysctl_tcp_l3mdev_accept; + int sysctl_tcp_reordering; + int sysctl_tcp_rmem[3]; + __u8 __cacheline_group_end__netns_ipv4_read_rx[0]; + struct inet_timewait_death_row tcp_death_row; + struct udp_table *udp_table; + struct ipv4_devconf *devconf_all; + struct ipv4_devconf *devconf_dflt; + struct ip_ra_chain *ra_chain; + struct mutex ra_mutex; + bool fib_has_custom_local_routes; + bool fib_offload_disabled; + u8 sysctl_tcp_shrink_window; + struct hlist_head *fib_table_hash; + struct sock *fibnl; + struct sock *mc_autojoin_sk; + struct inet_peer_base *peers; + struct fqdir *fqdir; + u8 sysctl_icmp_echo_ignore_all; + u8 sysctl_icmp_echo_enable_probe; + u8 sysctl_icmp_echo_ignore_broadcasts; + u8 sysctl_icmp_ignore_bogus_error_responses; + u8 sysctl_icmp_errors_use_inbound_ifaddr; + int sysctl_icmp_ratelimit; + int sysctl_icmp_ratemask; + int sysctl_icmp_msgs_per_sec; + int sysctl_icmp_msgs_burst; + atomic_t icmp_global_credit; + u32 icmp_global_stamp; + u32 ip_rt_min_pmtu; + int ip_rt_mtu_expires; + int ip_rt_min_advmss; + struct local_ports ip_local_ports; + u8 sysctl_tcp_ecn; + u8 sysctl_tcp_ecn_fallback; + u8 sysctl_ip_default_ttl; + u8 sysctl_ip_no_pmtu_disc; + u8 sysctl_ip_fwd_update_priority; + u8 sysctl_ip_nonlocal_bind; + u8 sysctl_ip_autobind_reuse; + u8 sysctl_ip_dynaddr; + u8 sysctl_udp_early_demux; + u8 sysctl_nexthop_compat_mode; + u8 sysctl_fwmark_reflect; + u8 sysctl_tcp_fwmark_accept; + u8 sysctl_tcp_mtu_probing; + int sysctl_tcp_mtu_probe_floor; + int sysctl_tcp_base_mss; + int sysctl_tcp_probe_threshold; + u32 sysctl_tcp_probe_interval; + int sysctl_tcp_keepalive_time; + int sysctl_tcp_keepalive_intvl; + u8 sysctl_tcp_keepalive_probes; + u8 sysctl_tcp_syn_retries; + u8 sysctl_tcp_synack_retries; + u8 sysctl_tcp_syncookies; + u8 sysctl_tcp_migrate_req; + u8 sysctl_tcp_comp_sack_nr; + u8 sysctl_tcp_backlog_ack_defer; + u8 sysctl_tcp_pingpong_thresh; + u8 sysctl_tcp_retries1; + u8 sysctl_tcp_retries2; + u8 sysctl_tcp_orphan_retries; + u8 sysctl_tcp_tw_reuse; + unsigned int sysctl_tcp_tw_reuse_delay; + int sysctl_tcp_fin_timeout; + u8 sysctl_tcp_sack; + u8 sysctl_tcp_window_scaling; + u8 sysctl_tcp_timestamps; + int sysctl_tcp_rto_min_us; + u8 sysctl_tcp_recovery; + u8 sysctl_tcp_thin_linear_timeouts; + u8 sysctl_tcp_slow_start_after_idle; + u8 sysctl_tcp_retrans_collapse; + u8 sysctl_tcp_stdurg; + u8 sysctl_tcp_rfc1337; + u8 sysctl_tcp_abort_on_overflow; + u8 sysctl_tcp_fack; + int sysctl_tcp_max_reordering; + int sysctl_tcp_adv_win_scale; + u8 sysctl_tcp_dsack; + u8 sysctl_tcp_app_win; + u8 sysctl_tcp_frto; + u8 sysctl_tcp_nometrics_save; + u8 sysctl_tcp_no_ssthresh_metrics_save; + u8 sysctl_tcp_workaround_signed_windows; + int sysctl_tcp_challenge_ack_limit; + u8 sysctl_tcp_min_tso_segs; + u8 sysctl_tcp_reflect_tos; + int sysctl_tcp_invalid_ratelimit; + int sysctl_tcp_pacing_ss_ratio; + int sysctl_tcp_pacing_ca_ratio; + unsigned int sysctl_tcp_child_ehash_entries; + long unsigned int sysctl_tcp_comp_sack_delay_ns; + long unsigned int sysctl_tcp_comp_sack_slack_ns; + int sysctl_max_syn_backlog; + int sysctl_tcp_fastopen; + const struct tcp_congestion_ops *tcp_congestion_control; + struct tcp_fastopen_context *tcp_fastopen_ctx; + unsigned int sysctl_tcp_fastopen_blackhole_timeout; + atomic_t tfo_active_disable_times; + long unsigned int tfo_active_disable_stamp; + u32 tcp_challenge_timestamp; + u32 tcp_challenge_count; + u8 sysctl_tcp_plb_enabled; + u8 sysctl_tcp_plb_idle_rehash_rounds; + u8 sysctl_tcp_plb_rehash_rounds; + u8 sysctl_tcp_plb_suspend_rto_sec; + int sysctl_tcp_plb_cong_thresh; + int sysctl_udp_wmem_min; + int sysctl_udp_rmem_min; + u8 sysctl_fib_notify_on_flag_change; + u8 sysctl_tcp_syn_linear_timeouts; + u8 sysctl_igmp_llm_reports; + int sysctl_igmp_max_memberships; + int sysctl_igmp_max_msf; + int sysctl_igmp_qrv; + struct ping_group_range ping_group_range; + atomic_t dev_addr_genid; + unsigned int sysctl_udp_child_hash_entries; + struct fib_notifier_ops *notifier_ops; + unsigned int fib_seq; + struct fib_notifier_ops *ipmr_notifier_ops; + unsigned int ipmr_seq; + atomic_t rt_genid; + long: 32; + siphash_key_t ip_id_key; + struct hlist_head *inet_addr_lst; + struct delayed_work addr_chk_work; +}; + +struct netns_sysctl_ipv6 { + int flush_delay; + int ip6_rt_max_size; + int ip6_rt_gc_min_interval; + int ip6_rt_gc_timeout; + int ip6_rt_gc_interval; + int ip6_rt_gc_elasticity; + int ip6_rt_mtu_expires; + int ip6_rt_min_advmss; + u32 multipath_hash_fields; + u8 multipath_hash_policy; + u8 bindv6only; + u8 flowlabel_consistency; + u8 auto_flowlabels; + int icmpv6_time; + u8 icmpv6_echo_ignore_all; + u8 icmpv6_echo_ignore_multicast; + u8 icmpv6_echo_ignore_anycast; + long unsigned int icmpv6_ratemask[8]; + long unsigned int *icmpv6_ratemask_ptr; + u8 anycast_src_echo_reply; + u8 ip_nonlocal_bind; + u8 fwmark_reflect; + u8 flowlabel_state_ranges; + int idgen_retries; + int idgen_delay; + int flowlabel_reflect; + int max_dst_opts_cnt; + int max_hbh_opts_cnt; + int max_dst_opts_len; + int max_hbh_opts_len; + int seg6_flowlabel; + u32 ioam6_id; + long: 32; + u64 ioam6_id_wide; + u8 skip_notify_on_dev_down; + u8 fib_notify_on_flag_change; + u8 icmpv6_error_anycast_as_unicast; + long: 32; +}; + +struct rt6_statistics; + +struct seg6_pernet_data; + +struct netns_ipv6 { + struct dst_ops ip6_dst_ops; + struct netns_sysctl_ipv6 sysctl; + struct ipv6_devconf *devconf_all; + struct ipv6_devconf *devconf_dflt; + struct inet_peer_base *peers; + struct fqdir *fqdir; + struct fib6_info *fib6_null_entry; + struct rt6_info *ip6_null_entry; + struct rt6_statistics *rt6_stats; + struct timer_list ip6_fib_timer; + struct hlist_head *fib_table_hash; + struct fib6_table *fib6_main_tbl; + struct list_head fib6_walkers; + rwlock_t fib6_walker_lock; + spinlock_t fib6_gc_lock; + atomic_t ip6_rt_gc_expire; + long unsigned int ip6_rt_last_gc; + unsigned char flowlabel_has_excl; + struct sock *ndisc_sk; + struct sock *tcp_sk; + struct sock *igmp_sk; + struct sock *mc_autojoin_sk; + struct hlist_head *inet6_addr_lst; + spinlock_t addrconf_hash_lock; + struct delayed_work addr_chk_work; + atomic_t dev_addr_genid; + atomic_t fib6_sernum; + struct seg6_pernet_data *seg6_data; + struct fib_notifier_ops *notifier_ops; + struct fib_notifier_ops *ip6mr_notifier_ops; + unsigned int ipmr_seq; + struct { + struct hlist_head head; + spinlock_t lock; + u32 seq; + } ip6addrlbl_table; + struct ioam6_pernet_data *ioam6_data; +}; + +struct netns_bpf { + struct bpf_prog_array *run_array[2]; + struct bpf_prog *progs[2]; + struct list_head links[2]; +}; + +struct uevent_sock; + +struct net_generic; + +struct net { + refcount_t passive; + spinlock_t rules_mod_lock; + unsigned int dev_base_seq; + u32 ifindex; + spinlock_t nsid_lock; + atomic_t fnhe_genid; + struct list_head list; + struct list_head exit_list; + struct llist_node defer_free_list; + struct llist_node cleanup_list; + struct user_namespace *user_ns; + struct ucounts *ucounts; + struct idr netns_ids; + struct ns_common ns; + struct ref_tracker_dir refcnt_tracker; + struct ref_tracker_dir notrefcnt_tracker; + struct list_head dev_base_head; + struct proc_dir_entry *proc_net; + struct proc_dir_entry *proc_net_stat; + struct sock *rtnl; + struct sock *genl_sock; + struct uevent_sock *uevent_sock; + struct hlist_head *dev_name_head; + struct hlist_head *dev_index_head; + struct xarray dev_by_index; + struct raw_notifier_head netdev_chain; + u32 hash_mix; + struct net_device *loopback_dev; + struct list_head rules_ops; + struct netns_core core; + struct netns_mib mib; + struct netns_packet packet; + struct netns_nexthop nexthop; + struct netns_ipv4 ipv4; + struct netns_ipv6 ipv6; + struct net_generic *gen; + struct netns_bpf bpf; + long: 32; + u64 net_cookie; + struct sock *diag_nlsk; + long: 32; +}; + +struct netdev_tc_txq { + u16 count; + u16 offset; +}; + +typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **); + +struct net_device_stats { + union { + long unsigned int rx_packets; + atomic_long_t __rx_packets; + }; + union { + long unsigned int tx_packets; + atomic_long_t __tx_packets; + }; + union { + long unsigned int rx_bytes; + atomic_long_t __rx_bytes; + }; + union { + long unsigned int tx_bytes; + atomic_long_t __tx_bytes; + }; + union { + long unsigned int rx_errors; + atomic_long_t __rx_errors; + }; + union { + long unsigned int tx_errors; + atomic_long_t __tx_errors; + }; + union { + long unsigned int rx_dropped; + atomic_long_t __rx_dropped; + }; + union { + long unsigned int tx_dropped; + atomic_long_t __tx_dropped; + }; + union { + long unsigned int multicast; + atomic_long_t __multicast; + }; + union { + long unsigned int collisions; + atomic_long_t __collisions; + }; + union { + long unsigned int rx_length_errors; + atomic_long_t __rx_length_errors; + }; + union { + long unsigned int rx_over_errors; + atomic_long_t __rx_over_errors; + }; + union { + long unsigned int rx_crc_errors; + atomic_long_t __rx_crc_errors; + }; + union { + long unsigned int rx_frame_errors; + atomic_long_t __rx_frame_errors; + }; + union { + long unsigned int rx_fifo_errors; + atomic_long_t __rx_fifo_errors; + }; + union { + long unsigned int rx_missed_errors; + atomic_long_t __rx_missed_errors; + }; + union { + long unsigned int tx_aborted_errors; + atomic_long_t __tx_aborted_errors; + }; + union { + long unsigned int tx_carrier_errors; + atomic_long_t __tx_carrier_errors; + }; + union { + long unsigned int tx_fifo_errors; + atomic_long_t __tx_fifo_errors; + }; + union { + long unsigned int tx_heartbeat_errors; + atomic_long_t __tx_heartbeat_errors; + }; + union { + long unsigned int tx_window_errors; + atomic_long_t __tx_window_errors; + }; + union { + long unsigned int rx_compressed; + atomic_long_t __rx_compressed; + }; + union { + long unsigned int tx_compressed; + atomic_long_t __tx_compressed; + }; +}; + +struct netdev_hw_addr_list { + struct list_head list; + int count; + struct rb_root tree; +}; + +struct sfp_bus; + +struct udp_tunnel_nic; + +struct net_device_ops; + +struct pcpu_lstats; + +struct pcpu_sw_netstats; + +struct pcpu_dstats; + +struct netdev_rx_queue; + +struct netdev_name_node; + +struct xdp_metadata_ops; + +struct xsk_tx_metadata_ops; + +struct net_device_core_stats; + +struct xdp_dev_bulk_queue; + +struct netdev_stat_ops; + +struct netdev_queue_mgmt_ops; + +struct phy_link_topology; + +struct udp_tunnel_nic_info; + +struct netdev_config; + +struct rtnl_hw_stats64; + +struct net_device { + __u8 __cacheline_group_begin__net_device_read_tx[0]; + union { + struct { + long unsigned int priv_flags: 32; + long unsigned int lltx: 1; + }; + struct { + long unsigned int priv_flags: 32; + long unsigned int lltx: 1; + } priv_flags_fast; + }; + const struct net_device_ops *netdev_ops; + const struct header_ops *header_ops; + struct netdev_queue *_tx; + long: 32; + netdev_features_t gso_partial_features; + unsigned int real_num_tx_queues; + unsigned int gso_max_size; + unsigned int gso_ipv4_max_size; + u16 gso_max_segs; + s16 num_tc; + unsigned int mtu; + short unsigned int needed_headroom; + struct netdev_tc_txq tc_to_txq[16]; + struct bpf_mprog_entry *tcx_egress; + __u8 __cacheline_group_end__net_device_read_tx[0]; + __u8 __cacheline_group_begin__net_device_read_txrx[0]; + union { + struct pcpu_lstats *lstats; + struct pcpu_sw_netstats *tstats; + struct pcpu_dstats *dstats; + }; + long unsigned int state; + unsigned int flags; + short unsigned int hard_header_len; + long: 32; + netdev_features_t features; + struct inet6_dev *ip6_ptr; + __u8 __cacheline_group_end__net_device_read_txrx[0]; + __u8 __cacheline_group_begin__net_device_read_rx[0]; + struct bpf_prog *xdp_prog; + struct list_head ptype_specific; + int ifindex; + unsigned int real_num_rx_queues; + struct netdev_rx_queue *_rx; + unsigned int gro_max_size; + unsigned int gro_ipv4_max_size; + rx_handler_func_t *rx_handler; + void *rx_handler_data; + possible_net_t nd_net; + struct bpf_mprog_entry *tcx_ingress; + __u8 __cacheline_group_end__net_device_read_rx[0]; + char name[16]; + struct netdev_name_node *name_node; + struct dev_ifalias *ifalias; + long unsigned int mem_end; + long unsigned int mem_start; + long unsigned int base_addr; + struct list_head dev_list; + struct list_head napi_list; + struct list_head unreg_list; + struct list_head close_list; + struct list_head ptype_all; + struct { + struct list_head upper; + struct list_head lower; + } adj_list; + xdp_features_t xdp_features; + const struct xdp_metadata_ops *xdp_metadata_ops; + const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; + short unsigned int gflags; + short unsigned int needed_tailroom; + long: 32; + netdev_features_t hw_features; + netdev_features_t wanted_features; + netdev_features_t vlan_features; + netdev_features_t hw_enc_features; + netdev_features_t mpls_features; + unsigned int min_mtu; + unsigned int max_mtu; + short unsigned int type; + unsigned char min_header_len; + unsigned char name_assign_type; + int group; + struct net_device_stats stats; + struct net_device_core_stats *core_stats; + atomic_t carrier_up_count; + atomic_t carrier_down_count; + const struct ethtool_ops *ethtool_ops; + const struct ndisc_ops *ndisc_ops; + unsigned int operstate; + unsigned char link_mode; + unsigned char if_port; + unsigned char dma; + unsigned char perm_addr[32]; + unsigned char addr_assign_type; + unsigned char addr_len; + unsigned char upper_level; + unsigned char lower_level; + short unsigned int neigh_priv_len; + short unsigned int dev_id; + short unsigned int dev_port; + int irq; + u32 priv_len; + spinlock_t addr_list_lock; + struct netdev_hw_addr_list uc; + struct netdev_hw_addr_list mc; + struct netdev_hw_addr_list dev_addrs; + unsigned int promiscuity; + unsigned int allmulti; + bool uc_promisc; + struct in_device *ip_ptr; + struct hlist_head fib_nh_head; + const unsigned char *dev_addr; + unsigned int num_rx_queues; + unsigned int xdp_zc_max_segs; + struct netdev_queue *ingress_queue; + unsigned char broadcast[32]; + struct hlist_node index_hlist; + unsigned int num_tx_queues; + struct Qdisc *qdisc; + unsigned int tx_queue_len; + spinlock_t tx_global_lock; + struct xdp_dev_bulk_queue *xdp_bulkq; + struct timer_list watchdog_timer; + int watchdog_timeo; + u32 proto_down_reason; + struct list_head todo_list; + refcount_t dev_refcnt; + struct ref_tracker_dir refcnt_tracker; + struct list_head link_watch_list; + u8 reg_state; + bool dismantle; + enum { + RTNL_LINK_INITIALIZED = 0, + RTNL_LINK_INITIALIZING = 1, + } rtnl_link_state: 16; + bool needs_free_netdev; + void (*priv_destructor)(struct net_device *); + void *ml_priv; + enum netdev_ml_priv_type ml_priv_type; + enum netdev_stat_type pcpu_stat_type: 8; + struct device dev; + const struct attribute_group *sysfs_groups[4]; + const struct attribute_group *sysfs_rx_queue_group; + const struct rtnl_link_ops *rtnl_link_ops; + const struct netdev_stat_ops *stat_ops; + const struct netdev_queue_mgmt_ops *queue_mgmt_ops; + unsigned int tso_max_size; + u16 tso_max_segs; + u8 prio_tc_map[16]; + struct phy_link_topology *link_topo; + struct phy_device *phydev; + struct sfp_bus *sfp_bus; + struct lock_class_key *qdisc_tx_busylock; + bool proto_down; + bool threaded; + long unsigned int see_all_hwtstamp_requests: 1; + long unsigned int change_proto_down: 1; + long unsigned int netns_local: 1; + long unsigned int fcoe_mtu: 1; + struct list_head net_notifier_list; + const struct udp_tunnel_nic_info *udp_tunnel_nic_info; + struct udp_tunnel_nic *udp_tunnel_nic; + struct netdev_config *cfg; + struct netdev_config *cfg_pending; + struct ethtool_netdev_state *ethtool; + struct bpf_xdp_entity xdp_state[3]; + u8 dev_addr_shadow[32]; + netdevice_tracker linkwatch_dev_tracker; + netdevice_tracker watchdog_dev_tracker; + netdevice_tracker dev_registered_tracker; + struct rtnl_hw_stats64 *offload_xstats_l3; + struct devlink_port *devlink_port; + struct hlist_head page_pools; + struct dim_irq_moder *irq_moder; + u64 max_pacing_offload_horizon; + struct napi_config *napi_config; + long unsigned int gro_flush_timeout; + u32 napi_defer_hard_irqs; + bool up; + struct mutex lock; + struct hlist_head neighbours[2]; + struct hwtstamp_provider *hwprov; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + u8 priv[0]; +}; + +struct net_device_core_stats { + long unsigned int rx_dropped; + long unsigned int tx_dropped; + long unsigned int rx_nohandler; + long unsigned int rx_otherhost_dropped; +}; + +struct net_device_devres { + struct net_device *ndev; +}; + +struct rtnl_link_stats64; + +struct netdev_bpf; + +struct xdp_frame; + +struct net_device_path_ctx; + +struct net_device_path; + +struct skb_shared_hwtstamps; + +struct net_device_ops { + int (*ndo_init)(struct net_device *); + void (*ndo_uninit)(struct net_device *); + int (*ndo_open)(struct net_device *); + int (*ndo_stop)(struct net_device *); + netdev_tx_t (*ndo_start_xmit)(struct sk_buff *, struct net_device *); + netdev_features_t (*ndo_features_check)(struct sk_buff *, struct net_device *, netdev_features_t); + u16 (*ndo_select_queue)(struct net_device *, struct sk_buff *, struct net_device *); + void (*ndo_change_rx_flags)(struct net_device *, int); + void (*ndo_set_rx_mode)(struct net_device *); + int (*ndo_set_mac_address)(struct net_device *, void *); + int (*ndo_validate_addr)(struct net_device *); + int (*ndo_do_ioctl)(struct net_device *, struct ifreq *, int); + int (*ndo_eth_ioctl)(struct net_device *, struct ifreq *, int); + int (*ndo_siocbond)(struct net_device *, struct ifreq *, int); + int (*ndo_siocwandev)(struct net_device *, struct if_settings *); + int (*ndo_siocdevprivate)(struct net_device *, struct ifreq *, void *, int); + int (*ndo_set_config)(struct net_device *, struct ifmap *); + int (*ndo_change_mtu)(struct net_device *, int); + int (*ndo_neigh_setup)(struct net_device *, struct neigh_parms *); + void (*ndo_tx_timeout)(struct net_device *, unsigned int); + void (*ndo_get_stats64)(struct net_device *, struct rtnl_link_stats64 *); + bool (*ndo_has_offload_stats)(const struct net_device *, int); + int (*ndo_get_offload_stats)(int, const struct net_device *, void *); + struct net_device_stats * (*ndo_get_stats)(struct net_device *); + int (*ndo_vlan_rx_add_vid)(struct net_device *, __be16, u16); + int (*ndo_vlan_rx_kill_vid)(struct net_device *, __be16, u16); + int (*ndo_set_vf_mac)(struct net_device *, int, u8 *); + int (*ndo_set_vf_vlan)(struct net_device *, int, u16, u8, __be16); + int (*ndo_set_vf_rate)(struct net_device *, int, int, int); + int (*ndo_set_vf_spoofchk)(struct net_device *, int, bool); + int (*ndo_set_vf_trust)(struct net_device *, int, bool); + int (*ndo_get_vf_config)(struct net_device *, int, struct ifla_vf_info *); + int (*ndo_set_vf_link_state)(struct net_device *, int, int); + int (*ndo_get_vf_stats)(struct net_device *, int, struct ifla_vf_stats *); + int (*ndo_set_vf_port)(struct net_device *, int, struct nlattr **); + int (*ndo_get_vf_port)(struct net_device *, int, struct sk_buff *); + int (*ndo_get_vf_guid)(struct net_device *, int, struct ifla_vf_guid *, struct ifla_vf_guid *); + int (*ndo_set_vf_guid)(struct net_device *, int, u64, int); + int (*ndo_set_vf_rss_query_en)(struct net_device *, int, bool); + int (*ndo_setup_tc)(struct net_device *, enum tc_setup_type, void *); + int (*ndo_add_slave)(struct net_device *, struct net_device *, struct netlink_ext_ack *); + int (*ndo_del_slave)(struct net_device *, struct net_device *); + struct net_device * (*ndo_get_xmit_slave)(struct net_device *, struct sk_buff *, bool); + struct net_device * (*ndo_sk_get_lower_dev)(struct net_device *, struct sock *); + netdev_features_t (*ndo_fix_features)(struct net_device *, netdev_features_t); + int (*ndo_set_features)(struct net_device *, netdev_features_t); + int (*ndo_neigh_construct)(struct net_device *, struct neighbour *); + void (*ndo_neigh_destroy)(struct net_device *, struct neighbour *); + int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, bool *, struct netlink_ext_ack *); + int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, bool *, struct netlink_ext_ack *); + int (*ndo_fdb_del_bulk)(struct nlmsghdr *, struct net_device *, struct netlink_ext_ack *); + int (*ndo_fdb_dump)(struct sk_buff *, struct netlink_callback *, struct net_device *, struct net_device *, int *); + int (*ndo_fdb_get)(struct sk_buff *, struct nlattr **, struct net_device *, const unsigned char *, u16, u32, u32, struct netlink_ext_ack *); + int (*ndo_mdb_add)(struct net_device *, struct nlattr **, u16, struct netlink_ext_ack *); + int (*ndo_mdb_del)(struct net_device *, struct nlattr **, struct netlink_ext_ack *); + int (*ndo_mdb_del_bulk)(struct net_device *, struct nlattr **, struct netlink_ext_ack *); + int (*ndo_mdb_dump)(struct net_device *, struct sk_buff *, struct netlink_callback *); + int (*ndo_mdb_get)(struct net_device *, struct nlattr **, u32, u32, struct netlink_ext_ack *); + int (*ndo_bridge_setlink)(struct net_device *, struct nlmsghdr *, u16, struct netlink_ext_ack *); + int (*ndo_bridge_getlink)(struct sk_buff *, u32, u32, struct net_device *, u32, int); + int (*ndo_bridge_dellink)(struct net_device *, struct nlmsghdr *, u16); + int (*ndo_change_carrier)(struct net_device *, bool); + int (*ndo_get_phys_port_id)(struct net_device *, struct netdev_phys_item_id *); + int (*ndo_get_port_parent_id)(struct net_device *, struct netdev_phys_item_id *); + int (*ndo_get_phys_port_name)(struct net_device *, char *, size_t); + void * (*ndo_dfwd_add_station)(struct net_device *, struct net_device *); + void (*ndo_dfwd_del_station)(struct net_device *, void *); + int (*ndo_set_tx_maxrate)(struct net_device *, int, u32); + int (*ndo_get_iflink)(const struct net_device *); + int (*ndo_fill_metadata_dst)(struct net_device *, struct sk_buff *); + void (*ndo_set_rx_headroom)(struct net_device *, int); + int (*ndo_bpf)(struct net_device *, struct netdev_bpf *); + int (*ndo_xdp_xmit)(struct net_device *, int, struct xdp_frame **, u32); + struct net_device * (*ndo_xdp_get_xmit_slave)(struct net_device *, struct xdp_buff *); + int (*ndo_xsk_wakeup)(struct net_device *, u32, u32); + int (*ndo_tunnel_ctl)(struct net_device *, struct ip_tunnel_parm_kern *, int); + struct net_device * (*ndo_get_peer_dev)(struct net_device *); + int (*ndo_fill_forward_path)(struct net_device_path_ctx *, struct net_device_path *); + ktime_t (*ndo_get_tstamp)(struct net_device *, const struct skb_shared_hwtstamps *, bool); + int (*ndo_hwtstamp_get)(struct net_device *, struct kernel_hwtstamp_config *); + int (*ndo_hwtstamp_set)(struct net_device *, struct kernel_hwtstamp_config *, struct netlink_ext_ack *); +}; + +struct net_device_path { + enum net_device_path_type type; + const struct net_device *dev; + union { + struct { + u16 id; + __be16 proto; + u8 h_dest[6]; + } encap; + struct { + enum { + DEV_PATH_BR_VLAN_KEEP = 0, + DEV_PATH_BR_VLAN_TAG = 1, + DEV_PATH_BR_VLAN_UNTAG = 2, + DEV_PATH_BR_VLAN_UNTAG_HW = 3, + } vlan_mode; + u16 vlan_id; + __be16 vlan_proto; + } bridge; + struct { + int port; + u16 proto; + } dsa; + struct { + u8 wdma_idx; + u8 queue; + u16 wcid; + u8 bss; + u8 amsdu; + } mtk_wdma; + }; +}; + +struct net_device_path_ctx { + const struct net_device *dev; + u8 daddr[6]; + int num_vlans; + struct { + u16 id; + __be16 proto; + } vlan[2]; +}; + +struct net_device_path_stack { + int num_paths; + struct net_device_path path[5]; +}; + +struct dma_buf; + +struct dma_buf_attachment; + +struct net_devmem_dmabuf_binding { + struct dma_buf *dmabuf; + struct dma_buf_attachment *attachment; + struct sg_table *sgt; + struct net_device *dev; + struct gen_pool *chunk_pool; + refcount_t ref; + struct list_head list; + struct xarray bound_rxqs; + u32 id; +}; + +struct net_fill_args { + u32 portid; + u32 seq; + int flags; + int cmd; + int nsid; + bool add_ref; + int ref_nsid; +}; + +struct net_generic { + union { + struct { + unsigned int len; + struct callback_head rcu; + } s; + struct { + struct {} __empty_ptr; + void *ptr[0]; + }; + }; +}; + +struct offload_callbacks { + struct sk_buff * (*gso_segment)(struct sk_buff *, netdev_features_t); + struct sk_buff * (*gro_receive)(struct list_head *, struct sk_buff *); + int (*gro_complete)(struct sk_buff *, int); +}; + +struct packet_offload { + __be16 type; + u16 priority; + struct offload_callbacks callbacks; + struct list_head list; +}; + +struct net_offload { + struct offload_callbacks callbacks; + unsigned int flags; + u32 secret; +}; + +struct net_protocol { + int (*handler)(struct sk_buff *); + int (*err_handler)(struct sk_buff *, u32); + unsigned int no_policy: 1; + unsigned int icmp_strict_tag_validation: 1; + u32 secret; +}; + +struct net_hotdata { + struct packet_offload ip_packet_offload; + struct net_offload tcpv4_offload; + struct net_protocol tcp_protocol; + struct net_offload udpv4_offload; + struct net_protocol udp_protocol; + struct packet_offload ipv6_packet_offload; + struct net_offload tcpv6_offload; + struct inet6_protocol tcpv6_protocol; + struct inet6_protocol udpv6_protocol; + struct net_offload udpv6_offload; + struct list_head offload_base; + struct list_head ptype_all; + struct kmem_cache *skbuff_cache; + struct kmem_cache *skbuff_fclone_cache; + struct kmem_cache *skb_small_head_cache; + int gro_normal_batch; + int netdev_budget; + int netdev_budget_usecs; + int tstamp_prequeue; + int max_backlog; + int dev_tx_weight; + int dev_rx_weight; + int sysctl_max_skb_frags; + int sysctl_skb_defer_max; + int sysctl_mem_pcpu_rsv; +}; + +struct dmabuf_genpool_chunk_owner; + +struct net_iov { + long unsigned int __unused_padding; + long unsigned int pp_magic; + struct page_pool *pp; + struct dmabuf_genpool_chunk_owner *owner; + long unsigned int dma_addr; + atomic_long_t pp_ref_count; +}; + +struct net_proto_family { + int family; + int (*create)(struct net *, struct socket *, int, int); + struct module *owner; +}; + +struct net_rate_estimator { + struct gnet_stats_basic_sync *bstats; + spinlock_t *stats_lock; + bool running; + struct gnet_stats_basic_sync *cpu_bstats; + u8 ewma_log; + u8 intvl_log; + seqcount_t seq; + u64 last_packets; + u64 last_bytes; + u64 avpps; + u64 avbps; + long unsigned int next_jiffies; + struct timer_list timer; + struct callback_head rcu; +}; + +struct netconfmsg { + __u8 ncm_family; +}; + +struct netdev_adjacent { + struct net_device *dev; + netdevice_tracker dev_tracker; + bool master; + bool ignore; + u16 ref_nr; + void *private; + struct list_head list; + struct callback_head rcu; +}; + +struct netdev_bonding_info { + ifslave slave; + ifbond master; +}; + +struct xsk_buff_pool; + +struct netdev_bpf { + enum bpf_netdev_command command; + union { + struct { + u32 flags; + struct bpf_prog *prog; + struct netlink_ext_ack *extack; + }; + struct { + struct bpf_offloaded_map *offmap; + }; + struct { + struct xsk_buff_pool *pool; + u16 queue_id; + } xsk; + }; +}; + +struct netdev_config { + u32 hds_thresh; + u8 hds_config; +}; + +struct netdev_hw_addr { + struct list_head list; + struct rb_node node; + unsigned char addr[32]; + unsigned char type; + bool global_use; + int sync_cnt; + int refcount; + int synced; + struct callback_head callback_head; +}; + +struct netdev_name_node { + struct hlist_node hlist; + struct list_head list; + struct net_device *dev; + const char *name; + struct callback_head rcu; +}; + +struct netdev_nested_priv { + unsigned char flags; + void *data; +}; + +struct netdev_net_notifier { + struct list_head list; + struct notifier_block *nb; +}; + +struct netdev_nl_dump_ctx { + long unsigned int ifindex; + unsigned int rxq_idx; + unsigned int txq_idx; + unsigned int napi_id; +}; + +struct netdev_notifier_info { + struct net_device *dev; + struct netlink_ext_ack *extack; +}; + +struct netdev_notifier_bonding_info { + struct netdev_notifier_info info; + struct netdev_bonding_info bonding_info; +}; + +struct netdev_notifier_change_info { + struct netdev_notifier_info info; + unsigned int flags_changed; +}; + +struct netdev_notifier_changelowerstate_info { + struct netdev_notifier_info info; + void *lower_state_info; +}; + +struct netdev_notifier_changeupper_info { + struct netdev_notifier_info info; + struct net_device *upper_dev; + bool master; + bool linking; + void *upper_info; +}; + +struct netdev_notifier_info_ext { + struct netdev_notifier_info info; + union { + u32 mtu; + } ext; +}; + +struct netdev_notifier_offload_xstats_rd; + +struct netdev_notifier_offload_xstats_ru; + +struct netdev_notifier_offload_xstats_info { + struct netdev_notifier_info info; + enum netdev_offload_xstats_type type; + union { + struct netdev_notifier_offload_xstats_rd *report_delta; + struct netdev_notifier_offload_xstats_ru *report_used; + }; +}; + +struct rtnl_hw_stats64 { + __u64 rx_packets; + __u64 tx_packets; + __u64 rx_bytes; + __u64 tx_bytes; + __u64 rx_errors; + __u64 tx_errors; + __u64 rx_dropped; + __u64 tx_dropped; + __u64 multicast; +}; + +struct netdev_notifier_offload_xstats_rd { + struct rtnl_hw_stats64 stats; + bool used; + long: 32; +}; + +struct netdev_notifier_offload_xstats_ru { + bool used; +}; + +struct netdev_notifier_pre_changeaddr_info { + struct netdev_notifier_info info; + const unsigned char *dev_addr; +}; + +struct netdev_queue { + struct net_device *dev; + netdevice_tracker dev_tracker; + struct Qdisc *qdisc; + struct Qdisc *qdisc_sleeping; + long unsigned int tx_maxrate; + atomic_long_t trans_timeout; + struct net_device *sb_dev; + spinlock_t _xmit_lock; + int xmit_lock_owner; + long unsigned int trans_start; + long unsigned int state; + struct napi_struct *napi; +}; + +struct netdev_queue_mgmt_ops { + size_t ndo_queue_mem_size; + int (*ndo_queue_mem_alloc)(struct net_device *, void *, int); + void (*ndo_queue_mem_free)(struct net_device *, void *); + int (*ndo_queue_start)(struct net_device *, void *, int); + int (*ndo_queue_stop)(struct net_device *, void *, int); +}; + +struct netdev_queue_stats_rx { + u64 bytes; + u64 packets; + u64 alloc_fail; + u64 hw_drops; + u64 hw_drop_overruns; + u64 csum_unnecessary; + u64 csum_none; + u64 csum_bad; + u64 hw_gro_packets; + u64 hw_gro_bytes; + u64 hw_gro_wire_packets; + u64 hw_gro_wire_bytes; + u64 hw_drop_ratelimits; +}; + +struct netdev_queue_stats_tx { + u64 bytes; + u64 packets; + u64 hw_drops; + u64 hw_drop_errors; + u64 csum_none; + u64 needs_csum; + u64 hw_gso_packets; + u64 hw_gso_bytes; + u64 hw_gso_wire_packets; + u64 hw_gso_wire_bytes; + u64 hw_drop_ratelimits; + u64 stop; + u64 wake; +}; + +struct xdp_mem_info { + u32 type; + u32 id; +}; + +struct xdp_rxq_info { + struct net_device *dev; + u32 queue_index; + u32 reg_state; + struct xdp_mem_info mem; + u32 frag_size; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct pp_memory_provider_params { + void *mp_priv; +}; + +struct netdev_rx_queue { + struct xdp_rxq_info xdp_rxq; + struct kobject kobj; + struct net_device *dev; + netdevice_tracker dev_tracker; + struct napi_struct *napi; + struct pp_memory_provider_params mp_params; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct netdev_stat_ops { + void (*get_queue_stats_rx)(struct net_device *, int, struct netdev_queue_stats_rx *); + void (*get_queue_stats_tx)(struct net_device *, int, struct netdev_queue_stats_tx *); + void (*get_base_stats)(struct net_device *, struct netdev_queue_stats_rx *, struct netdev_queue_stats_tx *); +}; + +struct netdev_xmit { + u16 recursion; + u8 more; + u8 skip_txqueue; +}; + +struct netevent_redirect { + struct dst_entry *old; + struct dst_entry *new; + struct neighbour *neigh; + const void *daddr; +}; + +struct netlink_broadcast_data { + struct sock *exclude_sk; + struct net *net; + u32 portid; + u32 group; + int failure; + int delivery_failure; + int congested; + int delivered; + gfp_t allocation; + struct sk_buff *skb; + struct sk_buff *skb2; + int (*tx_filter)(struct sock *, struct sk_buff *, void *); + void *tx_data; +}; + +struct netlink_callback { + struct sk_buff *skb; + const struct nlmsghdr *nlh; + int (*dump)(struct sk_buff *, struct netlink_callback *); + int (*done)(struct netlink_callback *); + void *data; + struct module *module; + struct netlink_ext_ack *extack; + u16 family; + u16 answer_flags; + u32 min_dump_alloc; + unsigned int prev_seq; + unsigned int seq; + int flags; + bool strict_check; + union { + u8 ctx[48]; + long int args[6]; + }; +}; + +struct netlink_compare_arg { + possible_net_t pnet; + u32 portid; +}; + +struct netlink_dump_control { + int (*start)(struct netlink_callback *); + int (*dump)(struct sk_buff *, struct netlink_callback *); + int (*done)(struct netlink_callback *); + struct netlink_ext_ack *extack; + void *data; + struct module *module; + u32 min_dump_alloc; + int flags; +}; + +struct netlink_ext_ack { + const char *_msg; + const struct nlattr *bad_attr; + const struct nla_policy *policy; + const struct nlattr *miss_nest; + u16 miss_type; + u8 cookie[20]; + u8 cookie_len; + char _msg_buf[80]; +}; + +struct netlink_kernel_cfg { + unsigned int groups; + unsigned int flags; + void (*input)(struct sk_buff *); + int (*bind)(struct net *, int); + void (*unbind)(struct net *, int); + void (*release)(struct sock *, long unsigned int *); +}; + +struct netlink_notify { + struct net *net; + u32 portid; + int protocol; +}; + +struct netlink_policy_dump_state { + unsigned int policy_idx; + unsigned int attr_idx; + unsigned int n_alloc; + struct { + const struct nla_policy *policy; + unsigned int maxtype; + } policies[0]; +}; + +struct netlink_range_validation { + u64 min; + u64 max; +}; + +struct netlink_range_validation_signed { + s64 min; + s64 max; +}; + +struct netlink_set_err_data { + struct sock *exclude_sk; + u32 portid; + u32 group; + int code; +}; + +struct scm_creds { + u32 pid; + kuid_t uid; + kgid_t gid; +}; + +struct netlink_skb_parms { + struct scm_creds creds; + __u32 portid; + __u32 dst_group; + __u32 flags; + struct sock *sk; + bool nsid_is_set; + int nsid; +}; + +struct netlink_sock { + struct sock sk; + long unsigned int flags; + u32 portid; + u32 dst_portid; + u32 dst_group; + u32 subscriptions; + u32 ngroups; + long unsigned int *groups; + long unsigned int state; + size_t max_recvmsg_len; + wait_queue_head_t wait; + bool bound; + bool cb_running; + int dump_done_errno; + struct netlink_callback cb; + struct mutex nl_cb_mutex; + void (*netlink_rcv)(struct sk_buff *); + int (*netlink_bind)(struct net *, int); + void (*netlink_unbind)(struct net *, int); + void (*netlink_release)(struct sock *, long unsigned int *); + struct module *module; + struct rhash_head node; + struct callback_head rcu; + long: 32; +}; + +struct netlink_table { + struct rhashtable hash; + struct hlist_head mc_list; + struct listeners *listeners; + unsigned int flags; + unsigned int groups; + struct mutex *cb_mutex; + struct module *module; + int (*bind)(struct net *, int); + void (*unbind)(struct net *, int); + void (*release)(struct sock *, long unsigned int *); + int registered; +}; + +struct netlink_tap { + struct net_device *dev; + struct module *module; + struct list_head list; +}; + +struct netlink_tap_net { + struct list_head netlink_tap_all; + struct mutex netlink_tap_lock; +}; + +struct new_utsname { + char sysname[65]; + char nodename[65]; + char release[65]; + char version[65]; + char machine[65]; + char domainname[65]; +}; + +struct nh_info; + +struct nh_group; + +struct nexthop { + struct rb_node rb_node; + struct list_head fi_list; + struct list_head f6i_list; + struct list_head fdb_list; + struct list_head grp_list; + struct net *net; + u32 id; + u8 protocol; + u8 nh_flags; + bool is_group; + refcount_t refcnt; + struct callback_head rcu; + union { + struct nh_info *nh_info; + struct nh_group *nh_grp; + }; +}; + +struct nexthop_grp { + __u32 id; + __u8 weight; + __u8 weight_high; + __u16 resvd2; +}; + +struct nf_hook_state { + u8 hook; + u8 pf; + struct net_device *in; + struct net_device *out; + struct sock *sk; + struct net *net; + int (*okfn)(struct net *, struct sock *, struct sk_buff *); +}; + +struct nh_config { + u32 nh_id; + u8 nh_family; + u8 nh_protocol; + u8 nh_blackhole; + u8 nh_fdb; + u32 nh_flags; + int nh_ifindex; + struct net_device *dev; + union { + __be32 ipv4; + struct in6_addr ipv6; + } gw; + struct nlattr *nh_grp; + u16 nh_grp_type; + u16 nh_grp_res_num_buckets; + long unsigned int nh_grp_res_idle_timer; + long unsigned int nh_grp_res_unbalanced_timer; + bool nh_grp_res_has_num_buckets; + bool nh_grp_res_has_idle_timer; + bool nh_grp_res_has_unbalanced_timer; + bool nh_hw_stats; + struct nlattr *nh_encap; + u16 nh_encap_type; + u32 nlflags; + struct nl_info nlinfo; +}; + +struct nh_dump_filter { + u32 nh_id; + int dev_idx; + int master_idx; + bool group_filter; + bool fdb_filter; + u32 res_bucket_nh_id; + u32 op_flags; +}; + +struct nh_grp_entry_stats; + +struct nh_grp_entry { + struct nexthop *nh; + struct nh_grp_entry_stats *stats; + u16 weight; + union { + struct { + atomic_t upper_bound; + } hthr; + struct { + struct list_head uw_nh_entry; + u16 count_buckets; + u16 wants_buckets; + } res; + }; + struct list_head nh_list; + struct nexthop *nh_parent; + long: 32; + u64 packets_hw; +}; + +struct nh_res_table; + +struct nh_group { + struct nh_group *spare; + u16 num_nh; + bool is_multipath; + bool hash_threshold; + bool resilient; + bool fdb_nh; + bool has_v4; + bool hw_stats; + struct nh_res_table *res_table; + struct nh_grp_entry nh_entries[0]; +}; + +struct nh_grp_entry_stats { + u64_stats_t packets; + struct u64_stats_sync syncp; + long: 32; +}; + +struct nh_info { + struct hlist_node dev_hash; + struct nexthop *nh_parent; + u8 family; + bool reject_nh; + bool fdb_nh; + union { + struct fib_nh_common fib_nhc; + struct fib_nh fib_nh; + struct fib6_nh fib6_nh; + }; +}; + +struct nh_notifier_single_info { + struct net_device *dev; + u8 gw_family; + union { + __be32 ipv4; + struct in6_addr ipv6; + }; + u32 id; + u8 is_reject: 1; + u8 is_fdb: 1; + u8 has_encap: 1; +}; + +struct nh_notifier_grp_entry_info { + u16 weight; + struct nh_notifier_single_info nh; +}; + +struct nh_notifier_grp_hw_stats_entry_info { + u32 id; + long: 32; + u64 packets; +}; + +struct nh_notifier_grp_hw_stats_info { + u16 num_nh; + bool hw_stats_used; + long: 32; + struct nh_notifier_grp_hw_stats_entry_info stats[0]; +}; + +struct nh_notifier_grp_info { + u16 num_nh; + bool is_fdb; + bool hw_stats; + struct nh_notifier_grp_entry_info nh_entries[0]; +}; + +struct nh_notifier_res_table_info; + +struct nh_notifier_res_bucket_info; + +struct nh_notifier_info { + struct net *net; + struct netlink_ext_ack *extack; + u32 id; + enum nh_notifier_info_type type; + union { + struct nh_notifier_single_info *nh; + struct nh_notifier_grp_info *nh_grp; + struct nh_notifier_res_table_info *nh_res_table; + struct nh_notifier_res_bucket_info *nh_res_bucket; + struct nh_notifier_grp_hw_stats_info *nh_grp_hw_stats; + }; +}; + +struct nh_notifier_res_bucket_info { + u16 bucket_index; + unsigned int idle_timer_ms; + bool force; + struct nh_notifier_single_info old_nh; + struct nh_notifier_single_info new_nh; +}; + +struct nh_notifier_res_table_info { + u16 num_nh_buckets; + bool hw_stats; + struct nh_notifier_single_info nhs[0]; +}; + +struct nh_res_bucket { + struct nh_grp_entry *nh_entry; + atomic_long_t used_time; + long unsigned int migrated_time; + bool occupied; + u8 nh_flags; +}; + +struct nh_res_table { + struct net *net; + u32 nhg_id; + struct delayed_work upkeep_dw; + struct list_head uw_nh_entries; + long unsigned int unbalanced_since; + u32 idle_timer; + u32 unbalanced_timer; + u16 num_nh_buckets; + struct nh_res_bucket nh_buckets[0]; +}; + +struct nhmsg { + unsigned char nh_family; + unsigned char nh_scope; + unsigned char nh_protocol; + unsigned char resvd; + unsigned int nh_flags; +}; + +struct nl_pktinfo { + __u32 group; +}; + +struct nla_bitfield32 { + __u32 value; + __u32 selector; +}; + +struct nla_policy { + u8 type; + u8 validation_type; + u16 len; + union { + u16 strict_start_type; + const u32 bitfield32_valid; + const u32 mask; + const char *reject_message; + const struct nla_policy *nested_policy; + const struct netlink_range_validation *range; + const struct netlink_range_validation_signed *range_signed; + struct { + s16 min; + s16 max; + }; + int (*validate)(const struct nlattr *, struct netlink_ext_ack *); + }; +}; + +struct nlattr { + __u16 nla_len; + __u16 nla_type; +}; + +struct nlmsghdr { + __u32 nlmsg_len; + __u16 nlmsg_type; + __u16 nlmsg_flags; + __u32 nlmsg_seq; + __u32 nlmsg_pid; +}; + +struct nlmsgerr { + int error; + struct nlmsghdr msg; +}; + +struct ns_get_path_bpf_map_args { + struct bpf_offloaded_map *offmap; + struct bpf_map_info *info; +}; + +struct ns_get_path_bpf_prog_args { + struct bpf_prog *prog; + struct bpf_prog_info *info; +}; + +struct ns_get_path_task_args { + const struct proc_ns_operations *ns_ops; + struct task_struct *task; +}; + +struct uts_namespace; + +struct time_namespace; + +struct nsproxy { + refcount_t count; + struct uts_namespace *uts_ns; + struct ipc_namespace *ipc_ns; + struct mnt_namespace *mnt_ns; + struct pid_namespace *pid_ns_for_children; + struct net *net_ns; + struct time_namespace *time_ns; + struct time_namespace *time_ns_for_children; + struct cgroup_namespace *cgroup_ns; +}; + +struct nsset { + unsigned int flags; + struct nsproxy *nsproxy; + struct fs_struct *fs; + const struct cred *cred; +}; + +struct ntp_data { + long unsigned int tick_usec; + long: 32; + u64 tick_length; + u64 tick_length_base; + int time_state; + int time_status; + s64 time_offset; + long int time_constant; + long int time_maxerror; + long int time_esterror; + long: 32; + s64 time_freq; + time64_t time_reftime; + long int time_adjust; + long: 32; + s64 ntp_tick_adj; + time64_t ntp_next_leap_sec; +}; + +struct objpool_slot { + uint32_t head; + uint32_t tail; + uint32_t last; + uint32_t mask; + void *entries[0]; +}; + +struct obs_kernel_param { + const char *str; + int (*setup_func)(char *); + int early; +}; + +struct of_bus { + void (*count_cells)(const void *, int, int *, int *); + u64 (*map)(__be32 *, const __be32 *, int, int, int); + int (*translate)(__be32 *, u64, int); +}; + +struct of_bus___2 { + const char *name; + const char *addresses; + int (*match)(struct device_node *); + void (*count_cells)(struct device_node *, int *, int *); + u64 (*map)(__be32 *, const __be32 *, int, int, int, int); + int (*translate)(__be32 *, u64, int); + int flag_cells; + unsigned int (*get_flags)(const __be32 *); +}; + +struct of_phandle_args; + +struct of_clk_provider { + struct list_head link; + struct device_node *node; + struct clk * (*get)(struct of_phandle_args *, void *); + struct clk_hw * (*get_hw)(struct of_phandle_args *, void *); + void *data; +}; + +struct of_dev_auxdata { + char *compatible; + resource_size_t phys_addr; + char *name; + void *platform_data; +}; + +struct of_device_id { + char name[32]; + char type[32]; + char compatible[128]; + const void *data; +}; + +struct of_endpoint { + unsigned int port; + unsigned int id; + const struct device_node *local_node; +}; + +typedef int (*of_irq_init_cb_t)(struct device_node *, struct device_node *); + +struct of_intc_desc { + struct list_head list; + of_irq_init_cb_t irq_init_cb; + struct device_node *dev; + struct device_node *interrupt_parent; +}; + +struct of_pci_range { + union { + u64 pci_addr; + u64 bus_addr; + }; + u64 cpu_addr; + u64 parent_bus_addr; + u64 size; + u32 flags; + long: 32; +}; + +struct of_pci_range_parser { + struct device_node *node; + const struct of_bus___2 *bus; + const __be32 *range; + const __be32 *end; + int na; + int ns; + int pna; + bool dma; +}; + +struct of_phandle_args { + struct device_node *np; + int args_count; + uint32_t args[16]; +}; + +struct of_phandle_iterator { + const char *cells_name; + int cell_count; + const struct device_node *parent; + const __be32 *list_end; + const __be32 *phandle_end; + const __be32 *cur; + uint32_t cur_count; + phandle phandle; + struct device_node *node; +}; + +struct of_timer_base { + void *base; + const char *name; + int index; +}; + +struct of_timer_clk { + struct clk *clk; + const char *name; + int index; + long unsigned int rate; + long unsigned int period; +}; + +struct of_timer_irq { + int irq; + int index; + const char *name; + long unsigned int flags; + irq_handler_t handler; +}; + +struct offset_ctx { + struct maple_tree mt; + long unsigned int next_offset; +}; + +union offset_union { + long unsigned int un; + long int sn; +}; + +struct old_timespec32 { + old_time32_t tv_sec; + s32 tv_nsec; +}; + +struct old_itimerspec32 { + struct old_timespec32 it_interval; + struct old_timespec32 it_value; +}; + +struct old_sigaction { + __sighandler_t sa_handler; + old_sigset_t sa_mask; + long unsigned int sa_flags; + __sigrestore_t sa_restorer; +}; + +struct old_timeval32 { + old_time32_t tv_sec; + s32 tv_usec; +}; + +struct static_key_true; + +struct once_work { + struct work_struct work; + struct static_key_true *key; + struct module *module; +}; + +struct oom_control { + struct zonelist *zonelist; + nodemask_t *nodemask; + struct mem_cgroup *memcg; + const gfp_t gfp_mask; + const int order; + long unsigned int totalpages; + struct task_struct *chosen; + long int chosen_points; + enum oom_constraint constraint; +}; + +struct open_flags { + int open_flag; + umode_t mode; + int acc_mode; + int intent; + int lookup_flags; +}; + +struct open_how { + __u64 flags; + __u64 mode; + __u64 resolve; +}; + +struct osnoise_entry { + struct trace_entry ent; + u64 noise; + u64 runtime; + u64 max_sample; + unsigned int hw_count; + unsigned int nmi_count; + unsigned int irq_count; + unsigned int softirq_count; + unsigned int thread_count; + long: 32; +}; + +struct packet_type { + __be16 type; + bool ignore_outgoing; + struct net_device *dev; + netdevice_tracker dev_tracker; + int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *); + void (*list_func)(struct list_head *, struct packet_type *, struct net_device *); + bool (*id_match)(struct packet_type *, struct sock *); + struct net *af_packet_net; + void *af_packet_priv; + struct list_head list; +}; + +typedef struct page *pgtable_t; + +struct page_change_data { + pgprot_t set_mask; + pgprot_t clear_mask; +}; + +struct printf_spec; + +struct page_flags_fields { + int width; + int shift; + int mask; + const struct printf_spec *spec; + const char *name; +}; + +struct page_pool_params_fast { + unsigned int order; + unsigned int pool_size; + int nid; + struct device *dev; + struct napi_struct *napi; + enum dma_data_direction dma_dir; + unsigned int max_len; + unsigned int offset; +}; + +struct pp_alloc_cache { + u32 count; + netmem_ref cache[128]; +}; + +struct ptr_ring { + int producer; + spinlock_t producer_lock; + int consumer_head; + int consumer_tail; + spinlock_t consumer_lock; + int size; + int batch; + void **queue; +}; + +struct page_pool_params_slow { + struct net_device *netdev; + unsigned int queue_idx; + unsigned int flags; + void (*init_callback)(netmem_ref, void *); + void *init_arg; +}; + +struct page_pool { + struct page_pool_params_fast p; + int cpuid; + u32 pages_state_hold_cnt; + bool has_init_callback: 1; + bool dma_map: 1; + bool dma_sync: 1; + bool dma_sync_for_cpu: 1; + long: 32; + __u8 __cacheline_group_begin__frag[0]; + long int frag_users; + netmem_ref frag_page; + unsigned int frag_offset; + __u8 __cacheline_group_end__frag[0]; + long: 32; + struct {} __cacheline_group_pad__frag; + struct delayed_work release_dw; + void (*disconnect)(void *); + long unsigned int defer_start; + long unsigned int defer_warn; + u32 xdp_mem_id; + struct pp_alloc_cache alloc; + struct ptr_ring ring; + void *mp_priv; + atomic_t pages_state_release_cnt; + refcount_t user_cnt; + long: 32; + u64 destroy_cnt; + struct page_pool_params_slow slow; + long: 32; + struct { + struct hlist_node list; + u64 detach_time; + u32 id; + long: 32; + } user; +}; + +struct page_pool_dump_cb { + long unsigned int ifindex; + u32 pp_id; +}; + +struct page_pool_params { + union { + struct { + unsigned int order; + unsigned int pool_size; + int nid; + struct device *dev; + struct napi_struct *napi; + enum dma_data_direction dma_dir; + unsigned int max_len; + unsigned int offset; + }; + struct page_pool_params_fast fast; + }; + union { + struct { + struct net_device *netdev; + unsigned int queue_idx; + unsigned int flags; + void (*init_callback)(netmem_ref, void *); + void *init_arg; + }; + struct page_pool_params_slow slow; + }; +}; + +struct page_vma_mapped_walk { + long unsigned int pfn; + long unsigned int nr_pages; + long unsigned int pgoff; + struct vm_area_struct *vma; + long unsigned int address; + pmd_t *pmd; + pte_t *pte; + spinlock_t *ptl; + unsigned int flags; +}; + +struct pages_devres { + long unsigned int addr; + unsigned int order; +}; + +struct pages_or_folios { + union { + struct page **pages; + struct folio **folios; + void **entries; + }; + bool has_folios; + long int nr_entries; +}; + +struct partial_context { + gfp_t flags; + unsigned int orig_size; + void *object; +}; + +struct partial_page { + unsigned int offset; + unsigned int len; + long unsigned int private; +}; + +struct partition_meta_info { + char uuid[37]; + u8 volname[64]; +}; + +struct patch { + void *addr; + unsigned int insn; +}; + +struct pause_reply_data { + struct ethnl_reply_data base; + struct ethtool_pauseparam pauseparam; + long: 32; + struct ethtool_pause_stats pausestat; +}; + +struct pause_req_info { + struct ethnl_req_info base; + enum ethtool_mac_stats_src src; +}; + +struct pci_p2pdma_map_state { + struct dev_pagemap *pgmap; + int map; + u64 bus_off; +}; + +struct pcpu_group_info { + int nr_units; + long unsigned int base_offset; + unsigned int *cpu_map; +}; + +struct pcpu_alloc_info { + size_t static_size; + size_t reserved_size; + size_t dyn_size; + size_t unit_size; + size_t atom_size; + size_t alloc_size; + size_t __ai_size; + int nr_groups; + struct pcpu_group_info groups[0]; +}; + +struct pcpu_block_md { + int scan_hint; + int scan_hint_start; + int contig_hint; + int contig_hint_start; + int left_free; + int right_free; + int first_free; + int nr_bits; +}; + +struct pcpu_chunk { + struct list_head list; + int free_bytes; + struct pcpu_block_md chunk_md; + long unsigned int *bound_map; + void *base_addr; + long unsigned int *alloc_map; + struct pcpu_block_md *md_blocks; + void *data; + bool immutable; + bool isolated; + int start_offset; + int end_offset; + int nr_pages; + int nr_populated; + int nr_empty_pop_pages; + long unsigned int populated[0]; +}; + +struct pcpu_dstats { + u64_stats_t rx_packets; + u64_stats_t rx_bytes; + u64_stats_t tx_packets; + u64_stats_t tx_bytes; + u64_stats_t rx_drops; + u64_stats_t tx_drops; + struct u64_stats_sync syncp; + long: 32; + long: 32; + long: 32; +}; + +struct pcpu_gen_cookie { + local_t nesting; + long: 32; + u64 last; +}; + +struct pcpu_lstats { + u64_stats_t packets; + u64_stats_t bytes; + struct u64_stats_sync syncp; + long: 32; + long: 32; + long: 32; +}; + +struct pcpu_sw_netstats { + u64_stats_t rx_packets; + u64_stats_t rx_bytes; + u64_stats_t tx_packets; + u64_stats_t tx_bytes; + struct u64_stats_sync syncp; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct pdev_archdata {}; + +struct per_cpu_nodestat { + s8 stat_threshold; + s8 vm_node_stat_diff[44]; +}; + +struct per_cpu_pages { + spinlock_t lock; + int count; + int high; + int high_min; + int high_max; + int batch; + u8 flags; + u8 alloc_factor; + short int free_count; + struct list_head lists[12]; +}; + +struct per_cpu_zonestat {}; + +struct percpu_cluster { + local_lock_t lock; + unsigned int next[1]; +}; + +struct percpu_free_defer { + struct callback_head rcu; + void *ptr; +}; + +typedef void percpu_ref_func_t(struct percpu_ref *); + +struct percpu_ref_data { + atomic_long_t count; + percpu_ref_func_t *release; + percpu_ref_func_t *confirm_switch; + bool force_atomic: 1; + bool allow_reinit: 1; + struct callback_head rcu; + struct percpu_ref *ref; +}; + +struct rcu_sync { + int gp_state; + int gp_count; + wait_queue_head_t gp_wait; + struct callback_head cb_head; +}; + +struct percpu_rw_semaphore { + struct rcu_sync rss; + unsigned int *read_count; + struct rcuwait writer; + wait_queue_head_t waiters; + atomic_t block; +}; + +struct perf_addr_filter { + struct list_head entry; + struct path path; + long unsigned int offset; + long unsigned int size; + enum perf_addr_filter_action_t action; +}; + +struct perf_addr_filter_range { + long unsigned int start; + long unsigned int size; +}; + +struct perf_addr_filters_head { + struct list_head list; + raw_spinlock_t lock; + unsigned int nr_file_filters; +}; + +struct perf_event_header { + __u32 type; + __u16 misc; + __u16 size; +}; + +struct perf_aux_event { + struct perf_event_header header; + u64 hw_id; +}; + +struct perf_aux_event___2 { + struct perf_event_header header; + u32 pid; + u32 tid; +}; + +struct perf_aux_event___3 { + struct perf_event_header header; + u64 offset; + u64 size; + u64 flags; +}; + +struct perf_bpf_event { + struct bpf_prog *prog; + struct { + struct perf_event_header header; + u16 type; + u16 flags; + u32 id; + u8 tag[8]; + } event_id; +}; + +struct perf_branch_entry { + __u64 from; + __u64 to; + __u64 mispred: 1; + __u64 predicted: 1; + __u64 in_tx: 1; + __u64 abort: 1; + __u64 cycles: 16; + __u64 type: 4; + __u64 spec: 2; + __u64 new_type: 4; + __u64 priv: 3; + __u64 reserved: 31; +}; + +struct perf_branch_stack { + __u64 nr; + __u64 hw_idx; + struct perf_branch_entry entries[0]; +}; + +struct perf_event_mmap_page; + +struct perf_buffer { + refcount_t refcount; + struct callback_head callback_head; + struct work_struct work; + int page_order; + int nr_pages; + int overwrite; + int paused; + atomic_t poll; + local_t head; + unsigned int nest; + local_t events; + local_t wakeup; + local_t lost; + long int watermark; + long int aux_watermark; + spinlock_t event_lock; + struct list_head event_list; + atomic_t mmap_count; + long unsigned int mmap_locked; + struct user_struct *mmap_user; + struct mutex aux_mutex; + long int aux_head; + unsigned int aux_nest; + long int aux_wakeup; + long unsigned int aux_pgoff; + int aux_nr_pages; + int aux_overwrite; + atomic_t aux_mmap_count; + long unsigned int aux_mmap_locked; + void (*free_aux)(void *); + refcount_t aux_refcount; + int aux_in_sampling; + int aux_in_pause_resume; + void **aux_pages; + void *aux_priv; + struct perf_event_mmap_page *user_page; + void *data_pages[0]; +}; + +struct perf_callchain_entry { + __u64 nr; + __u64 ip[0]; +}; + +struct perf_callchain_entry_ctx { + struct perf_callchain_entry *entry; + u32 max_stack; + u32 nr; + short int contexts; + bool contexts_maxed; +}; + +struct perf_comm_event { + struct task_struct *task; + char *comm; + int comm_size; + struct { + struct perf_event_header header; + u32 pid; + u32 tid; + } event_id; +}; + +struct perf_event_groups { + struct rb_root tree; + long: 32; + u64 index; +}; + +struct perf_event_context { + raw_spinlock_t lock; + struct mutex mutex; + struct list_head pmu_ctx_list; + long: 32; + struct perf_event_groups pinned_groups; + struct perf_event_groups flexible_groups; + struct list_head event_list; + int nr_events; + int nr_user; + int is_active; + int nr_task_data; + int nr_stat; + int nr_freq; + int rotate_disable; + refcount_t refcount; + struct task_struct *task; + long: 32; + u64 time; + u64 timestamp; + u64 timeoffset; + struct perf_event_context *parent_ctx; + long: 32; + u64 parent_gen; + u64 generation; + int pin_count; + struct callback_head callback_head; + local_t nr_no_switch_fast; +}; + +struct perf_cpu_context { + struct perf_event_context ctx; + struct perf_event_context *task_ctx; + int online; + int heap_size; + struct perf_event **heap; + struct perf_event *heap_default[2]; +}; + +struct perf_event_pmu_context { + struct pmu *pmu; + struct perf_event_context *ctx; + struct list_head pmu_ctx_entry; + struct list_head pinned_active; + struct list_head flexible_active; + unsigned int embedded: 1; + unsigned int nr_events; + unsigned int nr_cgroups; + unsigned int nr_freq; + atomic_t refcount; + struct callback_head callback_head; + void *task_ctx_data; + int rotate_necessary; +}; + +struct perf_cpu_pmu_context { + struct perf_event_pmu_context epc; + struct perf_event_pmu_context *task_epc; + struct list_head sched_cb_entry; + int sched_cb_usage; + int active_oncpu; + int exclusive; + raw_spinlock_t hrtimer_lock; + long: 32; + struct hrtimer hrtimer; + ktime_t hrtimer_interval; + unsigned int hrtimer_active; + long: 32; +}; + +struct perf_event_attr { + __u32 type; + __u32 size; + __u64 config; + union { + __u64 sample_period; + __u64 sample_freq; + }; + __u64 sample_type; + __u64 read_format; + __u64 disabled: 1; + __u64 inherit: 1; + __u64 pinned: 1; + __u64 exclusive: 1; + __u64 exclude_user: 1; + __u64 exclude_kernel: 1; + __u64 exclude_hv: 1; + __u64 exclude_idle: 1; + __u64 mmap: 1; + __u64 comm: 1; + __u64 freq: 1; + __u64 inherit_stat: 1; + __u64 enable_on_exec: 1; + __u64 task: 1; + __u64 watermark: 1; + __u64 precise_ip: 2; + __u64 mmap_data: 1; + __u64 sample_id_all: 1; + __u64 exclude_host: 1; + __u64 exclude_guest: 1; + __u64 exclude_callchain_kernel: 1; + __u64 exclude_callchain_user: 1; + __u64 mmap2: 1; + __u64 comm_exec: 1; + __u64 use_clockid: 1; + __u64 context_switch: 1; + __u64 write_backward: 1; + __u64 namespaces: 1; + __u64 ksymbol: 1; + __u64 bpf_event: 1; + __u64 aux_output: 1; + __u64 cgroup: 1; + __u64 text_poke: 1; + __u64 build_id: 1; + __u64 inherit_thread: 1; + __u64 remove_on_exec: 1; + __u64 sigtrap: 1; + __u64 __reserved_1: 26; + union { + __u32 wakeup_events; + __u32 wakeup_watermark; + }; + __u32 bp_type; + union { + __u64 bp_addr; + __u64 kprobe_func; + __u64 uprobe_path; + __u64 config1; + }; + union { + __u64 bp_len; + __u64 kprobe_addr; + __u64 probe_offset; + __u64 config2; + }; + __u64 branch_sample_type; + __u64 sample_regs_user; + __u32 sample_stack_user; + __s32 clockid; + __u64 sample_regs_intr; + __u32 aux_watermark; + __u16 sample_max_stack; + __u16 __reserved_2; + __u32 aux_sample_size; + union { + __u32 aux_action; + struct { + __u32 aux_start_paused: 1; + __u32 aux_pause: 1; + __u32 aux_resume: 1; + __u32 __reserved_3: 29; + }; + }; + __u64 sig_data; + __u64 config3; +}; + +typedef void (*perf_overflow_handler_t)(struct perf_event *, struct perf_sample_data *, struct pt_regs *); + +struct perf_event { + struct list_head event_entry; + struct list_head sibling_list; + struct list_head active_list; + struct rb_node group_node; + long: 32; + u64 group_index; + struct list_head migrate_entry; + struct hlist_node hlist_entry; + struct list_head active_entry; + int nr_siblings; + int event_caps; + int group_caps; + unsigned int group_generation; + struct perf_event *group_leader; + struct pmu *pmu; + void *pmu_private; + enum perf_event_state state; + unsigned int attach_state; + long: 32; + local64_t count; + atomic64_t child_count; + u64 total_time_enabled; + u64 total_time_running; + u64 tstamp; + struct perf_event_attr attr; + u16 header_size; + u16 id_header_size; + u16 read_size; + struct hw_perf_event hw; + struct perf_event_context *ctx; + struct perf_event_pmu_context *pmu_ctx; + atomic_long_t refcount; + long: 32; + atomic64_t child_total_time_enabled; + atomic64_t child_total_time_running; + struct mutex child_mutex; + struct list_head child_list; + struct perf_event *parent; + int oncpu; + int cpu; + struct list_head owner_entry; + struct task_struct *owner; + struct mutex mmap_mutex; + atomic_t mmap_count; + struct perf_buffer *rb; + struct list_head rb_entry; + long unsigned int rcu_batches; + int rcu_pending; + wait_queue_head_t waitq; + struct fasync_struct *fasync; + unsigned int pending_wakeup; + unsigned int pending_kill; + unsigned int pending_disable; + long unsigned int pending_addr; + struct irq_work pending_irq; + struct irq_work pending_disable_irq; + struct callback_head pending_task; + unsigned int pending_work; + struct rcuwait pending_work_wait; + atomic_t event_limit; + struct perf_addr_filters_head addr_filters; + struct perf_addr_filter_range *addr_filter_ranges; + long unsigned int addr_filters_gen; + struct perf_event *aux_event; + void (*destroy)(struct perf_event *); + struct callback_head callback_head; + struct pid_namespace *ns; + u64 id; + atomic64_t lost_samples; + u64 (*clock)(void); + perf_overflow_handler_t overflow_handler; + void *overflow_handler_context; + struct bpf_prog *prog; + u64 bpf_cookie; + struct trace_event_call *tp_event; + struct event_filter *filter; + struct ftrace_ops ftrace_ops; + struct list_head sb_list; + __u32 orig_type; + long: 32; +}; + +struct perf_event_min_heap { + size_t nr; + size_t size; + struct perf_event **data; + struct perf_event *preallocated[0]; +}; + +struct perf_event_mmap_page { + __u32 version; + __u32 compat_version; + __u32 lock; + __u32 index; + __s64 offset; + __u64 time_enabled; + __u64 time_running; + union { + __u64 capabilities; + struct { + __u64 cap_bit0: 1; + __u64 cap_bit0_is_deprecated: 1; + __u64 cap_user_rdpmc: 1; + __u64 cap_user_time: 1; + __u64 cap_user_time_zero: 1; + __u64 cap_user_time_short: 1; + __u64 cap_____res: 58; + }; + }; + __u16 pmc_width; + __u16 time_shift; + __u32 time_mult; + __u64 time_offset; + __u64 time_zero; + __u32 size; + __u32 __reserved_1; + __u64 time_cycles; + __u64 time_mask; + __u8 __reserved[928]; + __u64 data_head; + __u64 data_tail; + __u64 data_offset; + __u64 data_size; + __u64 aux_head; + __u64 aux_tail; + __u64 aux_offset; + __u64 aux_size; +}; + +struct perf_event_query_bpf { + __u32 ids_len; + __u32 prog_cnt; + __u32 ids[0]; +}; + +struct perf_ksymbol_event { + const char *name; + int name_len; + struct { + struct perf_event_header header; + u64 addr; + u32 len; + u16 ksym_type; + u16 flags; + } event_id; +}; + +struct perf_mmap_event { + struct vm_area_struct *vma; + const char *file_name; + int file_size; + int maj; + int min; + long: 32; + u64 ino; + u64 ino_generation; + u32 prot; + u32 flags; + u8 build_id[20]; + u32 build_id_size; + struct { + struct perf_event_header header; + u32 pid; + u32 tid; + u64 start; + u64 len; + u64 pgoff; + } event_id; +}; + +struct perf_ns_link_info { + __u64 dev; + __u64 ino; +}; + +struct perf_namespaces_event { + struct task_struct *task; + long: 32; + struct { + struct perf_event_header header; + u32 pid; + u32 tid; + u64 nr_namespaces; + struct perf_ns_link_info link_info[7]; + } event_id; +}; + +struct perf_output_handle { + struct perf_event *event; + struct perf_buffer *rb; + long unsigned int wakeup; + long unsigned int size; + u64 aux_flags; + union { + void *addr; + long unsigned int head; + }; + int page; +}; + +struct perf_pmu_events_attr { + struct device_attribute attr; + u64 id; + const char *event_str; + long: 32; +}; + +typedef long unsigned int (*perf_copy_f)(void *, const void *, long unsigned int, long unsigned int); + +struct perf_raw_frag { + union { + struct perf_raw_frag *next; + long unsigned int pad; + }; + perf_copy_f copy; + void *data; + u32 size; +}; + +struct perf_raw_record { + struct perf_raw_frag frag; + u32 size; +}; + +struct perf_read_data { + struct perf_event *event; + bool group; + int ret; +}; + +struct perf_read_event { + struct perf_event_header header; + u32 pid; + u32 tid; +}; + +struct perf_switch_event { + struct task_struct *task; + struct task_struct *next_prev; + struct { + struct perf_event_header header; + u32 next_prev_pid; + u32 next_prev_tid; + } event_id; +}; + +struct perf_task_event { + struct task_struct *task; + struct perf_event_context *task_ctx; + struct { + struct perf_event_header header; + u32 pid; + u32 ppid; + u32 tid; + u32 ptid; + u64 time; + } event_id; +}; + +struct perf_text_poke_event { + const void *old_bytes; + const void *new_bytes; + size_t pad; + u16 old_len; + u16 new_len; + struct { + struct perf_event_header header; + u64 addr; + } event_id; +}; + +struct pernet_operations { + struct list_head list; + int (*init)(struct net *); + void (*pre_exit)(struct net *); + void (*exit)(struct net *); + void (*exit_batch)(struct list_head *); + void (*exit_batch_rtnl)(struct list_head *, struct list_head *); + unsigned int * const id; + const size_t size; +}; + +struct skb_array { + struct ptr_ring ring; +}; + +struct pfifo_fast_priv { + struct skb_array q[3]; +}; + +struct zone { + long unsigned int _watermark[4]; + long unsigned int watermark_boost; + long unsigned int nr_reserved_highatomic; + long unsigned int nr_free_highatomic; + long int lowmem_reserve[2]; + struct pglist_data *zone_pgdat; + struct per_cpu_pages *per_cpu_pageset; + struct per_cpu_zonestat *per_cpu_zonestats; + int pageset_high_min; + int pageset_high_max; + int pageset_batch; + long unsigned int *pageblock_flags; + long unsigned int zone_start_pfn; + atomic_long_t managed_pages; + long unsigned int spanned_pages; + long unsigned int present_pages; + const char *name; + int initialized; + struct free_area free_area[11]; + long unsigned int flags; + spinlock_t lock; + long unsigned int percpu_drift_mark; + long unsigned int compact_cached_free_pfn; + long unsigned int compact_cached_migrate_pfn[2]; + long unsigned int compact_init_migrate_pfn; + long unsigned int compact_init_free_pfn; + unsigned int compact_considered; + unsigned int compact_defer_shift; + int compact_order_failed; + bool compact_blockskip_flush; + bool contiguous; + atomic_long_t vm_stat[10]; + atomic_long_t vm_numa_event[0]; +}; + +struct zoneref { + struct zone *zone; + int zone_idx; +}; + +struct zonelist { + struct zoneref _zonerefs[3]; +}; + +struct pglist_data { + struct zone node_zones[2]; + struct zonelist node_zonelists[1]; + int nr_zones; + struct page *node_mem_map; + long unsigned int node_start_pfn; + long unsigned int node_present_pages; + long unsigned int node_spanned_pages; + int node_id; + wait_queue_head_t kswapd_wait; + wait_queue_head_t pfmemalloc_wait; + wait_queue_head_t reclaim_wait[4]; + atomic_t nr_writeback_throttled; + long unsigned int nr_reclaim_start; + struct task_struct *kswapd; + int kswapd_order; + enum zone_type kswapd_highest_zoneidx; + int kswapd_failures; + int kcompactd_max_order; + enum zone_type kcompactd_highest_zoneidx; + wait_queue_head_t kcompactd_wait; + struct task_struct *kcompactd; + bool proactive_compact_trigger; + long unsigned int totalreserve_pages; + struct lruvec __lruvec; + long unsigned int flags; + struct per_cpu_nodestat *per_cpu_nodestats; + atomic_long_t vm_stat[44]; +}; + +struct phc_vclocks_reply_data { + struct ethnl_reply_data base; + int num; + int *index; +}; + +struct phy_c45_device_ids { + u32 devices_in_package; + u32 mmds_present; + u32 device_ids[32]; +}; + +struct phylink; + +struct pse_control; + +struct phy_driver; + +struct phy_device { + struct mdio_device mdio; + const struct phy_driver *drv; + struct device_link *devlink; + u32 phyindex; + u32 phy_id; + struct phy_c45_device_ids c45_ids; + unsigned int is_c45: 1; + unsigned int is_internal: 1; + unsigned int is_pseudo_fixed_link: 1; + unsigned int is_gigabit_capable: 1; + unsigned int has_fixups: 1; + unsigned int suspended: 1; + unsigned int suspended_by_mdio_bus: 1; + unsigned int sysfs_links: 1; + unsigned int loopback_enabled: 1; + unsigned int downshifted_rate: 1; + unsigned int is_on_sfp_module: 1; + unsigned int mac_managed_pm: 1; + unsigned int wol_enabled: 1; + unsigned int autoneg: 1; + unsigned int link: 1; + unsigned int autoneg_complete: 1; + unsigned int interrupts: 1; + unsigned int irq_suspended: 1; + unsigned int irq_rerun: 1; + unsigned int default_timestamp: 1; + int rate_matching; + enum phy_state state; + u32 dev_flags; + phy_interface_t interface; + long unsigned int possible_interfaces[2]; + int speed; + int duplex; + int port; + int pause; + int asym_pause; + u8 master_slave_get; + u8 master_slave_set; + u8 master_slave_state; + long unsigned int supported[4]; + long unsigned int advertising[4]; + long unsigned int lp_advertising[4]; + long unsigned int adv_old[4]; + long unsigned int supported_eee[4]; + long unsigned int advertising_eee[4]; + long unsigned int eee_broken_modes[4]; + bool enable_tx_lpi; + bool eee_active; + struct eee_config eee_cfg; + long unsigned int host_interfaces[2]; + struct list_head leds; + int irq; + void *priv; + struct phy_package_shared *shared; + struct sk_buff *skb; + void *ehdr; + struct nlattr *nest; + struct delayed_work state_queue; + struct mutex lock; + bool sfp_bus_attached; + struct sfp_bus *sfp_bus; + struct phylink *phylink; + struct net_device *attached_dev; + struct mii_timestamper *mii_ts; + struct pse_control *psec; + u8 mdix; + u8 mdix_ctrl; + int pma_extable; + unsigned int link_down_events; + void (*phy_link_change)(struct phy_device *, bool); + void (*adjust_link)(struct net_device *); + long: 32; +}; + +struct phy_device_node { + enum phy_upstream upstream_type; + union { + struct net_device *netdev; + struct phy_device *phydev; + } upstream; + struct sfp_bus *parent_sfp_bus; + struct phy_device *phy; +}; + +struct phy_driver { + struct mdio_driver_common mdiodrv; + u32 phy_id; + char *name; + u32 phy_id_mask; + const long unsigned int * const features; + u32 flags; + const void *driver_data; + int (*soft_reset)(struct phy_device *); + int (*config_init)(struct phy_device *); + int (*probe)(struct phy_device *); + int (*get_features)(struct phy_device *); + unsigned int (*inband_caps)(struct phy_device *, phy_interface_t); + int (*config_inband)(struct phy_device *, unsigned int); + int (*get_rate_matching)(struct phy_device *, phy_interface_t); + int (*suspend)(struct phy_device *); + int (*resume)(struct phy_device *); + int (*config_aneg)(struct phy_device *); + int (*aneg_done)(struct phy_device *); + int (*read_status)(struct phy_device *); + int (*config_intr)(struct phy_device *); + irqreturn_t (*handle_interrupt)(struct phy_device *); + void (*remove)(struct phy_device *); + int (*match_phy_device)(struct phy_device *); + int (*set_wol)(struct phy_device *, struct ethtool_wolinfo *); + void (*get_wol)(struct phy_device *, struct ethtool_wolinfo *); + void (*link_change_notify)(struct phy_device *); + int (*read_mmd)(struct phy_device *, int, u16); + int (*write_mmd)(struct phy_device *, int, u16, u16); + int (*read_page)(struct phy_device *); + int (*write_page)(struct phy_device *, int); + int (*module_info)(struct phy_device *, struct ethtool_modinfo *); + int (*module_eeprom)(struct phy_device *, struct ethtool_eeprom *, u8 *); + int (*cable_test_start)(struct phy_device *); + int (*cable_test_tdr_start)(struct phy_device *, const struct phy_tdr_config *); + int (*cable_test_get_status)(struct phy_device *, bool *); + void (*get_phy_stats)(struct phy_device *, struct ethtool_eth_phy_stats *, struct ethtool_phy_stats *); + void (*get_link_stats)(struct phy_device *, struct ethtool_link_ext_stats *); + int (*update_stats)(struct phy_device *); + int (*get_sset_count)(struct phy_device *); + void (*get_strings)(struct phy_device *, u8 *); + void (*get_stats)(struct phy_device *, struct ethtool_stats *, u64 *); + int (*get_tunable)(struct phy_device *, struct ethtool_tunable *, void *); + int (*set_tunable)(struct phy_device *, struct ethtool_tunable *, const void *); + int (*set_loopback)(struct phy_device *, bool); + int (*get_sqi)(struct phy_device *); + int (*get_sqi_max)(struct phy_device *); + int (*get_plca_cfg)(struct phy_device *, struct phy_plca_cfg *); + int (*set_plca_cfg)(struct phy_device *, const struct phy_plca_cfg *); + int (*get_plca_status)(struct phy_device *, struct phy_plca_status *); + int (*led_brightness_set)(struct phy_device *, u8, enum led_brightness); + int (*led_blink_set)(struct phy_device *, u8, long unsigned int *, long unsigned int *); + int (*led_hw_is_supported)(struct phy_device *, u8, long unsigned int); + int (*led_hw_control_set)(struct phy_device *, u8, long unsigned int); + int (*led_hw_control_get)(struct phy_device *, u8, long unsigned int *); + int (*led_polarity_set)(struct phy_device *, int, long unsigned int); +}; + +struct phy_link_topology { + struct xarray phys; + u32 next_phy_index; +}; + +struct phy_package_shared { + u8 base_addr; + struct device_node *np; + refcount_t refcnt; + long unsigned int flags; + size_t priv_size; + void *priv; +}; + +struct phy_plca_cfg { + int version; + int enabled; + int node_id; + int node_cnt; + int to_tmr; + int burst_cnt; + int burst_tmr; +}; + +struct phy_plca_status { + bool pst; +}; + +struct phy_req_info { + struct ethnl_req_info base; + struct phy_device_node *pdn; +}; + +struct phy_tdr_config { + u32 first; + u32 last; + u32 step; + s8 pair; +}; + +struct upid { + int nr; + struct pid_namespace *ns; +}; + +struct pid { + refcount_t count; + unsigned int level; + spinlock_t lock; + struct dentry *stashed; + long: 32; + u64 ino; + struct rb_node pidfs_node; + struct hlist_head tasks[4]; + struct hlist_head inodes; + wait_queue_head_t wait_pidfd; + struct callback_head rcu; + struct upid numbers[0]; +}; + +struct pid_namespace { + struct idr idr; + struct callback_head rcu; + unsigned int pid_allocated; + struct task_struct *child_reaper; + struct kmem_cache *pid_cachep; + unsigned int level; + int pid_max; + struct pid_namespace *parent; + struct user_namespace *user_ns; + struct ucounts *ucounts; + int reboot; + struct ns_common ns; + struct work_struct work; +}; + +struct pidfd_info { + __u64 mask; + __u64 cgroupid; + __u32 pid; + __u32 tgid; + __u32 ppid; + __u32 ruid; + __u32 rgid; + __u32 euid; + __u32 egid; + __u32 suid; + __u32 sgid; + __u32 fsuid; + __u32 fsgid; + __u32 spare0[1]; +}; + +struct ping_table { + struct hlist_head hash[64]; + spinlock_t lock; +}; + +struct pingfakehdr { + struct icmphdr icmph; + struct msghdr *msg; + sa_family_t family; + __wsum wcheck; +}; + +struct pingv6_ops { + int (*ipv6_recv_error)(struct sock *, struct msghdr *, int, int *); + void (*ip6_datagram_recv_common_ctl)(struct sock *, struct msghdr *, struct sk_buff *); + void (*ip6_datagram_recv_specific_ctl)(struct sock *, struct msghdr *, struct sk_buff *); + int (*icmpv6_err_convert)(u8, u8, int *); + void (*ipv6_icmp_error)(struct sock *, struct sk_buff *, int, __be16, u32, u8 *); + int (*ipv6_chk_addr)(struct net *, const struct in6_addr *, const struct net_device *, int); +}; + +struct pipe_buffer; + +struct pipe_buf_operations { + int (*confirm)(struct pipe_inode_info *, struct pipe_buffer *); + void (*release)(struct pipe_inode_info *, struct pipe_buffer *); + bool (*try_steal)(struct pipe_inode_info *, struct pipe_buffer *); + bool (*get)(struct pipe_inode_info *, struct pipe_buffer *); +}; + +struct pipe_buffer { + struct page *page; + unsigned int offset; + unsigned int len; + const struct pipe_buf_operations *ops; + unsigned int flags; + long unsigned int private; +}; + +union pipe_index { + long unsigned int head_tail; + struct { + pipe_index_t head; + pipe_index_t tail; + }; +}; + +struct pipe_inode_info { + struct mutex mutex; + wait_queue_head_t rd_wait; + wait_queue_head_t wr_wait; + union { + long unsigned int head_tail; + struct { + pipe_index_t head; + pipe_index_t tail; + }; + }; + unsigned int max_usage; + unsigned int ring_size; + unsigned int nr_accounted; + unsigned int readers; + unsigned int writers; + unsigned int files; + unsigned int r_counter; + unsigned int w_counter; + bool poll_usage; + struct page *tmp_page; + struct fasync_struct *fasync_readers; + struct fasync_struct *fasync_writers; + struct pipe_buffer *bufs; + struct user_struct *user; +}; + +struct pipe_wait { + struct trace_iterator *iter; + int wait_index; +}; + +struct mfd_cell; + +struct platform_device_id; + +struct platform_device { + const char *name; + int id; + bool id_auto; + long: 32; + struct device dev; + u64 platform_dma_mask; + struct device_dma_parameters dma_parms; + u32 num_resources; + struct resource *resource; + const struct platform_device_id *id_entry; + const char *driver_override; + struct mfd_cell *mfd_cell; + struct pdev_archdata archdata; +}; + +struct platform_device_id { + char name[20]; + kernel_ulong_t driver_data; +}; + +struct property_entry; + +struct platform_device_info { + struct device *parent; + struct fwnode_handle *fwnode; + bool of_node_reused; + const char *name; + int id; + const struct resource *res; + unsigned int num_res; + const void *data; + size_t size_data; + long: 32; + u64 dma_mask; + const struct property_entry *properties; + long: 32; +}; + +struct platform_driver { + int (*probe)(struct platform_device *); + void (*remove)(struct platform_device *); + void (*shutdown)(struct platform_device *); + int (*suspend)(struct platform_device *, pm_message_t); + int (*resume)(struct platform_device *); + struct device_driver driver; + const struct platform_device_id *id_table; + bool prevent_deferred_probe; + bool driver_managed_dma; +}; + +struct platform_object { + struct platform_device pdev; + char name[0]; +}; + +struct plca_reply_data { + struct ethnl_reply_data base; + struct phy_plca_cfg plca_cfg; + struct phy_plca_status plca_st; +}; + +struct plt_entries { + u32 ldr[16]; + u32 lit[16]; +}; + +struct pm_clk_notifier_block { + struct notifier_block nb; + struct dev_pm_domain *pm_domain; + char *con_ids[0]; +}; + +struct pm_subsys_data { + spinlock_t lock; + unsigned int refcount; +}; + +struct pmu_event_list { + raw_spinlock_t lock; + struct list_head list; +}; + +struct pmu_hw_events { + struct perf_event *events[32]; + long unsigned int used_mask[1]; + struct arm_pmu *percpu_pmu; + int irq; +}; + +struct pmu_irq_ops { + void (*enable_pmuirq)(unsigned int); + void (*disable_pmuirq)(unsigned int); + void (*free_pmuirq)(unsigned int, int, void *); +}; + +typedef int (*armpmu_init_fn)(struct arm_pmu *); + +struct pmu_probe_info { + unsigned int cpuid; + unsigned int mask; + armpmu_init_fn init; +}; + +struct pneigh_entry { + struct pneigh_entry *next; + possible_net_t net; + struct net_device *dev; + netdevice_tracker dev_tracker; + u32 flags; + u8 protocol; + u32 key[0]; +}; + +struct pollfd { + int fd; + short int events; + short int revents; +}; + +struct poll_list { + struct poll_list *next; + unsigned int len; + struct pollfd entries[0]; +}; + +struct wait_queue_entry; + +typedef int (*wait_queue_func_t)(struct wait_queue_entry *, unsigned int, int, void *); + +struct wait_queue_entry { + unsigned int flags; + void *private; + wait_queue_func_t func; + struct list_head entry; +}; + +typedef struct wait_queue_entry wait_queue_entry_t; + +struct poll_table_entry { + struct file *filp; + __poll_t key; + wait_queue_entry_t wait; + wait_queue_head_t *wait_address; +}; + +struct poll_table_page { + struct poll_table_page *next; + struct poll_table_entry *entry; + struct poll_table_entry entries[0]; +}; + +typedef void (*poll_queue_proc)(struct file *, wait_queue_head_t *, struct poll_table_struct *); + +struct poll_table_struct { + poll_queue_proc _qproc; + __poll_t _key; +}; + +typedef struct poll_table_struct poll_table; + +struct poll_wqueues { + poll_table pt; + struct poll_table_page *table; + struct task_struct *polling_task; + int triggered; + int error; + int inline_index; + struct poll_table_entry inline_entries[18]; +}; + +struct worker_pool; + +struct pool_workqueue { + struct worker_pool *pool; + struct workqueue_struct *wq; + int work_color; + int flush_color; + int refcnt; + int nr_in_flight[16]; + bool plugged; + int nr_active; + struct list_head inactive_works; + struct list_head pending_node; + struct list_head pwqs_node; + struct list_head mayday_node; + long: 32; + u64 stats[8]; + struct kthread_work release_work; + struct callback_head rcu; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct port_identity { + struct clock_identity clock_identity; + __be16 port_number; +}; + +struct posix_acl_entry { + short int e_tag; + short unsigned int e_perm; + union { + kuid_t e_uid; + kgid_t e_gid; + }; +}; + +struct posix_acl { + refcount_t a_refcount; + unsigned int a_count; + struct callback_head a_rcu; + struct posix_acl_entry a_entries[0]; +}; + +struct posix_cputimers {}; + +struct pppoe_tag { + __be16 tag_type; + __be16 tag_len; + char tag_data[0]; +}; + +struct pppoe_hdr { + __u8 type: 4; + __u8 ver: 4; + __u8 code; + __be16 sid; + __be16 length; + struct pppoe_tag tag[0]; +}; + +struct pptp_gre_header { + struct gre_base_hdr gre_hd; + __be16 payload_len; + __be16 call_id; + __be32 seq; + __be32 ack; +}; + +struct pr_cont_work_struct { + bool comma; + work_func_t func; + long int ctr; +}; + +struct prctl_mm_map { + __u64 start_code; + __u64 end_code; + __u64 start_data; + __u64 end_data; + __u64 start_brk; + __u64 brk; + __u64 start_stack; + __u64 arg_start; + __u64 arg_end; + __u64 env_start; + __u64 env_end; + __u64 *auxv; + __u32 auxv_size; + __u32 exe_fd; + long: 32; +}; + +struct prefix_cacheinfo { + __u32 preferred_time; + __u32 valid_time; +}; + +struct prefix_info { + __u8 type; + __u8 length; + __u8 prefix_len; + union { + __u8 flags; + struct { + __u8 reserved: 4; + __u8 preferpd: 1; + __u8 routeraddr: 1; + __u8 autoconf: 1; + __u8 onlink: 1; + }; + }; + __be32 valid; + __be32 prefered; + __be32 reserved2; + struct in6_addr prefix; +}; + +struct prefixmsg { + unsigned char prefix_family; + unsigned char prefix_pad1; + short unsigned int prefix_pad2; + int prefix_ifindex; + unsigned char prefix_type; + unsigned char prefix_len; + unsigned char prefix_flags; + unsigned char prefix_pad3; +}; + +struct prepend_buffer { + char *buf; + int len; +}; + +struct prev_cputime { + u64 utime; + u64 stime; + raw_spinlock_t lock; +}; + +struct print_entry { + struct trace_entry ent; + long unsigned int ip; + char buf[0]; +}; + +struct printf_spec { + unsigned char flags; + unsigned char base; + short int precision; + int field_width; +}; + +struct printk_buffers { + char outbuf[0]; + char scratchbuf[0]; +}; + +struct privflags_reply_data { + struct ethnl_reply_data base; + const char (*priv_flag_names)[32]; + unsigned int n_priv_flags; + u32 priv_flags; +}; + +typedef struct kobject *kobj_probe_t(dev_t, int *, void *); + +struct probe { + struct probe *next; + dev_t dev; + long unsigned int range; + struct module *owner; + kobj_probe_t *get; + int (*lock)(dev_t, void *); + void *data; +}; + +struct probe_arg { + struct fetch_insn *code; + bool dynamic; + unsigned int offset; + unsigned int count; + const char *name; + const char *comm; + char *fmt; + const struct fetch_type *type; +}; + +struct probe_entry_arg { + struct fetch_insn *code; + unsigned int size; +}; + +struct processor; + +struct proc_info_list { + unsigned int cpu_val; + unsigned int cpu_mask; + long unsigned int __cpu_mm_mmu_flags; + long unsigned int __cpu_io_mmu_flags; + long unsigned int __cpu_flush; + const char *arch_name; + const char *elf_name; + unsigned int elf_hwcap; + const char *cpu_name; + struct processor *proc; + struct cpu_tlb_fns *tlb; + struct cpu_user_fns *user; + struct cpu_cache_fns *cache; +}; + +struct proc_ns_operations { + const char *name; + const char *real_ns_name; + int type; + struct ns_common * (*get)(struct task_struct *); + void (*put)(struct ns_common *); + int (*install)(struct nsset *, struct ns_common *); + struct user_namespace * (*owner)(struct ns_common *); + struct ns_common * (*get_parent)(struct ns_common *); +}; + +struct proc_ops { + unsigned int proc_flags; + int (*proc_open)(struct inode *, struct file *); + ssize_t (*proc_read)(struct file *, char *, size_t, loff_t *); + ssize_t (*proc_read_iter)(struct kiocb *, struct iov_iter *); + ssize_t (*proc_write)(struct file *, const char *, size_t, loff_t *); + loff_t (*proc_lseek)(struct file *, loff_t, int); + int (*proc_release)(struct inode *, struct file *); + __poll_t (*proc_poll)(struct file *, struct poll_table_struct *); + long int (*proc_ioctl)(struct file *, unsigned int, long unsigned int); + int (*proc_mmap)(struct file *, struct vm_area_struct *); + long unsigned int (*proc_get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); +}; + +struct process_timer { + struct timer_list timer; + struct task_struct *task; +}; + +struct processor { + void (*_data_abort)(long unsigned int); + long unsigned int (*_prefetch_abort)(long unsigned int); + void (*_proc_init)(void); + void (*check_bugs)(void); + void (*_proc_fin)(void); + void (*reset)(long unsigned int, bool); + int (*_do_idle)(void); + void (*dcache_clean_area)(void *, int); + void (*switch_mm)(phys_addr_t, struct mm_struct *); + void (*set_pte_ext)(pte_t *, pte_t, unsigned int); + unsigned int suspend_size; + void (*do_suspend)(void *); + void (*do_resume)(void *); +}; + +struct prog_entry { + int target; + int when_to_branch; + struct filter_pred *pred; +}; + +struct prog_poke_elem { + struct list_head list; + struct bpf_prog_aux *aux; +}; + +struct prog_test_member1 { + int a; +}; + +struct prog_test_member { + struct prog_test_member1 m; + int c; +}; + +struct prog_test_ref_kfunc { + int a; + int b; + struct prog_test_member memb; + struct prog_test_ref_kfunc *next; + refcount_t cnt; +}; + +struct property { + char *name; + int length; + void *value; + struct property *next; +}; + +struct property_entry { + const char *name; + size_t length; + bool is_inline; + enum dev_prop_type type; + union { + const void *pointer; + union { + u8 u8_data[8]; + u16 u16_data[4]; + u32 u32_data[2]; + u64 u64_data[1]; + const char *str[2]; + } value; + }; +}; + +struct smc_hashinfo; + +struct proto_accept_arg; + +struct sk_psock; + +struct timewait_sock_ops; + +struct raw_hashinfo; + +struct proto { + void (*close)(struct sock *, long int); + int (*pre_connect)(struct sock *, struct sockaddr *, int); + int (*connect)(struct sock *, struct sockaddr *, int); + int (*disconnect)(struct sock *, int); + struct sock * (*accept)(struct sock *, struct proto_accept_arg *); + int (*ioctl)(struct sock *, int, int *); + int (*init)(struct sock *); + void (*destroy)(struct sock *); + void (*shutdown)(struct sock *, int); + int (*setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); + int (*getsockopt)(struct sock *, int, int, char *, int *); + void (*keepalive)(struct sock *, int); + int (*sendmsg)(struct sock *, struct msghdr *, size_t); + int (*recvmsg)(struct sock *, struct msghdr *, size_t, int, int *); + void (*splice_eof)(struct socket *); + int (*bind)(struct sock *, struct sockaddr *, int); + int (*bind_add)(struct sock *, struct sockaddr *, int); + int (*backlog_rcv)(struct sock *, struct sk_buff *); + bool (*bpf_bypass_getsockopt)(int, int); + void (*release_cb)(struct sock *); + int (*hash)(struct sock *); + void (*unhash)(struct sock *); + void (*rehash)(struct sock *); + int (*get_port)(struct sock *, short unsigned int); + void (*put_port)(struct sock *); + int (*psock_update_sk_prot)(struct sock *, struct sk_psock *, bool); + bool (*stream_memory_free)(const struct sock *, int); + bool (*sock_is_readable)(struct sock *); + void (*enter_memory_pressure)(struct sock *); + void (*leave_memory_pressure)(struct sock *); + atomic_long_t *memory_allocated; + int *per_cpu_fw_alloc; + struct percpu_counter *sockets_allocated; + long unsigned int *memory_pressure; + long int *sysctl_mem; + int *sysctl_wmem; + int *sysctl_rmem; + u32 sysctl_wmem_offset; + u32 sysctl_rmem_offset; + int max_header; + bool no_autobind; + struct kmem_cache *slab; + unsigned int obj_size; + unsigned int ipv6_pinfo_offset; + slab_flags_t slab_flags; + unsigned int useroffset; + unsigned int usersize; + unsigned int *orphan_count; + struct request_sock_ops *rsk_prot; + struct timewait_sock_ops *twsk_prot; + union { + struct inet_hashinfo *hashinfo; + struct udp_table *udp_table; + struct raw_hashinfo *raw_hash; + struct smc_hashinfo *smc_hash; + } h; + struct module *owner; + char name[32]; + struct list_head node; + int (*diag_destroy)(struct sock *, int); +}; + +struct proto_accept_arg { + int flags; + int err; + int is_empty; + bool kern; +}; + +typedef int (*sk_read_actor_t)(read_descriptor_t *, struct sk_buff *, unsigned int, size_t); + +typedef int (*skb_read_actor_t)(struct sock *, struct sk_buff *); + +struct proto_ops { + int family; + struct module *owner; + int (*release)(struct socket *); + int (*bind)(struct socket *, struct sockaddr *, int); + int (*connect)(struct socket *, struct sockaddr *, int, int); + int (*socketpair)(struct socket *, struct socket *); + int (*accept)(struct socket *, struct socket *, struct proto_accept_arg *); + int (*getname)(struct socket *, struct sockaddr *, int); + __poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *); + int (*ioctl)(struct socket *, unsigned int, long unsigned int); + int (*gettstamp)(struct socket *, void *, bool, bool); + int (*listen)(struct socket *, int); + int (*shutdown)(struct socket *, int); + int (*setsockopt)(struct socket *, int, int, sockptr_t, unsigned int); + int (*getsockopt)(struct socket *, int, int, char *, int *); + void (*show_fdinfo)(struct seq_file *, struct socket *); + int (*sendmsg)(struct socket *, struct msghdr *, size_t); + int (*recvmsg)(struct socket *, struct msghdr *, size_t, int); + int (*mmap)(struct file *, struct socket *, struct vm_area_struct *); + ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int); + void (*splice_eof)(struct socket *); + int (*set_peek_off)(struct sock *, int); + int (*peek_len)(struct socket *); + int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t); + int (*read_skb)(struct sock *, skb_read_actor_t); + int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t); + int (*set_rcvlowat)(struct sock *, int); +}; + +struct psched_pktrate { + u64 rate_pkts_ps; + u32 mult; + u8 shift; +}; + +struct psched_ratecfg { + u64 rate_bytes_ps; + u32 mult; + u16 overhead; + u16 mpu; + u8 linklayer; + u8 shift; + long: 32; +}; + +struct pse_control_config { + enum ethtool_podl_pse_admin_state podl_admin_control; + enum ethtool_c33_pse_admin_state c33_admin_control; +}; + +struct pse_reply_data { + struct ethnl_reply_data base; + struct ethtool_pse_control_status status; +}; + +struct super_operations; + +struct xattr_handler; + +struct pseudo_fs_context { + const struct super_operations *ops; + const struct export_operations *eops; + const struct xattr_handler * const *xattr; + const struct dentry_operations *dops; + long unsigned int magic; +}; + +struct pt_regs_offset { + const char *name; + int offset; +}; + +struct ptdesc { + long unsigned int __page_flags; + union { + struct callback_head pt_rcu_head; + struct list_head pt_list; + struct { + long unsigned int _pt_pad_1; + pgtable_t pmd_huge_pte; + }; + }; + long unsigned int __page_mapping; + union { + long unsigned int pt_index; + struct mm_struct *pt_mm; + atomic_t pt_frag_refcount; + }; + union { + long unsigned int _pt_pad_2; + spinlock_t ptl; + }; + unsigned int __page_type; + atomic_t __page_refcount; +}; + +struct ptp_header { + u8 tsmt; + u8 ver; + __be16 message_length; + u8 domain_number; + u8 reserved1; + u8 flag_field[2]; + __be64 correction; + __be32 reserved2; + struct port_identity source_port_identity; + __be16 sequence_id; + u8 control; + u8 log_message_interval; +} __attribute__((packed)); + +struct ptrace_peeksiginfo_args { + __u64 off; + __u32 flags; + __s32 nr; +}; + +struct ptrace_syscall_info { + __u8 op; + __u8 pad[3]; + __u32 arch; + __u64 instruction_pointer; + __u64 stack_pointer; + union { + struct { + __u64 nr; + __u64 args[6]; + } entry; + struct { + __s64 rval; + __u8 is_error; + long: 32; + } exit; + struct { + __u64 nr; + __u64 args[6]; + __u32 ret_data; + long: 32; + } seccomp; + }; +}; + +struct qc_dqblk { + int d_fieldmask; + long: 32; + u64 d_spc_hardlimit; + u64 d_spc_softlimit; + u64 d_ino_hardlimit; + u64 d_ino_softlimit; + u64 d_space; + u64 d_ino_count; + s64 d_ino_timer; + s64 d_spc_timer; + int d_ino_warns; + int d_spc_warns; + u64 d_rt_spc_hardlimit; + u64 d_rt_spc_softlimit; + u64 d_rt_space; + s64 d_rt_spc_timer; + int d_rt_spc_warns; + long: 32; +}; + +struct qc_info { + int i_fieldmask; + unsigned int i_flags; + unsigned int i_spc_timelimit; + unsigned int i_ino_timelimit; + unsigned int i_rt_spc_timelimit; + unsigned int i_spc_warnlimit; + unsigned int i_ino_warnlimit; + unsigned int i_rt_spc_warnlimit; +}; + +struct qc_type_state { + unsigned int flags; + unsigned int spc_timelimit; + unsigned int ino_timelimit; + unsigned int rt_spc_timelimit; + unsigned int spc_warnlimit; + unsigned int ino_warnlimit; + unsigned int rt_spc_warnlimit; + long: 32; + long long unsigned int ino; + blkcnt_t blocks; + blkcnt_t nextents; +}; + +struct qc_state { + unsigned int s_incoredqs; + long: 32; + struct qc_type_state s_state[3]; +}; + +struct tc_sizespec { + unsigned char cell_log; + unsigned char size_log; + short int cell_align; + int overhead; + unsigned int linklayer; + unsigned int mpu; + unsigned int mtu; + unsigned int tsize; +}; + +struct qdisc_size_table { + struct callback_head rcu; + struct list_head list; + struct tc_sizespec szopts; + int refcnt; + u16 data[0]; +}; + +struct qdisc_walker { + int stop; + int skip; + int count; + int (*fn)(struct Qdisc *, long unsigned int, struct qdisc_walker *); +}; + +struct queue_limits { + blk_features_t features; + blk_flags_t flags; + long unsigned int seg_boundary_mask; + long unsigned int virt_boundary_mask; + unsigned int max_hw_sectors; + unsigned int max_dev_sectors; + unsigned int chunk_sectors; + unsigned int max_sectors; + unsigned int max_user_sectors; + unsigned int max_segment_size; + unsigned int min_segment_size; + unsigned int physical_block_size; + unsigned int logical_block_size; + unsigned int alignment_offset; + unsigned int io_min; + unsigned int io_opt; + unsigned int max_discard_sectors; + unsigned int max_hw_discard_sectors; + unsigned int max_user_discard_sectors; + unsigned int max_secure_erase_sectors; + unsigned int max_write_zeroes_sectors; + unsigned int max_hw_zone_append_sectors; + unsigned int max_zone_append_sectors; + unsigned int discard_granularity; + unsigned int discard_alignment; + unsigned int zone_write_granularity; + unsigned int atomic_write_hw_max; + unsigned int atomic_write_max_sectors; + unsigned int atomic_write_hw_boundary; + unsigned int atomic_write_boundary_sectors; + unsigned int atomic_write_hw_unit_min; + unsigned int atomic_write_unit_min; + unsigned int atomic_write_hw_unit_max; + unsigned int atomic_write_unit_max; + short unsigned int max_segments; + short unsigned int max_integrity_segments; + short unsigned int max_discard_segments; + unsigned int max_open_zones; + unsigned int max_active_zones; + unsigned int dma_alignment; + unsigned int dma_pad_mask; + struct blk_integrity integrity; +}; + +struct quota_format_ops { + int (*check_quota_file)(struct super_block *, int); + int (*read_file_info)(struct super_block *, int); + int (*write_file_info)(struct super_block *, int); + int (*free_file_info)(struct super_block *, int); + int (*read_dqblk)(struct dquot *); + int (*commit_dqblk)(struct dquot *); + int (*release_dqblk)(struct dquot *); + int (*get_next_id)(struct super_block *, struct kqid *); +}; + +struct quota_format_type { + int qf_fmt_id; + const struct quota_format_ops *qf_ops; + struct module *qf_owner; + struct quota_format_type *qf_next; +}; + +struct quota_info { + unsigned int flags; + struct rw_semaphore dqio_sem; + struct inode *files[3]; + struct mem_dqinfo info[3]; + const struct quota_format_ops *ops[3]; + long: 32; +}; + +struct quotactl_ops { + int (*quota_on)(struct super_block *, int, int, const struct path *); + int (*quota_off)(struct super_block *, int); + int (*quota_enable)(struct super_block *, unsigned int); + int (*quota_disable)(struct super_block *, unsigned int); + int (*quota_sync)(struct super_block *, int); + int (*set_info)(struct super_block *, int, struct qc_info *); + int (*get_dqblk)(struct super_block *, struct kqid, struct qc_dqblk *); + int (*get_nextdqblk)(struct super_block *, struct kqid *, struct qc_dqblk *); + int (*set_dqblk)(struct super_block *, struct kqid, struct qc_dqblk *); + int (*get_state)(struct super_block *, struct qc_state *); + int (*rm_xquota)(struct super_block *, unsigned int); +}; + +struct ra_msg { + struct icmp6hdr icmph; + __be32 reachable_time; + __be32 retrans_timer; +}; + +struct xa_node; + +struct radix_tree_iter { + long unsigned int index; + long unsigned int next_index; + long unsigned int tags; + struct xa_node *node; +}; + +struct radix_tree_preload { + local_lock_t lock; + unsigned int nr; + struct xa_node *nodes; +}; + +struct ramfs_mount_opts { + umode_t mode; +}; + +struct ramfs_fs_info { + struct ramfs_mount_opts mount_opts; +}; + +struct rate_sample { + u64 prior_mstamp; + u32 prior_delivered; + u32 prior_delivered_ce; + s32 delivered; + s32 delivered_ce; + long int interval_us; + u32 snd_interval_us; + u32 rcv_interval_us; + long int rtt_us; + int losses; + u32 acked_sacked; + u32 prior_in_flight; + u32 last_end_seq; + bool is_app_limited; + bool is_retrans; + bool is_ack_delayed; + long: 32; +}; + +struct ratelimit_state { + raw_spinlock_t lock; + int interval; + int burst; + int printed; + int missed; + unsigned int flags; + long unsigned int begin; +}; + +struct raw6_frag_vec { + struct msghdr *msg; + int hlen; + char c[4]; +}; + +struct raw6_sock { + struct inet_sock inet; + __u32 checksum; + __u32 offset; + struct icmp6_filter filter; + __u32 ip6mr_table; + struct ipv6_pinfo inet6; +}; + +struct raw_data_entry { + struct trace_entry ent; + unsigned int id; + char buf[0]; +}; + +struct raw_frag_vec { + struct msghdr *msg; + union { + struct icmphdr icmph; + char c[1]; + } hdr; + int hlen; +}; + +struct raw_hashinfo { + spinlock_t lock; + struct hlist_head ht[256]; +}; + +struct raw_sock { + struct inet_sock inet; + struct icmp_filter filter; + u32 ipmr_table; +}; + +struct rb_augment_callbacks { + void (*propagate)(struct rb_node *, struct rb_node *); + void (*copy)(struct rb_node *, struct rb_node *); + void (*rotate)(struct rb_node *, struct rb_node *); +}; + +struct rb_event_info { + u64 ts; + u64 delta; + u64 before; + u64 after; + long unsigned int length; + struct buffer_page *tail_page; + int add_timestamp; + long: 32; +}; + +struct rb_irq_work { + struct irq_work work; + wait_queue_head_t waiters; + wait_queue_head_t full_waiters; + atomic_t seq; + bool waiters_pending; + bool full_waiters_pending; + bool wakeup_full; +}; + +struct rb_list { + struct rb_root root; + struct list_head head; + spinlock_t lock; +}; + +struct rb_time_struct { + local64_t time; +}; + +typedef struct rb_time_struct rb_time_t; + +struct rb_wait_data { + struct rb_irq_work *irq_work; + int seq; +}; + +struct rcu_cblist { + struct callback_head *head; + struct callback_head **tail; + long int len; +}; + +struct rcu_ctrlblk { + struct callback_head *rcucblist; + struct callback_head **donetail; + struct callback_head **curtail; + long unsigned int gp_seq; +}; + +struct rcu_segcblist { + struct callback_head *head; + struct callback_head **tails[4]; + long unsigned int gp_seq[4]; + long int len; + long int seglen[4]; + u8 flags; +}; + +union rcu_special { + struct { + u8 blocked; + u8 need_qs; + u8 exp_hint; + u8 need_mb; + } b; + u32 s; +}; + +struct rcu_synchronize { + struct callback_head head; + struct completion completion; +}; + +struct rcu_tasks; + +typedef void (*rcu_tasks_gp_func_t)(struct rcu_tasks *); + +typedef void (*pregp_func_t)(struct list_head *); + +typedef void (*pertask_func_t)(struct task_struct *, struct list_head *); + +typedef void (*postscan_func_t)(struct list_head *); + +typedef void (*holdouts_func_t)(struct list_head *, bool, bool *); + +typedef void (*postgp_func_t)(struct rcu_tasks *); + +typedef void (*rcu_callback_t)(struct callback_head *); + +typedef void (*call_rcu_func_t)(struct callback_head *, rcu_callback_t); + +struct rcu_tasks_percpu; + +struct rcu_tasks { + struct rcuwait cbs_wait; + raw_spinlock_t cbs_gbl_lock; + struct mutex tasks_gp_mutex; + int gp_state; + int gp_sleep; + int init_fract; + long unsigned int gp_jiffies; + long unsigned int gp_start; + long unsigned int tasks_gp_seq; + long unsigned int n_ipis; + long unsigned int n_ipis_fails; + struct task_struct *kthread_ptr; + long unsigned int lazy_jiffies; + rcu_tasks_gp_func_t gp_func; + pregp_func_t pregp_func; + pertask_func_t pertask_func; + postscan_func_t postscan_func; + holdouts_func_t holdouts_func; + postgp_func_t postgp_func; + call_rcu_func_t call_func; + unsigned int wait_state; + struct rcu_tasks_percpu *rtpcpu; + struct rcu_tasks_percpu **rtpcp_array; + int percpu_enqueue_shift; + int percpu_enqueue_lim; + int percpu_dequeue_lim; + long unsigned int percpu_dequeue_gpseq; + struct mutex barrier_q_mutex; + atomic_t barrier_q_count; + struct completion barrier_q_completion; + long unsigned int barrier_q_seq; + long unsigned int barrier_q_start; + char *name; + char *kname; +}; + +struct rcu_tasks_percpu { + struct rcu_segcblist cblist; + raw_spinlock_t lock; + long unsigned int rtp_jiffies; + long unsigned int rtp_n_lock_retries; + struct timer_list lazy_timer; + unsigned int urgent_gp; + struct work_struct rtp_work; + struct irq_work rtp_irq_work; + struct callback_head barrier_q_head; + struct list_head rtp_blkd_tasks; + struct list_head rtp_exit_list; + int cpu; + int index; + struct rcu_tasks *rtpp; +}; + +struct rd_msg { + struct icmp6hdr icmph; + struct in6_addr target; + struct in6_addr dest; + __u8 opt[0]; +}; + +struct readahead_control { + struct file *file; + struct address_space *mapping; + struct file_ra_state *ra; + long unsigned int _index; + unsigned int _nr_pages; + unsigned int _batch_count; + bool dropbehind; + bool _workingset; + long unsigned int _pflags; +}; + +struct reciprocal_value_adv { + u32 m; + u8 sh; + u8 exp; + bool is_wide_m; +}; + +struct reclaim_stat { + unsigned int nr_dirty; + unsigned int nr_unqueued_dirty; + unsigned int nr_congested; + unsigned int nr_writeback; + unsigned int nr_immediate; + unsigned int nr_pageout; + unsigned int nr_activate[2]; + unsigned int nr_ref_keep; + unsigned int nr_unmap_fail; + unsigned int nr_lazyfree_fail; + unsigned int nr_demoted; +}; + +struct reclaim_state { + long unsigned int reclaimed; +}; + +typedef int (*regex_match_func)(char *, struct regex *, int); + +struct regex { + char pattern[256]; + int len; + int field_len; + regex_match_func match; +}; + +struct region { + unsigned int start; + unsigned int off; + unsigned int group_len; + unsigned int end; + unsigned int nbits; +}; + +struct region_devres { + struct resource *parent; + resource_size_t start; + resource_size_t n; +}; + +typedef int (*remote_function_f)(void *); + +struct remote_function_call { + struct task_struct *p; + remote_function_f func; + void *info; + int ret; +}; + +struct remote_output { + struct perf_buffer *rb; + int err; +}; + +struct renamedata { + struct mnt_idmap *old_mnt_idmap; + struct inode *old_dir; + struct dentry *old_dentry; + struct mnt_idmap *new_mnt_idmap; + struct inode *new_dir; + struct dentry *new_dentry; + struct inode **delegated_inode; + unsigned int flags; +}; + +struct elevator_queue; + +struct blk_mq_ops; + +struct blk_mq_ctx; + +struct blk_queue_stats; + +struct rq_qos; + +struct blk_mq_tags; + +struct blk_flush_queue; + +struct blk_mq_tag_set; + +struct request_queue { + void *queuedata; + struct elevator_queue *elevator; + const struct blk_mq_ops *mq_ops; + struct blk_mq_ctx *queue_ctx; + long unsigned int queue_flags; + unsigned int rq_timeout; + unsigned int queue_depth; + refcount_t refs; + unsigned int nr_hw_queues; + struct xarray hctx_table; + struct percpu_ref q_usage_counter; + struct lock_class_key io_lock_cls_key; + struct lockdep_map io_lockdep_map; + struct lock_class_key q_lock_cls_key; + struct lockdep_map q_lockdep_map; + struct request *last_merge; + spinlock_t queue_lock; + int quiesce_depth; + struct gendisk *disk; + struct kobject *mq_kobj; + struct queue_limits limits; + atomic_t pm_only; + struct blk_queue_stats *stats; + struct rq_qos *rq_qos; + struct mutex rq_qos_mutex; + int id; + long unsigned int nr_requests; + struct timer_list timeout; + struct work_struct timeout_work; + atomic_t nr_active_requests_shared_tags; + struct blk_mq_tags *sched_shared_tags; + struct list_head icq_list; + int node; + spinlock_t requeue_lock; + struct list_head requeue_list; + struct delayed_work requeue_work; + struct blk_flush_queue *fq; + struct list_head flush_list; + struct mutex sysfs_lock; + struct mutex limits_lock; + struct list_head unused_hctx_list; + spinlock_t unused_hctx_lock; + int mq_freeze_depth; + struct callback_head callback_head; + wait_queue_head_t mq_freeze_wq; + struct mutex mq_freeze_lock; + struct blk_mq_tag_set *tag_set; + struct list_head tag_set_list; + struct dentry *debugfs_dir; + struct dentry *sched_debugfs_dir; + struct dentry *rqos_debugfs_dir; + struct mutex debugfs_mutex; +}; + +struct request_sock__safe_rcu_or_null { + struct sock *sk; +}; + +struct request_sock_ops { + int family; + unsigned int obj_size; + struct kmem_cache *slab; + char *slab_name; + int (*rtx_syn_ack)(const struct sock *, struct request_sock *); + void (*send_ack)(const struct sock *, struct sk_buff *, struct request_sock *); + void (*send_reset)(const struct sock *, struct sk_buff *, enum sk_rst_reason); + void (*destructor)(struct request_sock *); + void (*syn_ack_timeout)(const struct request_sock *); +}; + +struct reserve_mem_table { + char name[16]; + phys_addr_t start; + phys_addr_t size; +}; + +struct reserved_mem_ops; + +struct reserved_mem { + const char *name; + long unsigned int fdt_node; + const struct reserved_mem_ops *ops; + phys_addr_t base; + phys_addr_t size; + void *priv; +}; + +struct reserved_mem_ops { + int (*device_init)(struct reserved_mem *, struct device *); + void (*device_release)(struct reserved_mem *, struct device *); +}; + +typedef resource_size_t (*resource_alignf)(void *, const struct resource *, resource_size_t, resource_size_t); + +struct resource_constraint { + resource_size_t min; + resource_size_t max; + resource_size_t align; + resource_alignf alignf; + void *alignf_data; +}; + +struct resource_entry { + struct list_head node; + struct resource *res; + resource_size_t offset; + struct resource __res; +}; + +struct restart_block { + long unsigned int arch_data; + long int (*fn)(struct restart_block *); + union { + struct { + u32 *uaddr; + u32 val; + u32 flags; + u32 bitset; + u64 time; + u32 *uaddr2; + long: 32; + } futex; + struct { + clockid_t clockid; + enum timespec_type type; + union { + struct __kernel_timespec *rmtp; + struct old_timespec32 *compat_rmtp; + }; + long: 32; + u64 expires; + } nanosleep; + struct { + struct pollfd *ufds; + int nfds; + int has_timeout; + long unsigned int tv_sec; + long unsigned int tv_nsec; + } poll; + }; +}; + +struct return_consumer { + __u64 cookie; + __u64 id; +}; + +struct return_instance { + struct hprobe hprobe; + long unsigned int func; + long unsigned int stack; + long unsigned int orig_ret_vaddr; + bool chained; + int cons_cnt; + struct return_instance *next; + struct callback_head rcu; + long: 32; + struct return_consumer consumer; + struct return_consumer *extra_consumers; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct reuseport_array { + struct bpf_map map; + struct sock *ptrs[0]; +}; + +struct rhash_lock_head {}; + +struct rhashtable_compare_arg { + struct rhashtable *ht; + const void *key; +}; + +struct rhashtable_walker { + struct list_head list; + struct bucket_table *tbl; +}; + +struct rhashtable_iter { + struct rhashtable *ht; + struct rhash_head *p; + struct rhlist_head *list; + struct rhashtable_walker walker; + unsigned int slot; + unsigned int skip; + bool end_of_table; +}; + +struct rhltable { + struct rhashtable ht; +}; + +struct ring_buffer_event { + u32 type_len: 5; + u32 time_delta: 27; + u32 array[0]; +}; + +struct ring_buffer_per_cpu; + +struct ring_buffer_iter { + struct ring_buffer_per_cpu *cpu_buffer; + long unsigned int head; + long unsigned int next_event; + struct buffer_page *head_page; + struct buffer_page *cache_reader_page; + long unsigned int cache_read; + long unsigned int cache_pages_removed; + long: 32; + u64 read_stamp; + u64 page_stamp; + struct ring_buffer_event *event; + size_t event_size; + int missed_events; + long: 32; +}; + +struct ring_buffer_meta { + int magic; + int struct_size; + long unsigned int text_addr; + long unsigned int data_addr; + long unsigned int first_buffer; + long unsigned int head_buffer; + long unsigned int commit_buffer; + __u32 subbuf_size; + __u32 nr_subbufs; + int buffers[0]; +}; + +struct trace_buffer_meta; + +struct ring_buffer_per_cpu { + int cpu; + atomic_t record_disabled; + atomic_t resize_disabled; + struct trace_buffer *buffer; + raw_spinlock_t reader_lock; + arch_spinlock_t lock; + struct lock_class_key lock_key; + struct buffer_data_page *free_page; + long unsigned int nr_pages; + unsigned int current_context; + struct list_head *pages; + long unsigned int cnt; + struct buffer_page *head_page; + struct buffer_page *tail_page; + struct buffer_page *commit_page; + struct buffer_page *reader_page; + long unsigned int lost_events; + long unsigned int last_overrun; + long unsigned int nest; + local_t entries_bytes; + local_t entries; + local_t overrun; + local_t commit_overrun; + local_t dropped_events; + local_t committing; + local_t commits; + local_t pages_touched; + local_t pages_lost; + local_t pages_read; + long int last_pages_touch; + size_t shortest_full; + long unsigned int read; + long unsigned int read_bytes; + rb_time_t write_stamp; + rb_time_t before_stamp; + u64 event_stamp[5]; + u64 read_stamp; + long unsigned int pages_removed; + unsigned int mapped; + unsigned int user_mapped; + struct mutex mapping_lock; + long unsigned int *subbuf_ids; + struct trace_buffer_meta *meta_page; + struct ring_buffer_meta *ring_meta; + long int nr_pages_to_update; + struct list_head new_pages; + struct work_struct update_pages_work; + struct completion update_done; + struct rb_irq_work irq_work; + long: 32; +}; + +struct rings_reply_data { + struct ethnl_reply_data base; + struct ethtool_ringparam ringparam; + struct kernel_ethtool_ringparam kernel_ringparam; + u32 supported_ring_params; +}; + +struct rlimit64 { + __u64 rlim_cur; + __u64 rlim_max; +}; + +struct rmap_walk_arg { + struct folio *folio; + bool map_unused_to_zeropage; +}; + +struct rmap_walk_control { + void *arg; + bool try_lock; + bool contended; + bool (*rmap_one)(struct folio *, struct vm_area_struct *, long unsigned int, void *); + int (*done)(struct folio *); + struct anon_vma * (*anon_lock)(const struct folio *, struct rmap_walk_control *); + bool (*invalid_vma)(struct vm_area_struct *, void *); +}; + +struct rmem_assigned_device { + struct device *dev; + struct reserved_mem *rmem; + struct list_head list; +}; + +struct rnd_state { + __u32 s1; + __u32 s2; + __u32 s3; + __u32 s4; +}; + +struct root_device { + struct device dev; + struct module *owner; + long: 32; +}; + +struct rt_prio_array { + long unsigned int bitmap[4]; + struct list_head queue[100]; +}; + +struct rt_rq { + struct rt_prio_array active; + unsigned int rt_nr_running; + unsigned int rr_nr_running; + int rt_queued; +}; + +struct sched_dl_entity; + +typedef bool (*dl_server_has_tasks_f)(struct sched_dl_entity *); + +typedef struct task_struct * (*dl_server_pick_f)(struct sched_dl_entity *); + +struct sched_dl_entity { + struct rb_node rb_node; + long: 32; + u64 dl_runtime; + u64 dl_deadline; + u64 dl_period; + u64 dl_bw; + u64 dl_density; + s64 runtime; + u64 deadline; + unsigned int flags; + unsigned int dl_throttled: 1; + unsigned int dl_yielded: 1; + unsigned int dl_non_contending: 1; + unsigned int dl_overrun: 1; + unsigned int dl_server: 1; + unsigned int dl_server_active: 1; + unsigned int dl_defer: 1; + unsigned int dl_defer_armed: 1; + unsigned int dl_defer_running: 1; + struct hrtimer dl_timer; + struct hrtimer inactive_timer; + struct rq *rq; + dl_server_has_tasks_f server_has_tasks; + dl_server_pick_f server_pick_task; + long: 32; +}; + +struct rq { + raw_spinlock_t __lock; + unsigned int nr_running; + long: 32; + u64 nr_switches; + struct cfs_rq cfs; + struct rt_rq rt; + long: 32; + struct dl_rq dl; + struct sched_dl_entity fair_server; + unsigned int nr_uninterruptible; + union { + struct task_struct *donor; + struct task_struct *curr; + }; + struct sched_dl_entity *dl_server; + struct task_struct *idle; + struct task_struct *stop; + long unsigned int next_balance; + struct mm_struct *prev_mm; + unsigned int clock_update_flags; + u64 clock; + u64 clock_task; + u64 clock_pelt; + long unsigned int lost_idle_time; + long: 32; + u64 clock_pelt_idle; + u64 clock_idle; + u64 clock_pelt_idle_copy; + u64 clock_idle_copy; + atomic_t nr_iowait; + long unsigned int calc_load_update; + long int calc_load_active; + unsigned int push_busy; + struct cpu_stop_work push_work; + cpumask_var_t scratch_mask; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct rs_msg { + struct icmp6hdr icmph; + __u8 opt[0]; +}; + +struct rss_nl_dump_ctx { + long unsigned int ifindex; + long unsigned int ctx_idx; + unsigned int match_ifindex; + unsigned int start_ctx; +}; + +struct rss_reply_data { + struct ethnl_reply_data base; + bool no_key_fields; + u32 indir_size; + u32 hkey_size; + u32 hfunc; + u32 input_xfrm; + u32 *indir_table; + u8 *hkey; +}; + +struct rss_req_info { + struct ethnl_req_info base; + u32 rss_context; +}; + +struct rt0_hdr { + struct ipv6_rt_hdr rt_hdr; + __u32 reserved; + struct in6_addr addr[0]; +}; + +struct rt6_exception { + struct hlist_node hlist; + struct rt6_info *rt6i; + long unsigned int stamp; + struct callback_head rcu; +}; + +struct rt6_exception_bucket { + struct hlist_head chain; + int depth; +}; + +struct rt6_info { + struct dst_entry dst; + struct fib6_info *from; + int sernum; + struct rt6key rt6i_dst; + struct rt6key rt6i_src; + struct in6_addr rt6i_gateway; + struct inet6_dev *rt6i_idev; + u32 rt6i_flags; + short unsigned int rt6i_nfheader_len; +}; + +struct rt6_mtu_change_arg { + struct net_device *dev; + unsigned int mtu; + struct fib6_info *f6i; +}; + +struct rt6_nh { + struct fib6_info *fib6_info; + struct fib6_config r_cfg; + struct list_head next; +}; + +struct rt6_rtnl_dump_arg { + struct sk_buff *skb; + struct netlink_callback *cb; + struct net *net; + struct fib_dump_filter filter; +}; + +struct rt6_statistics { + __u32 fib_nodes; + __u32 fib_route_nodes; + __u32 fib_rt_entries; + __u32 fib_rt_cache; + __u32 fib_discarded_routes; + atomic_t fib_rt_alloc; +}; + +struct rt_cache_stat { + unsigned int in_slow_tot; + unsigned int in_slow_mc; + unsigned int in_no_route; + unsigned int in_brd; + unsigned int in_martian_dst; + unsigned int in_martian_src; + unsigned int out_slow_tot; + unsigned int out_slow_mc; +}; + +struct siginfo { + union { + struct { + int si_signo; + int si_errno; + int si_code; + union __sifields _sifields; + }; + int _si_pad[32]; + }; +}; + +struct sigaltstack { + void *ss_sp; + int ss_flags; + __kernel_size_t ss_size; +}; + +typedef struct sigaltstack stack_t; + +struct sigcontext { + long unsigned int trap_no; + long unsigned int error_code; + long unsigned int oldmask; + long unsigned int arm_r0; + long unsigned int arm_r1; + long unsigned int arm_r2; + long unsigned int arm_r3; + long unsigned int arm_r4; + long unsigned int arm_r5; + long unsigned int arm_r6; + long unsigned int arm_r7; + long unsigned int arm_r8; + long unsigned int arm_r9; + long unsigned int arm_r10; + long unsigned int arm_fp; + long unsigned int arm_ip; + long unsigned int arm_sp; + long unsigned int arm_lr; + long unsigned int arm_pc; + long unsigned int arm_cpsr; + long unsigned int fault_address; +}; + +struct ucontext { + long unsigned int uc_flags; + struct ucontext *uc_link; + stack_t uc_stack; + struct sigcontext uc_mcontext; + sigset_t uc_sigmask; + int __unused[30]; + long unsigned int uc_regspace[128]; +}; + +struct sigframe { + struct ucontext uc; + long unsigned int retcode[4]; +}; + +struct rt_sigframe { + struct siginfo info; + struct sigframe sig; +}; + +struct rta_cacheinfo { + __u32 rta_clntref; + __u32 rta_lastuse; + __s32 rta_expires; + __u32 rta_error; + __u32 rta_used; + __u32 rta_id; + __u32 rta_ts; + __u32 rta_tsage; +}; + +struct rtable { + struct dst_entry dst; + int rt_genid; + unsigned int rt_flags; + __u16 rt_type; + __u8 rt_is_input; + __u8 rt_uses_gateway; + int rt_iif; + u8 rt_gw_family; + union { + __be32 rt_gw4; + struct in6_addr rt_gw6; + }; + u32 rt_mtu_locked: 1; + u32 rt_pmtu: 31; +}; + +struct rtc_time { + int tm_sec; + int tm_min; + int tm_hour; + int tm_mday; + int tm_mon; + int tm_year; + int tm_wday; + int tm_yday; + int tm_isdst; +}; + +struct rtentry { + long unsigned int rt_pad1; + struct sockaddr rt_dst; + struct sockaddr rt_gateway; + struct sockaddr rt_genmask; + short unsigned int rt_flags; + short int rt_pad2; + long unsigned int rt_pad3; + void *rt_pad4; + short int rt_metric; + char *rt_dev; + long unsigned int rt_mtu; + long unsigned int rt_window; + short unsigned int rt_irtt; +}; + +struct rtgenmsg { + unsigned char rtgen_family; +}; + +struct rtm_dump_res_bucket_ctx; + +struct rtm_dump_nexthop_bucket_data { + struct rtm_dump_res_bucket_ctx *ctx; + struct nh_dump_filter filter; +}; + +struct rtm_dump_nh_ctx { + u32 idx; +}; + +struct rtm_dump_res_bucket_ctx { + struct rtm_dump_nh_ctx nh; + u16 bucket_index; +}; + +struct rtmsg { + unsigned char rtm_family; + unsigned char rtm_dst_len; + unsigned char rtm_src_len; + unsigned char rtm_tos; + unsigned char rtm_table; + unsigned char rtm_protocol; + unsigned char rtm_scope; + unsigned char rtm_type; + unsigned int rtm_flags; +}; + +struct rtnexthop { + short unsigned int rtnh_len; + unsigned char rtnh_flags; + unsigned char rtnh_hops; + int rtnh_ifindex; +}; + +struct rtnl_af_ops { + struct list_head list; + struct srcu_struct srcu; + int family; + int (*fill_link_af)(struct sk_buff *, const struct net_device *, u32); + size_t (*get_link_af_size)(const struct net_device *, u32); + int (*validate_link_af)(const struct net_device *, const struct nlattr *, struct netlink_ext_ack *); + int (*set_link_af)(struct net_device *, const struct nlattr *, struct netlink_ext_ack *); + int (*fill_stats_af)(struct sk_buff *, const struct net_device *); + size_t (*get_stats_af_size)(const struct net_device *); +}; + +typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *, struct netlink_ext_ack *); + +typedef int (*rtnl_dumpit_func)(struct sk_buff *, struct netlink_callback *); + +struct rtnl_link { + rtnl_doit_func doit; + rtnl_dumpit_func dumpit; + struct module *owner; + unsigned int flags; + struct callback_head rcu; +}; + +struct rtnl_link_ifmap { + __u64 mem_start; + __u64 mem_end; + __u64 base_addr; + __u16 irq; + __u8 dma; + __u8 port; + long: 32; +}; + +struct rtnl_link_ops { + struct list_head list; + struct srcu_struct srcu; + const char *kind; + size_t priv_size; + struct net_device * (*alloc)(struct nlattr **, const char *, unsigned char, unsigned int, unsigned int); + void (*setup)(struct net_device *); + bool netns_refund; + const u16 peer_type; + unsigned int maxtype; + const struct nla_policy *policy; + int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *); + int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *); + int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *); + void (*dellink)(struct net_device *, struct list_head *); + size_t (*get_size)(const struct net_device *); + int (*fill_info)(struct sk_buff *, const struct net_device *); + size_t (*get_xstats_size)(const struct net_device *); + int (*fill_xstats)(struct sk_buff *, const struct net_device *); + unsigned int (*get_num_tx_queues)(void); + unsigned int (*get_num_rx_queues)(void); + unsigned int slave_maxtype; + const struct nla_policy *slave_policy; + int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *); + size_t (*get_slave_size)(const struct net_device *, const struct net_device *); + int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *); + struct net * (*get_link_net)(const struct net_device *); + size_t (*get_linkxstats_size)(const struct net_device *, int); + int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int); +}; + +struct rtnl_link_stats { + __u32 rx_packets; + __u32 tx_packets; + __u32 rx_bytes; + __u32 tx_bytes; + __u32 rx_errors; + __u32 tx_errors; + __u32 rx_dropped; + __u32 tx_dropped; + __u32 multicast; + __u32 collisions; + __u32 rx_length_errors; + __u32 rx_over_errors; + __u32 rx_crc_errors; + __u32 rx_frame_errors; + __u32 rx_fifo_errors; + __u32 rx_missed_errors; + __u32 tx_aborted_errors; + __u32 tx_carrier_errors; + __u32 tx_fifo_errors; + __u32 tx_heartbeat_errors; + __u32 tx_window_errors; + __u32 rx_compressed; + __u32 tx_compressed; + __u32 rx_nohandler; +}; + +struct rtnl_link_stats64 { + __u64 rx_packets; + __u64 tx_packets; + __u64 rx_bytes; + __u64 tx_bytes; + __u64 rx_errors; + __u64 tx_errors; + __u64 rx_dropped; + __u64 tx_dropped; + __u64 multicast; + __u64 collisions; + __u64 rx_length_errors; + __u64 rx_over_errors; + __u64 rx_crc_errors; + __u64 rx_frame_errors; + __u64 rx_fifo_errors; + __u64 rx_missed_errors; + __u64 tx_aborted_errors; + __u64 tx_carrier_errors; + __u64 tx_fifo_errors; + __u64 tx_heartbeat_errors; + __u64 tx_window_errors; + __u64 rx_compressed; + __u64 tx_compressed; + __u64 rx_nohandler; + __u64 rx_otherhost_dropped; +}; + +struct rtnl_mdb_dump_ctx { + long int idx; +}; + +struct rtnl_msg_handler { + struct module *owner; + int protocol; + int msgtype; + rtnl_doit_func doit; + rtnl_dumpit_func dumpit; + int flags; +}; + +struct rtnl_net_dump_cb { + struct net *tgt_net; + struct net *ref_net; + struct sk_buff *skb; + struct net_fill_args fillargs; + int idx; + int s_idx; +}; + +struct rtnl_nets { + struct net *net[3]; + unsigned char len; +}; + +struct rtnl_newlink_tbs { + struct nlattr *tb[67]; + struct nlattr *linkinfo[6]; + struct nlattr *attr[51]; + struct nlattr *slave_attr[45]; +}; + +struct rtnl_offload_xstats_request_used { + bool request; + bool used; +}; + +struct rtnl_stats_dump_filters { + u32 mask[6]; +}; + +struct rtvia { + __kernel_sa_family_t rtvia_family; + __u8 rtvia_addr[0]; +}; + +struct rusage { + struct __kernel_old_timeval ru_utime; + struct __kernel_old_timeval ru_stime; + __kernel_long_t ru_maxrss; + __kernel_long_t ru_ixrss; + __kernel_long_t ru_idrss; + __kernel_long_t ru_isrss; + __kernel_long_t ru_minflt; + __kernel_long_t ru_majflt; + __kernel_long_t ru_nswap; + __kernel_long_t ru_inblock; + __kernel_long_t ru_oublock; + __kernel_long_t ru_msgsnd; + __kernel_long_t ru_msgrcv; + __kernel_long_t ru_nsignals; + __kernel_long_t ru_nvcsw; + __kernel_long_t ru_nivcsw; +}; + +typedef struct rw_semaphore *class_rwsem_read_t; + +struct rwsem_waiter { + struct list_head list; + struct task_struct *task; + enum rwsem_waiter_type type; + long unsigned int timeout; + bool handoff_set; +}; + +struct saved_cmdlines_buffer { + unsigned int map_pid_to_cmdline[32769]; + unsigned int *map_cmdline_to_pid; + unsigned int cmdline_num; + int cmdline_idx; + char saved_cmdlines[0]; +}; + +struct saved_syn { + u32 mac_hdrlen; + u32 network_hdrlen; + u32 tcp_hdrlen; + u8 data[0]; +}; + +struct sb_writers { + short unsigned int frozen; + int freeze_kcount; + int freeze_ucount; + struct percpu_rw_semaphore rw_sem[3]; +}; + +struct scan_control { + long unsigned int nr_to_reclaim; + nodemask_t *nodemask; + struct mem_cgroup *target_mem_cgroup; + long unsigned int anon_cost; + long unsigned int file_cost; + unsigned int may_deactivate: 2; + unsigned int force_deactivate: 1; + unsigned int skipped_deactivate: 1; + unsigned int may_writepage: 1; + unsigned int may_unmap: 1; + unsigned int may_swap: 1; + unsigned int no_cache_trim_mode: 1; + unsigned int cache_trim_mode_failed: 1; + unsigned int proactive: 1; + unsigned int memcg_low_reclaim: 1; + unsigned int memcg_low_skipped: 1; + unsigned int memcg_full_walk: 1; + unsigned int hibernation_mode: 1; + unsigned int compaction_ready: 1; + unsigned int cache_trim_mode: 1; + unsigned int file_is_tiny: 1; + unsigned int no_demotion: 1; + s8 order; + s8 priority; + s8 reclaim_idx; + gfp_t gfp_mask; + long unsigned int nr_scanned; + long unsigned int nr_reclaimed; + struct { + unsigned int dirty; + unsigned int unqueued_dirty; + unsigned int congested; + unsigned int writeback; + unsigned int immediate; + unsigned int file_taken; + unsigned int taken; + } nr; + struct reclaim_state reclaim_state; +}; + +struct sch_frag_data { + long unsigned int dst; + struct qdisc_skb_cb cb; + __be16 inner_protocol; + u16 vlan_tci; + __be16 vlan_proto; + unsigned int l2_len; + u8 l2_data[18]; + int (*xmit)(struct sk_buff *); +}; + +struct sched_attr { + __u32 size; + __u32 sched_policy; + __u64 sched_flags; + __s32 sched_nice; + __u32 sched_priority; + __u64 sched_runtime; + __u64 sched_deadline; + __u64 sched_period; + __u32 sched_util_min; + __u32 sched_util_max; +}; + +struct sched_class { + void (*enqueue_task)(struct rq *, struct task_struct *, int); + bool (*dequeue_task)(struct rq *, struct task_struct *, int); + void (*yield_task)(struct rq *); + bool (*yield_to_task)(struct rq *, struct task_struct *); + void (*wakeup_preempt)(struct rq *, struct task_struct *, int); + int (*balance)(struct rq *, struct task_struct *, struct rq_flags *); + struct task_struct * (*pick_task)(struct rq *); + struct task_struct * (*pick_next_task)(struct rq *, struct task_struct *); + void (*put_prev_task)(struct rq *, struct task_struct *, struct task_struct *); + void (*set_next_task)(struct rq *, struct task_struct *, bool); + void (*task_tick)(struct rq *, struct task_struct *, int); + void (*task_fork)(struct task_struct *); + void (*task_dead)(struct task_struct *); + void (*switching_to)(struct rq *, struct task_struct *); + void (*switched_from)(struct rq *, struct task_struct *); + void (*switched_to)(struct rq *, struct task_struct *); + void (*reweight_task)(struct rq *, struct task_struct *, const struct load_weight *); + void (*prio_changed)(struct rq *, struct task_struct *, int); + unsigned int (*get_rr_interval)(struct rq *, struct task_struct *); + void (*update_curr)(struct rq *); +}; + +struct sched_entity { + struct load_weight load; + struct rb_node run_node; + long: 32; + u64 deadline; + u64 min_vruntime; + u64 min_slice; + struct list_head group_node; + unsigned char on_rq; + unsigned char sched_delayed; + unsigned char rel_deadline; + unsigned char custom_slice; + long: 32; + u64 exec_start; + u64 sum_exec_runtime; + u64 prev_sum_exec_runtime; + u64 vruntime; + s64 vlag; + u64 slice; + u64 nr_migrations; +}; + +struct sched_info {}; + +struct sched_param { + int sched_priority; +}; + +struct sched_rt_entity { + struct list_head run_list; + long unsigned int timeout; + long unsigned int watchdog_stamp; + unsigned int time_slice; + short unsigned int on_rq; + short unsigned int on_list; + struct sched_rt_entity *back; +}; + +struct sched_statistics {}; + +struct scm_fp_list; + +struct scm_cookie { + struct pid *pid; + struct scm_fp_list *fp; + struct scm_creds creds; +}; + +struct scm_fp_list { + short int count; + short int count_unix; + short int max; + struct user_struct *user; + struct file *fp[253]; +}; + +struct scm_stat { + atomic_t nr_fds; + long unsigned int nr_unix_fds; +}; + +struct scm_timestamping { + struct __kernel_old_timespec ts[3]; +}; + +struct scm_timestamping64 { + struct __kernel_timespec ts[3]; +}; + +struct scm_timestamping_internal { + struct timespec64 ts[3]; +}; + +struct scm_ts_pktinfo { + __u32 if_index; + __u32 pkt_length; + __u32 reserved[2]; +}; + +struct xfrm_offload { + struct { + __u32 low; + __u32 hi; + } seq; + __u32 flags; + __u32 status; + __u32 orig_mac_len; + __u8 proto; + __u8 inner_ipproto; +}; + +struct xfrm_state; + +struct sec_path { + int len; + int olen; + int verified_cnt; + struct xfrm_state *xvec[6]; + struct xfrm_offload ovec[1]; +}; + +struct seccomp {}; + +struct seccomp_data { + int nr; + __u32 arch; + __u64 instruction_pointer; + __u64 args[6]; +}; + +struct section_perm { + const char *name; + long unsigned int start; + long unsigned int end; + pmdval_t mask; + pmdval_t prot; + pmdval_t clear; +}; + +struct seg6_pernet_data { + struct mutex lock; + struct in6_addr *tun_src; +}; + +struct sel_arg_struct { + long unsigned int n; + fd_set *inp; + fd_set *outp; + fd_set *exp; + struct __kernel_old_timeval *tvp; +}; + +struct select_data { + struct dentry *start; + union { + long int found; + struct dentry *victim; + }; + struct list_head dispose; +}; + +struct semaphore { + raw_spinlock_t lock; + unsigned int count; + struct list_head wait_list; +}; + +struct semaphore_waiter { + struct list_head list; + struct task_struct *task; + bool up; +}; + +struct send_signal_irq_work { + struct irq_work irq_work; + struct task_struct *task; + u32 sig; + enum pid_type type; + bool has_siginfo; + struct kernel_siginfo info; +}; + +struct seq_operations { + void * (*start)(struct seq_file *, loff_t *); + void (*stop)(struct seq_file *, void *); + void * (*next)(struct seq_file *, void *, loff_t *); + int (*show)(struct seq_file *, void *); +}; + +struct seqcount_rwlock { + seqcount_t seqcount; +}; + +typedef struct seqcount_rwlock seqcount_rwlock_t; + +struct serial_icounter_struct { + int cts; + int dsr; + int rng; + int dcd; + int rx; + int tx; + int frame; + int overrun; + int parity; + int brk; + int buf_overrun; + int reserved[9]; +}; + +struct serial_struct { + int type; + int line; + unsigned int port; + int irq; + int flags; + int xmit_fifo_size; + int custom_divisor; + int baud_base; + short unsigned int close_delay; + char io_type; + char reserved_char[1]; + int hub6; + short unsigned int closing_wait; + short unsigned int closing_wait2; + unsigned char *iomem_base; + short unsigned int iomem_reg_shift; + unsigned int port_high; + long unsigned int iomap_base; +}; + +struct set_event_iter { + enum set_event_iter_type type; + union { + struct trace_event_file *file; + struct event_mod_load *event_mod; + }; +}; + +struct sg_table { + struct scatterlist *sgl; + unsigned int nents; + unsigned int orig_nents; +}; + +struct sg_append_table { + struct sg_table sgt; + struct scatterlist *prv; + unsigned int total_nents; +}; + +struct sg_page_iter { + struct scatterlist *sg; + unsigned int sg_pgoffset; + unsigned int __nents; + int __pg_advance; +}; + +struct sg_dma_page_iter { + struct sg_page_iter base; +}; + +struct sg_mapping_iter { + struct page *page; + void *addr; + size_t length; + size_t consumed; + struct sg_page_iter piter; + unsigned int __offset; + unsigned int __remaining; + unsigned int __flags; +}; + +struct shared_policy {}; + +struct shmem_falloc { + wait_queue_head_t *waitq; + long unsigned int start; + long unsigned int next; + long unsigned int nr_falloced; + long unsigned int nr_unswapped; +}; + +struct simple_xattrs { + struct rb_root rb_root; + rwlock_t lock; +}; + +struct shmem_inode_info { + spinlock_t lock; + unsigned int seals; + long unsigned int flags; + long unsigned int alloced; + long unsigned int swapped; + union { + struct offset_ctx dir_offsets; + struct { + struct list_head shrinklist; + struct list_head swaplist; + }; + }; + struct timespec64 i_crtime; + struct shared_policy policy; + struct simple_xattrs xattrs; + long unsigned int fallocend; + unsigned int fsflags; + atomic_t stop_eviction; + struct inode vfs_inode; +}; + +struct shmem_quota_limits { + qsize_t usrquota_bhardlimit; + qsize_t usrquota_ihardlimit; + qsize_t grpquota_bhardlimit; + qsize_t grpquota_ihardlimit; +}; + +struct shmem_options { + long long unsigned int blocks; + long long unsigned int inodes; + struct mempolicy *mpol; + kuid_t uid; + kgid_t gid; + umode_t mode; + bool full_inums; + int huge; + int seen; + bool noswap; + short unsigned int quota_types; + long: 32; + struct shmem_quota_limits qlimits; +}; + +struct shmem_sb_info { + long unsigned int max_blocks; + long: 32; + struct percpu_counter used_blocks; + long unsigned int max_inodes; + long unsigned int free_ispace; + raw_spinlock_t stat_lock; + umode_t mode; + unsigned char huge; + kuid_t uid; + kgid_t gid; + bool full_inums; + bool noswap; + ino_t next_ino; + ino_t *ino_batch; + struct mempolicy *mpol; + spinlock_t shrinklist_lock; + struct list_head shrinklist; + long unsigned int shrinklist_len; + struct shmem_quota_limits qlimits; +}; + +struct shrink_control { + gfp_t gfp_mask; + int nid; + long unsigned int nr_to_scan; + long unsigned int nr_scanned; + struct mem_cgroup *memcg; +}; + +struct shrinker { + long unsigned int (*count_objects)(struct shrinker *, struct shrink_control *); + long unsigned int (*scan_objects)(struct shrinker *, struct shrink_control *); + long int batch; + int seeks; + unsigned int flags; + refcount_t refcount; + struct completion done; + struct callback_head rcu; + void *private_data; + struct list_head list; + atomic_long_t *nr_deferred; +}; + +struct sighand_struct { + spinlock_t siglock; + refcount_t count; + wait_queue_head_t signalfd_wqh; + struct k_sigaction action[64]; +}; + +typedef struct siginfo siginfo_t; + +struct sigpending { + struct list_head list; + sigset_t signal; +}; + +struct task_io_accounting {}; + +struct tty_struct; + +struct signal_struct { + refcount_t sigcnt; + atomic_t live; + int nr_threads; + int quick_threads; + struct list_head thread_head; + wait_queue_head_t wait_chldexit; + struct task_struct *curr_target; + struct sigpending shared_pending; + struct hlist_head multiprocess; + int group_exit_code; + int notify_count; + struct task_struct *group_exec_task; + int group_stop_count; + unsigned int flags; + struct core_state *core_state; + unsigned int is_child_subreaper: 1; + unsigned int has_child_subreaper: 1; + struct posix_cputimers posix_cputimers; + struct pid *pids[4]; + struct pid *tty_old_pgrp; + int leader; + struct tty_struct *tty; + seqlock_t stats_lock; + long: 32; + u64 utime; + u64 stime; + u64 cutime; + u64 cstime; + u64 gtime; + u64 cgtime; + struct prev_cputime prev_cputime; + long unsigned int nvcsw; + long unsigned int nivcsw; + long unsigned int cnvcsw; + long unsigned int cnivcsw; + long unsigned int min_flt; + long unsigned int maj_flt; + long unsigned int cmin_flt; + long unsigned int cmaj_flt; + long unsigned int inblock; + long unsigned int oublock; + long unsigned int cinblock; + long unsigned int coublock; + long unsigned int maxrss; + long unsigned int cmaxrss; + struct task_io_accounting ioac; + long long unsigned int sum_sched_runtime; + struct rlimit rlim[16]; + bool oom_flag_origin; + short int oom_score_adj; + short int oom_score_adj_min; + struct mm_struct *oom_mm; + struct mutex cred_guard_mutex; + struct rw_semaphore exec_update_lock; +}; + +struct sigqueue { + struct list_head list; + int flags; + kernel_siginfo_t info; + struct ucounts *ucounts; +}; + +struct sigset_argpack { + sigset_t *p; + size_t size; +}; + +struct simple_attr { + int (*get)(void *, u64 *); + int (*set)(void *, u64); + char get_buf[24]; + char set_buf[24]; + void *data; + const char *fmt; + struct mutex mutex; +}; + +struct simple_pm_bus { + struct clk_bulk_data *clks; + int num_clks; +}; + +struct simple_transaction_argresp { + ssize_t size; + char data[0]; +}; + +struct simple_xattr { + struct rb_node rb_node; + char *name; + size_t size; + char value[0]; +}; + +struct sit_net { + struct ip_tunnel *tunnels_r_l[16]; + struct ip_tunnel *tunnels_r[16]; + struct ip_tunnel *tunnels_l[16]; + struct ip_tunnel *tunnels_wc[1]; + struct ip_tunnel **tunnels[4]; + struct net_device *fb_tunnel_dev; +}; + +struct sk_buff__safe_rcu_or_null { + struct sock *sk; +}; + +struct sk_buff_fclones { + struct sk_buff skb1; + struct sk_buff skb2; + refcount_t fclone_ref; + long: 32; +}; + +struct sk_filter { + refcount_t refcnt; + struct callback_head rcu; + struct bpf_prog *prog; +}; + +struct sk_psock_work_state { + u32 len; + u32 off; +}; + +struct sk_psock { + struct sock *sk; + struct sock *sk_redir; + u32 apply_bytes; + u32 cork_bytes; + u32 eval; + bool redir_ingress; + struct sk_msg *cork; + struct sk_psock_progs progs; + struct sk_buff_head ingress_skb; + struct list_head ingress_msg; + spinlock_t ingress_lock; + long unsigned int state; + struct list_head link; + spinlock_t link_lock; + refcount_t refcnt; + void (*saved_unhash)(struct sock *); + void (*saved_destroy)(struct sock *); + void (*saved_close)(struct sock *, long int); + void (*saved_write_space)(struct sock *); + void (*saved_data_ready)(struct sock *); + int (*psock_update_sk_prot)(struct sock *, struct sk_psock *, bool); + struct proto *sk_proto; + struct mutex work_mutex; + struct sk_psock_work_state work_state; + struct delayed_work work; + struct sock *sk_pair; + struct rcu_work rwork; +}; + +struct sk_psock_link { + struct list_head list; + struct bpf_map *map; + void *link_raw; +}; + +struct tls_msg { + u8 control; +}; + +struct sk_skb_cb { + unsigned char data[20]; + unsigned char pad[4]; + struct _strp_msg strp; + struct tls_msg tls; + u64 temp_reg; +}; + +struct skb_checksum_ops { + __wsum (*update)(const void *, int, __wsum); + __wsum (*combine)(__wsum, __wsum, int, int); +}; + +struct skb_frag { + netmem_ref netmem; + unsigned int len; + unsigned int offset; +}; + +typedef struct skb_frag skb_frag_t; + +struct skb_free_array { + unsigned int skb_count; + void *skb_array[16]; +}; + +struct skb_gso_cb { + union { + int mac_offset; + int data_offset; + }; + int encap_level; + __wsum csum; + __u16 csum_start; +}; + +struct skb_seq_state { + __u32 lower_offset; + __u32 upper_offset; + __u32 frag_idx; + __u32 stepped_offset; + struct sk_buff *root_skb; + struct sk_buff *cur_skb; + __u8 *frag_data; + __u32 frag_off; +}; + +struct skb_shared_hwtstamps { + union { + ktime_t hwtstamp; + void *netdev_data; + }; +}; + +struct xsk_tx_metadata_compl { + __u64 *tx_timestamp; +}; + +struct skb_shared_info { + __u8 flags; + __u8 meta_len; + __u8 nr_frags; + __u8 tx_flags; + short unsigned int gso_size; + short unsigned int gso_segs; + struct sk_buff *frag_list; + long: 32; + union { + struct skb_shared_hwtstamps hwtstamps; + struct xsk_tx_metadata_compl xsk_meta; + }; + unsigned int gso_type; + u32 tskey; + atomic_t dataref; + union { + struct { + u32 xdp_frags_size; + u32 xdp_frags_truesize; + }; + void *destructor_arg; + }; + skb_frag_t frags[17]; +}; + +struct slab { + long unsigned int __page_flags; + struct kmem_cache *slab_cache; + union { + struct { + union { + struct list_head slab_list; + }; + union { + struct { + void *freelist; + union { + long unsigned int counters; + struct { + unsigned int inuse: 16; + unsigned int objects: 15; + unsigned int frozen: 1; + }; + }; + }; + }; + }; + struct callback_head callback_head; + }; + unsigned int __page_type; + atomic_t __page_refcount; +}; + +struct smp_hotplug_thread { + struct task_struct **store; + struct list_head list; + int (*thread_should_run)(unsigned int); + void (*thread_fn)(unsigned int); + void (*create)(unsigned int); + void (*setup)(unsigned int); + void (*cleanup)(unsigned int, bool); + void (*park)(unsigned int); + void (*unpark)(unsigned int); + bool selfparking; + const char *thread_comm; +}; + +struct smpboot_thread_data { + unsigned int cpu; + unsigned int status; + struct smp_hotplug_thread *ht; +}; + +struct so_timestamping { + int flags; + int bind_phc; +}; + +struct sock_bh_locked { + struct sock *sock; + local_lock_t bh_lock; +}; + +struct sock_diag_handler { + struct module *owner; + __u8 family; + int (*dump)(struct sk_buff *, struct nlmsghdr *); + int (*get_info)(struct sk_buff *, struct sock *); + int (*destroy)(struct sk_buff *, struct nlmsghdr *); +}; + +struct sock_diag_inet_compat { + struct module *owner; + int (*fn)(struct sk_buff *, struct nlmsghdr *); +}; + +struct sock_diag_req { + __u8 sdiag_family; + __u8 sdiag_protocol; +}; + +struct sock_ee_data_rfc4884 { + __u16 len; + __u8 flags; + __u8 reserved; +}; + +struct sock_extended_err { + __u32 ee_errno; + __u8 ee_origin; + __u8 ee_type; + __u8 ee_code; + __u8 ee_pad; + __u32 ee_info; + union { + __u32 ee_data; + struct sock_ee_data_rfc4884 ee_rfc4884; + }; +}; + +struct sock_exterr_skb { + union { + struct inet_skb_parm h4; + struct inet6_skb_parm h6; + } header; + struct sock_extended_err ee; + u16 addr_offset; + __be16 port; + u8 opt_stats: 1; + u8 unused: 7; +}; + +struct sock_fprog { + short unsigned int len; + struct sock_filter *filter; +}; + +struct sock_fprog_kern { + u16 len; + struct sock_filter *filter; +}; + +struct sock_hash_seq_info { + struct bpf_map *map; + struct bpf_shtab *htab; + u32 bucket_id; +}; + +struct sock_map_seq_info { + struct bpf_map *map; + struct sock *sk; + u32 index; +}; + +struct sock_reuseport { + struct callback_head rcu; + u16 max_socks; + u16 num_socks; + u16 num_closed_socks; + u16 incoming_cpu; + unsigned int synq_overflow_ts; + unsigned int reuseport_id; + unsigned int bind_inany: 1; + unsigned int has_conns: 1; + struct bpf_prog *prog; + struct sock *socks[0]; +}; + +struct sock_skb_cb { + u32 dropcount; +}; + +struct sock_txtime { + __kernel_clockid_t clockid; + __u32 flags; +}; + +struct sockaddr_in { + __kernel_sa_family_t sin_family; + __be16 sin_port; + struct in_addr sin_addr; + unsigned char __pad[8]; +}; + +struct sockaddr_nl { + __kernel_sa_family_t nl_family; + short unsigned int nl_pad; + __u32 nl_pid; + __u32 nl_groups; +}; + +struct sockaddr_un { + __kernel_sa_family_t sun_family; + char sun_path[108]; +}; + +struct socket_wq { + wait_queue_head_t wait; + struct fasync_struct *fasync_list; + long unsigned int flags; + struct callback_head rcu; +}; + +struct socket { + socket_state state; + short int type; + long unsigned int flags; + struct file *file; + struct sock *sk; + const struct proto_ops *ops; + struct socket_wq wq; +}; + +struct socket__safe_trusted_or_null { + struct sock *sk; +}; + +struct socket_alloc { + struct socket socket; + struct inode vfs_inode; +}; + +struct sockmap_link { + struct bpf_link link; + struct bpf_map *map; + enum bpf_attach_type attach_type; +}; + +struct softirq_action { + void (*action)(void); +}; + +struct softnet_data { + struct list_head poll_list; + struct sk_buff_head process_queue; + local_lock_t process_queue_bh_lock; + unsigned int processed; + unsigned int time_squeeze; + unsigned int received_rps; + bool in_net_rx_action; + bool in_napi_threaded_poll; + struct Qdisc *output_queue; + struct Qdisc **output_queue_tailp; + struct sk_buff *completion_queue; + struct netdev_xmit xmit; + struct sk_buff_head input_pkt_queue; + struct napi_struct backlog; + atomic_t dropped; + spinlock_t defer_lock; + int defer_count; + int defer_ipi_scheduled; + struct sk_buff *defer_list; + long: 32; + long: 32; + call_single_data_t defer_csd; +}; + +struct software_node { + const char *name; + const struct software_node *parent; + const struct property_entry *properties; +}; + +struct software_node_ref_args { + const struct software_node *node; + unsigned int nargs; + u64 args[8]; +}; + +struct space_resv { + __s16 l_type; + __s16 l_whence; + long: 32; + __s64 l_start; + __s64 l_len; + __s32 l_sysid; + __u32 l_pid; + __s32 l_pad[4]; +}; + +struct splice_desc { + size_t total_len; + unsigned int len; + unsigned int flags; + union { + void *userptr; + struct file *file; + void *data; + } u; + void (*splice_eof)(struct splice_desc *); + long: 32; + loff_t pos; + loff_t *opos; + size_t num_spliced; + bool need_wakeup; + long: 32; +}; + +struct splice_pipe_desc { + struct page **pages; + struct partial_page *partial; + int nr_pages; + unsigned int nr_pages_max; + const struct pipe_buf_operations *ops; + void (*spd_release)(struct splice_pipe_desc *, unsigned int); +}; + +struct sr6_tlv { + __u8 type; + __u8 len; + __u8 data[0]; +}; + +struct stack { + u32 irq[4]; + u32 abt[4]; + u32 und[4]; + u32 fiq[4]; +}; + +struct stack_entry { + struct trace_entry ent; + int size; + long unsigned int caller[0]; +}; + +struct stack_map_bucket { + struct pcpu_freelist_node fnode; + u32 hash; + u32 nr; + long: 32; + u64 data[0]; +}; + +struct stackframe { + long unsigned int fp; + long unsigned int sp; + long unsigned int lr; + long unsigned int pc; + long unsigned int *lr_addr; + struct llist_node *kr_cur; + struct task_struct *tsk; +}; + +struct stacktrace_cookie { + long unsigned int *store; + unsigned int size; + unsigned int skip; + unsigned int len; +}; + +struct stashed_operations { + void (*put_data)(void *); + int (*init_inode)(struct inode *, void *); +}; + +struct stat { + long unsigned int st_dev; + long unsigned int st_ino; + short unsigned int st_mode; + short unsigned int st_nlink; + short unsigned int st_uid; + short unsigned int st_gid; + long unsigned int st_rdev; + long unsigned int st_size; + long unsigned int st_blksize; + long unsigned int st_blocks; + long unsigned int st_atime; + long unsigned int st_atime_nsec; + long unsigned int st_mtime; + long unsigned int st_mtime_nsec; + long unsigned int st_ctime; + long unsigned int st_ctime_nsec; + long unsigned int __unused4; + long unsigned int __unused5; +}; + +struct stat64 { + long long unsigned int st_dev; + unsigned char __pad0[4]; + long unsigned int __st_ino; + unsigned int st_mode; + unsigned int st_nlink; + long unsigned int st_uid; + long unsigned int st_gid; + long long unsigned int st_rdev; + unsigned char __pad3[4]; + long: 32; + long long int st_size; + long unsigned int st_blksize; + long: 32; + long long unsigned int st_blocks; + long unsigned int st_atime; + long unsigned int st_atime_nsec; + long unsigned int st_mtime; + long unsigned int st_mtime_nsec; + long unsigned int st_ctime; + long unsigned int st_ctime_nsec; + long long unsigned int st_ino; +}; + +struct stat_node { + struct rb_node node; + void *stat; +}; + +struct tracer_stat; + +struct stat_session { + struct list_head session_list; + struct tracer_stat *ts; + struct rb_root stat_root; + struct mutex stat_mutex; + struct dentry *file; +}; + +struct statfs { + __u32 f_type; + __u32 f_bsize; + __u32 f_blocks; + __u32 f_bfree; + __u32 f_bavail; + __u32 f_files; + __u32 f_ffree; + __kernel_fsid_t f_fsid; + __u32 f_namelen; + __u32 f_frsize; + __u32 f_flags; + __u32 f_spare[4]; +}; + +struct statfs64 { + __u32 f_type; + __u32 f_bsize; + __u64 f_blocks; + __u64 f_bfree; + __u64 f_bavail; + __u64 f_files; + __u64 f_ffree; + __kernel_fsid_t f_fsid; + __u32 f_namelen; + __u32 f_frsize; + __u32 f_flags; + __u32 f_spare[4]; +}; + +struct static_call_key { + void *func; +}; + +struct static_key { + atomic_t enabled; +}; + +struct static_key_false { + struct static_key key; +}; + +struct static_key_false_deferred { + struct static_key_false key; +}; + +struct static_key_true { + struct static_key key; +}; + +struct vm_struct { + struct vm_struct *next; + void *addr; + long unsigned int size; + long unsigned int flags; + struct page **pages; + unsigned int nr_pages; + phys_addr_t phys_addr; + const void *caller; +}; + +struct static_vm { + struct vm_struct vm; + struct list_head list; +}; + +struct stats_reply_data { + struct ethnl_reply_data base; + long: 32; + union { + struct { + struct ethtool_eth_phy_stats phy_stats; + struct ethtool_eth_mac_stats mac_stats; + struct ethtool_eth_ctrl_stats ctrl_stats; + struct ethtool_rmon_stats rmon_stats; + struct ethtool_phy_stats phydev_stats; + }; + struct { + struct ethtool_eth_phy_stats phy_stats; + struct ethtool_eth_mac_stats mac_stats; + struct ethtool_eth_ctrl_stats ctrl_stats; + struct ethtool_rmon_stats rmon_stats; + struct ethtool_phy_stats phydev_stats; + } stats; + }; + const struct ethtool_rmon_hist_range *rmon_ranges; + long: 32; +}; + +struct stats_req_info { + struct ethnl_req_info base; + long unsigned int stat_mask[1]; + enum ethtool_mac_stats_src src; +}; + +struct statx_timestamp { + __s64 tv_sec; + __u32 tv_nsec; + __s32 __reserved; +}; + +struct statx { + __u32 stx_mask; + __u32 stx_blksize; + __u64 stx_attributes; + __u32 stx_nlink; + __u32 stx_uid; + __u32 stx_gid; + __u16 stx_mode; + __u16 __spare0[1]; + __u64 stx_ino; + __u64 stx_size; + __u64 stx_blocks; + __u64 stx_attributes_mask; + struct statx_timestamp stx_atime; + struct statx_timestamp stx_btime; + struct statx_timestamp stx_ctime; + struct statx_timestamp stx_mtime; + __u32 stx_rdev_major; + __u32 stx_rdev_minor; + __u32 stx_dev_major; + __u32 stx_dev_minor; + __u64 stx_mnt_id; + __u32 stx_dio_mem_align; + __u32 stx_dio_offset_align; + __u64 stx_subvol; + __u32 stx_atomic_write_unit_min; + __u32 stx_atomic_write_unit_max; + __u32 stx_atomic_write_segments_max; + __u32 stx_dio_read_offset_align; + __u64 __spare3[9]; +}; + +struct stop_event_data { + struct perf_event *event; + unsigned int restart; +}; + +struct strarray { + char **array; + size_t n; +}; + +struct strset_info { + bool per_dev; + bool free_strings; + unsigned int count; + const char (*strings)[32]; +}; + +struct strset_reply_data { + struct ethnl_reply_data base; + struct strset_info sets[23]; +}; + +struct strset_req_info { + struct ethnl_req_info base; + u32 req_ids; + bool counts_only; +}; + +struct subprocess_info { + struct work_struct work; + struct completion *complete; + const char *path; + char **argv; + char **envp; + int wait; + int retval; + int (*init)(struct subprocess_info *, struct cred *); + void (*cleanup)(struct subprocess_info *); + void *data; +}; + +struct subsys_dev_iter { + struct klist_iter ki; + const struct device_type *type; +}; + +struct subsys_interface { + const char *name; + const struct bus_type *subsys; + struct list_head node; + int (*add_dev)(struct device *, struct subsys_interface *); + void (*remove_dev)(struct device *, struct subsys_interface *); +}; + +struct subsys_private { + struct kset subsys; + struct kset *devices_kset; + struct list_head interfaces; + struct mutex mutex; + struct kset *drivers_kset; + struct klist klist_devices; + struct klist klist_drivers; + struct blocking_notifier_head bus_notifier; + unsigned int drivers_autoprobe: 1; + const struct bus_type *bus; + struct device *dev_root; + struct kset glue_dirs; + const struct class *class; + struct lock_class_key lock_key; +}; + +struct mtd_info; + +struct super_block { + struct list_head s_list; + dev_t s_dev; + unsigned char s_blocksize_bits; + long unsigned int s_blocksize; + long: 32; + loff_t s_maxbytes; + struct file_system_type *s_type; + const struct super_operations *s_op; + const struct dquot_operations *dq_op; + const struct quotactl_ops *s_qcop; + const struct export_operations *s_export_op; + long unsigned int s_flags; + long unsigned int s_iflags; + long unsigned int s_magic; + struct dentry *s_root; + struct rw_semaphore s_umount; + int s_count; + atomic_t s_active; + const struct xattr_handler * const *s_xattr; + struct hlist_bl_head s_roots; + struct list_head s_mounts; + struct block_device *s_bdev; + struct file *s_bdev_file; + struct backing_dev_info *s_bdi; + struct mtd_info *s_mtd; + struct hlist_node s_instances; + unsigned int s_quota_types; + struct quota_info s_dquot; + struct sb_writers s_writers; + void *s_fs_info; + u32 s_time_gran; + time64_t s_time_min; + time64_t s_time_max; + char s_id[32]; + uuid_t s_uuid; + u8 s_uuid_len; + char s_sysfs_name[37]; + unsigned int s_max_links; + struct mutex s_vfs_rename_mutex; + const char *s_subtype; + const struct dentry_operations *s_d_op; + struct shrinker *s_shrink; + atomic_long_t s_remove_count; + int s_readonly_remount; + errseq_t s_wb_err; + struct workqueue_struct *s_dio_done_wq; + struct hlist_head s_pins; + struct user_namespace *s_user_ns; + struct list_lru s_dentry_lru; + struct list_lru s_inode_lru; + struct callback_head rcu; + struct work_struct destroy_work; + struct mutex s_sync_lock; + int s_stack_depth; + spinlock_t s_inode_list_lock; + struct list_head s_inodes; + spinlock_t s_inode_wblist_lock; + struct list_head s_inodes_wb; + long: 32; +}; + +struct super_operations { + struct inode * (*alloc_inode)(struct super_block *); + void (*destroy_inode)(struct inode *); + void (*free_inode)(struct inode *); + void (*dirty_inode)(struct inode *, int); + int (*write_inode)(struct inode *, struct writeback_control *); + int (*drop_inode)(struct inode *); + void (*evict_inode)(struct inode *); + void (*put_super)(struct super_block *); + int (*sync_fs)(struct super_block *, int); + int (*freeze_super)(struct super_block *, enum freeze_holder); + int (*freeze_fs)(struct super_block *); + int (*thaw_super)(struct super_block *, enum freeze_holder); + int (*unfreeze_fs)(struct super_block *); + int (*statfs)(struct dentry *, struct kstatfs *); + int (*remount_fs)(struct super_block *, int *, char *); + void (*umount_begin)(struct super_block *); + int (*show_options)(struct seq_file *, struct dentry *); + int (*show_devname)(struct seq_file *, struct dentry *); + int (*show_path)(struct seq_file *, struct dentry *); + int (*show_stats)(struct seq_file *, struct dentry *); + long int (*nr_cached_objects)(struct super_block *, struct shrink_control *); + long int (*free_cached_objects)(struct super_block *, struct shrink_control *); + void (*shutdown)(struct super_block *); +}; + +struct supplier_bindings { + struct device_node * (*parse_prop)(struct device_node *, const char *, int); + struct device_node * (*get_con_dev)(struct device_node *); + bool optional; + u8 fwlink_flags; +}; + +struct svc_pt_regs { + struct pt_regs regs; + u32 dacr; + u32 ttbcr; +}; + +struct swait_queue { + struct task_struct *task; + struct list_head task_list; +}; + +struct swap_cluster_info { + spinlock_t lock; + u16 count; + u8 flags; + u8 order; + struct list_head list; +}; + +struct swap_info_struct { + struct percpu_ref users; + long unsigned int flags; + short int prio; + struct plist_node list; + signed char type; + unsigned int max; + unsigned char *swap_map; + long unsigned int *zeromap; + struct swap_cluster_info *cluster_info; + struct list_head free_clusters; + struct list_head full_clusters; + struct list_head nonfull_clusters[1]; + struct list_head frag_clusters[1]; + atomic_long_t frag_cluster_nr[1]; + unsigned int pages; + atomic_long_t inuse_pages; + struct percpu_cluster *percpu_cluster; + struct percpu_cluster *global_cluster; + spinlock_t global_cluster_lock; + struct rb_root swap_extent_root; + struct block_device *bdev; + struct file *swap_file; + struct completion comp; + spinlock_t lock; + spinlock_t cont_lock; + struct work_struct discard_work; + struct work_struct reclaim_work; + struct list_head discard_clusters; + struct plist_node avail_lists[0]; +}; + +struct swevent_hlist { + struct hlist_head heads[256]; + struct callback_head callback_head; +}; + +struct swevent_htable { + struct swevent_hlist *swevent_hlist; + struct mutex hlist_mutex; + int hlist_refcount; +}; + +struct swnode { + struct kobject kobj; + struct fwnode_handle fwnode; + const struct software_node *node; + int id; + struct ida child_ids; + struct list_head entry; + struct list_head children; + struct swnode *parent; + unsigned int allocated: 1; + unsigned int managed: 1; +}; + +struct sym_count_ctx { + unsigned int count; + const char *name; +}; + +struct symsearch { + const struct kernel_symbol *start; + const struct kernel_symbol *stop; + const u32 *crcs; + enum mod_license license; +}; + +struct sys_off_data { + int mode; + void *cb_data; + const char *cmd; + struct device *dev; +}; + +struct sys_off_handler { + struct notifier_block nb; + int (*sys_off_cb)(struct sys_off_data *); + void *cb_data; + enum sys_off_mode mode; + bool blocking; + void *list; + struct device *dev; +}; + +struct syscall_info { + __u64 sp; + struct seccomp_data data; +}; + +struct syscall_user_dispatch {}; + +struct syscore_ops { + struct list_head node; + int (*suspend)(void); + void (*resume)(void); + void (*shutdown)(void); +}; + +struct sysfs_ops { + ssize_t (*show)(struct kobject *, struct attribute *, char *); + ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t); +}; + +struct sysinfo { + __kernel_long_t uptime; + __kernel_ulong_t loads[3]; + __kernel_ulong_t totalram; + __kernel_ulong_t freeram; + __kernel_ulong_t sharedram; + __kernel_ulong_t bufferram; + __kernel_ulong_t totalswap; + __kernel_ulong_t freeswap; + __u16 procs; + __u16 pad; + __kernel_ulong_t totalhigh; + __kernel_ulong_t freehigh; + __u32 mem_unit; + char _f[8]; +}; + +struct system_counterval_t { + u64 cycles; + enum clocksource_ids cs_id; + bool use_nsecs; +}; + +struct system_device_crosststamp { + ktime_t device; + ktime_t sys_realtime; + ktime_t sys_monoraw; +}; + +struct system_time_snapshot { + u64 cycles; + ktime_t real; + ktime_t boot; + ktime_t raw; + enum clocksource_ids cs_id; + unsigned int clock_was_set_seq; + u8 cs_was_changed_seq; + long: 32; +}; + +struct tag_header { + __u32 size; + __u32 tag; +}; + +struct tag_core { + __u32 flags; + __u32 pagesize; + __u32 rootdev; +}; + +struct tag_mem32 { + __u32 size; + __u32 start; +}; + +struct tag_videotext { + __u8 x; + __u8 y; + __u16 video_page; + __u8 video_mode; + __u8 video_cols; + __u16 video_ega_bx; + __u8 video_lines; + __u8 video_isvga; + __u16 video_points; +}; + +struct tag_ramdisk { + __u32 flags; + __u32 size; + __u32 start; +}; + +struct tag_initrd { + __u32 start; + __u32 size; +}; + +struct tag_serialnr { + __u32 low; + __u32 high; +}; + +struct tag_revision { + __u32 rev; +}; + +struct tag_videolfb { + __u16 lfb_width; + __u16 lfb_height; + __u16 lfb_depth; + __u16 lfb_linelength; + __u32 lfb_base; + __u32 lfb_size; + __u8 red_size; + __u8 red_pos; + __u8 green_size; + __u8 green_pos; + __u8 blue_size; + __u8 blue_pos; + __u8 rsvd_size; + __u8 rsvd_pos; +}; + +struct tag_cmdline { + char cmdline[1]; +}; + +struct tag_acorn { + __u32 memc_control_reg; + __u32 vram_pages; + __u8 sounddefault; + __u8 adfsdrives; +}; + +struct tag_memclk { + __u32 fmemclk; +}; + +struct tag { + struct tag_header hdr; + union { + struct tag_core core; + struct tag_mem32 mem; + struct tag_videotext videotext; + struct tag_ramdisk ramdisk; + struct tag_initrd initrd; + struct tag_serialnr serialnr; + struct tag_revision revision; + struct tag_videolfb videolfb; + struct tag_cmdline cmdline; + struct tag_acorn acorn; + struct tag_memclk memclk; + } u; +}; + +struct taint_flag { + char c_true; + char c_false; + bool module; + const char *desc; +}; + +struct task_cputime { + u64 stime; + u64 utime; + long long unsigned int sum_exec_runtime; +}; + +struct task_cputime_atomic { + atomic64_t utime; + atomic64_t stime; + atomic64_t sum_exec_runtime; +}; + +typedef struct task_struct *class_find_get_task_t; + +typedef struct task_struct *class_task_lock_t; + +struct vfp_hard_struct { + __u64 fpregs[16]; + __u32 fpexc; + __u32 fpscr; + __u32 fpinst; + __u32 fpinst2; +}; + +union vfp_state { + struct vfp_hard_struct hard; +}; + +struct thread_info { + long unsigned int flags; + int preempt_count; + __u32 cpu; + __u32 cpu_domain; + struct cpu_context_save cpu_context; + __u32 abi_syscall; + long unsigned int tp_value[2]; + long: 32; + union fp_state fpstate; + long: 32; + union vfp_state vfpstate; +}; + +struct wake_q_node { + struct wake_q_node *next; +}; + +struct tlbflush_unmap_batch {}; + +struct thread_struct { + long unsigned int address; + long unsigned int trap_no; + long unsigned int error_code; + struct debug_info debug; +}; + +struct uprobe_task; + +struct task_struct { + struct thread_info thread_info; + unsigned int __state; + unsigned int saved_state; + void *stack; + refcount_t usage; + unsigned int flags; + unsigned int ptrace; + int on_rq; + int prio; + int static_prio; + int normal_prio; + unsigned int rt_priority; + long: 32; + struct sched_entity se; + struct sched_rt_entity rt; + long: 32; + struct sched_dl_entity dl; + struct sched_dl_entity *dl_server; + const struct sched_class *sched_class; + struct sched_statistics stats; + unsigned int policy; + long unsigned int max_allowed_capacity; + int nr_cpus_allowed; + const cpumask_t *cpus_ptr; + cpumask_t *user_cpus_ptr; + cpumask_t cpus_mask; + void *migration_pending; + short unsigned int migration_flags; + int trc_reader_nesting; + int trc_ipi_to_cpu; + union rcu_special trc_reader_special; + struct list_head trc_holdout_list; + struct list_head trc_blkd_node; + int trc_blkd_cpu; + struct sched_info sched_info; + struct list_head tasks; + struct mm_struct *mm; + struct mm_struct *active_mm; + struct address_space *faults_disabled_mapping; + int exit_state; + int exit_code; + int exit_signal; + int pdeath_signal; + long unsigned int jobctl; + unsigned int personality; + unsigned int sched_reset_on_fork: 1; + unsigned int sched_contributes_to_load: 1; + unsigned int sched_migrated: 1; + unsigned int sched_task_hot: 1; + long: 28; + unsigned int sched_remote_wakeup: 1; + unsigned int in_execve: 1; + unsigned int in_iowait: 1; + long unsigned int atomic_flags; + struct restart_block restart_block; + pid_t pid; + pid_t tgid; + struct task_struct *real_parent; + struct task_struct *parent; + struct list_head children; + struct list_head sibling; + struct task_struct *group_leader; + struct list_head ptraced; + struct list_head ptrace_entry; + struct pid *thread_pid; + struct hlist_node pid_links[4]; + struct list_head thread_node; + struct completion *vfork_done; + int *set_child_tid; + int *clear_child_tid; + void *worker_private; + u64 utime; + u64 stime; + u64 gtime; + struct prev_cputime prev_cputime; + long unsigned int nvcsw; + long unsigned int nivcsw; + u64 start_time; + u64 start_boottime; + long unsigned int min_flt; + long unsigned int maj_flt; + struct posix_cputimers posix_cputimers; + const struct cred *ptracer_cred; + const struct cred *real_cred; + const struct cred *cred; + char comm[16]; + struct nameidata *nameidata; + struct fs_struct *fs; + struct files_struct *files; + struct nsproxy *nsproxy; + struct signal_struct *signal; + struct sighand_struct *sighand; + sigset_t blocked; + sigset_t real_blocked; + sigset_t saved_sigmask; + struct sigpending pending; + long unsigned int sas_ss_sp; + size_t sas_ss_size; + unsigned int sas_ss_flags; + struct callback_head *task_works; + struct seccomp seccomp; + struct syscall_user_dispatch syscall_dispatch; + long: 32; + u64 parent_exec_id; + u64 self_exec_id; + spinlock_t alloc_lock; + raw_spinlock_t pi_lock; + struct wake_q_node wake_q; + void *journal_info; + struct bio_list *bio_list; + struct blk_plug *plug; + struct reclaim_state *reclaim_state; + struct io_context *io_context; + struct capture_control *capture_control; + long unsigned int ptrace_message; + kernel_siginfo_t *last_siginfo; + struct task_io_accounting ioac; + u8 perf_recursion[4]; + struct perf_event_context *perf_event_ctxp; + struct mutex perf_event_mutex; + struct list_head perf_event_list; + struct tlbflush_unmap_batch tlb_ubc; + struct pipe_inode_info *splice_pipe; + struct page_frag task_frag; + int nr_dirtied; + int nr_dirtied_pause; + long unsigned int dirty_paused_when; + u64 timer_slack_ns; + u64 default_timer_slack_ns; + int curr_ret_stack; + int curr_ret_depth; + long unsigned int *ret_stack; + long: 32; + long long unsigned int ftrace_timestamp; + long long unsigned int ftrace_sleeptime; + atomic_t trace_overrun; + atomic_t tracing_graph_pause; + long unsigned int trace_recursion; + struct uprobe_task *utask; + struct kmap_ctrl kmap_ctrl; + struct callback_head rcu; + refcount_t rcu_users; + int pagefault_disabled; + struct task_struct *oom_reaper_list; + struct timer_list oom_reaper_timer; + struct vm_struct *stack_vm_area; + refcount_t stack_refcount; + struct bpf_local_storage *bpf_storage; + struct bpf_run_ctx *bpf_ctx; + struct bpf_net_context *bpf_net_context; + struct llist_head kretprobe_instances; + struct thread_struct thread; + long: 32; +}; + +struct task_struct__safe_rcu { + const cpumask_t *cpus_ptr; + struct css_set *cgroups; + struct task_struct *real_parent; + struct task_struct *group_leader; +}; + +struct tasklet_struct; + +struct tasklet_head { + struct tasklet_struct *head; + struct tasklet_struct **tail; +}; + +struct tasklet_struct { + struct tasklet_struct *next; + long unsigned int state; + atomic_t count; + bool use_callback; + union { + void (*func)(long unsigned int); + void (*callback)(struct tasklet_struct *); + }; + long unsigned int data; +}; + +struct tc_mq_opt_offload_graft_params { + long unsigned int queue; + u32 child_handle; +}; + +struct tc_qopt_offload_stats { + struct gnet_stats_basic_sync *bstats; + struct gnet_stats_queue *qstats; +}; + +struct tc_mq_qopt_offload { + enum tc_mq_command command; + u32 handle; + union { + struct tc_qopt_offload_stats stats; + struct tc_mq_opt_offload_graft_params graft_params; + }; +}; + +struct tc_prio_qopt { + int bands; + __u8 priomap[16]; +}; + +struct tc_ratespec { + unsigned char cell_log; + __u8 linklayer; + short unsigned int overhead; + short int cell_align; + short unsigned int mpu; + __u32 rate; +}; + +struct tc_skb_cb { + struct qdisc_skb_cb qdisc_cb; + u32 drop_reason; + u16 zone; + u16 mru; + u8 post_ct: 1; + u8 post_ct_snat: 1; + u8 post_ct_dnat: 1; +}; + +struct tcf_chain; + +struct tcf_block { + struct xarray ports; + struct mutex lock; + struct list_head chain_list; + u32 index; + u32 classid; + refcount_t refcnt; + struct net *net; + struct Qdisc *q; + struct rw_semaphore cb_lock; + struct flow_block flow_block; + struct list_head owner_list; + bool keep_dst; + atomic_t useswcnt; + atomic_t offloadcnt; + unsigned int nooffloaddevcnt; + unsigned int lockeddevcnt; + struct { + struct tcf_chain *chain; + struct list_head filter_chain_list; + } chain0; + struct callback_head rcu; + struct hlist_head proto_destroy_ht[128]; + struct mutex proto_destroy_lock; +}; + +struct tcf_proto_ops; + +struct tcf_chain { + struct mutex filter_chain_lock; + struct tcf_proto *filter_chain; + struct list_head list; + struct tcf_block *block; + u32 index; + unsigned int refcnt; + unsigned int action_refcnt; + bool explicitly_created; + bool flushing; + const struct tcf_proto_ops *tmplt_ops; + void *tmplt_priv; + struct callback_head rcu; +}; + +struct tcf_exts { + int action; + int police; +}; + +struct tcf_result; + +struct tcf_proto { + struct tcf_proto *next; + void *root; + int (*classify)(struct sk_buff *, const struct tcf_proto *, struct tcf_result *); + __be16 protocol; + u32 prio; + void *data; + const struct tcf_proto_ops *ops; + struct tcf_chain *chain; + spinlock_t lock; + bool deleting; + bool counted; + bool usesw; + refcount_t refcnt; + struct callback_head rcu; + struct hlist_node destroy_ht_node; +}; + +struct tcf_walker; + +struct tcf_proto_ops { + struct list_head head; + char kind[16]; + int (*classify)(struct sk_buff *, const struct tcf_proto *, struct tcf_result *); + int (*init)(struct tcf_proto *); + void (*destroy)(struct tcf_proto *, bool, struct netlink_ext_ack *); + void * (*get)(struct tcf_proto *, u32); + void (*put)(struct tcf_proto *, void *); + int (*change)(struct net *, struct sk_buff *, struct tcf_proto *, long unsigned int, u32, struct nlattr **, void **, u32, struct netlink_ext_ack *); + int (*delete)(struct tcf_proto *, void *, bool *, bool, struct netlink_ext_ack *); + bool (*delete_empty)(struct tcf_proto *); + void (*walk)(struct tcf_proto *, struct tcf_walker *, bool); + int (*reoffload)(struct tcf_proto *, bool, flow_setup_cb_t *, void *, struct netlink_ext_ack *); + void (*hw_add)(struct tcf_proto *, void *); + void (*hw_del)(struct tcf_proto *, void *); + void (*bind_class)(void *, u32, long unsigned int, void *, long unsigned int); + void * (*tmplt_create)(struct net *, struct tcf_chain *, struct nlattr **, struct netlink_ext_ack *); + void (*tmplt_destroy)(void *); + void (*tmplt_reoffload)(struct tcf_chain *, bool, flow_setup_cb_t *, void *); + struct tcf_exts * (*get_exts)(const struct tcf_proto *, u32); + int (*dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool); + int (*terse_dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool); + int (*tmplt_dump)(struct sk_buff *, struct net *, void *); + struct module *owner; + int flags; +}; + +struct tcf_result { + union { + struct { + long unsigned int class; + u32 classid; + }; + const struct tcf_proto *goto_tp; + }; +}; + +struct tcf_walker { + int stop; + int skip; + int count; + bool nonempty; + long unsigned int cookie; + int (*fn)(struct tcf_proto *, void *, struct tcf_walker *); +}; + +struct tcmsg { + unsigned char tcm_family; + unsigned char tcm__pad1; + short unsigned int tcm__pad2; + int tcm_ifindex; + __u32 tcm_handle; + __u32 tcm_parent; + __u32 tcm_info; +}; + +struct tcp_options_received { + int ts_recent_stamp; + u32 ts_recent; + u32 rcv_tsval; + u32 rcv_tsecr; + u16 saw_tstamp: 1; + u16 tstamp_ok: 1; + u16 dsack: 1; + u16 wscale_ok: 1; + u16 sack_ok: 3; + u16 smc_ok: 1; + u16 snd_wscale: 4; + u16 rcv_wscale: 4; + u8 saw_unknown: 1; + u8 unused: 7; + u8 num_sacks; + u16 user_mss; + u16 mss_clamp; +}; + +struct tcp_rack { + u64 mstamp; + u32 rtt_us; + u32 end_seq; + u32 last_delivered; + u8 reo_wnd_steps; + u8 reo_wnd_persist: 5; + u8 dsack_seen: 1; + u8 advanced: 1; +}; + +struct tcp_sack_block { + u32 start_seq; + u32 end_seq; +}; + +struct tcp_fastopen_request; + +struct tcp_sock { + struct inet_connection_sock inet_conn; + __u8 __cacheline_group_begin__tcp_sock_read_tx[0]; + u32 max_window; + u32 rcv_ssthresh; + u32 reordering; + u32 notsent_lowat; + u16 gso_segs; + struct sk_buff *lost_skb_hint; + struct sk_buff *retransmit_skb_hint; + __u8 __cacheline_group_end__tcp_sock_read_tx[0]; + __u8 __cacheline_group_begin__tcp_sock_read_txrx[0]; + u32 tsoffset; + u32 snd_wnd; + u32 mss_cache; + u32 snd_cwnd; + u32 prr_out; + u32 lost_out; + u32 sacked_out; + u16 tcp_header_len; + u8 scaling_ratio; + u8 chrono_type: 2; + u8 repair: 1; + u8 tcp_usec_ts: 1; + u8 is_sack_reneg: 1; + u8 is_cwnd_limited: 1; + __u8 __cacheline_group_end__tcp_sock_read_txrx[0]; + __u8 __cacheline_group_begin__tcp_sock_read_rx[0]; + u32 copied_seq; + u32 rcv_tstamp; + u32 snd_wl1; + u32 tlp_high_seq; + u32 rttvar_us; + u32 retrans_out; + u16 advmss; + u16 urg_data; + u32 lost; + struct minmax rtt_min; + struct rb_root out_of_order_queue; + u32 snd_ssthresh; + u8 recvmsg_inq: 1; + __u8 __cacheline_group_end__tcp_sock_read_rx[0]; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + __u8 __cacheline_group_begin__tcp_sock_write_tx[0]; + u32 segs_out; + u32 data_segs_out; + u64 bytes_sent; + u32 snd_sml; + u32 chrono_start; + u32 chrono_stat[3]; + u32 write_seq; + u32 pushed_seq; + u32 lsndtime; + u32 mdev_us; + u32 rtt_seq; + u64 tcp_wstamp_ns; + struct list_head tsorted_sent_queue; + struct sk_buff *highest_sack; + u8 ecn_flags; + __u8 __cacheline_group_end__tcp_sock_write_tx[0]; + __u8 __cacheline_group_begin__tcp_sock_write_txrx[0]; + __be32 pred_flags; + long: 32; + u64 tcp_clock_cache; + u64 tcp_mstamp; + u32 rcv_nxt; + u32 snd_nxt; + u32 snd_una; + u32 window_clamp; + u32 srtt_us; + u32 packets_out; + u32 snd_up; + u32 delivered; + u32 delivered_ce; + u32 app_limited; + u32 rcv_wnd; + struct tcp_options_received rx_opt; + u8 nonagle: 4; + u8 rate_app_limited: 1; + __u8 __cacheline_group_end__tcp_sock_write_txrx[0]; + long: 0; + __u8 __cacheline_group_begin__tcp_sock_write_rx[0]; + u64 bytes_received; + u32 segs_in; + u32 data_segs_in; + u32 rcv_wup; + u32 max_packets_out; + u32 cwnd_usage_seq; + u32 rate_delivered; + u32 rate_interval_us; + u32 rcv_rtt_last_tsecr; + u64 first_tx_mstamp; + u64 delivered_mstamp; + u64 bytes_acked; + struct { + u32 rtt_us; + u32 seq; + u64 time; + } rcv_rtt_est; + struct { + u32 space; + u32 seq; + u64 time; + } rcvq_space; + __u8 __cacheline_group_end__tcp_sock_write_rx[0]; + u32 dsack_dups; + u32 compressed_ack_rcv_nxt; + struct list_head tsq_node; + struct tcp_rack rack; + u8 compressed_ack; + u8 dup_ack_counter: 2; + u8 tlp_retrans: 1; + u8 unused: 5; + u8 thin_lto: 1; + u8 fastopen_connect: 1; + u8 fastopen_no_cookie: 1; + u8 fastopen_client_fail: 2; + u8 frto: 1; + u8 repair_queue; + u8 save_syn: 2; + u8 syn_data: 1; + u8 syn_fastopen: 1; + u8 syn_fastopen_exp: 1; + u8 syn_fastopen_ch: 1; + u8 syn_data_acked: 1; + u8 keepalive_probes; + u32 tcp_tx_delay; + u32 mdev_max_us; + u32 reord_seen; + u32 snd_cwnd_cnt; + u32 snd_cwnd_clamp; + u32 snd_cwnd_used; + u32 snd_cwnd_stamp; + u32 prior_cwnd; + u32 prr_delivered; + u32 last_oow_ack_time; + struct hrtimer pacing_timer; + struct hrtimer compressed_ack_timer; + struct sk_buff *ooo_last_skb; + struct tcp_sack_block duplicate_sack[1]; + struct tcp_sack_block selective_acks[4]; + struct tcp_sack_block recv_sack_cache[4]; + int lost_cnt_hint; + u32 prior_ssthresh; + u32 high_seq; + u32 retrans_stamp; + u32 undo_marker; + int undo_retrans; + long: 32; + u64 bytes_retrans; + u32 total_retrans; + u32 rto_stamp; + u16 total_rto; + u16 total_rto_recoveries; + u32 total_rto_time; + u32 urg_seq; + unsigned int keepalive_time; + unsigned int keepalive_intvl; + int linger2; + u8 bpf_sock_ops_cb_flags; + u8 bpf_chg_cc_inprogress: 1; + u16 timeout_rehash; + u32 rcv_ooopack; + struct { + u32 probe_seq_start; + u32 probe_seq_end; + } mtu_probe; + u32 plb_rehash; + u32 mtu_info; + struct tcp_fastopen_request *fastopen_req; + struct request_sock *fastopen_rsk; + struct saved_syn *saved_syn; + long: 32; +}; + +struct tcp6_sock { + struct tcp_sock tcp; + struct ipv6_pinfo inet6; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +union tcp_ao_addr { + struct in_addr a4; + struct in6_addr a6; +}; + +struct tcp_ao_hdr { + u8 kind; + u8 length; + u8 keyid; + u8 rnext_keyid; +}; + +struct tcp_ao_key { + struct hlist_node node; + union tcp_ao_addr addr; + u8 key[80]; + unsigned int tcp_sigpool_id; + unsigned int digest_size; + int l3index; + u8 prefixlen; + u8 family; + u8 keylen; + u8 keyflags; + u8 sndid; + u8 rcvid; + u8 maclen; + struct callback_head rcu; + long: 32; + atomic64_t pkt_good; + atomic64_t pkt_bad; + u8 traffic_keys[0]; +}; + +struct tcp_bbr_info { + __u32 bbr_bw_lo; + __u32 bbr_bw_hi; + __u32 bbr_min_rtt; + __u32 bbr_pacing_gain; + __u32 bbr_cwnd_gain; +}; + +struct tcpvegas_info { + __u32 tcpv_enabled; + __u32 tcpv_rttcnt; + __u32 tcpv_rtt; + __u32 tcpv_minrtt; +}; + +struct tcp_dctcp_info { + __u16 dctcp_enabled; + __u16 dctcp_ce_state; + __u32 dctcp_alpha; + __u32 dctcp_ab_ecn; + __u32 dctcp_ab_tot; +}; + +union tcp_cc_info { + struct tcpvegas_info vegas; + struct tcp_dctcp_info dctcp; + struct tcp_bbr_info bbr; +}; + +struct tcp_fastopen_context { + siphash_key_t key[2]; + int num; + struct callback_head rcu; + long: 32; +}; + +struct tcp_fastopen_cookie { + __le64 val[2]; + s8 len; + bool exp; + long: 32; +}; + +struct tcp_fastopen_metrics { + u16 mss; + u16 syn_loss: 10; + u16 try_exp: 2; + long unsigned int last_syn_loss; + struct tcp_fastopen_cookie cookie; +}; + +struct tcp_fastopen_request { + struct tcp_fastopen_cookie cookie; + struct msghdr *data; + size_t size; + int copied; + struct ubuf_info *uarg; +}; + +struct tcp_info { + __u8 tcpi_state; + __u8 tcpi_ca_state; + __u8 tcpi_retransmits; + __u8 tcpi_probes; + __u8 tcpi_backoff; + __u8 tcpi_options; + __u8 tcpi_snd_wscale: 4; + __u8 tcpi_rcv_wscale: 4; + __u8 tcpi_delivery_rate_app_limited: 1; + __u8 tcpi_fastopen_client_fail: 2; + __u32 tcpi_rto; + __u32 tcpi_ato; + __u32 tcpi_snd_mss; + __u32 tcpi_rcv_mss; + __u32 tcpi_unacked; + __u32 tcpi_sacked; + __u32 tcpi_lost; + __u32 tcpi_retrans; + __u32 tcpi_fackets; + __u32 tcpi_last_data_sent; + __u32 tcpi_last_ack_sent; + __u32 tcpi_last_data_recv; + __u32 tcpi_last_ack_recv; + __u32 tcpi_pmtu; + __u32 tcpi_rcv_ssthresh; + __u32 tcpi_rtt; + __u32 tcpi_rttvar; + __u32 tcpi_snd_ssthresh; + __u32 tcpi_snd_cwnd; + __u32 tcpi_advmss; + __u32 tcpi_reordering; + __u32 tcpi_rcv_rtt; + __u32 tcpi_rcv_space; + __u32 tcpi_total_retrans; + __u64 tcpi_pacing_rate; + __u64 tcpi_max_pacing_rate; + __u64 tcpi_bytes_acked; + __u64 tcpi_bytes_received; + __u32 tcpi_segs_out; + __u32 tcpi_segs_in; + __u32 tcpi_notsent_bytes; + __u32 tcpi_min_rtt; + __u32 tcpi_data_segs_in; + __u32 tcpi_data_segs_out; + __u64 tcpi_delivery_rate; + __u64 tcpi_busy_time; + __u64 tcpi_rwnd_limited; + __u64 tcpi_sndbuf_limited; + __u32 tcpi_delivered; + __u32 tcpi_delivered_ce; + __u64 tcpi_bytes_sent; + __u64 tcpi_bytes_retrans; + __u32 tcpi_dsack_dups; + __u32 tcpi_reord_seen; + __u32 tcpi_rcv_ooopack; + __u32 tcpi_snd_wnd; + __u32 tcpi_rcv_wnd; + __u32 tcpi_rehash; + __u16 tcpi_total_rto; + __u16 tcpi_total_rto_recoveries; + __u32 tcpi_total_rto_time; +}; + +struct tcp_md5sig_key; + +struct tcp_key { + union { + struct { + struct tcp_ao_key *ao_key; + char *traffic_key; + u32 sne; + u8 rcv_next; + }; + struct tcp_md5sig_key *md5_key; + }; + enum { + TCP_KEY_NONE = 0, + TCP_KEY_MD5 = 1, + TCP_KEY_AO = 2, + } type; +}; + +struct tcp_md5sig_key { + struct hlist_node node; + u8 keylen; + u8 family; + u8 prefixlen; + u8 flags; + union tcp_ao_addr addr; + int l3index; + u8 key[80]; + struct callback_head rcu; +}; + +struct tcp_metrics_block { + struct tcp_metrics_block *tcpm_next; + struct net *tcpm_net; + struct inetpeer_addr tcpm_saddr; + struct inetpeer_addr tcpm_daddr; + long unsigned int tcpm_stamp; + u32 tcpm_lock; + u32 tcpm_vals[5]; + long: 32; + struct tcp_fastopen_metrics tcpm_fastopen; + struct callback_head callback_head; +}; + +struct tcp_mib { + long unsigned int mibs[16]; +}; + +struct tcp_out_options { + u16 options; + u16 mss; + u8 ws; + u8 num_sack_blocks; + u8 hash_size; + u8 bpf_opt_len; + __u8 *hash_location; + __u32 tsval; + __u32 tsecr; + struct tcp_fastopen_cookie *fastopen_cookie; + struct mptcp_out_options mptcp; +}; + +struct tcp_plb_state { + u8 consec_cong_rounds: 5; + u8 unused: 3; + u32 pause_until; +}; + +struct tcp_repair_opt { + __u32 opt_code; + __u32 opt_val; +}; + +struct tcp_repair_window { + __u32 snd_wl1; + __u32 snd_wnd; + __u32 max_window; + __u32 rcv_wnd; + __u32 rcv_wup; +}; + +struct tcp_request_sock_ops; + +struct tcp_request_sock { + struct inet_request_sock req; + const struct tcp_request_sock_ops *af_specific; + long: 32; + u64 snt_synack; + bool tfo_listener; + bool is_mptcp; + bool req_usec_ts; + u32 txhash; + u32 rcv_isn; + u32 snt_isn; + u32 ts_off; + u32 last_oow_ack_time; + u32 rcv_nxt; + u8 syn_tos; +}; + +struct tcp_request_sock_ops { + u16 mss_clamp; + struct dst_entry * (*route_req)(const struct sock *, struct sk_buff *, struct flowi *, struct request_sock *, u32); + u32 (*init_seq)(const struct sk_buff *); + u32 (*init_ts_off)(const struct net *, const struct sk_buff *); + int (*send_synack)(const struct sock *, struct dst_entry *, struct flowi *, struct request_sock *, struct tcp_fastopen_cookie *, enum tcp_synack_type, struct sk_buff *); +}; + +struct tcp_sack_block_wire { + __be32 start_seq; + __be32 end_seq; +}; + +struct tcp_sacktag_state { + u64 first_sackt; + u64 last_sackt; + u32 reord; + u32 sack_delivered; + int flag; + unsigned int mss_now; + struct rate_sample *rate; + long: 32; +}; + +struct tcp_skb_cb { + __u32 seq; + __u32 end_seq; + union { + struct { + u16 tcp_gso_segs; + u16 tcp_gso_size; + }; + }; + __u8 tcp_flags; + __u8 sacked; + __u8 ip_dsfield; + __u8 txstamp_ack: 1; + __u8 eor: 1; + __u8 has_rxtstamp: 1; + __u8 unused: 5; + __u32 ack_seq; + long: 32; + union { + struct { + __u32 is_app_limited: 1; + __u32 delivered_ce: 20; + __u32 unused: 11; + __u32 delivered; + u64 first_tx_mstamp; + u64 delivered_mstamp; + } tx; + union { + struct inet_skb_parm h4; + struct inet6_skb_parm h6; + } header; + }; +}; + +struct tcp_splice_state { + struct pipe_inode_info *pipe; + size_t len; + unsigned int flags; +}; + +struct tcp_timewait_sock { + struct inet_timewait_sock tw_sk; + u32 tw_rcv_wnd; + u32 tw_ts_offset; + u32 tw_ts_recent; + u32 tw_last_oow_ack_time; + int tw_ts_recent_stamp; + u32 tw_tx_delay; +}; + +struct tcp_ulp_ops { + struct list_head list; + int (*init)(struct sock *); + void (*update)(struct sock *, struct proto *, void (*)(struct sock *)); + void (*release)(struct sock *); + int (*get_info)(struct sock *, struct sk_buff *); + size_t (*get_info_size)(const struct sock *); + void (*clone)(const struct request_sock *, struct sock *, const gfp_t); + char name[16]; + struct module *owner; +}; + +struct tcphdr { + __be16 source; + __be16 dest; + __be32 seq; + __be32 ack_seq; + __u16 res1: 4; + __u16 doff: 4; + __u16 fin: 1; + __u16 syn: 1; + __u16 rst: 1; + __u16 psh: 1; + __u16 ack: 1; + __u16 urg: 1; + __u16 ece: 1; + __u16 cwr: 1; + __be16 window; + __sum16 check; + __be16 urg_ptr; +}; + +union tcp_word_hdr { + struct tcphdr hdr; + __be32 words[5]; +}; + +struct tcp_xa_pool { + u8 max; + u8 idx; + __u32 tokens[17]; + netmem_ref netmems[17]; +}; + +struct tcp_zerocopy_receive { + __u64 address; + __u32 length; + __u32 recv_skip_hint; + __u32 inq; + __s32 err; + __u64 copybuf_address; + __s32 copybuf_len; + __u32 flags; + __u64 msg_control; + __u64 msg_controllen; + __u32 msg_flags; + __u32 reserved; +}; + +struct tcpm_hash_bucket { + struct tcp_metrics_block *chain; +}; + +struct tcx_entry { + struct mini_Qdisc *miniq; + long: 32; + struct bpf_mprog_bundle bundle; + u32 miniq_active; + struct callback_head rcu; + long: 32; +}; + +struct tcx_link { + struct bpf_link link; + struct net_device *dev; + u32 location; +}; + +struct thread_group_cputimer { + struct task_cputime_atomic cputime_atomic; +}; + +struct tick_device { + struct clock_event_device *evtdev; + enum tick_device_mode mode; +}; + +struct timens_offsets { + struct timespec64 monotonic; + struct timespec64 boottime; +}; + +struct time_namespace { + struct user_namespace *user_ns; + struct ucounts *ucounts; + struct ns_common ns; + struct timens_offsets offsets; + struct page *vvar_page; + bool frozen_offsets; +}; + +struct timecounter { + const struct cyclecounter *cc; + long: 32; + u64 cycle_last; + u64 nsec; + u64 mask; + u64 frac; +}; + +struct tk_read_base { + struct clocksource *clock; + long: 32; + u64 mask; + u64 cycle_last; + u32 mult; + u32 shift; + u64 xtime_nsec; + ktime_t base; + u64 base_real; +}; + +struct timekeeper { + struct tk_read_base tkr_mono; + u64 xtime_sec; + long unsigned int ktime_sec; + long: 32; + struct timespec64 wall_to_monotonic; + ktime_t offs_real; + ktime_t offs_boot; + ktime_t offs_tai; + s32 tai_offset; + long: 32; + struct tk_read_base tkr_raw; + u64 raw_sec; + unsigned int clock_was_set_seq; + u8 cs_was_changed_seq; + struct timespec64 monotonic_to_boot; + u64 cycle_interval; + u64 xtime_interval; + s64 xtime_remainder; + u64 raw_interval; + ktime_t next_leap_ktime; + u64 ntp_tick; + s64 ntp_error; + u32 ntp_error_shift; + u32 ntp_err_mult; + u32 skip_second_overflow; + long: 32; +}; + +struct timer_base { + raw_spinlock_t lock; + struct timer_list *running_timer; + long unsigned int clk; + long unsigned int next_expiry; + unsigned int cpu; + bool next_expiry_recalc; + bool is_idle; + bool timers_pending; + long unsigned int pending_map[16]; + struct hlist_head vectors[512]; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct timer_of { + unsigned int flags; + struct device_node *np; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + struct clock_event_device clkevt; + struct of_timer_base of_base; + struct of_timer_irq of_irq; + struct of_timer_clk of_clk; + void *private_data; + long: 32; + long: 32; +}; + +struct timer_rand_state { + long unsigned int last_time; + long int last_delta; + long int last_delta2; +}; + +struct timerlat_entry { + struct trace_entry ent; + unsigned int seqnum; + int context; + u64 timer_latency; +}; + +struct timewait_sock_ops { + struct kmem_cache *twsk_slab; + char *twsk_slab_name; + unsigned int twsk_obj_size; + void (*twsk_destructor)(struct sock *); +}; + +struct timezone { + int tz_minuteswest; + int tz_dsttime; +}; + +struct tipc_basic_hdr { + __be32 w[4]; +}; + +struct tk_data { + seqcount_raw_spinlock_t seq; + long: 32; + struct timekeeper timekeeper; + struct timekeeper shadow_timekeeper; + raw_spinlock_t lock; + long: 32; + long: 32; +}; + +struct tk_fast { + seqcount_latch_t seq; + long: 32; + struct tk_read_base base[2]; +}; + +struct tls_crypto_info { + __u16 version; + __u16 cipher_type; +}; + +struct tls12_crypto_info_aes_gcm_128 { + struct tls_crypto_info info; + unsigned char iv[8]; + unsigned char key[16]; + unsigned char salt[4]; + unsigned char rec_seq[8]; +}; + +struct tls12_crypto_info_aes_gcm_256 { + struct tls_crypto_info info; + unsigned char iv[8]; + unsigned char key[32]; + unsigned char salt[4]; + unsigned char rec_seq[8]; +}; + +struct tls12_crypto_info_chacha20_poly1305 { + struct tls_crypto_info info; + unsigned char iv[12]; + unsigned char key[32]; + unsigned char salt[0]; + unsigned char rec_seq[8]; +}; + +struct tls12_crypto_info_sm4_ccm { + struct tls_crypto_info info; + unsigned char iv[8]; + unsigned char key[16]; + unsigned char salt[4]; + unsigned char rec_seq[8]; +}; + +struct tls12_crypto_info_sm4_gcm { + struct tls_crypto_info info; + unsigned char iv[8]; + unsigned char key[16]; + unsigned char salt[4]; + unsigned char rec_seq[8]; +}; + +struct tls_prot_info { + u16 version; + u16 cipher_type; + u16 prepend_size; + u16 tag_size; + u16 overhead_size; + u16 iv_size; + u16 salt_size; + u16 rec_seq_size; + u16 aad_size; + u16 tail_size; +}; + +union tls_crypto_context { + struct tls_crypto_info info; + union { + struct tls12_crypto_info_aes_gcm_128 aes_gcm_128; + struct tls12_crypto_info_aes_gcm_256 aes_gcm_256; + struct tls12_crypto_info_chacha20_poly1305 chacha20_poly1305; + struct tls12_crypto_info_sm4_gcm sm4_gcm; + struct tls12_crypto_info_sm4_ccm sm4_ccm; + }; +}; + +struct tls_context { + struct tls_prot_info prot_info; + u8 tx_conf: 3; + u8 rx_conf: 3; + u8 zerocopy_sendfile: 1; + u8 rx_no_pad: 1; + int (*push_pending_record)(struct sock *, int); + void (*sk_write_space)(struct sock *); + void *priv_ctx_tx; + void *priv_ctx_rx; + struct net_device *netdev; + struct cipher_context tx; + struct cipher_context rx; + struct scatterlist *partially_sent_record; + u16 partially_sent_offset; + bool splicing_pages; + bool pending_open_record_frags; + struct mutex tx_lock; + long unsigned int flags; + struct proto *sk_proto; + struct sock *sk; + void (*sk_destruct)(struct sock *); + union tls_crypto_context crypto_send; + union tls_crypto_context crypto_recv; + struct list_head list; + refcount_t refcount; + struct callback_head rcu; +}; + +struct tls_strparser { + struct sock *sk; + u32 mark: 8; + u32 stopped: 1; + u32 copy_mode: 1; + u32 mixed_decrypted: 1; + bool msg_ready; + struct strp_msg stm; + struct sk_buff *anchor; + struct work_struct work; +}; + +struct tls_sw_context_rx { + struct crypto_aead *aead_recv; + struct crypto_wait async_wait; + struct sk_buff_head rx_list; + void (*saved_data_ready)(struct sock *); + u8 reader_present; + u8 async_capable: 1; + u8 zc_capable: 1; + u8 reader_contended: 1; + bool key_update_pending; + struct tls_strparser strp; + atomic_t decrypt_pending; + struct sk_buff_head async_hold; + struct wait_queue_head wq; +}; + +struct tx_work { + struct delayed_work work; + struct sock *sk; +}; + +struct tls_rec; + +struct tls_sw_context_tx { + struct crypto_aead *aead_send; + struct crypto_wait async_wait; + struct tx_work tx_work; + struct tls_rec *open_rec; + struct list_head tx_list; + atomic_t encrypt_pending; + u8 async_capable: 1; + long unsigned int tx_bitmask; +}; + +struct tm { + int tm_sec; + int tm_min; + int tm_hour; + int tm_mday; + int tm_mon; + long int tm_year; + int tm_wday; + int tm_yday; +}; + +struct tms { + __kernel_clock_t tms_utime; + __kernel_clock_t tms_stime; + __kernel_clock_t tms_cutime; + __kernel_clock_t tms_cstime; +}; + +struct tnl_ptk_info { + long unsigned int flags[1]; + __be16 proto; + __be32 key; + __be32 seq; + int hdr_len; +}; + +struct tnode { + struct callback_head rcu; + t_key empty_children; + t_key full_children; + struct key_vector *parent; + struct key_vector kv[1]; +}; + +struct tp_module { + struct list_head list; + struct module *mod; +}; + +struct tracepoint_func { + void *func; + void *data; + int prio; +}; + +struct tp_probes { + struct callback_head rcu; + struct tracepoint_func probes[0]; +}; + +struct tp_transition_snapshot { + long unsigned int rcu; + bool ongoing; +}; + +struct trace_pid_list; + +struct trace_options; + +struct trace_func_repeats; + +struct trace_array { + struct list_head list; + char *name; + long: 32; + struct array_buffer array_buffer; + unsigned int mapped; + long unsigned int range_addr_start; + long unsigned int range_addr_size; + long int text_delta; + long int data_delta; + struct trace_pid_list *filtered_pids; + struct trace_pid_list *filtered_no_pids; + arch_spinlock_t max_lock; + int buffer_disabled; + int stop_count; + int clock_id; + int nr_topts; + bool clear_trace; + int buffer_percent; + unsigned int n_err_log_entries; + struct tracer *current_trace; + unsigned int trace_flags; + unsigned char trace_flags_index[32]; + unsigned int flags; + raw_spinlock_t start_lock; + const char *system_names; + struct list_head err_log; + struct dentry *dir; + struct dentry *options; + struct dentry *percpu_dir; + struct eventfs_inode *event_dir; + struct trace_options *topts; + struct list_head systems; + struct list_head events; + struct trace_event_file *trace_marker_file; + cpumask_var_t tracing_cpumask; + cpumask_var_t pipe_cpumask; + int ref; + int trace_ref; + struct list_head mod_events; + struct ftrace_ops *ops; + struct trace_pid_list *function_pids; + struct trace_pid_list *function_no_pids; + struct fgraph_ops *gops; + struct list_head func_probes; + struct list_head mod_trace; + struct list_head mod_notrace; + int function_enabled; + int no_filter_buffering_ref; + struct list_head hist_vars; + struct trace_func_repeats *last_func_repeats; + bool ring_buffer_expanded; +}; + +struct trace_array_cpu { + atomic_t disabled; + void *buffer_page; + long unsigned int entries; + long unsigned int saved_latency; + long unsigned int critical_start; + long unsigned int critical_end; + long unsigned int critical_sequence; + long unsigned int nice; + long unsigned int policy; + long unsigned int rt_priority; + long unsigned int skipped_entries; + long: 32; + u64 preempt_timestamp; + pid_t pid; + kuid_t uid; + char comm[16]; + int ftrace_ignore_pid; + bool ignore_pid; +}; + +struct trace_bprintk_fmt { + struct list_head list; + const char *fmt; +}; + +struct trace_buffer { + unsigned int flags; + int cpus; + atomic_t record_disabled; + atomic_t resizing; + cpumask_var_t cpumask; + struct lock_class_key *reader_lock_key; + struct mutex mutex; + struct ring_buffer_per_cpu **buffers; + struct hlist_node node; + u64 (*clock)(void); + struct rb_irq_work irq_work; + bool time_stamp_abs; + long unsigned int range_addr_start; + long unsigned int range_addr_end; + long int last_text_delta; + long int last_data_delta; + unsigned int subbuf_size; + unsigned int subbuf_order; + unsigned int max_data_size; +}; + +struct trace_buffer_meta { + __u32 meta_page_size; + __u32 meta_struct_len; + __u32 subbuf_size; + __u32 nr_subbufs; + struct { + __u64 lost_events; + __u32 id; + __u32 read; + } reader; + __u64 flags; + __u64 entries; + __u64 overrun; + __u64 read; + __u64 Reserved1; + __u64 Reserved2; +}; + +struct trace_buffer_struct { + int nesting; + char buffer[4096]; +}; + +struct trace_probe_event; + +struct trace_probe { + struct list_head list; + struct trace_probe_event *event; + ssize_t size; + unsigned int nr_args; + struct probe_entry_arg *entry_arg; + struct probe_arg args[0]; +}; + +struct trace_eprobe { + const char *event_system; + const char *event_name; + char *filter_str; + struct trace_event_call *event; + struct dyn_event devent; + struct trace_probe tp; +}; + +struct trace_eval_map { + const char *system; + const char *eval_string; + long unsigned int eval_value; +}; + +struct trace_event_functions; + +struct trace_event { + struct hlist_node node; + int type; + struct trace_event_functions *funcs; +}; + +struct trace_event_buffer { + struct trace_buffer *buffer; + struct ring_buffer_event *event; + struct trace_event_file *trace_file; + void *entry; + unsigned int trace_ctx; + struct pt_regs *regs; +}; + +struct trace_event_class; + +struct trace_event_call { + struct list_head list; + struct trace_event_class *class; + union { + const char *name; + struct tracepoint *tp; + }; + struct trace_event event; + char *print_fmt; + union { + void *module; + atomic_t refcnt; + }; + void *data; + int flags; + int perf_refcount; + struct hlist_head *perf_events; + struct bpf_prog_array *prog_array; + int (*perf_perm)(struct trace_event_call *, struct perf_event *); +}; + +struct trace_event_fields; + +struct trace_event_class { + const char *system; + void *probe; + void *perf_probe; + int (*reg)(struct trace_event_call *, enum trace_reg, void *); + struct trace_event_fields *fields_array; + struct list_head * (*get_fields)(struct trace_event_call *); + struct list_head fields; + int (*raw_init)(struct trace_event_call *); +}; + +struct trace_event_data_offsets_alarm_class {}; + +struct trace_event_data_offsets_alarmtimer_suspend {}; + +struct trace_event_data_offsets_alloc_vmap_area {}; + +struct trace_event_data_offsets_balance_dirty_pages {}; + +struct trace_event_data_offsets_bdi_dirty_ratelimit {}; + +struct trace_event_data_offsets_bpf_test_finish {}; + +struct trace_event_data_offsets_bpf_trace_printk { + u32 bpf_string; + const void *bpf_string_ptr_; +}; + +struct trace_event_data_offsets_bpf_trigger_tp {}; + +struct trace_event_data_offsets_bpf_xdp_link_attach_failed { + u32 msg; + const void *msg_ptr_; +}; + +struct trace_event_data_offsets_cap_capable {}; + +struct trace_event_data_offsets_clk { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_clk_duty_cycle { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_clk_parent { + u32 name; + const void *name_ptr_; + u32 pname; + const void *pname_ptr_; +}; + +struct trace_event_data_offsets_clk_phase { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_clk_rate { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_clk_rate_range { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_clk_rate_request { + u32 name; + const void *name_ptr_; + u32 pname; + const void *pname_ptr_; +}; + +struct trace_event_data_offsets_clock { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_compact_retry {}; + +struct trace_event_data_offsets_console { + u32 msg; + const void *msg_ptr_; +}; + +struct trace_event_data_offsets_consume_skb {}; + +struct trace_event_data_offsets_contention_begin {}; + +struct trace_event_data_offsets_contention_end {}; + +struct trace_event_data_offsets_cpu {}; + +struct trace_event_data_offsets_cpu_frequency_limits {}; + +struct trace_event_data_offsets_cpu_idle_miss {}; + +struct trace_event_data_offsets_cpu_latency_qos_request {}; + +struct trace_event_data_offsets_cpuhp_enter {}; + +struct trace_event_data_offsets_cpuhp_exit {}; + +struct trace_event_data_offsets_cpuhp_multi_enter {}; + +struct trace_event_data_offsets_ctime {}; + +struct trace_event_data_offsets_ctime_ns_xchg {}; + +struct trace_event_data_offsets_dev_pm_qos_request { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_device_pm_callback_end { + u32 device; + const void *device_ptr_; + u32 driver; + const void *driver_ptr_; +}; + +struct trace_event_data_offsets_device_pm_callback_start { + u32 device; + const void *device_ptr_; + u32 driver; + const void *driver_ptr_; + u32 parent; + const void *parent_ptr_; + u32 pm_ops; + const void *pm_ops_ptr_; +}; + +struct trace_event_data_offsets_devres { + u32 devname; + const void *devname_ptr_; + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_dma_alloc_class { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_alloc_sgt { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_free_class { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_free_sgt { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_map { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_map_sg { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; + u32 dma_addrs; + const void *dma_addrs_ptr_; + u32 lengths; + const void *lengths_ptr_; +}; + +struct trace_event_data_offsets_dma_map_sg_err { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_sync_sg { + u32 device; + const void *device_ptr_; + u32 dma_addrs; + const void *dma_addrs_ptr_; + u32 lengths; + const void *lengths_ptr_; +}; + +struct trace_event_data_offsets_dma_sync_single { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_unmap { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_unmap_sg { + u32 device; + const void *device_ptr_; + u32 addrs; + const void *addrs_ptr_; +}; + +struct trace_event_data_offsets_dql_stall_detected {}; + +struct trace_event_data_offsets_error_report_template {}; + +struct trace_event_data_offsets_exit_mmap {}; + +struct trace_event_data_offsets_fib6_table_lookup {}; + +struct trace_event_data_offsets_fib_table_lookup {}; + +struct trace_event_data_offsets_file_check_and_advance_wb_err {}; + +struct trace_event_data_offsets_filemap_set_wb_err {}; + +struct trace_event_data_offsets_fill_mg_cmtime {}; + +struct trace_event_data_offsets_finish_task_reaping {}; + +struct trace_event_data_offsets_free_vmap_area_noflush {}; + +struct trace_event_data_offsets_global_dirty_state {}; + +struct trace_event_data_offsets_guest_halt_poll_ns {}; + +struct trace_event_data_offsets_hrtimer_class {}; + +struct trace_event_data_offsets_hrtimer_expire_entry {}; + +struct trace_event_data_offsets_hrtimer_init {}; + +struct trace_event_data_offsets_hrtimer_start {}; + +struct trace_event_data_offsets_icmp_send {}; + +struct trace_event_data_offsets_inet_sk_error_report {}; + +struct trace_event_data_offsets_inet_sock_set_state {}; + +struct trace_event_data_offsets_initcall_finish {}; + +struct trace_event_data_offsets_initcall_level { + u32 level; + const void *level_ptr_; +}; + +struct trace_event_data_offsets_initcall_start {}; + +struct trace_event_data_offsets_ipi_handler {}; + +struct trace_event_data_offsets_ipi_raise { + u32 target_cpus; + const void *target_cpus_ptr_; +}; + +struct trace_event_data_offsets_ipi_send_cpu {}; + +struct trace_event_data_offsets_ipi_send_cpumask { + u32 cpumask; + const void *cpumask_ptr_; +}; + +struct trace_event_data_offsets_irq_handler_entry { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_irq_handler_exit {}; + +struct trace_event_data_offsets_itimer_expire {}; + +struct trace_event_data_offsets_itimer_state {}; + +struct trace_event_data_offsets_kcompactd_wake_template {}; + +struct trace_event_data_offsets_kfree {}; + +struct trace_event_data_offsets_kfree_skb {}; + +struct trace_event_data_offsets_kmalloc {}; + +struct trace_event_data_offsets_kmem_cache_alloc {}; + +struct trace_event_data_offsets_kmem_cache_free { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_ma_op {}; + +struct trace_event_data_offsets_ma_read {}; + +struct trace_event_data_offsets_ma_write {}; + +struct trace_event_data_offsets_mark_victim { + u32 comm; + const void *comm_ptr_; +}; + +struct trace_event_data_offsets_mem_connect {}; + +struct trace_event_data_offsets_mem_disconnect {}; + +struct trace_event_data_offsets_mem_return_failed {}; + +struct trace_event_data_offsets_migration_pte {}; + +struct trace_event_data_offsets_mm_alloc_contig_migrate_range_info {}; + +struct trace_event_data_offsets_mm_compaction_begin {}; + +struct trace_event_data_offsets_mm_compaction_defer_template {}; + +struct trace_event_data_offsets_mm_compaction_end {}; + +struct trace_event_data_offsets_mm_compaction_isolate_template {}; + +struct trace_event_data_offsets_mm_compaction_kcompactd_sleep {}; + +struct trace_event_data_offsets_mm_compaction_migratepages {}; + +struct trace_event_data_offsets_mm_compaction_suitable_template {}; + +struct trace_event_data_offsets_mm_compaction_try_to_compact_pages {}; + +struct trace_event_data_offsets_mm_filemap_fault {}; + +struct trace_event_data_offsets_mm_filemap_op_page_cache {}; + +struct trace_event_data_offsets_mm_filemap_op_page_cache_range {}; + +struct trace_event_data_offsets_mm_lru_activate {}; + +struct trace_event_data_offsets_mm_lru_insertion {}; + +struct trace_event_data_offsets_mm_migrate_pages {}; + +struct trace_event_data_offsets_mm_migrate_pages_start {}; + +struct trace_event_data_offsets_mm_page {}; + +struct trace_event_data_offsets_mm_page_alloc {}; + +struct trace_event_data_offsets_mm_page_alloc_extfrag {}; + +struct trace_event_data_offsets_mm_page_free {}; + +struct trace_event_data_offsets_mm_page_free_batched {}; + +struct trace_event_data_offsets_mm_page_pcpu_drain {}; + +struct trace_event_data_offsets_mm_shrink_slab_end {}; + +struct trace_event_data_offsets_mm_shrink_slab_start {}; + +struct trace_event_data_offsets_mm_vmscan_direct_reclaim_begin_template {}; + +struct trace_event_data_offsets_mm_vmscan_direct_reclaim_end_template {}; + +struct trace_event_data_offsets_mm_vmscan_kswapd_sleep {}; + +struct trace_event_data_offsets_mm_vmscan_kswapd_wake {}; + +struct trace_event_data_offsets_mm_vmscan_lru_isolate {}; + +struct trace_event_data_offsets_mm_vmscan_lru_shrink_active {}; + +struct trace_event_data_offsets_mm_vmscan_lru_shrink_inactive {}; + +struct trace_event_data_offsets_mm_vmscan_node_reclaim_begin {}; + +struct trace_event_data_offsets_mm_vmscan_reclaim_pages {}; + +struct trace_event_data_offsets_mm_vmscan_throttled {}; + +struct trace_event_data_offsets_mm_vmscan_wakeup_kswapd {}; + +struct trace_event_data_offsets_mm_vmscan_write_folio {}; + +struct trace_event_data_offsets_mmap_lock {}; + +struct trace_event_data_offsets_mmap_lock_acquire_returned {}; + +struct trace_event_data_offsets_module_free { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_module_load { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_module_request { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_napi_poll { + u32 dev_name; + const void *dev_name_ptr_; +}; + +struct trace_event_data_offsets_neigh__update { + u32 dev; + const void *dev_ptr_; +}; + +struct trace_event_data_offsets_neigh_create { + u32 dev; + const void *dev_ptr_; +}; + +struct trace_event_data_offsets_neigh_update { + u32 dev; + const void *dev_ptr_; +}; + +struct trace_event_data_offsets_net_dev_rx_exit_template {}; + +struct trace_event_data_offsets_net_dev_rx_verbose_template { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_net_dev_start_xmit { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_net_dev_template { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_net_dev_xmit { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_net_dev_xmit_timeout { + u32 name; + const void *name_ptr_; + u32 driver; + const void *driver_ptr_; +}; + +struct trace_event_data_offsets_netlink_extack { + u32 msg; + const void *msg_ptr_; +}; + +struct trace_event_data_offsets_notifier_info {}; + +struct trace_event_data_offsets_oom_score_adj_update {}; + +struct trace_event_data_offsets_page_pool_release {}; + +struct trace_event_data_offsets_page_pool_state_hold {}; + +struct trace_event_data_offsets_page_pool_state_release {}; + +struct trace_event_data_offsets_page_pool_update_nid {}; + +struct trace_event_data_offsets_percpu_alloc_percpu {}; + +struct trace_event_data_offsets_percpu_alloc_percpu_fail {}; + +struct trace_event_data_offsets_percpu_create_chunk {}; + +struct trace_event_data_offsets_percpu_destroy_chunk {}; + +struct trace_event_data_offsets_percpu_free_percpu {}; + +struct trace_event_data_offsets_pm_qos_update {}; + +struct trace_event_data_offsets_power_domain { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_powernv_throttle { + u32 reason; + const void *reason_ptr_; +}; + +struct trace_event_data_offsets_pstate_sample {}; + +struct trace_event_data_offsets_purge_vmap_area_lazy {}; + +struct trace_event_data_offsets_qdisc_create { + u32 dev; + const void *dev_ptr_; + u32 kind; + const void *kind_ptr_; +}; + +struct trace_event_data_offsets_qdisc_dequeue {}; + +struct trace_event_data_offsets_qdisc_destroy { + u32 dev; + const void *dev_ptr_; + u32 kind; + const void *kind_ptr_; +}; + +struct trace_event_data_offsets_qdisc_enqueue {}; + +struct trace_event_data_offsets_qdisc_reset { + u32 dev; + const void *dev_ptr_; + u32 kind; + const void *kind_ptr_; +}; + +struct trace_event_data_offsets_rcu_utilization {}; + +struct trace_event_data_offsets_reclaim_retry_zone {}; + +struct trace_event_data_offsets_rss_stat {}; + +struct trace_event_data_offsets_sched_kthread_stop {}; + +struct trace_event_data_offsets_sched_kthread_stop_ret {}; + +struct trace_event_data_offsets_sched_kthread_work_execute_end {}; + +struct trace_event_data_offsets_sched_kthread_work_execute_start {}; + +struct trace_event_data_offsets_sched_kthread_work_queue_work {}; + +struct trace_event_data_offsets_sched_migrate_task {}; + +struct trace_event_data_offsets_sched_move_numa {}; + +struct trace_event_data_offsets_sched_numa_pair_template {}; + +struct trace_event_data_offsets_sched_pi_setprio {}; + +struct trace_event_data_offsets_sched_prepare_exec { + u32 interp; + const void *interp_ptr_; + u32 filename; + const void *filename_ptr_; + u32 comm; + const void *comm_ptr_; +}; + +struct trace_event_data_offsets_sched_process_exec { + u32 filename; + const void *filename_ptr_; +}; + +struct trace_event_data_offsets_sched_process_fork {}; + +struct trace_event_data_offsets_sched_process_template {}; + +struct trace_event_data_offsets_sched_process_wait {}; + +struct trace_event_data_offsets_sched_stat_runtime {}; + +struct trace_event_data_offsets_sched_switch {}; + +struct trace_event_data_offsets_sched_wake_idle_without_ipi {}; + +struct trace_event_data_offsets_sched_wakeup_template {}; + +struct trace_event_data_offsets_signal_deliver {}; + +struct trace_event_data_offsets_signal_generate {}; + +struct trace_event_data_offsets_sk_data_ready {}; + +struct trace_event_data_offsets_skb_copy_datagram_iovec {}; + +struct trace_event_data_offsets_skip_task_reaping {}; + +struct trace_event_data_offsets_sock_exceed_buf_limit {}; + +struct trace_event_data_offsets_sock_msg_length {}; + +struct trace_event_data_offsets_sock_rcvqueue_full {}; + +struct trace_event_data_offsets_softirq {}; + +struct trace_event_data_offsets_start_task_reaping {}; + +struct trace_event_data_offsets_suspend_resume {}; + +struct trace_event_data_offsets_sys_enter {}; + +struct trace_event_data_offsets_sys_exit {}; + +struct trace_event_data_offsets_task_newtask {}; + +struct trace_event_data_offsets_task_prctl_unknown {}; + +struct trace_event_data_offsets_task_rename {}; + +struct trace_event_data_offsets_tasklet {}; + +struct trace_event_data_offsets_tcp_ao_event {}; + +struct trace_event_data_offsets_tcp_ao_event_sk {}; + +struct trace_event_data_offsets_tcp_ao_event_sne {}; + +struct trace_event_data_offsets_tcp_cong_state_set {}; + +struct trace_event_data_offsets_tcp_event_sk {}; + +struct trace_event_data_offsets_tcp_event_sk_skb {}; + +struct trace_event_data_offsets_tcp_event_skb {}; + +struct trace_event_data_offsets_tcp_hash_event {}; + +struct trace_event_data_offsets_tcp_probe {}; + +struct trace_event_data_offsets_tcp_retransmit_synack {}; + +struct trace_event_data_offsets_tcp_send_reset {}; + +struct trace_event_data_offsets_timer_base_idle {}; + +struct trace_event_data_offsets_timer_class {}; + +struct trace_event_data_offsets_timer_expire_entry {}; + +struct trace_event_data_offsets_timer_start {}; + +struct trace_event_data_offsets_tlb_flush {}; + +struct trace_event_data_offsets_udp_fail_queue_rcv_skb {}; + +struct trace_event_data_offsets_vm_unmapped_area {}; + +struct trace_event_data_offsets_vma_mas_szero {}; + +struct trace_event_data_offsets_vma_store {}; + +struct trace_event_data_offsets_wake_reaper {}; + +struct trace_event_data_offsets_wakeup_source { + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_wbc_class {}; + +struct trace_event_data_offsets_workqueue_activate_work {}; + +struct trace_event_data_offsets_workqueue_execute_end {}; + +struct trace_event_data_offsets_workqueue_execute_start {}; + +struct trace_event_data_offsets_workqueue_queue_work { + u32 workqueue; + const void *workqueue_ptr_; +}; + +struct trace_event_data_offsets_writeback_bdi_register {}; + +struct trace_event_data_offsets_writeback_class {}; + +struct trace_event_data_offsets_writeback_dirty_inode_template {}; + +struct trace_event_data_offsets_writeback_folio_template {}; + +struct trace_event_data_offsets_writeback_inode_template {}; + +struct trace_event_data_offsets_writeback_pages_written {}; + +struct trace_event_data_offsets_writeback_queue_io {}; + +struct trace_event_data_offsets_writeback_sb_inodes_requeue {}; + +struct trace_event_data_offsets_writeback_single_inode_template {}; + +struct trace_event_data_offsets_writeback_work_class {}; + +struct trace_event_data_offsets_writeback_write_inode_template {}; + +struct trace_event_data_offsets_xdp_bulk_tx {}; + +struct trace_event_data_offsets_xdp_cpumap_enqueue {}; + +struct trace_event_data_offsets_xdp_cpumap_kthread {}; + +struct trace_event_data_offsets_xdp_devmap_xmit {}; + +struct trace_event_data_offsets_xdp_exception {}; + +struct trace_event_data_offsets_xdp_redirect_template {}; + +struct trace_event_fields { + const char *type; + union { + struct { + const char *name; + const int size; + const int align; + const unsigned int is_signed: 1; + unsigned int needs_test: 1; + const int filter_type; + const int len; + }; + int (*define_fields)(struct trace_event_call *); + }; +}; + +struct trace_subsystem_dir; + +struct trace_event_file { + struct list_head list; + struct trace_event_call *event_call; + struct event_filter *filter; + struct eventfs_inode *ei; + struct trace_array *tr; + struct trace_subsystem_dir *system; + struct list_head triggers; + long unsigned int flags; + refcount_t ref; + atomic_t sm_ref; + atomic_t tm_ref; +}; + +typedef enum print_line_t (*trace_print_func)(struct trace_iterator *, int, struct trace_event *); + +struct trace_event_functions { + trace_print_func trace; + trace_print_func raw; + trace_print_func hex; + trace_print_func binary; +}; + +struct trace_event_raw_alarm_class { + struct trace_entry ent; + void *alarm; + unsigned char alarm_type; + s64 expires; + s64 now; + char __data[0]; +}; + +struct trace_event_raw_alarmtimer_suspend { + struct trace_entry ent; + s64 expires; + unsigned char alarm_type; + char __data[0]; + long: 32; +}; + +struct trace_event_raw_alloc_vmap_area { + struct trace_entry ent; + long unsigned int addr; + long unsigned int size; + long unsigned int align; + long unsigned int vstart; + long unsigned int vend; + int failed; + char __data[0]; +}; + +struct trace_event_raw_balance_dirty_pages { + struct trace_entry ent; + char bdi[32]; + long unsigned int limit; + long unsigned int setpoint; + long unsigned int dirty; + long unsigned int bdi_setpoint; + long unsigned int bdi_dirty; + long unsigned int dirty_ratelimit; + long unsigned int task_ratelimit; + unsigned int dirtied; + unsigned int dirtied_pause; + long unsigned int paused; + long int pause; + long unsigned int period; + long int think; + ino_t cgroup_ino; + char __data[0]; +}; + +struct trace_event_raw_bdi_dirty_ratelimit { + struct trace_entry ent; + char bdi[32]; + long unsigned int write_bw; + long unsigned int avg_write_bw; + long unsigned int dirty_rate; + long unsigned int dirty_ratelimit; + long unsigned int task_ratelimit; + long unsigned int balanced_dirty_ratelimit; + ino_t cgroup_ino; + char __data[0]; +}; + +struct trace_event_raw_bpf_test_finish { + struct trace_entry ent; + int err; + char __data[0]; +}; + +struct trace_event_raw_bpf_trace_printk { + struct trace_entry ent; + u32 __data_loc_bpf_string; + char __data[0]; +}; + +struct trace_event_raw_bpf_trigger_tp { + struct trace_entry ent; + int nonce; + char __data[0]; +}; + +struct trace_event_raw_bpf_xdp_link_attach_failed { + struct trace_entry ent; + u32 __data_loc_msg; + char __data[0]; +}; + +struct trace_event_raw_cap_capable { + struct trace_entry ent; + const struct cred *cred; + struct user_namespace *target_ns; + const struct user_namespace *capable_ns; + int cap; + int ret; + char __data[0]; +}; + +struct trace_event_raw_clk { + struct trace_entry ent; + u32 __data_loc_name; + char __data[0]; +}; + +struct trace_event_raw_clk_duty_cycle { + struct trace_entry ent; + u32 __data_loc_name; + unsigned int num; + unsigned int den; + char __data[0]; +}; + +struct trace_event_raw_clk_parent { + struct trace_entry ent; + u32 __data_loc_name; + u32 __data_loc_pname; + char __data[0]; +}; + +struct trace_event_raw_clk_phase { + struct trace_entry ent; + u32 __data_loc_name; + int phase; + char __data[0]; +}; + +struct trace_event_raw_clk_rate { + struct trace_entry ent; + u32 __data_loc_name; + long unsigned int rate; + char __data[0]; +}; + +struct trace_event_raw_clk_rate_range { + struct trace_entry ent; + u32 __data_loc_name; + long unsigned int min; + long unsigned int max; + char __data[0]; +}; + +struct trace_event_raw_clk_rate_request { + struct trace_entry ent; + u32 __data_loc_name; + u32 __data_loc_pname; + long unsigned int min; + long unsigned int max; + long unsigned int prate; + char __data[0]; +}; + +struct trace_event_raw_clock { + struct trace_entry ent; + u32 __data_loc_name; + long: 32; + u64 state; + u64 cpu_id; + char __data[0]; +}; + +struct trace_event_raw_compact_retry { + struct trace_entry ent; + int order; + int priority; + int result; + int retries; + int max_retries; + bool ret; + char __data[0]; +}; + +struct trace_event_raw_console { + struct trace_entry ent; + u32 __data_loc_msg; + char __data[0]; +}; + +struct trace_event_raw_consume_skb { + struct trace_entry ent; + void *skbaddr; + void *location; + char __data[0]; +}; + +struct trace_event_raw_contention_begin { + struct trace_entry ent; + void *lock_addr; + unsigned int flags; + char __data[0]; +}; + +struct trace_event_raw_contention_end { + struct trace_entry ent; + void *lock_addr; + int ret; + char __data[0]; +}; + +struct trace_event_raw_cpu { + struct trace_entry ent; + u32 state; + u32 cpu_id; + char __data[0]; +}; + +struct trace_event_raw_cpu_frequency_limits { + struct trace_entry ent; + u32 min_freq; + u32 max_freq; + u32 cpu_id; + char __data[0]; +}; + +struct trace_event_raw_cpu_idle_miss { + struct trace_entry ent; + u32 cpu_id; + u32 state; + bool below; + char __data[0]; +}; + +struct trace_event_raw_cpu_latency_qos_request { + struct trace_entry ent; + s32 value; + char __data[0]; +}; + +struct trace_event_raw_cpuhp_enter { + struct trace_entry ent; + unsigned int cpu; + int target; + int idx; + void *fun; + char __data[0]; +}; + +struct trace_event_raw_cpuhp_exit { + struct trace_entry ent; + unsigned int cpu; + int state; + int idx; + int ret; + char __data[0]; +}; + +struct trace_event_raw_cpuhp_multi_enter { + struct trace_entry ent; + unsigned int cpu; + int target; + int idx; + void *fun; + char __data[0]; +}; + +struct trace_event_raw_ctime { + struct trace_entry ent; + dev_t dev; + ino_t ino; + time64_t ctime_s; + u32 ctime_ns; + u32 gen; + char __data[0]; +}; + +struct trace_event_raw_ctime_ns_xchg { + struct trace_entry ent; + dev_t dev; + ino_t ino; + u32 gen; + u32 old; + u32 new; + u32 cur; + char __data[0]; +}; + +struct trace_event_raw_dev_pm_qos_request { + struct trace_entry ent; + u32 __data_loc_name; + enum dev_pm_qos_req_type type; + s32 new_value; + char __data[0]; +}; + +struct trace_event_raw_device_pm_callback_end { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_driver; + int error; + char __data[0]; +}; + +struct trace_event_raw_device_pm_callback_start { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_driver; + u32 __data_loc_parent; + u32 __data_loc_pm_ops; + int event; + char __data[0]; +}; + +struct trace_event_raw_devres { + struct trace_entry ent; + u32 __data_loc_devname; + struct device *dev; + const char *op; + void *node; + u32 __data_loc_name; + size_t size; + char __data[0]; +}; + +struct trace_event_raw_dma_alloc_class { + struct trace_entry ent; + u32 __data_loc_device; + void *virt_addr; + u64 dma_addr; + size_t size; + gfp_t flags; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_alloc_sgt { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + gfp_t flags; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_free_class { + struct trace_entry ent; + u32 __data_loc_device; + void *virt_addr; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; + long: 32; +}; + +struct trace_event_raw_dma_free_sgt { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_map { + struct trace_entry ent; + u32 __data_loc_device; + long: 32; + u64 phys_addr; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; + long: 32; +}; + +struct trace_event_raw_dma_map_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u32 __data_loc_dma_addrs; + u32 __data_loc_lengths; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_map_sg_err { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + int err; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_sync_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_dma_addrs; + u32 __data_loc_lengths; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_sync_single { + struct trace_entry ent; + u32 __data_loc_device; + long: 32; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_unmap { + struct trace_entry ent; + u32 __data_loc_device; + long: 32; + u64 addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; + long: 32; +}; + +struct trace_event_raw_dma_unmap_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_addrs; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dql_stall_detected { + struct trace_entry ent; + short unsigned int thrs; + unsigned int len; + long unsigned int last_reap; + long unsigned int hist_head; + long unsigned int now; + long unsigned int hist[4]; + char __data[0]; +}; + +struct trace_event_raw_error_report_template { + struct trace_entry ent; + enum error_detector error_detector; + long unsigned int id; + char __data[0]; +}; + +struct trace_event_raw_exit_mmap { + struct trace_entry ent; + struct mm_struct *mm; + struct maple_tree *mt; + char __data[0]; +}; + +struct trace_event_raw_fib6_table_lookup { + struct trace_entry ent; + u32 tb_id; + int err; + int oif; + int iif; + u32 flowlabel; + __u8 tos; + __u8 scope; + __u8 flags; + __u8 src[16]; + __u8 dst[16]; + u16 sport; + u16 dport; + u8 proto; + u8 rt_type; + char name[16]; + __u8 gw[16]; + char __data[0]; +}; + +struct trace_event_raw_fib_table_lookup { + struct trace_entry ent; + u32 tb_id; + int err; + int oif; + int iif; + u8 proto; + __u8 tos; + __u8 scope; + __u8 flags; + __u8 src[4]; + __u8 dst[4]; + __u8 gw4[4]; + __u8 gw6[16]; + u16 sport; + u16 dport; + char name[16]; + char __data[0]; +}; + +struct trace_event_raw_file_check_and_advance_wb_err { + struct trace_entry ent; + struct file *file; + long unsigned int i_ino; + dev_t s_dev; + errseq_t old; + errseq_t new; + char __data[0]; +}; + +struct trace_event_raw_filemap_set_wb_err { + struct trace_entry ent; + long unsigned int i_ino; + dev_t s_dev; + errseq_t errseq; + char __data[0]; +}; + +struct trace_event_raw_fill_mg_cmtime { + struct trace_entry ent; + dev_t dev; + ino_t ino; + time64_t ctime_s; + time64_t mtime_s; + u32 ctime_ns; + u32 mtime_ns; + u32 gen; + char __data[0]; + long: 32; +}; + +struct trace_event_raw_finish_task_reaping { + struct trace_entry ent; + int pid; + char __data[0]; +}; + +struct trace_event_raw_free_vmap_area_noflush { + struct trace_entry ent; + long unsigned int va_start; + long unsigned int nr_lazy; + long unsigned int nr_lazy_max; + char __data[0]; +}; + +struct trace_event_raw_global_dirty_state { + struct trace_entry ent; + long unsigned int nr_dirty; + long unsigned int nr_writeback; + long unsigned int background_thresh; + long unsigned int dirty_thresh; + long unsigned int dirty_limit; + long unsigned int nr_dirtied; + long unsigned int nr_written; + char __data[0]; +}; + +struct trace_event_raw_guest_halt_poll_ns { + struct trace_entry ent; + bool grow; + unsigned int new; + unsigned int old; + char __data[0]; +}; + +struct trace_event_raw_hrtimer_class { + struct trace_entry ent; + void *hrtimer; + char __data[0]; +}; + +struct trace_event_raw_hrtimer_expire_entry { + struct trace_entry ent; + void *hrtimer; + long: 32; + s64 now; + void *function; + char __data[0]; + long: 32; +}; + +struct trace_event_raw_hrtimer_init { + struct trace_entry ent; + void *hrtimer; + clockid_t clockid; + enum hrtimer_mode mode; + char __data[0]; +}; + +struct trace_event_raw_hrtimer_start { + struct trace_entry ent; + void *hrtimer; + void *function; + s64 expires; + s64 softexpires; + enum hrtimer_mode mode; + char __data[0]; + long: 32; +}; + +struct trace_event_raw_icmp_send { + struct trace_entry ent; + const void *skbaddr; + int type; + int code; + __u8 saddr[4]; + __u8 daddr[4]; + __u16 sport; + __u16 dport; + short unsigned int ulen; + char __data[0]; +}; + +struct trace_event_raw_inet_sk_error_report { + struct trace_entry ent; + int error; + __u16 sport; + __u16 dport; + __u16 family; + __u16 protocol; + __u8 saddr[4]; + __u8 daddr[4]; + __u8 saddr_v6[16]; + __u8 daddr_v6[16]; + char __data[0]; +}; + +struct trace_event_raw_inet_sock_set_state { + struct trace_entry ent; + const void *skaddr; + int oldstate; + int newstate; + __u16 sport; + __u16 dport; + __u16 family; + __u16 protocol; + __u8 saddr[4]; + __u8 daddr[4]; + __u8 saddr_v6[16]; + __u8 daddr_v6[16]; + char __data[0]; +}; + +typedef int (*initcall_t)(void); + +struct trace_event_raw_initcall_finish { + struct trace_entry ent; + initcall_t func; + int ret; + char __data[0]; +}; + +struct trace_event_raw_initcall_level { + struct trace_entry ent; + u32 __data_loc_level; + char __data[0]; +}; + +struct trace_event_raw_initcall_start { + struct trace_entry ent; + initcall_t func; + char __data[0]; +}; + +struct trace_event_raw_ipi_handler { + struct trace_entry ent; + const char *reason; + char __data[0]; +}; + +struct trace_event_raw_ipi_raise { + struct trace_entry ent; + u32 __data_loc_target_cpus; + const char *reason; + char __data[0]; +}; + +struct trace_event_raw_ipi_send_cpu { + struct trace_entry ent; + unsigned int cpu; + void *callsite; + void *callback; + char __data[0]; +}; + +struct trace_event_raw_ipi_send_cpumask { + struct trace_entry ent; + u32 __data_loc_cpumask; + void *callsite; + void *callback; + char __data[0]; +}; + +struct trace_event_raw_irq_handler_entry { + struct trace_entry ent; + int irq; + u32 __data_loc_name; + char __data[0]; +}; + +struct trace_event_raw_irq_handler_exit { + struct trace_entry ent; + int irq; + int ret; + char __data[0]; +}; + +struct trace_event_raw_itimer_expire { + struct trace_entry ent; + int which; + pid_t pid; + long long unsigned int now; + char __data[0]; +}; + +struct trace_event_raw_itimer_state { + struct trace_entry ent; + int which; + long: 32; + long long unsigned int expires; + long int value_sec; + long int value_nsec; + long int interval_sec; + long int interval_nsec; + char __data[0]; +}; + +struct trace_event_raw_kcompactd_wake_template { + struct trace_entry ent; + int nid; + int order; + enum zone_type highest_zoneidx; + char __data[0]; +}; + +struct trace_event_raw_kfree { + struct trace_entry ent; + long unsigned int call_site; + const void *ptr; + char __data[0]; +}; + +struct trace_event_raw_kfree_skb { + struct trace_entry ent; + void *skbaddr; + void *location; + void *rx_sk; + short unsigned int protocol; + enum skb_drop_reason reason; + char __data[0]; +}; + +struct trace_event_raw_kmalloc { + struct trace_entry ent; + long unsigned int call_site; + const void *ptr; + size_t bytes_req; + size_t bytes_alloc; + long unsigned int gfp_flags; + int node; + char __data[0]; +}; + +struct trace_event_raw_kmem_cache_alloc { + struct trace_entry ent; + long unsigned int call_site; + const void *ptr; + size_t bytes_req; + size_t bytes_alloc; + long unsigned int gfp_flags; + int node; + bool accounted; + char __data[0]; +}; + +struct trace_event_raw_kmem_cache_free { + struct trace_entry ent; + long unsigned int call_site; + const void *ptr; + u32 __data_loc_name; + char __data[0]; +}; + +struct trace_event_raw_ma_op { + struct trace_entry ent; + const char *fn; + long unsigned int min; + long unsigned int max; + long unsigned int index; + long unsigned int last; + void *node; + char __data[0]; +}; + +struct trace_event_raw_ma_read { + struct trace_entry ent; + const char *fn; + long unsigned int min; + long unsigned int max; + long unsigned int index; + long unsigned int last; + void *node; + char __data[0]; +}; + +struct trace_event_raw_ma_write { + struct trace_entry ent; + const char *fn; + long unsigned int min; + long unsigned int max; + long unsigned int index; + long unsigned int last; + long unsigned int piv; + void *val; + void *node; + char __data[0]; +}; + +struct trace_event_raw_mark_victim { + struct trace_entry ent; + int pid; + u32 __data_loc_comm; + long unsigned int total_vm; + long unsigned int anon_rss; + long unsigned int file_rss; + long unsigned int shmem_rss; + uid_t uid; + long unsigned int pgtables; + short int oom_score_adj; + char __data[0]; +}; + +struct xdp_mem_allocator; + +struct trace_event_raw_mem_connect { + struct trace_entry ent; + const struct xdp_mem_allocator *xa; + u32 mem_id; + u32 mem_type; + const void *allocator; + const struct xdp_rxq_info *rxq; + int ifindex; + char __data[0]; +}; + +struct trace_event_raw_mem_disconnect { + struct trace_entry ent; + const struct xdp_mem_allocator *xa; + u32 mem_id; + u32 mem_type; + const void *allocator; + char __data[0]; +}; + +struct trace_event_raw_mem_return_failed { + struct trace_entry ent; + const struct page *page; + u32 mem_id; + u32 mem_type; + char __data[0]; +}; + +struct trace_event_raw_migration_pte { + struct trace_entry ent; + long unsigned int addr; + long unsigned int pte; + int order; + char __data[0]; +}; + +struct trace_event_raw_mm_alloc_contig_migrate_range_info { + struct trace_entry ent; + long unsigned int start; + long unsigned int end; + long unsigned int nr_migrated; + long unsigned int nr_reclaimed; + long unsigned int nr_mapped; + int migratetype; + char __data[0]; +}; + +struct trace_event_raw_mm_compaction_begin { + struct trace_entry ent; + long unsigned int zone_start; + long unsigned int migrate_pfn; + long unsigned int free_pfn; + long unsigned int zone_end; + bool sync; + char __data[0]; +}; + +struct trace_event_raw_mm_compaction_defer_template { + struct trace_entry ent; + int nid; + enum zone_type idx; + int order; + unsigned int considered; + unsigned int defer_shift; + int order_failed; + char __data[0]; +}; + +struct trace_event_raw_mm_compaction_end { + struct trace_entry ent; + long unsigned int zone_start; + long unsigned int migrate_pfn; + long unsigned int free_pfn; + long unsigned int zone_end; + bool sync; + int status; + char __data[0]; +}; + +struct trace_event_raw_mm_compaction_isolate_template { + struct trace_entry ent; + long unsigned int start_pfn; + long unsigned int end_pfn; + long unsigned int nr_scanned; + long unsigned int nr_taken; + char __data[0]; +}; + +struct trace_event_raw_mm_compaction_kcompactd_sleep { + struct trace_entry ent; + int nid; + char __data[0]; +}; + +struct trace_event_raw_mm_compaction_migratepages { + struct trace_entry ent; + long unsigned int nr_migrated; + long unsigned int nr_failed; + char __data[0]; +}; + +struct trace_event_raw_mm_compaction_suitable_template { + struct trace_entry ent; + int nid; + enum zone_type idx; + int order; + int ret; + char __data[0]; +}; + +struct trace_event_raw_mm_compaction_try_to_compact_pages { + struct trace_entry ent; + int order; + long unsigned int gfp_mask; + int prio; + char __data[0]; +}; + +struct trace_event_raw_mm_filemap_fault { + struct trace_entry ent; + long unsigned int i_ino; + dev_t s_dev; + long unsigned int index; + char __data[0]; +}; + +struct trace_event_raw_mm_filemap_op_page_cache { + struct trace_entry ent; + long unsigned int pfn; + long unsigned int i_ino; + long unsigned int index; + dev_t s_dev; + unsigned char order; + char __data[0]; +}; + +struct trace_event_raw_mm_filemap_op_page_cache_range { + struct trace_entry ent; + long unsigned int i_ino; + dev_t s_dev; + long unsigned int index; + long unsigned int last_index; + char __data[0]; +}; + +struct trace_event_raw_mm_lru_activate { + struct trace_entry ent; + struct folio *folio; + long unsigned int pfn; + char __data[0]; +}; + +struct trace_event_raw_mm_lru_insertion { + struct trace_entry ent; + struct folio *folio; + long unsigned int pfn; + enum lru_list lru; + long unsigned int flags; + char __data[0]; +}; + +struct trace_event_raw_mm_migrate_pages { + struct trace_entry ent; + long unsigned int succeeded; + long unsigned int failed; + long unsigned int thp_succeeded; + long unsigned int thp_failed; + long unsigned int thp_split; + long unsigned int large_folio_split; + enum migrate_mode mode; + int reason; + char __data[0]; +}; + +struct trace_event_raw_mm_migrate_pages_start { + struct trace_entry ent; + enum migrate_mode mode; + int reason; + char __data[0]; +}; + +struct trace_event_raw_mm_page { + struct trace_entry ent; + long unsigned int pfn; + unsigned int order; + int migratetype; + int percpu_refill; + char __data[0]; +}; + +struct trace_event_raw_mm_page_alloc { + struct trace_entry ent; + long unsigned int pfn; + unsigned int order; + long unsigned int gfp_flags; + int migratetype; + char __data[0]; +}; + +struct trace_event_raw_mm_page_alloc_extfrag { + struct trace_entry ent; + long unsigned int pfn; + int alloc_order; + int fallback_order; + int alloc_migratetype; + int fallback_migratetype; + int change_ownership; + char __data[0]; +}; + +struct trace_event_raw_mm_page_free { + struct trace_entry ent; + long unsigned int pfn; + unsigned int order; + char __data[0]; +}; + +struct trace_event_raw_mm_page_free_batched { + struct trace_entry ent; + long unsigned int pfn; + char __data[0]; +}; + +struct trace_event_raw_mm_page_pcpu_drain { + struct trace_entry ent; + long unsigned int pfn; + unsigned int order; + int migratetype; + char __data[0]; +}; + +struct trace_event_raw_mm_shrink_slab_end { + struct trace_entry ent; + struct shrinker *shr; + int nid; + void *shrink; + long int unused_scan; + long int new_scan; + int retval; + long int total_scan; + char __data[0]; +}; + +struct trace_event_raw_mm_shrink_slab_start { + struct trace_entry ent; + struct shrinker *shr; + void *shrink; + int nid; + long int nr_objects_to_shrink; + long unsigned int gfp_flags; + long unsigned int cache_items; + long long unsigned int delta; + long unsigned int total_scan; + int priority; + char __data[0]; +}; + +struct trace_event_raw_mm_vmscan_direct_reclaim_begin_template { + struct trace_entry ent; + int order; + long unsigned int gfp_flags; + char __data[0]; +}; + +struct trace_event_raw_mm_vmscan_direct_reclaim_end_template { + struct trace_entry ent; + long unsigned int nr_reclaimed; + char __data[0]; +}; + +struct trace_event_raw_mm_vmscan_kswapd_sleep { + struct trace_entry ent; + int nid; + char __data[0]; +}; + +struct trace_event_raw_mm_vmscan_kswapd_wake { + struct trace_entry ent; + int nid; + int zid; + int order; + char __data[0]; +}; + +struct trace_event_raw_mm_vmscan_lru_isolate { + struct trace_entry ent; + int highest_zoneidx; + int order; + long unsigned int nr_requested; + long unsigned int nr_scanned; + long unsigned int nr_skipped; + long unsigned int nr_taken; + int lru; + char __data[0]; +}; + +struct trace_event_raw_mm_vmscan_lru_shrink_active { + struct trace_entry ent; + int nid; + long unsigned int nr_taken; + long unsigned int nr_active; + long unsigned int nr_deactivated; + long unsigned int nr_referenced; + int priority; + int reclaim_flags; + char __data[0]; +}; + +struct trace_event_raw_mm_vmscan_lru_shrink_inactive { + struct trace_entry ent; + int nid; + long unsigned int nr_scanned; + long unsigned int nr_reclaimed; + long unsigned int nr_dirty; + long unsigned int nr_writeback; + long unsigned int nr_congested; + long unsigned int nr_immediate; + unsigned int nr_activate0; + unsigned int nr_activate1; + long unsigned int nr_ref_keep; + long unsigned int nr_unmap_fail; + int priority; + int reclaim_flags; + char __data[0]; +}; + +struct trace_event_raw_mm_vmscan_node_reclaim_begin { + struct trace_entry ent; + int nid; + int order; + long unsigned int gfp_flags; + char __data[0]; +}; + +struct trace_event_raw_mm_vmscan_reclaim_pages { + struct trace_entry ent; + int nid; + long unsigned int nr_scanned; + long unsigned int nr_reclaimed; + long unsigned int nr_dirty; + long unsigned int nr_writeback; + long unsigned int nr_congested; + long unsigned int nr_immediate; + unsigned int nr_activate0; + unsigned int nr_activate1; + long unsigned int nr_ref_keep; + long unsigned int nr_unmap_fail; + char __data[0]; +}; + +struct trace_event_raw_mm_vmscan_throttled { + struct trace_entry ent; + int nid; + int usec_timeout; + int usec_delayed; + int reason; + char __data[0]; +}; + +struct trace_event_raw_mm_vmscan_wakeup_kswapd { + struct trace_entry ent; + int nid; + int zid; + int order; + long unsigned int gfp_flags; + char __data[0]; +}; + +struct trace_event_raw_mm_vmscan_write_folio { + struct trace_entry ent; + long unsigned int pfn; + int reclaim_flags; + char __data[0]; +}; + +struct trace_event_raw_mmap_lock { + struct trace_entry ent; + struct mm_struct *mm; + long: 32; + u64 memcg_id; + bool write; + char __data[0]; + long: 32; +}; + +struct trace_event_raw_mmap_lock_acquire_returned { + struct trace_entry ent; + struct mm_struct *mm; + long: 32; + u64 memcg_id; + bool write; + bool success; + char __data[0]; + long: 32; +}; + +struct trace_event_raw_module_free { + struct trace_entry ent; + u32 __data_loc_name; + char __data[0]; +}; + +struct trace_event_raw_module_load { + struct trace_entry ent; + unsigned int taints; + u32 __data_loc_name; + char __data[0]; +}; + +struct trace_event_raw_module_request { + struct trace_entry ent; + long unsigned int ip; + bool wait; + u32 __data_loc_name; + char __data[0]; +}; + +struct trace_event_raw_napi_poll { + struct trace_entry ent; + struct napi_struct *napi; + u32 __data_loc_dev_name; + int work; + int budget; + char __data[0]; +}; + +struct trace_event_raw_neigh__update { + struct trace_entry ent; + u32 family; + u32 __data_loc_dev; + u8 lladdr[32]; + u8 lladdr_len; + u8 flags; + u8 nud_state; + u8 type; + u8 dead; + int refcnt; + __u8 primary_key4[4]; + __u8 primary_key6[16]; + long unsigned int confirmed; + long unsigned int updated; + long unsigned int used; + u32 err; + char __data[0]; +}; + +struct trace_event_raw_neigh_create { + struct trace_entry ent; + u32 family; + u32 __data_loc_dev; + int entries; + u8 created; + u8 gc_exempt; + u8 primary_key4[4]; + u8 primary_key6[16]; + char __data[0]; +}; + +struct trace_event_raw_neigh_update { + struct trace_entry ent; + u32 family; + u32 __data_loc_dev; + u8 lladdr[32]; + u8 lladdr_len; + u8 flags; + u8 nud_state; + u8 type; + u8 dead; + int refcnt; + __u8 primary_key4[4]; + __u8 primary_key6[16]; + long unsigned int confirmed; + long unsigned int updated; + long unsigned int used; + u8 new_lladdr[32]; + u8 new_state; + u32 update_flags; + u32 pid; + char __data[0]; +}; + +struct trace_event_raw_net_dev_rx_exit_template { + struct trace_entry ent; + int ret; + char __data[0]; +}; + +struct trace_event_raw_net_dev_rx_verbose_template { + struct trace_entry ent; + u32 __data_loc_name; + unsigned int napi_id; + u16 queue_mapping; + const void *skbaddr; + bool vlan_tagged; + u16 vlan_proto; + u16 vlan_tci; + u16 protocol; + u8 ip_summed; + u32 hash; + bool l4_hash; + unsigned int len; + unsigned int data_len; + unsigned int truesize; + bool mac_header_valid; + int mac_header; + unsigned char nr_frags; + u16 gso_size; + u16 gso_type; + char __data[0]; +}; + +struct trace_event_raw_net_dev_start_xmit { + struct trace_entry ent; + u32 __data_loc_name; + u16 queue_mapping; + const void *skbaddr; + bool vlan_tagged; + u16 vlan_proto; + u16 vlan_tci; + u16 protocol; + u8 ip_summed; + unsigned int len; + unsigned int data_len; + int network_offset; + bool transport_offset_valid; + int transport_offset; + u8 tx_flags; + u16 gso_size; + u16 gso_segs; + u16 gso_type; + char __data[0]; +}; + +struct trace_event_raw_net_dev_template { + struct trace_entry ent; + void *skbaddr; + unsigned int len; + u32 __data_loc_name; + char __data[0]; +}; + +struct trace_event_raw_net_dev_xmit { + struct trace_entry ent; + void *skbaddr; + unsigned int len; + int rc; + u32 __data_loc_name; + char __data[0]; +}; + +struct trace_event_raw_net_dev_xmit_timeout { + struct trace_entry ent; + u32 __data_loc_name; + u32 __data_loc_driver; + int queue_index; + char __data[0]; +}; + +struct trace_event_raw_netlink_extack { + struct trace_entry ent; + u32 __data_loc_msg; + char __data[0]; +}; + +struct trace_event_raw_notifier_info { + struct trace_entry ent; + void *cb; + char __data[0]; +}; + +struct trace_event_raw_oom_score_adj_update { + struct trace_entry ent; + pid_t pid; + char comm[16]; + short int oom_score_adj; + char __data[0]; +}; + +struct trace_event_raw_page_pool_release { + struct trace_entry ent; + const struct page_pool *pool; + s32 inflight; + u32 hold; + u32 release; + u64 cnt; + char __data[0]; +}; + +struct trace_event_raw_page_pool_state_hold { + struct trace_entry ent; + const struct page_pool *pool; + long unsigned int netmem; + u32 hold; + long unsigned int pfn; + char __data[0]; +}; + +struct trace_event_raw_page_pool_state_release { + struct trace_entry ent; + const struct page_pool *pool; + long unsigned int netmem; + u32 release; + long unsigned int pfn; + char __data[0]; +}; + +struct trace_event_raw_page_pool_update_nid { + struct trace_entry ent; + const struct page_pool *pool; + int pool_nid; + int new_nid; + char __data[0]; +}; + +struct trace_event_raw_percpu_alloc_percpu { + struct trace_entry ent; + long unsigned int call_site; + bool reserved; + bool is_atomic; + size_t size; + size_t align; + void *base_addr; + int off; + void *ptr; + size_t bytes_alloc; + long unsigned int gfp_flags; + char __data[0]; +}; + +struct trace_event_raw_percpu_alloc_percpu_fail { + struct trace_entry ent; + bool reserved; + bool is_atomic; + size_t size; + size_t align; + char __data[0]; +}; + +struct trace_event_raw_percpu_create_chunk { + struct trace_entry ent; + void *base_addr; + char __data[0]; +}; + +struct trace_event_raw_percpu_destroy_chunk { + struct trace_entry ent; + void *base_addr; + char __data[0]; +}; + +struct trace_event_raw_percpu_free_percpu { + struct trace_entry ent; + void *base_addr; + int off; + void *ptr; + char __data[0]; +}; + +struct trace_event_raw_pm_qos_update { + struct trace_entry ent; + enum pm_qos_req_action action; + int prev_value; + int curr_value; + char __data[0]; +}; + +struct trace_event_raw_power_domain { + struct trace_entry ent; + u32 __data_loc_name; + long: 32; + u64 state; + u64 cpu_id; + char __data[0]; +}; + +struct trace_event_raw_powernv_throttle { + struct trace_entry ent; + int chip_id; + u32 __data_loc_reason; + int pmax; + char __data[0]; +}; + +struct trace_event_raw_pstate_sample { + struct trace_entry ent; + u32 core_busy; + u32 scaled_busy; + u32 from; + u32 to; + u64 mperf; + u64 aperf; + u64 tsc; + u32 freq; + u32 io_boost; + char __data[0]; +}; + +struct trace_event_raw_purge_vmap_area_lazy { + struct trace_entry ent; + long unsigned int start; + long unsigned int end; + unsigned int npurged; + char __data[0]; +}; + +struct trace_event_raw_qdisc_create { + struct trace_entry ent; + u32 __data_loc_dev; + u32 __data_loc_kind; + u32 parent; + char __data[0]; +}; + +struct trace_event_raw_qdisc_dequeue { + struct trace_entry ent; + struct Qdisc *qdisc; + const struct netdev_queue *txq; + int packets; + void *skbaddr; + int ifindex; + u32 handle; + u32 parent; + long unsigned int txq_state; + char __data[0]; +}; + +struct trace_event_raw_qdisc_destroy { + struct trace_entry ent; + u32 __data_loc_dev; + u32 __data_loc_kind; + u32 parent; + u32 handle; + char __data[0]; +}; + +struct trace_event_raw_qdisc_enqueue { + struct trace_entry ent; + struct Qdisc *qdisc; + const struct netdev_queue *txq; + void *skbaddr; + int ifindex; + u32 handle; + u32 parent; + char __data[0]; +}; + +struct trace_event_raw_qdisc_reset { + struct trace_entry ent; + u32 __data_loc_dev; + u32 __data_loc_kind; + u32 parent; + u32 handle; + char __data[0]; +}; + +struct trace_event_raw_rcu_utilization { + struct trace_entry ent; + const char *s; + char __data[0]; +}; + +struct trace_event_raw_reclaim_retry_zone { + struct trace_entry ent; + int node; + int zone_idx; + int order; + long unsigned int reclaimable; + long unsigned int available; + long unsigned int min_wmark; + int no_progress_loops; + bool wmark_check; + char __data[0]; +}; + +struct trace_event_raw_rss_stat { + struct trace_entry ent; + unsigned int mm_id; + unsigned int curr; + int member; + long int size; + char __data[0]; +}; + +struct trace_event_raw_sched_kthread_stop { + struct trace_entry ent; + char comm[16]; + pid_t pid; + char __data[0]; +}; + +struct trace_event_raw_sched_kthread_stop_ret { + struct trace_entry ent; + int ret; + char __data[0]; +}; + +struct trace_event_raw_sched_kthread_work_execute_end { + struct trace_entry ent; + void *work; + void *function; + char __data[0]; +}; + +struct trace_event_raw_sched_kthread_work_execute_start { + struct trace_entry ent; + void *work; + void *function; + char __data[0]; +}; + +struct trace_event_raw_sched_kthread_work_queue_work { + struct trace_entry ent; + void *work; + void *function; + void *worker; + char __data[0]; +}; + +struct trace_event_raw_sched_migrate_task { + struct trace_entry ent; + char comm[16]; + pid_t pid; + int prio; + int orig_cpu; + int dest_cpu; + char __data[0]; +}; + +struct trace_event_raw_sched_move_numa { + struct trace_entry ent; + pid_t pid; + pid_t tgid; + pid_t ngid; + int src_cpu; + int src_nid; + int dst_cpu; + int dst_nid; + char __data[0]; +}; + +struct trace_event_raw_sched_numa_pair_template { + struct trace_entry ent; + pid_t src_pid; + pid_t src_tgid; + pid_t src_ngid; + int src_cpu; + int src_nid; + pid_t dst_pid; + pid_t dst_tgid; + pid_t dst_ngid; + int dst_cpu; + int dst_nid; + char __data[0]; +}; + +struct trace_event_raw_sched_pi_setprio { + struct trace_entry ent; + char comm[16]; + pid_t pid; + int oldprio; + int newprio; + char __data[0]; +}; + +struct trace_event_raw_sched_prepare_exec { + struct trace_entry ent; + u32 __data_loc_interp; + u32 __data_loc_filename; + pid_t pid; + u32 __data_loc_comm; + char __data[0]; +}; + +struct trace_event_raw_sched_process_exec { + struct trace_entry ent; + u32 __data_loc_filename; + pid_t pid; + pid_t old_pid; + char __data[0]; +}; + +struct trace_event_raw_sched_process_fork { + struct trace_entry ent; + char parent_comm[16]; + pid_t parent_pid; + char child_comm[16]; + pid_t child_pid; + char __data[0]; +}; + +struct trace_event_raw_sched_process_template { + struct trace_entry ent; + char comm[16]; + pid_t pid; + int prio; + char __data[0]; +}; + +struct trace_event_raw_sched_process_wait { + struct trace_entry ent; + char comm[16]; + pid_t pid; + int prio; + char __data[0]; +}; + +struct trace_event_raw_sched_stat_runtime { + struct trace_entry ent; + char comm[16]; + pid_t pid; + long: 32; + u64 runtime; + char __data[0]; +}; + +struct trace_event_raw_sched_switch { + struct trace_entry ent; + char prev_comm[16]; + pid_t prev_pid; + int prev_prio; + long int prev_state; + char next_comm[16]; + pid_t next_pid; + int next_prio; + char __data[0]; +}; + +struct trace_event_raw_sched_wake_idle_without_ipi { + struct trace_entry ent; + int cpu; + char __data[0]; +}; + +struct trace_event_raw_sched_wakeup_template { + struct trace_entry ent; + char comm[16]; + pid_t pid; + int prio; + int target_cpu; + char __data[0]; +}; + +struct trace_event_raw_signal_deliver { + struct trace_entry ent; + int sig; + int errno; + int code; + long unsigned int sa_handler; + long unsigned int sa_flags; + char __data[0]; +}; + +struct trace_event_raw_signal_generate { + struct trace_entry ent; + int sig; + int errno; + int code; + char comm[16]; + pid_t pid; + int group; + int result; + char __data[0]; +}; + +struct trace_event_raw_sk_data_ready { + struct trace_entry ent; + const void *skaddr; + __u16 family; + __u16 protocol; + long unsigned int ip; + char __data[0]; +}; + +struct trace_event_raw_skb_copy_datagram_iovec { + struct trace_entry ent; + const void *skbaddr; + int len; + char __data[0]; +}; + +struct trace_event_raw_skip_task_reaping { + struct trace_entry ent; + int pid; + char __data[0]; +}; + +struct trace_event_raw_sock_exceed_buf_limit { + struct trace_entry ent; + char name[32]; + long int sysctl_mem[3]; + long int allocated; + int sysctl_rmem; + int rmem_alloc; + int sysctl_wmem; + int wmem_alloc; + int wmem_queued; + int kind; + char __data[0]; +}; + +struct trace_event_raw_sock_msg_length { + struct trace_entry ent; + void *sk; + __u16 family; + __u16 protocol; + int ret; + int flags; + char __data[0]; +}; + +struct trace_event_raw_sock_rcvqueue_full { + struct trace_entry ent; + int rmem_alloc; + unsigned int truesize; + int sk_rcvbuf; + char __data[0]; +}; + +struct trace_event_raw_softirq { + struct trace_entry ent; + unsigned int vec; + char __data[0]; +}; + +struct trace_event_raw_start_task_reaping { + struct trace_entry ent; + int pid; + char __data[0]; +}; + +struct trace_event_raw_suspend_resume { + struct trace_entry ent; + const char *action; + int val; + bool start; + char __data[0]; +}; + +struct trace_event_raw_sys_enter { + struct trace_entry ent; + long int id; + long unsigned int args[6]; + char __data[0]; +}; + +struct trace_event_raw_sys_exit { + struct trace_entry ent; + long int id; + long int ret; + char __data[0]; +}; + +struct trace_event_raw_task_newtask { + struct trace_entry ent; + pid_t pid; + char comm[16]; + long unsigned int clone_flags; + short int oom_score_adj; + char __data[0]; +}; + +struct trace_event_raw_task_prctl_unknown { + struct trace_entry ent; + int option; + long unsigned int arg2; + long unsigned int arg3; + long unsigned int arg4; + long unsigned int arg5; + char __data[0]; +}; + +struct trace_event_raw_task_rename { + struct trace_entry ent; + char oldcomm[16]; + char newcomm[16]; + short int oom_score_adj; + char __data[0]; +}; + +struct trace_event_raw_tasklet { + struct trace_entry ent; + void *tasklet; + void *func; + char __data[0]; +}; + +struct trace_event_raw_tcp_ao_event { + struct trace_entry ent; + __u64 net_cookie; + const void *skbaddr; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + int l3index; + __u16 sport; + __u16 dport; + __u16 family; + bool fin; + bool syn; + bool rst; + bool psh; + bool ack; + __u8 keyid; + __u8 rnext; + __u8 maclen; + char __data[0]; +}; + +struct trace_event_raw_tcp_ao_event_sk { + struct trace_entry ent; + __u64 net_cookie; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + __u16 sport; + __u16 dport; + __u16 family; + __u8 keyid; + __u8 rnext; + char __data[0]; +}; + +struct trace_event_raw_tcp_ao_event_sne { + struct trace_entry ent; + __u64 net_cookie; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + __u16 sport; + __u16 dport; + __u16 family; + __u32 new_sne; + char __data[0]; + long: 32; +}; + +struct trace_event_raw_tcp_cong_state_set { + struct trace_entry ent; + const void *skaddr; + __u16 sport; + __u16 dport; + __u16 family; + __u8 saddr[4]; + __u8 daddr[4]; + __u8 saddr_v6[16]; + __u8 daddr_v6[16]; + __u8 cong_state; + char __data[0]; +}; + +struct trace_event_raw_tcp_event_sk { + struct trace_entry ent; + const void *skaddr; + __u16 sport; + __u16 dport; + __u16 family; + __u8 saddr[4]; + __u8 daddr[4]; + __u8 saddr_v6[16]; + __u8 daddr_v6[16]; + long: 32; + __u64 sock_cookie; + char __data[0]; +}; + +struct trace_event_raw_tcp_event_sk_skb { + struct trace_entry ent; + const void *skbaddr; + const void *skaddr; + int state; + __u16 sport; + __u16 dport; + __u16 family; + __u8 saddr[4]; + __u8 daddr[4]; + __u8 saddr_v6[16]; + __u8 daddr_v6[16]; + char __data[0]; +}; + +struct trace_event_raw_tcp_event_skb { + struct trace_entry ent; + const void *skbaddr; + __u8 saddr[28]; + __u8 daddr[28]; + char __data[0]; +}; + +struct trace_event_raw_tcp_hash_event { + struct trace_entry ent; + __u64 net_cookie; + const void *skbaddr; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + int l3index; + __u16 sport; + __u16 dport; + __u16 family; + bool fin; + bool syn; + bool rst; + bool psh; + bool ack; + char __data[0]; + long: 32; +}; + +struct trace_event_raw_tcp_probe { + struct trace_entry ent; + __u8 saddr[28]; + __u8 daddr[28]; + __u16 sport; + __u16 dport; + __u16 family; + __u32 mark; + __u16 data_len; + __u32 snd_nxt; + __u32 snd_una; + __u32 snd_cwnd; + __u32 ssthresh; + __u32 snd_wnd; + __u32 srtt; + __u32 rcv_wnd; + long: 32; + __u64 sock_cookie; + const void *skbaddr; + const void *skaddr; + char __data[0]; +}; + +struct trace_event_raw_tcp_retransmit_synack { + struct trace_entry ent; + const void *skaddr; + const void *req; + __u16 sport; + __u16 dport; + __u16 family; + __u8 saddr[4]; + __u8 daddr[4]; + __u8 saddr_v6[16]; + __u8 daddr_v6[16]; + char __data[0]; +}; + +struct trace_event_raw_tcp_send_reset { + struct trace_entry ent; + const void *skbaddr; + const void *skaddr; + int state; + enum sk_rst_reason reason; + __u8 saddr[28]; + __u8 daddr[28]; + char __data[0]; +}; + +struct trace_event_raw_timer_base_idle { + struct trace_entry ent; + bool is_idle; + unsigned int cpu; + char __data[0]; +}; + +struct trace_event_raw_timer_class { + struct trace_entry ent; + void *timer; + char __data[0]; +}; + +struct trace_event_raw_timer_expire_entry { + struct trace_entry ent; + void *timer; + long unsigned int now; + void *function; + long unsigned int baseclk; + char __data[0]; +}; + +struct trace_event_raw_timer_start { + struct trace_entry ent; + void *timer; + void *function; + long unsigned int expires; + long unsigned int bucket_expiry; + long unsigned int now; + unsigned int flags; + char __data[0]; +}; + +struct trace_event_raw_tlb_flush { + struct trace_entry ent; + int reason; + long unsigned int pages; + char __data[0]; +}; + +struct trace_event_raw_udp_fail_queue_rcv_skb { + struct trace_entry ent; + int rc; + __u16 sport; + __u16 dport; + __u16 family; + __u8 saddr[28]; + __u8 daddr[28]; + char __data[0]; +}; + +struct trace_event_raw_vm_unmapped_area { + struct trace_entry ent; + long unsigned int addr; + long unsigned int total_vm; + long unsigned int flags; + long unsigned int length; + long unsigned int low_limit; + long unsigned int high_limit; + long unsigned int align_mask; + long unsigned int align_offset; + char __data[0]; +}; + +struct trace_event_raw_vma_mas_szero { + struct trace_entry ent; + struct maple_tree *mt; + long unsigned int start; + long unsigned int end; + char __data[0]; +}; + +struct trace_event_raw_vma_store { + struct trace_entry ent; + struct maple_tree *mt; + struct vm_area_struct *vma; + long unsigned int vm_start; + long unsigned int vm_end; + char __data[0]; +}; + +struct trace_event_raw_wake_reaper { + struct trace_entry ent; + int pid; + char __data[0]; +}; + +struct trace_event_raw_wakeup_source { + struct trace_entry ent; + u32 __data_loc_name; + long: 32; + u64 state; + char __data[0]; +}; + +struct trace_event_raw_wbc_class { + struct trace_entry ent; + char name[32]; + long int nr_to_write; + long int pages_skipped; + int sync_mode; + int for_kupdate; + int for_background; + int for_reclaim; + int range_cyclic; + long int range_start; + long int range_end; + ino_t cgroup_ino; + char __data[0]; +}; + +struct trace_event_raw_workqueue_activate_work { + struct trace_entry ent; + void *work; + void *function; + char __data[0]; +}; + +struct trace_event_raw_workqueue_execute_end { + struct trace_entry ent; + void *work; + void *function; + char __data[0]; +}; + +struct trace_event_raw_workqueue_execute_start { + struct trace_entry ent; + void *work; + void *function; + char __data[0]; +}; + +struct trace_event_raw_workqueue_queue_work { + struct trace_entry ent; + void *work; + void *function; + u32 __data_loc_workqueue; + int req_cpu; + int cpu; + char __data[0]; +}; + +struct trace_event_raw_writeback_bdi_register { + struct trace_entry ent; + char name[32]; + char __data[0]; +}; + +struct trace_event_raw_writeback_class { + struct trace_entry ent; + char name[32]; + ino_t cgroup_ino; + char __data[0]; +}; + +struct trace_event_raw_writeback_dirty_inode_template { + struct trace_entry ent; + char name[32]; + ino_t ino; + long unsigned int state; + long unsigned int flags; + char __data[0]; +}; + +struct trace_event_raw_writeback_folio_template { + struct trace_entry ent; + char name[32]; + ino_t ino; + long unsigned int index; + char __data[0]; +}; + +struct trace_event_raw_writeback_inode_template { + struct trace_entry ent; + dev_t dev; + ino_t ino; + long unsigned int state; + __u16 mode; + long unsigned int dirtied_when; + char __data[0]; +}; + +struct trace_event_raw_writeback_pages_written { + struct trace_entry ent; + long int pages; + char __data[0]; +}; + +struct trace_event_raw_writeback_queue_io { + struct trace_entry ent; + char name[32]; + long unsigned int older; + long int age; + int moved; + int reason; + ino_t cgroup_ino; + char __data[0]; +}; + +struct trace_event_raw_writeback_sb_inodes_requeue { + struct trace_entry ent; + char name[32]; + ino_t ino; + long unsigned int state; + long unsigned int dirtied_when; + ino_t cgroup_ino; + char __data[0]; +}; + +struct trace_event_raw_writeback_single_inode_template { + struct trace_entry ent; + char name[32]; + ino_t ino; + long unsigned int state; + long unsigned int dirtied_when; + long unsigned int writeback_index; + long int nr_to_write; + long unsigned int wrote; + ino_t cgroup_ino; + char __data[0]; +}; + +struct trace_event_raw_writeback_work_class { + struct trace_entry ent; + char name[32]; + long int nr_pages; + dev_t sb_dev; + int sync_mode; + int for_kupdate; + int range_cyclic; + int for_background; + int reason; + ino_t cgroup_ino; + char __data[0]; +}; + +struct trace_event_raw_writeback_write_inode_template { + struct trace_entry ent; + char name[32]; + ino_t ino; + int sync_mode; + ino_t cgroup_ino; + char __data[0]; +}; + +struct trace_event_raw_xdp_bulk_tx { + struct trace_entry ent; + int ifindex; + u32 act; + int drops; + int sent; + int err; + char __data[0]; +}; + +struct trace_event_raw_xdp_cpumap_enqueue { + struct trace_entry ent; + int map_id; + u32 act; + int cpu; + unsigned int drops; + unsigned int processed; + int to_cpu; + char __data[0]; +}; + +struct trace_event_raw_xdp_cpumap_kthread { + struct trace_entry ent; + int map_id; + u32 act; + int cpu; + unsigned int drops; + unsigned int processed; + int sched; + unsigned int xdp_pass; + unsigned int xdp_drop; + unsigned int xdp_redirect; + char __data[0]; +}; + +struct trace_event_raw_xdp_devmap_xmit { + struct trace_entry ent; + int from_ifindex; + u32 act; + int to_ifindex; + int drops; + int sent; + int err; + char __data[0]; +}; + +struct trace_event_raw_xdp_exception { + struct trace_entry ent; + int prog_id; + u32 act; + int ifindex; + char __data[0]; +}; + +struct trace_event_raw_xdp_redirect_template { + struct trace_entry ent; + int prog_id; + u32 act; + int ifindex; + int err; + int to_ifindex; + u32 map_id; + int map_index; + char __data[0]; +}; + +struct trace_export { + struct trace_export *next; + void (*write)(struct trace_export *, const void *, unsigned int); + int flags; +}; + +struct trace_func_repeats { + long unsigned int ip; + long unsigned int parent_ip; + long unsigned int count; + long: 32; + u64 ts_last_call; +}; + +struct trace_kprobe { + struct dyn_event devent; + struct kretprobe rp; + long unsigned int *nhit; + const char *symbol; + struct trace_probe tp; +}; + +struct trace_mark { + long long unsigned int val; + char sym; + long: 32; +}; + +struct trace_min_max_param { + struct mutex *lock; + u64 *val; + u64 *min; + u64 *max; +}; + +struct tracer_opt; + +struct tracer_flags; + +struct trace_option_dentry { + struct tracer_opt *opt; + struct tracer_flags *flags; + struct trace_array *tr; + struct dentry *entry; +}; + +struct trace_options { + struct tracer *tracer; + struct trace_option_dentry *topts; +}; + +union upper_chunk; + +struct trace_pid_list { + raw_spinlock_t lock; + struct irq_work refill_irqwork; + union upper_chunk *upper[256]; + union upper_chunk *upper_list; + union lower_chunk *lower_list; + int free_upper_chunks; + int free_lower_chunks; +}; + +struct trace_print_flags { + long unsigned int mask; + const char *name; +}; + +struct trace_print_flags_u64 { + long long unsigned int mask; + const char *name; + long: 32; +}; + +struct trace_uprobe_filter { + rwlock_t rwlock; + int nr_systemwide; + struct list_head perf_events; +}; + +struct trace_probe_event { + unsigned int flags; + struct trace_event_class class; + struct trace_event_call call; + struct list_head files; + struct list_head probes; + struct trace_uprobe_filter filter[0]; +}; + +struct trace_probe_log { + const char *subsystem; + const char **argv; + int argc; + int index; +}; + +struct trace_subsystem_dir { + struct list_head list; + struct event_subsystem *subsystem; + struct trace_array *tr; + struct eventfs_inode *ei; + int ref_count; + int nr_events; +}; + +struct trace_uprobe { + struct dyn_event devent; + long: 32; + struct uprobe_consumer consumer; + struct path path; + char *filename; + struct uprobe *uprobe; + long unsigned int offset; + long unsigned int ref_ctr_offset; + long unsigned int *nhits; + struct trace_probe tp; + long: 32; +}; + +struct tracefs_dir_ops { + int (*mkdir)(const char *); + int (*rmdir)(const char *); +}; + +struct tracefs_fs_info { + kuid_t uid; + kgid_t gid; + umode_t mode; + unsigned int opts; +}; + +struct tracefs_inode { + struct inode vfs_inode; + struct list_head list; + long unsigned int flags; + void *private; +}; + +struct tracepoint_ext; + +struct tracepoint { + const char *name; + struct static_key_false key; + struct static_call_key *static_call_key; + void *static_call_tramp; + void *iterator; + void *probestub; + struct tracepoint_func *funcs; + struct tracepoint_ext *ext; +}; + +struct tracepoint_ext { + int (*regfunc)(void); + void (*unregfunc)(void); + unsigned int faultable: 1; +}; + +struct traceprobe_parse_context { + struct trace_event_call *event; + const char *funcname; + const struct btf_type *proto; + const struct btf_param *params; + s32 nr_params; + struct btf *btf; + const struct btf_type *last_type; + u32 last_bitoffs; + u32 last_bitsize; + struct trace_probe *tp; + unsigned int flags; + int offset; +}; + +struct tracer { + const char *name; + int (*init)(struct trace_array *); + void (*reset)(struct trace_array *); + void (*start)(struct trace_array *); + void (*stop)(struct trace_array *); + int (*update_thresh)(struct trace_array *); + void (*open)(struct trace_iterator *); + void (*pipe_open)(struct trace_iterator *); + void (*close)(struct trace_iterator *); + void (*pipe_close)(struct trace_iterator *); + ssize_t (*read)(struct trace_iterator *, struct file *, char *, size_t, loff_t *); + ssize_t (*splice_read)(struct trace_iterator *, struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int); + void (*print_header)(struct seq_file *); + enum print_line_t (*print_line)(struct trace_iterator *); + int (*set_flag)(struct trace_array *, u32, u32, int); + int (*flag_changed)(struct trace_array *, u32, int); + struct tracer *next; + struct tracer_flags *flags; + int enabled; + bool print_max; + bool allow_instances; + bool noboot; +}; + +struct tracer_flags { + u32 val; + struct tracer_opt *opts; + struct tracer *trace; +}; + +struct tracer_opt { + const char *name; + u32 bit; +}; + +typedef int (*cmp_func_t)(const void *, const void *); + +struct tracer_stat { + const char *name; + void * (*stat_start)(struct tracer_stat *); + void * (*stat_next)(void *, int); + cmp_func_t stat_cmp; + int (*stat_show)(struct seq_file *, void *); + void (*stat_release)(void *); + int (*stat_headers)(struct seq_file *); +}; + +struct tracing_log_err { + struct list_head list; + struct err_info info; + char loc[128]; + char *cmd; + long: 32; +}; + +struct transport_container { + struct attribute_container ac; + const struct attribute_group *statistics; +}; + +struct trc_stall_chk_rdr { + int nesting; + int ipi_to_cpu; + u8 needqs; +}; + +struct tree_descr { + const char *name; + const struct file_operations *ops; + int mode; +}; + +struct trie { + struct key_vector kv[1]; +}; + +struct ts_ops; + +struct ts_state; + +struct ts_config { + struct ts_ops *ops; + int flags; + unsigned int (*get_next_block)(unsigned int, const u8 **, struct ts_config *, struct ts_state *); + void (*finish)(struct ts_config *, struct ts_state *); +}; + +struct ts_ops { + const char *name; + struct ts_config * (*init)(const void *, unsigned int, gfp_t, int); + unsigned int (*find)(struct ts_config *, struct ts_state *); + void (*destroy)(struct ts_config *); + void * (*get_pattern)(struct ts_config *); + unsigned int (*get_pattern_len)(struct ts_config *); + struct module *owner; + struct list_head list; +}; + +struct ts_state { + unsigned int offset; + char cb[48]; +}; + +struct tsconfig_reply_data { + struct ethnl_reply_data base; + struct hwtstamp_provider_desc hwprov_desc; + struct { + u32 tx_type; + u32 rx_filter; + u32 flags; + } hwtst_config; +}; + +struct tsconfig_req_info { + struct ethnl_req_info base; +}; + +struct tsinfo_reply_data { + struct ethnl_reply_data base; + struct kernel_ethtool_ts_info ts_info; + long: 32; + struct ethtool_ts_stats stats; +}; + +struct tsinfo_req_info { + struct ethnl_req_info base; + struct hwtstamp_provider_desc hwprov_desc; +}; + +struct tso_t { + int next_frag_idx; + int size; + void *data; + u16 ip_id; + u8 tlen; + bool ipv6; + u32 tcp_seq; +}; + +struct tsq_tasklet { + struct tasklet_struct tasklet; + struct list_head head; +}; + +struct tty_buffer { + union { + struct tty_buffer *next; + struct llist_node free; + }; + unsigned int used; + unsigned int size; + unsigned int commit; + unsigned int lookahead; + unsigned int read; + bool flags; + long: 0; + u8 data[0]; +}; + +struct tty_bufhead { + struct tty_buffer *head; + struct work_struct work; + struct mutex lock; + atomic_t priority; + struct tty_buffer sentinel; + struct llist_head free; + atomic_t mem_used; + int mem_limit; + struct tty_buffer *tail; +}; + +struct tty_port; + +struct tty_operations; + +struct tty_driver { + struct kref kref; + struct cdev **cdevs; + struct module *owner; + const char *driver_name; + const char *name; + int name_base; + int major; + int minor_start; + unsigned int num; + short int type; + short int subtype; + struct ktermios init_termios; + long unsigned int flags; + struct proc_dir_entry *proc_entry; + struct tty_driver *other; + struct tty_struct **ttys; + struct tty_port **ports; + struct ktermios **termios; + void *driver_state; + const struct tty_operations *ops; + struct list_head tty_drivers; +}; + +struct tty_ldisc_ops; + +struct tty_ldisc { + struct tty_ldisc_ops *ops; + struct tty_struct *tty; +}; + +struct tty_ldisc_ops { + char *name; + int num; + int (*open)(struct tty_struct *); + void (*close)(struct tty_struct *); + void (*flush_buffer)(struct tty_struct *); + ssize_t (*read)(struct tty_struct *, struct file *, u8 *, size_t, void **, long unsigned int); + ssize_t (*write)(struct tty_struct *, struct file *, const u8 *, size_t); + int (*ioctl)(struct tty_struct *, unsigned int, long unsigned int); + int (*compat_ioctl)(struct tty_struct *, unsigned int, long unsigned int); + void (*set_termios)(struct tty_struct *, const struct ktermios *); + __poll_t (*poll)(struct tty_struct *, struct file *, struct poll_table_struct *); + void (*hangup)(struct tty_struct *); + void (*receive_buf)(struct tty_struct *, const u8 *, const u8 *, size_t); + void (*write_wakeup)(struct tty_struct *); + void (*dcd_change)(struct tty_struct *, bool); + size_t (*receive_buf2)(struct tty_struct *, const u8 *, const u8 *, size_t); + void (*lookahead_buf)(struct tty_struct *, const u8 *, const u8 *, size_t); + struct module *owner; +}; + +struct winsize; + +struct tty_operations { + struct tty_struct * (*lookup)(struct tty_driver *, struct file *, int); + int (*install)(struct tty_driver *, struct tty_struct *); + void (*remove)(struct tty_driver *, struct tty_struct *); + int (*open)(struct tty_struct *, struct file *); + void (*close)(struct tty_struct *, struct file *); + void (*shutdown)(struct tty_struct *); + void (*cleanup)(struct tty_struct *); + ssize_t (*write)(struct tty_struct *, const u8 *, size_t); + int (*put_char)(struct tty_struct *, u8); + void (*flush_chars)(struct tty_struct *); + unsigned int (*write_room)(struct tty_struct *); + unsigned int (*chars_in_buffer)(struct tty_struct *); + int (*ioctl)(struct tty_struct *, unsigned int, long unsigned int); + long int (*compat_ioctl)(struct tty_struct *, unsigned int, long unsigned int); + void (*set_termios)(struct tty_struct *, const struct ktermios *); + void (*throttle)(struct tty_struct *); + void (*unthrottle)(struct tty_struct *); + void (*stop)(struct tty_struct *); + void (*start)(struct tty_struct *); + void (*hangup)(struct tty_struct *); + int (*break_ctl)(struct tty_struct *, int); + void (*flush_buffer)(struct tty_struct *); + int (*ldisc_ok)(struct tty_struct *, int); + void (*set_ldisc)(struct tty_struct *); + void (*wait_until_sent)(struct tty_struct *, int); + void (*send_xchar)(struct tty_struct *, u8); + int (*tiocmget)(struct tty_struct *); + int (*tiocmset)(struct tty_struct *, unsigned int, unsigned int); + int (*resize)(struct tty_struct *, struct winsize *); + int (*get_icount)(struct tty_struct *, struct serial_icounter_struct *); + int (*get_serial)(struct tty_struct *, struct serial_struct *); + int (*set_serial)(struct tty_struct *, struct serial_struct *); + void (*show_fdinfo)(struct tty_struct *, struct seq_file *); + int (*proc_show)(struct seq_file *, void *); +}; + +struct tty_port_operations; + +struct tty_port_client_operations; + +struct tty_port { + struct tty_bufhead buf; + struct tty_struct *tty; + struct tty_struct *itty; + const struct tty_port_operations *ops; + const struct tty_port_client_operations *client_ops; + spinlock_t lock; + int blocked_open; + int count; + wait_queue_head_t open_wait; + wait_queue_head_t delta_msr_wait; + long unsigned int flags; + long unsigned int iflags; + unsigned char console: 1; + struct mutex mutex; + struct mutex buf_mutex; + u8 *xmit_buf; + struct { + union { + struct __kfifo kfifo; + u8 *type; + const u8 *const_type; + char (*rectype)[0]; + u8 *ptr; + const u8 *ptr_const; + }; + u8 buf[0]; + } xmit_fifo; + unsigned int close_delay; + unsigned int closing_wait; + int drain_delay; + struct kref kref; + void *client_data; +}; + +struct tty_port_client_operations { + size_t (*receive_buf)(struct tty_port *, const u8 *, const u8 *, size_t); + void (*lookahead_buf)(struct tty_port *, const u8 *, const u8 *, size_t); + void (*write_wakeup)(struct tty_port *); +}; + +struct tty_port_operations { + bool (*carrier_raised)(struct tty_port *); + void (*dtr_rts)(struct tty_port *, bool); + void (*shutdown)(struct tty_port *); + int (*activate)(struct tty_port *, struct tty_struct *); + void (*destruct)(struct tty_port *); +}; + +struct winsize { + short unsigned int ws_row; + short unsigned int ws_col; + short unsigned int ws_xpixel; + short unsigned int ws_ypixel; +}; + +struct tty_struct { + struct kref kref; + int index; + struct device *dev; + struct tty_driver *driver; + struct tty_port *port; + const struct tty_operations *ops; + struct tty_ldisc *ldisc; + struct ld_semaphore ldisc_sem; + struct mutex atomic_write_lock; + struct mutex legacy_mutex; + struct mutex throttle_mutex; + struct rw_semaphore termios_rwsem; + struct mutex winsize_mutex; + struct ktermios termios; + struct ktermios termios_locked; + char name[64]; + long unsigned int flags; + int count; + unsigned int receive_room; + struct winsize winsize; + struct { + spinlock_t lock; + bool stopped; + bool tco_stopped; + } flow; + struct { + struct pid *pgrp; + struct pid *session; + spinlock_t lock; + unsigned char pktstatus; + bool packet; + } ctrl; + bool hw_stopped; + bool closing; + int flow_change; + struct tty_struct *link; + struct fasync_struct *fasync; + wait_queue_head_t write_wait; + wait_queue_head_t read_wait; + struct work_struct hangup_work; + void *disc_data; + void *driver_data; + spinlock_t files_lock; + int write_cnt; + u8 *write_buf; + struct list_head tty_files; + struct work_struct SAK_work; +}; + +struct u32_fract { + __u32 numerator; + __u32 denominator; +}; + +struct ubuf_info_ops; + +struct ubuf_info { + const struct ubuf_info_ops *ops; + refcount_t refcnt; + u8 flags; +}; + +struct ubuf_info_msgzc { + struct ubuf_info ubuf; + union { + struct { + long unsigned int desc; + void *ctx; + }; + struct { + u32 id; + u16 len; + u16 zerocopy: 1; + u32 bytelen; + }; + }; + struct mmpin mmp; +}; + +struct ubuf_info_ops { + void (*complete)(struct sk_buff *, struct ubuf_info *, bool); + int (*link_skb)(struct sk_buff *, struct ubuf_info *); +}; + +struct ucounts { + struct hlist_node node; + struct user_namespace *ns; + kuid_t uid; + atomic_t count; + atomic_long_t ucount[8]; + atomic_long_t rlimit[4]; +}; + +struct ucred { + __u32 pid; + __u32 uid; + __u32 gid; +}; + +struct udp_sock { + struct inet_sock inet; + long unsigned int udp_flags; + int pending; + __u8 encap_type; + __u16 udp_lrpa_hash; + struct hlist_nulls_node udp_lrpa_node; + __u16 len; + __u16 gso_size; + __u16 pcslen; + __u16 pcrlen; + int (*encap_rcv)(struct sock *, struct sk_buff *); + void (*encap_err_rcv)(struct sock *, struct sk_buff *, int, __be16, u32, u8 *); + int (*encap_err_lookup)(struct sock *, struct sk_buff *); + void (*encap_destroy)(struct sock *); + struct sk_buff * (*gro_receive)(struct sock *, struct list_head *, struct sk_buff *); + int (*gro_complete)(struct sock *, struct sk_buff *, int); + struct sk_buff_head reader_queue; + int forward_deficit; + int forward_threshold; + bool peeking_with_offset; + long: 32; +}; + +struct udp6_sock { + struct udp_sock udp; + struct ipv6_pinfo inet6; + long: 32; +}; + +struct udp_dev_scratch { + u32 _tsize_state; +}; + +struct udp_hslot { + union { + struct hlist_head head; + struct hlist_nulls_head nulls_head; + }; + int count; + spinlock_t lock; +}; + +struct udp_hslot_main { + struct udp_hslot hslot; + u32 hash4_cnt; + long: 32; +}; + +struct udp_mib { + long unsigned int mibs[10]; +}; + +struct udp_skb_cb { + union { + struct inet_skb_parm h4; + struct inet6_skb_parm h6; + } header; + __u16 cscov; + __u8 partial_cov; +}; + +struct udp_table { + struct udp_hslot *hash; + struct udp_hslot_main *hash2; + struct udp_hslot *hash4; + unsigned int mask; + unsigned int log; +}; + +struct udp_tunnel_info { + short unsigned int type; + sa_family_t sa_family; + __be16 port; + u8 hw_priv; +}; + +struct udp_tunnel_nic_table_info { + unsigned int n_entries; + unsigned int tunnel_types; +}; + +struct udp_tunnel_nic_shared; + +struct udp_tunnel_nic_info { + int (*set_port)(struct net_device *, unsigned int, unsigned int, struct udp_tunnel_info *); + int (*unset_port)(struct net_device *, unsigned int, unsigned int, struct udp_tunnel_info *); + int (*sync_table)(struct net_device *, unsigned int); + struct udp_tunnel_nic_shared *shared; + unsigned int flags; + struct udp_tunnel_nic_table_info tables[4]; +}; + +struct udp_tunnel_nic_ops { + void (*get_port)(struct net_device *, unsigned int, unsigned int, struct udp_tunnel_info *); + void (*set_port_priv)(struct net_device *, unsigned int, unsigned int, u8); + void (*add_port)(struct net_device *, struct udp_tunnel_info *); + void (*del_port)(struct net_device *, struct udp_tunnel_info *); + void (*reset_ntf)(struct net_device *); + size_t (*dump_size)(struct net_device *, unsigned int); + int (*dump_write)(struct net_device *, unsigned int, struct sk_buff *); +}; + +struct udp_tunnel_nic_shared { + struct udp_tunnel_nic *udp_tunnel_nic_info; + struct list_head devices; +}; + +struct udphdr { + __be16 source; + __be16 dest; + __be16 len; + __sum16 check; +}; + +struct uevent_sock { + struct list_head list; + struct sock *sk; +}; + +struct uncached_list { + spinlock_t lock; + struct list_head head; +}; + +struct undef_hook { + struct list_head node; + u32 instr_mask; + u32 instr_val; + u32 cpsr_mask; + u32 cpsr_val; + int (*fn)(struct pt_regs *, unsigned int); +}; + +struct unix_address { + refcount_t refcnt; + int len; + struct sockaddr_un name[0]; +}; + +struct unix_vertex; + +struct unix_sock { + struct sock sk; + struct unix_address *addr; + struct path path; + struct mutex iolock; + struct mutex bindlock; + struct sock *peer; + struct sock *listener; + struct unix_vertex *vertex; + spinlock_t lock; + struct socket_wq peer_wq; + wait_queue_entry_t peer_wake; + struct scm_stat scm_stat; + long: 32; +}; + +struct unix_vertex { + struct list_head edges; + struct list_head entry; + struct list_head scc_entry; + long unsigned int out_degree; + long unsigned int index; + long unsigned int scc_index; +}; + +struct unlink_vma_file_batch { + int count; + struct vm_area_struct *vmas[8]; +}; + +struct unwind_ctrl_block { + long unsigned int vrs[16]; + const long unsigned int *insn; + long unsigned int sp_high; + long unsigned int *lr_addr; + int check_each_pop; + int entries; + int byte; +}; + +struct unwind_idx { + long unsigned int addr_offset; + long unsigned int insn; +}; + +struct unwind_table { + struct list_head list; + struct list_head mod_list; + const struct unwind_idx *start; + const struct unwind_idx *origin; + const struct unwind_idx *stop; + long unsigned int begin_addr; + long unsigned int end_addr; +}; + +union upper_chunk { + union upper_chunk *next; + union lower_chunk *data[256]; +}; + +struct uprobe { + struct rb_node rb_node; + refcount_t ref; + struct rw_semaphore register_rwsem; + struct rw_semaphore consumer_rwsem; + struct list_head pending_list; + struct list_head consumers; + struct inode *inode; + union { + struct callback_head rcu; + struct work_struct work; + }; + long: 32; + loff_t offset; + loff_t ref_ctr_offset; + long unsigned int flags; + struct arch_uprobe arch; + long: 32; +}; + +struct uprobe_cpu_buffer { + struct mutex mutex; + void *buf; + int dsize; +}; + +struct uprobe_dispatch_data { + struct trace_uprobe *tu; + long unsigned int bp_addr; +}; + +struct uprobe_task { + enum uprobe_task_state state; + unsigned int depth; + struct return_instance *return_instances; + struct return_instance *ri_pool; + struct timer_list ri_timer; + seqcount_t ri_seqcount; + union { + struct { + struct arch_uprobe_task autask; + long unsigned int vaddr; + }; + struct { + struct callback_head dup_xol_work; + long unsigned int dup_xol_addr; + }; + }; + struct uprobe *active_uprobe; + long unsigned int xol_vaddr; + struct arch_uprobe *auprobe; +}; + +struct uprobe_trace_entry_head { + struct trace_entry ent; + long unsigned int vaddr[0]; +}; + +struct used_address { + struct __kernel_sockaddr_storage name; + unsigned int name_len; +}; + +struct user_arg_ptr { + union { + const char * const *native; + } ptr; +}; + +struct user_namespace { + struct uid_gid_map uid_map; + struct uid_gid_map gid_map; + struct uid_gid_map projid_map; + struct user_namespace *parent; + int level; + kuid_t owner; + kgid_t group; + struct ns_common ns; + long unsigned int flags; + bool parent_could_setfcap; + struct work_struct work; + struct ucounts *ucounts; + long int ucount_max[8]; + long int rlimit_max[4]; +}; + +struct user_regset; + +typedef int user_regset_get2_fn(struct task_struct *, const struct user_regset *, struct membuf); + +typedef int user_regset_set_fn(struct task_struct *, const struct user_regset *, unsigned int, unsigned int, const void *, const void *); + +typedef int user_regset_active_fn(struct task_struct *, const struct user_regset *); + +typedef int user_regset_writeback_fn(struct task_struct *, const struct user_regset *, int); + +struct user_regset { + user_regset_get2_fn *regset_get; + user_regset_set_fn *set; + user_regset_active_fn *active; + user_regset_writeback_fn *writeback; + unsigned int n; + unsigned int size; + unsigned int align; + unsigned int bias; + unsigned int core_note_type; +}; + +struct user_regset_view { + const char *name; + const struct user_regset *regsets; + unsigned int n; + u32 e_flags; + u16 e_machine; + u8 ei_osabi; +}; + +struct user_struct { + refcount_t __count; + long unsigned int unix_inflight; + atomic_long_t pipe_bufs; + struct hlist_node uidhash_node; + kuid_t uid; + atomic_long_t locked_vm; + struct ratelimit_state ratelimit; +}; + +struct userstack_entry { + struct trace_entry ent; + unsigned int tgid; + long unsigned int caller[8]; +}; + +struct ustat { + __kernel_daddr_t f_tfree; + long unsigned int f_tinode; + char f_fname[6]; + char f_fpack[6]; +}; + +struct ustring_buffer { + char buffer[1024]; +}; + +struct uts_namespace { + struct new_utsname name; + struct user_namespace *user_ns; + struct ucounts *ucounts; + struct ns_common ns; +}; + +struct va_format { + const char *fmt; + va_list *va; +}; + +struct vfree_deferred { + struct llist_head list; + struct work_struct wq; +}; + +struct vfs_cap_data { + __le32 magic_etc; + struct { + __le32 permitted; + __le32 inheritable; + } data[2]; +}; + +struct vfs_ns_cap_data { + __le32 magic_etc; + struct { + __le32 permitted; + __le32 inheritable; + } data[2]; + __le32 rootid; +}; + +struct vlan_ethhdr { + union { + struct { + unsigned char h_dest[6]; + unsigned char h_source[6]; + }; + struct { + unsigned char h_dest[6]; + unsigned char h_source[6]; + } addrs; + }; + __be16 h_vlan_proto; + __be16 h_vlan_TCI; + __be16 h_vlan_encapsulated_proto; +}; + +struct vlan_hdr { + __be16 h_vlan_TCI; + __be16 h_vlan_encapsulated_proto; +}; + +struct vm_userfaultfd_ctx {}; + +struct vm_area_struct { + union { + struct { + long unsigned int vm_start; + long unsigned int vm_end; + }; + }; + struct mm_struct *vm_mm; + pgprot_t vm_page_prot; + union { + const vm_flags_t vm_flags; + vm_flags_t __vm_flags; + }; + struct { + struct rb_node rb; + long unsigned int rb_subtree_last; + } shared; + struct list_head anon_vma_chain; + struct anon_vma *anon_vma; + const struct vm_operations_struct *vm_ops; + long unsigned int vm_pgoff; + struct file *vm_file; + void *vm_private_data; + struct vm_userfaultfd_ctx vm_userfaultfd_ctx; +}; + +struct vm_fault { + const struct { + struct vm_area_struct *vma; + gfp_t gfp_mask; + long unsigned int pgoff; + long unsigned int address; + long unsigned int real_address; + }; + enum fault_flag flags; + pmd_t *pmd; + pud_t *pud; + union { + pte_t orig_pte; + pmd_t orig_pmd; + }; + struct page *cow_page; + struct page *page; + pte_t *pte; + spinlock_t *ptl; + pgtable_t prealloc_pte; +}; + +struct vm_operations_struct { + void (*open)(struct vm_area_struct *); + void (*close)(struct vm_area_struct *); + int (*may_split)(struct vm_area_struct *, long unsigned int); + int (*mremap)(struct vm_area_struct *); + int (*mprotect)(struct vm_area_struct *, long unsigned int, long unsigned int, long unsigned int); + vm_fault_t (*fault)(struct vm_fault *); + vm_fault_t (*huge_fault)(struct vm_fault *, unsigned int); + vm_fault_t (*map_pages)(struct vm_fault *, long unsigned int, long unsigned int); + long unsigned int (*pagesize)(struct vm_area_struct *); + vm_fault_t (*page_mkwrite)(struct vm_fault *); + vm_fault_t (*pfn_mkwrite)(struct vm_fault *); + int (*access)(struct vm_area_struct *, long unsigned int, void *, int, int); + const char * (*name)(struct vm_area_struct *); + struct page * (*find_special_page)(struct vm_area_struct *, long unsigned int); +}; + +struct vm_special_mapping { + const char *name; + struct page **pages; + vm_fault_t (*fault)(const struct vm_special_mapping *, struct vm_area_struct *, struct vm_fault *); + int (*mremap)(const struct vm_special_mapping *, struct vm_area_struct *); + void (*close)(const struct vm_special_mapping *, struct vm_area_struct *); +}; + +struct vm_stack { + struct callback_head rcu; + struct vm_struct *stack_vm_area; +}; + +struct vm_unmapped_area_info { + long unsigned int flags; + long unsigned int length; + long unsigned int low_limit; + long unsigned int high_limit; + long unsigned int align_mask; + long unsigned int align_offset; + long unsigned int start_gap; +}; + +struct vma_merge_struct { + struct mm_struct *mm; + struct vma_iterator *vmi; + long unsigned int pgoff; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct vm_area_struct *vma; + long unsigned int start; + long unsigned int end; + long unsigned int flags; + struct file *file; + struct anon_vma *anon_vma; + struct mempolicy *policy; + struct vm_userfaultfd_ctx uffd_ctx; + struct anon_vma_name *anon_name; + enum vma_merge_flags merge_flags; + enum vma_merge_state state; +}; + +struct vma_prepare { + struct vm_area_struct *vma; + struct vm_area_struct *adj_next; + struct file *file; + struct address_space *mapping; + struct anon_vma *anon_vma; + struct vm_area_struct *insert; + struct vm_area_struct *remove; + struct vm_area_struct *remove2; +}; + +struct vmap_area { + long unsigned int va_start; + long unsigned int va_end; + struct rb_node rb_node; + struct list_head list; + union { + long unsigned int subtree_max_size; + struct vm_struct *vm; + }; + long unsigned int flags; +}; + +struct vmap_block { + spinlock_t lock; + struct vmap_area *va; + long unsigned int free; + long unsigned int dirty; + long unsigned int used_map[32]; + long unsigned int dirty_min; + long unsigned int dirty_max; + struct list_head free_list; + struct callback_head callback_head; + struct list_head purge; + unsigned int cpu; +}; + +struct vmap_block_queue { + spinlock_t lock; + struct list_head free; + struct xarray vmap_blocks; +}; + +struct vmap_pool { + struct list_head head; + long unsigned int len; +}; + +struct vmap_node { + struct vmap_pool pool[256]; + spinlock_t pool_lock; + bool skip_populate; + struct rb_list busy; + struct rb_list lazy; + struct list_head purge_list; + struct work_struct purge_work; + long unsigned int nr_purged; +}; + +struct vxlan_metadata { + u32 gbp; +}; + +struct wait_bit_key { + long unsigned int *flags; + int bit_nr; + long unsigned int timeout; +}; + +struct wait_bit_queue_entry { + struct wait_bit_key key; + struct wait_queue_entry wq_entry; +}; + +struct waitid_info; + +struct wait_opts { + enum pid_type wo_type; + int wo_flags; + struct pid *wo_pid; + struct waitid_info *wo_info; + int wo_stat; + struct rusage *wo_rusage; + wait_queue_entry_t child_wait; + int notask_error; +}; + +struct wait_page_key { + struct folio *folio; + int bit_nr; + int page_match; +}; + +struct wait_page_queue { + struct folio *folio; + int bit_nr; + wait_queue_entry_t wait; +}; + +struct waitid_info { + pid_t pid; + uid_t uid; + int status; + int cause; +}; + +struct wake_q_head { + struct wake_q_node *first; + struct wake_q_node **lastp; +}; + +struct warn_args { + const char *fmt; + va_list args; +}; + +struct wb_completion { + atomic_t cnt; + wait_queue_head_t *waitq; +}; + +struct wb_domain { + spinlock_t lock; + struct fprop_global completions; + struct timer_list period_timer; + long unsigned int period_time; + long unsigned int dirty_limit_tstamp; + long unsigned int dirty_limit; +}; + +struct wb_lock_cookie { + bool locked; + long unsigned int flags; +}; + +struct wb_writeback_work { + long int nr_pages; + struct super_block *sb; + enum writeback_sync_modes sync_mode; + unsigned int tagged_writepages: 1; + unsigned int for_kupdate: 1; + unsigned int range_cyclic: 1; + unsigned int for_background: 1; + unsigned int for_sync: 1; + unsigned int auto_free: 1; + enum wb_reason reason; + struct list_head list; + struct wb_completion *done; +}; + +struct wol_reply_data { + struct ethnl_reply_data base; + struct ethtool_wolinfo wol; + bool show_sopass; +}; + +struct word_at_a_time { + const long unsigned int one_bits; + const long unsigned int high_bits; +}; + +struct work_offq_data { + u32 pool_id; + u32 disable; + u32 flags; +}; + +struct worker { + union { + struct list_head entry; + struct hlist_node hentry; + }; + struct work_struct *current_work; + work_func_t current_func; + struct pool_workqueue *current_pwq; + long: 32; + u64 current_at; + unsigned int current_color; + int sleeping; + work_func_t last_func; + struct list_head scheduled; + struct task_struct *task; + struct worker_pool *pool; + struct list_head node; + long unsigned int last_active; + unsigned int flags; + int id; + char desc[32]; + struct workqueue_struct *rescue_wq; + long: 32; +}; + +struct worker_pool { + raw_spinlock_t lock; + int cpu; + int node; + int id; + unsigned int flags; + long unsigned int watchdog_ts; + bool cpu_stall; + int nr_running; + struct list_head worklist; + int nr_workers; + int nr_idle; + struct list_head idle_list; + struct timer_list idle_timer; + struct work_struct idle_cull_work; + struct timer_list mayday_timer; + struct hlist_head busy_hash[64]; + struct worker *manager; + struct list_head workers; + struct ida worker_ida; + struct workqueue_attrs *attrs; + struct hlist_node hash_node; + int refcnt; + struct callback_head rcu; +}; + +struct workqueue_attrs { + int nice; + cpumask_var_t cpumask; + cpumask_var_t __pod_cpumask; + bool affn_strict; + enum wq_affn_scope affn_scope; + bool ordered; +}; + +struct wq_flusher; + +struct wq_node_nr_active; + +struct workqueue_struct { + struct list_head pwqs; + struct list_head list; + struct mutex mutex; + int work_color; + int flush_color; + atomic_t nr_pwqs_to_flush; + struct wq_flusher *first_flusher; + struct list_head flusher_queue; + struct list_head flusher_overflow; + struct list_head maydays; + struct worker *rescuer; + int nr_drainers; + int max_active; + int min_active; + int saved_max_active; + int saved_min_active; + struct workqueue_attrs *unbound_attrs; + struct pool_workqueue *dfl_pwq; + char name[32]; + struct callback_head rcu; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + unsigned int flags; + struct pool_workqueue **cpu_pwq; + struct wq_node_nr_active *node_nr_active[0]; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct wq_barrier { + struct work_struct work; + struct completion done; + struct task_struct *task; +}; + +struct wq_drain_dead_softirq_work { + struct work_struct work; + struct worker_pool *pool; + struct completion done; +}; + +struct wq_flusher { + struct list_head list; + int flush_color; + struct completion done; +}; + +struct wq_node_nr_active { + int max; + atomic_t nr; + raw_spinlock_t lock; + struct list_head pending_pwqs; +}; + +struct wq_pod_type { + int nr_pods; + cpumask_var_t *pod_cpus; + int *pod_node; + int *cpu_pod; +}; + +typedef void (*swap_func_t)(void *, void *, int); + +struct wrapper { + cmp_func_t cmp; + swap_func_t swap; +}; + +struct swap_iocb; + +struct writeback_control { + long int nr_to_write; + long int pages_skipped; + loff_t range_start; + loff_t range_end; + enum writeback_sync_modes sync_mode; + unsigned int for_kupdate: 1; + unsigned int for_background: 1; + unsigned int tagged_writepages: 1; + unsigned int for_reclaim: 1; + unsigned int range_cyclic: 1; + unsigned int for_sync: 1; + unsigned int unpinned_netfs_wb: 1; + unsigned int no_cgroup_owner: 1; + struct swap_iocb **swap_plug; + struct list_head *list; + struct folio_batch fbatch; + long unsigned int index; + int saved_err; +}; + +struct ww_acquire_ctx { + struct task_struct *task; + long unsigned int stamp; + unsigned int acquired; + short unsigned int wounded; + short unsigned int is_wait_die; +}; + +struct ww_mutex { + struct mutex base; + struct ww_acquire_ctx *ctx; +}; + +struct xa_limit { + u32 max; + u32 min; +}; + +struct xa_node { + unsigned char shift; + unsigned char offset; + unsigned char count; + unsigned char nr_values; + struct xa_node *parent; + struct xarray *array; + union { + struct list_head private_list; + struct callback_head callback_head; + }; + void *slots[64]; + union { + long unsigned int tags[6]; + long unsigned int marks[6]; + }; +}; + +typedef void (*xa_update_node_t)(struct xa_node *); + +struct xa_state { + struct xarray *xa; + long unsigned int xa_index; + unsigned char xa_shift; + unsigned char xa_sibs; + unsigned char xa_offset; + unsigned char xa_pad; + struct xa_node *xa_node; + struct xa_node *xa_alloc; + xa_update_node_t xa_update; + struct list_lru *xa_lru; +}; + +struct xattr_args { + __u64 value; + __u32 size; + __u32 flags; +}; + +struct xattr_handler { + const char *name; + const char *prefix; + int flags; + bool (*list)(struct dentry *); + int (*get)(const struct xattr_handler *, struct dentry *, struct inode *, const char *, void *, size_t); + int (*set)(const struct xattr_handler *, struct mnt_idmap *, struct dentry *, struct inode *, const char *, const void *, size_t, int); +}; + +struct xattr_name { + char name[256]; +}; + +struct xdp_attachment_info { + struct bpf_prog *prog; + u32 flags; +}; + +struct xdp_buff_xsk { + struct xdp_buff xdp; + u8 cb[24]; + dma_addr_t dma; + dma_addr_t frame_dma; + struct xsk_buff_pool *pool; + struct list_head list_node; + long: 32; +}; + +struct xdp_bulk_queue { + void *q[8]; + struct list_head flush_node; + struct bpf_cpu_map_entry *obj; + unsigned int count; +}; + +struct xdp_cpumap_stats { + unsigned int redirect; + unsigned int pass; + unsigned int drop; +}; + +struct xdp_desc { + __u64 addr; + __u32 len; + __u32 options; +}; + +struct xdp_dev_bulk_queue { + struct xdp_frame *q[16]; + struct list_head flush_node; + struct net_device *dev; + struct net_device *dev_rx; + struct bpf_prog *xdp_prog; + unsigned int count; +}; + +struct xdp_frame { + void *data; + u32 len; + u32 headroom; + u32 metasize; + enum xdp_mem_type mem_type: 32; + struct net_device *dev_rx; + u32 frame_sz; + u32 flags; +}; + +struct xdp_frame_bulk { + int count; + netmem_ref q[16]; +}; + +struct xdp_mem_allocator { + struct xdp_mem_info mem; + union { + void *allocator; + struct page_pool *page_pool; + }; + struct rhash_head node; + struct callback_head rcu; +}; + +struct xdp_metadata_ops { + int (*xmo_rx_timestamp)(const struct xdp_md *, u64 *); + int (*xmo_rx_hash)(const struct xdp_md *, u32 *, enum xdp_rss_hash_type *); + int (*xmo_rx_vlan_tag)(const struct xdp_md *, __be16 *, u16 *); +}; + +struct xdp_page_head { + struct xdp_buff orig_ctx; + struct xdp_buff ctx; + union { + struct { + struct {} __empty_frame; + struct xdp_frame frame[0]; + }; + struct { + struct {} __empty_data; + u8 data[0]; + }; + }; +}; + +struct xsk_queue; + +struct xdp_umem; + +struct xdp_sock { + struct sock sk; + struct xsk_queue *rx; + struct net_device *dev; + struct xdp_umem *umem; + struct list_head flush_node; + struct xsk_buff_pool *pool; + u16 queue_id; + bool zc; + bool sg; + enum { + XSK_READY = 0, + XSK_BOUND = 1, + XSK_UNBOUND = 2, + } state; + struct xsk_queue *tx; + struct list_head tx_list; + u32 tx_budget_spent; + spinlock_t rx_lock; + u64 rx_dropped; + u64 rx_queue_full; + struct sk_buff *skb; + struct list_head map_list; + spinlock_t map_list_lock; + struct mutex mutex; + struct xsk_queue *fq_tmp; + struct xsk_queue *cq_tmp; +}; + +struct xdp_test_data { + struct xdp_buff *orig_ctx; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + struct xdp_rxq_info rxq; + struct net_device *dev; + struct page_pool *pp; + struct xdp_frame **frames; + struct sk_buff **skbs; + struct xdp_mem_info mem; + u32 batch_size; + u32 frame_cnt; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +struct xdp_txq_info { + struct net_device *dev; +}; + +struct xdp_umem { + void *addrs; + long: 32; + u64 size; + u32 headroom; + u32 chunk_size; + u32 chunks; + u32 npgs; + struct user_struct *user; + refcount_t users; + u8 flags; + u8 tx_metadata_len; + bool zc; + struct page **pgs; + int id; + struct list_head xsk_dma_list; + struct work_struct work; + long: 32; +}; + +struct xfrm_address_filter { + xfrm_address_t saddr; + xfrm_address_t daddr; + __u16 family; + __u8 splen; + __u8 dplen; +}; + +struct xfrm_algo { + char alg_name[64]; + unsigned int alg_key_len; + char alg_key[0]; +}; + +struct xfrm_algo_aead { + char alg_name[64]; + unsigned int alg_key_len; + unsigned int alg_icv_len; + char alg_key[0]; +}; + +struct xfrm_algo_auth { + char alg_name[64]; + unsigned int alg_key_len; + unsigned int alg_trunc_len; + char alg_key[0]; +}; + +struct xfrm_dev_offload { + struct net_device *dev; + netdevice_tracker dev_tracker; + struct net_device *real_dev; + long unsigned int offload_handle; + u8 dir: 2; + u8 type: 2; + u8 flags: 2; +}; + +struct xfrm_encap_tmpl { + __u16 encap_type; + __be16 encap_sport; + __be16 encap_dport; + xfrm_address_t encap_oa; +}; + +struct xfrm_id { + xfrm_address_t daddr; + __be32 spi; + __u8 proto; +}; + +struct xfrm_lifetime_cfg { + __u64 soft_byte_limit; + __u64 hard_byte_limit; + __u64 soft_packet_limit; + __u64 hard_packet_limit; + __u64 soft_add_expires_seconds; + __u64 hard_add_expires_seconds; + __u64 soft_use_expires_seconds; + __u64 hard_use_expires_seconds; +}; + +struct xfrm_lifetime_cur { + __u64 bytes; + __u64 packets; + __u64 add_time; + __u64 use_time; +}; + +struct xfrm_mark { + __u32 v; + __u32 m; +}; + +struct xfrm_mode { + u8 encap; + u8 family; + u8 flags; +}; + +struct xfrm_mode_cbs { + struct module *owner; + int (*init_state)(struct xfrm_state *); + int (*clone_state)(struct xfrm_state *, struct xfrm_state *); + void (*destroy_state)(struct xfrm_state *); + int (*user_init)(struct net *, struct xfrm_state *, struct nlattr **, struct netlink_ext_ack *); + int (*copy_to_user)(struct xfrm_state *, struct sk_buff *); + unsigned int (*sa_len)(const struct xfrm_state *); + u32 (*get_inner_mtu)(struct xfrm_state *, int); + int (*input)(struct xfrm_state *, struct sk_buff *); + int (*output)(struct net *, struct sock *, struct sk_buff *); + int (*prepare_output)(struct xfrm_state *, struct sk_buff *); +}; + +struct xfrm_replay_state { + __u32 oseq; + __u32 seq; + __u32 bitmap; +}; + +struct xfrm_replay_state_esn { + unsigned int bmp_len; + __u32 oseq; + __u32 seq; + __u32 oseq_hi; + __u32 seq_hi; + __u32 replay_window; + __u32 bmp[0]; +}; + +struct xfrm_sec_ctx { + __u8 ctx_doi; + __u8 ctx_alg; + __u16 ctx_len; + __u32 ctx_sid; + char ctx_str[0]; +}; + +struct xfrm_selector { + xfrm_address_t daddr; + xfrm_address_t saddr; + __be16 dport; + __be16 dport_mask; + __be16 sport; + __be16 sport_mask; + __u16 family; + __u8 prefixlen_d; + __u8 prefixlen_s; + __u8 proto; + int ifindex; + __kernel_uid32_t user; +}; + +struct xfrm_state_walk { + struct list_head all; + u8 state; + u8 dying; + u8 proto; + u32 seq; + struct xfrm_address_filter *filter; +}; + +struct xfrm_stats { + __u32 replay_window; + __u32 replay; + __u32 integrity_failed; +}; + +struct xfrm_type; + +struct xfrm_type_offload; + +struct xfrm_state { + possible_net_t xs_net; + union { + struct hlist_node gclist; + struct hlist_node bydst; + }; + union { + struct hlist_node dev_gclist; + struct hlist_node bysrc; + }; + struct hlist_node byspi; + struct hlist_node byseq; + struct hlist_node state_cache; + struct hlist_node state_cache_input; + refcount_t refcnt; + spinlock_t lock; + u32 pcpu_num; + struct xfrm_id id; + struct xfrm_selector sel; + struct xfrm_mark mark; + u32 if_id; + u32 tfcpad; + u32 genid; + struct xfrm_state_walk km; + struct { + u32 reqid; + u8 mode; + u8 replay_window; + u8 aalgo; + u8 ealgo; + u8 calgo; + u8 flags; + u16 family; + xfrm_address_t saddr; + int header_len; + int enc_hdr_len; + int trailer_len; + u32 extra_flags; + struct xfrm_mark smark; + } props; + long: 32; + struct xfrm_lifetime_cfg lft; + struct xfrm_algo_auth *aalg; + struct xfrm_algo *ealg; + struct xfrm_algo *calg; + struct xfrm_algo_aead *aead; + const char *geniv; + __be16 new_mapping_sport; + u32 new_mapping; + u32 mapping_maxage; + struct xfrm_encap_tmpl *encap; + struct sock *encap_sk; + u32 nat_keepalive_interval; + long: 32; + time64_t nat_keepalive_expiration; + xfrm_address_t *coaddr; + struct xfrm_state *tunnel; + atomic_t tunnel_users; + struct xfrm_replay_state replay; + struct xfrm_replay_state_esn *replay_esn; + struct xfrm_replay_state preplay; + struct xfrm_replay_state_esn *preplay_esn; + enum xfrm_replay_mode repl_mode; + u32 xflags; + u32 replay_maxage; + u32 replay_maxdiff; + struct timer_list rtimer; + struct xfrm_stats stats; + long: 32; + struct xfrm_lifetime_cur curlft; + struct hrtimer mtimer; + struct xfrm_dev_offload xso; + long int saved_tmo; + long: 32; + time64_t lastused; + struct page_frag xfrag; + const struct xfrm_type *type; + struct xfrm_mode inner_mode; + struct xfrm_mode inner_mode_iaf; + struct xfrm_mode outer_mode; + const struct xfrm_type_offload *type_offload; + struct xfrm_sec_ctx *security; + void *data; + u8 dir; + const struct xfrm_mode_cbs *mode_cbs; + void *mode_data; +}; + +struct xfrm_tunnel { + int (*handler)(struct sk_buff *); + int (*cb_handler)(struct sk_buff *, int); + int (*err_handler)(struct sk_buff *, u32); + struct xfrm_tunnel *next; + int priority; +}; + +struct xfrm_type { + struct module *owner; + u8 proto; + u8 flags; + int (*init_state)(struct xfrm_state *, struct netlink_ext_ack *); + void (*destructor)(struct xfrm_state *); + int (*input)(struct xfrm_state *, struct sk_buff *); + int (*output)(struct xfrm_state *, struct sk_buff *); + int (*reject)(struct xfrm_state *, struct sk_buff *, const struct flowi *); +}; + +struct xfrm_type_offload { + struct module *owner; + u8 proto; + void (*encap)(struct xfrm_state *, struct sk_buff *); + int (*input_tail)(struct xfrm_state *, struct sk_buff *); + int (*xmit)(struct xfrm_state *, struct sk_buff *, netdev_features_t); +}; + +struct xol_area { + wait_queue_head_t wq; + long unsigned int *bitmap; + struct page *page; + long unsigned int vaddr; +}; + +struct xsk_buff_pool { + struct device *dev; + struct net_device *netdev; + struct list_head xsk_tx_list; + spinlock_t xsk_tx_list_lock; + refcount_t users; + struct xdp_umem *umem; + struct work_struct work; + struct list_head free_list; + struct list_head xskb_list; + u32 heads_cnt; + u16 queue_id; + struct xsk_queue *fq; + struct xsk_queue *cq; + dma_addr_t *dma_pages; + struct xdp_buff_xsk *heads; + struct xdp_desc *tx_descs; + long: 32; + u64 chunk_mask; + u64 addrs_cnt; + u32 free_list_cnt; + u32 dma_pages_cnt; + u32 free_heads_cnt; + u32 headroom; + u32 chunk_size; + u32 chunk_shift; + u32 frame_len; + u32 xdp_zc_max_segs; + u8 tx_metadata_len; + u8 cached_need_wakeup; + bool uses_need_wakeup; + bool unaligned; + bool tx_sw_csum; + void *addrs; + spinlock_t cq_lock; + struct xdp_buff_xsk *free_heads[0]; + long: 32; +}; + +struct xsk_tx_metadata_ops { + void (*tmo_request_timestamp)(void *); + u64 (*tmo_fill_timestamp)(void *); + void (*tmo_request_checksum)(u16, u16, void *); +}; + +struct zap_details { + struct folio *single_folio; + bool even_cows; + bool reclaim_pt; + zap_flags_t zap_flags; +}; + +typedef int (*bpf_aux_classic_check_t)(struct sock_filter *, unsigned int); + +typedef u32 (*bpf_convert_ctx_access_t)(enum bpf_access_type, const struct bpf_insn *, struct bpf_insn *, struct bpf_prog *, u32 *); + +typedef long unsigned int (*bpf_ctx_copy_t)(void *, const void *, long unsigned int, long unsigned int); + +typedef unsigned int (*bpf_dispatcher_fn)(const void *, const struct bpf_insn *, unsigned int (*)(const void *, const struct bpf_insn *)); + +typedef unsigned int (*bpf_func_t)(const void *, const struct bpf_insn *); + +typedef void (*bpf_jit_fill_hole_t)(void *, unsigned int); + +typedef int (*bpf_op_t)(struct net_device *, struct netdev_bpf *); + +typedef u32 (*bpf_prog_run_fn)(const struct bpf_prog *, const void *); + +typedef u64 (*bpf_trampoline_enter_t)(struct bpf_prog *, struct bpf_tramp_run_ctx *); + +typedef void (*bpf_trampoline_exit_t)(struct bpf_prog *, u64, struct bpf_tramp_run_ctx *); + +typedef u64 (*btf_bpf_bind)(struct bpf_sock_addr_kern *, struct sockaddr *, int); + +typedef u64 (*btf_bpf_btf_find_by_name_kind)(char *, int, u32, int); + +typedef u64 (*btf_bpf_clone_redirect)(struct sk_buff *, u32, u64); + +typedef u64 (*btf_bpf_copy_from_user)(void *, u32, const void *); + +typedef u64 (*btf_bpf_copy_from_user_task)(void *, u32, const void *, struct task_struct *, u64); + +typedef u64 (*btf_bpf_csum_diff)(__be32 *, u32, __be32 *, u32, __wsum); + +typedef u64 (*btf_bpf_csum_level)(struct sk_buff *, u64); + +typedef u64 (*btf_bpf_csum_update)(struct sk_buff *, __wsum); + +typedef u64 (*btf_bpf_d_path)(struct path *, char *, u32); + +typedef u64 (*btf_bpf_dynptr_data)(const struct bpf_dynptr_kern *, u32, u32); + +typedef u64 (*btf_bpf_dynptr_from_mem)(void *, u32, u64, struct bpf_dynptr_kern *); + +typedef u64 (*btf_bpf_dynptr_read)(void *, u32, const struct bpf_dynptr_kern *, u32, u64); + +typedef u64 (*btf_bpf_dynptr_write)(const struct bpf_dynptr_kern *, u32, void *, u32, u64); + +typedef u64 (*btf_bpf_event_output_data)(void *, struct bpf_map *, u64, void *, u64); + +typedef u64 (*btf_bpf_find_vma)(struct task_struct *, u64, bpf_callback_t, void *, u64); + +typedef u64 (*btf_bpf_flow_dissector_load_bytes)(const struct bpf_flow_dissector *, u32, void *, u32); + +typedef u64 (*btf_bpf_for_each_map_elem)(struct bpf_map *, void *, void *, u64); + +typedef u64 (*btf_bpf_get_attach_cookie_kprobe_multi)(struct pt_regs *); + +typedef u64 (*btf_bpf_get_attach_cookie_pe)(struct bpf_perf_event_data_kern *); + +typedef u64 (*btf_bpf_get_attach_cookie_trace)(void *); + +typedef u64 (*btf_bpf_get_attach_cookie_tracing)(void *); + +typedef u64 (*btf_bpf_get_attach_cookie_uprobe_multi)(struct pt_regs *); + +typedef u64 (*btf_bpf_get_branch_snapshot)(void *, u32, u64); + +typedef u64 (*btf_bpf_get_cgroup_classid)(const struct sk_buff *); + +typedef u64 (*btf_bpf_get_current_comm)(char *, u32); + +typedef u64 (*btf_bpf_get_current_pid_tgid)(void); + +typedef u64 (*btf_bpf_get_current_task)(void); + +typedef u64 (*btf_bpf_get_current_task_btf)(void); + +typedef u64 (*btf_bpf_get_current_uid_gid)(void); + +typedef u64 (*btf_bpf_get_func_ip_kprobe)(struct pt_regs *); + +typedef u64 (*btf_bpf_get_func_ip_kprobe_multi)(struct pt_regs *); + +typedef u64 (*btf_bpf_get_func_ip_tracing)(void *); + +typedef u64 (*btf_bpf_get_func_ip_uprobe_multi)(struct pt_regs *); + +typedef u64 (*btf_bpf_get_hash_recalc)(struct sk_buff *); + +typedef u64 (*btf_bpf_get_listener_sock)(struct sock *); + +typedef u64 (*btf_bpf_get_netns_cookie)(struct sk_buff *); + +typedef u64 (*btf_bpf_get_netns_cookie_sk_msg)(struct sk_msg *); + +typedef u64 (*btf_bpf_get_netns_cookie_sock)(struct sock *); + +typedef u64 (*btf_bpf_get_netns_cookie_sock_addr)(struct bpf_sock_addr_kern *); + +typedef u64 (*btf_bpf_get_netns_cookie_sock_ops)(struct bpf_sock_ops_kern *); + +typedef u64 (*btf_bpf_get_ns_current_pid_tgid)(u64, u64, struct bpf_pidns_info *, u32); + +typedef u64 (*btf_bpf_get_numa_node_id)(void); + +typedef u64 (*btf_bpf_get_raw_cpu_id)(void); + +typedef u64 (*btf_bpf_get_route_realm)(const struct sk_buff *); + +typedef u64 (*btf_bpf_get_smp_processor_id)(void); + +typedef u64 (*btf_bpf_get_socket_cookie)(struct sk_buff *); + +typedef u64 (*btf_bpf_get_socket_cookie_sock)(struct sock *); + +typedef u64 (*btf_bpf_get_socket_cookie_sock_addr)(struct bpf_sock_addr_kern *); + +typedef u64 (*btf_bpf_get_socket_cookie_sock_ops)(struct bpf_sock_ops_kern *); + +typedef u64 (*btf_bpf_get_socket_ptr_cookie)(struct sock *); + +typedef u64 (*btf_bpf_get_socket_uid)(struct sk_buff *); + +typedef u64 (*btf_bpf_get_stack)(struct pt_regs *, void *, u32, u64); + +typedef u64 (*btf_bpf_get_stack_pe)(struct bpf_perf_event_data_kern *, void *, u32, u64); + +typedef u64 (*btf_bpf_get_stack_raw_tp)(struct bpf_raw_tracepoint_args *, void *, u32, u64); + +typedef u64 (*btf_bpf_get_stack_sleepable)(struct pt_regs *, void *, u32, u64); + +typedef u64 (*btf_bpf_get_stack_tp)(void *, void *, u32, u64); + +typedef u64 (*btf_bpf_get_stackid)(struct pt_regs *, struct bpf_map *, u64); + +typedef u64 (*btf_bpf_get_stackid_pe)(struct bpf_perf_event_data_kern *, struct bpf_map *, u64); + +typedef u64 (*btf_bpf_get_stackid_raw_tp)(struct bpf_raw_tracepoint_args *, struct bpf_map *, u64); + +typedef u64 (*btf_bpf_get_stackid_tp)(void *, struct bpf_map *, u64); + +typedef u64 (*btf_bpf_get_task_stack)(struct task_struct *, void *, u32, u64); + +typedef u64 (*btf_bpf_get_task_stack_sleepable)(struct task_struct *, void *, u32, u64); + +typedef u64 (*btf_bpf_jiffies64)(void); + +typedef u64 (*btf_bpf_kallsyms_lookup_name)(const char *, int, int, u64 *); + +typedef u64 (*btf_bpf_kptr_xchg)(void *, void *); + +typedef u64 (*btf_bpf_ktime_get_boot_ns)(void); + +typedef u64 (*btf_bpf_ktime_get_coarse_ns)(void); + +typedef u64 (*btf_bpf_ktime_get_ns)(void); + +typedef u64 (*btf_bpf_ktime_get_tai_ns)(void); + +typedef u64 (*btf_bpf_l3_csum_replace)(struct sk_buff *, u32, u64, u64, u64); + +typedef u64 (*btf_bpf_l4_csum_replace)(struct sk_buff *, u32, u64, u64, u64); + +typedef u64 (*btf_bpf_loop)(u32, void *, void *, u64); + +typedef u64 (*btf_bpf_lwt_in_push_encap)(struct sk_buff *, u32, void *, u32); + +typedef u64 (*btf_bpf_lwt_xmit_push_encap)(struct sk_buff *, u32, void *, u32); + +typedef u64 (*btf_bpf_map_delete_elem)(struct bpf_map *, void *); + +typedef u64 (*btf_bpf_map_lookup_elem)(struct bpf_map *, void *); + +typedef u64 (*btf_bpf_map_lookup_percpu_elem)(struct bpf_map *, void *, u32); + +typedef u64 (*btf_bpf_map_peek_elem)(struct bpf_map *, void *); + +typedef u64 (*btf_bpf_map_pop_elem)(struct bpf_map *, void *); + +typedef u64 (*btf_bpf_map_push_elem)(struct bpf_map *, void *, u64); + +typedef u64 (*btf_bpf_map_update_elem)(struct bpf_map *, void *, void *, u64); + +typedef u64 (*btf_bpf_msg_apply_bytes)(struct sk_msg *, u32); + +typedef u64 (*btf_bpf_msg_cork_bytes)(struct sk_msg *, u32); + +typedef u64 (*btf_bpf_msg_pop_data)(struct sk_msg *, u32, u32, u64); + +typedef u64 (*btf_bpf_msg_pull_data)(struct sk_msg *, u32, u32, u64); + +typedef u64 (*btf_bpf_msg_push_data)(struct sk_msg *, u32, u32, u64); + +typedef u64 (*btf_bpf_msg_redirect_hash)(struct sk_msg *, struct bpf_map *, void *, u64); + +typedef u64 (*btf_bpf_msg_redirect_map)(struct sk_msg *, struct bpf_map *, u32, u64); + +typedef u64 (*btf_bpf_per_cpu_ptr)(const void *, u32); + +typedef u64 (*btf_bpf_perf_event_output)(struct pt_regs *, struct bpf_map *, u64, void *, u64); + +typedef u64 (*btf_bpf_perf_event_output_raw_tp)(struct bpf_raw_tracepoint_args *, struct bpf_map *, u64, void *, u64); + +typedef u64 (*btf_bpf_perf_event_output_tp)(void *, struct bpf_map *, u64, void *, u64); + +typedef u64 (*btf_bpf_perf_event_read)(struct bpf_map *, u64); + +typedef u64 (*btf_bpf_perf_event_read_value)(struct bpf_map *, u64, struct bpf_perf_event_value *, u32); + +typedef u64 (*btf_bpf_perf_prog_read_value)(struct bpf_perf_event_data_kern *, struct bpf_perf_event_value *, u32); + +typedef u64 (*btf_bpf_probe_read_compat)(void *, u32, const void *); + +typedef u64 (*btf_bpf_probe_read_compat_str)(void *, u32, const void *); + +typedef u64 (*btf_bpf_probe_read_kernel)(void *, u32, const void *); + +typedef u64 (*btf_bpf_probe_read_kernel_str)(void *, u32, const void *); + +typedef u64 (*btf_bpf_probe_read_user)(void *, u32, const void *); + +typedef u64 (*btf_bpf_probe_read_user_str)(void *, u32, const void *); + +typedef u64 (*btf_bpf_probe_write_user)(void *, const void *, u32); + +typedef u64 (*btf_bpf_read_branch_records)(struct bpf_perf_event_data_kern *, void *, u32, u64); + +typedef u64 (*btf_bpf_redirect)(u32, u64); + +typedef u64 (*btf_bpf_redirect_neigh)(u32, struct bpf_redir_neigh *, int, u64); + +typedef u64 (*btf_bpf_redirect_peer)(u32, u64); + +typedef u64 (*btf_bpf_ringbuf_discard)(void *, u64); + +typedef u64 (*btf_bpf_ringbuf_discard_dynptr)(struct bpf_dynptr_kern *, u64); + +typedef u64 (*btf_bpf_ringbuf_output)(struct bpf_map *, void *, u64, u64); + +typedef u64 (*btf_bpf_ringbuf_query)(struct bpf_map *, u64); + +typedef u64 (*btf_bpf_ringbuf_reserve)(struct bpf_map *, u64, u64); + +typedef u64 (*btf_bpf_ringbuf_reserve_dynptr)(struct bpf_map *, u32, u64, struct bpf_dynptr_kern *); + +typedef u64 (*btf_bpf_ringbuf_submit)(void *, u64); + +typedef u64 (*btf_bpf_ringbuf_submit_dynptr)(struct bpf_dynptr_kern *, u64); + +typedef u64 (*btf_bpf_send_signal)(u32); + +typedef u64 (*btf_bpf_send_signal_thread)(u32); + +typedef u64 (*btf_bpf_seq_printf)(struct seq_file *, char *, u32, const void *, u32); + +typedef u64 (*btf_bpf_seq_printf_btf)(struct seq_file *, struct btf_ptr *, u32, u64); + +typedef u64 (*btf_bpf_seq_write)(struct seq_file *, const void *, u32); + +typedef u64 (*btf_bpf_set_hash)(struct sk_buff *, u32); + +typedef u64 (*btf_bpf_set_hash_invalid)(struct sk_buff *); + +typedef u64 (*btf_bpf_sk_assign)(struct sk_buff *, struct sock *, u64); + +typedef u64 (*btf_bpf_sk_fullsock)(struct sock *); + +typedef u64 (*btf_bpf_sk_getsockopt)(struct sock *, int, int, char *, int); + +typedef u64 (*btf_bpf_sk_lookup_assign)(struct bpf_sk_lookup_kern *, struct sock *, u64); + +typedef u64 (*btf_bpf_sk_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); + +typedef u64 (*btf_bpf_sk_lookup_udp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); + +typedef u64 (*btf_bpf_sk_redirect_hash)(struct sk_buff *, struct bpf_map *, void *, u64); + +typedef u64 (*btf_bpf_sk_redirect_map)(struct sk_buff *, struct bpf_map *, u32, u64); + +typedef u64 (*btf_bpf_sk_release)(struct sock *); + +typedef u64 (*btf_bpf_sk_setsockopt)(struct sock *, int, int, char *, int); + +typedef u64 (*btf_bpf_sk_storage_delete)(struct bpf_map *, struct sock *); + +typedef u64 (*btf_bpf_sk_storage_delete_tracing)(struct bpf_map *, struct sock *); + +typedef u64 (*btf_bpf_sk_storage_get)(struct bpf_map *, struct sock *, void *, u64, gfp_t); + +typedef u64 (*btf_bpf_sk_storage_get_tracing)(struct bpf_map *, struct sock *, void *, u64, gfp_t); + +typedef u64 (*btf_bpf_skb_adjust_room)(struct sk_buff *, s32, u32, u64); + +typedef u64 (*btf_bpf_skb_change_head)(struct sk_buff *, u32, u64); + +typedef u64 (*btf_bpf_skb_change_proto)(struct sk_buff *, __be16, u64); + +typedef u64 (*btf_bpf_skb_change_tail)(struct sk_buff *, u32, u64); + +typedef u64 (*btf_bpf_skb_change_type)(struct sk_buff *, u32); + +typedef u64 (*btf_bpf_skb_check_mtu)(struct sk_buff *, u32, u32 *, s32, u64); + +typedef u64 (*btf_bpf_skb_ecn_set_ce)(struct sk_buff *); + +typedef u64 (*btf_bpf_skb_event_output)(struct sk_buff *, struct bpf_map *, u64, void *, u64); + +typedef u64 (*btf_bpf_skb_fib_lookup)(struct sk_buff *, struct bpf_fib_lookup *, int, u32); + +typedef u64 (*btf_bpf_skb_get_nlattr)(struct sk_buff *, u32, u32); + +typedef u64 (*btf_bpf_skb_get_nlattr_nest)(struct sk_buff *, u32, u32); + +typedef u64 (*btf_bpf_skb_get_pay_offset)(struct sk_buff *); + +typedef u64 (*btf_bpf_skb_get_tunnel_key)(struct sk_buff *, struct bpf_tunnel_key *, u32, u64); + +typedef u64 (*btf_bpf_skb_get_tunnel_opt)(struct sk_buff *, u8 *, u32); + +typedef u64 (*btf_bpf_skb_load_bytes)(const struct sk_buff *, u32, void *, u32); + +typedef u64 (*btf_bpf_skb_load_bytes_relative)(const struct sk_buff *, u32, void *, u32, u32); + +typedef u64 (*btf_bpf_skb_load_helper_16)(const struct sk_buff *, const void *, int, int); + +typedef u64 (*btf_bpf_skb_load_helper_16_no_cache)(const struct sk_buff *, int); + +typedef u64 (*btf_bpf_skb_load_helper_32)(const struct sk_buff *, const void *, int, int); + +typedef u64 (*btf_bpf_skb_load_helper_32_no_cache)(const struct sk_buff *, int); + +typedef u64 (*btf_bpf_skb_load_helper_8)(const struct sk_buff *, const void *, int, int); + +typedef u64 (*btf_bpf_skb_load_helper_8_no_cache)(const struct sk_buff *, int); + +typedef u64 (*btf_bpf_skb_pull_data)(struct sk_buff *, u32); + +typedef u64 (*btf_bpf_skb_set_tstamp)(struct sk_buff *, u64, u32); + +typedef u64 (*btf_bpf_skb_set_tunnel_key)(struct sk_buff *, const struct bpf_tunnel_key *, u32, u64); + +typedef u64 (*btf_bpf_skb_set_tunnel_opt)(struct sk_buff *, const u8 *, u32); + +typedef u64 (*btf_bpf_skb_store_bytes)(struct sk_buff *, u32, const void *, u32, u64); + +typedef u64 (*btf_bpf_skb_under_cgroup)(struct sk_buff *, struct bpf_map *, u32); + +typedef u64 (*btf_bpf_skb_vlan_pop)(struct sk_buff *); + +typedef u64 (*btf_bpf_skb_vlan_push)(struct sk_buff *, __be16, u16); + +typedef u64 (*btf_bpf_skc_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); + +typedef u64 (*btf_bpf_skc_to_mptcp_sock)(struct sock *); + +typedef u64 (*btf_bpf_skc_to_tcp6_sock)(struct sock *); + +typedef u64 (*btf_bpf_skc_to_tcp_request_sock)(struct sock *); + +typedef u64 (*btf_bpf_skc_to_tcp_sock)(struct sock *); + +typedef u64 (*btf_bpf_skc_to_tcp_timewait_sock)(struct sock *); + +typedef u64 (*btf_bpf_skc_to_udp6_sock)(struct sock *); + +typedef u64 (*btf_bpf_skc_to_unix_sock)(struct sock *); + +typedef u64 (*btf_bpf_snprintf)(char *, u32, char *, const void *, u32); + +typedef u64 (*btf_bpf_snprintf_btf)(char *, u32, struct btf_ptr *, u32, u64); + +typedef u64 (*btf_bpf_sock_addr_getsockopt)(struct bpf_sock_addr_kern *, int, int, char *, int); + +typedef u64 (*btf_bpf_sock_addr_setsockopt)(struct bpf_sock_addr_kern *, int, int, char *, int); + +typedef u64 (*btf_bpf_sock_addr_sk_lookup_tcp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *, u32, u64, u64); + +typedef u64 (*btf_bpf_sock_addr_sk_lookup_udp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *, u32, u64, u64); + +typedef u64 (*btf_bpf_sock_addr_skc_lookup_tcp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *, u32, u64, u64); + +typedef u64 (*btf_bpf_sock_from_file)(struct file *); + +typedef u64 (*btf_bpf_sock_hash_update)(struct bpf_sock_ops_kern *, struct bpf_map *, void *, u64); + +typedef u64 (*btf_bpf_sock_map_update)(struct bpf_sock_ops_kern *, struct bpf_map *, void *, u64); + +typedef u64 (*btf_bpf_sock_ops_cb_flags_set)(struct bpf_sock_ops_kern *, int); + +typedef u64 (*btf_bpf_sock_ops_getsockopt)(struct bpf_sock_ops_kern *, int, int, char *, int); + +typedef u64 (*btf_bpf_sock_ops_load_hdr_opt)(struct bpf_sock_ops_kern *, void *, u32, u64); + +typedef u64 (*btf_bpf_sock_ops_reserve_hdr_opt)(struct bpf_sock_ops_kern *, u32, u64); + +typedef u64 (*btf_bpf_sock_ops_setsockopt)(struct bpf_sock_ops_kern *, int, int, char *, int); + +typedef u64 (*btf_bpf_sock_ops_store_hdr_opt)(struct bpf_sock_ops_kern *, const void *, u32, u64); + +typedef u64 (*btf_bpf_spin_lock)(struct bpf_spin_lock *); + +typedef u64 (*btf_bpf_spin_unlock)(struct bpf_spin_lock *); + +typedef u64 (*btf_bpf_strncmp)(const char *, u32, const char *); + +typedef u64 (*btf_bpf_strtol)(const char *, size_t, u64, s64 *); + +typedef u64 (*btf_bpf_strtoul)(const char *, size_t, u64, u64 *); + +typedef u64 (*btf_bpf_sys_bpf)(int, union bpf_attr *, u32); + +typedef u64 (*btf_bpf_sys_close)(u32); + +typedef u64 (*btf_bpf_task_pt_regs)(struct task_struct *); + +typedef u64 (*btf_bpf_task_storage_delete)(struct bpf_map *, struct task_struct *); + +typedef u64 (*btf_bpf_task_storage_delete_recur)(struct bpf_map *, struct task_struct *); + +typedef u64 (*btf_bpf_task_storage_get)(struct bpf_map *, struct task_struct *, void *, u64, gfp_t); + +typedef u64 (*btf_bpf_task_storage_get_recur)(struct bpf_map *, struct task_struct *, void *, u64, gfp_t); + +typedef u64 (*btf_bpf_tc_sk_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); + +typedef u64 (*btf_bpf_tc_sk_lookup_udp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); + +typedef u64 (*btf_bpf_tc_skc_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); + +typedef u64 (*btf_bpf_tcp_check_syncookie)(struct sock *, void *, u32, struct tcphdr *, u32); + +typedef u64 (*btf_bpf_tcp_gen_syncookie)(struct sock *, void *, u32, struct tcphdr *, u32); + +typedef u64 (*btf_bpf_tcp_send_ack)(struct tcp_sock *, u32); + +typedef u64 (*btf_bpf_tcp_sock)(struct sock *); + +typedef u64 (*btf_bpf_this_cpu_ptr)(const void *); + +typedef u64 (*btf_bpf_timer_cancel)(struct bpf_async_kern *); + +typedef u64 (*btf_bpf_timer_init)(struct bpf_async_kern *, struct bpf_map *, u64); + +typedef u64 (*btf_bpf_timer_set_callback)(struct bpf_async_kern *, void *, struct bpf_prog_aux *); + +typedef u64 (*btf_bpf_timer_start)(struct bpf_async_kern *, u64, u64); + +typedef u64 (*btf_bpf_trace_printk)(char *, u32, u64, u64, u64); + +typedef u64 (*btf_bpf_trace_vprintk)(char *, u32, const void *, u32); + +typedef u64 (*btf_bpf_unlocked_sk_getsockopt)(struct sock *, int, int, char *, int); + +typedef u64 (*btf_bpf_unlocked_sk_setsockopt)(struct sock *, int, int, char *, int); + +typedef u64 (*btf_bpf_user_ringbuf_drain)(struct bpf_map *, void *, void *, u64); + +typedef u64 (*btf_bpf_user_rnd_u32)(void); + +typedef u64 (*btf_bpf_xdp_adjust_head)(struct xdp_buff *, int); + +typedef u64 (*btf_bpf_xdp_adjust_meta)(struct xdp_buff *, int); + +typedef u64 (*btf_bpf_xdp_adjust_tail)(struct xdp_buff *, int); + +typedef u64 (*btf_bpf_xdp_check_mtu)(struct xdp_buff *, u32, u32 *, s32, u64); + +typedef u64 (*btf_bpf_xdp_event_output)(struct xdp_buff *, struct bpf_map *, u64, void *, u64); + +typedef u64 (*btf_bpf_xdp_fib_lookup)(struct xdp_buff *, struct bpf_fib_lookup *, int, u32); + +typedef u64 (*btf_bpf_xdp_get_buff_len)(struct xdp_buff *); + +typedef u64 (*btf_bpf_xdp_load_bytes)(struct xdp_buff *, u32, void *, u32); + +typedef u64 (*btf_bpf_xdp_redirect)(u32, u64); + +typedef u64 (*btf_bpf_xdp_redirect_map)(struct bpf_map *, u64, u64); + +typedef u64 (*btf_bpf_xdp_sk_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64); + +typedef u64 (*btf_bpf_xdp_sk_lookup_udp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64); + +typedef u64 (*btf_bpf_xdp_skc_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64); + +typedef u64 (*btf_bpf_xdp_store_bytes)(struct xdp_buff *, u32, void *, u32); + +typedef u64 (*btf_get_func_arg)(void *, u32, u64 *); + +typedef u64 (*btf_get_func_arg_cnt)(void *); + +typedef u64 (*btf_get_func_ret)(void *, u64 *); + +typedef u64 (*btf_sk_reuseport_load_bytes)(const struct sk_reuseport_kern *, u32, void *, u32); + +typedef u64 (*btf_sk_reuseport_load_bytes_relative)(const struct sk_reuseport_kern *, u32, void *, u32, u32); + +typedef u64 (*btf_sk_select_reuseport)(struct sk_reuseport_kern *, struct bpf_map *, void *, u32); + +typedef u64 (*btf_sk_skb_adjust_room)(struct sk_buff *, s32, u32, u64); + +typedef u64 (*btf_sk_skb_change_head)(struct sk_buff *, u32, u64); + +typedef u64 (*btf_sk_skb_change_tail)(struct sk_buff *, u32, u64); + +typedef u64 (*btf_sk_skb_pull_data)(struct sk_buff *, u32); + +typedef void (*btf_trace_alarmtimer_cancel)(void *, struct alarm *, ktime_t); + +typedef void (*btf_trace_alarmtimer_fired)(void *, struct alarm *, ktime_t); + +typedef void (*btf_trace_alarmtimer_start)(void *, struct alarm *, ktime_t); + +typedef void (*btf_trace_alarmtimer_suspend)(void *, ktime_t, int); + +typedef void (*btf_trace_alloc_vmap_area)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int); + +typedef void (*btf_trace_balance_dirty_pages)(void *, struct bdi_writeback *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long int, long unsigned int); + +typedef void (*btf_trace_bdi_dirty_ratelimit)(void *, struct bdi_writeback *, long unsigned int, long unsigned int); + +typedef void (*btf_trace_bpf_test_finish)(void *, int *); + +typedef void (*btf_trace_bpf_trace_printk)(void *, const char *); + +typedef void (*btf_trace_bpf_trigger_tp)(void *, int); + +typedef void (*btf_trace_bpf_xdp_link_attach_failed)(void *, const char *); + +typedef void (*btf_trace_cap_capable)(void *, const struct cred *, struct user_namespace *, const struct user_namespace *, int, int); + +typedef void (*btf_trace_clk_disable)(void *, struct clk_core *); + +typedef void (*btf_trace_clk_disable_complete)(void *, struct clk_core *); + +typedef void (*btf_trace_clk_enable)(void *, struct clk_core *); + +typedef void (*btf_trace_clk_enable_complete)(void *, struct clk_core *); + +typedef void (*btf_trace_clk_prepare)(void *, struct clk_core *); + +typedef void (*btf_trace_clk_prepare_complete)(void *, struct clk_core *); + +typedef void (*btf_trace_clk_rate_request_done)(void *, struct clk_rate_request *); + +typedef void (*btf_trace_clk_rate_request_start)(void *, struct clk_rate_request *); + +typedef void (*btf_trace_clk_set_duty_cycle)(void *, struct clk_core *, struct clk_duty *); + +typedef void (*btf_trace_clk_set_duty_cycle_complete)(void *, struct clk_core *, struct clk_duty *); + +typedef void (*btf_trace_clk_set_max_rate)(void *, struct clk_core *, long unsigned int); + +typedef void (*btf_trace_clk_set_min_rate)(void *, struct clk_core *, long unsigned int); + +typedef void (*btf_trace_clk_set_parent)(void *, struct clk_core *, struct clk_core *); + +typedef void (*btf_trace_clk_set_parent_complete)(void *, struct clk_core *, struct clk_core *); + +typedef void (*btf_trace_clk_set_phase)(void *, struct clk_core *, int); + +typedef void (*btf_trace_clk_set_phase_complete)(void *, struct clk_core *, int); + +typedef void (*btf_trace_clk_set_rate)(void *, struct clk_core *, long unsigned int); + +typedef void (*btf_trace_clk_set_rate_complete)(void *, struct clk_core *, long unsigned int); + +typedef void (*btf_trace_clk_set_rate_range)(void *, struct clk_core *, long unsigned int, long unsigned int); + +typedef void (*btf_trace_clk_unprepare)(void *, struct clk_core *); + +typedef void (*btf_trace_clk_unprepare_complete)(void *, struct clk_core *); + +typedef void (*btf_trace_clock_disable)(void *, const char *, unsigned int, unsigned int); + +typedef void (*btf_trace_clock_enable)(void *, const char *, unsigned int, unsigned int); + +typedef void (*btf_trace_clock_set_rate)(void *, const char *, unsigned int, unsigned int); + +typedef void (*btf_trace_compact_retry)(void *, int, enum compact_priority, enum compact_result, int, int, bool); + +typedef void (*btf_trace_console)(void *, const char *, size_t); + +typedef void (*btf_trace_consume_skb)(void *, struct sk_buff *, void *); + +typedef void (*btf_trace_contention_begin)(void *, void *, unsigned int); + +typedef void (*btf_trace_contention_end)(void *, void *, int); + +typedef void (*btf_trace_cpu_frequency)(void *, unsigned int, unsigned int); + +typedef void (*btf_trace_cpu_frequency_limits)(void *, struct cpufreq_policy *); + +typedef void (*btf_trace_cpu_idle)(void *, unsigned int, unsigned int); + +typedef void (*btf_trace_cpu_idle_miss)(void *, unsigned int, unsigned int, bool); + +typedef void (*btf_trace_cpuhp_enter)(void *, unsigned int, int, int, int (*)(unsigned int)); + +typedef void (*btf_trace_cpuhp_exit)(void *, unsigned int, int, int, int); + +typedef void (*btf_trace_cpuhp_multi_enter)(void *, unsigned int, int, int, int (*)(unsigned int, struct hlist_node *), struct hlist_node *); + +typedef void (*btf_trace_ctime_ns_xchg)(void *, struct inode *, u32, u32, u32); + +typedef void (*btf_trace_ctime_xchg_skip)(void *, struct inode *, struct timespec64 *); + +typedef void (*btf_trace_dev_pm_qos_add_request)(void *, const char *, enum dev_pm_qos_req_type, s32); + +typedef void (*btf_trace_dev_pm_qos_remove_request)(void *, const char *, enum dev_pm_qos_req_type, s32); + +typedef void (*btf_trace_dev_pm_qos_update_request)(void *, const char *, enum dev_pm_qos_req_type, s32); + +typedef void (*btf_trace_device_pm_callback_end)(void *, struct device *, int); + +typedef void (*btf_trace_device_pm_callback_start)(void *, struct device *, const char *, int); + +typedef void (*btf_trace_devres_log)(void *, struct device *, const char *, void *, const char *, size_t); + +typedef void (*btf_trace_dma_alloc)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_pages)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_sgt)(void *, struct device *, struct sg_table *, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_sgt_err)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_free)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_free_pages)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_free_sgt)(void *, struct device *, struct sg_table *, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_map_page)(void *, struct device *, phys_addr_t, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_resource)(void *, struct device *, phys_addr_t, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_sg)(void *, struct device *, struct scatterlist *, int, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_sg_err)(void *, struct device *, struct scatterlist *, int, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_sync_sg_for_cpu)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_sg_for_device)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_single_for_cpu)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_single_for_device)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_unmap_page)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_unmap_resource)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_unmap_sg)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dql_stall_detected)(void *, short unsigned int, unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int *); + +typedef void (*btf_trace_error_report_end)(void *, enum error_detector, long unsigned int); + +typedef void (*btf_trace_exit_mmap)(void *, struct mm_struct *); + +typedef void (*btf_trace_fib6_table_lookup)(void *, const struct net *, const struct fib6_result *, struct fib6_table *, const struct flowi6 *); + +typedef void (*btf_trace_fib_table_lookup)(void *, u32, const struct flowi4 *, const struct fib_nh_common *, int); + +typedef void (*btf_trace_file_check_and_advance_wb_err)(void *, struct file *, errseq_t); + +typedef void (*btf_trace_filemap_set_wb_err)(void *, struct address_space *, errseq_t); + +typedef void (*btf_trace_fill_mg_cmtime)(void *, struct inode *, struct timespec64 *, struct timespec64 *); + +typedef void (*btf_trace_finish_task_reaping)(void *, int); + +typedef void (*btf_trace_folio_wait_writeback)(void *, struct folio *, struct address_space *); + +typedef void (*btf_trace_free_vmap_area_noflush)(void *, long unsigned int, long unsigned int, long unsigned int); + +typedef void (*btf_trace_global_dirty_state)(void *, long unsigned int, long unsigned int); + +typedef void (*btf_trace_guest_halt_poll_ns)(void *, bool, unsigned int, unsigned int); + +typedef void (*btf_trace_hrtimer_cancel)(void *, struct hrtimer *); + +typedef void (*btf_trace_hrtimer_expire_entry)(void *, struct hrtimer *, ktime_t *); + +typedef void (*btf_trace_hrtimer_expire_exit)(void *, struct hrtimer *); + +typedef void (*btf_trace_hrtimer_init)(void *, struct hrtimer *, clockid_t, enum hrtimer_mode); + +typedef void (*btf_trace_hrtimer_start)(void *, struct hrtimer *, enum hrtimer_mode); + +typedef void (*btf_trace_icmp_send)(void *, const struct sk_buff *, int, int); + +typedef void (*btf_trace_inet_sk_error_report)(void *, const struct sock *); + +typedef void (*btf_trace_inet_sock_set_state)(void *, const struct sock *, const int, const int); + +typedef void (*btf_trace_initcall_finish)(void *, initcall_t, int); + +typedef void (*btf_trace_initcall_level)(void *, const char *); + +typedef void (*btf_trace_initcall_start)(void *, initcall_t); + +typedef void (*btf_trace_inode_set_ctime_to_ts)(void *, struct inode *, struct timespec64 *); + +typedef void (*btf_trace_ipi_entry)(void *, const char *); + +typedef void (*btf_trace_ipi_exit)(void *, const char *); + +typedef void (*btf_trace_ipi_raise)(void *, const struct cpumask *, const char *); + +typedef void (*btf_trace_ipi_send_cpu)(void *, const unsigned int, long unsigned int, void *); + +typedef void (*btf_trace_ipi_send_cpumask)(void *, const struct cpumask *, long unsigned int, void *); + +typedef void (*btf_trace_irq_handler_entry)(void *, int, struct irqaction *); + +typedef void (*btf_trace_irq_handler_exit)(void *, int, struct irqaction *, int); + +typedef void (*btf_trace_itimer_expire)(void *, int, struct pid *, long long unsigned int); + +typedef void (*btf_trace_itimer_state)(void *, int, const struct itimerspec64 * const, long long unsigned int); + +typedef void (*btf_trace_kfree)(void *, long unsigned int, const void *); + +typedef void (*btf_trace_kfree_skb)(void *, struct sk_buff *, void *, enum skb_drop_reason, struct sock *); + +typedef void (*btf_trace_kmalloc)(void *, long unsigned int, const void *, size_t, size_t, gfp_t, int); + +typedef void (*btf_trace_kmem_cache_alloc)(void *, long unsigned int, const void *, struct kmem_cache *, gfp_t, int); + +typedef void (*btf_trace_kmem_cache_free)(void *, long unsigned int, const void *, const struct kmem_cache *); + +typedef void (*btf_trace_ma_op)(void *, const char *, struct ma_state *); + +typedef void (*btf_trace_ma_read)(void *, const char *, struct ma_state *); + +typedef void (*btf_trace_ma_write)(void *, const char *, struct ma_state *, long unsigned int, void *); + +typedef void (*btf_trace_mark_victim)(void *, struct task_struct *, uid_t); + +typedef void (*btf_trace_mem_connect)(void *, const struct xdp_mem_allocator *, const struct xdp_rxq_info *); + +typedef void (*btf_trace_mem_disconnect)(void *, const struct xdp_mem_allocator *); + +typedef void (*btf_trace_mem_return_failed)(void *, const struct xdp_mem_info *, const struct page *); + +typedef void (*btf_trace_mm_alloc_contig_migrate_range_info)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int); + +typedef void (*btf_trace_mm_compaction_begin)(void *, struct compact_control *, long unsigned int, long unsigned int, bool); + +typedef void (*btf_trace_mm_compaction_defer_compaction)(void *, struct zone *, int); + +typedef void (*btf_trace_mm_compaction_defer_reset)(void *, struct zone *, int); + +typedef void (*btf_trace_mm_compaction_deferred)(void *, struct zone *, int); + +typedef void (*btf_trace_mm_compaction_end)(void *, struct compact_control *, long unsigned int, long unsigned int, bool, int); + +typedef void (*btf_trace_mm_compaction_fast_isolate_freepages)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); + +typedef void (*btf_trace_mm_compaction_finished)(void *, struct zone *, int, int); + +typedef void (*btf_trace_mm_compaction_isolate_freepages)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); + +typedef void (*btf_trace_mm_compaction_isolate_migratepages)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); + +typedef void (*btf_trace_mm_compaction_kcompactd_sleep)(void *, int); + +typedef void (*btf_trace_mm_compaction_kcompactd_wake)(void *, int, int, enum zone_type); + +typedef void (*btf_trace_mm_compaction_migratepages)(void *, unsigned int, unsigned int); + +typedef void (*btf_trace_mm_compaction_suitable)(void *, struct zone *, int, int); + +typedef void (*btf_trace_mm_compaction_try_to_compact_pages)(void *, int, gfp_t, int); + +typedef void (*btf_trace_mm_compaction_wakeup_kcompactd)(void *, int, int, enum zone_type); + +typedef void (*btf_trace_mm_filemap_add_to_page_cache)(void *, struct folio *); + +typedef void (*btf_trace_mm_filemap_delete_from_page_cache)(void *, struct folio *); + +typedef void (*btf_trace_mm_filemap_fault)(void *, struct address_space *, long unsigned int); + +typedef void (*btf_trace_mm_filemap_get_pages)(void *, struct address_space *, long unsigned int, long unsigned int); + +typedef void (*btf_trace_mm_filemap_map_pages)(void *, struct address_space *, long unsigned int, long unsigned int); + +typedef void (*btf_trace_mm_lru_activate)(void *, struct folio *); + +typedef void (*btf_trace_mm_lru_insertion)(void *, struct folio *); + +typedef void (*btf_trace_mm_migrate_pages)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, enum migrate_mode, int); + +typedef void (*btf_trace_mm_migrate_pages_start)(void *, enum migrate_mode, int); + +typedef void (*btf_trace_mm_page_alloc)(void *, struct page *, unsigned int, gfp_t, int); + +typedef void (*btf_trace_mm_page_alloc_extfrag)(void *, struct page *, int, int, int, int); + +typedef void (*btf_trace_mm_page_alloc_zone_locked)(void *, struct page *, unsigned int, int, int); + +typedef void (*btf_trace_mm_page_free)(void *, struct page *, unsigned int); + +typedef void (*btf_trace_mm_page_free_batched)(void *, struct page *); + +typedef void (*btf_trace_mm_page_pcpu_drain)(void *, struct page *, unsigned int, int); + +typedef void (*btf_trace_mm_shrink_slab_end)(void *, struct shrinker *, int, int, long int, long int, long int); + +typedef void (*btf_trace_mm_shrink_slab_start)(void *, struct shrinker *, struct shrink_control *, long int, long unsigned int, long long unsigned int, long unsigned int, int); + +typedef void (*btf_trace_mm_vmscan_direct_reclaim_begin)(void *, int, gfp_t); + +typedef void (*btf_trace_mm_vmscan_direct_reclaim_end)(void *, long unsigned int); + +typedef void (*btf_trace_mm_vmscan_kswapd_sleep)(void *, int); + +typedef void (*btf_trace_mm_vmscan_kswapd_wake)(void *, int, int, int); + +typedef void (*btf_trace_mm_vmscan_lru_isolate)(void *, int, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int); + +typedef void (*btf_trace_mm_vmscan_lru_shrink_active)(void *, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int, int); + +typedef void (*btf_trace_mm_vmscan_lru_shrink_inactive)(void *, int, long unsigned int, long unsigned int, struct reclaim_stat *, int, int); + +typedef void (*btf_trace_mm_vmscan_node_reclaim_begin)(void *, int, int, gfp_t); + +typedef void (*btf_trace_mm_vmscan_node_reclaim_end)(void *, long unsigned int); + +typedef void (*btf_trace_mm_vmscan_reclaim_pages)(void *, int, long unsigned int, long unsigned int, struct reclaim_stat *); + +typedef void (*btf_trace_mm_vmscan_throttled)(void *, int, int, int, int); + +typedef void (*btf_trace_mm_vmscan_wakeup_kswapd)(void *, int, int, int, gfp_t); + +typedef void (*btf_trace_mm_vmscan_write_folio)(void *, struct folio *); + +typedef void (*btf_trace_mmap_lock_acquire_returned)(void *, struct mm_struct *, bool, bool); + +typedef void (*btf_trace_mmap_lock_released)(void *, struct mm_struct *, bool); + +typedef void (*btf_trace_mmap_lock_start_locking)(void *, struct mm_struct *, bool); + +typedef void (*btf_trace_module_free)(void *, struct module *); + +typedef void (*btf_trace_module_load)(void *, struct module *); + +typedef void (*btf_trace_module_request)(void *, char *, bool, long unsigned int); + +typedef void (*btf_trace_napi_gro_frags_entry)(void *, const struct sk_buff *); + +typedef void (*btf_trace_napi_gro_frags_exit)(void *, int); + +typedef void (*btf_trace_napi_gro_receive_entry)(void *, const struct sk_buff *); + +typedef void (*btf_trace_napi_gro_receive_exit)(void *, int); + +typedef void (*btf_trace_napi_poll)(void *, struct napi_struct *, int, int); + +typedef void (*btf_trace_neigh_cleanup_and_release)(void *, struct neighbour *, int); + +typedef void (*btf_trace_neigh_create)(void *, struct neigh_table *, struct net_device *, const void *, const struct neighbour *, bool); + +typedef void (*btf_trace_neigh_event_send_dead)(void *, struct neighbour *, int); + +typedef void (*btf_trace_neigh_event_send_done)(void *, struct neighbour *, int); + +typedef void (*btf_trace_neigh_timer_handler)(void *, struct neighbour *, int); + +typedef void (*btf_trace_neigh_update)(void *, struct neighbour *, const u8 *, u8, u32, u32); + +typedef void (*btf_trace_neigh_update_done)(void *, struct neighbour *, int); + +typedef void (*btf_trace_net_dev_queue)(void *, struct sk_buff *); + +typedef void (*btf_trace_net_dev_start_xmit)(void *, const struct sk_buff *, const struct net_device *); + +typedef void (*btf_trace_net_dev_xmit)(void *, struct sk_buff *, int, struct net_device *, unsigned int); + +typedef void (*btf_trace_net_dev_xmit_timeout)(void *, struct net_device *, int); + +typedef void (*btf_trace_netif_receive_skb)(void *, struct sk_buff *); + +typedef void (*btf_trace_netif_receive_skb_entry)(void *, const struct sk_buff *); + +typedef void (*btf_trace_netif_receive_skb_exit)(void *, int); + +typedef void (*btf_trace_netif_receive_skb_list_entry)(void *, const struct sk_buff *); + +typedef void (*btf_trace_netif_receive_skb_list_exit)(void *, int); + +typedef void (*btf_trace_netif_rx)(void *, struct sk_buff *); + +typedef void (*btf_trace_netif_rx_entry)(void *, const struct sk_buff *); + +typedef void (*btf_trace_netif_rx_exit)(void *, int); + +typedef void (*btf_trace_netlink_extack)(void *, const char *); + +typedef void (*btf_trace_notifier_register)(void *, void *); + +typedef void (*btf_trace_notifier_run)(void *, void *); + +typedef void (*btf_trace_notifier_unregister)(void *, void *); + +typedef void (*btf_trace_oom_score_adj_update)(void *, struct task_struct *); + +typedef void (*btf_trace_page_pool_release)(void *, const struct page_pool *, s32, u32, u32); + +typedef void (*btf_trace_page_pool_state_hold)(void *, const struct page_pool *, netmem_ref, u32); + +typedef void (*btf_trace_page_pool_state_release)(void *, const struct page_pool *, netmem_ref, u32); + +typedef void (*btf_trace_page_pool_update_nid)(void *, const struct page_pool *, int); + +typedef void (*btf_trace_pelt_cfs_tp)(void *, struct cfs_rq *); + +typedef void (*btf_trace_pelt_dl_tp)(void *, struct rq *); + +typedef void (*btf_trace_pelt_hw_tp)(void *, struct rq *); + +typedef void (*btf_trace_pelt_irq_tp)(void *, struct rq *); + +typedef void (*btf_trace_pelt_rt_tp)(void *, struct rq *); + +typedef void (*btf_trace_pelt_se_tp)(void *, struct sched_entity *); + +typedef void (*btf_trace_percpu_alloc_percpu)(void *, long unsigned int, bool, bool, size_t, size_t, void *, int, void *, size_t, gfp_t); + +typedef void (*btf_trace_percpu_alloc_percpu_fail)(void *, bool, bool, size_t, size_t); + +typedef void (*btf_trace_percpu_create_chunk)(void *, void *); + +typedef void (*btf_trace_percpu_destroy_chunk)(void *, void *); + +typedef void (*btf_trace_percpu_free_percpu)(void *, void *, int, void *); + +typedef void (*btf_trace_pm_qos_add_request)(void *, s32); + +typedef void (*btf_trace_pm_qos_remove_request)(void *, s32); + +typedef void (*btf_trace_pm_qos_update_flags)(void *, enum pm_qos_req_action, int, int); + +typedef void (*btf_trace_pm_qos_update_request)(void *, s32); + +typedef void (*btf_trace_pm_qos_update_target)(void *, enum pm_qos_req_action, int, int); + +typedef void (*btf_trace_power_domain_target)(void *, const char *, unsigned int, unsigned int); + +typedef void (*btf_trace_powernv_throttle)(void *, int, const char *, int); + +typedef void (*btf_trace_pstate_sample)(void *, u32, u32, u32, u32, u64, u64, u64, u32, u32); + +typedef void (*btf_trace_purge_vmap_area_lazy)(void *, long unsigned int, long unsigned int, unsigned int); + +typedef void (*btf_trace_qdisc_create)(void *, const struct Qdisc_ops *, struct net_device *, u32); + +typedef void (*btf_trace_qdisc_dequeue)(void *, struct Qdisc *, const struct netdev_queue *, int, struct sk_buff *); + +typedef void (*btf_trace_qdisc_destroy)(void *, struct Qdisc *); + +typedef void (*btf_trace_qdisc_enqueue)(void *, struct Qdisc *, const struct netdev_queue *, struct sk_buff *); + +typedef void (*btf_trace_qdisc_reset)(void *, struct Qdisc *); + +typedef void (*btf_trace_rcu_utilization)(void *, const char *); + +typedef void (*btf_trace_reclaim_retry_zone)(void *, struct zoneref *, int, long unsigned int, long unsigned int, long unsigned int, int, bool); + +typedef void (*btf_trace_remove_migration_pte)(void *, long unsigned int, long unsigned int, int); + +typedef void (*btf_trace_rss_stat)(void *, struct mm_struct *, int); + +typedef void (*btf_trace_sb_clear_inode_writeback)(void *, struct inode *); + +typedef void (*btf_trace_sb_mark_inode_writeback)(void *, struct inode *); + +typedef void (*btf_trace_sched_compute_energy_tp)(void *, struct task_struct *, int, long unsigned int, long unsigned int, long unsigned int); + +typedef void (*btf_trace_sched_cpu_capacity_tp)(void *, struct rq *); + +typedef void (*btf_trace_sched_kthread_stop)(void *, struct task_struct *); + +typedef void (*btf_trace_sched_kthread_stop_ret)(void *, int); + +typedef void (*btf_trace_sched_kthread_work_execute_end)(void *, struct kthread_work *, kthread_work_func_t); + +typedef void (*btf_trace_sched_kthread_work_execute_start)(void *, struct kthread_work *); + +typedef void (*btf_trace_sched_kthread_work_queue_work)(void *, struct kthread_worker *, struct kthread_work *); + +typedef void (*btf_trace_sched_migrate_task)(void *, struct task_struct *, int); + +typedef void (*btf_trace_sched_move_numa)(void *, struct task_struct *, int, int); + +struct root_domain; + +typedef void (*btf_trace_sched_overutilized_tp)(void *, struct root_domain *, bool); + +typedef void (*btf_trace_sched_pi_setprio)(void *, struct task_struct *, struct task_struct *); + +typedef void (*btf_trace_sched_prepare_exec)(void *, struct task_struct *, struct linux_binprm *); + +typedef void (*btf_trace_sched_process_exec)(void *, struct task_struct *, pid_t, struct linux_binprm *); + +typedef void (*btf_trace_sched_process_exit)(void *, struct task_struct *); + +typedef void (*btf_trace_sched_process_fork)(void *, struct task_struct *, struct task_struct *); + +typedef void (*btf_trace_sched_process_free)(void *, struct task_struct *); + +typedef void (*btf_trace_sched_process_wait)(void *, struct pid *); + +typedef void (*btf_trace_sched_stat_runtime)(void *, struct task_struct *, u64); + +typedef void (*btf_trace_sched_stick_numa)(void *, struct task_struct *, int, struct task_struct *, int); + +typedef void (*btf_trace_sched_swap_numa)(void *, struct task_struct *, int, struct task_struct *, int); + +typedef void (*btf_trace_sched_switch)(void *, bool, struct task_struct *, struct task_struct *, unsigned int); + +typedef void (*btf_trace_sched_update_nr_running_tp)(void *, struct rq *, int); + +typedef void (*btf_trace_sched_util_est_cfs_tp)(void *, struct cfs_rq *); + +typedef void (*btf_trace_sched_util_est_se_tp)(void *, struct sched_entity *); + +typedef void (*btf_trace_sched_wait_task)(void *, struct task_struct *); + +typedef void (*btf_trace_sched_wake_idle_without_ipi)(void *, int); + +typedef void (*btf_trace_sched_wakeup)(void *, struct task_struct *); + +typedef void (*btf_trace_sched_wakeup_new)(void *, struct task_struct *); + +typedef void (*btf_trace_sched_waking)(void *, struct task_struct *); + +typedef void (*btf_trace_set_migration_pte)(void *, long unsigned int, long unsigned int, int); + +typedef void (*btf_trace_signal_deliver)(void *, int, struct kernel_siginfo *, struct k_sigaction *); + +typedef void (*btf_trace_signal_generate)(void *, int, struct kernel_siginfo *, struct task_struct *, int, int); + +typedef void (*btf_trace_sk_data_ready)(void *, const struct sock *); + +typedef void (*btf_trace_skb_copy_datagram_iovec)(void *, const struct sk_buff *, int); + +typedef void (*btf_trace_skip_task_reaping)(void *, int); + +typedef void (*btf_trace_sock_exceed_buf_limit)(void *, struct sock *, struct proto *, long int, int); + +typedef void (*btf_trace_sock_rcvqueue_full)(void *, struct sock *, struct sk_buff *); + +typedef void (*btf_trace_sock_recv_length)(void *, struct sock *, int, int); + +typedef void (*btf_trace_sock_send_length)(void *, struct sock *, int, int); + +typedef void (*btf_trace_softirq_entry)(void *, unsigned int); + +typedef void (*btf_trace_softirq_exit)(void *, unsigned int); + +typedef void (*btf_trace_softirq_raise)(void *, unsigned int); + +typedef void (*btf_trace_start_task_reaping)(void *, int); + +typedef void (*btf_trace_suspend_resume)(void *, const char *, int, bool); + +typedef void (*btf_trace_sys_enter)(void *, struct pt_regs *, long int); + +typedef void (*btf_trace_sys_exit)(void *, struct pt_regs *, long int); + +typedef void (*btf_trace_task_newtask)(void *, struct task_struct *, long unsigned int); + +typedef void (*btf_trace_task_prctl_unknown)(void *, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int); + +typedef void (*btf_trace_task_rename)(void *, struct task_struct *, const char *); + +typedef void (*btf_trace_tasklet_entry)(void *, struct tasklet_struct *, void *); + +typedef void (*btf_trace_tasklet_exit)(void *, struct tasklet_struct *, void *); + +typedef void (*btf_trace_tcp_ao_handshake_failure)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_key_not_found)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_mismatch)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_rcv_sne_update)(void *, const struct sock *, __u32); + +typedef void (*btf_trace_tcp_ao_rnext_request)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_snd_sne_update)(void *, const struct sock *, __u32); + +typedef void (*btf_trace_tcp_ao_synack_no_key)(void *, const struct sock *, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_wrong_maclen)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_bad_csum)(void *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_cong_state_set)(void *, struct sock *, const u8); + +typedef void (*btf_trace_tcp_destroy_sock)(void *, struct sock *); + +typedef void (*btf_trace_tcp_hash_ao_required)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_bad_header)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_mismatch)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_required)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_unexpected)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_probe)(void *, struct sock *, struct sk_buff *); + +typedef void (*btf_trace_tcp_rcv_space_adjust)(void *, struct sock *); + +typedef void (*btf_trace_tcp_receive_reset)(void *, struct sock *); + +typedef void (*btf_trace_tcp_retransmit_skb)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_retransmit_synack)(void *, const struct sock *, const struct request_sock *); + +typedef void (*btf_trace_tcp_send_reset)(void *, const struct sock *, const struct sk_buff *, const enum sk_rst_reason); + +typedef void (*btf_trace_timer_base_idle)(void *, bool, unsigned int); + +typedef void (*btf_trace_timer_cancel)(void *, struct timer_list *); + +typedef void (*btf_trace_timer_expire_entry)(void *, struct timer_list *, long unsigned int); + +typedef void (*btf_trace_timer_expire_exit)(void *, struct timer_list *); + +typedef void (*btf_trace_timer_init)(void *, struct timer_list *); + +typedef void (*btf_trace_timer_start)(void *, struct timer_list *, long unsigned int); + +typedef void (*btf_trace_tlb_flush)(void *, int, long unsigned int); + +typedef void (*btf_trace_udp_fail_queue_rcv_skb)(void *, int, struct sock *, struct sk_buff *); + +typedef void (*btf_trace_vm_unmapped_area)(void *, long unsigned int, struct vm_unmapped_area_info *); + +typedef void (*btf_trace_vma_mas_szero)(void *, struct maple_tree *, long unsigned int, long unsigned int); + +typedef void (*btf_trace_vma_store)(void *, struct maple_tree *, struct vm_area_struct *); + +typedef void (*btf_trace_wake_reaper)(void *, int); + +typedef void (*btf_trace_wakeup_source_activate)(void *, const char *, unsigned int); + +typedef void (*btf_trace_wakeup_source_deactivate)(void *, const char *, unsigned int); + +typedef void (*btf_trace_wbc_writepage)(void *, struct writeback_control *, struct backing_dev_info *); + +typedef void (*btf_trace_workqueue_activate_work)(void *, struct work_struct *); + +typedef void (*btf_trace_workqueue_execute_end)(void *, struct work_struct *, work_func_t); + +typedef void (*btf_trace_workqueue_execute_start)(void *, struct work_struct *); + +typedef void (*btf_trace_workqueue_queue_work)(void *, int, struct pool_workqueue *, struct work_struct *); + +typedef void (*btf_trace_writeback_bdi_register)(void *, struct backing_dev_info *); + +typedef void (*btf_trace_writeback_dirty_folio)(void *, struct folio *, struct address_space *); + +typedef void (*btf_trace_writeback_dirty_inode)(void *, struct inode *, int); + +typedef void (*btf_trace_writeback_dirty_inode_enqueue)(void *, struct inode *); + +typedef void (*btf_trace_writeback_dirty_inode_start)(void *, struct inode *, int); + +typedef void (*btf_trace_writeback_exec)(void *, struct bdi_writeback *, struct wb_writeback_work *); + +typedef void (*btf_trace_writeback_lazytime)(void *, struct inode *); + +typedef void (*btf_trace_writeback_lazytime_iput)(void *, struct inode *); + +typedef void (*btf_trace_writeback_mark_inode_dirty)(void *, struct inode *, int); + +typedef void (*btf_trace_writeback_pages_written)(void *, long int); + +typedef void (*btf_trace_writeback_queue)(void *, struct bdi_writeback *, struct wb_writeback_work *); + +typedef void (*btf_trace_writeback_queue_io)(void *, struct bdi_writeback *, struct wb_writeback_work *, long unsigned int, int); + +typedef void (*btf_trace_writeback_sb_inodes_requeue)(void *, struct inode *); + +typedef void (*btf_trace_writeback_single_inode)(void *, struct inode *, struct writeback_control *, long unsigned int); + +typedef void (*btf_trace_writeback_single_inode_start)(void *, struct inode *, struct writeback_control *, long unsigned int); + +typedef void (*btf_trace_writeback_start)(void *, struct bdi_writeback *, struct wb_writeback_work *); + +typedef void (*btf_trace_writeback_wait)(void *, struct bdi_writeback *, struct wb_writeback_work *); + +typedef void (*btf_trace_writeback_wake_background)(void *, struct bdi_writeback *); + +typedef void (*btf_trace_writeback_write_inode)(void *, struct inode *, struct writeback_control *); + +typedef void (*btf_trace_writeback_write_inode_start)(void *, struct inode *, struct writeback_control *); + +typedef void (*btf_trace_writeback_written)(void *, struct bdi_writeback *, struct wb_writeback_work *); + +typedef void (*btf_trace_xdp_bulk_tx)(void *, const struct net_device *, int, int, int); + +typedef void (*btf_trace_xdp_cpumap_enqueue)(void *, int, unsigned int, unsigned int, int); + +typedef void (*btf_trace_xdp_cpumap_kthread)(void *, int, unsigned int, unsigned int, int, struct xdp_cpumap_stats *); + +typedef void (*btf_trace_xdp_devmap_xmit)(void *, const struct net_device *, const struct net_device *, int, int, int); + +typedef void (*btf_trace_xdp_exception)(void *, const struct net_device *, const struct bpf_prog *, u32); + +typedef void (*btf_trace_xdp_redirect)(void *, const struct net_device *, const struct bpf_prog *, const void *, int, enum bpf_map_type, u32, u32); + +typedef void (*btf_trace_xdp_redirect_err)(void *, const struct net_device *, const struct bpf_prog *, const void *, int, enum bpf_map_type, u32, u32); + +typedef void (*btf_trace_xdp_redirect_map)(void *, const struct net_device *, const struct bpf_prog *, const void *, int, enum bpf_map_type, u32, u32); + +typedef void (*btf_trace_xdp_redirect_map_err)(void *, const struct net_device *, const struct bpf_prog *, const void *, int, enum bpf_map_type, u32, u32); + +typedef void (*clock_access_fn)(struct timespec64 *); + +typedef int (*cmp_r_func_t)(const void *, const void *, const void *); + +typedef bool (*cond_update_fn_t)(struct trace_array *, void *); + +typedef struct vfsmount * (*debugfs_automount_t)(struct dentry *, void *); + +typedef void * (*devcon_match_fn_t)(const struct fwnode_handle *, const char *, void *); + +typedef int (*device_iter_t)(struct device *, void *); + +typedef int (*device_match_t)(struct device *, const void *); + +typedef int (*dr_match_t)(struct device *, void *, void *); + +typedef int (*dummy_ops_test_ret_fn)(struct bpf_dummy_ops_state *, ...); + +typedef int (*dynevent_check_arg_fn_t)(void *); + +typedef void (*ethnl_notify_handler_t)(struct net_device *, unsigned int, const void *); + +typedef void (*exitcall_t)(void); + +typedef int filler_t(struct file *, struct folio *); + +typedef bool (*filter_func_t)(struct uprobe_consumer *, struct mm_struct *); + +typedef void free_folio_t(struct folio *, long unsigned int); + +typedef int (*ftrace_mapper_func)(void *); + +typedef struct sk_buff * (*gro_receive_sk_t)(struct sock *, struct list_head *, struct sk_buff *); + +typedef struct sk_buff * (*gro_receive_t)(struct list_head *, struct sk_buff *); + +typedef void (*harden_branch_predictor_fn_t)(void); + +typedef u32 inet6_ehashfn_t(const struct net *, const struct in6_addr *, const u16, const struct in6_addr *, const __be16); + +typedef u32 inet_ehashfn_t(const struct net *, const __be32, const __u16, const __be32, const __be16); + +typedef initcall_t initcall_entry_t; + +struct xattr; + +typedef int (*initxattrs)(struct inode *, const struct xattr *, void *); + +typedef size_t (*iov_step_f)(void *, size_t, size_t, void *, void *); + +typedef size_t (*iov_ustep_f)(void *, size_t, size_t, void *, void *); + +typedef void ip6_icmp_send_t(struct sk_buff *, u8, u8, __u32, const struct in6_addr *, const struct inet6_skb_parm *); + +typedef enum probes_insn kprobe_decode_insn_t(probes_opcode_t, struct arch_probes_insn *, bool, const union decode_action *, const struct decode_checker **); + +typedef int (*list_cmp_func_t)(void *, const struct list_head *, const struct list_head *); + +typedef enum lru_status (*list_lru_walk_cb)(struct list_head *, struct list_lru_one *, void *); + +typedef void (*move_fn_t)(struct lruvec *, struct folio *); + +typedef int (*netlink_filter_fn)(struct sock *, struct sk_buff *, void *); + +typedef struct folio *new_folio_t(struct folio *, long unsigned int); + +typedef struct ns_common *ns_get_path_helper_t(void *); + +typedef int (*objpool_init_obj_cb)(void *, void *); + +typedef void (*of_init_fn_1)(struct device_node *); + +typedef int (*of_init_fn_1_ret)(struct device_node *); + +typedef int (*parse_pred_fn)(const char *, void *, int, struct filter_parse_error *, struct filter_pred **); + +typedef int (*parse_unknown_fn)(char *, char *, const char *, void *); + +typedef void perf_iterate_f(struct perf_event *, void *); + +typedef int perf_snapshot_branch_stack_t(struct perf_branch_entry *, unsigned int); + +typedef void (*phys_reset_t)(long unsigned int, bool); + +typedef struct rt6_info * (*pol_lookup_t)(struct net *, struct fib6_table *, struct flowi6 *, const struct sk_buff *, int); + +typedef int (*pp_nl_fill_cb)(struct sk_buff *, const struct page_pool *, const struct genl_info *); + +typedef int (*proc_visitor)(struct task_struct *, void *); + +typedef int (*pte_fn_t)(pte_t *, long unsigned int, void *); + +typedef int (*reservedmem_of_init_fn)(struct reserved_mem *); + +typedef bool (*ring_buffer_cond_fn)(void *); + +typedef int (*sendmsg_func)(struct sock *, struct msghdr *); + +typedef int (*set_callee_state_fn)(struct bpf_verifier_env *, struct bpf_func_state *, struct bpf_func_state *, int); + +typedef struct scatterlist *sg_alloc_fn(unsigned int, gfp_t); + +typedef void sg_free_fn(struct scatterlist *, unsigned int); + +typedef bool (*smp_cond_func_t)(int, void *); + +typedef int splice_actor(struct pipe_inode_info *, struct pipe_buffer *, struct splice_desc *); + +typedef int splice_direct_actor(struct pipe_inode_info *, struct splice_desc *); + +typedef bool (*stack_trace_consume_fn)(void *, long unsigned int); + +typedef void (*swap_r_func_t)(void *, void *, int, const void *); + +typedef int (*task_call_f)(struct task_struct *, void *); + +typedef void (*task_work_func_t)(struct callback_head *); + +typedef struct sock * (*udp_lookup_t)(const struct sk_buff *, __be16, __be16); + +typedef int wait_bit_action_f(struct wait_bit_key *, int); + +typedef int (*writepage_t)(struct folio *, struct writeback_control *, void *); + +struct net_bridge; + +struct task_group; + +typedef void *acpi_handle; + +struct acpi_device; + +struct audit_buffer; + +struct audit_context; + +struct bpf_iter; + +struct cma; + +struct hugepage_subpool; + +struct io_tlb_pool; + +struct iomap_ops; + +struct nvmem_cell; + + +/* BPF kfuncs */ +#ifndef BPF_NO_KFUNC_PROTOTYPES +extern __bpf_fastcall void *bpf_cast_to_kern_ctx(void *obj) __weak __ksym; +extern int bpf_copy_from_user_str(void *dst, u32 dst__sz, const void *unsafe_ptr__ign, u64 flags) __weak __ksym; +extern struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_and(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_any_and_distribute(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_any_distribute(const struct cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_clear(struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_copy(struct bpf_cpumask *dst, const struct cpumask *src) __weak __ksym; +extern struct bpf_cpumask *bpf_cpumask_create(void) __weak __ksym; +extern bool bpf_cpumask_empty(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_first(const struct cpumask *cpumask) __weak __ksym; +extern u32 bpf_cpumask_first_and(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_full(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_intersects(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern void bpf_cpumask_or(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern void bpf_cpumask_release(struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_setall(struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_subset(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern bool bpf_cpumask_test_and_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_test_and_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __weak __ksym; +extern u32 bpf_cpumask_weight(const struct cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_xor(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern int bpf_dynptr_adjust(const struct bpf_dynptr *p, u32 start, u32 end) __weak __ksym; +extern int bpf_dynptr_clone(const struct bpf_dynptr *p, struct bpf_dynptr *clone__uninit) __weak __ksym; +extern bool bpf_dynptr_is_null(const struct bpf_dynptr *p) __weak __ksym; +extern bool bpf_dynptr_is_rdonly(const struct bpf_dynptr *p) __weak __ksym; +extern __u32 bpf_dynptr_size(const struct bpf_dynptr *p) __weak __ksym; +extern void *bpf_dynptr_slice(const struct bpf_dynptr *p, u32 offset, void *buffer__opt, u32 buffer__szk) __weak __ksym; +extern void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *p, u32 offset, void *buffer__opt, u32 buffer__szk) __weak __ksym; +extern int bpf_fentry_test1(int a) __weak __ksym; +extern void bpf_iter_bits_destroy(struct bpf_iter_bits *it) __weak __ksym; +extern int bpf_iter_bits_new(struct bpf_iter_bits *it, const u64 *unsafe_ptr__ign, u32 nr_words) __weak __ksym; +extern int *bpf_iter_bits_next(struct bpf_iter_bits *it) __weak __ksym; +extern void bpf_iter_kmem_cache_destroy(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern int bpf_iter_kmem_cache_new(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern struct kmem_cache *bpf_iter_kmem_cache_next(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern void bpf_iter_num_destroy(struct bpf_iter_num *it) __weak __ksym; +extern int bpf_iter_num_new(struct bpf_iter_num *it, int start, int end) __weak __ksym; +extern int *bpf_iter_num_next(struct bpf_iter_num *it) __weak __ksym; +extern void bpf_iter_task_destroy(struct bpf_iter_task *it) __weak __ksym; +extern int bpf_iter_task_new(struct bpf_iter_task *it, struct task_struct *task__nullable, unsigned int flags) __weak __ksym; +extern struct task_struct *bpf_iter_task_next(struct bpf_iter_task *it) __weak __ksym; +extern void bpf_iter_task_vma_destroy(struct bpf_iter_task_vma *it) __weak __ksym; +extern struct vm_area_struct *bpf_iter_task_vma_next(struct bpf_iter_task_vma *it) __weak __ksym; +extern void bpf_kfunc_call_memb_release(struct prog_test_member *p) __weak __ksym; +extern void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) __weak __ksym; +extern struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) __weak __ksym; +extern struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) __weak __ksym; +extern int bpf_list_push_back_impl(struct bpf_list_head *head, struct bpf_list_node *node, void *meta__ign, u64 off) __weak __ksym; +extern int bpf_list_push_front_impl(struct bpf_list_head *head, struct bpf_list_node *node, void *meta__ign, u64 off) __weak __ksym; +extern void bpf_local_irq_restore(long unsigned int *flags__irq_flag) __weak __ksym; +extern void bpf_local_irq_save(long unsigned int *flags__irq_flag) __weak __ksym; +extern s64 bpf_map_sum_elem_count(const struct bpf_map *map) __weak __ksym; +extern int bpf_modify_return_test(int a, int *b) __weak __ksym; +extern int bpf_modify_return_test2(int a, int *b, short int c, int d, void *e, char f, int g) __weak __ksym; +extern int bpf_modify_return_test_tp(int nonce) __weak __ksym; +extern void bpf_obj_drop_impl(void *p__alloc, void *meta__ign) __weak __ksym; +extern void bpf_percpu_obj_drop_impl(void *p__alloc, void *meta__ign) __weak __ksym; +extern void bpf_preempt_disable(void) __weak __ksym; +extern void bpf_preempt_enable(void) __weak __ksym; +extern int bpf_rbtree_add_impl(struct bpf_rb_root *root, struct bpf_rb_node *node, bool (*less)(struct bpf_rb_node *, const struct bpf_rb_node *), void *meta__ign, u64 off) __weak __ksym; +extern struct bpf_rb_node *bpf_rbtree_first(struct bpf_rb_root *root) __weak __ksym; +extern struct bpf_rb_node *bpf_rbtree_remove(struct bpf_rb_root *root, struct bpf_rb_node *node) __weak __ksym; +extern void bpf_rcu_read_lock(void) __weak __ksym; +extern void bpf_rcu_read_unlock(void) __weak __ksym; +extern __bpf_fastcall void *bpf_rdonly_cast(const void *obj__ign, u32 btf_id__k) __weak __ksym; +extern void *bpf_refcount_acquire_impl(void *p__refcounted_kptr, void *meta__ign) __weak __ksym; +extern int bpf_send_signal_task(struct task_struct *task, int sig, enum pid_type type, u64 value) __weak __ksym; +extern __u64 *bpf_session_cookie(void) __weak __ksym; +extern bool bpf_session_is_return(void) __weak __ksym; +extern int bpf_sk_assign_tcp_reqsk(struct __sk_buff *s, struct sock *sk, struct bpf_tcp_req_attrs *attrs, int attrs__sz) __weak __ksym; +extern int bpf_sock_addr_set_sun_path(struct bpf_sock_addr_kern *sa_kern, const u8 *sun_path, u32 sun_path__sz) __weak __ksym; +extern int bpf_sock_destroy(struct sock_common *sock) __weak __ksym; +extern struct task_struct *bpf_task_acquire(struct task_struct *p) __weak __ksym; +extern struct task_struct *bpf_task_from_pid(s32 pid) __weak __ksym; +extern struct task_struct *bpf_task_from_vpid(s32 vpid) __weak __ksym; +extern void bpf_task_release(struct task_struct *p) __weak __ksym; +extern int bpf_wq_init(struct bpf_wq *wq, void *p__map, unsigned int flags) __weak __ksym; +extern int bpf_wq_set_callback_impl(struct bpf_wq *wq, int (*callback_fn)(void *, int *, void *), unsigned int flags, void *aux__ign) __weak __ksym; +extern int bpf_wq_start(struct bpf_wq *wq, unsigned int flags) __weak __ksym; +extern int bpf_xdp_metadata_rx_hash(const struct xdp_md *ctx, u32 *hash, enum xdp_rss_hash_type *rss_type) __weak __ksym; +extern int bpf_xdp_metadata_rx_timestamp(const struct xdp_md *ctx, u64 *timestamp) __weak __ksym; +extern int bpf_xdp_metadata_rx_vlan_tag(const struct xdp_md *ctx, __be16 *vlan_proto, u16 *vlan_tci) __weak __ksym; +extern void cubictcp_acked(struct sock *sk, const struct ack_sample *sample) __weak __ksym; +extern void cubictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) __weak __ksym; +extern void cubictcp_cwnd_event(struct sock *sk, enum tcp_ca_event event) __weak __ksym; +extern void cubictcp_init(struct sock *sk) __weak __ksym; +extern u32 cubictcp_recalc_ssthresh(struct sock *sk) __weak __ksym; +extern void cubictcp_state(struct sock *sk, u8 new_state) __weak __ksym; +extern void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked) __weak __ksym; +extern void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked) __weak __ksym; +extern u32 tcp_reno_ssthresh(struct sock *sk) __weak __ksym; +extern u32 tcp_reno_undo_cwnd(struct sock *sk) __weak __ksym; +extern u32 tcp_slow_start(struct tcp_sock *tp, u32 acked) __weak __ksym; +#endif + +#ifndef BPF_NO_PRESERVE_ACCESS_INDEX +#pragma clang attribute pop +#endif + +#endif /* __VMLINUX_H__ */ diff --git a/include/arm/vmlinux_6.6.h b/include/arm/vmlinux_6.6.h deleted file mode 100644 index 693e2b2..0000000 --- a/include/arm/vmlinux_6.6.h +++ /dev/null @@ -1,37015 +0,0 @@ -#ifndef __VMLINUX_H__ -#define __VMLINUX_H__ - -#ifndef BPF_NO_PRESERVE_ACCESS_INDEX -#pragma clang attribute push (__attribute__((preserve_access_index)), apply_to = record) -#endif - -#ifndef __ksym -#define __ksym __attribute__((section(".ksyms"))) -#endif - -#ifndef __weak -#define __weak __attribute__((weak)) -#endif - -enum { - AT_PKT_END = -1, - BEYOND_PKT_END = -2, -}; - -enum { - AX25_VALUES_IPDEFMODE = 0, - AX25_VALUES_AXDEFMODE = 1, - AX25_VALUES_BACKOFF = 2, - AX25_VALUES_CONMODE = 3, - AX25_VALUES_WINDOW = 4, - AX25_VALUES_EWINDOW = 5, - AX25_VALUES_T1 = 6, - AX25_VALUES_T2 = 7, - AX25_VALUES_T3 = 8, - AX25_VALUES_IDLE = 9, - AX25_VALUES_N2 = 10, - AX25_VALUES_PACLEN = 11, - AX25_VALUES_PROTOCOL = 12, - AX25_VALUES_DS_TIMEOUT = 13, - AX25_MAX_VALUES = 14, -}; - -enum { - BPF_ADJ_ROOM_ENCAP_L2_MASK = 255, - BPF_ADJ_ROOM_ENCAP_L2_SHIFT = 56, -}; - -enum { - BPF_ANY = 0, - BPF_NOEXIST = 1, - BPF_EXIST = 2, - BPF_F_LOCK = 4, -}; - -enum { - BPF_CSUM_LEVEL_QUERY = 0, - BPF_CSUM_LEVEL_INC = 1, - BPF_CSUM_LEVEL_DEC = 2, - BPF_CSUM_LEVEL_RESET = 3, -}; - -enum { - BPF_FIB_LKUP_RET_SUCCESS = 0, - BPF_FIB_LKUP_RET_BLACKHOLE = 1, - BPF_FIB_LKUP_RET_UNREACHABLE = 2, - BPF_FIB_LKUP_RET_PROHIBIT = 3, - BPF_FIB_LKUP_RET_NOT_FWDED = 4, - BPF_FIB_LKUP_RET_FWD_DISABLED = 5, - BPF_FIB_LKUP_RET_UNSUPP_LWT = 6, - BPF_FIB_LKUP_RET_NO_NEIGH = 7, - BPF_FIB_LKUP_RET_FRAG_NEEDED = 8, -}; - -enum { - BPF_FIB_LOOKUP_DIRECT = 1, - BPF_FIB_LOOKUP_OUTPUT = 2, - BPF_FIB_LOOKUP_SKIP_NEIGH = 4, - BPF_FIB_LOOKUP_TBID = 8, -}; - -enum { - BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG = 1, - BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL = 2, - BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP = 4, -}; - -enum { - BPF_F_ADJ_ROOM_FIXED_GSO = 1, - BPF_F_ADJ_ROOM_ENCAP_L3_IPV4 = 2, - BPF_F_ADJ_ROOM_ENCAP_L3_IPV6 = 4, - BPF_F_ADJ_ROOM_ENCAP_L4_GRE = 8, - BPF_F_ADJ_ROOM_ENCAP_L4_UDP = 16, - BPF_F_ADJ_ROOM_NO_CSUM_RESET = 32, - BPF_F_ADJ_ROOM_ENCAP_L2_ETH = 64, - BPF_F_ADJ_ROOM_DECAP_L3_IPV4 = 128, - BPF_F_ADJ_ROOM_DECAP_L3_IPV6 = 256, -}; - -enum { - BPF_F_BROADCAST = 8, - BPF_F_EXCLUDE_INGRESS = 16, -}; - -enum { - BPF_F_HDR_FIELD_MASK = 15, -}; - -enum { - BPF_F_INDEX_MASK = 4294967295ULL, - BPF_F_CURRENT_CPU = 4294967295ULL, - BPF_F_CTXLEN_MASK = 4503595332403200ULL, -}; - -enum { - BPF_F_INGRESS = 1, -}; - -enum { - BPF_F_NEIGH = 2, - BPF_F_PEER = 4, - BPF_F_NEXTHOP = 8, -}; - -enum { - BPF_F_NO_PREALLOC = 1, - BPF_F_NO_COMMON_LRU = 2, - BPF_F_NUMA_NODE = 4, - BPF_F_RDONLY = 8, - BPF_F_WRONLY = 16, - BPF_F_STACK_BUILD_ID = 32, - BPF_F_ZERO_SEED = 64, - BPF_F_RDONLY_PROG = 128, - BPF_F_WRONLY_PROG = 256, - BPF_F_CLONE = 512, - BPF_F_MMAPABLE = 1024, - BPF_F_PRESERVE_ELEMS = 2048, - BPF_F_INNER_MAP = 4096, - BPF_F_LINK = 8192, - BPF_F_PATH_FD = 16384, -}; - -enum { - BPF_F_PSEUDO_HDR = 16, - BPF_F_MARK_MANGLED_0 = 32, - BPF_F_MARK_ENFORCE = 64, -}; - -enum { - BPF_F_RECOMPUTE_CSUM = 1, - BPF_F_INVALIDATE_HASH = 2, -}; - -enum { - BPF_F_SKIP_FIELD_MASK = 255, - BPF_F_USER_STACK = 256, - BPF_F_FAST_STACK_CMP = 512, - BPF_F_REUSE_STACKID = 1024, - BPF_F_USER_BUILD_ID = 2048, -}; - -enum { - BPF_F_TIMER_ABS = 1, -}; - -enum { - BPF_F_TUNINFO_FLAGS = 16, -}; - -enum { - BPF_F_TUNINFO_IPV6 = 1, -}; - -enum { - BPF_F_ZERO_CSUM_TX = 2, - BPF_F_DONT_FRAGMENT = 4, - BPF_F_SEQ_NUMBER = 8, - BPF_F_NO_TUNNEL_KEY = 16, -}; - -enum { - BPF_LOAD_HDR_OPT_TCP_SYN = 1, -}; - -enum { - BPF_LOCAL_STORAGE_GET_F_CREATE = 1, - BPF_SK_STORAGE_GET_F_CREATE = 1, -}; - -enum { - BPF_MAX_LOOPS = 8388608, -}; - -enum { - BPF_MAX_TRAMP_LINKS = 38, -}; - -enum { - BPF_R2_HI = 0, - BPF_R2_LO = 1, - BPF_R3_HI = 2, - BPF_R3_LO = 3, - BPF_R4_HI = 4, - BPF_R4_LO = 5, - BPF_R5_HI = 6, - BPF_R5_LO = 7, - BPF_R7_HI = 8, - BPF_R7_LO = 9, - BPF_R8_HI = 10, - BPF_R8_LO = 11, - BPF_R9_HI = 12, - BPF_R9_LO = 13, - BPF_FP_HI = 14, - BPF_FP_LO = 15, - BPF_TC_HI = 16, - BPF_TC_LO = 17, - BPF_AX_HI = 18, - BPF_AX_LO = 19, - BPF_JIT_SCRATCH_REGS = 20, -}; - -enum { - BPF_RB_AVAIL_DATA = 0, - BPF_RB_RING_SIZE = 1, - BPF_RB_CONS_POS = 2, - BPF_RB_PROD_POS = 3, -}; - -enum { - BPF_RB_NO_WAKEUP = 1, - BPF_RB_FORCE_WAKEUP = 2, -}; - -enum { - BPF_REG_0 = 0, - BPF_REG_1 = 1, - BPF_REG_2 = 2, - BPF_REG_3 = 3, - BPF_REG_4 = 4, - BPF_REG_5 = 5, - BPF_REG_6 = 6, - BPF_REG_7 = 7, - BPF_REG_8 = 8, - BPF_REG_9 = 9, - BPF_REG_10 = 10, - __MAX_BPF_REG = 11, -}; - -enum { - BPF_RINGBUF_BUSY_BIT = 2147483648, - BPF_RINGBUF_DISCARD_BIT = 1073741824, - BPF_RINGBUF_HDR_SZ = 8, -}; - -enum { - BPF_SKB_TSTAMP_UNSPEC = 0, - BPF_SKB_TSTAMP_DELIVERY_MONO = 1, -}; - -enum { - BPF_SK_LOOKUP_F_REPLACE = 1, - BPF_SK_LOOKUP_F_NO_REUSEPORT = 2, -}; - -enum { - BPF_SOCK_OPS_RTO_CB_FLAG = 1, - BPF_SOCK_OPS_RETRANS_CB_FLAG = 2, - BPF_SOCK_OPS_STATE_CB_FLAG = 4, - BPF_SOCK_OPS_RTT_CB_FLAG = 8, - BPF_SOCK_OPS_PARSE_ALL_HDR_OPT_CB_FLAG = 16, - BPF_SOCK_OPS_PARSE_UNKNOWN_HDR_OPT_CB_FLAG = 32, - BPF_SOCK_OPS_WRITE_HDR_OPT_CB_FLAG = 64, - BPF_SOCK_OPS_ALL_CB_FLAGS = 127, -}; - -enum { - BPF_SOCK_OPS_VOID = 0, - BPF_SOCK_OPS_TIMEOUT_INIT = 1, - BPF_SOCK_OPS_RWND_INIT = 2, - BPF_SOCK_OPS_TCP_CONNECT_CB = 3, - BPF_SOCK_OPS_ACTIVE_ESTABLISHED_CB = 4, - BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB = 5, - BPF_SOCK_OPS_NEEDS_ECN = 6, - BPF_SOCK_OPS_BASE_RTT = 7, - BPF_SOCK_OPS_RTO_CB = 8, - BPF_SOCK_OPS_RETRANS_CB = 9, - BPF_SOCK_OPS_STATE_CB = 10, - BPF_SOCK_OPS_TCP_LISTEN_CB = 11, - BPF_SOCK_OPS_RTT_CB = 12, - BPF_SOCK_OPS_PARSE_HDR_OPT_CB = 13, - BPF_SOCK_OPS_HDR_OPT_LEN_CB = 14, - BPF_SOCK_OPS_WRITE_HDR_OPT_CB = 15, -}; - -enum { - BPF_STRUCT_OPS_TYPE_bpf_dummy_ops = 0, - BPF_STRUCT_OPS_TYPE_tcp_congestion_ops = 1, - __NR_BPF_STRUCT_OPS_TYPE = 2, -}; - -enum { - BPF_TCP_ESTABLISHED = 1, - BPF_TCP_SYN_SENT = 2, - BPF_TCP_SYN_RECV = 3, - BPF_TCP_FIN_WAIT1 = 4, - BPF_TCP_FIN_WAIT2 = 5, - BPF_TCP_TIME_WAIT = 6, - BPF_TCP_CLOSE = 7, - BPF_TCP_CLOSE_WAIT = 8, - BPF_TCP_LAST_ACK = 9, - BPF_TCP_LISTEN = 10, - BPF_TCP_CLOSING = 11, - BPF_TCP_NEW_SYN_RECV = 12, - BPF_TCP_MAX_STATES = 13, -}; - -enum { - BR_MCAST_DIR_RX = 0, - BR_MCAST_DIR_TX = 1, - BR_MCAST_DIR_SIZE = 2, -}; - -enum { - BTF_FIELDS_MAX = 10, -}; - -enum { - BTF_FIELD_IGNORE = 0, - BTF_FIELD_FOUND = 1, -}; - -enum { - BTF_F_COMPACT = 1, - BTF_F_NONAME = 2, - BTF_F_PTR_RAW = 4, - BTF_F_ZERO = 8, -}; - -enum { - BTF_KFUNC_SET_MAX_CNT = 256, - BTF_DTOR_KFUNC_MAX_CNT = 256, - BTF_KFUNC_FILTER_MAX_CNT = 16, -}; - -enum { - BTF_KIND_UNKN = 0, - BTF_KIND_INT = 1, - BTF_KIND_PTR = 2, - BTF_KIND_ARRAY = 3, - BTF_KIND_STRUCT = 4, - BTF_KIND_UNION = 5, - BTF_KIND_ENUM = 6, - BTF_KIND_FWD = 7, - BTF_KIND_TYPEDEF = 8, - BTF_KIND_VOLATILE = 9, - BTF_KIND_CONST = 10, - BTF_KIND_RESTRICT = 11, - BTF_KIND_FUNC = 12, - BTF_KIND_FUNC_PROTO = 13, - BTF_KIND_VAR = 14, - BTF_KIND_DATASEC = 15, - BTF_KIND_FLOAT = 16, - BTF_KIND_DECL_TAG = 17, - BTF_KIND_TYPE_TAG = 18, - BTF_KIND_ENUM64 = 19, - NR_BTF_KINDS = 20, - BTF_KIND_MAX = 19, -}; - -enum { - BTF_MODULE_F_LIVE = 1, -}; - -enum { - BTF_SOCK_TYPE_INET = 0, - BTF_SOCK_TYPE_INET_CONN = 1, - BTF_SOCK_TYPE_INET_REQ = 2, - BTF_SOCK_TYPE_INET_TW = 3, - BTF_SOCK_TYPE_REQ = 4, - BTF_SOCK_TYPE_SOCK = 5, - BTF_SOCK_TYPE_SOCK_COMMON = 6, - BTF_SOCK_TYPE_TCP = 7, - BTF_SOCK_TYPE_TCP_REQ = 8, - BTF_SOCK_TYPE_TCP_TW = 9, - BTF_SOCK_TYPE_TCP6 = 10, - BTF_SOCK_TYPE_UDP = 11, - BTF_SOCK_TYPE_UDP6 = 12, - BTF_SOCK_TYPE_UNIX = 13, - BTF_SOCK_TYPE_MPTCP = 14, - BTF_SOCK_TYPE_SOCKET = 15, - MAX_BTF_SOCK_TYPE = 16, -}; - -enum { - BTF_TRACING_TYPE_TASK = 0, - BTF_TRACING_TYPE_FILE = 1, - BTF_TRACING_TYPE_VMA = 2, - MAX_BTF_TRACING_TYPE = 3, -}; - -enum { - BTF_VAR_STATIC = 0, - BTF_VAR_GLOBAL_ALLOCATED = 1, - BTF_VAR_GLOBAL_EXTERN = 2, -}; - -enum { - CRNG_EMPTY = 0, - CRNG_EARLY = 1, - CRNG_READY = 2, -}; - -enum { - CRNG_RESEED_START_INTERVAL = 100, - CRNG_RESEED_INTERVAL = 6000, -}; - -enum { - CSD_FLAG_LOCK = 1, - IRQ_WORK_PENDING = 1, - IRQ_WORK_BUSY = 2, - IRQ_WORK_LAZY = 4, - IRQ_WORK_HARD_IRQ = 8, - IRQ_WORK_CLAIMED = 3, - CSD_TYPE_ASYNC = 0, - CSD_TYPE_SYNC = 16, - CSD_TYPE_IRQ_WORK = 32, - CSD_TYPE_TTWU = 48, - CSD_FLAG_TYPE_MASK = 240, -}; - -enum { - CTRL_ATTR_MCAST_GRP_UNSPEC = 0, - CTRL_ATTR_MCAST_GRP_NAME = 1, - CTRL_ATTR_MCAST_GRP_ID = 2, - __CTRL_ATTR_MCAST_GRP_MAX = 3, -}; - -enum { - CTRL_ATTR_OP_UNSPEC = 0, - CTRL_ATTR_OP_ID = 1, - CTRL_ATTR_OP_FLAGS = 2, - __CTRL_ATTR_OP_MAX = 3, -}; - -enum { - CTRL_ATTR_POLICY_UNSPEC = 0, - CTRL_ATTR_POLICY_DO = 1, - CTRL_ATTR_POLICY_DUMP = 2, - __CTRL_ATTR_POLICY_DUMP_MAX = 3, - CTRL_ATTR_POLICY_DUMP_MAX = 2, -}; - -enum { - CTRL_ATTR_UNSPEC = 0, - CTRL_ATTR_FAMILY_ID = 1, - CTRL_ATTR_FAMILY_NAME = 2, - CTRL_ATTR_VERSION = 3, - CTRL_ATTR_HDRSIZE = 4, - CTRL_ATTR_MAXATTR = 5, - CTRL_ATTR_OPS = 6, - CTRL_ATTR_MCAST_GROUPS = 7, - CTRL_ATTR_POLICY = 8, - CTRL_ATTR_OP_POLICY = 9, - CTRL_ATTR_OP = 10, - __CTRL_ATTR_MAX = 11, -}; - -enum { - CTRL_CMD_UNSPEC = 0, - CTRL_CMD_NEWFAMILY = 1, - CTRL_CMD_DELFAMILY = 2, - CTRL_CMD_GETFAMILY = 3, - CTRL_CMD_NEWOPS = 4, - CTRL_CMD_DELOPS = 5, - CTRL_CMD_GETOPS = 6, - CTRL_CMD_NEWMCAST_GRP = 7, - CTRL_CMD_DELMCAST_GRP = 8, - CTRL_CMD_GETMCAST_GRP = 9, - CTRL_CMD_GETPOLICY = 10, - __CTRL_CMD_MAX = 11, -}; - -enum { - DAD_PROCESS = 0, - DAD_BEGIN = 1, - DAD_ABORT = 2, -}; - -enum { - DEVCONF_FORWARDING = 0, - DEVCONF_HOPLIMIT = 1, - DEVCONF_MTU6 = 2, - DEVCONF_ACCEPT_RA = 3, - DEVCONF_ACCEPT_REDIRECTS = 4, - DEVCONF_AUTOCONF = 5, - DEVCONF_DAD_TRANSMITS = 6, - DEVCONF_RTR_SOLICITS = 7, - DEVCONF_RTR_SOLICIT_INTERVAL = 8, - DEVCONF_RTR_SOLICIT_DELAY = 9, - DEVCONF_USE_TEMPADDR = 10, - DEVCONF_TEMP_VALID_LFT = 11, - DEVCONF_TEMP_PREFERED_LFT = 12, - DEVCONF_REGEN_MAX_RETRY = 13, - DEVCONF_MAX_DESYNC_FACTOR = 14, - DEVCONF_MAX_ADDRESSES = 15, - DEVCONF_FORCE_MLD_VERSION = 16, - DEVCONF_ACCEPT_RA_DEFRTR = 17, - DEVCONF_ACCEPT_RA_PINFO = 18, - DEVCONF_ACCEPT_RA_RTR_PREF = 19, - DEVCONF_RTR_PROBE_INTERVAL = 20, - DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN = 21, - DEVCONF_PROXY_NDP = 22, - DEVCONF_OPTIMISTIC_DAD = 23, - DEVCONF_ACCEPT_SOURCE_ROUTE = 24, - DEVCONF_MC_FORWARDING = 25, - DEVCONF_DISABLE_IPV6 = 26, - DEVCONF_ACCEPT_DAD = 27, - DEVCONF_FORCE_TLLAO = 28, - DEVCONF_NDISC_NOTIFY = 29, - DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL = 30, - DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL = 31, - DEVCONF_SUPPRESS_FRAG_NDISC = 32, - DEVCONF_ACCEPT_RA_FROM_LOCAL = 33, - DEVCONF_USE_OPTIMISTIC = 34, - DEVCONF_ACCEPT_RA_MTU = 35, - DEVCONF_STABLE_SECRET = 36, - DEVCONF_USE_OIF_ADDRS_ONLY = 37, - DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT = 38, - DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 39, - DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 40, - DEVCONF_DROP_UNSOLICITED_NA = 41, - DEVCONF_KEEP_ADDR_ON_DOWN = 42, - DEVCONF_RTR_SOLICIT_MAX_INTERVAL = 43, - DEVCONF_SEG6_ENABLED = 44, - DEVCONF_SEG6_REQUIRE_HMAC = 45, - DEVCONF_ENHANCED_DAD = 46, - DEVCONF_ADDR_GEN_MODE = 47, - DEVCONF_DISABLE_POLICY = 48, - DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN = 49, - DEVCONF_NDISC_TCLASS = 50, - DEVCONF_RPL_SEG_ENABLED = 51, - DEVCONF_RA_DEFRTR_METRIC = 52, - DEVCONF_IOAM6_ENABLED = 53, - DEVCONF_IOAM6_ID = 54, - DEVCONF_IOAM6_ID_WIDE = 55, - DEVCONF_NDISC_EVICT_NOCARRIER = 56, - DEVCONF_ACCEPT_UNTRACKED_NA = 57, - DEVCONF_ACCEPT_RA_MIN_LFT = 58, - DEVCONF_MAX = 59, -}; - -enum { - DISCOVERED = 16, - EXPLORED = 32, - FALLTHROUGH = 1, - BRANCH = 2, -}; - -enum { - DONE_EXPLORING = 0, - KEEP_EXPLORING = 1, -}; - -enum { - DQF_ROOT_SQUASH_B = 0, - DQF_SYS_FILE_B = 16, - DQF_PRIVATE = 17, -}; - -enum { - DQST_LOOKUPS = 0, - DQST_DROPS = 1, - DQST_READS = 2, - DQST_WRITES = 3, - DQST_CACHE_HITS = 4, - DQST_ALLOC_DQUOTS = 5, - DQST_FREE_DQUOTS = 6, - DQST_SYNCS = 7, - _DQST_DQSTAT_LAST = 8, -}; - -enum { - DUMP_PREFIX_NONE = 0, - DUMP_PREFIX_ADDRESS = 1, - DUMP_PREFIX_OFFSET = 2, -}; - -enum { - ETHTOOL_A_BITSET_BITS_UNSPEC = 0, - ETHTOOL_A_BITSET_BITS_BIT = 1, - __ETHTOOL_A_BITSET_BITS_CNT = 2, - ETHTOOL_A_BITSET_BITS_MAX = 1, -}; - -enum { - ETHTOOL_A_BITSET_BIT_UNSPEC = 0, - ETHTOOL_A_BITSET_BIT_INDEX = 1, - ETHTOOL_A_BITSET_BIT_NAME = 2, - ETHTOOL_A_BITSET_BIT_VALUE = 3, - __ETHTOOL_A_BITSET_BIT_CNT = 4, - ETHTOOL_A_BITSET_BIT_MAX = 3, -}; - -enum { - ETHTOOL_A_BITSET_UNSPEC = 0, - ETHTOOL_A_BITSET_NOMASK = 1, - ETHTOOL_A_BITSET_SIZE = 2, - ETHTOOL_A_BITSET_BITS = 3, - ETHTOOL_A_BITSET_VALUE = 4, - ETHTOOL_A_BITSET_MASK = 5, - __ETHTOOL_A_BITSET_CNT = 6, - ETHTOOL_A_BITSET_MAX = 5, -}; - -enum { - ETHTOOL_A_CABLE_AMPLITUDE_UNSPEC = 0, - ETHTOOL_A_CABLE_AMPLITUDE_PAIR = 1, - ETHTOOL_A_CABLE_AMPLITUDE_mV = 2, - __ETHTOOL_A_CABLE_AMPLITUDE_CNT = 3, - ETHTOOL_A_CABLE_AMPLITUDE_MAX = 2, -}; - -enum { - ETHTOOL_A_CABLE_FAULT_LENGTH_UNSPEC = 0, - ETHTOOL_A_CABLE_FAULT_LENGTH_PAIR = 1, - ETHTOOL_A_CABLE_FAULT_LENGTH_CM = 2, - __ETHTOOL_A_CABLE_FAULT_LENGTH_CNT = 3, - ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 2, -}; - -enum { - ETHTOOL_A_CABLE_NEST_UNSPEC = 0, - ETHTOOL_A_CABLE_NEST_RESULT = 1, - ETHTOOL_A_CABLE_NEST_FAULT_LENGTH = 2, - __ETHTOOL_A_CABLE_NEST_CNT = 3, - ETHTOOL_A_CABLE_NEST_MAX = 2, -}; - -enum { - ETHTOOL_A_CABLE_PAIR_A = 0, - ETHTOOL_A_CABLE_PAIR_B = 1, - ETHTOOL_A_CABLE_PAIR_C = 2, - ETHTOOL_A_CABLE_PAIR_D = 3, -}; - -enum { - ETHTOOL_A_CABLE_PULSE_UNSPEC = 0, - ETHTOOL_A_CABLE_PULSE_mV = 1, - __ETHTOOL_A_CABLE_PULSE_CNT = 2, - ETHTOOL_A_CABLE_PULSE_MAX = 1, -}; - -enum { - ETHTOOL_A_CABLE_RESULT_UNSPEC = 0, - ETHTOOL_A_CABLE_RESULT_PAIR = 1, - ETHTOOL_A_CABLE_RESULT_CODE = 2, - __ETHTOOL_A_CABLE_RESULT_CNT = 3, - ETHTOOL_A_CABLE_RESULT_MAX = 2, -}; - -enum { - ETHTOOL_A_CABLE_STEP_UNSPEC = 0, - ETHTOOL_A_CABLE_STEP_FIRST_DISTANCE = 1, - ETHTOOL_A_CABLE_STEP_LAST_DISTANCE = 2, - ETHTOOL_A_CABLE_STEP_STEP_DISTANCE = 3, - __ETHTOOL_A_CABLE_STEP_CNT = 4, - ETHTOOL_A_CABLE_STEP_MAX = 3, -}; - -enum { - ETHTOOL_A_CABLE_TDR_NEST_UNSPEC = 0, - ETHTOOL_A_CABLE_TDR_NEST_STEP = 1, - ETHTOOL_A_CABLE_TDR_NEST_AMPLITUDE = 2, - ETHTOOL_A_CABLE_TDR_NEST_PULSE = 3, - __ETHTOOL_A_CABLE_TDR_NEST_CNT = 4, - ETHTOOL_A_CABLE_TDR_NEST_MAX = 3, -}; - -enum { - ETHTOOL_A_CABLE_TEST_NTF_STATUS_UNSPEC = 0, - ETHTOOL_A_CABLE_TEST_NTF_STATUS_STARTED = 1, - ETHTOOL_A_CABLE_TEST_NTF_STATUS_COMPLETED = 2, -}; - -enum { - ETHTOOL_A_CABLE_TEST_NTF_UNSPEC = 0, - ETHTOOL_A_CABLE_TEST_NTF_HEADER = 1, - ETHTOOL_A_CABLE_TEST_NTF_STATUS = 2, - ETHTOOL_A_CABLE_TEST_NTF_NEST = 3, - __ETHTOOL_A_CABLE_TEST_NTF_CNT = 4, - ETHTOOL_A_CABLE_TEST_NTF_MAX = 3, -}; - -enum { - ETHTOOL_A_CABLE_TEST_TDR_CFG_UNSPEC = 0, - ETHTOOL_A_CABLE_TEST_TDR_CFG_FIRST = 1, - ETHTOOL_A_CABLE_TEST_TDR_CFG_LAST = 2, - ETHTOOL_A_CABLE_TEST_TDR_CFG_STEP = 3, - ETHTOOL_A_CABLE_TEST_TDR_CFG_PAIR = 4, - __ETHTOOL_A_CABLE_TEST_TDR_CFG_CNT = 5, - ETHTOOL_A_CABLE_TEST_TDR_CFG_MAX = 4, -}; - -enum { - ETHTOOL_A_CABLE_TEST_TDR_UNSPEC = 0, - ETHTOOL_A_CABLE_TEST_TDR_HEADER = 1, - ETHTOOL_A_CABLE_TEST_TDR_CFG = 2, - __ETHTOOL_A_CABLE_TEST_TDR_CNT = 3, - ETHTOOL_A_CABLE_TEST_TDR_MAX = 2, -}; - -enum { - ETHTOOL_A_CABLE_TEST_UNSPEC = 0, - ETHTOOL_A_CABLE_TEST_HEADER = 1, - __ETHTOOL_A_CABLE_TEST_CNT = 2, - ETHTOOL_A_CABLE_TEST_MAX = 1, -}; - -enum { - ETHTOOL_A_CHANNELS_UNSPEC = 0, - ETHTOOL_A_CHANNELS_HEADER = 1, - ETHTOOL_A_CHANNELS_RX_MAX = 2, - ETHTOOL_A_CHANNELS_TX_MAX = 3, - ETHTOOL_A_CHANNELS_OTHER_MAX = 4, - ETHTOOL_A_CHANNELS_COMBINED_MAX = 5, - ETHTOOL_A_CHANNELS_RX_COUNT = 6, - ETHTOOL_A_CHANNELS_TX_COUNT = 7, - ETHTOOL_A_CHANNELS_OTHER_COUNT = 8, - ETHTOOL_A_CHANNELS_COMBINED_COUNT = 9, - __ETHTOOL_A_CHANNELS_CNT = 10, - ETHTOOL_A_CHANNELS_MAX = 9, -}; - -enum { - ETHTOOL_A_COALESCE_UNSPEC = 0, - ETHTOOL_A_COALESCE_HEADER = 1, - ETHTOOL_A_COALESCE_RX_USECS = 2, - ETHTOOL_A_COALESCE_RX_MAX_FRAMES = 3, - ETHTOOL_A_COALESCE_RX_USECS_IRQ = 4, - ETHTOOL_A_COALESCE_RX_MAX_FRAMES_IRQ = 5, - ETHTOOL_A_COALESCE_TX_USECS = 6, - ETHTOOL_A_COALESCE_TX_MAX_FRAMES = 7, - ETHTOOL_A_COALESCE_TX_USECS_IRQ = 8, - ETHTOOL_A_COALESCE_TX_MAX_FRAMES_IRQ = 9, - ETHTOOL_A_COALESCE_STATS_BLOCK_USECS = 10, - ETHTOOL_A_COALESCE_USE_ADAPTIVE_RX = 11, - ETHTOOL_A_COALESCE_USE_ADAPTIVE_TX = 12, - ETHTOOL_A_COALESCE_PKT_RATE_LOW = 13, - ETHTOOL_A_COALESCE_RX_USECS_LOW = 14, - ETHTOOL_A_COALESCE_RX_MAX_FRAMES_LOW = 15, - ETHTOOL_A_COALESCE_TX_USECS_LOW = 16, - ETHTOOL_A_COALESCE_TX_MAX_FRAMES_LOW = 17, - ETHTOOL_A_COALESCE_PKT_RATE_HIGH = 18, - ETHTOOL_A_COALESCE_RX_USECS_HIGH = 19, - ETHTOOL_A_COALESCE_RX_MAX_FRAMES_HIGH = 20, - ETHTOOL_A_COALESCE_TX_USECS_HIGH = 21, - ETHTOOL_A_COALESCE_TX_MAX_FRAMES_HIGH = 22, - ETHTOOL_A_COALESCE_RATE_SAMPLE_INTERVAL = 23, - ETHTOOL_A_COALESCE_USE_CQE_MODE_TX = 24, - ETHTOOL_A_COALESCE_USE_CQE_MODE_RX = 25, - ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES = 26, - ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES = 27, - ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS = 28, - __ETHTOOL_A_COALESCE_CNT = 29, - ETHTOOL_A_COALESCE_MAX = 28, -}; - -enum { - ETHTOOL_A_DEBUG_UNSPEC = 0, - ETHTOOL_A_DEBUG_HEADER = 1, - ETHTOOL_A_DEBUG_MSGMASK = 2, - __ETHTOOL_A_DEBUG_CNT = 3, - ETHTOOL_A_DEBUG_MAX = 2, -}; - -enum { - ETHTOOL_A_EEE_UNSPEC = 0, - ETHTOOL_A_EEE_HEADER = 1, - ETHTOOL_A_EEE_MODES_OURS = 2, - ETHTOOL_A_EEE_MODES_PEER = 3, - ETHTOOL_A_EEE_ACTIVE = 4, - ETHTOOL_A_EEE_ENABLED = 5, - ETHTOOL_A_EEE_TX_LPI_ENABLED = 6, - ETHTOOL_A_EEE_TX_LPI_TIMER = 7, - __ETHTOOL_A_EEE_CNT = 8, - ETHTOOL_A_EEE_MAX = 7, -}; - -enum { - ETHTOOL_A_FEATURES_UNSPEC = 0, - ETHTOOL_A_FEATURES_HEADER = 1, - ETHTOOL_A_FEATURES_HW = 2, - ETHTOOL_A_FEATURES_WANTED = 3, - ETHTOOL_A_FEATURES_ACTIVE = 4, - ETHTOOL_A_FEATURES_NOCHANGE = 5, - __ETHTOOL_A_FEATURES_CNT = 6, - ETHTOOL_A_FEATURES_MAX = 5, -}; - -enum { - ETHTOOL_A_FEC_STAT_UNSPEC = 0, - ETHTOOL_A_FEC_STAT_PAD = 1, - ETHTOOL_A_FEC_STAT_CORRECTED = 2, - ETHTOOL_A_FEC_STAT_UNCORR = 3, - ETHTOOL_A_FEC_STAT_CORR_BITS = 4, - __ETHTOOL_A_FEC_STAT_CNT = 5, - ETHTOOL_A_FEC_STAT_MAX = 4, -}; - -enum { - ETHTOOL_A_FEC_UNSPEC = 0, - ETHTOOL_A_FEC_HEADER = 1, - ETHTOOL_A_FEC_MODES = 2, - ETHTOOL_A_FEC_AUTO = 3, - ETHTOOL_A_FEC_ACTIVE = 4, - ETHTOOL_A_FEC_STATS = 5, - __ETHTOOL_A_FEC_CNT = 6, - ETHTOOL_A_FEC_MAX = 5, -}; - -enum { - ETHTOOL_A_HEADER_UNSPEC = 0, - ETHTOOL_A_HEADER_DEV_INDEX = 1, - ETHTOOL_A_HEADER_DEV_NAME = 2, - ETHTOOL_A_HEADER_FLAGS = 3, - __ETHTOOL_A_HEADER_CNT = 4, - ETHTOOL_A_HEADER_MAX = 3, -}; - -enum { - ETHTOOL_A_LINKINFO_UNSPEC = 0, - ETHTOOL_A_LINKINFO_HEADER = 1, - ETHTOOL_A_LINKINFO_PORT = 2, - ETHTOOL_A_LINKINFO_PHYADDR = 3, - ETHTOOL_A_LINKINFO_TP_MDIX = 4, - ETHTOOL_A_LINKINFO_TP_MDIX_CTRL = 5, - ETHTOOL_A_LINKINFO_TRANSCEIVER = 6, - __ETHTOOL_A_LINKINFO_CNT = 7, - ETHTOOL_A_LINKINFO_MAX = 6, -}; - -enum { - ETHTOOL_A_LINKMODES_UNSPEC = 0, - ETHTOOL_A_LINKMODES_HEADER = 1, - ETHTOOL_A_LINKMODES_AUTONEG = 2, - ETHTOOL_A_LINKMODES_OURS = 3, - ETHTOOL_A_LINKMODES_PEER = 4, - ETHTOOL_A_LINKMODES_SPEED = 5, - ETHTOOL_A_LINKMODES_DUPLEX = 6, - ETHTOOL_A_LINKMODES_MASTER_SLAVE_CFG = 7, - ETHTOOL_A_LINKMODES_MASTER_SLAVE_STATE = 8, - ETHTOOL_A_LINKMODES_LANES = 9, - ETHTOOL_A_LINKMODES_RATE_MATCHING = 10, - __ETHTOOL_A_LINKMODES_CNT = 11, - ETHTOOL_A_LINKMODES_MAX = 10, -}; - -enum { - ETHTOOL_A_LINKSTATE_UNSPEC = 0, - ETHTOOL_A_LINKSTATE_HEADER = 1, - ETHTOOL_A_LINKSTATE_LINK = 2, - ETHTOOL_A_LINKSTATE_SQI = 3, - ETHTOOL_A_LINKSTATE_SQI_MAX = 4, - ETHTOOL_A_LINKSTATE_EXT_STATE = 5, - ETHTOOL_A_LINKSTATE_EXT_SUBSTATE = 6, - ETHTOOL_A_LINKSTATE_EXT_DOWN_CNT = 7, - __ETHTOOL_A_LINKSTATE_CNT = 8, - ETHTOOL_A_LINKSTATE_MAX = 7, -}; - -enum { - ETHTOOL_A_MM_STAT_UNSPEC = 0, - ETHTOOL_A_MM_STAT_PAD = 1, - ETHTOOL_A_MM_STAT_REASSEMBLY_ERRORS = 2, - ETHTOOL_A_MM_STAT_SMD_ERRORS = 3, - ETHTOOL_A_MM_STAT_REASSEMBLY_OK = 4, - ETHTOOL_A_MM_STAT_RX_FRAG_COUNT = 5, - ETHTOOL_A_MM_STAT_TX_FRAG_COUNT = 6, - ETHTOOL_A_MM_STAT_HOLD_COUNT = 7, - __ETHTOOL_A_MM_STAT_CNT = 8, - ETHTOOL_A_MM_STAT_MAX = 7, -}; - -enum { - ETHTOOL_A_MM_UNSPEC = 0, - ETHTOOL_A_MM_HEADER = 1, - ETHTOOL_A_MM_PMAC_ENABLED = 2, - ETHTOOL_A_MM_TX_ENABLED = 3, - ETHTOOL_A_MM_TX_ACTIVE = 4, - ETHTOOL_A_MM_TX_MIN_FRAG_SIZE = 5, - ETHTOOL_A_MM_RX_MIN_FRAG_SIZE = 6, - ETHTOOL_A_MM_VERIFY_ENABLED = 7, - ETHTOOL_A_MM_VERIFY_STATUS = 8, - ETHTOOL_A_MM_VERIFY_TIME = 9, - ETHTOOL_A_MM_MAX_VERIFY_TIME = 10, - ETHTOOL_A_MM_STATS = 11, - __ETHTOOL_A_MM_CNT = 12, - ETHTOOL_A_MM_MAX = 11, -}; - -enum { - ETHTOOL_A_MODULE_EEPROM_UNSPEC = 0, - ETHTOOL_A_MODULE_EEPROM_HEADER = 1, - ETHTOOL_A_MODULE_EEPROM_OFFSET = 2, - ETHTOOL_A_MODULE_EEPROM_LENGTH = 3, - ETHTOOL_A_MODULE_EEPROM_PAGE = 4, - ETHTOOL_A_MODULE_EEPROM_BANK = 5, - ETHTOOL_A_MODULE_EEPROM_I2C_ADDRESS = 6, - ETHTOOL_A_MODULE_EEPROM_DATA = 7, - __ETHTOOL_A_MODULE_EEPROM_CNT = 8, - ETHTOOL_A_MODULE_EEPROM_MAX = 7, -}; - -enum { - ETHTOOL_A_MODULE_UNSPEC = 0, - ETHTOOL_A_MODULE_HEADER = 1, - ETHTOOL_A_MODULE_POWER_MODE_POLICY = 2, - ETHTOOL_A_MODULE_POWER_MODE = 3, - __ETHTOOL_A_MODULE_CNT = 4, - ETHTOOL_A_MODULE_MAX = 3, -}; - -enum { - ETHTOOL_A_PAUSE_STAT_UNSPEC = 0, - ETHTOOL_A_PAUSE_STAT_PAD = 1, - ETHTOOL_A_PAUSE_STAT_TX_FRAMES = 2, - ETHTOOL_A_PAUSE_STAT_RX_FRAMES = 3, - __ETHTOOL_A_PAUSE_STAT_CNT = 4, - ETHTOOL_A_PAUSE_STAT_MAX = 3, -}; - -enum { - ETHTOOL_A_PAUSE_UNSPEC = 0, - ETHTOOL_A_PAUSE_HEADER = 1, - ETHTOOL_A_PAUSE_AUTONEG = 2, - ETHTOOL_A_PAUSE_RX = 3, - ETHTOOL_A_PAUSE_TX = 4, - ETHTOOL_A_PAUSE_STATS = 5, - ETHTOOL_A_PAUSE_STATS_SRC = 6, - __ETHTOOL_A_PAUSE_CNT = 7, - ETHTOOL_A_PAUSE_MAX = 6, -}; - -enum { - ETHTOOL_A_PHC_VCLOCKS_UNSPEC = 0, - ETHTOOL_A_PHC_VCLOCKS_HEADER = 1, - ETHTOOL_A_PHC_VCLOCKS_NUM = 2, - ETHTOOL_A_PHC_VCLOCKS_INDEX = 3, - __ETHTOOL_A_PHC_VCLOCKS_CNT = 4, - ETHTOOL_A_PHC_VCLOCKS_MAX = 3, -}; - -enum { - ETHTOOL_A_PLCA_UNSPEC = 0, - ETHTOOL_A_PLCA_HEADER = 1, - ETHTOOL_A_PLCA_VERSION = 2, - ETHTOOL_A_PLCA_ENABLED = 3, - ETHTOOL_A_PLCA_STATUS = 4, - ETHTOOL_A_PLCA_NODE_CNT = 5, - ETHTOOL_A_PLCA_NODE_ID = 6, - ETHTOOL_A_PLCA_TO_TMR = 7, - ETHTOOL_A_PLCA_BURST_CNT = 8, - ETHTOOL_A_PLCA_BURST_TMR = 9, - __ETHTOOL_A_PLCA_CNT = 10, - ETHTOOL_A_PLCA_MAX = 9, -}; - -enum { - ETHTOOL_A_PRIVFLAGS_UNSPEC = 0, - ETHTOOL_A_PRIVFLAGS_HEADER = 1, - ETHTOOL_A_PRIVFLAGS_FLAGS = 2, - __ETHTOOL_A_PRIVFLAGS_CNT = 3, - ETHTOOL_A_PRIVFLAGS_MAX = 2, -}; - -enum { - ETHTOOL_A_PSE_UNSPEC = 0, - ETHTOOL_A_PSE_HEADER = 1, - ETHTOOL_A_PODL_PSE_ADMIN_STATE = 2, - ETHTOOL_A_PODL_PSE_ADMIN_CONTROL = 3, - ETHTOOL_A_PODL_PSE_PW_D_STATUS = 4, - __ETHTOOL_A_PSE_CNT = 5, - ETHTOOL_A_PSE_MAX = 4, -}; - -enum { - ETHTOOL_A_RINGS_UNSPEC = 0, - ETHTOOL_A_RINGS_HEADER = 1, - ETHTOOL_A_RINGS_RX_MAX = 2, - ETHTOOL_A_RINGS_RX_MINI_MAX = 3, - ETHTOOL_A_RINGS_RX_JUMBO_MAX = 4, - ETHTOOL_A_RINGS_TX_MAX = 5, - ETHTOOL_A_RINGS_RX = 6, - ETHTOOL_A_RINGS_RX_MINI = 7, - ETHTOOL_A_RINGS_RX_JUMBO = 8, - ETHTOOL_A_RINGS_TX = 9, - ETHTOOL_A_RINGS_RX_BUF_LEN = 10, - ETHTOOL_A_RINGS_TCP_DATA_SPLIT = 11, - ETHTOOL_A_RINGS_CQE_SIZE = 12, - ETHTOOL_A_RINGS_TX_PUSH = 13, - ETHTOOL_A_RINGS_RX_PUSH = 14, - ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN = 15, - ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN_MAX = 16, - __ETHTOOL_A_RINGS_CNT = 17, - ETHTOOL_A_RINGS_MAX = 16, -}; - -enum { - ETHTOOL_A_RSS_UNSPEC = 0, - ETHTOOL_A_RSS_HEADER = 1, - ETHTOOL_A_RSS_CONTEXT = 2, - ETHTOOL_A_RSS_HFUNC = 3, - ETHTOOL_A_RSS_INDIR = 4, - ETHTOOL_A_RSS_HKEY = 5, - __ETHTOOL_A_RSS_CNT = 6, - ETHTOOL_A_RSS_MAX = 5, -}; - -enum { - ETHTOOL_A_STATS_ETH_CTRL_3_TX = 0, - ETHTOOL_A_STATS_ETH_CTRL_4_RX = 1, - ETHTOOL_A_STATS_ETH_CTRL_5_RX_UNSUP = 2, - __ETHTOOL_A_STATS_ETH_CTRL_CNT = 3, - ETHTOOL_A_STATS_ETH_CTRL_MAX = 2, -}; - -enum { - ETHTOOL_A_STATS_ETH_MAC_2_TX_PKT = 0, - ETHTOOL_A_STATS_ETH_MAC_3_SINGLE_COL = 1, - ETHTOOL_A_STATS_ETH_MAC_4_MULTI_COL = 2, - ETHTOOL_A_STATS_ETH_MAC_5_RX_PKT = 3, - ETHTOOL_A_STATS_ETH_MAC_6_FCS_ERR = 4, - ETHTOOL_A_STATS_ETH_MAC_7_ALIGN_ERR = 5, - ETHTOOL_A_STATS_ETH_MAC_8_TX_BYTES = 6, - ETHTOOL_A_STATS_ETH_MAC_9_TX_DEFER = 7, - ETHTOOL_A_STATS_ETH_MAC_10_LATE_COL = 8, - ETHTOOL_A_STATS_ETH_MAC_11_XS_COL = 9, - ETHTOOL_A_STATS_ETH_MAC_12_TX_INT_ERR = 10, - ETHTOOL_A_STATS_ETH_MAC_13_CS_ERR = 11, - ETHTOOL_A_STATS_ETH_MAC_14_RX_BYTES = 12, - ETHTOOL_A_STATS_ETH_MAC_15_RX_INT_ERR = 13, - ETHTOOL_A_STATS_ETH_MAC_18_TX_MCAST = 14, - ETHTOOL_A_STATS_ETH_MAC_19_TX_BCAST = 15, - ETHTOOL_A_STATS_ETH_MAC_20_XS_DEFER = 16, - ETHTOOL_A_STATS_ETH_MAC_21_RX_MCAST = 17, - ETHTOOL_A_STATS_ETH_MAC_22_RX_BCAST = 18, - ETHTOOL_A_STATS_ETH_MAC_23_IR_LEN_ERR = 19, - ETHTOOL_A_STATS_ETH_MAC_24_OOR_LEN = 20, - ETHTOOL_A_STATS_ETH_MAC_25_TOO_LONG_ERR = 21, - __ETHTOOL_A_STATS_ETH_MAC_CNT = 22, - ETHTOOL_A_STATS_ETH_MAC_MAX = 21, -}; - -enum { - ETHTOOL_A_STATS_ETH_PHY_5_SYM_ERR = 0, - __ETHTOOL_A_STATS_ETH_PHY_CNT = 1, - ETHTOOL_A_STATS_ETH_PHY_MAX = 0, -}; - -enum { - ETHTOOL_A_STATS_GRP_UNSPEC = 0, - ETHTOOL_A_STATS_GRP_PAD = 1, - ETHTOOL_A_STATS_GRP_ID = 2, - ETHTOOL_A_STATS_GRP_SS_ID = 3, - ETHTOOL_A_STATS_GRP_STAT = 4, - ETHTOOL_A_STATS_GRP_HIST_RX = 5, - ETHTOOL_A_STATS_GRP_HIST_TX = 6, - ETHTOOL_A_STATS_GRP_HIST_BKT_LOW = 7, - ETHTOOL_A_STATS_GRP_HIST_BKT_HI = 8, - ETHTOOL_A_STATS_GRP_HIST_VAL = 9, - __ETHTOOL_A_STATS_GRP_CNT = 10, - ETHTOOL_A_STATS_GRP_MAX = 9, -}; - -enum { - ETHTOOL_A_STATS_RMON_UNDERSIZE = 0, - ETHTOOL_A_STATS_RMON_OVERSIZE = 1, - ETHTOOL_A_STATS_RMON_FRAG = 2, - ETHTOOL_A_STATS_RMON_JABBER = 3, - __ETHTOOL_A_STATS_RMON_CNT = 4, - ETHTOOL_A_STATS_RMON_MAX = 3, -}; - -enum { - ETHTOOL_A_STATS_UNSPEC = 0, - ETHTOOL_A_STATS_PAD = 1, - ETHTOOL_A_STATS_HEADER = 2, - ETHTOOL_A_STATS_GROUPS = 3, - ETHTOOL_A_STATS_GRP = 4, - ETHTOOL_A_STATS_SRC = 5, - __ETHTOOL_A_STATS_CNT = 6, - ETHTOOL_A_STATS_MAX = 5, -}; - -enum { - ETHTOOL_A_STRINGSETS_UNSPEC = 0, - ETHTOOL_A_STRINGSETS_STRINGSET = 1, - __ETHTOOL_A_STRINGSETS_CNT = 2, - ETHTOOL_A_STRINGSETS_MAX = 1, -}; - -enum { - ETHTOOL_A_STRINGSET_UNSPEC = 0, - ETHTOOL_A_STRINGSET_ID = 1, - ETHTOOL_A_STRINGSET_COUNT = 2, - ETHTOOL_A_STRINGSET_STRINGS = 3, - __ETHTOOL_A_STRINGSET_CNT = 4, - ETHTOOL_A_STRINGSET_MAX = 3, -}; - -enum { - ETHTOOL_A_STRINGS_UNSPEC = 0, - ETHTOOL_A_STRINGS_STRING = 1, - __ETHTOOL_A_STRINGS_CNT = 2, - ETHTOOL_A_STRINGS_MAX = 1, -}; - -enum { - ETHTOOL_A_STRING_UNSPEC = 0, - ETHTOOL_A_STRING_INDEX = 1, - ETHTOOL_A_STRING_VALUE = 2, - __ETHTOOL_A_STRING_CNT = 3, - ETHTOOL_A_STRING_MAX = 2, -}; - -enum { - ETHTOOL_A_STRSET_UNSPEC = 0, - ETHTOOL_A_STRSET_HEADER = 1, - ETHTOOL_A_STRSET_STRINGSETS = 2, - ETHTOOL_A_STRSET_COUNTS_ONLY = 3, - __ETHTOOL_A_STRSET_CNT = 4, - ETHTOOL_A_STRSET_MAX = 3, -}; - -enum { - ETHTOOL_A_TSINFO_UNSPEC = 0, - ETHTOOL_A_TSINFO_HEADER = 1, - ETHTOOL_A_TSINFO_TIMESTAMPING = 2, - ETHTOOL_A_TSINFO_TX_TYPES = 3, - ETHTOOL_A_TSINFO_RX_FILTERS = 4, - ETHTOOL_A_TSINFO_PHC_INDEX = 5, - __ETHTOOL_A_TSINFO_CNT = 6, - ETHTOOL_A_TSINFO_MAX = 5, -}; - -enum { - ETHTOOL_A_TUNNEL_INFO_UNSPEC = 0, - ETHTOOL_A_TUNNEL_INFO_HEADER = 1, - ETHTOOL_A_TUNNEL_INFO_UDP_PORTS = 2, - __ETHTOOL_A_TUNNEL_INFO_CNT = 3, - ETHTOOL_A_TUNNEL_INFO_MAX = 2, -}; - -enum { - ETHTOOL_A_TUNNEL_UDP_ENTRY_UNSPEC = 0, - ETHTOOL_A_TUNNEL_UDP_ENTRY_PORT = 1, - ETHTOOL_A_TUNNEL_UDP_ENTRY_TYPE = 2, - __ETHTOOL_A_TUNNEL_UDP_ENTRY_CNT = 3, - ETHTOOL_A_TUNNEL_UDP_ENTRY_MAX = 2, -}; - -enum { - ETHTOOL_A_TUNNEL_UDP_TABLE_UNSPEC = 0, - ETHTOOL_A_TUNNEL_UDP_TABLE_SIZE = 1, - ETHTOOL_A_TUNNEL_UDP_TABLE_TYPES = 2, - ETHTOOL_A_TUNNEL_UDP_TABLE_ENTRY = 3, - __ETHTOOL_A_TUNNEL_UDP_TABLE_CNT = 4, - ETHTOOL_A_TUNNEL_UDP_TABLE_MAX = 3, -}; - -enum { - ETHTOOL_A_TUNNEL_UDP_UNSPEC = 0, - ETHTOOL_A_TUNNEL_UDP_TABLE = 1, - __ETHTOOL_A_TUNNEL_UDP_CNT = 2, - ETHTOOL_A_TUNNEL_UDP_MAX = 1, -}; - -enum { - ETHTOOL_A_WOL_UNSPEC = 0, - ETHTOOL_A_WOL_HEADER = 1, - ETHTOOL_A_WOL_MODES = 2, - ETHTOOL_A_WOL_SOPASS = 3, - __ETHTOOL_A_WOL_CNT = 4, - ETHTOOL_A_WOL_MAX = 3, -}; - -enum { - ETHTOOL_MSG_KERNEL_NONE = 0, - ETHTOOL_MSG_STRSET_GET_REPLY = 1, - ETHTOOL_MSG_LINKINFO_GET_REPLY = 2, - ETHTOOL_MSG_LINKINFO_NTF = 3, - ETHTOOL_MSG_LINKMODES_GET_REPLY = 4, - ETHTOOL_MSG_LINKMODES_NTF = 5, - ETHTOOL_MSG_LINKSTATE_GET_REPLY = 6, - ETHTOOL_MSG_DEBUG_GET_REPLY = 7, - ETHTOOL_MSG_DEBUG_NTF = 8, - ETHTOOL_MSG_WOL_GET_REPLY = 9, - ETHTOOL_MSG_WOL_NTF = 10, - ETHTOOL_MSG_FEATURES_GET_REPLY = 11, - ETHTOOL_MSG_FEATURES_SET_REPLY = 12, - ETHTOOL_MSG_FEATURES_NTF = 13, - ETHTOOL_MSG_PRIVFLAGS_GET_REPLY = 14, - ETHTOOL_MSG_PRIVFLAGS_NTF = 15, - ETHTOOL_MSG_RINGS_GET_REPLY = 16, - ETHTOOL_MSG_RINGS_NTF = 17, - ETHTOOL_MSG_CHANNELS_GET_REPLY = 18, - ETHTOOL_MSG_CHANNELS_NTF = 19, - ETHTOOL_MSG_COALESCE_GET_REPLY = 20, - ETHTOOL_MSG_COALESCE_NTF = 21, - ETHTOOL_MSG_PAUSE_GET_REPLY = 22, - ETHTOOL_MSG_PAUSE_NTF = 23, - ETHTOOL_MSG_EEE_GET_REPLY = 24, - ETHTOOL_MSG_EEE_NTF = 25, - ETHTOOL_MSG_TSINFO_GET_REPLY = 26, - ETHTOOL_MSG_CABLE_TEST_NTF = 27, - ETHTOOL_MSG_CABLE_TEST_TDR_NTF = 28, - ETHTOOL_MSG_TUNNEL_INFO_GET_REPLY = 29, - ETHTOOL_MSG_FEC_GET_REPLY = 30, - ETHTOOL_MSG_FEC_NTF = 31, - ETHTOOL_MSG_MODULE_EEPROM_GET_REPLY = 32, - ETHTOOL_MSG_STATS_GET_REPLY = 33, - ETHTOOL_MSG_PHC_VCLOCKS_GET_REPLY = 34, - ETHTOOL_MSG_MODULE_GET_REPLY = 35, - ETHTOOL_MSG_MODULE_NTF = 36, - ETHTOOL_MSG_PSE_GET_REPLY = 37, - ETHTOOL_MSG_RSS_GET_REPLY = 38, - ETHTOOL_MSG_PLCA_GET_CFG_REPLY = 39, - ETHTOOL_MSG_PLCA_GET_STATUS_REPLY = 40, - ETHTOOL_MSG_PLCA_NTF = 41, - ETHTOOL_MSG_MM_GET_REPLY = 42, - ETHTOOL_MSG_MM_NTF = 43, - __ETHTOOL_MSG_KERNEL_CNT = 44, - ETHTOOL_MSG_KERNEL_MAX = 43, -}; - -enum { - ETHTOOL_MSG_USER_NONE = 0, - ETHTOOL_MSG_STRSET_GET = 1, - ETHTOOL_MSG_LINKINFO_GET = 2, - ETHTOOL_MSG_LINKINFO_SET = 3, - ETHTOOL_MSG_LINKMODES_GET = 4, - ETHTOOL_MSG_LINKMODES_SET = 5, - ETHTOOL_MSG_LINKSTATE_GET = 6, - ETHTOOL_MSG_DEBUG_GET = 7, - ETHTOOL_MSG_DEBUG_SET = 8, - ETHTOOL_MSG_WOL_GET = 9, - ETHTOOL_MSG_WOL_SET = 10, - ETHTOOL_MSG_FEATURES_GET = 11, - ETHTOOL_MSG_FEATURES_SET = 12, - ETHTOOL_MSG_PRIVFLAGS_GET = 13, - ETHTOOL_MSG_PRIVFLAGS_SET = 14, - ETHTOOL_MSG_RINGS_GET = 15, - ETHTOOL_MSG_RINGS_SET = 16, - ETHTOOL_MSG_CHANNELS_GET = 17, - ETHTOOL_MSG_CHANNELS_SET = 18, - ETHTOOL_MSG_COALESCE_GET = 19, - ETHTOOL_MSG_COALESCE_SET = 20, - ETHTOOL_MSG_PAUSE_GET = 21, - ETHTOOL_MSG_PAUSE_SET = 22, - ETHTOOL_MSG_EEE_GET = 23, - ETHTOOL_MSG_EEE_SET = 24, - ETHTOOL_MSG_TSINFO_GET = 25, - ETHTOOL_MSG_CABLE_TEST_ACT = 26, - ETHTOOL_MSG_CABLE_TEST_TDR_ACT = 27, - ETHTOOL_MSG_TUNNEL_INFO_GET = 28, - ETHTOOL_MSG_FEC_GET = 29, - ETHTOOL_MSG_FEC_SET = 30, - ETHTOOL_MSG_MODULE_EEPROM_GET = 31, - ETHTOOL_MSG_STATS_GET = 32, - ETHTOOL_MSG_PHC_VCLOCKS_GET = 33, - ETHTOOL_MSG_MODULE_GET = 34, - ETHTOOL_MSG_MODULE_SET = 35, - ETHTOOL_MSG_PSE_GET = 36, - ETHTOOL_MSG_PSE_SET = 37, - ETHTOOL_MSG_RSS_GET = 38, - ETHTOOL_MSG_PLCA_GET_CFG = 39, - ETHTOOL_MSG_PLCA_SET_CFG = 40, - ETHTOOL_MSG_PLCA_GET_STATUS = 41, - ETHTOOL_MSG_MM_GET = 42, - ETHTOOL_MSG_MM_SET = 43, - __ETHTOOL_MSG_USER_CNT = 44, - ETHTOOL_MSG_USER_MAX = 43, -}; - -enum { - ETHTOOL_STATS_ETH_PHY = 0, - ETHTOOL_STATS_ETH_MAC = 1, - ETHTOOL_STATS_ETH_CTRL = 2, - ETHTOOL_STATS_RMON = 3, - __ETHTOOL_STATS_CNT = 4, -}; - -enum { - ETHTOOL_TCP_DATA_SPLIT_UNKNOWN = 0, - ETHTOOL_TCP_DATA_SPLIT_DISABLED = 1, - ETHTOOL_TCP_DATA_SPLIT_ENABLED = 2, -}; - -enum { - ETHTOOL_UDP_TUNNEL_TYPE_VXLAN = 0, - ETHTOOL_UDP_TUNNEL_TYPE_GENEVE = 1, - ETHTOOL_UDP_TUNNEL_TYPE_VXLAN_GPE = 2, - __ETHTOOL_UDP_TUNNEL_TYPE_CNT = 3, -}; - -enum { - ETH_RSS_HASH_TOP_BIT = 0, - ETH_RSS_HASH_XOR_BIT = 1, - ETH_RSS_HASH_CRC32_BIT = 2, - ETH_RSS_HASH_FUNCS_COUNT = 3, -}; - -enum { - EVENT_FILE_FL_ENABLED_BIT = 0, - EVENT_FILE_FL_RECORDED_CMD_BIT = 1, - EVENT_FILE_FL_RECORDED_TGID_BIT = 2, - EVENT_FILE_FL_FILTERED_BIT = 3, - EVENT_FILE_FL_NO_SET_FILTER_BIT = 4, - EVENT_FILE_FL_SOFT_MODE_BIT = 5, - EVENT_FILE_FL_SOFT_DISABLED_BIT = 6, - EVENT_FILE_FL_TRIGGER_MODE_BIT = 7, - EVENT_FILE_FL_TRIGGER_COND_BIT = 8, - EVENT_FILE_FL_PID_FILTER_BIT = 9, - EVENT_FILE_FL_WAS_ENABLED_BIT = 10, -}; - -enum { - FIB6_NO_SERNUM_CHANGE = 0, -}; - -enum { - FOLL_TOUCH = 65536, - FOLL_TRIED = 131072, - FOLL_REMOTE = 262144, - FOLL_PIN = 524288, - FOLL_FAST_ONLY = 1048576, - FOLL_UNLOCKABLE = 2097152, -}; - -enum { - FOLL_WRITE = 1, - FOLL_GET = 2, - FOLL_DUMP = 4, - FOLL_FORCE = 8, - FOLL_NOWAIT = 16, - FOLL_NOFAULT = 32, - FOLL_HWPOISON = 64, - FOLL_ANON = 128, - FOLL_LONGTERM = 256, - FOLL_SPLIT_PMD = 512, - FOLL_PCI_P2PDMA = 1024, - FOLL_INTERRUPTIBLE = 2048, - FOLL_HONOR_NUMA_FAULT = 4096, -}; - -enum { - GP_IDLE = 0, - GP_ENTER = 1, - GP_PASSED = 2, - GP_EXIT = 3, - GP_REPLAY = 4, -}; - -enum { - HI_SOFTIRQ = 0, - TIMER_SOFTIRQ = 1, - NET_TX_SOFTIRQ = 2, - NET_RX_SOFTIRQ = 3, - BLOCK_SOFTIRQ = 4, - IRQ_POLL_SOFTIRQ = 5, - TASKLET_SOFTIRQ = 6, - SCHED_SOFTIRQ = 7, - HRTIMER_SOFTIRQ = 8, - RCU_SOFTIRQ = 9, - NR_SOFTIRQS = 10, -}; - -enum { - HP_THREAD_NONE = 0, - HP_THREAD_ACTIVE = 1, - HP_THREAD_PARKED = 2, -}; - -enum { - ICMP6_MIB_NUM = 0, - ICMP6_MIB_INMSGS = 1, - ICMP6_MIB_INERRORS = 2, - ICMP6_MIB_OUTMSGS = 3, - ICMP6_MIB_OUTERRORS = 4, - ICMP6_MIB_CSUMERRORS = 5, - ICMP6_MIB_RATELIMITHOST = 6, - __ICMP6_MIB_MAX = 7, -}; - -enum { - ICMP_MIB_NUM = 0, - ICMP_MIB_INMSGS = 1, - ICMP_MIB_INERRORS = 2, - ICMP_MIB_INDESTUNREACHS = 3, - ICMP_MIB_INTIMEEXCDS = 4, - ICMP_MIB_INPARMPROBS = 5, - ICMP_MIB_INSRCQUENCHS = 6, - ICMP_MIB_INREDIRECTS = 7, - ICMP_MIB_INECHOS = 8, - ICMP_MIB_INECHOREPS = 9, - ICMP_MIB_INTIMESTAMPS = 10, - ICMP_MIB_INTIMESTAMPREPS = 11, - ICMP_MIB_INADDRMASKS = 12, - ICMP_MIB_INADDRMASKREPS = 13, - ICMP_MIB_OUTMSGS = 14, - ICMP_MIB_OUTERRORS = 15, - ICMP_MIB_OUTDESTUNREACHS = 16, - ICMP_MIB_OUTTIMEEXCDS = 17, - ICMP_MIB_OUTPARMPROBS = 18, - ICMP_MIB_OUTSRCQUENCHS = 19, - ICMP_MIB_OUTREDIRECTS = 20, - ICMP_MIB_OUTECHOS = 21, - ICMP_MIB_OUTECHOREPS = 22, - ICMP_MIB_OUTTIMESTAMPS = 23, - ICMP_MIB_OUTTIMESTAMPREPS = 24, - ICMP_MIB_OUTADDRMASKS = 25, - ICMP_MIB_OUTADDRMASKREPS = 26, - ICMP_MIB_CSUMERRORS = 27, - ICMP_MIB_RATELIMITGLOBAL = 28, - ICMP_MIB_RATELIMITHOST = 29, - __ICMP_MIB_MAX = 30, -}; - -enum { - IFAL_ADDRESS = 1, - IFAL_LABEL = 2, - __IFAL_MAX = 3, -}; - -enum { - IFA_UNSPEC = 0, - IFA_ADDRESS = 1, - IFA_LOCAL = 2, - IFA_LABEL = 3, - IFA_BROADCAST = 4, - IFA_ANYCAST = 5, - IFA_CACHEINFO = 6, - IFA_MULTICAST = 7, - IFA_FLAGS = 8, - IFA_RT_PRIORITY = 9, - IFA_TARGET_NETNSID = 10, - IFA_PROTO = 11, - __IFA_MAX = 12, -}; - -enum { - IFLA_BRIDGE_FLAGS = 0, - IFLA_BRIDGE_MODE = 1, - IFLA_BRIDGE_VLAN_INFO = 2, - IFLA_BRIDGE_VLAN_TUNNEL_INFO = 3, - IFLA_BRIDGE_MRP = 4, - IFLA_BRIDGE_CFM = 5, - IFLA_BRIDGE_MST = 6, - __IFLA_BRIDGE_MAX = 7, -}; - -enum { - IFLA_BRPORT_UNSPEC = 0, - IFLA_BRPORT_STATE = 1, - IFLA_BRPORT_PRIORITY = 2, - IFLA_BRPORT_COST = 3, - IFLA_BRPORT_MODE = 4, - IFLA_BRPORT_GUARD = 5, - IFLA_BRPORT_PROTECT = 6, - IFLA_BRPORT_FAST_LEAVE = 7, - IFLA_BRPORT_LEARNING = 8, - IFLA_BRPORT_UNICAST_FLOOD = 9, - IFLA_BRPORT_PROXYARP = 10, - IFLA_BRPORT_LEARNING_SYNC = 11, - IFLA_BRPORT_PROXYARP_WIFI = 12, - IFLA_BRPORT_ROOT_ID = 13, - IFLA_BRPORT_BRIDGE_ID = 14, - IFLA_BRPORT_DESIGNATED_PORT = 15, - IFLA_BRPORT_DESIGNATED_COST = 16, - IFLA_BRPORT_ID = 17, - IFLA_BRPORT_NO = 18, - IFLA_BRPORT_TOPOLOGY_CHANGE_ACK = 19, - IFLA_BRPORT_CONFIG_PENDING = 20, - IFLA_BRPORT_MESSAGE_AGE_TIMER = 21, - IFLA_BRPORT_FORWARD_DELAY_TIMER = 22, - IFLA_BRPORT_HOLD_TIMER = 23, - IFLA_BRPORT_FLUSH = 24, - IFLA_BRPORT_MULTICAST_ROUTER = 25, - IFLA_BRPORT_PAD = 26, - IFLA_BRPORT_MCAST_FLOOD = 27, - IFLA_BRPORT_MCAST_TO_UCAST = 28, - IFLA_BRPORT_VLAN_TUNNEL = 29, - IFLA_BRPORT_BCAST_FLOOD = 30, - IFLA_BRPORT_GROUP_FWD_MASK = 31, - IFLA_BRPORT_NEIGH_SUPPRESS = 32, - IFLA_BRPORT_ISOLATED = 33, - IFLA_BRPORT_BACKUP_PORT = 34, - IFLA_BRPORT_MRP_RING_OPEN = 35, - IFLA_BRPORT_MRP_IN_OPEN = 36, - IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT = 37, - IFLA_BRPORT_MCAST_EHT_HOSTS_CNT = 38, - IFLA_BRPORT_LOCKED = 39, - IFLA_BRPORT_MAB = 40, - IFLA_BRPORT_MCAST_N_GROUPS = 41, - IFLA_BRPORT_MCAST_MAX_GROUPS = 42, - IFLA_BRPORT_NEIGH_VLAN_SUPPRESS = 43, - IFLA_BRPORT_BACKUP_NHID = 44, - __IFLA_BRPORT_MAX = 45, -}; - -enum { - IFLA_EVENT_NONE = 0, - IFLA_EVENT_REBOOT = 1, - IFLA_EVENT_FEATURES = 2, - IFLA_EVENT_BONDING_FAILOVER = 3, - IFLA_EVENT_NOTIFY_PEERS = 4, - IFLA_EVENT_IGMP_RESEND = 5, - IFLA_EVENT_BONDING_OPTIONS = 6, -}; - -enum { - IFLA_INET6_UNSPEC = 0, - IFLA_INET6_FLAGS = 1, - IFLA_INET6_CONF = 2, - IFLA_INET6_STATS = 3, - IFLA_INET6_MCAST = 4, - IFLA_INET6_CACHEINFO = 5, - IFLA_INET6_ICMP6STATS = 6, - IFLA_INET6_TOKEN = 7, - IFLA_INET6_ADDR_GEN_MODE = 8, - IFLA_INET6_RA_MTU = 9, - __IFLA_INET6_MAX = 10, -}; - -enum { - IFLA_INET_UNSPEC = 0, - IFLA_INET_CONF = 1, - __IFLA_INET_MAX = 2, -}; - -enum { - IFLA_INFO_UNSPEC = 0, - IFLA_INFO_KIND = 1, - IFLA_INFO_DATA = 2, - IFLA_INFO_XSTATS = 3, - IFLA_INFO_SLAVE_KIND = 4, - IFLA_INFO_SLAVE_DATA = 5, - __IFLA_INFO_MAX = 6, -}; - -enum { - IFLA_IPTUN_UNSPEC = 0, - IFLA_IPTUN_LINK = 1, - IFLA_IPTUN_LOCAL = 2, - IFLA_IPTUN_REMOTE = 3, - IFLA_IPTUN_TTL = 4, - IFLA_IPTUN_TOS = 5, - IFLA_IPTUN_ENCAP_LIMIT = 6, - IFLA_IPTUN_FLOWINFO = 7, - IFLA_IPTUN_FLAGS = 8, - IFLA_IPTUN_PROTO = 9, - IFLA_IPTUN_PMTUDISC = 10, - IFLA_IPTUN_6RD_PREFIX = 11, - IFLA_IPTUN_6RD_RELAY_PREFIX = 12, - IFLA_IPTUN_6RD_PREFIXLEN = 13, - IFLA_IPTUN_6RD_RELAY_PREFIXLEN = 14, - IFLA_IPTUN_ENCAP_TYPE = 15, - IFLA_IPTUN_ENCAP_FLAGS = 16, - IFLA_IPTUN_ENCAP_SPORT = 17, - IFLA_IPTUN_ENCAP_DPORT = 18, - IFLA_IPTUN_COLLECT_METADATA = 19, - IFLA_IPTUN_FWMARK = 20, - __IFLA_IPTUN_MAX = 21, -}; - -enum { - IFLA_OFFLOAD_XSTATS_HW_S_INFO_UNSPEC = 0, - IFLA_OFFLOAD_XSTATS_HW_S_INFO_REQUEST = 1, - IFLA_OFFLOAD_XSTATS_HW_S_INFO_USED = 2, - __IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX = 3, -}; - -enum { - IFLA_OFFLOAD_XSTATS_UNSPEC = 0, - IFLA_OFFLOAD_XSTATS_CPU_HIT = 1, - IFLA_OFFLOAD_XSTATS_HW_S_INFO = 2, - IFLA_OFFLOAD_XSTATS_L3_STATS = 3, - __IFLA_OFFLOAD_XSTATS_MAX = 4, -}; - -enum { - IFLA_PORT_UNSPEC = 0, - IFLA_PORT_VF = 1, - IFLA_PORT_PROFILE = 2, - IFLA_PORT_VSI_TYPE = 3, - IFLA_PORT_INSTANCE_UUID = 4, - IFLA_PORT_HOST_UUID = 5, - IFLA_PORT_REQUEST = 6, - IFLA_PORT_RESPONSE = 7, - __IFLA_PORT_MAX = 8, -}; - -enum { - IFLA_PROTO_DOWN_REASON_UNSPEC = 0, - IFLA_PROTO_DOWN_REASON_MASK = 1, - IFLA_PROTO_DOWN_REASON_VALUE = 2, - __IFLA_PROTO_DOWN_REASON_CNT = 3, - IFLA_PROTO_DOWN_REASON_MAX = 2, -}; - -enum { - IFLA_STATS_GETSET_UNSPEC = 0, - IFLA_STATS_GET_FILTERS = 1, - IFLA_STATS_SET_OFFLOAD_XSTATS_L3_STATS = 2, - __IFLA_STATS_GETSET_MAX = 3, -}; - -enum { - IFLA_STATS_UNSPEC = 0, - IFLA_STATS_LINK_64 = 1, - IFLA_STATS_LINK_XSTATS = 2, - IFLA_STATS_LINK_XSTATS_SLAVE = 3, - IFLA_STATS_LINK_OFFLOAD_XSTATS = 4, - IFLA_STATS_AF_SPEC = 5, - __IFLA_STATS_MAX = 6, -}; - -enum { - IFLA_UNSPEC = 0, - IFLA_ADDRESS = 1, - IFLA_BROADCAST = 2, - IFLA_IFNAME = 3, - IFLA_MTU = 4, - IFLA_LINK = 5, - IFLA_QDISC = 6, - IFLA_STATS = 7, - IFLA_COST = 8, - IFLA_PRIORITY = 9, - IFLA_MASTER = 10, - IFLA_WIRELESS = 11, - IFLA_PROTINFO = 12, - IFLA_TXQLEN = 13, - IFLA_MAP = 14, - IFLA_WEIGHT = 15, - IFLA_OPERSTATE = 16, - IFLA_LINKMODE = 17, - IFLA_LINKINFO = 18, - IFLA_NET_NS_PID = 19, - IFLA_IFALIAS = 20, - IFLA_NUM_VF = 21, - IFLA_VFINFO_LIST = 22, - IFLA_STATS64 = 23, - IFLA_VF_PORTS = 24, - IFLA_PORT_SELF = 25, - IFLA_AF_SPEC = 26, - IFLA_GROUP = 27, - IFLA_NET_NS_FD = 28, - IFLA_EXT_MASK = 29, - IFLA_PROMISCUITY = 30, - IFLA_NUM_TX_QUEUES = 31, - IFLA_NUM_RX_QUEUES = 32, - IFLA_CARRIER = 33, - IFLA_PHYS_PORT_ID = 34, - IFLA_CARRIER_CHANGES = 35, - IFLA_PHYS_SWITCH_ID = 36, - IFLA_LINK_NETNSID = 37, - IFLA_PHYS_PORT_NAME = 38, - IFLA_PROTO_DOWN = 39, - IFLA_GSO_MAX_SEGS = 40, - IFLA_GSO_MAX_SIZE = 41, - IFLA_PAD = 42, - IFLA_XDP = 43, - IFLA_EVENT = 44, - IFLA_NEW_NETNSID = 45, - IFLA_IF_NETNSID = 46, - IFLA_TARGET_NETNSID = 46, - IFLA_CARRIER_UP_COUNT = 47, - IFLA_CARRIER_DOWN_COUNT = 48, - IFLA_NEW_IFINDEX = 49, - IFLA_MIN_MTU = 50, - IFLA_MAX_MTU = 51, - IFLA_PROP_LIST = 52, - IFLA_ALT_IFNAME = 53, - IFLA_PERM_ADDRESS = 54, - IFLA_PROTO_DOWN_REASON = 55, - IFLA_PARENT_DEV_NAME = 56, - IFLA_PARENT_DEV_BUS_NAME = 57, - IFLA_GRO_MAX_SIZE = 58, - IFLA_TSO_MAX_SIZE = 59, - IFLA_TSO_MAX_SEGS = 60, - IFLA_ALLMULTI = 61, - IFLA_DEVLINK_PORT = 62, - IFLA_GSO_IPV4_MAX_SIZE = 63, - IFLA_GRO_IPV4_MAX_SIZE = 64, - __IFLA_MAX = 65, -}; - -enum { - IFLA_VF_INFO_UNSPEC = 0, - IFLA_VF_INFO = 1, - __IFLA_VF_INFO_MAX = 2, -}; - -enum { - IFLA_VF_PORT_UNSPEC = 0, - IFLA_VF_PORT = 1, - __IFLA_VF_PORT_MAX = 2, -}; - -enum { - IFLA_VF_STATS_RX_PACKETS = 0, - IFLA_VF_STATS_TX_PACKETS = 1, - IFLA_VF_STATS_RX_BYTES = 2, - IFLA_VF_STATS_TX_BYTES = 3, - IFLA_VF_STATS_BROADCAST = 4, - IFLA_VF_STATS_MULTICAST = 5, - IFLA_VF_STATS_PAD = 6, - IFLA_VF_STATS_RX_DROPPED = 7, - IFLA_VF_STATS_TX_DROPPED = 8, - __IFLA_VF_STATS_MAX = 9, -}; - -enum { - IFLA_VF_UNSPEC = 0, - IFLA_VF_MAC = 1, - IFLA_VF_VLAN = 2, - IFLA_VF_TX_RATE = 3, - IFLA_VF_SPOOFCHK = 4, - IFLA_VF_LINK_STATE = 5, - IFLA_VF_RATE = 6, - IFLA_VF_RSS_QUERY_EN = 7, - IFLA_VF_STATS = 8, - IFLA_VF_TRUST = 9, - IFLA_VF_IB_NODE_GUID = 10, - IFLA_VF_IB_PORT_GUID = 11, - IFLA_VF_VLAN_LIST = 12, - IFLA_VF_BROADCAST = 13, - __IFLA_VF_MAX = 14, -}; - -enum { - IFLA_VF_VLAN_INFO_UNSPEC = 0, - IFLA_VF_VLAN_INFO = 1, - __IFLA_VF_VLAN_INFO_MAX = 2, -}; - -enum { - IFLA_XDP_UNSPEC = 0, - IFLA_XDP_FD = 1, - IFLA_XDP_ATTACHED = 2, - IFLA_XDP_FLAGS = 3, - IFLA_XDP_PROG_ID = 4, - IFLA_XDP_DRV_PROG_ID = 5, - IFLA_XDP_SKB_PROG_ID = 6, - IFLA_XDP_HW_PROG_ID = 7, - IFLA_XDP_EXPECTED_FD = 8, - __IFLA_XDP_MAX = 9, -}; - -enum { - IF_ACT_NONE = -1, - IF_ACT_FILTER = 0, - IF_ACT_START = 1, - IF_ACT_STOP = 2, - IF_SRC_FILE = 3, - IF_SRC_KERNEL = 4, - IF_SRC_FILEADDR = 5, - IF_SRC_KERNELADDR = 6, -}; - -enum { - IF_LINK_MODE_DEFAULT = 0, - IF_LINK_MODE_DORMANT = 1, - IF_LINK_MODE_TESTING = 2, -}; - -enum { - IF_OPER_UNKNOWN = 0, - IF_OPER_NOTPRESENT = 1, - IF_OPER_DOWN = 2, - IF_OPER_LOWERLAYERDOWN = 3, - IF_OPER_TESTING = 4, - IF_OPER_DORMANT = 5, - IF_OPER_UP = 6, -}; - -enum { - IF_STATE_ACTION = 0, - IF_STATE_SOURCE = 1, - IF_STATE_END = 2, -}; - -enum { - INET6_IFADDR_STATE_PREDAD = 0, - INET6_IFADDR_STATE_DAD = 1, - INET6_IFADDR_STATE_POSTDAD = 2, - INET6_IFADDR_STATE_ERRDAD = 3, - INET6_IFADDR_STATE_DEAD = 4, -}; - -enum { - INET_DIAG_BC_NOP = 0, - INET_DIAG_BC_JMP = 1, - INET_DIAG_BC_S_GE = 2, - INET_DIAG_BC_S_LE = 3, - INET_DIAG_BC_D_GE = 4, - INET_DIAG_BC_D_LE = 5, - INET_DIAG_BC_AUTO = 6, - INET_DIAG_BC_S_COND = 7, - INET_DIAG_BC_D_COND = 8, - INET_DIAG_BC_DEV_COND = 9, - INET_DIAG_BC_MARK_COND = 10, - INET_DIAG_BC_S_EQ = 11, - INET_DIAG_BC_D_EQ = 12, - INET_DIAG_BC_CGROUP_COND = 13, -}; - -enum { - INET_DIAG_NONE = 0, - INET_DIAG_MEMINFO = 1, - INET_DIAG_INFO = 2, - INET_DIAG_VEGASINFO = 3, - INET_DIAG_CONG = 4, - INET_DIAG_TOS = 5, - INET_DIAG_TCLASS = 6, - INET_DIAG_SKMEMINFO = 7, - INET_DIAG_SHUTDOWN = 8, - INET_DIAG_DCTCPINFO = 9, - INET_DIAG_PROTOCOL = 10, - INET_DIAG_SKV6ONLY = 11, - INET_DIAG_LOCALS = 12, - INET_DIAG_PEERS = 13, - INET_DIAG_PAD = 14, - INET_DIAG_MARK = 15, - INET_DIAG_BBRINFO = 16, - INET_DIAG_CLASS_ID = 17, - INET_DIAG_MD5SIG = 18, - INET_DIAG_ULP_INFO = 19, - INET_DIAG_SK_BPF_STORAGES = 20, - INET_DIAG_CGROUP_ID = 21, - INET_DIAG_SOCKOPT = 22, - __INET_DIAG_MAX = 23, -}; - -enum { - INET_DIAG_REQ_NONE = 0, - INET_DIAG_REQ_BYTECODE = 1, - INET_DIAG_REQ_SK_BPF_STORAGES = 2, - INET_DIAG_REQ_PROTOCOL = 3, - __INET_DIAG_REQ_MAX = 4, -}; - -enum { - INET_ECN_NOT_ECT = 0, - INET_ECN_ECT_1 = 1, - INET_ECN_ECT_0 = 2, - INET_ECN_CE = 3, - INET_ECN_MASK = 3, -}; - -enum { - INET_FLAGS_PKTINFO = 0, - INET_FLAGS_TTL = 1, - INET_FLAGS_TOS = 2, - INET_FLAGS_RECVOPTS = 3, - INET_FLAGS_RETOPTS = 4, - INET_FLAGS_PASSSEC = 5, - INET_FLAGS_ORIGDSTADDR = 6, - INET_FLAGS_CHECKSUM = 7, - INET_FLAGS_RECVFRAGSIZE = 8, - INET_FLAGS_RECVERR = 9, - INET_FLAGS_RECVERR_RFC4884 = 10, - INET_FLAGS_FREEBIND = 11, - INET_FLAGS_HDRINCL = 12, - INET_FLAGS_MC_LOOP = 13, - INET_FLAGS_MC_ALL = 14, - INET_FLAGS_TRANSPARENT = 15, - INET_FLAGS_IS_ICSK = 16, - INET_FLAGS_NODEFRAG = 17, - INET_FLAGS_BIND_ADDRESS_NO_PORT = 18, - INET_FLAGS_DEFER_CONNECT = 19, -}; - -enum { - INET_FRAG_FIRST_IN = 1, - INET_FRAG_LAST_IN = 2, - INET_FRAG_COMPLETE = 4, - INET_FRAG_HASH_DEAD = 8, - INET_FRAG_DROP = 16, -}; - -enum { - INET_ULP_INFO_UNSPEC = 0, - INET_ULP_INFO_NAME = 1, - INET_ULP_INFO_TLS = 2, - INET_ULP_INFO_MPTCP = 3, - __INET_ULP_INFO_MAX = 4, -}; - -enum { - IOAM6_ATTR_UNSPEC = 0, - IOAM6_ATTR_NS_ID = 1, - IOAM6_ATTR_NS_DATA = 2, - IOAM6_ATTR_NS_DATA_WIDE = 3, - IOAM6_ATTR_SC_ID = 4, - IOAM6_ATTR_SC_DATA = 5, - IOAM6_ATTR_SC_NONE = 6, - IOAM6_ATTR_PAD = 7, - __IOAM6_ATTR_MAX = 8, -}; - -enum { - IOAM6_CMD_UNSPEC = 0, - IOAM6_CMD_ADD_NAMESPACE = 1, - IOAM6_CMD_DEL_NAMESPACE = 2, - IOAM6_CMD_DUMP_NAMESPACES = 3, - IOAM6_CMD_ADD_SCHEMA = 4, - IOAM6_CMD_DEL_SCHEMA = 5, - IOAM6_CMD_DUMP_SCHEMAS = 6, - IOAM6_CMD_NS_SET_SCHEMA = 7, - __IOAM6_CMD_MAX = 8, -}; - -enum { - IOPRIO_CLASS_NONE = 0, - IOPRIO_CLASS_RT = 1, - IOPRIO_CLASS_BE = 2, - IOPRIO_CLASS_IDLE = 3, - IOPRIO_CLASS_INVALID = 7, -}; - -enum { - IOPRIO_HINT_NONE = 0, - IOPRIO_HINT_DEV_DURATION_LIMIT_1 = 1, - IOPRIO_HINT_DEV_DURATION_LIMIT_2 = 2, - IOPRIO_HINT_DEV_DURATION_LIMIT_3 = 3, - IOPRIO_HINT_DEV_DURATION_LIMIT_4 = 4, - IOPRIO_HINT_DEV_DURATION_LIMIT_5 = 5, - IOPRIO_HINT_DEV_DURATION_LIMIT_6 = 6, - IOPRIO_HINT_DEV_DURATION_LIMIT_7 = 7, -}; - -enum { - IORES_DESC_NONE = 0, - IORES_DESC_CRASH_KERNEL = 1, - IORES_DESC_ACPI_TABLES = 2, - IORES_DESC_ACPI_NV_STORAGE = 3, - IORES_DESC_PERSISTENT_MEMORY = 4, - IORES_DESC_PERSISTENT_MEMORY_LEGACY = 5, - IORES_DESC_DEVICE_PRIVATE_MEMORY = 6, - IORES_DESC_RESERVED = 7, - IORES_DESC_SOFT_RESERVED = 8, - IORES_DESC_CXL = 9, -}; - -enum { - IORING_REGISTER_BUFFERS = 0, - IORING_UNREGISTER_BUFFERS = 1, - IORING_REGISTER_FILES = 2, - IORING_UNREGISTER_FILES = 3, - IORING_REGISTER_EVENTFD = 4, - IORING_UNREGISTER_EVENTFD = 5, - IORING_REGISTER_FILES_UPDATE = 6, - IORING_REGISTER_EVENTFD_ASYNC = 7, - IORING_REGISTER_PROBE = 8, - IORING_REGISTER_PERSONALITY = 9, - IORING_UNREGISTER_PERSONALITY = 10, - IORING_REGISTER_RESTRICTIONS = 11, - IORING_REGISTER_ENABLE_RINGS = 12, - IORING_REGISTER_FILES2 = 13, - IORING_REGISTER_FILES_UPDATE2 = 14, - IORING_REGISTER_BUFFERS2 = 15, - IORING_REGISTER_BUFFERS_UPDATE = 16, - IORING_REGISTER_IOWQ_AFF = 17, - IORING_UNREGISTER_IOWQ_AFF = 18, - IORING_REGISTER_IOWQ_MAX_WORKERS = 19, - IORING_REGISTER_RING_FDS = 20, - IORING_UNREGISTER_RING_FDS = 21, - IORING_REGISTER_PBUF_RING = 22, - IORING_UNREGISTER_PBUF_RING = 23, - IORING_REGISTER_SYNC_CANCEL = 24, - IORING_REGISTER_FILE_ALLOC_RANGE = 25, - IORING_REGISTER_LAST = 26, - IORING_REGISTER_USE_REGISTERED_RING = 2147483648, -}; - -enum { - IOSQE_FIXED_FILE_BIT = 0, - IOSQE_IO_DRAIN_BIT = 1, - IOSQE_IO_LINK_BIT = 2, - IOSQE_IO_HARDLINK_BIT = 3, - IOSQE_ASYNC_BIT = 4, - IOSQE_BUFFER_SELECT_BIT = 5, - IOSQE_CQE_SKIP_SUCCESS_BIT = 6, -}; - -enum { - IP6_FH_F_FRAG = 1, - IP6_FH_F_AUTH = 2, - IP6_FH_F_SKIP_RH = 4, -}; - -enum { - IPPROTO_IP = 0, - IPPROTO_ICMP = 1, - IPPROTO_IGMP = 2, - IPPROTO_IPIP = 4, - IPPROTO_TCP = 6, - IPPROTO_EGP = 8, - IPPROTO_PUP = 12, - IPPROTO_UDP = 17, - IPPROTO_IDP = 22, - IPPROTO_TP = 29, - IPPROTO_DCCP = 33, - IPPROTO_IPV6 = 41, - IPPROTO_RSVP = 46, - IPPROTO_GRE = 47, - IPPROTO_ESP = 50, - IPPROTO_AH = 51, - IPPROTO_MTP = 92, - IPPROTO_BEETPH = 94, - IPPROTO_ENCAP = 98, - IPPROTO_PIM = 103, - IPPROTO_COMP = 108, - IPPROTO_L2TP = 115, - IPPROTO_SCTP = 132, - IPPROTO_UDPLITE = 136, - IPPROTO_MPLS = 137, - IPPROTO_ETHERNET = 143, - IPPROTO_RAW = 255, - IPPROTO_MPTCP = 262, - IPPROTO_MAX = 263, -}; - -enum { - IPSTATS_MIB_NUM = 0, - IPSTATS_MIB_INPKTS = 1, - IPSTATS_MIB_INOCTETS = 2, - IPSTATS_MIB_INDELIVERS = 3, - IPSTATS_MIB_OUTFORWDATAGRAMS = 4, - IPSTATS_MIB_OUTPKTS = 5, - IPSTATS_MIB_OUTOCTETS = 6, - IPSTATS_MIB_INHDRERRORS = 7, - IPSTATS_MIB_INTOOBIGERRORS = 8, - IPSTATS_MIB_INNOROUTES = 9, - IPSTATS_MIB_INADDRERRORS = 10, - IPSTATS_MIB_INUNKNOWNPROTOS = 11, - IPSTATS_MIB_INTRUNCATEDPKTS = 12, - IPSTATS_MIB_INDISCARDS = 13, - IPSTATS_MIB_OUTDISCARDS = 14, - IPSTATS_MIB_OUTNOROUTES = 15, - IPSTATS_MIB_REASMTIMEOUT = 16, - IPSTATS_MIB_REASMREQDS = 17, - IPSTATS_MIB_REASMOKS = 18, - IPSTATS_MIB_REASMFAILS = 19, - IPSTATS_MIB_FRAGOKS = 20, - IPSTATS_MIB_FRAGFAILS = 21, - IPSTATS_MIB_FRAGCREATES = 22, - IPSTATS_MIB_INMCASTPKTS = 23, - IPSTATS_MIB_OUTMCASTPKTS = 24, - IPSTATS_MIB_INBCASTPKTS = 25, - IPSTATS_MIB_OUTBCASTPKTS = 26, - IPSTATS_MIB_INMCASTOCTETS = 27, - IPSTATS_MIB_OUTMCASTOCTETS = 28, - IPSTATS_MIB_INBCASTOCTETS = 29, - IPSTATS_MIB_OUTBCASTOCTETS = 30, - IPSTATS_MIB_CSUMERRORS = 31, - IPSTATS_MIB_NOECTPKTS = 32, - IPSTATS_MIB_ECT1PKTS = 33, - IPSTATS_MIB_ECT0PKTS = 34, - IPSTATS_MIB_CEPKTS = 35, - IPSTATS_MIB_REASM_OVERLAPS = 36, - __IPSTATS_MIB_MAX = 37, -}; - -enum { - IPV4_DEVCONF_FORWARDING = 1, - IPV4_DEVCONF_MC_FORWARDING = 2, - IPV4_DEVCONF_PROXY_ARP = 3, - IPV4_DEVCONF_ACCEPT_REDIRECTS = 4, - IPV4_DEVCONF_SECURE_REDIRECTS = 5, - IPV4_DEVCONF_SEND_REDIRECTS = 6, - IPV4_DEVCONF_SHARED_MEDIA = 7, - IPV4_DEVCONF_RP_FILTER = 8, - IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE = 9, - IPV4_DEVCONF_BOOTP_RELAY = 10, - IPV4_DEVCONF_LOG_MARTIANS = 11, - IPV4_DEVCONF_TAG = 12, - IPV4_DEVCONF_ARPFILTER = 13, - IPV4_DEVCONF_MEDIUM_ID = 14, - IPV4_DEVCONF_NOXFRM = 15, - IPV4_DEVCONF_NOPOLICY = 16, - IPV4_DEVCONF_FORCE_IGMP_VERSION = 17, - IPV4_DEVCONF_ARP_ANNOUNCE = 18, - IPV4_DEVCONF_ARP_IGNORE = 19, - IPV4_DEVCONF_PROMOTE_SECONDARIES = 20, - IPV4_DEVCONF_ARP_ACCEPT = 21, - IPV4_DEVCONF_ARP_NOTIFY = 22, - IPV4_DEVCONF_ACCEPT_LOCAL = 23, - IPV4_DEVCONF_SRC_VMARK = 24, - IPV4_DEVCONF_PROXY_ARP_PVLAN = 25, - IPV4_DEVCONF_ROUTE_LOCALNET = 26, - IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL = 27, - IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL = 28, - IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 29, - IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 30, - IPV4_DEVCONF_DROP_GRATUITOUS_ARP = 31, - IPV4_DEVCONF_BC_FORWARDING = 32, - IPV4_DEVCONF_ARP_EVICT_NOCARRIER = 33, - __IPV4_DEVCONF_MAX = 34, -}; - -enum { - IPV6_SADDR_RULE_INIT = 0, - IPV6_SADDR_RULE_LOCAL = 1, - IPV6_SADDR_RULE_SCOPE = 2, - IPV6_SADDR_RULE_PREFERRED = 3, - IPV6_SADDR_RULE_OIF = 4, - IPV6_SADDR_RULE_LABEL = 5, - IPV6_SADDR_RULE_PRIVACY = 6, - IPV6_SADDR_RULE_ORCHID = 7, - IPV6_SADDR_RULE_PREFIX = 8, - IPV6_SADDR_RULE_MAX = 9, -}; - -enum { - IRQCHIP_FWNODE_REAL = 0, - IRQCHIP_FWNODE_NAMED = 1, - IRQCHIP_FWNODE_NAMED_ID = 2, -}; - -enum { - IRQCHIP_SET_TYPE_MASKED = 1, - IRQCHIP_EOI_IF_HANDLED = 2, - IRQCHIP_MASK_ON_SUSPEND = 4, - IRQCHIP_ONOFFLINE_ENABLED = 8, - IRQCHIP_SKIP_SET_WAKE = 16, - IRQCHIP_ONESHOT_SAFE = 32, - IRQCHIP_EOI_THREADED = 64, - IRQCHIP_SUPPORTS_LEVEL_MSI = 128, - IRQCHIP_SUPPORTS_NMI = 256, - IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND = 512, - IRQCHIP_AFFINITY_PRE_STARTUP = 1024, - IRQCHIP_IMMUTABLE = 2048, -}; - -enum { - IRQC_IS_HARDIRQ = 0, - IRQC_IS_NESTED = 1, -}; - -enum { - IRQD_TRIGGER_MASK = 15, - IRQD_SETAFFINITY_PENDING = 256, - IRQD_ACTIVATED = 512, - IRQD_NO_BALANCING = 1024, - IRQD_PER_CPU = 2048, - IRQD_AFFINITY_SET = 4096, - IRQD_LEVEL = 8192, - IRQD_WAKEUP_STATE = 16384, - IRQD_MOVE_PCNTXT = 32768, - IRQD_IRQ_DISABLED = 65536, - IRQD_IRQ_MASKED = 131072, - IRQD_IRQ_INPROGRESS = 262144, - IRQD_WAKEUP_ARMED = 524288, - IRQD_FORWARDED_TO_VCPU = 1048576, - IRQD_AFFINITY_MANAGED = 2097152, - IRQD_IRQ_STARTED = 4194304, - IRQD_MANAGED_SHUTDOWN = 8388608, - IRQD_SINGLE_TARGET = 16777216, - IRQD_DEFAULT_TRIGGER_SET = 33554432, - IRQD_CAN_RESERVE = 67108864, - IRQD_MSI_NOMASK_QUIRK = 134217728, - IRQD_HANDLE_ENFORCE_IRQCTX = 268435456, - IRQD_AFFINITY_ON_ACTIVATE = 536870912, - IRQD_IRQ_ENABLED_ON_SUSPEND = 1073741824, - IRQD_RESEND_WHEN_IN_PROGRESS = 2147483648, -}; - -enum { - IRQS_AUTODETECT = 1, - IRQS_SPURIOUS_DISABLED = 2, - IRQS_POLL_INPROGRESS = 8, - IRQS_ONESHOT = 32, - IRQS_REPLAY = 64, - IRQS_WAITING = 128, - IRQS_PENDING = 512, - IRQS_SUSPENDED = 2048, - IRQS_TIMINGS = 4096, - IRQS_NMI = 8192, - IRQS_SYSFS = 16384, -}; - -enum { - IRQTF_RUNTHREAD = 0, - IRQTF_WARNED = 1, - IRQTF_AFFINITY = 2, - IRQTF_FORCED_THREAD = 3, - IRQTF_READY = 4, -}; - -enum { - IRQ_DOMAIN_FLAG_HIERARCHY = 1, - IRQ_DOMAIN_NAME_ALLOCATED = 2, - IRQ_DOMAIN_FLAG_IPI_PER_CPU = 4, - IRQ_DOMAIN_FLAG_IPI_SINGLE = 8, - IRQ_DOMAIN_FLAG_MSI = 16, - IRQ_DOMAIN_FLAG_ISOLATED_MSI = 32, - IRQ_DOMAIN_FLAG_NO_MAP = 64, - IRQ_DOMAIN_FLAG_MSI_PARENT = 256, - IRQ_DOMAIN_FLAG_MSI_DEVICE = 512, - IRQ_DOMAIN_FLAG_NONCORE = 65536, -}; - -enum { - IRQ_SET_MASK_OK = 0, - IRQ_SET_MASK_OK_NOCOPY = 1, - IRQ_SET_MASK_OK_DONE = 2, -}; - -enum { - IRQ_STARTUP_NORMAL = 0, - IRQ_STARTUP_MANAGED = 1, - IRQ_STARTUP_ABORT = 2, -}; - -enum { - IRQ_TYPE_NONE = 0, - IRQ_TYPE_EDGE_RISING = 1, - IRQ_TYPE_EDGE_FALLING = 2, - IRQ_TYPE_EDGE_BOTH = 3, - IRQ_TYPE_LEVEL_HIGH = 4, - IRQ_TYPE_LEVEL_LOW = 8, - IRQ_TYPE_LEVEL_MASK = 12, - IRQ_TYPE_SENSE_MASK = 15, - IRQ_TYPE_DEFAULT = 15, - IRQ_TYPE_PROBE = 16, - IRQ_LEVEL = 256, - IRQ_PER_CPU = 512, - IRQ_NOPROBE = 1024, - IRQ_NOREQUEST = 2048, - IRQ_NOAUTOEN = 4096, - IRQ_NO_BALANCING = 8192, - IRQ_MOVE_PCNTXT = 16384, - IRQ_NESTED_THREAD = 32768, - IRQ_NOTHREAD = 65536, - IRQ_PER_CPU_DEVID = 131072, - IRQ_IS_POLLED = 262144, - IRQ_DISABLE_UNLAZY = 524288, - IRQ_HIDDEN = 1048576, - IRQ_NO_DEBUG = 2097152, -}; - -enum { - KERNEL_PARAM_FL_UNSAFE = 1, - KERNEL_PARAM_FL_HWPARAM = 2, -}; - -enum { - KERNEL_PARAM_OPS_FL_NOARG = 1, -}; - -enum { - KF_ARG_DYNPTR_ID = 0, - KF_ARG_LIST_HEAD_ID = 1, - KF_ARG_LIST_NODE_ID = 2, - KF_ARG_RB_ROOT_ID = 3, - KF_ARG_RB_NODE_ID = 4, -}; - -enum { - KTW_FREEZABLE = 1, -}; - -enum { - LAST_NORM = 0, - LAST_ROOT = 1, - LAST_DOT = 2, - LAST_DOTDOT = 3, -}; - -enum { - LINUX_MIB_NUM = 0, - LINUX_MIB_SYNCOOKIESSENT = 1, - LINUX_MIB_SYNCOOKIESRECV = 2, - LINUX_MIB_SYNCOOKIESFAILED = 3, - LINUX_MIB_EMBRYONICRSTS = 4, - LINUX_MIB_PRUNECALLED = 5, - LINUX_MIB_RCVPRUNED = 6, - LINUX_MIB_OFOPRUNED = 7, - LINUX_MIB_OUTOFWINDOWICMPS = 8, - LINUX_MIB_LOCKDROPPEDICMPS = 9, - LINUX_MIB_ARPFILTER = 10, - LINUX_MIB_TIMEWAITED = 11, - LINUX_MIB_TIMEWAITRECYCLED = 12, - LINUX_MIB_TIMEWAITKILLED = 13, - LINUX_MIB_PAWSACTIVEREJECTED = 14, - LINUX_MIB_PAWSESTABREJECTED = 15, - LINUX_MIB_DELAYEDACKS = 16, - LINUX_MIB_DELAYEDACKLOCKED = 17, - LINUX_MIB_DELAYEDACKLOST = 18, - LINUX_MIB_LISTENOVERFLOWS = 19, - LINUX_MIB_LISTENDROPS = 20, - LINUX_MIB_TCPHPHITS = 21, - LINUX_MIB_TCPPUREACKS = 22, - LINUX_MIB_TCPHPACKS = 23, - LINUX_MIB_TCPRENORECOVERY = 24, - LINUX_MIB_TCPSACKRECOVERY = 25, - LINUX_MIB_TCPSACKRENEGING = 26, - LINUX_MIB_TCPSACKREORDER = 27, - LINUX_MIB_TCPRENOREORDER = 28, - LINUX_MIB_TCPTSREORDER = 29, - LINUX_MIB_TCPFULLUNDO = 30, - LINUX_MIB_TCPPARTIALUNDO = 31, - LINUX_MIB_TCPDSACKUNDO = 32, - LINUX_MIB_TCPLOSSUNDO = 33, - LINUX_MIB_TCPLOSTRETRANSMIT = 34, - LINUX_MIB_TCPRENOFAILURES = 35, - LINUX_MIB_TCPSACKFAILURES = 36, - LINUX_MIB_TCPLOSSFAILURES = 37, - LINUX_MIB_TCPFASTRETRANS = 38, - LINUX_MIB_TCPSLOWSTARTRETRANS = 39, - LINUX_MIB_TCPTIMEOUTS = 40, - LINUX_MIB_TCPLOSSPROBES = 41, - LINUX_MIB_TCPLOSSPROBERECOVERY = 42, - LINUX_MIB_TCPRENORECOVERYFAIL = 43, - LINUX_MIB_TCPSACKRECOVERYFAIL = 44, - LINUX_MIB_TCPRCVCOLLAPSED = 45, - LINUX_MIB_TCPDSACKOLDSENT = 46, - LINUX_MIB_TCPDSACKOFOSENT = 47, - LINUX_MIB_TCPDSACKRECV = 48, - LINUX_MIB_TCPDSACKOFORECV = 49, - LINUX_MIB_TCPABORTONDATA = 50, - LINUX_MIB_TCPABORTONCLOSE = 51, - LINUX_MIB_TCPABORTONMEMORY = 52, - LINUX_MIB_TCPABORTONTIMEOUT = 53, - LINUX_MIB_TCPABORTONLINGER = 54, - LINUX_MIB_TCPABORTFAILED = 55, - LINUX_MIB_TCPMEMORYPRESSURES = 56, - LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 57, - LINUX_MIB_TCPSACKDISCARD = 58, - LINUX_MIB_TCPDSACKIGNOREDOLD = 59, - LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 60, - LINUX_MIB_TCPSPURIOUSRTOS = 61, - LINUX_MIB_TCPMD5NOTFOUND = 62, - LINUX_MIB_TCPMD5UNEXPECTED = 63, - LINUX_MIB_TCPMD5FAILURE = 64, - LINUX_MIB_SACKSHIFTED = 65, - LINUX_MIB_SACKMERGED = 66, - LINUX_MIB_SACKSHIFTFALLBACK = 67, - LINUX_MIB_TCPBACKLOGDROP = 68, - LINUX_MIB_PFMEMALLOCDROP = 69, - LINUX_MIB_TCPMINTTLDROP = 70, - LINUX_MIB_TCPDEFERACCEPTDROP = 71, - LINUX_MIB_IPRPFILTER = 72, - LINUX_MIB_TCPTIMEWAITOVERFLOW = 73, - LINUX_MIB_TCPREQQFULLDOCOOKIES = 74, - LINUX_MIB_TCPREQQFULLDROP = 75, - LINUX_MIB_TCPRETRANSFAIL = 76, - LINUX_MIB_TCPRCVCOALESCE = 77, - LINUX_MIB_TCPBACKLOGCOALESCE = 78, - LINUX_MIB_TCPOFOQUEUE = 79, - LINUX_MIB_TCPOFODROP = 80, - LINUX_MIB_TCPOFOMERGE = 81, - LINUX_MIB_TCPCHALLENGEACK = 82, - LINUX_MIB_TCPSYNCHALLENGE = 83, - LINUX_MIB_TCPFASTOPENACTIVE = 84, - LINUX_MIB_TCPFASTOPENACTIVEFAIL = 85, - LINUX_MIB_TCPFASTOPENPASSIVE = 86, - LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 87, - LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 88, - LINUX_MIB_TCPFASTOPENCOOKIEREQD = 89, - LINUX_MIB_TCPFASTOPENBLACKHOLE = 90, - LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 91, - LINUX_MIB_BUSYPOLLRXPACKETS = 92, - LINUX_MIB_TCPAUTOCORKING = 93, - LINUX_MIB_TCPFROMZEROWINDOWADV = 94, - LINUX_MIB_TCPTOZEROWINDOWADV = 95, - LINUX_MIB_TCPWANTZEROWINDOWADV = 96, - LINUX_MIB_TCPSYNRETRANS = 97, - LINUX_MIB_TCPORIGDATASENT = 98, - LINUX_MIB_TCPHYSTARTTRAINDETECT = 99, - LINUX_MIB_TCPHYSTARTTRAINCWND = 100, - LINUX_MIB_TCPHYSTARTDELAYDETECT = 101, - LINUX_MIB_TCPHYSTARTDELAYCWND = 102, - LINUX_MIB_TCPACKSKIPPEDSYNRECV = 103, - LINUX_MIB_TCPACKSKIPPEDPAWS = 104, - LINUX_MIB_TCPACKSKIPPEDSEQ = 105, - LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 106, - LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 107, - LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 108, - LINUX_MIB_TCPWINPROBE = 109, - LINUX_MIB_TCPKEEPALIVE = 110, - LINUX_MIB_TCPMTUPFAIL = 111, - LINUX_MIB_TCPMTUPSUCCESS = 112, - LINUX_MIB_TCPDELIVERED = 113, - LINUX_MIB_TCPDELIVEREDCE = 114, - LINUX_MIB_TCPACKCOMPRESSED = 115, - LINUX_MIB_TCPZEROWINDOWDROP = 116, - LINUX_MIB_TCPRCVQDROP = 117, - LINUX_MIB_TCPWQUEUETOOBIG = 118, - LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 119, - LINUX_MIB_TCPTIMEOUTREHASH = 120, - LINUX_MIB_TCPDUPLICATEDATAREHASH = 121, - LINUX_MIB_TCPDSACKRECVSEGS = 122, - LINUX_MIB_TCPDSACKIGNOREDDUBIOUS = 123, - LINUX_MIB_TCPMIGRATEREQSUCCESS = 124, - LINUX_MIB_TCPMIGRATEREQFAILURE = 125, - LINUX_MIB_TCPPLBREHASH = 126, - __LINUX_MIB_MAX = 127, -}; - -enum { - LINUX_MIB_TLSNUM = 0, - LINUX_MIB_TLSCURRTXSW = 1, - LINUX_MIB_TLSCURRRXSW = 2, - LINUX_MIB_TLSCURRTXDEVICE = 3, - LINUX_MIB_TLSCURRRXDEVICE = 4, - LINUX_MIB_TLSTXSW = 5, - LINUX_MIB_TLSRXSW = 6, - LINUX_MIB_TLSTXDEVICE = 7, - LINUX_MIB_TLSRXDEVICE = 8, - LINUX_MIB_TLSDECRYPTERROR = 9, - LINUX_MIB_TLSRXDEVICERESYNC = 10, - LINUX_MIB_TLSDECRYPTRETRY = 11, - LINUX_MIB_TLSRXNOPADVIOL = 12, - __LINUX_MIB_TLSMAX = 13, -}; - -enum { - LINUX_MIB_XFRMNUM = 0, - LINUX_MIB_XFRMINERROR = 1, - LINUX_MIB_XFRMINBUFFERERROR = 2, - LINUX_MIB_XFRMINHDRERROR = 3, - LINUX_MIB_XFRMINNOSTATES = 4, - LINUX_MIB_XFRMINSTATEPROTOERROR = 5, - LINUX_MIB_XFRMINSTATEMODEERROR = 6, - LINUX_MIB_XFRMINSTATESEQERROR = 7, - LINUX_MIB_XFRMINSTATEEXPIRED = 8, - LINUX_MIB_XFRMINSTATEMISMATCH = 9, - LINUX_MIB_XFRMINSTATEINVALID = 10, - LINUX_MIB_XFRMINTMPLMISMATCH = 11, - LINUX_MIB_XFRMINNOPOLS = 12, - LINUX_MIB_XFRMINPOLBLOCK = 13, - LINUX_MIB_XFRMINPOLERROR = 14, - LINUX_MIB_XFRMOUTERROR = 15, - LINUX_MIB_XFRMOUTBUNDLEGENERROR = 16, - LINUX_MIB_XFRMOUTBUNDLECHECKERROR = 17, - LINUX_MIB_XFRMOUTNOSTATES = 18, - LINUX_MIB_XFRMOUTSTATEPROTOERROR = 19, - LINUX_MIB_XFRMOUTSTATEMODEERROR = 20, - LINUX_MIB_XFRMOUTSTATESEQERROR = 21, - LINUX_MIB_XFRMOUTSTATEEXPIRED = 22, - LINUX_MIB_XFRMOUTPOLBLOCK = 23, - LINUX_MIB_XFRMOUTPOLDEAD = 24, - LINUX_MIB_XFRMOUTPOLERROR = 25, - LINUX_MIB_XFRMFWDHDRERROR = 26, - LINUX_MIB_XFRMOUTSTATEINVALID = 27, - LINUX_MIB_XFRMACQUIREERROR = 28, - __LINUX_MIB_XFRMMAX = 29, -}; - -enum { - LOGIC_PIO_INDIRECT = 0, - LOGIC_PIO_CPU_MMIO = 1, -}; - -enum { - LWTUNNEL_IP_OPTS_UNSPEC = 0, - LWTUNNEL_IP_OPTS_GENEVE = 1, - LWTUNNEL_IP_OPTS_VXLAN = 2, - LWTUNNEL_IP_OPTS_ERSPAN = 3, - __LWTUNNEL_IP_OPTS_MAX = 4, -}; - -enum { - LWTUNNEL_IP_OPT_ERSPAN_UNSPEC = 0, - LWTUNNEL_IP_OPT_ERSPAN_VER = 1, - LWTUNNEL_IP_OPT_ERSPAN_INDEX = 2, - LWTUNNEL_IP_OPT_ERSPAN_DIR = 3, - LWTUNNEL_IP_OPT_ERSPAN_HWID = 4, - __LWTUNNEL_IP_OPT_ERSPAN_MAX = 5, -}; - -enum { - LWTUNNEL_IP_OPT_GENEVE_UNSPEC = 0, - LWTUNNEL_IP_OPT_GENEVE_CLASS = 1, - LWTUNNEL_IP_OPT_GENEVE_TYPE = 2, - LWTUNNEL_IP_OPT_GENEVE_DATA = 3, - __LWTUNNEL_IP_OPT_GENEVE_MAX = 4, -}; - -enum { - LWTUNNEL_IP_OPT_VXLAN_UNSPEC = 0, - LWTUNNEL_IP_OPT_VXLAN_GBP = 1, - __LWTUNNEL_IP_OPT_VXLAN_MAX = 2, -}; - -enum { - LWTUNNEL_XMIT_DONE = 0, - LWTUNNEL_XMIT_CONTINUE = 256, -}; - -enum { - MAX_OPT_ARGS = 3, -}; - -enum { - MDBA_SET_ENTRY_UNSPEC = 0, - MDBA_SET_ENTRY = 1, - MDBA_SET_ENTRY_ATTRS = 2, - __MDBA_SET_ENTRY_MAX = 3, -}; - -enum { - MEMREMAP_WB = 1, - MEMREMAP_WT = 2, - MEMREMAP_WC = 4, - MEMREMAP_ENC = 8, - MEMREMAP_DEC = 16, -}; - -enum { - MIX_INFLIGHT = 2147483648, -}; - -enum { - MM_FILEPAGES = 0, - MM_ANONPAGES = 1, - MM_SWAPENTS = 2, - MM_SHMEMPAGES = 3, - NR_MM_COUNTERS = 4, -}; - -enum { - NAPIF_STATE_SCHED = 1, - NAPIF_STATE_MISSED = 2, - NAPIF_STATE_DISABLE = 4, - NAPIF_STATE_NPSVC = 8, - NAPIF_STATE_LISTED = 16, - NAPIF_STATE_NO_BUSY_POLL = 32, - NAPIF_STATE_IN_BUSY_POLL = 64, - NAPIF_STATE_PREFER_BUSY_POLL = 128, - NAPIF_STATE_THREADED = 256, - NAPIF_STATE_SCHED_THREADED = 512, -}; - -enum { - NAPI_STATE_SCHED = 0, - NAPI_STATE_MISSED = 1, - NAPI_STATE_DISABLE = 2, - NAPI_STATE_NPSVC = 3, - NAPI_STATE_LISTED = 4, - NAPI_STATE_NO_BUSY_POLL = 5, - NAPI_STATE_IN_BUSY_POLL = 6, - NAPI_STATE_PREFER_BUSY_POLL = 7, - NAPI_STATE_THREADED = 8, - NAPI_STATE_SCHED_THREADED = 9, -}; - -enum { - NDA_UNSPEC = 0, - NDA_DST = 1, - NDA_LLADDR = 2, - NDA_CACHEINFO = 3, - NDA_PROBES = 4, - NDA_VLAN = 5, - NDA_PORT = 6, - NDA_VNI = 7, - NDA_IFINDEX = 8, - NDA_MASTER = 9, - NDA_LINK_NETNSID = 10, - NDA_SRC_VNI = 11, - NDA_PROTOCOL = 12, - NDA_NH_ID = 13, - NDA_FDB_EXT_ATTRS = 14, - NDA_FLAGS_EXT = 15, - NDA_NDM_STATE_MASK = 16, - NDA_NDM_FLAGS_MASK = 17, - __NDA_MAX = 18, -}; - -enum { - NDTA_UNSPEC = 0, - NDTA_NAME = 1, - NDTA_THRESH1 = 2, - NDTA_THRESH2 = 3, - NDTA_THRESH3 = 4, - NDTA_CONFIG = 5, - NDTA_PARMS = 6, - NDTA_STATS = 7, - NDTA_GC_INTERVAL = 8, - NDTA_PAD = 9, - __NDTA_MAX = 10, -}; - -enum { - NDTPA_UNSPEC = 0, - NDTPA_IFINDEX = 1, - NDTPA_REFCNT = 2, - NDTPA_REACHABLE_TIME = 3, - NDTPA_BASE_REACHABLE_TIME = 4, - NDTPA_RETRANS_TIME = 5, - NDTPA_GC_STALETIME = 6, - NDTPA_DELAY_PROBE_TIME = 7, - NDTPA_QUEUE_LEN = 8, - NDTPA_APP_PROBES = 9, - NDTPA_UCAST_PROBES = 10, - NDTPA_MCAST_PROBES = 11, - NDTPA_ANYCAST_DELAY = 12, - NDTPA_PROXY_DELAY = 13, - NDTPA_PROXY_QLEN = 14, - NDTPA_LOCKTIME = 15, - NDTPA_QUEUE_LENBYTES = 16, - NDTPA_MCAST_REPROBES = 17, - NDTPA_PAD = 18, - NDTPA_INTERVAL_PROBE_TIME_MS = 19, - __NDTPA_MAX = 20, -}; - -enum { - NDUSEROPT_UNSPEC = 0, - NDUSEROPT_SRCADDR = 1, - __NDUSEROPT_MAX = 2, -}; - -enum { - NEIGH_ARP_TABLE = 0, - NEIGH_ND_TABLE = 1, - NEIGH_DN_TABLE = 2, - NEIGH_NR_TABLES = 3, - NEIGH_LINK_TABLE = 3, -}; - -enum { - NEIGH_VAR_MCAST_PROBES = 0, - NEIGH_VAR_UCAST_PROBES = 1, - NEIGH_VAR_APP_PROBES = 2, - NEIGH_VAR_MCAST_REPROBES = 3, - NEIGH_VAR_RETRANS_TIME = 4, - NEIGH_VAR_BASE_REACHABLE_TIME = 5, - NEIGH_VAR_DELAY_PROBE_TIME = 6, - NEIGH_VAR_INTERVAL_PROBE_TIME_MS = 7, - NEIGH_VAR_GC_STALETIME = 8, - NEIGH_VAR_QUEUE_LEN_BYTES = 9, - NEIGH_VAR_PROXY_QLEN = 10, - NEIGH_VAR_ANYCAST_DELAY = 11, - NEIGH_VAR_PROXY_DELAY = 12, - NEIGH_VAR_LOCKTIME = 13, - NEIGH_VAR_QUEUE_LEN = 14, - NEIGH_VAR_RETRANS_TIME_MS = 15, - NEIGH_VAR_BASE_REACHABLE_TIME_MS = 16, - NEIGH_VAR_GC_INTERVAL = 17, - NEIGH_VAR_GC_THRESH1 = 18, - NEIGH_VAR_GC_THRESH2 = 19, - NEIGH_VAR_GC_THRESH3 = 20, - NEIGH_VAR_MAX = 21, -}; - -enum { - NESTED_SYNC_IMM_BIT = 0, - NESTED_SYNC_TODO_BIT = 1, -}; - -enum { - NETCONFA_UNSPEC = 0, - NETCONFA_IFINDEX = 1, - NETCONFA_FORWARDING = 2, - NETCONFA_RP_FILTER = 3, - NETCONFA_MC_FORWARDING = 4, - NETCONFA_PROXY_NEIGH = 5, - NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN = 6, - NETCONFA_INPUT = 7, - NETCONFA_BC_FORWARDING = 8, - __NETCONFA_MAX = 9, -}; - -enum { - NETDEV_A_DEV_IFINDEX = 1, - NETDEV_A_DEV_PAD = 2, - NETDEV_A_DEV_XDP_FEATURES = 3, - NETDEV_A_DEV_XDP_ZC_MAX_SEGS = 4, - __NETDEV_A_DEV_MAX = 5, - NETDEV_A_DEV_MAX = 4, -}; - -enum { - NETDEV_CMD_DEV_GET = 1, - NETDEV_CMD_DEV_ADD_NTF = 2, - NETDEV_CMD_DEV_DEL_NTF = 3, - NETDEV_CMD_DEV_CHANGE_NTF = 4, - __NETDEV_CMD_MAX = 5, - NETDEV_CMD_MAX = 4, -}; - -enum { - NETDEV_NLGRP_MGMT = 0, -}; - -enum { - NETIF_F_SG_BIT = 0, - NETIF_F_IP_CSUM_BIT = 1, - __UNUSED_NETIF_F_1 = 2, - NETIF_F_HW_CSUM_BIT = 3, - NETIF_F_IPV6_CSUM_BIT = 4, - NETIF_F_HIGHDMA_BIT = 5, - NETIF_F_FRAGLIST_BIT = 6, - NETIF_F_HW_VLAN_CTAG_TX_BIT = 7, - NETIF_F_HW_VLAN_CTAG_RX_BIT = 8, - NETIF_F_HW_VLAN_CTAG_FILTER_BIT = 9, - NETIF_F_VLAN_CHALLENGED_BIT = 10, - NETIF_F_GSO_BIT = 11, - NETIF_F_LLTX_BIT = 12, - NETIF_F_NETNS_LOCAL_BIT = 13, - NETIF_F_GRO_BIT = 14, - NETIF_F_LRO_BIT = 15, - NETIF_F_GSO_SHIFT = 16, - NETIF_F_TSO_BIT = 16, - NETIF_F_GSO_ROBUST_BIT = 17, - NETIF_F_TSO_ECN_BIT = 18, - NETIF_F_TSO_MANGLEID_BIT = 19, - NETIF_F_TSO6_BIT = 20, - NETIF_F_FSO_BIT = 21, - NETIF_F_GSO_GRE_BIT = 22, - NETIF_F_GSO_GRE_CSUM_BIT = 23, - NETIF_F_GSO_IPXIP4_BIT = 24, - NETIF_F_GSO_IPXIP6_BIT = 25, - NETIF_F_GSO_UDP_TUNNEL_BIT = 26, - NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT = 27, - NETIF_F_GSO_PARTIAL_BIT = 28, - NETIF_F_GSO_TUNNEL_REMCSUM_BIT = 29, - NETIF_F_GSO_SCTP_BIT = 30, - NETIF_F_GSO_ESP_BIT = 31, - NETIF_F_GSO_UDP_BIT = 32, - NETIF_F_GSO_UDP_L4_BIT = 33, - NETIF_F_GSO_FRAGLIST_BIT = 34, - NETIF_F_GSO_LAST = 34, - NETIF_F_FCOE_CRC_BIT = 35, - NETIF_F_SCTP_CRC_BIT = 36, - NETIF_F_FCOE_MTU_BIT = 37, - NETIF_F_NTUPLE_BIT = 38, - NETIF_F_RXHASH_BIT = 39, - NETIF_F_RXCSUM_BIT = 40, - NETIF_F_NOCACHE_COPY_BIT = 41, - NETIF_F_LOOPBACK_BIT = 42, - NETIF_F_RXFCS_BIT = 43, - NETIF_F_RXALL_BIT = 44, - NETIF_F_HW_VLAN_STAG_TX_BIT = 45, - NETIF_F_HW_VLAN_STAG_RX_BIT = 46, - NETIF_F_HW_VLAN_STAG_FILTER_BIT = 47, - NETIF_F_HW_L2FW_DOFFLOAD_BIT = 48, - NETIF_F_HW_TC_BIT = 49, - NETIF_F_HW_ESP_BIT = 50, - NETIF_F_HW_ESP_TX_CSUM_BIT = 51, - NETIF_F_RX_UDP_TUNNEL_PORT_BIT = 52, - NETIF_F_HW_TLS_TX_BIT = 53, - NETIF_F_HW_TLS_RX_BIT = 54, - NETIF_F_GRO_HW_BIT = 55, - NETIF_F_HW_TLS_RECORD_BIT = 56, - NETIF_F_GRO_FRAGLIST_BIT = 57, - NETIF_F_HW_MACSEC_BIT = 58, - NETIF_F_GRO_UDP_FWD_BIT = 59, - NETIF_F_HW_HSR_TAG_INS_BIT = 60, - NETIF_F_HW_HSR_TAG_RM_BIT = 61, - NETIF_F_HW_HSR_FWD_BIT = 62, - NETIF_F_HW_HSR_DUP_BIT = 63, - NETDEV_FEATURE_COUNT = 64, -}; - -enum { - NETIF_MSG_DRV_BIT = 0, - NETIF_MSG_PROBE_BIT = 1, - NETIF_MSG_LINK_BIT = 2, - NETIF_MSG_TIMER_BIT = 3, - NETIF_MSG_IFDOWN_BIT = 4, - NETIF_MSG_IFUP_BIT = 5, - NETIF_MSG_RX_ERR_BIT = 6, - NETIF_MSG_TX_ERR_BIT = 7, - NETIF_MSG_TX_QUEUED_BIT = 8, - NETIF_MSG_INTR_BIT = 9, - NETIF_MSG_TX_DONE_BIT = 10, - NETIF_MSG_RX_STATUS_BIT = 11, - NETIF_MSG_PKTDATA_BIT = 12, - NETIF_MSG_HW_BIT = 13, - NETIF_MSG_WOL_BIT = 14, - NETIF_MSG_CLASS_COUNT = 15, -}; - -enum { - NETLINK_F_KERNEL_SOCKET = 0, - NETLINK_F_RECV_PKTINFO = 1, - NETLINK_F_BROADCAST_SEND_ERROR = 2, - NETLINK_F_RECV_NO_ENOBUFS = 3, - NETLINK_F_LISTEN_ALL_NSID = 4, - NETLINK_F_CAP_ACK = 5, - NETLINK_F_EXT_ACK = 6, - NETLINK_F_STRICT_CHK = 7, -}; - -enum { - NETLINK_UNCONNECTED = 0, - NETLINK_CONNECTED = 1, -}; - -enum { - NETNSA_NONE = 0, - NETNSA_NSID = 1, - NETNSA_PID = 2, - NETNSA_FD = 3, - NETNSA_TARGET_NSID = 4, - NETNSA_CURRENT_NSID = 5, - __NETNSA_MAX = 6, -}; - -enum { - NET_NS_INDEX = 0, - UTS_NS_INDEX = 1, - IPC_NS_INDEX = 2, - PID_NS_INDEX = 3, - USER_NS_INDEX = 4, - MNT_NS_INDEX = 5, - CGROUP_NS_INDEX = 6, - NR_NAMESPACES = 7, -}; - -enum { - NEXTHOP_GRP_TYPE_MPATH = 0, - NEXTHOP_GRP_TYPE_RES = 1, - __NEXTHOP_GRP_TYPE_MAX = 2, -}; - -enum { - NFPROTO_UNSPEC = 0, - NFPROTO_INET = 1, - NFPROTO_IPV4 = 2, - NFPROTO_ARP = 3, - NFPROTO_NETDEV = 5, - NFPROTO_BRIDGE = 7, - NFPROTO_IPV6 = 10, - NFPROTO_NUMPROTO = 11, -}; - -enum { - NHA_RES_BUCKET_UNSPEC = 0, - NHA_RES_BUCKET_PAD = 0, - NHA_RES_BUCKET_INDEX = 1, - NHA_RES_BUCKET_IDLE_TIME = 2, - NHA_RES_BUCKET_NH_ID = 3, - __NHA_RES_BUCKET_MAX = 4, -}; - -enum { - NHA_RES_GROUP_UNSPEC = 0, - NHA_RES_GROUP_PAD = 0, - NHA_RES_GROUP_BUCKETS = 1, - NHA_RES_GROUP_IDLE_TIMER = 2, - NHA_RES_GROUP_UNBALANCED_TIMER = 3, - NHA_RES_GROUP_UNBALANCED_TIME = 4, - __NHA_RES_GROUP_MAX = 5, -}; - -enum { - NHA_UNSPEC = 0, - NHA_ID = 1, - NHA_GROUP = 2, - NHA_GROUP_TYPE = 3, - NHA_BLACKHOLE = 4, - NHA_OIF = 5, - NHA_GATEWAY = 6, - NHA_ENCAP_TYPE = 7, - NHA_ENCAP = 8, - NHA_GROUPS = 9, - NHA_MASTER = 10, - NHA_FDB = 11, - NHA_RES_GROUP = 12, - NHA_RES_BUCKET = 13, - __NHA_MAX = 14, -}; - -enum { - NLA_UNSPEC = 0, - NLA_U8 = 1, - NLA_U16 = 2, - NLA_U32 = 3, - NLA_U64 = 4, - NLA_STRING = 5, - NLA_FLAG = 6, - NLA_MSECS = 7, - NLA_NESTED = 8, - NLA_NESTED_ARRAY = 9, - NLA_NUL_STRING = 10, - NLA_BINARY = 11, - NLA_S8 = 12, - NLA_S16 = 13, - NLA_S32 = 14, - NLA_S64 = 15, - NLA_BITFIELD32 = 16, - NLA_REJECT = 17, - NLA_BE16 = 18, - NLA_BE32 = 19, - __NLA_TYPE_MAX = 20, -}; - -enum { - NUM_TRIAL_SAMPLES = 8192, - MAX_SAMPLES_PER_BIT = 6, -}; - -enum { - OPT_MODE = 0, -}; - -enum { - PCI_STD_RESOURCES = 0, - PCI_STD_RESOURCE_END = 5, - PCI_ROM_RESOURCE = 6, - PCI_BRIDGE_RESOURCES = 7, - PCI_BRIDGE_RESOURCE_END = 10, - PCI_NUM_RESOURCES = 11, - DEVICE_COUNT_RESOURCE = 11, -}; - -enum { - PERCPU_REF_INIT_ATOMIC = 1, - PERCPU_REF_INIT_DEAD = 2, - PERCPU_REF_ALLOW_REINIT = 4, -}; - -enum { - PER_LINUX = 0, - PER_LINUX_32BIT = 8388608, - PER_LINUX_FDPIC = 524288, - PER_SVR4 = 68157441, - PER_SVR3 = 83886082, - PER_SCOSVR3 = 117440515, - PER_OSR5 = 100663299, - PER_WYSEV386 = 83886084, - PER_ISCR4 = 67108869, - PER_BSD = 6, - PER_SUNOS = 67108870, - PER_XENIX = 83886087, - PER_LINUX32 = 8, - PER_LINUX32_3GB = 134217736, - PER_IRIX32 = 67108873, - PER_IRIXN32 = 67108874, - PER_IRIX64 = 67108875, - PER_RISCOS = 12, - PER_SOLARIS = 67108877, - PER_UW7 = 68157454, - PER_OSF4 = 15, - PER_HPUX = 16, - PER_MASK = 255, -}; - -enum { - POOL_BITS = 256, - POOL_READY_BITS = 256, - POOL_EARLY_BITS = 128, -}; - -enum { - POOL_MANAGER_ACTIVE = 1, - POOL_DISASSOCIATED = 4, - WORKER_DIE = 2, - WORKER_IDLE = 4, - WORKER_PREP = 8, - WORKER_CPU_INTENSIVE = 64, - WORKER_UNBOUND = 128, - WORKER_REBOUND = 256, - WORKER_NOT_RUNNING = 456, - NR_STD_WORKER_POOLS = 2, - UNBOUND_POOL_HASH_ORDER = 6, - BUSY_WORKER_HASH_ORDER = 6, - MAX_IDLE_WORKERS_RATIO = 4, - IDLE_WORKER_TIMEOUT = 30000, - MAYDAY_INITIAL_TIMEOUT = 2, - MAYDAY_INTERVAL = 10, - CREATE_COOLDOWN = 100, - RESCUER_NICE_LEVEL = -20, - HIGHPRI_NICE_LEVEL = -20, - WQ_NAME_LEN = 24, -}; - -enum { - PREFIX_UNSPEC = 0, - PREFIX_ADDRESS = 1, - PREFIX_CACHEINFO = 2, - __PREFIX_MAX = 3, -}; - -enum { - PROC_ROOT_INO = 1, - PROC_IPC_INIT_INO = 4026531839, - PROC_UTS_INIT_INO = 4026531838, - PROC_USER_INIT_INO = 4026531837, - PROC_PID_INIT_INO = 4026531836, - PROC_CGROUP_INIT_INO = 4026531835, - PROC_TIME_INIT_INO = 4026531834, -}; - -enum { - RADIX_TREE_ITER_TAG_MASK = 15, - RADIX_TREE_ITER_TAGGED = 16, - RADIX_TREE_ITER_CONTIG = 32, -}; - -enum { - REASON_BOUNDS = -1, - REASON_TYPE = -2, - REASON_PATHS = -3, - REASON_LIMIT = -4, - REASON_STACK = -5, -}; - -enum { - REGION_INTERSECTS = 0, - REGION_DISJOINT = 1, - REGION_MIXED = 2, -}; - -enum { - REG_OP_ISFREE = 0, - REG_OP_ALLOC = 1, - REG_OP_RELEASE = 2, -}; - -enum { - REQ_F_FIXED_FILE_BIT = 0, - REQ_F_IO_DRAIN_BIT = 1, - REQ_F_LINK_BIT = 2, - REQ_F_HARDLINK_BIT = 3, - REQ_F_FORCE_ASYNC_BIT = 4, - REQ_F_BUFFER_SELECT_BIT = 5, - REQ_F_CQE_SKIP_BIT = 6, - REQ_F_FAIL_BIT = 8, - REQ_F_INFLIGHT_BIT = 9, - REQ_F_CUR_POS_BIT = 10, - REQ_F_NOWAIT_BIT = 11, - REQ_F_LINK_TIMEOUT_BIT = 12, - REQ_F_NEED_CLEANUP_BIT = 13, - REQ_F_POLLED_BIT = 14, - REQ_F_BUFFER_SELECTED_BIT = 15, - REQ_F_BUFFER_RING_BIT = 16, - REQ_F_REISSUE_BIT = 17, - REQ_F_CREDS_BIT = 18, - REQ_F_REFCOUNT_BIT = 19, - REQ_F_ARM_LTIMEOUT_BIT = 20, - REQ_F_ASYNC_DATA_BIT = 21, - REQ_F_SKIP_LINK_CQES_BIT = 22, - REQ_F_SINGLE_POLL_BIT = 23, - REQ_F_DOUBLE_POLL_BIT = 24, - REQ_F_PARTIAL_IO_BIT = 25, - REQ_F_APOLL_MULTISHOT_BIT = 26, - REQ_F_CLEAR_POLLIN_BIT = 27, - REQ_F_HASH_LOCKED_BIT = 28, - REQ_F_SUPPORT_NOWAIT_BIT = 29, - REQ_F_ISREG_BIT = 30, - __REQ_F_LAST_BIT = 31, -}; - -enum { - RTAX_UNSPEC = 0, - RTAX_LOCK = 1, - RTAX_MTU = 2, - RTAX_WINDOW = 3, - RTAX_RTT = 4, - RTAX_RTTVAR = 5, - RTAX_SSTHRESH = 6, - RTAX_CWND = 7, - RTAX_ADVMSS = 8, - RTAX_REORDERING = 9, - RTAX_HOPLIMIT = 10, - RTAX_INITCWND = 11, - RTAX_FEATURES = 12, - RTAX_RTO_MIN = 13, - RTAX_INITRWND = 14, - RTAX_QUICKACK = 15, - RTAX_CC_ALGO = 16, - RTAX_FASTOPEN_NO_COOKIE = 17, - __RTAX_MAX = 18, -}; - -enum { - RTM_BASE = 16, - RTM_NEWLINK = 16, - RTM_DELLINK = 17, - RTM_GETLINK = 18, - RTM_SETLINK = 19, - RTM_NEWADDR = 20, - RTM_DELADDR = 21, - RTM_GETADDR = 22, - RTM_NEWROUTE = 24, - RTM_DELROUTE = 25, - RTM_GETROUTE = 26, - RTM_NEWNEIGH = 28, - RTM_DELNEIGH = 29, - RTM_GETNEIGH = 30, - RTM_NEWRULE = 32, - RTM_DELRULE = 33, - RTM_GETRULE = 34, - RTM_NEWQDISC = 36, - RTM_DELQDISC = 37, - RTM_GETQDISC = 38, - RTM_NEWTCLASS = 40, - RTM_DELTCLASS = 41, - RTM_GETTCLASS = 42, - RTM_NEWTFILTER = 44, - RTM_DELTFILTER = 45, - RTM_GETTFILTER = 46, - RTM_NEWACTION = 48, - RTM_DELACTION = 49, - RTM_GETACTION = 50, - RTM_NEWPREFIX = 52, - RTM_GETMULTICAST = 58, - RTM_GETANYCAST = 62, - RTM_NEWNEIGHTBL = 64, - RTM_GETNEIGHTBL = 66, - RTM_SETNEIGHTBL = 67, - RTM_NEWNDUSEROPT = 68, - RTM_NEWADDRLABEL = 72, - RTM_DELADDRLABEL = 73, - RTM_GETADDRLABEL = 74, - RTM_GETDCB = 78, - RTM_SETDCB = 79, - RTM_NEWNETCONF = 80, - RTM_DELNETCONF = 81, - RTM_GETNETCONF = 82, - RTM_NEWMDB = 84, - RTM_DELMDB = 85, - RTM_GETMDB = 86, - RTM_NEWNSID = 88, - RTM_DELNSID = 89, - RTM_GETNSID = 90, - RTM_NEWSTATS = 92, - RTM_GETSTATS = 94, - RTM_SETSTATS = 95, - RTM_NEWCACHEREPORT = 96, - RTM_NEWCHAIN = 100, - RTM_DELCHAIN = 101, - RTM_GETCHAIN = 102, - RTM_NEWNEXTHOP = 104, - RTM_DELNEXTHOP = 105, - RTM_GETNEXTHOP = 106, - RTM_NEWLINKPROP = 108, - RTM_DELLINKPROP = 109, - RTM_GETLINKPROP = 110, - RTM_NEWVLAN = 112, - RTM_DELVLAN = 113, - RTM_GETVLAN = 114, - RTM_NEWNEXTHOPBUCKET = 116, - RTM_DELNEXTHOPBUCKET = 117, - RTM_GETNEXTHOPBUCKET = 118, - RTM_NEWTUNNEL = 120, - RTM_DELTUNNEL = 121, - RTM_GETTUNNEL = 122, - __RTM_MAX = 123, -}; - -enum { - RTN_UNSPEC = 0, - RTN_UNICAST = 1, - RTN_LOCAL = 2, - RTN_BROADCAST = 3, - RTN_ANYCAST = 4, - RTN_MULTICAST = 5, - RTN_BLACKHOLE = 6, - RTN_UNREACHABLE = 7, - RTN_PROHIBIT = 8, - RTN_THROW = 9, - RTN_NAT = 10, - RTN_XRESOLVE = 11, - __RTN_MAX = 12, -}; - -enum { - Root_NFS = 255, - Root_CIFS = 254, - Root_Generic = 253, - Root_RAM0 = 1048576, -}; - -enum { - SB_UNFROZEN = 0, - SB_FREEZE_WRITE = 1, - SB_FREEZE_PAGEFAULT = 2, - SB_FREEZE_FS = 3, - SB_FREEZE_COMPLETE = 4, -}; - -enum { - SCM_TSTAMP_SND = 0, - SCM_TSTAMP_SCHED = 1, - SCM_TSTAMP_ACK = 2, -}; - -enum { - SEG6_ATTR_UNSPEC = 0, - SEG6_ATTR_DST = 1, - SEG6_ATTR_DSTLEN = 2, - SEG6_ATTR_HMACKEYID = 3, - SEG6_ATTR_SECRET = 4, - SEG6_ATTR_SECRETLEN = 5, - SEG6_ATTR_ALGID = 6, - SEG6_ATTR_HMACINFO = 7, - __SEG6_ATTR_MAX = 8, -}; - -enum { - SEG6_CMD_UNSPEC = 0, - SEG6_CMD_SETHMAC = 1, - SEG6_CMD_DUMPHMAC = 2, - SEG6_CMD_SET_TUNSRC = 3, - SEG6_CMD_GET_TUNSRC = 4, - __SEG6_CMD_MAX = 5, -}; - -enum { - SKBFL_ZEROCOPY_ENABLE = 1, - SKBFL_SHARED_FRAG = 2, - SKBFL_PURE_ZEROCOPY = 4, - SKBFL_DONT_ORPHAN = 8, - SKBFL_MANAGED_FRAG_REFS = 16, -}; - -enum { - SKBTX_HW_TSTAMP = 1, - SKBTX_SW_TSTAMP = 2, - SKBTX_IN_PROGRESS = 4, - SKBTX_HW_TSTAMP_USE_CYCLES = 8, - SKBTX_WIFI_STATUS = 16, - SKBTX_HW_TSTAMP_NETDEV = 32, - SKBTX_SCHED_TSTAMP = 64, -}; - -enum { - SKB_FCLONE_UNAVAILABLE = 0, - SKB_FCLONE_ORIG = 1, - SKB_FCLONE_CLONE = 2, -}; - -enum { - SKB_GSO_TCPV4 = 1, - SKB_GSO_DODGY = 2, - SKB_GSO_TCP_ECN = 4, - SKB_GSO_TCP_FIXEDID = 8, - SKB_GSO_TCPV6 = 16, - SKB_GSO_FCOE = 32, - SKB_GSO_GRE = 64, - SKB_GSO_GRE_CSUM = 128, - SKB_GSO_IPXIP4 = 256, - SKB_GSO_IPXIP6 = 512, - SKB_GSO_UDP_TUNNEL = 1024, - SKB_GSO_UDP_TUNNEL_CSUM = 2048, - SKB_GSO_PARTIAL = 4096, - SKB_GSO_TUNNEL_REMCSUM = 8192, - SKB_GSO_SCTP = 16384, - SKB_GSO_ESP = 32768, - SKB_GSO_UDP = 65536, - SKB_GSO_UDP_L4 = 131072, - SKB_GSO_FRAGLIST = 262144, -}; - -enum { - SK_DIAG_BPF_STORAGE_NONE = 0, - SK_DIAG_BPF_STORAGE_PAD = 1, - SK_DIAG_BPF_STORAGE_MAP_ID = 2, - SK_DIAG_BPF_STORAGE_MAP_VALUE = 3, - __SK_DIAG_BPF_STORAGE_MAX = 4, -}; - -enum { - SK_DIAG_BPF_STORAGE_REP_NONE = 0, - SK_DIAG_BPF_STORAGE = 1, - __SK_DIAG_BPF_STORAGE_REP_MAX = 2, -}; - -enum { - SK_DIAG_BPF_STORAGE_REQ_NONE = 0, - SK_DIAG_BPF_STORAGE_REQ_MAP_FD = 1, - __SK_DIAG_BPF_STORAGE_REQ_MAX = 2, -}; - -enum { - SK_MEMINFO_RMEM_ALLOC = 0, - SK_MEMINFO_RCVBUF = 1, - SK_MEMINFO_WMEM_ALLOC = 2, - SK_MEMINFO_SNDBUF = 3, - SK_MEMINFO_FWD_ALLOC = 4, - SK_MEMINFO_WMEM_QUEUED = 5, - SK_MEMINFO_OPTMEM = 6, - SK_MEMINFO_BACKLOG = 7, - SK_MEMINFO_DROPS = 8, - SK_MEMINFO_VARS = 9, -}; - -enum { - SOCK_WAKE_IO = 0, - SOCK_WAKE_WAITD = 1, - SOCK_WAKE_SPACE = 2, - SOCK_WAKE_URG = 3, -}; - -enum { - SOF_TIMESTAMPING_TX_HARDWARE = 1, - SOF_TIMESTAMPING_TX_SOFTWARE = 2, - SOF_TIMESTAMPING_RX_HARDWARE = 4, - SOF_TIMESTAMPING_RX_SOFTWARE = 8, - SOF_TIMESTAMPING_SOFTWARE = 16, - SOF_TIMESTAMPING_SYS_HARDWARE = 32, - SOF_TIMESTAMPING_RAW_HARDWARE = 64, - SOF_TIMESTAMPING_OPT_ID = 128, - SOF_TIMESTAMPING_TX_SCHED = 256, - SOF_TIMESTAMPING_TX_ACK = 512, - SOF_TIMESTAMPING_OPT_CMSG = 1024, - SOF_TIMESTAMPING_OPT_TSONLY = 2048, - SOF_TIMESTAMPING_OPT_STATS = 4096, - SOF_TIMESTAMPING_OPT_PKTINFO = 8192, - SOF_TIMESTAMPING_OPT_TX_SWHW = 16384, - SOF_TIMESTAMPING_BIND_PHC = 32768, - SOF_TIMESTAMPING_OPT_ID_TCP = 65536, - SOF_TIMESTAMPING_LAST = 65536, - SOF_TIMESTAMPING_MASK = 131071, -}; - -enum { - SWP_USED = 1, - SWP_WRITEOK = 2, - SWP_DISCARDABLE = 4, - SWP_DISCARDING = 8, - SWP_SOLIDSTATE = 16, - SWP_CONTINUED = 32, - SWP_BLKDEV = 64, - SWP_ACTIVATED = 128, - SWP_FS_OPS = 256, - SWP_AREA_DISCARD = 512, - SWP_PAGE_DISCARD = 1024, - SWP_STABLE_WRITES = 2048, - SWP_SYNCHRONOUS_IO = 4096, - SWP_SCANNING = 16384, -}; - -enum { - TASKLET_STATE_SCHED = 0, - TASKLET_STATE_RUN = 1, -}; - -enum { - TASKSTATS_CMD_UNSPEC = 0, - TASKSTATS_CMD_GET = 1, - TASKSTATS_CMD_NEW = 2, - __TASKSTATS_CMD_MAX = 3, -}; - -enum { - TASK_COMM_LEN = 16, -}; - -enum { - TCA_STATS_UNSPEC = 0, - TCA_STATS_BASIC = 1, - TCA_STATS_RATE_EST = 2, - TCA_STATS_QUEUE = 3, - TCA_STATS_APP = 4, - TCA_STATS_RATE_EST64 = 5, - TCA_STATS_PAD = 6, - TCA_STATS_BASIC_HW = 7, - TCA_STATS_PKT64 = 8, - __TCA_STATS_MAX = 9, -}; - -enum { - TCA_UNSPEC = 0, - TCA_KIND = 1, - TCA_OPTIONS = 2, - TCA_STATS = 3, - TCA_XSTATS = 4, - TCA_RATE = 5, - TCA_FCNT = 6, - TCA_STATS2 = 7, - TCA_STAB = 8, - TCA_PAD = 9, - TCA_DUMP_INVISIBLE = 10, - TCA_CHAIN = 11, - TCA_HW_OFFLOAD = 12, - TCA_INGRESS_BLOCK = 13, - TCA_EGRESS_BLOCK = 14, - TCA_DUMP_FLAGS = 15, - TCA_EXT_WARN_MSG = 16, - __TCA_MAX = 17, -}; - -enum { - TCPF_ESTABLISHED = 2, - TCPF_SYN_SENT = 4, - TCPF_SYN_RECV = 8, - TCPF_FIN_WAIT1 = 16, - TCPF_FIN_WAIT2 = 32, - TCPF_TIME_WAIT = 64, - TCPF_CLOSE = 128, - TCPF_CLOSE_WAIT = 256, - TCPF_LAST_ACK = 512, - TCPF_LISTEN = 1024, - TCPF_CLOSING = 2048, - TCPF_NEW_SYN_RECV = 4096, -}; - -enum { - TCP_BPF_BASE = 0, - TCP_BPF_TX = 1, - TCP_BPF_RX = 2, - TCP_BPF_TXRX = 3, - TCP_BPF_NUM_CFGS = 4, -}; - -enum { - TCP_BPF_IPV4 = 0, - TCP_BPF_IPV6 = 1, - TCP_BPF_NUM_PROTS = 2, -}; - -enum { - TCP_BPF_IW = 1001, - TCP_BPF_SNDCWND_CLAMP = 1002, - TCP_BPF_DELACK_MAX = 1003, - TCP_BPF_RTO_MIN = 1004, - TCP_BPF_SYN = 1005, - TCP_BPF_SYN_IP = 1006, - TCP_BPF_SYN_MAC = 1007, -}; - -enum { - TCP_CMSG_INQ = 1, - TCP_CMSG_TS = 2, -}; - -enum { - TCP_ESTABLISHED = 1, - TCP_SYN_SENT = 2, - TCP_SYN_RECV = 3, - TCP_FIN_WAIT1 = 4, - TCP_FIN_WAIT2 = 5, - TCP_TIME_WAIT = 6, - TCP_CLOSE = 7, - TCP_CLOSE_WAIT = 8, - TCP_LAST_ACK = 9, - TCP_LISTEN = 10, - TCP_CLOSING = 11, - TCP_NEW_SYN_RECV = 12, - TCP_MAX_STATES = 13, -}; - -enum { - TCP_FLAG_CWR = 32768, - TCP_FLAG_ECE = 16384, - TCP_FLAG_URG = 8192, - TCP_FLAG_ACK = 4096, - TCP_FLAG_PSH = 2048, - TCP_FLAG_RST = 1024, - TCP_FLAG_SYN = 512, - TCP_FLAG_FIN = 256, - TCP_RESERVED_BITS = 15, - TCP_DATA_OFFSET = 240, -}; - -enum { - TCP_METRICS_ATTR_UNSPEC = 0, - TCP_METRICS_ATTR_ADDR_IPV4 = 1, - TCP_METRICS_ATTR_ADDR_IPV6 = 2, - TCP_METRICS_ATTR_AGE = 3, - TCP_METRICS_ATTR_TW_TSVAL = 4, - TCP_METRICS_ATTR_TW_TS_STAMP = 5, - TCP_METRICS_ATTR_VALS = 6, - TCP_METRICS_ATTR_FOPEN_MSS = 7, - TCP_METRICS_ATTR_FOPEN_SYN_DROPS = 8, - TCP_METRICS_ATTR_FOPEN_SYN_DROP_TS = 9, - TCP_METRICS_ATTR_FOPEN_COOKIE = 10, - TCP_METRICS_ATTR_SADDR_IPV4 = 11, - TCP_METRICS_ATTR_SADDR_IPV6 = 12, - TCP_METRICS_ATTR_PAD = 13, - __TCP_METRICS_ATTR_MAX = 14, -}; - -enum { - TCP_METRICS_CMD_UNSPEC = 0, - TCP_METRICS_CMD_GET = 1, - TCP_METRICS_CMD_DEL = 2, - __TCP_METRICS_CMD_MAX = 3, -}; - -enum { - TCP_MIB_NUM = 0, - TCP_MIB_RTOALGORITHM = 1, - TCP_MIB_RTOMIN = 2, - TCP_MIB_RTOMAX = 3, - TCP_MIB_MAXCONN = 4, - TCP_MIB_ACTIVEOPENS = 5, - TCP_MIB_PASSIVEOPENS = 6, - TCP_MIB_ATTEMPTFAILS = 7, - TCP_MIB_ESTABRESETS = 8, - TCP_MIB_CURRESTAB = 9, - TCP_MIB_INSEGS = 10, - TCP_MIB_OUTSEGS = 11, - TCP_MIB_RETRANSSEGS = 12, - TCP_MIB_INERRS = 13, - TCP_MIB_OUTRSTS = 14, - TCP_MIB_CSUMERRORS = 15, - __TCP_MIB_MAX = 16, -}; - -enum { - TCP_NLA_PAD = 0, - TCP_NLA_BUSY = 1, - TCP_NLA_RWND_LIMITED = 2, - TCP_NLA_SNDBUF_LIMITED = 3, - TCP_NLA_DATA_SEGS_OUT = 4, - TCP_NLA_TOTAL_RETRANS = 5, - TCP_NLA_PACING_RATE = 6, - TCP_NLA_DELIVERY_RATE = 7, - TCP_NLA_SND_CWND = 8, - TCP_NLA_REORDERING = 9, - TCP_NLA_MIN_RTT = 10, - TCP_NLA_RECUR_RETRANS = 11, - TCP_NLA_DELIVERY_RATE_APP_LMT = 12, - TCP_NLA_SNDQ_SIZE = 13, - TCP_NLA_CA_STATE = 14, - TCP_NLA_SND_SSTHRESH = 15, - TCP_NLA_DELIVERED = 16, - TCP_NLA_DELIVERED_CE = 17, - TCP_NLA_BYTES_SENT = 18, - TCP_NLA_BYTES_RETRANS = 19, - TCP_NLA_DSACK_DUPS = 20, - TCP_NLA_REORD_SEEN = 21, - TCP_NLA_SRTT = 22, - TCP_NLA_TIMEOUT_REHASH = 23, - TCP_NLA_BYTES_NOTSENT = 24, - TCP_NLA_EDT = 25, - TCP_NLA_TTL = 26, - TCP_NLA_REHASH = 27, -}; - -enum { - TCP_NO_QUEUE = 0, - TCP_RECV_QUEUE = 1, - TCP_SEND_QUEUE = 2, - TCP_QUEUES_NR = 3, -}; - -enum { - TEST_ALIGNMENT = 16, -}; - -enum { - TRACE_EVENT_FL_FILTERED_BIT = 0, - TRACE_EVENT_FL_CAP_ANY_BIT = 1, - TRACE_EVENT_FL_NO_SET_FILTER_BIT = 2, - TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 3, - TRACE_EVENT_FL_TRACEPOINT_BIT = 4, - TRACE_EVENT_FL_DYNAMIC_BIT = 5, - TRACE_EVENT_FL_KPROBE_BIT = 6, - TRACE_EVENT_FL_UPROBE_BIT = 7, - TRACE_EVENT_FL_EPROBE_BIT = 8, - TRACE_EVENT_FL_FPROBE_BIT = 9, - TRACE_EVENT_FL_CUSTOM_BIT = 10, -}; - -enum { - TRACE_SIGNAL_DELIVERED = 0, - TRACE_SIGNAL_IGNORED = 1, - TRACE_SIGNAL_ALREADY_PENDING = 2, - TRACE_SIGNAL_OVERFLOW_FAIL = 3, - TRACE_SIGNAL_LOSE_INFO = 4, -}; - -enum { - UDP_BPF_IPV4 = 0, - UDP_BPF_IPV6 = 1, - UDP_BPF_NUM_PROTS = 2, -}; - -enum { - UDP_MIB_NUM = 0, - UDP_MIB_INDATAGRAMS = 1, - UDP_MIB_NOPORTS = 2, - UDP_MIB_INERRORS = 3, - UDP_MIB_OUTDATAGRAMS = 4, - UDP_MIB_RCVBUFERRORS = 5, - UDP_MIB_SNDBUFERRORS = 6, - UDP_MIB_CSUMERRORS = 7, - UDP_MIB_IGNOREDMULTI = 8, - UDP_MIB_MEMERRORS = 9, - __UDP_MIB_MAX = 10, -}; - -enum { - UNAME26 = 131072, - ADDR_NO_RANDOMIZE = 262144, - FDPIC_FUNCPTRS = 524288, - MMAP_PAGE_ZERO = 1048576, - ADDR_COMPAT_LAYOUT = 2097152, - READ_IMPLIES_EXEC = 4194304, - ADDR_LIMIT_32BIT = 8388608, - SHORT_INODE = 16777216, - WHOLE_SECONDS = 33554432, - STICKY_TIMEOUTS = 67108864, - ADDR_LIMIT_3GB = 134217728, -}; - -enum { - WALK_TRAILING = 1, - WALK_MORE = 2, - WALK_NOFOLLOW = 4, -}; - -enum { - WORK_STRUCT_PENDING_BIT = 0, - WORK_STRUCT_INACTIVE_BIT = 1, - WORK_STRUCT_PWQ_BIT = 2, - WORK_STRUCT_LINKED_BIT = 3, - WORK_STRUCT_COLOR_SHIFT = 4, - WORK_STRUCT_COLOR_BITS = 4, - WORK_STRUCT_PENDING = 1, - WORK_STRUCT_INACTIVE = 2, - WORK_STRUCT_PWQ = 4, - WORK_STRUCT_LINKED = 8, - WORK_STRUCT_STATIC = 0, - WORK_NR_COLORS = 16, - WORK_CPU_UNBOUND = 1, - WORK_STRUCT_FLAG_BITS = 8, - WORK_OFFQ_FLAG_BASE = 4, - __WORK_OFFQ_CANCELING = 4, - WORK_OFFQ_FLAG_BITS = 1, - WORK_OFFQ_POOL_SHIFT = 5, - WORK_OFFQ_LEFT = 27, - WORK_OFFQ_POOL_BITS = 27, - WORK_BUSY_PENDING = 1, - WORK_BUSY_RUNNING = 2, - WORKER_DESC_LEN = 24, -}; - -enum { - WQ_UNBOUND = 2, - WQ_FREEZABLE = 4, - WQ_MEM_RECLAIM = 8, - WQ_HIGHPRI = 16, - WQ_CPU_INTENSIVE = 32, - WQ_SYSFS = 64, - WQ_POWER_EFFICIENT = 128, - __WQ_DESTROYING = 32768, - __WQ_DRAINING = 65536, - __WQ_ORDERED = 131072, - __WQ_LEGACY = 262144, - __WQ_ORDERED_EXPLICIT = 524288, - WQ_MAX_ACTIVE = 512, - WQ_UNBOUND_MAX_ACTIVE = 512, - WQ_DFL_ACTIVE = 256, -}; - -enum { - XA_CHECK_SCHED = 4096, -}; - -enum { - XDP_ATTACHED_NONE = 0, - XDP_ATTACHED_DRV = 1, - XDP_ATTACHED_SKB = 2, - XDP_ATTACHED_HW = 3, - XDP_ATTACHED_MULTI = 4, -}; - -enum { - XDP_METADATA_KFUNC_RX_TIMESTAMP = 0, - XDP_METADATA_KFUNC_RX_HASH = 1, - MAX_XDP_METADATA_KFUNC = 2, -}; - -enum { - XFRM_LOOKUP_ICMP = 1, - XFRM_LOOKUP_QUEUE = 2, - XFRM_LOOKUP_KEEP_DST_REF = 4, -}; - -enum { - XFRM_MSG_BASE = 16, - XFRM_MSG_NEWSA = 16, - XFRM_MSG_DELSA = 17, - XFRM_MSG_GETSA = 18, - XFRM_MSG_NEWPOLICY = 19, - XFRM_MSG_DELPOLICY = 20, - XFRM_MSG_GETPOLICY = 21, - XFRM_MSG_ALLOCSPI = 22, - XFRM_MSG_ACQUIRE = 23, - XFRM_MSG_EXPIRE = 24, - XFRM_MSG_UPDPOLICY = 25, - XFRM_MSG_UPDSA = 26, - XFRM_MSG_POLEXPIRE = 27, - XFRM_MSG_FLUSHSA = 28, - XFRM_MSG_FLUSHPOLICY = 29, - XFRM_MSG_NEWAE = 30, - XFRM_MSG_GETAE = 31, - XFRM_MSG_REPORT = 32, - XFRM_MSG_MIGRATE = 33, - XFRM_MSG_NEWSADINFO = 34, - XFRM_MSG_GETSADINFO = 35, - XFRM_MSG_NEWSPDINFO = 36, - XFRM_MSG_GETSPDINFO = 37, - XFRM_MSG_MAPPING = 38, - XFRM_MSG_SETDEFAULT = 39, - XFRM_MSG_GETDEFAULT = 40, - __XFRM_MSG_MAX = 41, -}; - -enum { - XFRM_POLICY_IN = 0, - XFRM_POLICY_OUT = 1, - XFRM_POLICY_FWD = 2, - XFRM_POLICY_MASK = 3, - XFRM_POLICY_MAX = 3, -}; - -enum { - XFRM_POLICY_TYPE_MAIN = 0, - XFRM_POLICY_TYPE_SUB = 1, - XFRM_POLICY_TYPE_MAX = 2, - XFRM_POLICY_TYPE_ANY = 255, -}; - -enum { - ZONELIST_FALLBACK = 0, - MAX_ZONELISTS = 1, -}; - -enum { - _IRQ_DEFAULT_INIT_FLAGS = 3072, - _IRQ_PER_CPU = 512, - _IRQ_LEVEL = 256, - _IRQ_NOPROBE = 1024, - _IRQ_NOREQUEST = 2048, - _IRQ_NOTHREAD = 65536, - _IRQ_NOAUTOEN = 4096, - _IRQ_MOVE_PCNTXT = 16384, - _IRQ_NO_BALANCING = 8192, - _IRQ_NESTED_THREAD = 32768, - _IRQ_PER_CPU_DEVID = 131072, - _IRQ_IS_POLLED = 262144, - _IRQ_DISABLE_UNLAZY = 524288, - _IRQ_HIDDEN = 1048576, - _IRQ_NO_DEBUG = 2097152, - _IRQF_MODIFY_MASK = 2096911, -}; - -enum { - __ND_OPT_PREFIX_INFO_END = 0, - ND_OPT_SOURCE_LL_ADDR = 1, - ND_OPT_TARGET_LL_ADDR = 2, - ND_OPT_PREFIX_INFO = 3, - ND_OPT_REDIRECT_HDR = 4, - ND_OPT_MTU = 5, - ND_OPT_NONCE = 14, - __ND_OPT_ARRAY_MAX = 15, - ND_OPT_ROUTE_INFO = 24, - ND_OPT_RDNSS = 25, - ND_OPT_DNSSL = 31, - ND_OPT_6CO = 34, - ND_OPT_CAPTIVE_PORTAL = 37, - ND_OPT_PREF64 = 38, - __ND_OPT_MAX = 39, -}; - -enum { - __PERCPU_REF_ATOMIC = 1, - __PERCPU_REF_DEAD = 2, - __PERCPU_REF_ATOMIC_DEAD = 3, - __PERCPU_REF_FLAG_BITS = 2, -}; - -enum { - __SCHED_FEAT_PLACE_LAG = 0, - __SCHED_FEAT_PLACE_DEADLINE_INITIAL = 1, - __SCHED_FEAT_RUN_TO_PARITY = 2, - __SCHED_FEAT_NEXT_BUDDY = 3, - __SCHED_FEAT_CACHE_HOT_BUDDY = 4, - __SCHED_FEAT_WAKEUP_PREEMPTION = 5, - __SCHED_FEAT_HRTICK = 6, - __SCHED_FEAT_HRTICK_DL = 7, - __SCHED_FEAT_DOUBLE_TICK = 8, - __SCHED_FEAT_NONTASK_CAPACITY = 9, - __SCHED_FEAT_TTWU_QUEUE = 10, - __SCHED_FEAT_SIS_PROP = 11, - __SCHED_FEAT_SIS_UTIL = 12, - __SCHED_FEAT_WARN_DOUBLE_CLOCK = 13, - __SCHED_FEAT_RT_RUNTIME_SHARE = 14, - __SCHED_FEAT_LB_MIN = 15, - __SCHED_FEAT_ATTACH_AGE_LOAD = 16, - __SCHED_FEAT_WA_IDLE = 17, - __SCHED_FEAT_WA_WEIGHT = 18, - __SCHED_FEAT_WA_BIAS = 19, - __SCHED_FEAT_UTIL_EST = 20, - __SCHED_FEAT_UTIL_EST_FASTUP = 21, - __SCHED_FEAT_LATENCY_WARN = 22, - __SCHED_FEAT_HZ_BW = 23, - __SCHED_FEAT_NR = 24, -}; - -enum { - __SPECTRE_V2_METHOD_BPIALL = 0, - __SPECTRE_V2_METHOD_ICIALLU = 1, - __SPECTRE_V2_METHOD_SMC = 2, - __SPECTRE_V2_METHOD_HVC = 3, - __SPECTRE_V2_METHOD_LOOP8 = 4, -}; - -enum { - __ctx_convertBPF_PROG_TYPE_SOCKET_FILTER = 0, - __ctx_convertBPF_PROG_TYPE_SCHED_CLS = 1, - __ctx_convertBPF_PROG_TYPE_SCHED_ACT = 2, - __ctx_convertBPF_PROG_TYPE_XDP = 3, - __ctx_convertBPF_PROG_TYPE_LWT_IN = 4, - __ctx_convertBPF_PROG_TYPE_LWT_OUT = 5, - __ctx_convertBPF_PROG_TYPE_LWT_XMIT = 6, - __ctx_convertBPF_PROG_TYPE_LWT_SEG6LOCAL = 7, - __ctx_convertBPF_PROG_TYPE_SOCK_OPS = 8, - __ctx_convertBPF_PROG_TYPE_SK_SKB = 9, - __ctx_convertBPF_PROG_TYPE_SK_MSG = 10, - __ctx_convertBPF_PROG_TYPE_FLOW_DISSECTOR = 11, - __ctx_convertBPF_PROG_TYPE_SK_REUSEPORT = 12, - __ctx_convertBPF_PROG_TYPE_SK_LOOKUP = 13, - __ctx_convertBPF_PROG_TYPE_STRUCT_OPS = 14, - __ctx_convertBPF_PROG_TYPE_EXT = 15, - __ctx_convertBPF_PROG_TYPE_SYSCALL = 16, - __ctx_convertBPF_PROG_TYPE_NETFILTER = 17, - __ctx_convert_unused = 18, -}; - -enum { - false = 0, - true = 1, -}; - -typedef enum { - PAGE_KEEP = 0, - PAGE_ACTIVATE = 1, - PAGE_SUCCESS = 2, - PAGE_CLEAN = 3, -} pageout_t; - -typedef enum { - PHY_INTERFACE_MODE_NA = 0, - PHY_INTERFACE_MODE_INTERNAL = 1, - PHY_INTERFACE_MODE_MII = 2, - PHY_INTERFACE_MODE_GMII = 3, - PHY_INTERFACE_MODE_SGMII = 4, - PHY_INTERFACE_MODE_TBI = 5, - PHY_INTERFACE_MODE_REVMII = 6, - PHY_INTERFACE_MODE_RMII = 7, - PHY_INTERFACE_MODE_REVRMII = 8, - PHY_INTERFACE_MODE_RGMII = 9, - PHY_INTERFACE_MODE_RGMII_ID = 10, - PHY_INTERFACE_MODE_RGMII_RXID = 11, - PHY_INTERFACE_MODE_RGMII_TXID = 12, - PHY_INTERFACE_MODE_RTBI = 13, - PHY_INTERFACE_MODE_SMII = 14, - PHY_INTERFACE_MODE_XGMII = 15, - PHY_INTERFACE_MODE_XLGMII = 16, - PHY_INTERFACE_MODE_MOCA = 17, - PHY_INTERFACE_MODE_PSGMII = 18, - PHY_INTERFACE_MODE_QSGMII = 19, - PHY_INTERFACE_MODE_TRGMII = 20, - PHY_INTERFACE_MODE_100BASEX = 21, - PHY_INTERFACE_MODE_1000BASEX = 22, - PHY_INTERFACE_MODE_2500BASEX = 23, - PHY_INTERFACE_MODE_5GBASER = 24, - PHY_INTERFACE_MODE_RXAUI = 25, - PHY_INTERFACE_MODE_XAUI = 26, - PHY_INTERFACE_MODE_10GBASER = 27, - PHY_INTERFACE_MODE_25GBASER = 28, - PHY_INTERFACE_MODE_USXGMII = 29, - PHY_INTERFACE_MODE_10GKR = 30, - PHY_INTERFACE_MODE_QUSGMII = 31, - PHY_INTERFACE_MODE_1000BASEKX = 32, - PHY_INTERFACE_MODE_MAX = 33, -} phy_interface_t; - -typedef enum { - SS_FREE = 0, - SS_UNCONNECTED = 1, - SS_CONNECTING = 2, - SS_CONNECTED = 3, - SS_DISCONNECTING = 4, -} socket_state; - -enum KTHREAD_BITS { - KTHREAD_IS_PER_CPU = 0, - KTHREAD_SHOULD_STOP = 1, - KTHREAD_SHOULD_PARK = 2, -}; - -enum __sk_action { - __SK_DROP = 0, - __SK_PASS = 1, - __SK_REDIRECT = 2, - __SK_NONE = 3, -}; - -enum addr_type_t { - UNICAST_ADDR = 0, - MULTICAST_ADDR = 1, - ANYCAST_ADDR = 2, -}; - -enum alarmtimer_restart { - ALARMTIMER_NORESTART = 0, - ALARMTIMER_RESTART = 1, -}; - -enum alarmtimer_type { - ALARM_REALTIME = 0, - ALARM_BOOTTIME = 1, - ALARM_NUMTYPE = 2, - ALARM_REALTIME_FREEZER = 3, - ALARM_BOOTTIME_FREEZER = 4, -}; - -enum arm_regset { - REGSET_GPR = 0, - REGSET_FPR = 1, -}; - -enum armpmu_attr_groups { - ARMPMU_ATTR_GROUP_COMMON = 0, - ARMPMU_ATTR_GROUP_EVENTS = 1, - ARMPMU_ATTR_GROUP_FORMATS = 2, - ARMPMU_ATTR_GROUP_CAPS = 3, - ARMPMU_NR_ATTR_GROUPS = 4, -}; - -enum audit_ntp_type { - AUDIT_NTP_OFFSET = 0, - AUDIT_NTP_FREQ = 1, - AUDIT_NTP_STATUS = 2, - AUDIT_NTP_TAI = 3, - AUDIT_NTP_TICK = 4, - AUDIT_NTP_ADJUST = 5, - AUDIT_NTP_NVALS = 6, -}; - -enum batadv_packettype { - BATADV_IV_OGM = 0, - BATADV_BCAST = 1, - BATADV_CODED = 2, - BATADV_ELP = 3, - BATADV_OGM2 = 4, - BATADV_MCAST = 5, - BATADV_UNICAST = 64, - BATADV_UNICAST_FRAG = 65, - BATADV_UNICAST_4ADDR = 66, - BATADV_ICMP = 67, - BATADV_UNICAST_TVLV = 68, -}; - -enum behavior { - EXCLUSIVE = 0, - SHARED = 1, - DROP = 2, -}; - -enum blake2s_iv { - BLAKE2S_IV0 = 1779033703, - BLAKE2S_IV1 = 3144134277, - BLAKE2S_IV2 = 1013904242, - BLAKE2S_IV3 = 2773480762, - BLAKE2S_IV4 = 1359893119, - BLAKE2S_IV5 = 2600822924, - BLAKE2S_IV6 = 528734635, - BLAKE2S_IV7 = 1541459225, -}; - -enum blake2s_lengths { - BLAKE2S_BLOCK_SIZE = 64, - BLAKE2S_HASH_SIZE = 32, - BLAKE2S_KEY_SIZE = 32, - BLAKE2S_128_HASH_SIZE = 16, - BLAKE2S_160_HASH_SIZE = 20, - BLAKE2S_224_HASH_SIZE = 28, - BLAKE2S_256_HASH_SIZE = 32, -}; - -enum blk_bounce { - BLK_BOUNCE_NONE = 0, - BLK_BOUNCE_HIGH = 1, -}; - -enum blk_unique_id { - BLK_UID_T10 = 1, - BLK_UID_EUI64 = 2, - BLK_UID_NAA = 3, -}; - -enum blk_zoned_model { - BLK_ZONED_NONE = 0, - BLK_ZONED_HA = 1, - BLK_ZONED_HM = 2, -}; - -enum bpf_access_src { - ACCESS_DIRECT = 1, - ACCESS_HELPER = 2, -}; - -enum bpf_access_type { - BPF_READ = 1, - BPF_WRITE = 2, -}; - -enum bpf_adj_room_mode { - BPF_ADJ_ROOM_NET = 0, - BPF_ADJ_ROOM_MAC = 1, -}; - -enum bpf_arg_type { - ARG_DONTCARE = 0, - ARG_CONST_MAP_PTR = 1, - ARG_PTR_TO_MAP_KEY = 2, - ARG_PTR_TO_MAP_VALUE = 3, - ARG_PTR_TO_MEM = 4, - ARG_CONST_SIZE = 5, - ARG_CONST_SIZE_OR_ZERO = 6, - ARG_PTR_TO_CTX = 7, - ARG_ANYTHING = 8, - ARG_PTR_TO_SPIN_LOCK = 9, - ARG_PTR_TO_SOCK_COMMON = 10, - ARG_PTR_TO_INT = 11, - ARG_PTR_TO_LONG = 12, - ARG_PTR_TO_SOCKET = 13, - ARG_PTR_TO_BTF_ID = 14, - ARG_PTR_TO_RINGBUF_MEM = 15, - ARG_CONST_ALLOC_SIZE_OR_ZERO = 16, - ARG_PTR_TO_BTF_ID_SOCK_COMMON = 17, - ARG_PTR_TO_PERCPU_BTF_ID = 18, - ARG_PTR_TO_FUNC = 19, - ARG_PTR_TO_STACK = 20, - ARG_PTR_TO_CONST_STR = 21, - ARG_PTR_TO_TIMER = 22, - ARG_PTR_TO_KPTR = 23, - ARG_PTR_TO_DYNPTR = 24, - __BPF_ARG_TYPE_MAX = 25, - ARG_PTR_TO_MAP_VALUE_OR_NULL = 259, - ARG_PTR_TO_MEM_OR_NULL = 260, - ARG_PTR_TO_CTX_OR_NULL = 263, - ARG_PTR_TO_SOCKET_OR_NULL = 269, - ARG_PTR_TO_STACK_OR_NULL = 276, - ARG_PTR_TO_BTF_ID_OR_NULL = 270, - ARG_PTR_TO_UNINIT_MEM = 32772, - ARG_PTR_TO_FIXED_SIZE_MEM = 262148, - __BPF_ARG_TYPE_LIMIT = 33554431, -}; - -enum bpf_attach_type { - BPF_CGROUP_INET_INGRESS = 0, - BPF_CGROUP_INET_EGRESS = 1, - BPF_CGROUP_INET_SOCK_CREATE = 2, - BPF_CGROUP_SOCK_OPS = 3, - BPF_SK_SKB_STREAM_PARSER = 4, - BPF_SK_SKB_STREAM_VERDICT = 5, - BPF_CGROUP_DEVICE = 6, - BPF_SK_MSG_VERDICT = 7, - BPF_CGROUP_INET4_BIND = 8, - BPF_CGROUP_INET6_BIND = 9, - BPF_CGROUP_INET4_CONNECT = 10, - BPF_CGROUP_INET6_CONNECT = 11, - BPF_CGROUP_INET4_POST_BIND = 12, - BPF_CGROUP_INET6_POST_BIND = 13, - BPF_CGROUP_UDP4_SENDMSG = 14, - BPF_CGROUP_UDP6_SENDMSG = 15, - BPF_LIRC_MODE2 = 16, - BPF_FLOW_DISSECTOR = 17, - BPF_CGROUP_SYSCTL = 18, - BPF_CGROUP_UDP4_RECVMSG = 19, - BPF_CGROUP_UDP6_RECVMSG = 20, - BPF_CGROUP_GETSOCKOPT = 21, - BPF_CGROUP_SETSOCKOPT = 22, - BPF_TRACE_RAW_TP = 23, - BPF_TRACE_FENTRY = 24, - BPF_TRACE_FEXIT = 25, - BPF_MODIFY_RETURN = 26, - BPF_LSM_MAC = 27, - BPF_TRACE_ITER = 28, - BPF_CGROUP_INET4_GETPEERNAME = 29, - BPF_CGROUP_INET6_GETPEERNAME = 30, - BPF_CGROUP_INET4_GETSOCKNAME = 31, - BPF_CGROUP_INET6_GETSOCKNAME = 32, - BPF_XDP_DEVMAP = 33, - BPF_CGROUP_INET_SOCK_RELEASE = 34, - BPF_XDP_CPUMAP = 35, - BPF_SK_LOOKUP = 36, - BPF_XDP = 37, - BPF_SK_SKB_VERDICT = 38, - BPF_SK_REUSEPORT_SELECT = 39, - BPF_SK_REUSEPORT_SELECT_OR_MIGRATE = 40, - BPF_PERF_EVENT = 41, - BPF_TRACE_KPROBE_MULTI = 42, - BPF_LSM_CGROUP = 43, - BPF_STRUCT_OPS = 44, - BPF_NETFILTER = 45, - BPF_TCX_INGRESS = 46, - BPF_TCX_EGRESS = 47, - BPF_TRACE_UPROBE_MULTI = 48, - __MAX_BPF_ATTACH_TYPE = 49, -}; - -enum bpf_audit { - BPF_AUDIT_LOAD = 0, - BPF_AUDIT_UNLOAD = 1, - BPF_AUDIT_MAX = 2, -}; - -enum bpf_cgroup_iter_order { - BPF_CGROUP_ITER_ORDER_UNSPEC = 0, - BPF_CGROUP_ITER_SELF_ONLY = 1, - BPF_CGROUP_ITER_DESCENDANTS_PRE = 2, - BPF_CGROUP_ITER_DESCENDANTS_POST = 3, - BPF_CGROUP_ITER_ANCESTORS_UP = 4, -}; - -enum bpf_cgroup_storage_type { - BPF_CGROUP_STORAGE_SHARED = 0, - BPF_CGROUP_STORAGE_PERCPU = 1, - __BPF_CGROUP_STORAGE_MAX = 2, -}; - -enum bpf_check_mtu_flags { - BPF_MTU_CHK_SEGS = 1, -}; - -enum bpf_check_mtu_ret { - BPF_MTU_CHK_RET_SUCCESS = 0, - BPF_MTU_CHK_RET_FRAG_NEEDED = 1, - BPF_MTU_CHK_RET_SEGS_TOOBIG = 2, -}; - -enum bpf_cmd { - BPF_MAP_CREATE = 0, - BPF_MAP_LOOKUP_ELEM = 1, - BPF_MAP_UPDATE_ELEM = 2, - BPF_MAP_DELETE_ELEM = 3, - BPF_MAP_GET_NEXT_KEY = 4, - BPF_PROG_LOAD = 5, - BPF_OBJ_PIN = 6, - BPF_OBJ_GET = 7, - BPF_PROG_ATTACH = 8, - BPF_PROG_DETACH = 9, - BPF_PROG_TEST_RUN = 10, - BPF_PROG_RUN = 10, - BPF_PROG_GET_NEXT_ID = 11, - BPF_MAP_GET_NEXT_ID = 12, - BPF_PROG_GET_FD_BY_ID = 13, - BPF_MAP_GET_FD_BY_ID = 14, - BPF_OBJ_GET_INFO_BY_FD = 15, - BPF_PROG_QUERY = 16, - BPF_RAW_TRACEPOINT_OPEN = 17, - BPF_BTF_LOAD = 18, - BPF_BTF_GET_FD_BY_ID = 19, - BPF_TASK_FD_QUERY = 20, - BPF_MAP_LOOKUP_AND_DELETE_ELEM = 21, - BPF_MAP_FREEZE = 22, - BPF_BTF_GET_NEXT_ID = 23, - BPF_MAP_LOOKUP_BATCH = 24, - BPF_MAP_LOOKUP_AND_DELETE_BATCH = 25, - BPF_MAP_UPDATE_BATCH = 26, - BPF_MAP_DELETE_BATCH = 27, - BPF_LINK_CREATE = 28, - BPF_LINK_UPDATE = 29, - BPF_LINK_GET_FD_BY_ID = 30, - BPF_LINK_GET_NEXT_ID = 31, - BPF_ENABLE_STATS = 32, - BPF_ITER_CREATE = 33, - BPF_LINK_DETACH = 34, - BPF_PROG_BIND_MAP = 35, -}; - -enum bpf_core_relo_kind { - BPF_CORE_FIELD_BYTE_OFFSET = 0, - BPF_CORE_FIELD_BYTE_SIZE = 1, - BPF_CORE_FIELD_EXISTS = 2, - BPF_CORE_FIELD_SIGNED = 3, - BPF_CORE_FIELD_LSHIFT_U64 = 4, - BPF_CORE_FIELD_RSHIFT_U64 = 5, - BPF_CORE_TYPE_ID_LOCAL = 6, - BPF_CORE_TYPE_ID_TARGET = 7, - BPF_CORE_TYPE_EXISTS = 8, - BPF_CORE_TYPE_SIZE = 9, - BPF_CORE_ENUMVAL_EXISTS = 10, - BPF_CORE_ENUMVAL_VALUE = 11, - BPF_CORE_TYPE_MATCHES = 12, -}; - -enum bpf_dynptr_type { - BPF_DYNPTR_TYPE_INVALID = 0, - BPF_DYNPTR_TYPE_LOCAL = 1, - BPF_DYNPTR_TYPE_RINGBUF = 2, - BPF_DYNPTR_TYPE_SKB = 3, - BPF_DYNPTR_TYPE_XDP = 4, -}; - -enum bpf_func_id { - BPF_FUNC_unspec = 0, - BPF_FUNC_map_lookup_elem = 1, - BPF_FUNC_map_update_elem = 2, - BPF_FUNC_map_delete_elem = 3, - BPF_FUNC_probe_read = 4, - BPF_FUNC_ktime_get_ns = 5, - BPF_FUNC_trace_printk = 6, - BPF_FUNC_get_prandom_u32 = 7, - BPF_FUNC_get_smp_processor_id = 8, - BPF_FUNC_skb_store_bytes = 9, - BPF_FUNC_l3_csum_replace = 10, - BPF_FUNC_l4_csum_replace = 11, - BPF_FUNC_tail_call = 12, - BPF_FUNC_clone_redirect = 13, - BPF_FUNC_get_current_pid_tgid = 14, - BPF_FUNC_get_current_uid_gid = 15, - BPF_FUNC_get_current_comm = 16, - BPF_FUNC_get_cgroup_classid = 17, - BPF_FUNC_skb_vlan_push = 18, - BPF_FUNC_skb_vlan_pop = 19, - BPF_FUNC_skb_get_tunnel_key = 20, - BPF_FUNC_skb_set_tunnel_key = 21, - BPF_FUNC_perf_event_read = 22, - BPF_FUNC_redirect = 23, - BPF_FUNC_get_route_realm = 24, - BPF_FUNC_perf_event_output = 25, - BPF_FUNC_skb_load_bytes = 26, - BPF_FUNC_get_stackid = 27, - BPF_FUNC_csum_diff = 28, - BPF_FUNC_skb_get_tunnel_opt = 29, - BPF_FUNC_skb_set_tunnel_opt = 30, - BPF_FUNC_skb_change_proto = 31, - BPF_FUNC_skb_change_type = 32, - BPF_FUNC_skb_under_cgroup = 33, - BPF_FUNC_get_hash_recalc = 34, - BPF_FUNC_get_current_task = 35, - BPF_FUNC_probe_write_user = 36, - BPF_FUNC_current_task_under_cgroup = 37, - BPF_FUNC_skb_change_tail = 38, - BPF_FUNC_skb_pull_data = 39, - BPF_FUNC_csum_update = 40, - BPF_FUNC_set_hash_invalid = 41, - BPF_FUNC_get_numa_node_id = 42, - BPF_FUNC_skb_change_head = 43, - BPF_FUNC_xdp_adjust_head = 44, - BPF_FUNC_probe_read_str = 45, - BPF_FUNC_get_socket_cookie = 46, - BPF_FUNC_get_socket_uid = 47, - BPF_FUNC_set_hash = 48, - BPF_FUNC_setsockopt = 49, - BPF_FUNC_skb_adjust_room = 50, - BPF_FUNC_redirect_map = 51, - BPF_FUNC_sk_redirect_map = 52, - BPF_FUNC_sock_map_update = 53, - BPF_FUNC_xdp_adjust_meta = 54, - BPF_FUNC_perf_event_read_value = 55, - BPF_FUNC_perf_prog_read_value = 56, - BPF_FUNC_getsockopt = 57, - BPF_FUNC_override_return = 58, - BPF_FUNC_sock_ops_cb_flags_set = 59, - BPF_FUNC_msg_redirect_map = 60, - BPF_FUNC_msg_apply_bytes = 61, - BPF_FUNC_msg_cork_bytes = 62, - BPF_FUNC_msg_pull_data = 63, - BPF_FUNC_bind = 64, - BPF_FUNC_xdp_adjust_tail = 65, - BPF_FUNC_skb_get_xfrm_state = 66, - BPF_FUNC_get_stack = 67, - BPF_FUNC_skb_load_bytes_relative = 68, - BPF_FUNC_fib_lookup = 69, - BPF_FUNC_sock_hash_update = 70, - BPF_FUNC_msg_redirect_hash = 71, - BPF_FUNC_sk_redirect_hash = 72, - BPF_FUNC_lwt_push_encap = 73, - BPF_FUNC_lwt_seg6_store_bytes = 74, - BPF_FUNC_lwt_seg6_adjust_srh = 75, - BPF_FUNC_lwt_seg6_action = 76, - BPF_FUNC_rc_repeat = 77, - BPF_FUNC_rc_keydown = 78, - BPF_FUNC_skb_cgroup_id = 79, - BPF_FUNC_get_current_cgroup_id = 80, - BPF_FUNC_get_local_storage = 81, - BPF_FUNC_sk_select_reuseport = 82, - BPF_FUNC_skb_ancestor_cgroup_id = 83, - BPF_FUNC_sk_lookup_tcp = 84, - BPF_FUNC_sk_lookup_udp = 85, - BPF_FUNC_sk_release = 86, - BPF_FUNC_map_push_elem = 87, - BPF_FUNC_map_pop_elem = 88, - BPF_FUNC_map_peek_elem = 89, - BPF_FUNC_msg_push_data = 90, - BPF_FUNC_msg_pop_data = 91, - BPF_FUNC_rc_pointer_rel = 92, - BPF_FUNC_spin_lock = 93, - BPF_FUNC_spin_unlock = 94, - BPF_FUNC_sk_fullsock = 95, - BPF_FUNC_tcp_sock = 96, - BPF_FUNC_skb_ecn_set_ce = 97, - BPF_FUNC_get_listener_sock = 98, - BPF_FUNC_skc_lookup_tcp = 99, - BPF_FUNC_tcp_check_syncookie = 100, - BPF_FUNC_sysctl_get_name = 101, - BPF_FUNC_sysctl_get_current_value = 102, - BPF_FUNC_sysctl_get_new_value = 103, - BPF_FUNC_sysctl_set_new_value = 104, - BPF_FUNC_strtol = 105, - BPF_FUNC_strtoul = 106, - BPF_FUNC_sk_storage_get = 107, - BPF_FUNC_sk_storage_delete = 108, - BPF_FUNC_send_signal = 109, - BPF_FUNC_tcp_gen_syncookie = 110, - BPF_FUNC_skb_output = 111, - BPF_FUNC_probe_read_user = 112, - BPF_FUNC_probe_read_kernel = 113, - BPF_FUNC_probe_read_user_str = 114, - BPF_FUNC_probe_read_kernel_str = 115, - BPF_FUNC_tcp_send_ack = 116, - BPF_FUNC_send_signal_thread = 117, - BPF_FUNC_jiffies64 = 118, - BPF_FUNC_read_branch_records = 119, - BPF_FUNC_get_ns_current_pid_tgid = 120, - BPF_FUNC_xdp_output = 121, - BPF_FUNC_get_netns_cookie = 122, - BPF_FUNC_get_current_ancestor_cgroup_id = 123, - BPF_FUNC_sk_assign = 124, - BPF_FUNC_ktime_get_boot_ns = 125, - BPF_FUNC_seq_printf = 126, - BPF_FUNC_seq_write = 127, - BPF_FUNC_sk_cgroup_id = 128, - BPF_FUNC_sk_ancestor_cgroup_id = 129, - BPF_FUNC_ringbuf_output = 130, - BPF_FUNC_ringbuf_reserve = 131, - BPF_FUNC_ringbuf_submit = 132, - BPF_FUNC_ringbuf_discard = 133, - BPF_FUNC_ringbuf_query = 134, - BPF_FUNC_csum_level = 135, - BPF_FUNC_skc_to_tcp6_sock = 136, - BPF_FUNC_skc_to_tcp_sock = 137, - BPF_FUNC_skc_to_tcp_timewait_sock = 138, - BPF_FUNC_skc_to_tcp_request_sock = 139, - BPF_FUNC_skc_to_udp6_sock = 140, - BPF_FUNC_get_task_stack = 141, - BPF_FUNC_load_hdr_opt = 142, - BPF_FUNC_store_hdr_opt = 143, - BPF_FUNC_reserve_hdr_opt = 144, - BPF_FUNC_inode_storage_get = 145, - BPF_FUNC_inode_storage_delete = 146, - BPF_FUNC_d_path = 147, - BPF_FUNC_copy_from_user = 148, - BPF_FUNC_snprintf_btf = 149, - BPF_FUNC_seq_printf_btf = 150, - BPF_FUNC_skb_cgroup_classid = 151, - BPF_FUNC_redirect_neigh = 152, - BPF_FUNC_per_cpu_ptr = 153, - BPF_FUNC_this_cpu_ptr = 154, - BPF_FUNC_redirect_peer = 155, - BPF_FUNC_task_storage_get = 156, - BPF_FUNC_task_storage_delete = 157, - BPF_FUNC_get_current_task_btf = 158, - BPF_FUNC_bprm_opts_set = 159, - BPF_FUNC_ktime_get_coarse_ns = 160, - BPF_FUNC_ima_inode_hash = 161, - BPF_FUNC_sock_from_file = 162, - BPF_FUNC_check_mtu = 163, - BPF_FUNC_for_each_map_elem = 164, - BPF_FUNC_snprintf = 165, - BPF_FUNC_sys_bpf = 166, - BPF_FUNC_btf_find_by_name_kind = 167, - BPF_FUNC_sys_close = 168, - BPF_FUNC_timer_init = 169, - BPF_FUNC_timer_set_callback = 170, - BPF_FUNC_timer_start = 171, - BPF_FUNC_timer_cancel = 172, - BPF_FUNC_get_func_ip = 173, - BPF_FUNC_get_attach_cookie = 174, - BPF_FUNC_task_pt_regs = 175, - BPF_FUNC_get_branch_snapshot = 176, - BPF_FUNC_trace_vprintk = 177, - BPF_FUNC_skc_to_unix_sock = 178, - BPF_FUNC_kallsyms_lookup_name = 179, - BPF_FUNC_find_vma = 180, - BPF_FUNC_loop = 181, - BPF_FUNC_strncmp = 182, - BPF_FUNC_get_func_arg = 183, - BPF_FUNC_get_func_ret = 184, - BPF_FUNC_get_func_arg_cnt = 185, - BPF_FUNC_get_retval = 186, - BPF_FUNC_set_retval = 187, - BPF_FUNC_xdp_get_buff_len = 188, - BPF_FUNC_xdp_load_bytes = 189, - BPF_FUNC_xdp_store_bytes = 190, - BPF_FUNC_copy_from_user_task = 191, - BPF_FUNC_skb_set_tstamp = 192, - BPF_FUNC_ima_file_hash = 193, - BPF_FUNC_kptr_xchg = 194, - BPF_FUNC_map_lookup_percpu_elem = 195, - BPF_FUNC_skc_to_mptcp_sock = 196, - BPF_FUNC_dynptr_from_mem = 197, - BPF_FUNC_ringbuf_reserve_dynptr = 198, - BPF_FUNC_ringbuf_submit_dynptr = 199, - BPF_FUNC_ringbuf_discard_dynptr = 200, - BPF_FUNC_dynptr_read = 201, - BPF_FUNC_dynptr_write = 202, - BPF_FUNC_dynptr_data = 203, - BPF_FUNC_tcp_raw_gen_syncookie_ipv4 = 204, - BPF_FUNC_tcp_raw_gen_syncookie_ipv6 = 205, - BPF_FUNC_tcp_raw_check_syncookie_ipv4 = 206, - BPF_FUNC_tcp_raw_check_syncookie_ipv6 = 207, - BPF_FUNC_ktime_get_tai_ns = 208, - BPF_FUNC_user_ringbuf_drain = 209, - BPF_FUNC_cgrp_storage_get = 210, - BPF_FUNC_cgrp_storage_delete = 211, - __BPF_FUNC_MAX_ID = 212, -}; - -enum bpf_hdr_start_off { - BPF_HDR_START_MAC = 0, - BPF_HDR_START_NET = 1, -}; - -enum bpf_iter_feature { - BPF_ITER_RESCHED = 1, -}; - -enum bpf_iter_state { - BPF_ITER_STATE_INVALID = 0, - BPF_ITER_STATE_ACTIVE = 1, - BPF_ITER_STATE_DRAINED = 2, -}; - -enum bpf_iter_task_type { - BPF_TASK_ITER_ALL = 0, - BPF_TASK_ITER_TID = 1, - BPF_TASK_ITER_TGID = 2, -}; - -enum bpf_jit_poke_reason { - BPF_POKE_REASON_TAIL_CALL = 0, -}; - -enum bpf_link_type { - BPF_LINK_TYPE_UNSPEC = 0, - BPF_LINK_TYPE_RAW_TRACEPOINT = 1, - BPF_LINK_TYPE_TRACING = 2, - BPF_LINK_TYPE_CGROUP = 3, - BPF_LINK_TYPE_ITER = 4, - BPF_LINK_TYPE_NETNS = 5, - BPF_LINK_TYPE_XDP = 6, - BPF_LINK_TYPE_PERF_EVENT = 7, - BPF_LINK_TYPE_KPROBE_MULTI = 8, - BPF_LINK_TYPE_STRUCT_OPS = 9, - BPF_LINK_TYPE_NETFILTER = 10, - BPF_LINK_TYPE_TCX = 11, - BPF_LINK_TYPE_UPROBE_MULTI = 12, - MAX_BPF_LINK_TYPE = 13, -}; - -enum bpf_lru_list_type { - BPF_LRU_LIST_T_ACTIVE = 0, - BPF_LRU_LIST_T_INACTIVE = 1, - BPF_LRU_LIST_T_FREE = 2, - BPF_LRU_LOCAL_LIST_T_FREE = 3, - BPF_LRU_LOCAL_LIST_T_PENDING = 4, -}; - -enum bpf_map_type { - BPF_MAP_TYPE_UNSPEC = 0, - BPF_MAP_TYPE_HASH = 1, - BPF_MAP_TYPE_ARRAY = 2, - BPF_MAP_TYPE_PROG_ARRAY = 3, - BPF_MAP_TYPE_PERF_EVENT_ARRAY = 4, - BPF_MAP_TYPE_PERCPU_HASH = 5, - BPF_MAP_TYPE_PERCPU_ARRAY = 6, - BPF_MAP_TYPE_STACK_TRACE = 7, - BPF_MAP_TYPE_CGROUP_ARRAY = 8, - BPF_MAP_TYPE_LRU_HASH = 9, - BPF_MAP_TYPE_LRU_PERCPU_HASH = 10, - BPF_MAP_TYPE_LPM_TRIE = 11, - BPF_MAP_TYPE_ARRAY_OF_MAPS = 12, - BPF_MAP_TYPE_HASH_OF_MAPS = 13, - BPF_MAP_TYPE_DEVMAP = 14, - BPF_MAP_TYPE_SOCKMAP = 15, - BPF_MAP_TYPE_CPUMAP = 16, - BPF_MAP_TYPE_XSKMAP = 17, - BPF_MAP_TYPE_SOCKHASH = 18, - BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED = 19, - BPF_MAP_TYPE_CGROUP_STORAGE = 19, - BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 20, - BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 21, - BPF_MAP_TYPE_QUEUE = 22, - BPF_MAP_TYPE_STACK = 23, - BPF_MAP_TYPE_SK_STORAGE = 24, - BPF_MAP_TYPE_DEVMAP_HASH = 25, - BPF_MAP_TYPE_STRUCT_OPS = 26, - BPF_MAP_TYPE_RINGBUF = 27, - BPF_MAP_TYPE_INODE_STORAGE = 28, - BPF_MAP_TYPE_TASK_STORAGE = 29, - BPF_MAP_TYPE_BLOOM_FILTER = 30, - BPF_MAP_TYPE_USER_RINGBUF = 31, - BPF_MAP_TYPE_CGRP_STORAGE = 32, -}; - -enum bpf_netdev_command { - XDP_SETUP_PROG = 0, - XDP_SETUP_PROG_HW = 1, - BPF_OFFLOAD_MAP_ALLOC = 2, - BPF_OFFLOAD_MAP_FREE = 3, - XDP_SETUP_XSK_POOL = 4, -}; - -enum bpf_perf_event_type { - BPF_PERF_EVENT_UNSPEC = 0, - BPF_PERF_EVENT_UPROBE = 1, - BPF_PERF_EVENT_URETPROBE = 2, - BPF_PERF_EVENT_KPROBE = 3, - BPF_PERF_EVENT_KRETPROBE = 4, - BPF_PERF_EVENT_TRACEPOINT = 5, - BPF_PERF_EVENT_EVENT = 6, -}; - -enum bpf_prog_type { - BPF_PROG_TYPE_UNSPEC = 0, - BPF_PROG_TYPE_SOCKET_FILTER = 1, - BPF_PROG_TYPE_KPROBE = 2, - BPF_PROG_TYPE_SCHED_CLS = 3, - BPF_PROG_TYPE_SCHED_ACT = 4, - BPF_PROG_TYPE_TRACEPOINT = 5, - BPF_PROG_TYPE_XDP = 6, - BPF_PROG_TYPE_PERF_EVENT = 7, - BPF_PROG_TYPE_CGROUP_SKB = 8, - BPF_PROG_TYPE_CGROUP_SOCK = 9, - BPF_PROG_TYPE_LWT_IN = 10, - BPF_PROG_TYPE_LWT_OUT = 11, - BPF_PROG_TYPE_LWT_XMIT = 12, - BPF_PROG_TYPE_SOCK_OPS = 13, - BPF_PROG_TYPE_SK_SKB = 14, - BPF_PROG_TYPE_CGROUP_DEVICE = 15, - BPF_PROG_TYPE_SK_MSG = 16, - BPF_PROG_TYPE_RAW_TRACEPOINT = 17, - BPF_PROG_TYPE_CGROUP_SOCK_ADDR = 18, - BPF_PROG_TYPE_LWT_SEG6LOCAL = 19, - BPF_PROG_TYPE_LIRC_MODE2 = 20, - BPF_PROG_TYPE_SK_REUSEPORT = 21, - BPF_PROG_TYPE_FLOW_DISSECTOR = 22, - BPF_PROG_TYPE_CGROUP_SYSCTL = 23, - BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE = 24, - BPF_PROG_TYPE_CGROUP_SOCKOPT = 25, - BPF_PROG_TYPE_TRACING = 26, - BPF_PROG_TYPE_STRUCT_OPS = 27, - BPF_PROG_TYPE_EXT = 28, - BPF_PROG_TYPE_LSM = 29, - BPF_PROG_TYPE_SK_LOOKUP = 30, - BPF_PROG_TYPE_SYSCALL = 31, - BPF_PROG_TYPE_NETFILTER = 32, -}; - -enum bpf_reg_liveness { - REG_LIVE_NONE = 0, - REG_LIVE_READ32 = 1, - REG_LIVE_READ64 = 2, - REG_LIVE_READ = 3, - REG_LIVE_WRITTEN = 4, - REG_LIVE_DONE = 8, -}; - -enum bpf_reg_type { - NOT_INIT = 0, - SCALAR_VALUE = 1, - PTR_TO_CTX = 2, - CONST_PTR_TO_MAP = 3, - PTR_TO_MAP_VALUE = 4, - PTR_TO_MAP_KEY = 5, - PTR_TO_STACK = 6, - PTR_TO_PACKET_META = 7, - PTR_TO_PACKET = 8, - PTR_TO_PACKET_END = 9, - PTR_TO_FLOW_KEYS = 10, - PTR_TO_SOCKET = 11, - PTR_TO_SOCK_COMMON = 12, - PTR_TO_TCP_SOCK = 13, - PTR_TO_TP_BUFFER = 14, - PTR_TO_XDP_SOCK = 15, - PTR_TO_BTF_ID = 16, - PTR_TO_MEM = 17, - PTR_TO_BUF = 18, - PTR_TO_FUNC = 19, - CONST_PTR_TO_DYNPTR = 20, - __BPF_REG_TYPE_MAX = 21, - PTR_TO_MAP_VALUE_OR_NULL = 260, - PTR_TO_SOCKET_OR_NULL = 267, - PTR_TO_SOCK_COMMON_OR_NULL = 268, - PTR_TO_TCP_SOCK_OR_NULL = 269, - PTR_TO_BTF_ID_OR_NULL = 272, - __BPF_REG_TYPE_LIMIT = 33554431, -}; - -enum bpf_ret_code { - BPF_OK = 0, - BPF_DROP = 2, - BPF_REDIRECT = 7, - BPF_LWT_REROUTE = 128, - BPF_FLOW_DISSECTOR_CONTINUE = 129, -}; - -enum bpf_return_type { - RET_INTEGER = 0, - RET_VOID = 1, - RET_PTR_TO_MAP_VALUE = 2, - RET_PTR_TO_SOCKET = 3, - RET_PTR_TO_TCP_SOCK = 4, - RET_PTR_TO_SOCK_COMMON = 5, - RET_PTR_TO_MEM = 6, - RET_PTR_TO_MEM_OR_BTF_ID = 7, - RET_PTR_TO_BTF_ID = 8, - __BPF_RET_TYPE_MAX = 9, - RET_PTR_TO_MAP_VALUE_OR_NULL = 258, - RET_PTR_TO_SOCKET_OR_NULL = 259, - RET_PTR_TO_TCP_SOCK_OR_NULL = 260, - RET_PTR_TO_SOCK_COMMON_OR_NULL = 261, - RET_PTR_TO_RINGBUF_MEM_OR_NULL = 1286, - RET_PTR_TO_DYNPTR_MEM_OR_NULL = 262, - RET_PTR_TO_BTF_ID_OR_NULL = 264, - RET_PTR_TO_BTF_ID_TRUSTED = 1048584, - __BPF_RET_TYPE_LIMIT = 33554431, -}; - -enum bpf_stack_build_id_status { - BPF_STACK_BUILD_ID_EMPTY = 0, - BPF_STACK_BUILD_ID_VALID = 1, - BPF_STACK_BUILD_ID_IP = 2, -}; - -enum bpf_stack_slot_type { - STACK_INVALID = 0, - STACK_SPILL = 1, - STACK_MISC = 2, - STACK_ZERO = 3, - STACK_DYNPTR = 4, - STACK_ITER = 5, -}; - -enum bpf_stats_type { - BPF_STATS_RUN_TIME = 0, -}; - -enum bpf_struct_ops_state { - BPF_STRUCT_OPS_STATE_INIT = 0, - BPF_STRUCT_OPS_STATE_INUSE = 1, - BPF_STRUCT_OPS_STATE_TOBEFREE = 2, - BPF_STRUCT_OPS_STATE_READY = 3, -}; - -enum bpf_struct_walk_result { - WALK_SCALAR = 0, - WALK_PTR = 1, - WALK_STRUCT = 2, -}; - -enum bpf_task_fd_type { - BPF_FD_TYPE_RAW_TRACEPOINT = 0, - BPF_FD_TYPE_TRACEPOINT = 1, - BPF_FD_TYPE_KPROBE = 2, - BPF_FD_TYPE_KRETPROBE = 3, - BPF_FD_TYPE_UPROBE = 4, - BPF_FD_TYPE_URETPROBE = 5, -}; - -enum bpf_task_vma_iter_find_op { - task_vma_iter_first_vma = 0, - task_vma_iter_next_vma = 1, - task_vma_iter_find_vma = 2, -}; - -enum bpf_text_poke_type { - BPF_MOD_CALL = 0, - BPF_MOD_JUMP = 1, -}; - -enum bpf_tramp_prog_type { - BPF_TRAMP_FENTRY = 0, - BPF_TRAMP_FEXIT = 1, - BPF_TRAMP_MODIFY_RETURN = 2, - BPF_TRAMP_MAX = 3, - BPF_TRAMP_REPLACE = 4, -}; - -enum bpf_type { - BPF_TYPE_UNSPEC = 0, - BPF_TYPE_PROG = 1, - BPF_TYPE_MAP = 2, - BPF_TYPE_LINK = 3, -}; - -enum bpf_type_flag { - PTR_MAYBE_NULL = 256, - MEM_RDONLY = 512, - MEM_RINGBUF = 1024, - MEM_USER = 2048, - MEM_PERCPU = 4096, - OBJ_RELEASE = 8192, - PTR_UNTRUSTED = 16384, - MEM_UNINIT = 32768, - DYNPTR_TYPE_LOCAL = 65536, - DYNPTR_TYPE_RINGBUF = 131072, - MEM_FIXED_SIZE = 262144, - MEM_ALLOC = 524288, - PTR_TRUSTED = 1048576, - MEM_RCU = 2097152, - NON_OWN_REF = 4194304, - DYNPTR_TYPE_SKB = 8388608, - DYNPTR_TYPE_XDP = 16777216, - __BPF_TYPE_FLAG_MAX = 16777217, - __BPF_TYPE_LAST_FLAG = 16777216, -}; - -enum bpf_xdp_mode { - XDP_MODE_SKB = 0, - XDP_MODE_DRV = 1, - XDP_MODE_HW = 2, - __MAX_XDP_MODE = 3, -}; - -enum btf_field_type { - BPF_SPIN_LOCK = 1, - BPF_TIMER = 2, - BPF_KPTR_UNREF = 4, - BPF_KPTR_REF = 8, - BPF_KPTR = 12, - BPF_LIST_HEAD = 16, - BPF_LIST_NODE = 32, - BPF_RB_ROOT = 64, - BPF_RB_NODE = 128, - BPF_GRAPH_NODE_OR_ROOT = 240, - BPF_REFCOUNT = 256, -}; - -enum btf_func_linkage { - BTF_FUNC_STATIC = 0, - BTF_FUNC_GLOBAL = 1, - BTF_FUNC_EXTERN = 2, -}; - -enum btf_kfunc_hook { - BTF_KFUNC_HOOK_COMMON = 0, - BTF_KFUNC_HOOK_XDP = 1, - BTF_KFUNC_HOOK_TC = 2, - BTF_KFUNC_HOOK_STRUCT_OPS = 3, - BTF_KFUNC_HOOK_TRACING = 4, - BTF_KFUNC_HOOK_SYSCALL = 5, - BTF_KFUNC_HOOK_FMODRET = 6, - BTF_KFUNC_HOOK_CGROUP_SKB = 7, - BTF_KFUNC_HOOK_SCHED_ACT = 8, - BTF_KFUNC_HOOK_SK_SKB = 9, - BTF_KFUNC_HOOK_SOCKET_FILTER = 10, - BTF_KFUNC_HOOK_LWT = 11, - BTF_KFUNC_HOOK_NETFILTER = 12, - BTF_KFUNC_HOOK_MAX = 13, -}; - -enum bug_trap_type { - BUG_TRAP_TYPE_NONE = 0, - BUG_TRAP_TYPE_WARN = 1, - BUG_TRAP_TYPE_BUG = 2, -}; - -enum bus_notifier_event { - BUS_NOTIFY_ADD_DEVICE = 0, - BUS_NOTIFY_DEL_DEVICE = 1, - BUS_NOTIFY_REMOVED_DEVICE = 2, - BUS_NOTIFY_BIND_DRIVER = 3, - BUS_NOTIFY_BOUND_DRIVER = 4, - BUS_NOTIFY_UNBIND_DRIVER = 5, - BUS_NOTIFY_UNBOUND_DRIVER = 6, - BUS_NOTIFY_DRIVER_NOT_BOUND = 7, -}; - -enum cache_type { - CACHE_TYPE_NOCACHE = 0, - CACHE_TYPE_INST = 1, - CACHE_TYPE_DATA = 2, - CACHE_TYPE_SEPARATE = 3, - CACHE_TYPE_UNIFIED = 4, -}; - -enum chacha_constants { - CHACHA_CONSTANT_EXPA = 1634760805, - CHACHA_CONSTANT_ND_3 = 857760878, - CHACHA_CONSTANT_2_BY = 2036477234, - CHACHA_CONSTANT_TE_K = 1797285236, -}; - -enum cleanup_prefix_rt_t { - CLEANUP_PREFIX_RT_NOP = 0, - CLEANUP_PREFIX_RT_DEL = 1, - CLEANUP_PREFIX_RT_EXPIRE = 2, -}; - -enum clock_event_state { - CLOCK_EVT_STATE_DETACHED = 0, - CLOCK_EVT_STATE_SHUTDOWN = 1, - CLOCK_EVT_STATE_PERIODIC = 2, - CLOCK_EVT_STATE_ONESHOT = 3, - CLOCK_EVT_STATE_ONESHOT_STOPPED = 4, -}; - -enum clocksource_ids { - CSID_GENERIC = 0, - CSID_ARM_ARCH_COUNTER = 1, - CSID_MAX = 2, -}; - -enum compact_priority { - COMPACT_PRIO_SYNC_FULL = 0, - MIN_COMPACT_PRIORITY = 0, - COMPACT_PRIO_SYNC_LIGHT = 1, - MIN_COMPACT_COSTLY_PRIORITY = 1, - DEF_COMPACT_PRIORITY = 1, - COMPACT_PRIO_ASYNC = 2, - INIT_COMPACT_PRIORITY = 2, -}; - -enum compact_result { - COMPACT_NOT_SUITABLE_ZONE = 0, - COMPACT_SKIPPED = 1, - COMPACT_DEFERRED = 2, - COMPACT_NO_SUITABLE_PAGE = 3, - COMPACT_CONTINUE = 4, - COMPACT_COMPLETE = 5, - COMPACT_PARTIAL_SKIPPED = 6, - COMPACT_CONTENDED = 7, - COMPACT_SUCCESS = 8, -}; - -enum con_flush_mode { - CONSOLE_FLUSH_PENDING = 0, - CONSOLE_REPLAY_ALL = 1, -}; - -enum con_msg_format_flags { - MSG_FORMAT_DEFAULT = 0, - MSG_FORMAT_SYSLOG = 1, -}; - -enum cons_flags { - CON_PRINTBUFFER = 1, - CON_CONSDEV = 2, - CON_ENABLED = 4, - CON_BOOT = 8, - CON_ANYTIME = 16, - CON_BRL = 32, - CON_EXTENDED = 64, - CON_SUSPENDED = 128, -}; - -enum cpio_fields { - C_MAGIC = 0, - C_INO = 1, - C_MODE = 2, - C_UID = 3, - C_GID = 4, - C_NLINK = 5, - C_MTIME = 6, - C_FILESIZE = 7, - C_MAJ = 8, - C_MIN = 9, - C_RMAJ = 10, - C_RMIN = 11, - C_NAMESIZE = 12, - C_CHKSUM = 13, - C_NFIELDS = 14, -}; - -enum cpu_led_event { - CPU_LED_IDLE_START = 0, - CPU_LED_IDLE_END = 1, - CPU_LED_START = 2, - CPU_LED_STOP = 3, - CPU_LED_HALTED = 4, -}; - -enum cpu_mitigations { - CPU_MITIGATIONS_OFF = 0, - CPU_MITIGATIONS_AUTO = 1, - CPU_MITIGATIONS_AUTO_NOSMT = 2, -}; - -enum cpu_usage_stat { - CPUTIME_USER = 0, - CPUTIME_NICE = 1, - CPUTIME_SYSTEM = 2, - CPUTIME_SOFTIRQ = 3, - CPUTIME_IRQ = 4, - CPUTIME_IDLE = 5, - CPUTIME_IOWAIT = 6, - CPUTIME_STEAL = 7, - CPUTIME_GUEST = 8, - CPUTIME_GUEST_NICE = 9, - NR_STATS = 10, -}; - -enum cpuhp_state { - CPUHP_INVALID = -1, - CPUHP_OFFLINE = 0, - CPUHP_CREATE_THREADS = 1, - CPUHP_PERF_PREPARE = 2, - CPUHP_PERF_X86_PREPARE = 3, - CPUHP_PERF_X86_AMD_UNCORE_PREP = 4, - CPUHP_PERF_POWER = 5, - CPUHP_PERF_SUPERH = 6, - CPUHP_X86_HPET_DEAD = 7, - CPUHP_X86_APB_DEAD = 8, - CPUHP_X86_MCE_DEAD = 9, - CPUHP_VIRT_NET_DEAD = 10, - CPUHP_IBMVNIC_DEAD = 11, - CPUHP_SLUB_DEAD = 12, - CPUHP_DEBUG_OBJ_DEAD = 13, - CPUHP_MM_WRITEBACK_DEAD = 14, - CPUHP_MM_DEMOTION_DEAD = 15, - CPUHP_MM_VMSTAT_DEAD = 16, - CPUHP_SOFTIRQ_DEAD = 17, - CPUHP_NET_MVNETA_DEAD = 18, - CPUHP_CPUIDLE_DEAD = 19, - CPUHP_ARM64_FPSIMD_DEAD = 20, - CPUHP_ARM_OMAP_WAKE_DEAD = 21, - CPUHP_IRQ_POLL_DEAD = 22, - CPUHP_BLOCK_SOFTIRQ_DEAD = 23, - CPUHP_BIO_DEAD = 24, - CPUHP_ACPI_CPUDRV_DEAD = 25, - CPUHP_S390_PFAULT_DEAD = 26, - CPUHP_BLK_MQ_DEAD = 27, - CPUHP_FS_BUFF_DEAD = 28, - CPUHP_PRINTK_DEAD = 29, - CPUHP_MM_MEMCQ_DEAD = 30, - CPUHP_PERCPU_CNT_DEAD = 31, - CPUHP_RADIX_DEAD = 32, - CPUHP_PAGE_ALLOC = 33, - CPUHP_NET_DEV_DEAD = 34, - CPUHP_PCI_XGENE_DEAD = 35, - CPUHP_IOMMU_IOVA_DEAD = 36, - CPUHP_LUSTRE_CFS_DEAD = 37, - CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 38, - CPUHP_PADATA_DEAD = 39, - CPUHP_AP_DTPM_CPU_DEAD = 40, - CPUHP_RANDOM_PREPARE = 41, - CPUHP_WORKQUEUE_PREP = 42, - CPUHP_POWER_NUMA_PREPARE = 43, - CPUHP_HRTIMERS_PREPARE = 44, - CPUHP_PROFILE_PREPARE = 45, - CPUHP_X2APIC_PREPARE = 46, - CPUHP_SMPCFD_PREPARE = 47, - CPUHP_RELAY_PREPARE = 48, - CPUHP_SLAB_PREPARE = 49, - CPUHP_MD_RAID5_PREPARE = 50, - CPUHP_RCUTREE_PREP = 51, - CPUHP_CPUIDLE_COUPLED_PREPARE = 52, - CPUHP_POWERPC_PMAC_PREPARE = 53, - CPUHP_POWERPC_MMU_CTX_PREPARE = 54, - CPUHP_XEN_PREPARE = 55, - CPUHP_XEN_EVTCHN_PREPARE = 56, - CPUHP_ARM_SHMOBILE_SCU_PREPARE = 57, - CPUHP_SH_SH3X_PREPARE = 58, - CPUHP_NET_FLOW_PREPARE = 59, - CPUHP_TOPOLOGY_PREPARE = 60, - CPUHP_NET_IUCV_PREPARE = 61, - CPUHP_ARM_BL_PREPARE = 62, - CPUHP_TRACE_RB_PREPARE = 63, - CPUHP_MM_ZS_PREPARE = 64, - CPUHP_MM_ZSWP_MEM_PREPARE = 65, - CPUHP_MM_ZSWP_POOL_PREPARE = 66, - CPUHP_KVM_PPC_BOOK3S_PREPARE = 67, - CPUHP_ZCOMP_PREPARE = 68, - CPUHP_TIMERS_PREPARE = 69, - CPUHP_MIPS_SOC_PREPARE = 70, - CPUHP_BP_PREPARE_DYN = 71, - CPUHP_BP_PREPARE_DYN_END = 91, - CPUHP_BP_KICK_AP = 92, - CPUHP_BRINGUP_CPU = 93, - CPUHP_AP_IDLE_DEAD = 94, - CPUHP_AP_OFFLINE = 95, - CPUHP_AP_CACHECTRL_STARTING = 96, - CPUHP_AP_SCHED_STARTING = 97, - CPUHP_AP_RCUTREE_DYING = 98, - CPUHP_AP_CPU_PM_STARTING = 99, - CPUHP_AP_IRQ_GIC_STARTING = 100, - CPUHP_AP_IRQ_HIP04_STARTING = 101, - CPUHP_AP_IRQ_APPLE_AIC_STARTING = 102, - CPUHP_AP_IRQ_ARMADA_XP_STARTING = 103, - CPUHP_AP_IRQ_BCM2836_STARTING = 104, - CPUHP_AP_IRQ_MIPS_GIC_STARTING = 105, - CPUHP_AP_IRQ_RISCV_STARTING = 106, - CPUHP_AP_IRQ_LOONGARCH_STARTING = 107, - CPUHP_AP_IRQ_SIFIVE_PLIC_STARTING = 108, - CPUHP_AP_ARM_MVEBU_COHERENCY = 109, - CPUHP_AP_MICROCODE_LOADER = 110, - CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 111, - CPUHP_AP_PERF_X86_STARTING = 112, - CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 113, - CPUHP_AP_PERF_X86_CQM_STARTING = 114, - CPUHP_AP_PERF_X86_CSTATE_STARTING = 115, - CPUHP_AP_PERF_XTENSA_STARTING = 116, - CPUHP_AP_MIPS_OP_LOONGSON3_STARTING = 117, - CPUHP_AP_ARM_VFP_STARTING = 118, - CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 119, - CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 120, - CPUHP_AP_PERF_ARM_ACPI_STARTING = 121, - CPUHP_AP_PERF_ARM_STARTING = 122, - CPUHP_AP_PERF_RISCV_STARTING = 123, - CPUHP_AP_ARM_L2X0_STARTING = 124, - CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 125, - CPUHP_AP_ARM_ARCH_TIMER_STARTING = 126, - CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 127, - CPUHP_AP_JCORE_TIMER_STARTING = 128, - CPUHP_AP_ARM_TWD_STARTING = 129, - CPUHP_AP_QCOM_TIMER_STARTING = 130, - CPUHP_AP_TEGRA_TIMER_STARTING = 131, - CPUHP_AP_ARMADA_TIMER_STARTING = 132, - CPUHP_AP_MARCO_TIMER_STARTING = 133, - CPUHP_AP_MIPS_GIC_TIMER_STARTING = 134, - CPUHP_AP_ARC_TIMER_STARTING = 135, - CPUHP_AP_RISCV_TIMER_STARTING = 136, - CPUHP_AP_CLINT_TIMER_STARTING = 137, - CPUHP_AP_CSKY_TIMER_STARTING = 138, - CPUHP_AP_TI_GP_TIMER_STARTING = 139, - CPUHP_AP_HYPERV_TIMER_STARTING = 140, - CPUHP_AP_DUMMY_TIMER_STARTING = 141, - CPUHP_AP_ARM_XEN_STARTING = 142, - CPUHP_AP_ARM_CORESIGHT_STARTING = 143, - CPUHP_AP_ARM_CORESIGHT_CTI_STARTING = 144, - CPUHP_AP_ARM64_ISNDEP_STARTING = 145, - CPUHP_AP_SMPCFD_DYING = 146, - CPUHP_AP_X86_TBOOT_DYING = 147, - CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 148, - CPUHP_AP_ONLINE = 149, - CPUHP_TEARDOWN_CPU = 150, - CPUHP_AP_ONLINE_IDLE = 151, - CPUHP_AP_HYPERV_ONLINE = 152, - CPUHP_AP_KVM_ONLINE = 153, - CPUHP_AP_SCHED_WAIT_EMPTY = 154, - CPUHP_AP_SMPBOOT_THREADS = 155, - CPUHP_AP_X86_VDSO_VMA_ONLINE = 156, - CPUHP_AP_IRQ_AFFINITY_ONLINE = 157, - CPUHP_AP_BLK_MQ_ONLINE = 158, - CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 159, - CPUHP_AP_X86_INTEL_EPB_ONLINE = 160, - CPUHP_AP_PERF_ONLINE = 161, - CPUHP_AP_PERF_X86_ONLINE = 162, - CPUHP_AP_PERF_X86_UNCORE_ONLINE = 163, - CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 164, - CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 165, - CPUHP_AP_PERF_X86_RAPL_ONLINE = 166, - CPUHP_AP_PERF_X86_CQM_ONLINE = 167, - CPUHP_AP_PERF_X86_CSTATE_ONLINE = 168, - CPUHP_AP_PERF_X86_IDXD_ONLINE = 169, - CPUHP_AP_PERF_S390_CF_ONLINE = 170, - CPUHP_AP_PERF_S390_SF_ONLINE = 171, - CPUHP_AP_PERF_ARM_CCI_ONLINE = 172, - CPUHP_AP_PERF_ARM_CCN_ONLINE = 173, - CPUHP_AP_PERF_ARM_HISI_CPA_ONLINE = 174, - CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 175, - CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 176, - CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 177, - CPUHP_AP_PERF_ARM_HISI_PA_ONLINE = 178, - CPUHP_AP_PERF_ARM_HISI_SLLC_ONLINE = 179, - CPUHP_AP_PERF_ARM_HISI_PCIE_PMU_ONLINE = 180, - CPUHP_AP_PERF_ARM_HNS3_PMU_ONLINE = 181, - CPUHP_AP_PERF_ARM_L2X0_ONLINE = 182, - CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 183, - CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 184, - CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 185, - CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 186, - CPUHP_AP_PERF_ARM_MARVELL_CN10K_DDR_ONLINE = 187, - CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 188, - CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 189, - CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 190, - CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 191, - CPUHP_AP_PERF_POWERPC_HV_24x7_ONLINE = 192, - CPUHP_AP_PERF_POWERPC_HV_GPCI_ONLINE = 193, - CPUHP_AP_PERF_CSKY_ONLINE = 194, - CPUHP_AP_WATCHDOG_ONLINE = 195, - CPUHP_AP_WORKQUEUE_ONLINE = 196, - CPUHP_AP_RANDOM_ONLINE = 197, - CPUHP_AP_RCUTREE_ONLINE = 198, - CPUHP_AP_BASE_CACHEINFO_ONLINE = 199, - CPUHP_AP_ONLINE_DYN = 200, - CPUHP_AP_ONLINE_DYN_END = 230, - CPUHP_AP_MM_DEMOTION_ONLINE = 231, - CPUHP_AP_X86_HPET_ONLINE = 232, - CPUHP_AP_X86_KVM_CLK_ONLINE = 233, - CPUHP_AP_ACTIVE = 234, - CPUHP_ONLINE = 235, -}; - -enum ctx_state { - CONTEXT_DISABLED = -1, - CONTEXT_KERNEL = 0, - CONTEXT_IDLE = 1, - CONTEXT_USER = 2, - CONTEXT_GUEST = 3, - CONTEXT_MAX = 4, -}; - -enum d_walk_ret { - D_WALK_CONTINUE = 0, - D_WALK_QUIT = 1, - D_WALK_NORETRY = 2, - D_WALK_SKIP = 3, -}; - -enum dccp_state { - DCCP_OPEN = 1, - DCCP_REQUESTING = 2, - DCCP_LISTEN = 10, - DCCP_RESPOND = 3, - DCCP_ACTIVE_CLOSEREQ = 4, - DCCP_PASSIVE_CLOSE = 8, - DCCP_CLOSING = 11, - DCCP_TIME_WAIT = 6, - DCCP_CLOSED = 7, - DCCP_NEW_SYN_RECV = 12, - DCCP_PARTOPEN = 13, - DCCP_PASSIVE_CLOSEREQ = 14, - DCCP_MAX_STATES = 15, -}; - -enum dentry_d_lock_class { - DENTRY_D_LOCK_NORMAL = 0, - DENTRY_D_LOCK_NESTED = 1, -}; - -enum dev_dma_attr { - DEV_DMA_NOT_SUPPORTED = 0, - DEV_DMA_NON_COHERENT = 1, - DEV_DMA_COHERENT = 2, -}; - -enum dev_pm_qos_req_type { - DEV_PM_QOS_RESUME_LATENCY = 1, - DEV_PM_QOS_LATENCY_TOLERANCE = 2, - DEV_PM_QOS_MIN_FREQUENCY = 3, - DEV_PM_QOS_MAX_FREQUENCY = 4, - DEV_PM_QOS_FLAGS = 5, -}; - -enum dev_prop_type { - DEV_PROP_U8 = 0, - DEV_PROP_U16 = 1, - DEV_PROP_U32 = 2, - DEV_PROP_U64 = 3, - DEV_PROP_STRING = 4, - DEV_PROP_REF = 5, -}; - -enum device_link_state { - DL_STATE_NONE = -1, - DL_STATE_DORMANT = 0, - DL_STATE_AVAILABLE = 1, - DL_STATE_CONSUMER_PROBE = 2, - DL_STATE_ACTIVE = 3, - DL_STATE_SUPPLIER_UNBIND = 4, -}; - -enum device_physical_location_horizontal_position { - DEVICE_HORI_POS_LEFT = 0, - DEVICE_HORI_POS_CENTER = 1, - DEVICE_HORI_POS_RIGHT = 2, -}; - -enum device_physical_location_panel { - DEVICE_PANEL_TOP = 0, - DEVICE_PANEL_BOTTOM = 1, - DEVICE_PANEL_LEFT = 2, - DEVICE_PANEL_RIGHT = 3, - DEVICE_PANEL_FRONT = 4, - DEVICE_PANEL_BACK = 5, - DEVICE_PANEL_UNKNOWN = 6, -}; - -enum device_physical_location_vertical_position { - DEVICE_VERT_POS_UPPER = 0, - DEVICE_VERT_POS_CENTER = 1, - DEVICE_VERT_POS_LOWER = 2, -}; - -enum device_removable { - DEVICE_REMOVABLE_NOT_SUPPORTED = 0, - DEVICE_REMOVABLE_UNKNOWN = 1, - DEVICE_FIXED = 2, - DEVICE_REMOVABLE = 3, -}; - -enum devkmsg_log_bits { - __DEVKMSG_LOG_BIT_ON = 0, - __DEVKMSG_LOG_BIT_OFF = 1, - __DEVKMSG_LOG_BIT_LOCK = 2, -}; - -enum devkmsg_log_masks { - DEVKMSG_LOG_MASK_ON = 1, - DEVKMSG_LOG_MASK_OFF = 2, - DEVKMSG_LOG_MASK_LOCK = 4, -}; - -enum devlink_port_flavour { - DEVLINK_PORT_FLAVOUR_PHYSICAL = 0, - DEVLINK_PORT_FLAVOUR_CPU = 1, - DEVLINK_PORT_FLAVOUR_DSA = 2, - DEVLINK_PORT_FLAVOUR_PCI_PF = 3, - DEVLINK_PORT_FLAVOUR_PCI_VF = 4, - DEVLINK_PORT_FLAVOUR_VIRTUAL = 5, - DEVLINK_PORT_FLAVOUR_UNUSED = 6, - DEVLINK_PORT_FLAVOUR_PCI_SF = 7, -}; - -enum devlink_port_fn_opstate { - DEVLINK_PORT_FN_OPSTATE_DETACHED = 0, - DEVLINK_PORT_FN_OPSTATE_ATTACHED = 1, -}; - -enum devlink_port_fn_state { - DEVLINK_PORT_FN_STATE_INACTIVE = 0, - DEVLINK_PORT_FN_STATE_ACTIVE = 1, -}; - -enum devlink_port_type { - DEVLINK_PORT_TYPE_NOTSET = 0, - DEVLINK_PORT_TYPE_AUTO = 1, - DEVLINK_PORT_TYPE_ETH = 2, - DEVLINK_PORT_TYPE_IB = 3, -}; - -enum devlink_rate_type { - DEVLINK_RATE_TYPE_LEAF = 0, - DEVLINK_RATE_TYPE_NODE = 1, -}; - -enum devm_ioremap_type { - DEVM_IOREMAP = 0, - DEVM_IOREMAP_UC = 1, - DEVM_IOREMAP_WC = 2, - DEVM_IOREMAP_NP = 3, -}; - -enum die_val { - DIE_UNUSED = 0, - DIE_OOPS = 1, -}; - -enum dl_dev_state { - DL_DEV_NO_DRIVER = 0, - DL_DEV_PROBING = 1, - DL_DEV_DRIVER_BOUND = 2, - DL_DEV_UNBINDING = 3, -}; - -enum dma_data_direction { - DMA_BIDIRECTIONAL = 0, - DMA_TO_DEVICE = 1, - DMA_FROM_DEVICE = 2, - DMA_NONE = 3, -}; - -enum dma_transaction_type { - DMA_MEMCPY = 0, - DMA_XOR = 1, - DMA_PQ = 2, - DMA_XOR_VAL = 3, - DMA_PQ_VAL = 4, - DMA_MEMSET = 5, - DMA_MEMSET_SG = 6, - DMA_INTERRUPT = 7, - DMA_PRIVATE = 8, - DMA_ASYNC_TX = 9, - DMA_SLAVE = 10, - DMA_CYCLIC = 11, - DMA_INTERLEAVE = 12, - DMA_COMPLETION_NO_ORDER = 13, - DMA_REPEAT = 14, - DMA_LOAD_EOT = 15, - DMA_TX_TYPE_END = 16, -}; - -enum dpm_order { - DPM_ORDER_NONE = 0, - DPM_ORDER_DEV_AFTER_PARENT = 1, - DPM_ORDER_PARENT_BEFORE_DEV = 2, - DPM_ORDER_DEV_LAST = 3, -}; - -enum error_detector { - ERROR_DETECTOR_KFENCE = 0, - ERROR_DETECTOR_KASAN = 1, - ERROR_DETECTOR_WARN = 2, -}; - -enum ethtool_fec_config_bits { - ETHTOOL_FEC_NONE_BIT = 0, - ETHTOOL_FEC_AUTO_BIT = 1, - ETHTOOL_FEC_OFF_BIT = 2, - ETHTOOL_FEC_RS_BIT = 3, - ETHTOOL_FEC_BASER_BIT = 4, - ETHTOOL_FEC_LLRS_BIT = 5, -}; - -enum ethtool_flags { - ETH_FLAG_TXVLAN = 128, - ETH_FLAG_RXVLAN = 256, - ETH_FLAG_LRO = 32768, - ETH_FLAG_NTUPLE = 134217728, - ETH_FLAG_RXHASH = 268435456, -}; - -enum ethtool_link_ext_state { - ETHTOOL_LINK_EXT_STATE_AUTONEG = 0, - ETHTOOL_LINK_EXT_STATE_LINK_TRAINING_FAILURE = 1, - ETHTOOL_LINK_EXT_STATE_LINK_LOGICAL_MISMATCH = 2, - ETHTOOL_LINK_EXT_STATE_BAD_SIGNAL_INTEGRITY = 3, - ETHTOOL_LINK_EXT_STATE_NO_CABLE = 4, - ETHTOOL_LINK_EXT_STATE_CABLE_ISSUE = 5, - ETHTOOL_LINK_EXT_STATE_EEPROM_ISSUE = 6, - ETHTOOL_LINK_EXT_STATE_CALIBRATION_FAILURE = 7, - ETHTOOL_LINK_EXT_STATE_POWER_BUDGET_EXCEEDED = 8, - ETHTOOL_LINK_EXT_STATE_OVERHEAT = 9, - ETHTOOL_LINK_EXT_STATE_MODULE = 10, -}; - -enum ethtool_link_ext_substate_autoneg { - ETHTOOL_LINK_EXT_SUBSTATE_AN_NO_PARTNER_DETECTED = 1, - ETHTOOL_LINK_EXT_SUBSTATE_AN_ACK_NOT_RECEIVED = 2, - ETHTOOL_LINK_EXT_SUBSTATE_AN_NEXT_PAGE_EXCHANGE_FAILED = 3, - ETHTOOL_LINK_EXT_SUBSTATE_AN_NO_PARTNER_DETECTED_FORCE_MODE = 4, - ETHTOOL_LINK_EXT_SUBSTATE_AN_FEC_MISMATCH_DURING_OVERRIDE = 5, - ETHTOOL_LINK_EXT_SUBSTATE_AN_NO_HCD = 6, -}; - -enum ethtool_link_ext_substate_bad_signal_integrity { - ETHTOOL_LINK_EXT_SUBSTATE_BSI_LARGE_NUMBER_OF_PHYSICAL_ERRORS = 1, - ETHTOOL_LINK_EXT_SUBSTATE_BSI_UNSUPPORTED_RATE = 2, - ETHTOOL_LINK_EXT_SUBSTATE_BSI_SERDES_REFERENCE_CLOCK_LOST = 3, - ETHTOOL_LINK_EXT_SUBSTATE_BSI_SERDES_ALOS = 4, -}; - -enum ethtool_link_ext_substate_cable_issue { - ETHTOOL_LINK_EXT_SUBSTATE_CI_UNSUPPORTED_CABLE = 1, - ETHTOOL_LINK_EXT_SUBSTATE_CI_CABLE_TEST_FAILURE = 2, -}; - -enum ethtool_link_ext_substate_link_logical_mismatch { - ETHTOOL_LINK_EXT_SUBSTATE_LLM_PCS_DID_NOT_ACQUIRE_BLOCK_LOCK = 1, - ETHTOOL_LINK_EXT_SUBSTATE_LLM_PCS_DID_NOT_ACQUIRE_AM_LOCK = 2, - ETHTOOL_LINK_EXT_SUBSTATE_LLM_PCS_DID_NOT_GET_ALIGN_STATUS = 3, - ETHTOOL_LINK_EXT_SUBSTATE_LLM_FC_FEC_IS_NOT_LOCKED = 4, - ETHTOOL_LINK_EXT_SUBSTATE_LLM_RS_FEC_IS_NOT_LOCKED = 5, -}; - -enum ethtool_link_ext_substate_link_training { - ETHTOOL_LINK_EXT_SUBSTATE_LT_KR_FRAME_LOCK_NOT_ACQUIRED = 1, - ETHTOOL_LINK_EXT_SUBSTATE_LT_KR_LINK_INHIBIT_TIMEOUT = 2, - ETHTOOL_LINK_EXT_SUBSTATE_LT_KR_LINK_PARTNER_DID_NOT_SET_RECEIVER_READY = 3, - ETHTOOL_LINK_EXT_SUBSTATE_LT_REMOTE_FAULT = 4, -}; - -enum ethtool_link_ext_substate_module { - ETHTOOL_LINK_EXT_SUBSTATE_MODULE_CMIS_NOT_READY = 1, -}; - -enum ethtool_link_mode_bit_indices { - ETHTOOL_LINK_MODE_10baseT_Half_BIT = 0, - ETHTOOL_LINK_MODE_10baseT_Full_BIT = 1, - ETHTOOL_LINK_MODE_100baseT_Half_BIT = 2, - ETHTOOL_LINK_MODE_100baseT_Full_BIT = 3, - ETHTOOL_LINK_MODE_1000baseT_Half_BIT = 4, - ETHTOOL_LINK_MODE_1000baseT_Full_BIT = 5, - ETHTOOL_LINK_MODE_Autoneg_BIT = 6, - ETHTOOL_LINK_MODE_TP_BIT = 7, - ETHTOOL_LINK_MODE_AUI_BIT = 8, - ETHTOOL_LINK_MODE_MII_BIT = 9, - ETHTOOL_LINK_MODE_FIBRE_BIT = 10, - ETHTOOL_LINK_MODE_BNC_BIT = 11, - ETHTOOL_LINK_MODE_10000baseT_Full_BIT = 12, - ETHTOOL_LINK_MODE_Pause_BIT = 13, - ETHTOOL_LINK_MODE_Asym_Pause_BIT = 14, - ETHTOOL_LINK_MODE_2500baseX_Full_BIT = 15, - ETHTOOL_LINK_MODE_Backplane_BIT = 16, - ETHTOOL_LINK_MODE_1000baseKX_Full_BIT = 17, - ETHTOOL_LINK_MODE_10000baseKX4_Full_BIT = 18, - ETHTOOL_LINK_MODE_10000baseKR_Full_BIT = 19, - ETHTOOL_LINK_MODE_10000baseR_FEC_BIT = 20, - ETHTOOL_LINK_MODE_20000baseMLD2_Full_BIT = 21, - ETHTOOL_LINK_MODE_20000baseKR2_Full_BIT = 22, - ETHTOOL_LINK_MODE_40000baseKR4_Full_BIT = 23, - ETHTOOL_LINK_MODE_40000baseCR4_Full_BIT = 24, - ETHTOOL_LINK_MODE_40000baseSR4_Full_BIT = 25, - ETHTOOL_LINK_MODE_40000baseLR4_Full_BIT = 26, - ETHTOOL_LINK_MODE_56000baseKR4_Full_BIT = 27, - ETHTOOL_LINK_MODE_56000baseCR4_Full_BIT = 28, - ETHTOOL_LINK_MODE_56000baseSR4_Full_BIT = 29, - ETHTOOL_LINK_MODE_56000baseLR4_Full_BIT = 30, - ETHTOOL_LINK_MODE_25000baseCR_Full_BIT = 31, - ETHTOOL_LINK_MODE_25000baseKR_Full_BIT = 32, - ETHTOOL_LINK_MODE_25000baseSR_Full_BIT = 33, - ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT = 34, - ETHTOOL_LINK_MODE_50000baseKR2_Full_BIT = 35, - ETHTOOL_LINK_MODE_100000baseKR4_Full_BIT = 36, - ETHTOOL_LINK_MODE_100000baseSR4_Full_BIT = 37, - ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT = 38, - ETHTOOL_LINK_MODE_100000baseLR4_ER4_Full_BIT = 39, - ETHTOOL_LINK_MODE_50000baseSR2_Full_BIT = 40, - ETHTOOL_LINK_MODE_1000baseX_Full_BIT = 41, - ETHTOOL_LINK_MODE_10000baseCR_Full_BIT = 42, - ETHTOOL_LINK_MODE_10000baseSR_Full_BIT = 43, - ETHTOOL_LINK_MODE_10000baseLR_Full_BIT = 44, - ETHTOOL_LINK_MODE_10000baseLRM_Full_BIT = 45, - ETHTOOL_LINK_MODE_10000baseER_Full_BIT = 46, - ETHTOOL_LINK_MODE_2500baseT_Full_BIT = 47, - ETHTOOL_LINK_MODE_5000baseT_Full_BIT = 48, - ETHTOOL_LINK_MODE_FEC_NONE_BIT = 49, - ETHTOOL_LINK_MODE_FEC_RS_BIT = 50, - ETHTOOL_LINK_MODE_FEC_BASER_BIT = 51, - ETHTOOL_LINK_MODE_50000baseKR_Full_BIT = 52, - ETHTOOL_LINK_MODE_50000baseSR_Full_BIT = 53, - ETHTOOL_LINK_MODE_50000baseCR_Full_BIT = 54, - ETHTOOL_LINK_MODE_50000baseLR_ER_FR_Full_BIT = 55, - ETHTOOL_LINK_MODE_50000baseDR_Full_BIT = 56, - ETHTOOL_LINK_MODE_100000baseKR2_Full_BIT = 57, - ETHTOOL_LINK_MODE_100000baseSR2_Full_BIT = 58, - ETHTOOL_LINK_MODE_100000baseCR2_Full_BIT = 59, - ETHTOOL_LINK_MODE_100000baseLR2_ER2_FR2_Full_BIT = 60, - ETHTOOL_LINK_MODE_100000baseDR2_Full_BIT = 61, - ETHTOOL_LINK_MODE_200000baseKR4_Full_BIT = 62, - ETHTOOL_LINK_MODE_200000baseSR4_Full_BIT = 63, - ETHTOOL_LINK_MODE_200000baseLR4_ER4_FR4_Full_BIT = 64, - ETHTOOL_LINK_MODE_200000baseDR4_Full_BIT = 65, - ETHTOOL_LINK_MODE_200000baseCR4_Full_BIT = 66, - ETHTOOL_LINK_MODE_100baseT1_Full_BIT = 67, - ETHTOOL_LINK_MODE_1000baseT1_Full_BIT = 68, - ETHTOOL_LINK_MODE_400000baseKR8_Full_BIT = 69, - ETHTOOL_LINK_MODE_400000baseSR8_Full_BIT = 70, - ETHTOOL_LINK_MODE_400000baseLR8_ER8_FR8_Full_BIT = 71, - ETHTOOL_LINK_MODE_400000baseDR8_Full_BIT = 72, - ETHTOOL_LINK_MODE_400000baseCR8_Full_BIT = 73, - ETHTOOL_LINK_MODE_FEC_LLRS_BIT = 74, - ETHTOOL_LINK_MODE_100000baseKR_Full_BIT = 75, - ETHTOOL_LINK_MODE_100000baseSR_Full_BIT = 76, - ETHTOOL_LINK_MODE_100000baseLR_ER_FR_Full_BIT = 77, - ETHTOOL_LINK_MODE_100000baseCR_Full_BIT = 78, - ETHTOOL_LINK_MODE_100000baseDR_Full_BIT = 79, - ETHTOOL_LINK_MODE_200000baseKR2_Full_BIT = 80, - ETHTOOL_LINK_MODE_200000baseSR2_Full_BIT = 81, - ETHTOOL_LINK_MODE_200000baseLR2_ER2_FR2_Full_BIT = 82, - ETHTOOL_LINK_MODE_200000baseDR2_Full_BIT = 83, - ETHTOOL_LINK_MODE_200000baseCR2_Full_BIT = 84, - ETHTOOL_LINK_MODE_400000baseKR4_Full_BIT = 85, - ETHTOOL_LINK_MODE_400000baseSR4_Full_BIT = 86, - ETHTOOL_LINK_MODE_400000baseLR4_ER4_FR4_Full_BIT = 87, - ETHTOOL_LINK_MODE_400000baseDR4_Full_BIT = 88, - ETHTOOL_LINK_MODE_400000baseCR4_Full_BIT = 89, - ETHTOOL_LINK_MODE_100baseFX_Half_BIT = 90, - ETHTOOL_LINK_MODE_100baseFX_Full_BIT = 91, - ETHTOOL_LINK_MODE_10baseT1L_Full_BIT = 92, - ETHTOOL_LINK_MODE_800000baseCR8_Full_BIT = 93, - ETHTOOL_LINK_MODE_800000baseKR8_Full_BIT = 94, - ETHTOOL_LINK_MODE_800000baseDR8_Full_BIT = 95, - ETHTOOL_LINK_MODE_800000baseDR8_2_Full_BIT = 96, - ETHTOOL_LINK_MODE_800000baseSR8_Full_BIT = 97, - ETHTOOL_LINK_MODE_800000baseVR8_Full_BIT = 98, - ETHTOOL_LINK_MODE_10baseT1S_Full_BIT = 99, - ETHTOOL_LINK_MODE_10baseT1S_Half_BIT = 100, - ETHTOOL_LINK_MODE_10baseT1S_P2MP_Half_BIT = 101, - __ETHTOOL_LINK_MODE_MASK_NBITS = 102, -}; - -enum ethtool_mac_stats_src { - ETHTOOL_MAC_STATS_SRC_AGGREGATE = 0, - ETHTOOL_MAC_STATS_SRC_EMAC = 1, - ETHTOOL_MAC_STATS_SRC_PMAC = 2, -}; - -enum ethtool_mm_verify_status { - ETHTOOL_MM_VERIFY_STATUS_UNKNOWN = 0, - ETHTOOL_MM_VERIFY_STATUS_INITIAL = 1, - ETHTOOL_MM_VERIFY_STATUS_VERIFYING = 2, - ETHTOOL_MM_VERIFY_STATUS_SUCCEEDED = 3, - ETHTOOL_MM_VERIFY_STATUS_FAILED = 4, - ETHTOOL_MM_VERIFY_STATUS_DISABLED = 5, -}; - -enum ethtool_module_power_mode { - ETHTOOL_MODULE_POWER_MODE_LOW = 1, - ETHTOOL_MODULE_POWER_MODE_HIGH = 2, -}; - -enum ethtool_module_power_mode_policy { - ETHTOOL_MODULE_POWER_MODE_POLICY_HIGH = 1, - ETHTOOL_MODULE_POWER_MODE_POLICY_AUTO = 2, -}; - -enum ethtool_multicast_groups { - ETHNL_MCGRP_MONITOR = 0, -}; - -enum ethtool_phys_id_state { - ETHTOOL_ID_INACTIVE = 0, - ETHTOOL_ID_ACTIVE = 1, - ETHTOOL_ID_ON = 2, - ETHTOOL_ID_OFF = 3, -}; - -enum ethtool_podl_pse_admin_state { - ETHTOOL_PODL_PSE_ADMIN_STATE_UNKNOWN = 1, - ETHTOOL_PODL_PSE_ADMIN_STATE_DISABLED = 2, - ETHTOOL_PODL_PSE_ADMIN_STATE_ENABLED = 3, -}; - -enum ethtool_podl_pse_pw_d_status { - ETHTOOL_PODL_PSE_PW_D_STATUS_UNKNOWN = 1, - ETHTOOL_PODL_PSE_PW_D_STATUS_DISABLED = 2, - ETHTOOL_PODL_PSE_PW_D_STATUS_SEARCHING = 3, - ETHTOOL_PODL_PSE_PW_D_STATUS_DELIVERING = 4, - ETHTOOL_PODL_PSE_PW_D_STATUS_SLEEP = 5, - ETHTOOL_PODL_PSE_PW_D_STATUS_IDLE = 6, - ETHTOOL_PODL_PSE_PW_D_STATUS_ERROR = 7, -}; - -enum ethtool_sfeatures_retval_bits { - ETHTOOL_F_UNSUPPORTED__BIT = 0, - ETHTOOL_F_WISH__BIT = 1, - ETHTOOL_F_COMPAT__BIT = 2, -}; - -enum ethtool_stringset { - ETH_SS_TEST = 0, - ETH_SS_STATS = 1, - ETH_SS_PRIV_FLAGS = 2, - ETH_SS_NTUPLE_FILTERS = 3, - ETH_SS_FEATURES = 4, - ETH_SS_RSS_HASH_FUNCS = 5, - ETH_SS_TUNABLES = 6, - ETH_SS_PHY_STATS = 7, - ETH_SS_PHY_TUNABLES = 8, - ETH_SS_LINK_MODES = 9, - ETH_SS_MSG_CLASSES = 10, - ETH_SS_WOL_MODES = 11, - ETH_SS_SOF_TIMESTAMPING = 12, - ETH_SS_TS_TX_TYPES = 13, - ETH_SS_TS_RX_FILTERS = 14, - ETH_SS_UDP_TUNNEL_TYPES = 15, - ETH_SS_STATS_STD = 16, - ETH_SS_STATS_ETH_PHY = 17, - ETH_SS_STATS_ETH_MAC = 18, - ETH_SS_STATS_ETH_CTRL = 19, - ETH_SS_STATS_RMON = 20, - ETH_SS_COUNT = 21, -}; - -enum ethtool_supported_ring_param { - ETHTOOL_RING_USE_RX_BUF_LEN = 1, - ETHTOOL_RING_USE_CQE_SIZE = 2, - ETHTOOL_RING_USE_TX_PUSH = 4, - ETHTOOL_RING_USE_RX_PUSH = 8, - ETHTOOL_RING_USE_TX_PUSH_BUF_LEN = 16, -}; - -enum event_type_t { - EVENT_FLEXIBLE = 1, - EVENT_PINNED = 2, - EVENT_TIME = 4, - EVENT_CPU = 8, - EVENT_ALL = 3, -}; - -enum fail_dup_mod_reason { - FAIL_DUP_MOD_BECOMING = 0, - FAIL_DUP_MOD_LOAD = 1, -}; - -enum fault_flag { - FAULT_FLAG_WRITE = 1, - FAULT_FLAG_MKWRITE = 2, - FAULT_FLAG_ALLOW_RETRY = 4, - FAULT_FLAG_RETRY_NOWAIT = 8, - FAULT_FLAG_KILLABLE = 16, - FAULT_FLAG_TRIED = 32, - FAULT_FLAG_USER = 64, - FAULT_FLAG_REMOTE = 128, - FAULT_FLAG_INSTRUCTION = 256, - FAULT_FLAG_INTERRUPTIBLE = 512, - FAULT_FLAG_UNSHARE = 1024, - FAULT_FLAG_ORIG_PTE_VALID = 2048, - FAULT_FLAG_VMA_LOCK = 4096, -}; - -enum fib6_walk_state { - FWS_L = 0, - FWS_R = 1, - FWS_C = 2, - FWS_U = 3, -}; - -enum fib_event_type { - FIB_EVENT_ENTRY_REPLACE = 0, - FIB_EVENT_ENTRY_APPEND = 1, - FIB_EVENT_ENTRY_ADD = 2, - FIB_EVENT_ENTRY_DEL = 3, - FIB_EVENT_RULE_ADD = 4, - FIB_EVENT_RULE_DEL = 5, - FIB_EVENT_NH_ADD = 6, - FIB_EVENT_NH_DEL = 7, - FIB_EVENT_VIF_ADD = 8, - FIB_EVENT_VIF_DEL = 9, -}; - -enum fid_type { - FILEID_ROOT = 0, - FILEID_INO32_GEN = 1, - FILEID_INO32_GEN_PARENT = 2, - FILEID_BTRFS_WITHOUT_PARENT = 77, - FILEID_BTRFS_WITH_PARENT = 78, - FILEID_BTRFS_WITH_PARENT_ROOT = 79, - FILEID_UDF_WITHOUT_PARENT = 81, - FILEID_UDF_WITH_PARENT = 82, - FILEID_NILFS_WITHOUT_PARENT = 97, - FILEID_NILFS_WITH_PARENT = 98, - FILEID_FAT_WITHOUT_PARENT = 113, - FILEID_FAT_WITH_PARENT = 114, - FILEID_LUSTRE = 151, - FILEID_KERNFS = 254, - FILEID_INVALID = 255, -}; - -enum file_time_flags { - S_ATIME = 1, - S_MTIME = 2, - S_CTIME = 4, - S_VERSION = 8, -}; - -enum fixed_addresses { - FIX_EARLYCON_MEM_BASE = 0, - __end_of_permanent_fixed_addresses = 1, - FIX_KMAP_BEGIN = 1, - FIX_KMAP_END = 16, - FIX_TEXT_POKE0 = 17, - FIX_TEXT_POKE1 = 18, - __end_of_fixmap_region = 19, - FIX_BTMAP_END = 1, - FIX_BTMAP_BEGIN = 224, - __end_of_early_ioremap_region = 225, -}; - -enum flow_action_hw_stats { - FLOW_ACTION_HW_STATS_IMMEDIATE = 1, - FLOW_ACTION_HW_STATS_DELAYED = 2, - FLOW_ACTION_HW_STATS_ANY = 3, - FLOW_ACTION_HW_STATS_DISABLED = 4, - FLOW_ACTION_HW_STATS_DONT_CARE = 7, -}; - -enum flow_action_hw_stats_bit { - FLOW_ACTION_HW_STATS_IMMEDIATE_BIT = 0, - FLOW_ACTION_HW_STATS_DELAYED_BIT = 1, - FLOW_ACTION_HW_STATS_DISABLED_BIT = 2, - FLOW_ACTION_HW_STATS_NUM_BITS = 3, -}; - -enum flow_action_id { - FLOW_ACTION_ACCEPT = 0, - FLOW_ACTION_DROP = 1, - FLOW_ACTION_TRAP = 2, - FLOW_ACTION_GOTO = 3, - FLOW_ACTION_REDIRECT = 4, - FLOW_ACTION_MIRRED = 5, - FLOW_ACTION_REDIRECT_INGRESS = 6, - FLOW_ACTION_MIRRED_INGRESS = 7, - FLOW_ACTION_VLAN_PUSH = 8, - FLOW_ACTION_VLAN_POP = 9, - FLOW_ACTION_VLAN_MANGLE = 10, - FLOW_ACTION_TUNNEL_ENCAP = 11, - FLOW_ACTION_TUNNEL_DECAP = 12, - FLOW_ACTION_MANGLE = 13, - FLOW_ACTION_ADD = 14, - FLOW_ACTION_CSUM = 15, - FLOW_ACTION_MARK = 16, - FLOW_ACTION_PTYPE = 17, - FLOW_ACTION_PRIORITY = 18, - FLOW_ACTION_RX_QUEUE_MAPPING = 19, - FLOW_ACTION_WAKE = 20, - FLOW_ACTION_QUEUE = 21, - FLOW_ACTION_SAMPLE = 22, - FLOW_ACTION_POLICE = 23, - FLOW_ACTION_CT = 24, - FLOW_ACTION_CT_METADATA = 25, - FLOW_ACTION_MPLS_PUSH = 26, - FLOW_ACTION_MPLS_POP = 27, - FLOW_ACTION_MPLS_MANGLE = 28, - FLOW_ACTION_GATE = 29, - FLOW_ACTION_PPPOE_PUSH = 30, - FLOW_ACTION_JUMP = 31, - FLOW_ACTION_PIPE = 32, - FLOW_ACTION_VLAN_PUSH_ETH = 33, - FLOW_ACTION_VLAN_POP_ETH = 34, - FLOW_ACTION_CONTINUE = 35, - NUM_FLOW_ACTIONS = 36, -}; - -enum flow_action_mangle_base { - FLOW_ACT_MANGLE_UNSPEC = 0, - FLOW_ACT_MANGLE_HDR_TYPE_ETH = 1, - FLOW_ACT_MANGLE_HDR_TYPE_IP4 = 2, - FLOW_ACT_MANGLE_HDR_TYPE_IP6 = 3, - FLOW_ACT_MANGLE_HDR_TYPE_TCP = 4, - FLOW_ACT_MANGLE_HDR_TYPE_UDP = 5, -}; - -enum flow_block_binder_type { - FLOW_BLOCK_BINDER_TYPE_UNSPEC = 0, - FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS = 1, - FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS = 2, - FLOW_BLOCK_BINDER_TYPE_RED_EARLY_DROP = 3, - FLOW_BLOCK_BINDER_TYPE_RED_MARK = 4, -}; - -enum flow_block_command { - FLOW_BLOCK_BIND = 0, - FLOW_BLOCK_UNBIND = 1, -}; - -enum flow_dissect_ret { - FLOW_DISSECT_RET_OUT_GOOD = 0, - FLOW_DISSECT_RET_OUT_BAD = 1, - FLOW_DISSECT_RET_PROTO_AGAIN = 2, - FLOW_DISSECT_RET_IPPROTO_AGAIN = 3, - FLOW_DISSECT_RET_CONTINUE = 4, -}; - -enum flow_dissector_key_id { - FLOW_DISSECTOR_KEY_CONTROL = 0, - FLOW_DISSECTOR_KEY_BASIC = 1, - FLOW_DISSECTOR_KEY_IPV4_ADDRS = 2, - FLOW_DISSECTOR_KEY_IPV6_ADDRS = 3, - FLOW_DISSECTOR_KEY_PORTS = 4, - FLOW_DISSECTOR_KEY_PORTS_RANGE = 5, - FLOW_DISSECTOR_KEY_ICMP = 6, - FLOW_DISSECTOR_KEY_ETH_ADDRS = 7, - FLOW_DISSECTOR_KEY_TIPC = 8, - FLOW_DISSECTOR_KEY_ARP = 9, - FLOW_DISSECTOR_KEY_VLAN = 10, - FLOW_DISSECTOR_KEY_FLOW_LABEL = 11, - FLOW_DISSECTOR_KEY_GRE_KEYID = 12, - FLOW_DISSECTOR_KEY_MPLS_ENTROPY = 13, - FLOW_DISSECTOR_KEY_ENC_KEYID = 14, - FLOW_DISSECTOR_KEY_ENC_IPV4_ADDRS = 15, - FLOW_DISSECTOR_KEY_ENC_IPV6_ADDRS = 16, - FLOW_DISSECTOR_KEY_ENC_CONTROL = 17, - FLOW_DISSECTOR_KEY_ENC_PORTS = 18, - FLOW_DISSECTOR_KEY_MPLS = 19, - FLOW_DISSECTOR_KEY_TCP = 20, - FLOW_DISSECTOR_KEY_IP = 21, - FLOW_DISSECTOR_KEY_CVLAN = 22, - FLOW_DISSECTOR_KEY_ENC_IP = 23, - FLOW_DISSECTOR_KEY_ENC_OPTS = 24, - FLOW_DISSECTOR_KEY_META = 25, - FLOW_DISSECTOR_KEY_CT = 26, - FLOW_DISSECTOR_KEY_HASH = 27, - FLOW_DISSECTOR_KEY_NUM_OF_VLANS = 28, - FLOW_DISSECTOR_KEY_PPPOE = 29, - FLOW_DISSECTOR_KEY_L2TPV3 = 30, - FLOW_DISSECTOR_KEY_CFM = 31, - FLOW_DISSECTOR_KEY_IPSEC = 32, - FLOW_DISSECTOR_KEY_MAX = 33, -}; - -enum flowlabel_reflect { - FLOWLABEL_REFLECT_ESTABLISHED = 1, - FLOWLABEL_REFLECT_TCP_RESET = 2, - FLOWLABEL_REFLECT_ICMPV6_ECHO_REPLIES = 4, -}; - -enum folio_references { - FOLIOREF_RECLAIM = 0, - FOLIOREF_RECLAIM_CLEAN = 1, - FOLIOREF_KEEP = 2, - FOLIOREF_ACTIVATE = 3, -}; - -enum format_type { - FORMAT_TYPE_NONE = 0, - FORMAT_TYPE_WIDTH = 1, - FORMAT_TYPE_PRECISION = 2, - FORMAT_TYPE_CHAR = 3, - FORMAT_TYPE_STR = 4, - FORMAT_TYPE_PTR = 5, - FORMAT_TYPE_PERCENT_CHAR = 6, - FORMAT_TYPE_INVALID = 7, - FORMAT_TYPE_LONG_LONG = 8, - FORMAT_TYPE_ULONG = 9, - FORMAT_TYPE_LONG = 10, - FORMAT_TYPE_UBYTE = 11, - FORMAT_TYPE_BYTE = 12, - FORMAT_TYPE_USHORT = 13, - FORMAT_TYPE_SHORT = 14, - FORMAT_TYPE_UINT = 15, - FORMAT_TYPE_INT = 16, - FORMAT_TYPE_SIZE_T = 17, - FORMAT_TYPE_PTRDIFF = 18, -}; - -enum freeze_holder { - FREEZE_HOLDER_KERNEL = 1, - FREEZE_HOLDER_USERSPACE = 2, -}; - -enum freq_qos_req_type { - FREQ_QOS_MIN = 1, - FREQ_QOS_MAX = 2, -}; - -enum fs_context_phase { - FS_CONTEXT_CREATE_PARAMS = 0, - FS_CONTEXT_CREATING = 1, - FS_CONTEXT_AWAITING_MOUNT = 2, - FS_CONTEXT_AWAITING_RECONF = 3, - FS_CONTEXT_RECONF_PARAMS = 4, - FS_CONTEXT_RECONFIGURING = 5, - FS_CONTEXT_FAILED = 6, -}; - -enum fs_context_purpose { - FS_CONTEXT_FOR_MOUNT = 0, - FS_CONTEXT_FOR_SUBMOUNT = 1, - FS_CONTEXT_FOR_RECONFIGURE = 2, -}; - -enum fs_value_type { - fs_value_is_undefined = 0, - fs_value_is_flag = 1, - fs_value_is_string = 2, - fs_value_is_blob = 3, - fs_value_is_filename = 4, - fs_value_is_file = 5, -}; - -enum fsconfig_command { - FSCONFIG_SET_FLAG = 0, - FSCONFIG_SET_STRING = 1, - FSCONFIG_SET_BINARY = 2, - FSCONFIG_SET_PATH = 3, - FSCONFIG_SET_PATH_EMPTY = 4, - FSCONFIG_SET_FD = 5, - FSCONFIG_CMD_CREATE = 6, - FSCONFIG_CMD_RECONFIGURE = 7, - FSCONFIG_CMD_CREATE_EXCL = 8, -}; - -enum fsnotify_data_type { - FSNOTIFY_EVENT_NONE = 0, - FSNOTIFY_EVENT_PATH = 1, - FSNOTIFY_EVENT_INODE = 2, - FSNOTIFY_EVENT_DENTRY = 3, - FSNOTIFY_EVENT_ERROR = 4, -}; - -enum fsnotify_iter_type { - FSNOTIFY_ITER_TYPE_INODE = 0, - FSNOTIFY_ITER_TYPE_VFSMOUNT = 1, - FSNOTIFY_ITER_TYPE_SB = 2, - FSNOTIFY_ITER_TYPE_PARENT = 3, - FSNOTIFY_ITER_TYPE_INODE2 = 4, - FSNOTIFY_ITER_TYPE_COUNT = 5, -}; - -enum ftrace_dump_mode { - DUMP_NONE = 0, - DUMP_ALL = 1, - DUMP_ORIG = 2, -}; - -enum genl_validate_flags { - GENL_DONT_VALIDATE_STRICT = 1, - GENL_DONT_VALIDATE_DUMP = 2, - GENL_DONT_VALIDATE_DUMP_STRICT = 4, -}; - -enum gpiod_flags { - GPIOD_ASIS = 0, - GPIOD_IN = 1, - GPIOD_OUT_LOW = 3, - GPIOD_OUT_HIGH = 7, - GPIOD_OUT_LOW_OPEN_DRAIN = 11, - GPIOD_OUT_HIGH_OPEN_DRAIN = 15, -}; - -enum gro_result { - GRO_MERGED = 0, - GRO_MERGED_FREE = 1, - GRO_HELD = 2, - GRO_NORMAL = 3, - GRO_CONSUMED = 4, -}; - -typedef enum gro_result gro_result_t; - -enum hash_algo { - HASH_ALGO_MD4 = 0, - HASH_ALGO_MD5 = 1, - HASH_ALGO_SHA1 = 2, - HASH_ALGO_RIPE_MD_160 = 3, - HASH_ALGO_SHA256 = 4, - HASH_ALGO_SHA384 = 5, - HASH_ALGO_SHA512 = 6, - HASH_ALGO_SHA224 = 7, - HASH_ALGO_RIPE_MD_128 = 8, - HASH_ALGO_RIPE_MD_256 = 9, - HASH_ALGO_RIPE_MD_320 = 10, - HASH_ALGO_WP_256 = 11, - HASH_ALGO_WP_384 = 12, - HASH_ALGO_WP_512 = 13, - HASH_ALGO_TGR_128 = 14, - HASH_ALGO_TGR_160 = 15, - HASH_ALGO_TGR_192 = 16, - HASH_ALGO_SM3_256 = 17, - HASH_ALGO_STREEBOG_256 = 18, - HASH_ALGO_STREEBOG_512 = 19, - HASH_ALGO__LAST = 20, -}; - -enum hk_type { - HK_TYPE_TIMER = 0, - HK_TYPE_RCU = 1, - HK_TYPE_MISC = 2, - HK_TYPE_SCHED = 3, - HK_TYPE_TICK = 4, - HK_TYPE_DOMAIN = 5, - HK_TYPE_WQ = 6, - HK_TYPE_MANAGED_IRQ = 7, - HK_TYPE_KTHREAD = 8, - HK_TYPE_MAX = 9, -}; - -enum hrtimer_base_type { - HRTIMER_BASE_MONOTONIC = 0, - HRTIMER_BASE_REALTIME = 1, - HRTIMER_BASE_BOOTTIME = 2, - HRTIMER_BASE_TAI = 3, - HRTIMER_BASE_MONOTONIC_SOFT = 4, - HRTIMER_BASE_REALTIME_SOFT = 5, - HRTIMER_BASE_BOOTTIME_SOFT = 6, - HRTIMER_BASE_TAI_SOFT = 7, - HRTIMER_MAX_CLOCK_BASES = 8, -}; - -enum hrtimer_mode { - HRTIMER_MODE_ABS = 0, - HRTIMER_MODE_REL = 1, - HRTIMER_MODE_PINNED = 2, - HRTIMER_MODE_SOFT = 4, - HRTIMER_MODE_HARD = 8, - HRTIMER_MODE_ABS_PINNED = 2, - HRTIMER_MODE_REL_PINNED = 3, - HRTIMER_MODE_ABS_SOFT = 4, - HRTIMER_MODE_REL_SOFT = 5, - HRTIMER_MODE_ABS_PINNED_SOFT = 6, - HRTIMER_MODE_REL_PINNED_SOFT = 7, - HRTIMER_MODE_ABS_HARD = 8, - HRTIMER_MODE_REL_HARD = 9, - HRTIMER_MODE_ABS_PINNED_HARD = 10, - HRTIMER_MODE_REL_PINNED_HARD = 11, -}; - -enum hrtimer_restart { - HRTIMER_NORESTART = 0, - HRTIMER_RESTART = 1, -}; - -enum hwtstamp_flags { - HWTSTAMP_FLAG_BONDED_PHC_INDEX = 1, - HWTSTAMP_FLAG_LAST = 1, - HWTSTAMP_FLAG_MASK = 1, -}; - -enum hwtstamp_rx_filters { - HWTSTAMP_FILTER_NONE = 0, - HWTSTAMP_FILTER_ALL = 1, - HWTSTAMP_FILTER_SOME = 2, - HWTSTAMP_FILTER_PTP_V1_L4_EVENT = 3, - HWTSTAMP_FILTER_PTP_V1_L4_SYNC = 4, - HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ = 5, - HWTSTAMP_FILTER_PTP_V2_L4_EVENT = 6, - HWTSTAMP_FILTER_PTP_V2_L4_SYNC = 7, - HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ = 8, - HWTSTAMP_FILTER_PTP_V2_L2_EVENT = 9, - HWTSTAMP_FILTER_PTP_V2_L2_SYNC = 10, - HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ = 11, - HWTSTAMP_FILTER_PTP_V2_EVENT = 12, - HWTSTAMP_FILTER_PTP_V2_SYNC = 13, - HWTSTAMP_FILTER_PTP_V2_DELAY_REQ = 14, - HWTSTAMP_FILTER_NTP_ALL = 15, - __HWTSTAMP_FILTER_CNT = 16, -}; - -enum hwtstamp_source { - HWTSTAMP_SOURCE_NETDEV = 0, - HWTSTAMP_SOURCE_PHYLIB = 1, -}; - -enum hwtstamp_tx_types { - HWTSTAMP_TX_OFF = 0, - HWTSTAMP_TX_ON = 1, - HWTSTAMP_TX_ONESTEP_SYNC = 2, - HWTSTAMP_TX_ONESTEP_P2P = 3, - __HWTSTAMP_TX_CNT = 4, -}; - -enum in6_addr_gen_mode { - IN6_ADDR_GEN_MODE_EUI64 = 0, - IN6_ADDR_GEN_MODE_NONE = 1, - IN6_ADDR_GEN_MODE_STABLE_PRIVACY = 2, - IN6_ADDR_GEN_MODE_RANDOM = 3, -}; - -enum inet_csk_ack_state_t { - ICSK_ACK_SCHED = 1, - ICSK_ACK_TIMER = 2, - ICSK_ACK_PUSHED = 4, - ICSK_ACK_PUSHED2 = 8, - ICSK_ACK_NOW = 16, - ICSK_ACK_NOMEM = 32, -}; - -enum inode_i_mutex_lock_class { - I_MUTEX_NORMAL = 0, - I_MUTEX_PARENT = 1, - I_MUTEX_CHILD = 2, - I_MUTEX_XATTR = 3, - I_MUTEX_NONDIR2 = 4, - I_MUTEX_PARENT2 = 5, -}; - -enum io_uring_op { - IORING_OP_NOP = 0, - IORING_OP_READV = 1, - IORING_OP_WRITEV = 2, - IORING_OP_FSYNC = 3, - IORING_OP_READ_FIXED = 4, - IORING_OP_WRITE_FIXED = 5, - IORING_OP_POLL_ADD = 6, - IORING_OP_POLL_REMOVE = 7, - IORING_OP_SYNC_FILE_RANGE = 8, - IORING_OP_SENDMSG = 9, - IORING_OP_RECVMSG = 10, - IORING_OP_TIMEOUT = 11, - IORING_OP_TIMEOUT_REMOVE = 12, - IORING_OP_ACCEPT = 13, - IORING_OP_ASYNC_CANCEL = 14, - IORING_OP_LINK_TIMEOUT = 15, - IORING_OP_CONNECT = 16, - IORING_OP_FALLOCATE = 17, - IORING_OP_OPENAT = 18, - IORING_OP_CLOSE = 19, - IORING_OP_FILES_UPDATE = 20, - IORING_OP_STATX = 21, - IORING_OP_READ = 22, - IORING_OP_WRITE = 23, - IORING_OP_FADVISE = 24, - IORING_OP_MADVISE = 25, - IORING_OP_SEND = 26, - IORING_OP_RECV = 27, - IORING_OP_OPENAT2 = 28, - IORING_OP_EPOLL_CTL = 29, - IORING_OP_SPLICE = 30, - IORING_OP_PROVIDE_BUFFERS = 31, - IORING_OP_REMOVE_BUFFERS = 32, - IORING_OP_TEE = 33, - IORING_OP_SHUTDOWN = 34, - IORING_OP_RENAMEAT = 35, - IORING_OP_UNLINKAT = 36, - IORING_OP_MKDIRAT = 37, - IORING_OP_SYMLINKAT = 38, - IORING_OP_LINKAT = 39, - IORING_OP_MSG_RING = 40, - IORING_OP_FSETXATTR = 41, - IORING_OP_SETXATTR = 42, - IORING_OP_FGETXATTR = 43, - IORING_OP_GETXATTR = 44, - IORING_OP_SOCKET = 45, - IORING_OP_URING_CMD = 46, - IORING_OP_SEND_ZC = 47, - IORING_OP_SENDMSG_ZC = 48, - IORING_OP_LAST = 49, -}; - -enum ip6_defrag_users { - IP6_DEFRAG_LOCAL_DELIVER = 0, - IP6_DEFRAG_CONNTRACK_IN = 1, - __IP6_DEFRAG_CONNTRACK_IN = 65536, - IP6_DEFRAG_CONNTRACK_OUT = 65537, - __IP6_DEFRAG_CONNTRACK_OUT = 131072, - IP6_DEFRAG_CONNTRACK_BRIDGE_IN = 131073, - __IP6_DEFRAG_CONNTRACK_BRIDGE_IN = 196608, -}; - -enum ip_conntrack_dir { - IP_CT_DIR_ORIGINAL = 0, - IP_CT_DIR_REPLY = 1, - IP_CT_DIR_MAX = 2, -}; - -enum ip_conntrack_info; - -enum ip_defrag_users { - IP_DEFRAG_LOCAL_DELIVER = 0, - IP_DEFRAG_CALL_RA_CHAIN = 1, - IP_DEFRAG_CONNTRACK_IN = 2, - __IP_DEFRAG_CONNTRACK_IN_END = 65537, - IP_DEFRAG_CONNTRACK_OUT = 65538, - __IP_DEFRAG_CONNTRACK_OUT_END = 131073, - IP_DEFRAG_CONNTRACK_BRIDGE_IN = 131074, - __IP_DEFRAG_CONNTRACK_BRIDGE_IN = 196609, - IP_DEFRAG_VS_IN = 196610, - IP_DEFRAG_VS_OUT = 196611, - IP_DEFRAG_VS_FWD = 196612, - IP_DEFRAG_AF_PACKET = 196613, - IP_DEFRAG_MACVLAN = 196614, -}; - -enum irq_domain_bus_token { - DOMAIN_BUS_ANY = 0, - DOMAIN_BUS_WIRED = 1, - DOMAIN_BUS_GENERIC_MSI = 2, - DOMAIN_BUS_PCI_MSI = 3, - DOMAIN_BUS_PLATFORM_MSI = 4, - DOMAIN_BUS_NEXUS = 5, - DOMAIN_BUS_IPI = 6, - DOMAIN_BUS_FSL_MC_MSI = 7, - DOMAIN_BUS_TI_SCI_INTA_MSI = 8, - DOMAIN_BUS_WAKEUP = 9, - DOMAIN_BUS_VMD_MSI = 10, - DOMAIN_BUS_PCI_DEVICE_MSI = 11, - DOMAIN_BUS_PCI_DEVICE_MSIX = 12, - DOMAIN_BUS_DMAR = 13, - DOMAIN_BUS_AMDVI = 14, - DOMAIN_BUS_PCI_DEVICE_IMS = 15, -}; - -enum irq_gc_flags { - IRQ_GC_INIT_MASK_CACHE = 1, - IRQ_GC_INIT_NESTED_LOCK = 2, - IRQ_GC_MASK_CACHE_PER_TYPE = 4, - IRQ_GC_NO_MASK = 8, - IRQ_GC_BE_IO = 16, -}; - -enum irqchip_irq_state { - IRQCHIP_STATE_PENDING = 0, - IRQCHIP_STATE_ACTIVE = 1, - IRQCHIP_STATE_MASKED = 2, - IRQCHIP_STATE_LINE_LEVEL = 3, -}; - -enum irqreturn { - IRQ_NONE = 0, - IRQ_HANDLED = 1, - IRQ_WAKE_THREAD = 2, -}; - -typedef enum irqreturn irqreturn_t; - -enum iter_type { - ITER_IOVEC = 0, - ITER_KVEC = 1, - ITER_BVEC = 2, - ITER_XARRAY = 3, - ITER_DISCARD = 4, - ITER_UBUF = 5, -}; - -enum kernel_load_data_id { - LOADING_UNKNOWN = 0, - LOADING_FIRMWARE = 1, - LOADING_MODULE = 2, - LOADING_KEXEC_IMAGE = 3, - LOADING_KEXEC_INITRAMFS = 4, - LOADING_POLICY = 5, - LOADING_X509_CERTIFICATE = 6, - LOADING_MAX_ID = 7, -}; - -enum kernel_read_file_id { - READING_UNKNOWN = 0, - READING_FIRMWARE = 1, - READING_MODULE = 2, - READING_KEXEC_IMAGE = 3, - READING_KEXEC_INITRAMFS = 4, - READING_POLICY = 5, - READING_X509_CERTIFICATE = 6, - READING_MAX_ID = 7, -}; - -enum key_being_used_for { - VERIFYING_MODULE_SIGNATURE = 0, - VERIFYING_FIRMWARE_SIGNATURE = 1, - VERIFYING_KEXEC_PE_SIGNATURE = 2, - VERIFYING_KEY_SIGNATURE = 3, - VERIFYING_KEY_SELF_SIGNATURE = 4, - VERIFYING_UNSPECIFIED_SIGNATURE = 5, - NR__KEY_BEING_USED_FOR = 6, -}; - -enum kfunc_ptr_arg_type { - KF_ARG_PTR_TO_CTX = 0, - KF_ARG_PTR_TO_ALLOC_BTF_ID = 1, - KF_ARG_PTR_TO_REFCOUNTED_KPTR = 2, - KF_ARG_PTR_TO_DYNPTR = 3, - KF_ARG_PTR_TO_ITER = 4, - KF_ARG_PTR_TO_LIST_HEAD = 5, - KF_ARG_PTR_TO_LIST_NODE = 6, - KF_ARG_PTR_TO_BTF_ID = 7, - KF_ARG_PTR_TO_MEM = 8, - KF_ARG_PTR_TO_MEM_SIZE = 9, - KF_ARG_PTR_TO_CALLBACK = 10, - KF_ARG_PTR_TO_RB_ROOT = 11, - KF_ARG_PTR_TO_RB_NODE = 12, -}; - -enum kmalloc_cache_type { - KMALLOC_NORMAL = 0, - KMALLOC_DMA = 0, - KMALLOC_CGROUP = 0, - KMALLOC_RANDOM_START = 0, - KMALLOC_RANDOM_END = 0, - KMALLOC_RECLAIM = 0, - NR_KMALLOC_TYPES = 1, -}; - -enum kmsg_dump_reason { - KMSG_DUMP_UNDEF = 0, - KMSG_DUMP_PANIC = 1, - KMSG_DUMP_OOPS = 2, - KMSG_DUMP_EMERG = 3, - KMSG_DUMP_SHUTDOWN = 4, - KMSG_DUMP_MAX = 5, -}; - -enum kobj_ns_type { - KOBJ_NS_TYPE_NONE = 0, - KOBJ_NS_TYPE_NET = 1, - KOBJ_NS_TYPES = 2, -}; - -enum kobject_action { - KOBJ_ADD = 0, - KOBJ_REMOVE = 1, - KOBJ_CHANGE = 2, - KOBJ_MOVE = 3, - KOBJ_ONLINE = 4, - KOBJ_OFFLINE = 5, - KOBJ_BIND = 6, - KOBJ_UNBIND = 7, -}; - -enum l2tp_debug_flags { - L2TP_MSG_DEBUG = 1, - L2TP_MSG_CONTROL = 2, - L2TP_MSG_SEQ = 4, - L2TP_MSG_DATA = 8, -}; - -enum led_brightness { - LED_OFF = 0, - LED_ON = 1, - LED_HALF = 127, - LED_FULL = 255, -}; - -enum legacy_fs_param { - LEGACY_FS_UNSET_PARAMS = 0, - LEGACY_FS_MONOLITHIC_PARAMS = 1, - LEGACY_FS_INDIVIDUAL_PARAMS = 2, -}; - -enum lockdep_ok { - LOCKDEP_STILL_OK = 0, - LOCKDEP_NOW_UNRELIABLE = 1, -}; - -enum lockdown_reason { - LOCKDOWN_NONE = 0, - LOCKDOWN_MODULE_SIGNATURE = 1, - LOCKDOWN_DEV_MEM = 2, - LOCKDOWN_EFI_TEST = 3, - LOCKDOWN_KEXEC = 4, - LOCKDOWN_HIBERNATION = 5, - LOCKDOWN_PCI_ACCESS = 6, - LOCKDOWN_IOPORT = 7, - LOCKDOWN_MSR = 8, - LOCKDOWN_ACPI_TABLES = 9, - LOCKDOWN_DEVICE_TREE = 10, - LOCKDOWN_PCMCIA_CIS = 11, - LOCKDOWN_TIOCSSERIAL = 12, - LOCKDOWN_MODULE_PARAMETERS = 13, - LOCKDOWN_MMIOTRACE = 14, - LOCKDOWN_DEBUGFS = 15, - LOCKDOWN_XMON_WR = 16, - LOCKDOWN_BPF_WRITE_USER = 17, - LOCKDOWN_DBG_WRITE_KERNEL = 18, - LOCKDOWN_RTAS_ERROR_INJECTION = 19, - LOCKDOWN_INTEGRITY_MAX = 20, - LOCKDOWN_KCORE = 21, - LOCKDOWN_KPROBES = 22, - LOCKDOWN_BPF_READ_KERNEL = 23, - LOCKDOWN_DBG_READ_KERNEL = 24, - LOCKDOWN_PERF = 25, - LOCKDOWN_TRACEFS = 26, - LOCKDOWN_XMON_RW = 27, - LOCKDOWN_XFRM_SECRET = 28, - LOCKDOWN_CONFIDENTIALITY_MAX = 29, -}; - -enum lru_list { - LRU_INACTIVE_ANON = 0, - LRU_ACTIVE_ANON = 1, - LRU_INACTIVE_FILE = 2, - LRU_ACTIVE_FILE = 3, - LRU_UNEVICTABLE = 4, - NR_LRU_LISTS = 5, -}; - -enum lru_status { - LRU_REMOVED = 0, - LRU_REMOVED_RETRY = 1, - LRU_ROTATE = 2, - LRU_SKIP = 3, - LRU_RETRY = 4, -}; - -enum lruvec_flags { - LRUVEC_CGROUP_CONGESTED = 0, - LRUVEC_NODE_CONGESTED = 1, -}; - -enum lw_bits { - LW_URGENT = 0, -}; - -enum lwtunnel_encap_types { - LWTUNNEL_ENCAP_NONE = 0, - LWTUNNEL_ENCAP_MPLS = 1, - LWTUNNEL_ENCAP_IP = 2, - LWTUNNEL_ENCAP_ILA = 3, - LWTUNNEL_ENCAP_IP6 = 4, - LWTUNNEL_ENCAP_SEG6 = 5, - LWTUNNEL_ENCAP_BPF = 6, - LWTUNNEL_ENCAP_SEG6_LOCAL = 7, - LWTUNNEL_ENCAP_RPL = 8, - LWTUNNEL_ENCAP_IOAM6 = 9, - LWTUNNEL_ENCAP_XFRM = 10, - __LWTUNNEL_ENCAP_MAX = 11, -}; - -enum lwtunnel_ip6_t { - LWTUNNEL_IP6_UNSPEC = 0, - LWTUNNEL_IP6_ID = 1, - LWTUNNEL_IP6_DST = 2, - LWTUNNEL_IP6_SRC = 3, - LWTUNNEL_IP6_HOPLIMIT = 4, - LWTUNNEL_IP6_TC = 5, - LWTUNNEL_IP6_FLAGS = 6, - LWTUNNEL_IP6_PAD = 7, - LWTUNNEL_IP6_OPTS = 8, - __LWTUNNEL_IP6_MAX = 9, -}; - -enum lwtunnel_ip_t { - LWTUNNEL_IP_UNSPEC = 0, - LWTUNNEL_IP_ID = 1, - LWTUNNEL_IP_DST = 2, - LWTUNNEL_IP_SRC = 3, - LWTUNNEL_IP_TTL = 4, - LWTUNNEL_IP_TOS = 5, - LWTUNNEL_IP_FLAGS = 6, - LWTUNNEL_IP_PAD = 7, - LWTUNNEL_IP_OPTS = 8, - __LWTUNNEL_IP_MAX = 9, -}; - -enum maple_type { - maple_dense = 0, - maple_leaf_64 = 1, - maple_range_64 = 2, - maple_arange_64 = 3, -}; - -enum mapping_flags { - AS_EIO = 0, - AS_ENOSPC = 1, - AS_MM_ALL_LOCKS = 2, - AS_UNEVICTABLE = 3, - AS_EXITING = 4, - AS_NO_WRITEBACK_TAGS = 5, - AS_LARGE_FOLIO_SUPPORT = 6, - AS_RELEASE_ALWAYS = 7, -}; - -enum memblock_flags { - MEMBLOCK_NONE = 0, - MEMBLOCK_HOTPLUG = 1, - MEMBLOCK_MIRROR = 2, - MEMBLOCK_NOMAP = 4, - MEMBLOCK_DRIVER_MANAGED = 8, -}; - -enum memcg_memory_event { - MEMCG_LOW = 0, - MEMCG_HIGH = 1, - MEMCG_MAX = 2, - MEMCG_OOM = 3, - MEMCG_OOM_KILL = 4, - MEMCG_OOM_GROUP_KILL = 5, - MEMCG_SWAP_HIGH = 6, - MEMCG_SWAP_MAX = 7, - MEMCG_SWAP_FAIL = 8, - MEMCG_NR_MEMORY_EVENTS = 9, -}; - -enum meminit_context { - MEMINIT_EARLY = 0, - MEMINIT_HOTPLUG = 1, -}; - -enum memory_type { - MEMORY_DEVICE_PRIVATE = 1, - MEMORY_DEVICE_COHERENT = 2, - MEMORY_DEVICE_FS_DAX = 3, - MEMORY_DEVICE_GENERIC = 4, - MEMORY_DEVICE_PCI_P2PDMA = 5, -}; - -enum metadata_type { - METADATA_IP_TUNNEL = 0, - METADATA_HW_PORT_MUX = 1, - METADATA_MACSEC = 2, - METADATA_XFRM = 3, -}; - -enum migrate_mode { - MIGRATE_ASYNC = 0, - MIGRATE_SYNC_LIGHT = 1, - MIGRATE_SYNC = 2, - MIGRATE_SYNC_NO_COPY = 3, -}; - -enum migrate_reason { - MR_COMPACTION = 0, - MR_MEMORY_FAILURE = 1, - MR_MEMORY_HOTPLUG = 2, - MR_SYSCALL = 3, - MR_MEMPOLICY_MBIND = 4, - MR_NUMA_MISPLACED = 5, - MR_CONTIG_RANGE = 6, - MR_LONGTERM_PIN = 7, - MR_DEMOTION = 8, - MR_TYPES = 9, -}; - -enum migratetype { - MIGRATE_UNMOVABLE = 0, - MIGRATE_MOVABLE = 1, - MIGRATE_RECLAIMABLE = 2, - MIGRATE_PCPTYPES = 3, - MIGRATE_HIGHATOMIC = 3, - MIGRATE_TYPES = 4, -}; - -enum mminit_level { - MMINIT_WARNING = 0, - MMINIT_VERIFY = 1, - MMINIT_TRACE = 2, -}; - -enum mnt_tree_flags_t { - MNT_TREE_MOVE = 1, - MNT_TREE_BENEATH = 2, -}; - -enum mod_license { - NOT_GPL_ONLY = 0, - GPL_ONLY = 1, -}; - -enum mod_mem_type { - MOD_TEXT = 0, - MOD_DATA = 1, - MOD_RODATA = 2, - MOD_RO_AFTER_INIT = 3, - MOD_INIT_TEXT = 4, - MOD_INIT_DATA = 5, - MOD_INIT_RODATA = 6, - MOD_MEM_NUM_TYPES = 7, - MOD_INVALID = -1, -}; - -enum module_state { - MODULE_STATE_LIVE = 0, - MODULE_STATE_COMING = 1, - MODULE_STATE_GOING = 2, - MODULE_STATE_UNFORMED = 3, -}; - -enum msi_domain_ids { - MSI_DEFAULT_DOMAIN = 0, - MSI_SECONDARY_DOMAIN = 1, - MSI_MAX_DEVICE_IRQDOMAINS = 2, -}; - -enum net_device_flags { - IFF_UP = 1, - IFF_BROADCAST = 2, - IFF_DEBUG = 4, - IFF_LOOPBACK = 8, - IFF_POINTOPOINT = 16, - IFF_NOTRAILERS = 32, - IFF_RUNNING = 64, - IFF_NOARP = 128, - IFF_PROMISC = 256, - IFF_ALLMULTI = 512, - IFF_MASTER = 1024, - IFF_SLAVE = 2048, - IFF_MULTICAST = 4096, - IFF_PORTSEL = 8192, - IFF_AUTOMEDIA = 16384, - IFF_DYNAMIC = 32768, - IFF_LOWER_UP = 65536, - IFF_DORMANT = 131072, - IFF_ECHO = 262144, -}; - -enum net_device_path_type { - DEV_PATH_ETHERNET = 0, - DEV_PATH_VLAN = 1, - DEV_PATH_BRIDGE = 2, - DEV_PATH_PPPOE = 3, - DEV_PATH_DSA = 4, - DEV_PATH_MTK_WDMA = 5, -}; - -enum netdev_cmd { - NETDEV_UP = 1, - NETDEV_DOWN = 2, - NETDEV_REBOOT = 3, - NETDEV_CHANGE = 4, - NETDEV_REGISTER = 5, - NETDEV_UNREGISTER = 6, - NETDEV_CHANGEMTU = 7, - NETDEV_CHANGEADDR = 8, - NETDEV_PRE_CHANGEADDR = 9, - NETDEV_GOING_DOWN = 10, - NETDEV_CHANGENAME = 11, - NETDEV_FEAT_CHANGE = 12, - NETDEV_BONDING_FAILOVER = 13, - NETDEV_PRE_UP = 14, - NETDEV_PRE_TYPE_CHANGE = 15, - NETDEV_POST_TYPE_CHANGE = 16, - NETDEV_POST_INIT = 17, - NETDEV_PRE_UNINIT = 18, - NETDEV_RELEASE = 19, - NETDEV_NOTIFY_PEERS = 20, - NETDEV_JOIN = 21, - NETDEV_CHANGEUPPER = 22, - NETDEV_RESEND_IGMP = 23, - NETDEV_PRECHANGEMTU = 24, - NETDEV_CHANGEINFODATA = 25, - NETDEV_BONDING_INFO = 26, - NETDEV_PRECHANGEUPPER = 27, - NETDEV_CHANGELOWERSTATE = 28, - NETDEV_UDP_TUNNEL_PUSH_INFO = 29, - NETDEV_UDP_TUNNEL_DROP_INFO = 30, - NETDEV_CHANGE_TX_QUEUE_LEN = 31, - NETDEV_CVLAN_FILTER_PUSH_INFO = 32, - NETDEV_CVLAN_FILTER_DROP_INFO = 33, - NETDEV_SVLAN_FILTER_PUSH_INFO = 34, - NETDEV_SVLAN_FILTER_DROP_INFO = 35, - NETDEV_OFFLOAD_XSTATS_ENABLE = 36, - NETDEV_OFFLOAD_XSTATS_DISABLE = 37, - NETDEV_OFFLOAD_XSTATS_REPORT_USED = 38, - NETDEV_OFFLOAD_XSTATS_REPORT_DELTA = 39, - NETDEV_XDP_FEAT_CHANGE = 40, -}; - -enum netdev_ml_priv_type { - ML_PRIV_NONE = 0, - ML_PRIV_CAN = 1, -}; - -enum netdev_offload_xstats_type { - NETDEV_OFFLOAD_XSTATS_TYPE_L3 = 1, -}; - -enum netdev_priv_flags { - IFF_802_1Q_VLAN = 1ULL, - IFF_EBRIDGE = 2ULL, - IFF_BONDING = 4ULL, - IFF_ISATAP = 8ULL, - IFF_WAN_HDLC = 16ULL, - IFF_XMIT_DST_RELEASE = 32ULL, - IFF_DONT_BRIDGE = 64ULL, - IFF_DISABLE_NETPOLL = 128ULL, - IFF_MACVLAN_PORT = 256ULL, - IFF_BRIDGE_PORT = 512ULL, - IFF_OVS_DATAPATH = 1024ULL, - IFF_TX_SKB_SHARING = 2048ULL, - IFF_UNICAST_FLT = 4096ULL, - IFF_TEAM_PORT = 8192ULL, - IFF_SUPP_NOFCS = 16384ULL, - IFF_LIVE_ADDR_CHANGE = 32768ULL, - IFF_MACVLAN = 65536ULL, - IFF_XMIT_DST_RELEASE_PERM = 131072ULL, - IFF_L3MDEV_MASTER = 262144ULL, - IFF_NO_QUEUE = 524288ULL, - IFF_OPENVSWITCH = 1048576ULL, - IFF_L3MDEV_SLAVE = 2097152ULL, - IFF_TEAM = 4194304ULL, - IFF_RXFH_CONFIGURED = 8388608ULL, - IFF_PHONY_HEADROOM = 16777216ULL, - IFF_MACSEC = 33554432ULL, - IFF_NO_RX_HANDLER = 67108864ULL, - IFF_FAILOVER = 134217728ULL, - IFF_FAILOVER_SLAVE = 268435456ULL, - IFF_L3MDEV_RX_HANDLER = 536870912ULL, - IFF_NO_ADDRCONF = 1073741824ULL, - IFF_TX_SKB_NO_LINEAR = 2147483648ULL, - IFF_CHANGE_PROTO_DOWN = 4294967296ULL, - IFF_SEE_ALL_HWTSTAMP_REQUESTS = 8589934592ULL, -}; - -enum netdev_queue_state_t { - __QUEUE_STATE_DRV_XOFF = 0, - __QUEUE_STATE_STACK_XOFF = 1, - __QUEUE_STATE_FROZEN = 2, -}; - -enum netdev_state_t { - __LINK_STATE_START = 0, - __LINK_STATE_PRESENT = 1, - __LINK_STATE_NOCARRIER = 2, - __LINK_STATE_LINKWATCH_PENDING = 3, - __LINK_STATE_DORMANT = 4, - __LINK_STATE_TESTING = 5, -}; - -enum netdev_tx { - __NETDEV_TX_MIN = -2147483648, - NETDEV_TX_OK = 0, - NETDEV_TX_BUSY = 16, -}; - -typedef enum netdev_tx netdev_tx_t; - -enum netdev_xdp_act { - NETDEV_XDP_ACT_BASIC = 1, - NETDEV_XDP_ACT_REDIRECT = 2, - NETDEV_XDP_ACT_NDO_XMIT = 4, - NETDEV_XDP_ACT_XSK_ZEROCOPY = 8, - NETDEV_XDP_ACT_HW_OFFLOAD = 16, - NETDEV_XDP_ACT_RX_SG = 32, - NETDEV_XDP_ACT_NDO_XMIT_SG = 64, - NETDEV_XDP_ACT_MASK = 127, -}; - -enum netevent_notif_type { - NETEVENT_NEIGH_UPDATE = 1, - NETEVENT_REDIRECT = 2, - NETEVENT_DELAY_PROBE_TIME_UPDATE = 3, - NETEVENT_IPV4_MPATH_HASH_UPDATE = 4, - NETEVENT_IPV6_MPATH_HASH_UPDATE = 5, - NETEVENT_IPV4_FWD_UPDATE_PRIORITY_UPDATE = 6, -}; - -enum netlink_attribute_type { - NL_ATTR_TYPE_INVALID = 0, - NL_ATTR_TYPE_FLAG = 1, - NL_ATTR_TYPE_U8 = 2, - NL_ATTR_TYPE_U16 = 3, - NL_ATTR_TYPE_U32 = 4, - NL_ATTR_TYPE_U64 = 5, - NL_ATTR_TYPE_S8 = 6, - NL_ATTR_TYPE_S16 = 7, - NL_ATTR_TYPE_S32 = 8, - NL_ATTR_TYPE_S64 = 9, - NL_ATTR_TYPE_BINARY = 10, - NL_ATTR_TYPE_STRING = 11, - NL_ATTR_TYPE_NUL_STRING = 12, - NL_ATTR_TYPE_NESTED = 13, - NL_ATTR_TYPE_NESTED_ARRAY = 14, - NL_ATTR_TYPE_BITFIELD32 = 15, -}; - -enum netlink_policy_type_attr { - NL_POLICY_TYPE_ATTR_UNSPEC = 0, - NL_POLICY_TYPE_ATTR_TYPE = 1, - NL_POLICY_TYPE_ATTR_MIN_VALUE_S = 2, - NL_POLICY_TYPE_ATTR_MAX_VALUE_S = 3, - NL_POLICY_TYPE_ATTR_MIN_VALUE_U = 4, - NL_POLICY_TYPE_ATTR_MAX_VALUE_U = 5, - NL_POLICY_TYPE_ATTR_MIN_LENGTH = 6, - NL_POLICY_TYPE_ATTR_MAX_LENGTH = 7, - NL_POLICY_TYPE_ATTR_POLICY_IDX = 8, - NL_POLICY_TYPE_ATTR_POLICY_MAXTYPE = 9, - NL_POLICY_TYPE_ATTR_BITFIELD32_MASK = 10, - NL_POLICY_TYPE_ATTR_PAD = 11, - NL_POLICY_TYPE_ATTR_MASK = 12, - __NL_POLICY_TYPE_ATTR_MAX = 13, - NL_POLICY_TYPE_ATTR_MAX = 12, -}; - -enum netlink_skb_flags { - NETLINK_SKB_DST = 8, -}; - -enum netlink_validation { - NL_VALIDATE_LIBERAL = 0, - NL_VALIDATE_TRAILING = 1, - NL_VALIDATE_MAXTYPE = 2, - NL_VALIDATE_UNSPEC = 4, - NL_VALIDATE_STRICT_ATTRS = 8, - NL_VALIDATE_NESTED = 16, -}; - -enum netns_bpf_attach_type { - NETNS_BPF_INVALID = -1, - NETNS_BPF_FLOW_DISSECTOR = 0, - NETNS_BPF_SK_LOOKUP = 1, - MAX_NETNS_BPF_ATTACH_TYPE = 2, -}; - -enum nexthop_event_type { - NEXTHOP_EVENT_DEL = 0, - NEXTHOP_EVENT_REPLACE = 1, - NEXTHOP_EVENT_RES_TABLE_PRE_REPLACE = 2, - NEXTHOP_EVENT_BUCKET_REPLACE = 3, -}; - -enum nf_dev_hooks { - NF_NETDEV_INGRESS = 0, - NF_NETDEV_EGRESS = 1, - NF_NETDEV_NUMHOOKS = 2, -}; - -enum nf_hook_ops_type { - NF_HOOK_OP_UNDEFINED = 0, - NF_HOOK_OP_NF_TABLES = 1, - NF_HOOK_OP_BPF = 2, -}; - -enum nf_inet_hooks { - NF_INET_PRE_ROUTING = 0, - NF_INET_LOCAL_IN = 1, - NF_INET_FORWARD = 2, - NF_INET_LOCAL_OUT = 3, - NF_INET_POST_ROUTING = 4, - NF_INET_NUMHOOKS = 5, - NF_INET_INGRESS = 5, -}; - -enum nf_ip_hook_priorities { - NF_IP_PRI_FIRST = -2147483648, - NF_IP_PRI_RAW_BEFORE_DEFRAG = -450, - NF_IP_PRI_CONNTRACK_DEFRAG = -400, - NF_IP_PRI_RAW = -300, - NF_IP_PRI_SELINUX_FIRST = -225, - NF_IP_PRI_CONNTRACK = -200, - NF_IP_PRI_MANGLE = -150, - NF_IP_PRI_NAT_DST = -100, - NF_IP_PRI_FILTER = 0, - NF_IP_PRI_SECURITY = 50, - NF_IP_PRI_NAT_SRC = 100, - NF_IP_PRI_SELINUX_LAST = 225, - NF_IP_PRI_CONNTRACK_HELPER = 300, - NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, - NF_IP_PRI_LAST = 2147483647, -}; - -enum nf_log_type { - NF_LOG_TYPE_LOG = 0, - NF_LOG_TYPE_ULOG = 1, - NF_LOG_TYPE_MAX = 2, -}; - -enum nfs_opnum4 { - OP_ACCESS = 3, - OP_CLOSE = 4, - OP_COMMIT = 5, - OP_CREATE = 6, - OP_DELEGPURGE = 7, - OP_DELEGRETURN = 8, - OP_GETATTR = 9, - OP_GETFH = 10, - OP_LINK = 11, - OP_LOCK = 12, - OP_LOCKT = 13, - OP_LOCKU = 14, - OP_LOOKUP = 15, - OP_LOOKUPP = 16, - OP_NVERIFY = 17, - OP_OPEN = 18, - OP_OPENATTR = 19, - OP_OPEN_CONFIRM = 20, - OP_OPEN_DOWNGRADE = 21, - OP_PUTFH = 22, - OP_PUTPUBFH = 23, - OP_PUTROOTFH = 24, - OP_READ = 25, - OP_READDIR = 26, - OP_READLINK = 27, - OP_REMOVE = 28, - OP_RENAME = 29, - OP_RENEW = 30, - OP_RESTOREFH = 31, - OP_SAVEFH = 32, - OP_SECINFO = 33, - OP_SETATTR = 34, - OP_SETCLIENTID = 35, - OP_SETCLIENTID_CONFIRM = 36, - OP_VERIFY = 37, - OP_WRITE = 38, - OP_RELEASE_LOCKOWNER = 39, - OP_BACKCHANNEL_CTL = 40, - OP_BIND_CONN_TO_SESSION = 41, - OP_EXCHANGE_ID = 42, - OP_CREATE_SESSION = 43, - OP_DESTROY_SESSION = 44, - OP_FREE_STATEID = 45, - OP_GET_DIR_DELEGATION = 46, - OP_GETDEVICEINFO = 47, - OP_GETDEVICELIST = 48, - OP_LAYOUTCOMMIT = 49, - OP_LAYOUTGET = 50, - OP_LAYOUTRETURN = 51, - OP_SECINFO_NO_NAME = 52, - OP_SEQUENCE = 53, - OP_SET_SSV = 54, - OP_TEST_STATEID = 55, - OP_WANT_DELEGATION = 56, - OP_DESTROY_CLIENTID = 57, - OP_RECLAIM_COMPLETE = 58, - OP_ALLOCATE = 59, - OP_COPY = 60, - OP_COPY_NOTIFY = 61, - OP_DEALLOCATE = 62, - OP_IO_ADVISE = 63, - OP_LAYOUTERROR = 64, - OP_LAYOUTSTATS = 65, - OP_OFFLOAD_CANCEL = 66, - OP_OFFLOAD_STATUS = 67, - OP_READ_PLUS = 68, - OP_SEEK = 69, - OP_WRITE_SAME = 70, - OP_CLONE = 71, - OP_GETXATTR = 72, - OP_SETXATTR = 73, - OP_LISTXATTRS = 74, - OP_REMOVEXATTR = 75, - OP_ILLEGAL = 10044, -}; - -enum nh_notifier_info_type { - NH_NOTIFIER_INFO_TYPE_SINGLE = 0, - NH_NOTIFIER_INFO_TYPE_GRP = 1, - NH_NOTIFIER_INFO_TYPE_RES_TABLE = 2, - NH_NOTIFIER_INFO_TYPE_RES_BUCKET = 3, -}; - -enum nla_policy_validation { - NLA_VALIDATE_NONE = 0, - NLA_VALIDATE_RANGE = 1, - NLA_VALIDATE_RANGE_WARN_TOO_LONG = 2, - NLA_VALIDATE_MIN = 3, - NLA_VALIDATE_MAX = 4, - NLA_VALIDATE_MASK = 5, - NLA_VALIDATE_RANGE_PTR = 6, - NLA_VALIDATE_FUNCTION = 7, -}; - -enum nlmsgerr_attrs { - NLMSGERR_ATTR_UNUSED = 0, - NLMSGERR_ATTR_MSG = 1, - NLMSGERR_ATTR_OFFS = 2, - NLMSGERR_ATTR_COOKIE = 3, - NLMSGERR_ATTR_POLICY = 4, - NLMSGERR_ATTR_MISS_TYPE = 5, - NLMSGERR_ATTR_MISS_NEST = 6, - __NLMSGERR_ATTR_MAX = 7, - NLMSGERR_ATTR_MAX = 6, -}; - -enum node_stat_item { - NR_LRU_BASE = 0, - NR_INACTIVE_ANON = 0, - NR_ACTIVE_ANON = 1, - NR_INACTIVE_FILE = 2, - NR_ACTIVE_FILE = 3, - NR_UNEVICTABLE = 4, - NR_SLAB_RECLAIMABLE_B = 5, - NR_SLAB_UNRECLAIMABLE_B = 6, - NR_ISOLATED_ANON = 7, - NR_ISOLATED_FILE = 8, - WORKINGSET_NODES = 9, - WORKINGSET_REFAULT_BASE = 10, - WORKINGSET_REFAULT_ANON = 10, - WORKINGSET_REFAULT_FILE = 11, - WORKINGSET_ACTIVATE_BASE = 12, - WORKINGSET_ACTIVATE_ANON = 12, - WORKINGSET_ACTIVATE_FILE = 13, - WORKINGSET_RESTORE_BASE = 14, - WORKINGSET_RESTORE_ANON = 14, - WORKINGSET_RESTORE_FILE = 15, - WORKINGSET_NODERECLAIM = 16, - NR_ANON_MAPPED = 17, - NR_FILE_MAPPED = 18, - NR_FILE_PAGES = 19, - NR_FILE_DIRTY = 20, - NR_WRITEBACK = 21, - NR_WRITEBACK_TEMP = 22, - NR_SHMEM = 23, - NR_SHMEM_THPS = 24, - NR_SHMEM_PMDMAPPED = 25, - NR_FILE_THPS = 26, - NR_FILE_PMDMAPPED = 27, - NR_ANON_THPS = 28, - NR_VMSCAN_WRITE = 29, - NR_VMSCAN_IMMEDIATE = 30, - NR_DIRTIED = 31, - NR_WRITTEN = 32, - NR_THROTTLED_WRITTEN = 33, - NR_KERNEL_MISC_RECLAIMABLE = 34, - NR_FOLL_PIN_ACQUIRED = 35, - NR_FOLL_PIN_RELEASED = 36, - NR_KERNEL_STACK_KB = 37, - NR_PAGETABLE = 38, - NR_SECONDARY_PAGETABLE = 39, - NR_VM_NODE_STAT_ITEMS = 40, -}; - -enum node_states { - N_POSSIBLE = 0, - N_ONLINE = 1, - N_NORMAL_MEMORY = 2, - N_HIGH_MEMORY = 2, - N_MEMORY = 3, - N_CPU = 4, - N_GENERIC_INITIATOR = 5, - NR_NODE_STATES = 6, -}; - -enum offload_act_command { - FLOW_ACT_REPLACE = 0, - FLOW_ACT_DESTROY = 1, - FLOW_ACT_STATS = 2, -}; - -enum oom_constraint { - CONSTRAINT_NONE = 0, - CONSTRAINT_CPUSET = 1, - CONSTRAINT_MEMORY_POLICY = 2, - CONSTRAINT_MEMCG = 3, -}; - -enum owner_state { - OWNER_NULL = 1, - OWNER_WRITER = 2, - OWNER_READER = 4, - OWNER_NONSPINNABLE = 8, -}; - -enum pageblock_bits { - PB_migrate = 0, - PB_migrate_end = 2, - PB_migrate_skip = 3, - NR_PAGEBLOCK_BITS = 4, -}; - -enum pageflags { - PG_locked = 0, - PG_writeback = 1, - PG_referenced = 2, - PG_uptodate = 3, - PG_dirty = 4, - PG_lru = 5, - PG_head = 6, - PG_waiters = 7, - PG_active = 8, - PG_workingset = 9, - PG_error = 10, - PG_slab = 11, - PG_owner_priv_1 = 12, - PG_arch_1 = 13, - PG_reserved = 14, - PG_private = 15, - PG_private_2 = 16, - PG_mappedtodisk = 17, - PG_reclaim = 18, - PG_swapbacked = 19, - PG_unevictable = 20, - __NR_PAGEFLAGS = 21, - PG_readahead = 18, - PG_anon_exclusive = 17, - PG_checked = 12, - PG_swapcache = 12, - PG_fscache = 16, - PG_pinned = 12, - PG_savepinned = 4, - PG_foreign = 12, - PG_xen_remapped = 12, - PG_isolated = 18, - PG_reported = 3, - PG_has_hwpoisoned = 10, - PG_hugetlb = 8, - PG_large_rmappable = 9, -}; - -enum pci_p2pdma_map_type { - PCI_P2PDMA_MAP_UNKNOWN = 0, - PCI_P2PDMA_MAP_NOT_SUPPORTED = 1, - PCI_P2PDMA_MAP_BUS_ADDR = 2, - PCI_P2PDMA_MAP_THRU_HOST_BRIDGE = 3, -}; - -enum pcpu_fc { - PCPU_FC_AUTO = 0, - PCPU_FC_EMBED = 1, - PCPU_FC_PAGE = 2, - PCPU_FC_NR = 3, -}; - -enum perf_addr_filter_action_t { - PERF_ADDR_FILTER_ACTION_STOP = 0, - PERF_ADDR_FILTER_ACTION_START = 1, - PERF_ADDR_FILTER_ACTION_FILTER = 2, -}; - -enum perf_bpf_event_type { - PERF_BPF_EVENT_UNKNOWN = 0, - PERF_BPF_EVENT_PROG_LOAD = 1, - PERF_BPF_EVENT_PROG_UNLOAD = 2, - PERF_BPF_EVENT_MAX = 3, -}; - -enum perf_branch_sample_type { - PERF_SAMPLE_BRANCH_USER = 1, - PERF_SAMPLE_BRANCH_KERNEL = 2, - PERF_SAMPLE_BRANCH_HV = 4, - PERF_SAMPLE_BRANCH_ANY = 8, - PERF_SAMPLE_BRANCH_ANY_CALL = 16, - PERF_SAMPLE_BRANCH_ANY_RETURN = 32, - PERF_SAMPLE_BRANCH_IND_CALL = 64, - PERF_SAMPLE_BRANCH_ABORT_TX = 128, - PERF_SAMPLE_BRANCH_IN_TX = 256, - PERF_SAMPLE_BRANCH_NO_TX = 512, - PERF_SAMPLE_BRANCH_COND = 1024, - PERF_SAMPLE_BRANCH_CALL_STACK = 2048, - PERF_SAMPLE_BRANCH_IND_JUMP = 4096, - PERF_SAMPLE_BRANCH_CALL = 8192, - PERF_SAMPLE_BRANCH_NO_FLAGS = 16384, - PERF_SAMPLE_BRANCH_NO_CYCLES = 32768, - PERF_SAMPLE_BRANCH_TYPE_SAVE = 65536, - PERF_SAMPLE_BRANCH_HW_INDEX = 131072, - PERF_SAMPLE_BRANCH_PRIV_SAVE = 262144, - PERF_SAMPLE_BRANCH_MAX = 524288, -}; - -enum perf_branch_sample_type_shift { - PERF_SAMPLE_BRANCH_USER_SHIFT = 0, - PERF_SAMPLE_BRANCH_KERNEL_SHIFT = 1, - PERF_SAMPLE_BRANCH_HV_SHIFT = 2, - PERF_SAMPLE_BRANCH_ANY_SHIFT = 3, - PERF_SAMPLE_BRANCH_ANY_CALL_SHIFT = 4, - PERF_SAMPLE_BRANCH_ANY_RETURN_SHIFT = 5, - PERF_SAMPLE_BRANCH_IND_CALL_SHIFT = 6, - PERF_SAMPLE_BRANCH_ABORT_TX_SHIFT = 7, - PERF_SAMPLE_BRANCH_IN_TX_SHIFT = 8, - PERF_SAMPLE_BRANCH_NO_TX_SHIFT = 9, - PERF_SAMPLE_BRANCH_COND_SHIFT = 10, - PERF_SAMPLE_BRANCH_CALL_STACK_SHIFT = 11, - PERF_SAMPLE_BRANCH_IND_JUMP_SHIFT = 12, - PERF_SAMPLE_BRANCH_CALL_SHIFT = 13, - PERF_SAMPLE_BRANCH_NO_FLAGS_SHIFT = 14, - PERF_SAMPLE_BRANCH_NO_CYCLES_SHIFT = 15, - PERF_SAMPLE_BRANCH_TYPE_SAVE_SHIFT = 16, - PERF_SAMPLE_BRANCH_HW_INDEX_SHIFT = 17, - PERF_SAMPLE_BRANCH_PRIV_SAVE_SHIFT = 18, - PERF_SAMPLE_BRANCH_MAX_SHIFT = 19, -}; - -enum perf_callchain_context { - PERF_CONTEXT_HV = 18446744073709551584ULL, - PERF_CONTEXT_KERNEL = 18446744073709551488ULL, - PERF_CONTEXT_USER = 18446744073709551104ULL, - PERF_CONTEXT_GUEST = 18446744073709549568ULL, - PERF_CONTEXT_GUEST_KERNEL = 18446744073709549440ULL, - PERF_CONTEXT_GUEST_USER = 18446744073709549056ULL, - PERF_CONTEXT_MAX = 18446744073709547521ULL, -}; - -enum perf_event_arm_regs { - PERF_REG_ARM_R0 = 0, - PERF_REG_ARM_R1 = 1, - PERF_REG_ARM_R2 = 2, - PERF_REG_ARM_R3 = 3, - PERF_REG_ARM_R4 = 4, - PERF_REG_ARM_R5 = 5, - PERF_REG_ARM_R6 = 6, - PERF_REG_ARM_R7 = 7, - PERF_REG_ARM_R8 = 8, - PERF_REG_ARM_R9 = 9, - PERF_REG_ARM_R10 = 10, - PERF_REG_ARM_FP = 11, - PERF_REG_ARM_IP = 12, - PERF_REG_ARM_SP = 13, - PERF_REG_ARM_LR = 14, - PERF_REG_ARM_PC = 15, - PERF_REG_ARM_MAX = 16, -}; - -enum perf_event_ioc_flags { - PERF_IOC_FLAG_GROUP = 1, -}; - -enum perf_event_read_format { - PERF_FORMAT_TOTAL_TIME_ENABLED = 1, - PERF_FORMAT_TOTAL_TIME_RUNNING = 2, - PERF_FORMAT_ID = 4, - PERF_FORMAT_GROUP = 8, - PERF_FORMAT_LOST = 16, - PERF_FORMAT_MAX = 32, -}; - -enum perf_event_sample_format { - PERF_SAMPLE_IP = 1, - PERF_SAMPLE_TID = 2, - PERF_SAMPLE_TIME = 4, - PERF_SAMPLE_ADDR = 8, - PERF_SAMPLE_READ = 16, - PERF_SAMPLE_CALLCHAIN = 32, - PERF_SAMPLE_ID = 64, - PERF_SAMPLE_CPU = 128, - PERF_SAMPLE_PERIOD = 256, - PERF_SAMPLE_STREAM_ID = 512, - PERF_SAMPLE_RAW = 1024, - PERF_SAMPLE_BRANCH_STACK = 2048, - PERF_SAMPLE_REGS_USER = 4096, - PERF_SAMPLE_STACK_USER = 8192, - PERF_SAMPLE_WEIGHT = 16384, - PERF_SAMPLE_DATA_SRC = 32768, - PERF_SAMPLE_IDENTIFIER = 65536, - PERF_SAMPLE_TRANSACTION = 131072, - PERF_SAMPLE_REGS_INTR = 262144, - PERF_SAMPLE_PHYS_ADDR = 524288, - PERF_SAMPLE_AUX = 1048576, - PERF_SAMPLE_CGROUP = 2097152, - PERF_SAMPLE_DATA_PAGE_SIZE = 4194304, - PERF_SAMPLE_CODE_PAGE_SIZE = 8388608, - PERF_SAMPLE_WEIGHT_STRUCT = 16777216, - PERF_SAMPLE_MAX = 33554432, -}; - -enum perf_event_state { - PERF_EVENT_STATE_DEAD = -4, - PERF_EVENT_STATE_EXIT = -3, - PERF_EVENT_STATE_ERROR = -2, - PERF_EVENT_STATE_OFF = -1, - PERF_EVENT_STATE_INACTIVE = 0, - PERF_EVENT_STATE_ACTIVE = 1, -}; - -enum perf_event_task_context { - perf_invalid_context = -1, - perf_hw_context = 0, - perf_sw_context = 1, - perf_nr_task_contexts = 2, -}; - -enum perf_event_type { - PERF_RECORD_MMAP = 1, - PERF_RECORD_LOST = 2, - PERF_RECORD_COMM = 3, - PERF_RECORD_EXIT = 4, - PERF_RECORD_THROTTLE = 5, - PERF_RECORD_UNTHROTTLE = 6, - PERF_RECORD_FORK = 7, - PERF_RECORD_READ = 8, - PERF_RECORD_SAMPLE = 9, - PERF_RECORD_MMAP2 = 10, - PERF_RECORD_AUX = 11, - PERF_RECORD_ITRACE_START = 12, - PERF_RECORD_LOST_SAMPLES = 13, - PERF_RECORD_SWITCH = 14, - PERF_RECORD_SWITCH_CPU_WIDE = 15, - PERF_RECORD_NAMESPACES = 16, - PERF_RECORD_KSYMBOL = 17, - PERF_RECORD_BPF_EVENT = 18, - PERF_RECORD_CGROUP = 19, - PERF_RECORD_TEXT_POKE = 20, - PERF_RECORD_AUX_OUTPUT_HW_ID = 21, - PERF_RECORD_MAX = 22, -}; - -enum perf_hw_cache_id { - PERF_COUNT_HW_CACHE_L1D = 0, - PERF_COUNT_HW_CACHE_L1I = 1, - PERF_COUNT_HW_CACHE_LL = 2, - PERF_COUNT_HW_CACHE_DTLB = 3, - PERF_COUNT_HW_CACHE_ITLB = 4, - PERF_COUNT_HW_CACHE_BPU = 5, - PERF_COUNT_HW_CACHE_NODE = 6, - PERF_COUNT_HW_CACHE_MAX = 7, -}; - -enum perf_hw_cache_op_id { - PERF_COUNT_HW_CACHE_OP_READ = 0, - PERF_COUNT_HW_CACHE_OP_WRITE = 1, - PERF_COUNT_HW_CACHE_OP_PREFETCH = 2, - PERF_COUNT_HW_CACHE_OP_MAX = 3, -}; - -enum perf_hw_cache_op_result_id { - PERF_COUNT_HW_CACHE_RESULT_ACCESS = 0, - PERF_COUNT_HW_CACHE_RESULT_MISS = 1, - PERF_COUNT_HW_CACHE_RESULT_MAX = 2, -}; - -enum perf_hw_id { - PERF_COUNT_HW_CPU_CYCLES = 0, - PERF_COUNT_HW_INSTRUCTIONS = 1, - PERF_COUNT_HW_CACHE_REFERENCES = 2, - PERF_COUNT_HW_CACHE_MISSES = 3, - PERF_COUNT_HW_BRANCH_INSTRUCTIONS = 4, - PERF_COUNT_HW_BRANCH_MISSES = 5, - PERF_COUNT_HW_BUS_CYCLES = 6, - PERF_COUNT_HW_STALLED_CYCLES_FRONTEND = 7, - PERF_COUNT_HW_STALLED_CYCLES_BACKEND = 8, - PERF_COUNT_HW_REF_CPU_CYCLES = 9, - PERF_COUNT_HW_MAX = 10, -}; - -enum perf_record_ksymbol_type { - PERF_RECORD_KSYMBOL_TYPE_UNKNOWN = 0, - PERF_RECORD_KSYMBOL_TYPE_BPF = 1, - PERF_RECORD_KSYMBOL_TYPE_OOL = 2, - PERF_RECORD_KSYMBOL_TYPE_MAX = 3, -}; - -enum perf_sample_regs_abi { - PERF_SAMPLE_REGS_ABI_NONE = 0, - PERF_SAMPLE_REGS_ABI_32 = 1, - PERF_SAMPLE_REGS_ABI_64 = 2, -}; - -enum perf_sw_ids { - PERF_COUNT_SW_CPU_CLOCK = 0, - PERF_COUNT_SW_TASK_CLOCK = 1, - PERF_COUNT_SW_PAGE_FAULTS = 2, - PERF_COUNT_SW_CONTEXT_SWITCHES = 3, - PERF_COUNT_SW_CPU_MIGRATIONS = 4, - PERF_COUNT_SW_PAGE_FAULTS_MIN = 5, - PERF_COUNT_SW_PAGE_FAULTS_MAJ = 6, - PERF_COUNT_SW_ALIGNMENT_FAULTS = 7, - PERF_COUNT_SW_EMULATION_FAULTS = 8, - PERF_COUNT_SW_DUMMY = 9, - PERF_COUNT_SW_BPF_OUTPUT = 10, - PERF_COUNT_SW_CGROUP_SWITCHES = 11, - PERF_COUNT_SW_MAX = 12, -}; - -enum perf_type_id { - PERF_TYPE_HARDWARE = 0, - PERF_TYPE_SOFTWARE = 1, - PERF_TYPE_TRACEPOINT = 2, - PERF_TYPE_HW_CACHE = 3, - PERF_TYPE_RAW = 4, - PERF_TYPE_BREAKPOINT = 5, - PERF_TYPE_MAX = 6, -}; - -enum pgdat_flags { - PGDAT_DIRTY = 0, - PGDAT_WRITEBACK = 1, - PGDAT_RECLAIM_LOCKED = 2, -}; - -enum phy_state { - PHY_DOWN = 0, - PHY_READY = 1, - PHY_HALTED = 2, - PHY_ERROR = 3, - PHY_UP = 4, - PHY_RUNNING = 5, - PHY_NOLINK = 6, - PHY_CABLETEST = 7, -}; - -enum phy_tunable_id { - ETHTOOL_PHY_ID_UNSPEC = 0, - ETHTOOL_PHY_DOWNSHIFT = 1, - ETHTOOL_PHY_FAST_LINK_DOWN = 2, - ETHTOOL_PHY_EDPD = 3, - __ETHTOOL_PHY_TUNABLE_COUNT = 4, -}; - -enum pid_type { - PIDTYPE_PID = 0, - PIDTYPE_TGID = 1, - PIDTYPE_PGID = 2, - PIDTYPE_SID = 3, - PIDTYPE_MAX = 4, -}; - -enum pkt_hash_types { - PKT_HASH_TYPE_NONE = 0, - PKT_HASH_TYPE_L2 = 1, - PKT_HASH_TYPE_L3 = 2, - PKT_HASH_TYPE_L4 = 3, -}; - -enum pm_qos_req_action { - PM_QOS_ADD_REQ = 0, - PM_QOS_UPDATE_REQ = 1, - PM_QOS_REMOVE_REQ = 2, -}; - -enum pm_qos_type { - PM_QOS_UNITIALIZED = 0, - PM_QOS_MAX = 1, - PM_QOS_MIN = 2, -}; - -enum poll_time_type { - PT_TIMEVAL = 0, - PT_OLD_TIMEVAL = 1, - PT_TIMESPEC = 2, - PT_OLD_TIMESPEC = 3, -}; - -enum pool_workqueue_stats { - PWQ_STAT_STARTED = 0, - PWQ_STAT_COMPLETED = 1, - PWQ_STAT_CPU_TIME = 2, - PWQ_STAT_CPU_INTENSIVE = 3, - PWQ_STAT_CM_WAKEUP = 4, - PWQ_STAT_REPATRIATED = 5, - PWQ_STAT_MAYDAY = 6, - PWQ_STAT_RESCUED = 7, - PWQ_NR_STATS = 8, -}; - -enum positive_aop_returns { - AOP_WRITEPAGE_ACTIVATE = 524288, - AOP_TRUNCATED_PAGE = 524289, -}; - -enum probe_type { - PROBE_DEFAULT_STRATEGY = 0, - PROBE_PREFER_ASYNCHRONOUS = 1, - PROBE_FORCE_SYNCHRONOUS = 2, -}; - -enum proc_cn_event { - PROC_EVENT_NONE = 0, - PROC_EVENT_FORK = 1, - PROC_EVENT_EXEC = 2, - PROC_EVENT_UID = 4, - PROC_EVENT_GID = 64, - PROC_EVENT_SID = 128, - PROC_EVENT_PTRACE = 256, - PROC_EVENT_COMM = 512, - PROC_EVENT_NONZERO_EXIT = 536870912, - PROC_EVENT_COREDUMP = 1073741824, - PROC_EVENT_EXIT = 2147483648, -}; - -enum ptrace_syscall_dir { - PTRACE_SYSCALL_ENTER = 0, - PTRACE_SYSCALL_EXIT = 1, -}; - -enum qdisc_state2_t { - __QDISC_STATE2_RUNNING = 0, -}; - -enum qdisc_state_t { - __QDISC_STATE_SCHED = 0, - __QDISC_STATE_DEACTIVATED = 1, - __QDISC_STATE_MISSED = 2, - __QDISC_STATE_DRAINING = 3, -}; - -enum quota_type { - USRQUOTA = 0, - GRPQUOTA = 1, - PRJQUOTA = 2, -}; - -enum ramfs_param { - Opt_mode = 0, -}; - -enum reboot_mode { - REBOOT_UNDEFINED = -1, - REBOOT_COLD = 0, - REBOOT_WARM = 1, - REBOOT_HARD = 2, - REBOOT_SOFT = 3, - REBOOT_GPIO = 4, -}; - -enum reboot_type { - BOOT_TRIPLE = 116, - BOOT_KBD = 107, - BOOT_BIOS = 98, - BOOT_ACPI = 97, - BOOT_EFI = 101, - BOOT_CF9_FORCE = 112, - BOOT_CF9_SAFE = 113, -}; - -enum refcount_saturation_type { - REFCOUNT_ADD_NOT_ZERO_OVF = 0, - REFCOUNT_ADD_OVF = 1, - REFCOUNT_ADD_UAF = 2, - REFCOUNT_SUB_UAF = 3, - REFCOUNT_DEC_LEAK = 4, -}; - -enum reg_arg_type { - SRC_OP = 0, - DST_OP = 1, - DST_OP_NO_MARK = 2, -}; - -enum regs { - FP = 7, - SP = 13, - LR = 14, - PC = 15, -}; - -enum resolve_mode { - RESOLVE_TBD = 0, - RESOLVE_PTR = 1, - RESOLVE_STRUCT_OR_ARRAY = 2, -}; - -enum rlimit_type { - UCOUNT_RLIMIT_NPROC = 0, - UCOUNT_RLIMIT_MSGQUEUE = 1, - UCOUNT_RLIMIT_SIGPENDING = 2, - UCOUNT_RLIMIT_MEMLOCK = 3, - UCOUNT_RLIMIT_COUNTS = 4, -}; - -enum rpc_display_format_t { - RPC_DISPLAY_ADDR = 0, - RPC_DISPLAY_PORT = 1, - RPC_DISPLAY_PROTO = 2, - RPC_DISPLAY_HEX_ADDR = 3, - RPC_DISPLAY_HEX_PORT = 4, - RPC_DISPLAY_NETID = 5, - RPC_DISPLAY_MAX = 6, -}; - -enum rseq_cs_flags_bit { - RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT_BIT = 0, - RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL_BIT = 1, - RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE_BIT = 2, -}; - -enum rt6_nud_state { - RT6_NUD_FAIL_HARD = -3, - RT6_NUD_FAIL_PROBE = -2, - RT6_NUD_FAIL_DO_RR = -1, - RT6_NUD_SUCCEED = 1, -}; - -enum rt_class_t { - RT_TABLE_UNSPEC = 0, - RT_TABLE_COMPAT = 252, - RT_TABLE_DEFAULT = 253, - RT_TABLE_MAIN = 254, - RT_TABLE_LOCAL = 255, - RT_TABLE_MAX = 4294967295, -}; - -enum rt_scope_t { - RT_SCOPE_UNIVERSE = 0, - RT_SCOPE_SITE = 200, - RT_SCOPE_LINK = 253, - RT_SCOPE_HOST = 254, - RT_SCOPE_NOWHERE = 255, -}; - -enum rtattr_type_t { - RTA_UNSPEC = 0, - RTA_DST = 1, - RTA_SRC = 2, - RTA_IIF = 3, - RTA_OIF = 4, - RTA_GATEWAY = 5, - RTA_PRIORITY = 6, - RTA_PREFSRC = 7, - RTA_METRICS = 8, - RTA_MULTIPATH = 9, - RTA_PROTOINFO = 10, - RTA_FLOW = 11, - RTA_CACHEINFO = 12, - RTA_SESSION = 13, - RTA_MP_ALGO = 14, - RTA_TABLE = 15, - RTA_MARK = 16, - RTA_MFC_STATS = 17, - RTA_VIA = 18, - RTA_NEWDST = 19, - RTA_PREF = 20, - RTA_ENCAP_TYPE = 21, - RTA_ENCAP = 22, - RTA_EXPIRES = 23, - RTA_PAD = 24, - RTA_UID = 25, - RTA_TTL_PROPAGATE = 26, - RTA_IP_PROTO = 27, - RTA_SPORT = 28, - RTA_DPORT = 29, - RTA_NH_ID = 30, - __RTA_MAX = 31, -}; - -enum rtnetlink_groups { - RTNLGRP_NONE = 0, - RTNLGRP_LINK = 1, - RTNLGRP_NOTIFY = 2, - RTNLGRP_NEIGH = 3, - RTNLGRP_TC = 4, - RTNLGRP_IPV4_IFADDR = 5, - RTNLGRP_IPV4_MROUTE = 6, - RTNLGRP_IPV4_ROUTE = 7, - RTNLGRP_IPV4_RULE = 8, - RTNLGRP_IPV6_IFADDR = 9, - RTNLGRP_IPV6_MROUTE = 10, - RTNLGRP_IPV6_ROUTE = 11, - RTNLGRP_IPV6_IFINFO = 12, - RTNLGRP_DECnet_IFADDR = 13, - RTNLGRP_NOP2 = 14, - RTNLGRP_DECnet_ROUTE = 15, - RTNLGRP_DECnet_RULE = 16, - RTNLGRP_NOP4 = 17, - RTNLGRP_IPV6_PREFIX = 18, - RTNLGRP_IPV6_RULE = 19, - RTNLGRP_ND_USEROPT = 20, - RTNLGRP_PHONET_IFADDR = 21, - RTNLGRP_PHONET_ROUTE = 22, - RTNLGRP_DCB = 23, - RTNLGRP_IPV4_NETCONF = 24, - RTNLGRP_IPV6_NETCONF = 25, - RTNLGRP_MDB = 26, - RTNLGRP_MPLS_ROUTE = 27, - RTNLGRP_NSID = 28, - RTNLGRP_MPLS_NETCONF = 29, - RTNLGRP_IPV4_MROUTE_R = 30, - RTNLGRP_IPV6_MROUTE_R = 31, - RTNLGRP_NEXTHOP = 32, - RTNLGRP_BRVLAN = 33, - RTNLGRP_MCTP_IFADDR = 34, - RTNLGRP_TUNNEL = 35, - RTNLGRP_STATS = 36, - __RTNLGRP_MAX = 37, -}; - -enum rtnl_kinds { - RTNL_KIND_NEW = 0, - RTNL_KIND_DEL = 1, - RTNL_KIND_GET = 2, - RTNL_KIND_SET = 3, -}; - -enum rtnl_link_flags { - RTNL_FLAG_DOIT_UNLOCKED = 1, - RTNL_FLAG_BULK_DEL_SUPPORTED = 2, -}; - -enum rw_hint { - WRITE_LIFE_NOT_SET = 0, - WRITE_LIFE_NONE = 1, - WRITE_LIFE_SHORT = 2, - WRITE_LIFE_MEDIUM = 3, - WRITE_LIFE_LONG = 4, - WRITE_LIFE_EXTREME = 5, -}; - -enum rwsem_waiter_type { - RWSEM_WAITING_FOR_WRITE = 0, - RWSEM_WAITING_FOR_READ = 1, -}; - -enum rwsem_wake_type { - RWSEM_WAKE_ANY = 0, - RWSEM_WAKE_READERS = 1, - RWSEM_WAKE_READ_OWNED = 2, -}; - -enum rx_handler_result { - RX_HANDLER_CONSUMED = 0, - RX_HANDLER_ANOTHER = 1, - RX_HANDLER_EXACT = 2, - RX_HANDLER_PASS = 3, -}; - -typedef enum rx_handler_result rx_handler_result_t; - -enum scan_balance { - SCAN_EQUAL = 0, - SCAN_FRACT = 1, - SCAN_ANON = 2, - SCAN_FILE = 3, -}; - -enum sched_tunable_scaling { - SCHED_TUNABLESCALING_NONE = 0, - SCHED_TUNABLESCALING_LOG = 1, - SCHED_TUNABLESCALING_LINEAR = 2, - SCHED_TUNABLESCALING_END = 3, -}; - -enum sctp_msg_flags { - MSG_NOTIFICATION = 32768, -}; - -enum sig_handler { - HANDLER_CURRENT = 0, - HANDLER_SIG_DFL = 1, - HANDLER_EXIT = 2, -}; - -enum siginfo_layout { - SIL_KILL = 0, - SIL_TIMER = 1, - SIL_POLL = 2, - SIL_FAULT = 3, - SIL_FAULT_TRAPNO = 4, - SIL_FAULT_MCEERR = 5, - SIL_FAULT_BNDERR = 6, - SIL_FAULT_PKUERR = 7, - SIL_FAULT_PERF_EVENT = 8, - SIL_CHLD = 9, - SIL_RT = 10, - SIL_SYS = 11, -}; - -enum sk_action { - SK_DROP = 0, - SK_PASS = 1, -}; - -enum sk_pacing { - SK_PACING_NONE = 0, - SK_PACING_NEEDED = 1, - SK_PACING_FQ = 2, -}; - -enum sk_psock_state_bits { - SK_PSOCK_TX_ENABLED = 0, - SK_PSOCK_RX_STRP_ENABLED = 1, -}; - -enum skb_drop_reason { - SKB_NOT_DROPPED_YET = 0, - SKB_CONSUMED = 1, - SKB_DROP_REASON_NOT_SPECIFIED = 2, - SKB_DROP_REASON_NO_SOCKET = 3, - SKB_DROP_REASON_PKT_TOO_SMALL = 4, - SKB_DROP_REASON_TCP_CSUM = 5, - SKB_DROP_REASON_SOCKET_FILTER = 6, - SKB_DROP_REASON_UDP_CSUM = 7, - SKB_DROP_REASON_NETFILTER_DROP = 8, - SKB_DROP_REASON_OTHERHOST = 9, - SKB_DROP_REASON_IP_CSUM = 10, - SKB_DROP_REASON_IP_INHDR = 11, - SKB_DROP_REASON_IP_RPFILTER = 12, - SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST = 13, - SKB_DROP_REASON_XFRM_POLICY = 14, - SKB_DROP_REASON_IP_NOPROTO = 15, - SKB_DROP_REASON_SOCKET_RCVBUFF = 16, - SKB_DROP_REASON_PROTO_MEM = 17, - SKB_DROP_REASON_TCP_MD5NOTFOUND = 18, - SKB_DROP_REASON_TCP_MD5UNEXPECTED = 19, - SKB_DROP_REASON_TCP_MD5FAILURE = 20, - SKB_DROP_REASON_SOCKET_BACKLOG = 21, - SKB_DROP_REASON_TCP_FLAGS = 22, - SKB_DROP_REASON_TCP_ZEROWINDOW = 23, - SKB_DROP_REASON_TCP_OLD_DATA = 24, - SKB_DROP_REASON_TCP_OVERWINDOW = 25, - SKB_DROP_REASON_TCP_OFOMERGE = 26, - SKB_DROP_REASON_TCP_RFC7323_PAWS = 27, - SKB_DROP_REASON_TCP_OLD_SEQUENCE = 28, - SKB_DROP_REASON_TCP_INVALID_SEQUENCE = 29, - SKB_DROP_REASON_TCP_RESET = 30, - SKB_DROP_REASON_TCP_INVALID_SYN = 31, - SKB_DROP_REASON_TCP_CLOSE = 32, - SKB_DROP_REASON_TCP_FASTOPEN = 33, - SKB_DROP_REASON_TCP_OLD_ACK = 34, - SKB_DROP_REASON_TCP_TOO_OLD_ACK = 35, - SKB_DROP_REASON_TCP_ACK_UNSENT_DATA = 36, - SKB_DROP_REASON_TCP_OFO_QUEUE_PRUNE = 37, - SKB_DROP_REASON_TCP_OFO_DROP = 38, - SKB_DROP_REASON_IP_OUTNOROUTES = 39, - SKB_DROP_REASON_BPF_CGROUP_EGRESS = 40, - SKB_DROP_REASON_IPV6DISABLED = 41, - SKB_DROP_REASON_NEIGH_CREATEFAIL = 42, - SKB_DROP_REASON_NEIGH_FAILED = 43, - SKB_DROP_REASON_NEIGH_QUEUEFULL = 44, - SKB_DROP_REASON_NEIGH_DEAD = 45, - SKB_DROP_REASON_TC_EGRESS = 46, - SKB_DROP_REASON_QDISC_DROP = 47, - SKB_DROP_REASON_CPU_BACKLOG = 48, - SKB_DROP_REASON_XDP = 49, - SKB_DROP_REASON_TC_INGRESS = 50, - SKB_DROP_REASON_UNHANDLED_PROTO = 51, - SKB_DROP_REASON_SKB_CSUM = 52, - SKB_DROP_REASON_SKB_GSO_SEG = 53, - SKB_DROP_REASON_SKB_UCOPY_FAULT = 54, - SKB_DROP_REASON_DEV_HDR = 55, - SKB_DROP_REASON_DEV_READY = 56, - SKB_DROP_REASON_FULL_RING = 57, - SKB_DROP_REASON_NOMEM = 58, - SKB_DROP_REASON_HDR_TRUNC = 59, - SKB_DROP_REASON_TAP_FILTER = 60, - SKB_DROP_REASON_TAP_TXFILTER = 61, - SKB_DROP_REASON_ICMP_CSUM = 62, - SKB_DROP_REASON_INVALID_PROTO = 63, - SKB_DROP_REASON_IP_INADDRERRORS = 64, - SKB_DROP_REASON_IP_INNOROUTES = 65, - SKB_DROP_REASON_PKT_TOO_BIG = 66, - SKB_DROP_REASON_DUP_FRAG = 67, - SKB_DROP_REASON_FRAG_REASM_TIMEOUT = 68, - SKB_DROP_REASON_FRAG_TOO_FAR = 69, - SKB_DROP_REASON_TCP_MINTTL = 70, - SKB_DROP_REASON_IPV6_BAD_EXTHDR = 71, - SKB_DROP_REASON_IPV6_NDISC_FRAG = 72, - SKB_DROP_REASON_IPV6_NDISC_HOP_LIMIT = 73, - SKB_DROP_REASON_IPV6_NDISC_BAD_CODE = 74, - SKB_DROP_REASON_IPV6_NDISC_BAD_OPTIONS = 75, - SKB_DROP_REASON_IPV6_NDISC_NS_OTHERHOST = 76, - SKB_DROP_REASON_QUEUE_PURGE = 77, - SKB_DROP_REASON_MAX = 78, - SKB_DROP_REASON_SUBSYS_MASK = 4294901760, -}; - -enum skb_drop_reason_subsys { - SKB_DROP_REASON_SUBSYS_CORE = 0, - SKB_DROP_REASON_SUBSYS_MAC80211_UNUSABLE = 1, - SKB_DROP_REASON_SUBSYS_MAC80211_MONITOR = 2, - SKB_DROP_REASON_SUBSYS_OPENVSWITCH = 3, - SKB_DROP_REASON_SUBSYS_NUM = 4, -}; - -enum sknetlink_groups { - SKNLGRP_NONE = 0, - SKNLGRP_INET_TCP_DESTROY = 1, - SKNLGRP_INET_UDP_DESTROY = 2, - SKNLGRP_INET6_TCP_DESTROY = 3, - SKNLGRP_INET6_UDP_DESTROY = 4, - __SKNLGRP_MAX = 5, -}; - -enum slab_state { - DOWN = 0, - PARTIAL = 1, - PARTIAL_NODE = 2, - UP = 3, - FULL = 4, -}; - -enum sock_flags { - SOCK_DEAD = 0, - SOCK_DONE = 1, - SOCK_URGINLINE = 2, - SOCK_KEEPOPEN = 3, - SOCK_LINGER = 4, - SOCK_DESTROY = 5, - SOCK_BROADCAST = 6, - SOCK_TIMESTAMP = 7, - SOCK_ZAPPED = 8, - SOCK_USE_WRITE_QUEUE = 9, - SOCK_DBG = 10, - SOCK_RCVTSTAMP = 11, - SOCK_RCVTSTAMPNS = 12, - SOCK_LOCALROUTE = 13, - SOCK_MEMALLOC = 14, - SOCK_TIMESTAMPING_RX_SOFTWARE = 15, - SOCK_FASYNC = 16, - SOCK_RXQ_OVFL = 17, - SOCK_ZEROCOPY = 18, - SOCK_WIFI_STATUS = 19, - SOCK_NOFCS = 20, - SOCK_FILTER_LOCKED = 21, - SOCK_SELECT_ERR_QUEUE = 22, - SOCK_RCU_FREE = 23, - SOCK_TXTIME = 24, - SOCK_XDP = 25, - SOCK_TSTAMP_NEW = 26, - SOCK_RCVMARK = 27, -}; - -enum sock_shutdown_cmd { - SHUT_RD = 0, - SHUT_WR = 1, - SHUT_RDWR = 2, -}; - -enum sock_type { - SOCK_STREAM = 1, - SOCK_DGRAM = 2, - SOCK_RAW = 3, - SOCK_RDM = 4, - SOCK_SEQPACKET = 5, - SOCK_DCCP = 6, - SOCK_PACKET = 10, -}; - -enum special_kfunc_type { - KF_bpf_obj_new_impl = 0, - KF_bpf_obj_drop_impl = 1, - KF_bpf_refcount_acquire_impl = 2, - KF_bpf_list_push_front_impl = 3, - KF_bpf_list_push_back_impl = 4, - KF_bpf_list_pop_front = 5, - KF_bpf_list_pop_back = 6, - KF_bpf_cast_to_kern_ctx = 7, - KF_bpf_rdonly_cast = 8, - KF_bpf_rcu_read_lock = 9, - KF_bpf_rcu_read_unlock = 10, - KF_bpf_rbtree_remove = 11, - KF_bpf_rbtree_add_impl = 12, - KF_bpf_rbtree_first = 13, - KF_bpf_dynptr_from_skb = 14, - KF_bpf_dynptr_from_xdp = 15, - KF_bpf_dynptr_slice = 16, - KF_bpf_dynptr_slice_rdwr = 17, - KF_bpf_dynptr_clone = 18, -}; - -enum stat_item { - ALLOC_FASTPATH = 0, - ALLOC_SLOWPATH = 1, - FREE_FASTPATH = 2, - FREE_SLOWPATH = 3, - FREE_FROZEN = 4, - FREE_ADD_PARTIAL = 5, - FREE_REMOVE_PARTIAL = 6, - ALLOC_FROM_PARTIAL = 7, - ALLOC_SLAB = 8, - ALLOC_REFILL = 9, - ALLOC_NODE_MISMATCH = 10, - FREE_SLAB = 11, - CPUSLAB_FLUSH = 12, - DEACTIVATE_FULL = 13, - DEACTIVATE_EMPTY = 14, - DEACTIVATE_TO_HEAD = 15, - DEACTIVATE_TO_TAIL = 16, - DEACTIVATE_REMOTE_FREES = 17, - DEACTIVATE_BYPASS = 18, - ORDER_FALLBACK = 19, - CMPXCHG_DOUBLE_CPU_FAIL = 20, - CMPXCHG_DOUBLE_FAIL = 21, - CPU_PARTIAL_ALLOC = 22, - CPU_PARTIAL_FREE = 23, - CPU_PARTIAL_NODE = 24, - CPU_PARTIAL_DRAIN = 25, - NR_SLUB_STAT_ITEMS = 26, -}; - -enum string_size_units { - STRING_UNITS_10 = 0, - STRING_UNITS_2 = 1, -}; - -enum sum_check_bits { - SUM_CHECK_P = 0, - SUM_CHECK_Q = 1, -}; - -enum sys_off_mode { - SYS_OFF_MODE_POWER_OFF_PREPARE = 0, - SYS_OFF_MODE_POWER_OFF = 1, - SYS_OFF_MODE_RESTART_PREPARE = 2, - SYS_OFF_MODE_RESTART = 3, -}; - -enum system_states { - SYSTEM_BOOTING = 0, - SYSTEM_SCHEDULING = 1, - SYSTEM_FREEING_INITMEM = 2, - SYSTEM_RUNNING = 3, - SYSTEM_HALT = 4, - SYSTEM_POWER_OFF = 5, - SYSTEM_RESTART = 6, - SYSTEM_SUSPEND = 7, -}; - -enum task_work_notify_mode { - TWA_NONE = 0, - TWA_RESUME = 1, - TWA_SIGNAL = 2, - TWA_SIGNAL_NO_IPI = 3, -}; - -enum tc_mq_command { - TC_MQ_CREATE = 0, - TC_MQ_DESTROY = 1, - TC_MQ_STATS = 2, - TC_MQ_GRAFT = 3, -}; - -enum tc_setup_type { - TC_QUERY_CAPS = 0, - TC_SETUP_QDISC_MQPRIO = 1, - TC_SETUP_CLSU32 = 2, - TC_SETUP_CLSFLOWER = 3, - TC_SETUP_CLSMATCHALL = 4, - TC_SETUP_CLSBPF = 5, - TC_SETUP_BLOCK = 6, - TC_SETUP_QDISC_CBS = 7, - TC_SETUP_QDISC_RED = 8, - TC_SETUP_QDISC_PRIO = 9, - TC_SETUP_QDISC_MQ = 10, - TC_SETUP_QDISC_ETF = 11, - TC_SETUP_ROOT_QDISC = 12, - TC_SETUP_QDISC_GRED = 13, - TC_SETUP_QDISC_TAPRIO = 14, - TC_SETUP_FT = 15, - TC_SETUP_QDISC_ETS = 16, - TC_SETUP_QDISC_TBF = 17, - TC_SETUP_QDISC_FIFO = 18, - TC_SETUP_QDISC_HTB = 19, - TC_SETUP_ACT = 20, -}; - -enum tcp_ca_ack_event_flags { - CA_ACK_SLOWPATH = 1, - CA_ACK_WIN_UPDATE = 2, - CA_ACK_ECE = 4, -}; - -enum tcp_ca_event { - CA_EVENT_TX_START = 0, - CA_EVENT_CWND_RESTART = 1, - CA_EVENT_COMPLETE_CWR = 2, - CA_EVENT_LOSS = 3, - CA_EVENT_ECN_NO_CE = 4, - CA_EVENT_ECN_IS_CE = 5, -}; - -enum tcp_ca_state { - TCP_CA_Open = 0, - TCP_CA_Disorder = 1, - TCP_CA_CWR = 2, - TCP_CA_Recovery = 3, - TCP_CA_Loss = 4, -}; - -enum tcp_chrono { - TCP_CHRONO_UNSPEC = 0, - TCP_CHRONO_BUSY = 1, - TCP_CHRONO_RWND_LIMITED = 2, - TCP_CHRONO_SNDBUF_LIMITED = 3, - __TCP_CHRONO_MAX = 4, -}; - -enum tcp_fastopen_client_fail { - TFO_STATUS_UNSPEC = 0, - TFO_COOKIE_UNAVAILABLE = 1, - TFO_DATA_NOT_ACKED = 2, - TFO_SYN_RETRANSMITTED = 3, -}; - -enum tcp_metric_index { - TCP_METRIC_RTT = 0, - TCP_METRIC_RTTVAR = 1, - TCP_METRIC_SSTHRESH = 2, - TCP_METRIC_CWND = 3, - TCP_METRIC_REORDERING = 4, - TCP_METRIC_RTT_US = 5, - TCP_METRIC_RTTVAR_US = 6, - __TCP_METRIC_MAX = 7, -}; - -enum tcp_queue { - TCP_FRAG_IN_WRITE_QUEUE = 0, - TCP_FRAG_IN_RTX_QUEUE = 1, -}; - -enum tcp_synack_type { - TCP_SYNACK_NORMAL = 0, - TCP_SYNACK_FASTOPEN = 1, - TCP_SYNACK_COOKIE = 2, -}; - -enum tcp_tw_status { - TCP_TW_SUCCESS = 0, - TCP_TW_RST = 1, - TCP_TW_ACK = 2, - TCP_TW_SYN = 3, -}; - -enum tcx_action_base { - TCX_NEXT = -1, - TCX_PASS = 0, - TCX_DROP = 2, - TCX_REDIRECT = 7, -}; - -enum tick_broadcast_state { - TICK_BROADCAST_EXIT = 0, - TICK_BROADCAST_ENTER = 1, -}; - -enum tick_dep_bits { - TICK_DEP_BIT_POSIX_TIMER = 0, - TICK_DEP_BIT_PERF_EVENTS = 1, - TICK_DEP_BIT_SCHED = 2, - TICK_DEP_BIT_CLOCK_UNSTABLE = 3, - TICK_DEP_BIT_RCU = 4, - TICK_DEP_BIT_RCU_EXP = 5, -}; - -enum tick_device_mode { - TICKDEV_MODE_PERIODIC = 0, - TICKDEV_MODE_ONESHOT = 1, -}; - -enum timekeeping_adv_mode { - TK_ADV_TICK = 0, - TK_ADV_FREQ = 1, -}; - -enum timespec_type { - TT_NONE = 0, - TT_NATIVE = 1, - TT_COMPAT = 2, -}; - -enum tk_offsets { - TK_OFFS_REAL = 0, - TK_OFFS_BOOT = 1, - TK_OFFS_TAI = 2, - TK_OFFS_MAX = 3, -}; - -enum tsq_enum { - TSQ_THROTTLED = 0, - TSQ_QUEUED = 1, - TCP_TSQ_DEFERRED = 2, - TCP_WRITE_TIMER_DEFERRED = 3, - TCP_DELACK_TIMER_DEFERRED = 4, - TCP_MTU_REDUCED_DEFERRED = 5, -}; - -enum tsq_flags { - TSQF_THROTTLED = 1, - TSQF_QUEUED = 2, - TCPF_TSQ_DEFERRED = 4, - TCPF_WRITE_TIMER_DEFERRED = 8, - TCPF_DELACK_TIMER_DEFERRED = 16, - TCPF_MTU_REDUCED_DEFERRED = 32, -}; - -enum ttu_flags { - TTU_SPLIT_HUGE_PMD = 4, - TTU_IGNORE_MLOCK = 8, - TTU_SYNC = 16, - TTU_HWPOISON = 32, - TTU_BATCH_FLUSH = 64, - TTU_RMAP_LOCKED = 128, -}; - -enum tunable_id { - ETHTOOL_ID_UNSPEC = 0, - ETHTOOL_RX_COPYBREAK = 1, - ETHTOOL_TX_COPYBREAK = 2, - ETHTOOL_PFC_PREVENTION_TOUT = 3, - ETHTOOL_TX_COPYBREAK_BUF_SIZE = 4, - __ETHTOOL_TUNABLE_COUNT = 5, -}; - -enum tunable_type_id { - ETHTOOL_TUNABLE_UNSPEC = 0, - ETHTOOL_TUNABLE_U8 = 1, - ETHTOOL_TUNABLE_U16 = 2, - ETHTOOL_TUNABLE_U32 = 3, - ETHTOOL_TUNABLE_U64 = 4, - ETHTOOL_TUNABLE_STRING = 5, - ETHTOOL_TUNABLE_S8 = 6, - ETHTOOL_TUNABLE_S16 = 7, - ETHTOOL_TUNABLE_S32 = 8, - ETHTOOL_TUNABLE_S64 = 9, -}; - -enum tunnel_encap_types { - TUNNEL_ENCAP_NONE = 0, - TUNNEL_ENCAP_FOU = 1, - TUNNEL_ENCAP_GUE = 2, - TUNNEL_ENCAP_MPLS = 3, -}; - -enum txtime_flags { - SOF_TXTIME_DEADLINE_MODE = 1, - SOF_TXTIME_REPORT_ERRORS = 2, - SOF_TXTIME_FLAGS_LAST = 2, - SOF_TXTIME_FLAGS_MASK = 3, -}; - -enum ucount_type { - UCOUNT_USER_NAMESPACES = 0, - UCOUNT_PID_NAMESPACES = 1, - UCOUNT_UTS_NAMESPACES = 2, - UCOUNT_IPC_NAMESPACES = 3, - UCOUNT_NET_NAMESPACES = 4, - UCOUNT_MNT_NAMESPACES = 5, - UCOUNT_CGROUP_NAMESPACES = 6, - UCOUNT_TIME_NAMESPACES = 7, - UCOUNT_COUNTS = 8, -}; - -enum udp_parsable_tunnel_type { - UDP_TUNNEL_TYPE_VXLAN = 1, - UDP_TUNNEL_TYPE_GENEVE = 2, - UDP_TUNNEL_TYPE_VXLAN_GPE = 4, -}; - -enum udp_tunnel_nic_info_flags { - UDP_TUNNEL_NIC_INFO_MAY_SLEEP = 1, - UDP_TUNNEL_NIC_INFO_OPEN_ONLY = 2, - UDP_TUNNEL_NIC_INFO_IPV4_ONLY = 4, - UDP_TUNNEL_NIC_INFO_STATIC_IANA_VXLAN = 8, -}; - -enum umh_disable_depth { - UMH_ENABLED = 0, - UMH_FREEZING = 1, - UMH_DISABLED = 2, -}; - -enum umount_tree_flags { - UMOUNT_SYNC = 1, - UMOUNT_PROPAGATE = 2, - UMOUNT_CONNECTED = 4, -}; - -enum unwind_reason_code { - URC_OK = 0, - URC_CONTINUE_UNWIND = 8, - URC_FAILURE = 9, -}; - -enum utf8_normalization { - UTF8_NFDI = 0, - UTF8_NFDICF = 1, - UTF8_NMAX = 2, -}; - -enum uts_proc { - UTS_PROC_ARCH = 0, - UTS_PROC_OSTYPE = 1, - UTS_PROC_OSRELEASE = 2, - UTS_PROC_VERSION = 3, - UTS_PROC_HOSTNAME = 4, - UTS_PROC_DOMAINNAME = 5, -}; - -enum vdso_clock_mode { - VDSO_CLOCKMODE_NONE = 0, - VDSO_CLOCKMODE_MAX = 1, - VDSO_CLOCKMODE_TIMENS = 2147483647, -}; - -enum verifier_phase { - CHECK_META = 0, - CHECK_TYPE = 1, -}; - -enum visit_state { - NOT_VISITED = 0, - VISITED = 1, - RESOLVED = 2, -}; - -enum vm_event_item { - PGPGIN = 0, - PGPGOUT = 1, - PSWPIN = 2, - PSWPOUT = 3, - PGALLOC_NORMAL = 4, - PGALLOC_MOVABLE = 5, - ALLOCSTALL_NORMAL = 6, - ALLOCSTALL_MOVABLE = 7, - PGSCAN_SKIP_NORMAL = 8, - PGSCAN_SKIP_MOVABLE = 9, - PGFREE = 10, - PGACTIVATE = 11, - PGDEACTIVATE = 12, - PGLAZYFREE = 13, - PGFAULT = 14, - PGMAJFAULT = 15, - PGLAZYFREED = 16, - PGREFILL = 17, - PGREUSE = 18, - PGSTEAL_KSWAPD = 19, - PGSTEAL_DIRECT = 20, - PGSTEAL_KHUGEPAGED = 21, - PGDEMOTE_KSWAPD = 22, - PGDEMOTE_DIRECT = 23, - PGDEMOTE_KHUGEPAGED = 24, - PGSCAN_KSWAPD = 25, - PGSCAN_DIRECT = 26, - PGSCAN_KHUGEPAGED = 27, - PGSCAN_DIRECT_THROTTLE = 28, - PGSCAN_ANON = 29, - PGSCAN_FILE = 30, - PGSTEAL_ANON = 31, - PGSTEAL_FILE = 32, - PGINODESTEAL = 33, - SLABS_SCANNED = 34, - KSWAPD_INODESTEAL = 35, - KSWAPD_LOW_WMARK_HIT_QUICKLY = 36, - KSWAPD_HIGH_WMARK_HIT_QUICKLY = 37, - PAGEOUTRUN = 38, - PGROTATED = 39, - DROP_PAGECACHE = 40, - DROP_SLAB = 41, - OOM_KILL = 42, - UNEVICTABLE_PGCULLED = 43, - UNEVICTABLE_PGSCANNED = 44, - UNEVICTABLE_PGRESCUED = 45, - UNEVICTABLE_PGMLOCKED = 46, - UNEVICTABLE_PGMUNLOCKED = 47, - UNEVICTABLE_PGCLEARED = 48, - UNEVICTABLE_PGSTRANDED = 49, - NR_VM_EVENT_ITEMS = 50, -}; - -enum vm_fault_reason { - VM_FAULT_OOM = 1, - VM_FAULT_SIGBUS = 2, - VM_FAULT_MAJOR = 4, - VM_FAULT_HWPOISON = 16, - VM_FAULT_HWPOISON_LARGE = 32, - VM_FAULT_SIGSEGV = 64, - VM_FAULT_NOPAGE = 256, - VM_FAULT_LOCKED = 512, - VM_FAULT_RETRY = 1024, - VM_FAULT_FALLBACK = 2048, - VM_FAULT_DONE_COW = 4096, - VM_FAULT_NEEDDSYNC = 8192, - VM_FAULT_COMPLETED = 16384, - VM_FAULT_HINDEX_MASK = 983040, -}; - -enum vmscan_throttle_state { - VMSCAN_THROTTLE_WRITEBACK = 0, - VMSCAN_THROTTLE_ISOLATED = 1, - VMSCAN_THROTTLE_NOPROGRESS = 2, - VMSCAN_THROTTLE_CONGESTED = 3, - NR_VMSCAN_THROTTLE = 4, -}; - -enum wb_reason { - WB_REASON_BACKGROUND = 0, - WB_REASON_VMSCAN = 1, - WB_REASON_SYNC = 2, - WB_REASON_PERIODIC = 3, - WB_REASON_LAPTOP_TIMER = 4, - WB_REASON_FS_FREE_SPACE = 5, - WB_REASON_FORKER_THREAD = 6, - WB_REASON_FOREIGN_FLUSH = 7, - WB_REASON_MAX = 8, -}; - -enum wb_stat_item { - WB_RECLAIMABLE = 0, - WB_WRITEBACK = 1, - WB_DIRTIED = 2, - WB_WRITTEN = 3, - NR_WB_STAT_ITEMS = 4, -}; - -enum wb_state { - WB_registered = 0, - WB_writeback_running = 1, - WB_has_dirty_io = 2, - WB_start_all = 3, -}; - -enum wq_affn_scope { - WQ_AFFN_DFL = 0, - WQ_AFFN_CPU = 1, - WQ_AFFN_SMT = 2, - WQ_AFFN_CACHE = 3, - WQ_AFFN_NUMA = 4, - WQ_AFFN_SYSTEM = 5, - WQ_AFFN_NR_TYPES = 6, -}; - -enum writeback_sync_modes { - WB_SYNC_NONE = 0, - WB_SYNC_ALL = 1, -}; - -enum xa_lock_type { - XA_LOCK_IRQ = 1, - XA_LOCK_BH = 2, -}; - -enum xdp_action { - XDP_ABORTED = 0, - XDP_DROP = 1, - XDP_PASS = 2, - XDP_TX = 3, - XDP_REDIRECT = 4, -}; - -enum xdp_buff_flags { - XDP_FLAGS_HAS_FRAGS = 1, - XDP_FLAGS_FRAGS_PF_MEMALLOC = 2, -}; - -enum xdp_mem_type { - MEM_TYPE_PAGE_SHARED = 0, - MEM_TYPE_PAGE_ORDER0 = 1, - MEM_TYPE_PAGE_POOL = 2, - MEM_TYPE_XSK_BUFF_POOL = 3, - MEM_TYPE_MAX = 4, -}; - -enum xdp_rss_hash_type { - XDP_RSS_L3_IPV4 = 1, - XDP_RSS_L3_IPV6 = 2, - XDP_RSS_L3_DYNHDR = 4, - XDP_RSS_L4 = 8, - XDP_RSS_L4_TCP = 16, - XDP_RSS_L4_UDP = 32, - XDP_RSS_L4_SCTP = 64, - XDP_RSS_L4_IPSEC = 128, - XDP_RSS_TYPE_NONE = 0, - XDP_RSS_TYPE_L2 = 0, - XDP_RSS_TYPE_L3_IPV4 = 1, - XDP_RSS_TYPE_L3_IPV6 = 2, - XDP_RSS_TYPE_L3_IPV4_OPT = 5, - XDP_RSS_TYPE_L3_IPV6_EX = 6, - XDP_RSS_TYPE_L4_ANY = 8, - XDP_RSS_TYPE_L4_IPV4_TCP = 25, - XDP_RSS_TYPE_L4_IPV4_UDP = 41, - XDP_RSS_TYPE_L4_IPV4_SCTP = 73, - XDP_RSS_TYPE_L4_IPV4_IPSEC = 137, - XDP_RSS_TYPE_L4_IPV6_TCP = 26, - XDP_RSS_TYPE_L4_IPV6_UDP = 42, - XDP_RSS_TYPE_L4_IPV6_SCTP = 74, - XDP_RSS_TYPE_L4_IPV6_IPSEC = 138, - XDP_RSS_TYPE_L4_IPV6_TCP_EX = 30, - XDP_RSS_TYPE_L4_IPV6_UDP_EX = 46, - XDP_RSS_TYPE_L4_IPV6_SCTP_EX = 78, -}; - -enum xfrm_attr_type_t { - XFRMA_UNSPEC = 0, - XFRMA_ALG_AUTH = 1, - XFRMA_ALG_CRYPT = 2, - XFRMA_ALG_COMP = 3, - XFRMA_ENCAP = 4, - XFRMA_TMPL = 5, - XFRMA_SA = 6, - XFRMA_POLICY = 7, - XFRMA_SEC_CTX = 8, - XFRMA_LTIME_VAL = 9, - XFRMA_REPLAY_VAL = 10, - XFRMA_REPLAY_THRESH = 11, - XFRMA_ETIMER_THRESH = 12, - XFRMA_SRCADDR = 13, - XFRMA_COADDR = 14, - XFRMA_LASTUSED = 15, - XFRMA_POLICY_TYPE = 16, - XFRMA_MIGRATE = 17, - XFRMA_ALG_AEAD = 18, - XFRMA_KMADDRESS = 19, - XFRMA_ALG_AUTH_TRUNC = 20, - XFRMA_MARK = 21, - XFRMA_TFCPAD = 22, - XFRMA_REPLAY_ESN_VAL = 23, - XFRMA_SA_EXTRA_FLAGS = 24, - XFRMA_PROTO = 25, - XFRMA_ADDRESS_FILTER = 26, - XFRMA_PAD = 27, - XFRMA_OFFLOAD_DEV = 28, - XFRMA_SET_MARK = 29, - XFRMA_SET_MARK_MASK = 30, - XFRMA_IF_ID = 31, - XFRMA_MTIMER_THRESH = 32, - __XFRMA_MAX = 33, -}; - -enum xfrm_replay_mode { - XFRM_REPLAY_MODE_LEGACY = 0, - XFRM_REPLAY_MODE_BMP = 1, - XFRM_REPLAY_MODE_ESN = 2, -}; - -enum zone_flags { - ZONE_BOOSTED_WATERMARK = 0, - ZONE_RECLAIM_ACTIVE = 1, -}; - -enum zone_stat_item { - NR_FREE_PAGES = 0, - NR_ZONE_LRU_BASE = 1, - NR_ZONE_INACTIVE_ANON = 1, - NR_ZONE_ACTIVE_ANON = 2, - NR_ZONE_INACTIVE_FILE = 3, - NR_ZONE_ACTIVE_FILE = 4, - NR_ZONE_UNEVICTABLE = 5, - NR_ZONE_WRITE_PENDING = 6, - NR_MLOCK = 7, - NR_BOUNCE = 8, - NR_FREE_CMA_PAGES = 9, - NR_VM_ZONE_STAT_ITEMS = 10, -}; - -enum zone_type { - ZONE_NORMAL = 0, - ZONE_MOVABLE = 1, - __MAX_NR_ZONES = 2, -}; - -enum zone_watermarks { - WMARK_MIN = 0, - WMARK_LOW = 1, - WMARK_HIGH = 2, - WMARK_PROMO = 3, - NR_WMARK = 4, -}; - -typedef _Bool bool; - -typedef const char (* const ethnl_string_array_t)[32]; - -typedef int __kernel_clockid_t; - -typedef int __kernel_daddr_t; - -typedef int __kernel_pid_t; - -typedef int __kernel_ptrdiff_t; - -typedef int __kernel_rwf_t; - -typedef int __kernel_ssize_t; - -typedef int __kernel_timer_t; - -typedef int __s32; - -typedef __kernel_clockid_t clockid_t; - -typedef __s32 s32; - -typedef s32 compat_int_t; - -typedef s32 compat_ssize_t; - -typedef int fpi_t; - -typedef s32 int32_t; - -typedef s32 old_time32_t; - -typedef __kernel_pid_t pid_t; - -typedef __kernel_ptrdiff_t ptrdiff_t; - -typedef __kernel_rwf_t rwf_t; - -typedef __kernel_ssize_t ssize_t; - -typedef long int __kernel_long_t; - -typedef __kernel_long_t __kernel_clock_t; - -typedef __kernel_long_t __kernel_off_t; - -typedef __kernel_long_t __kernel_old_time_t; - -typedef __kernel_long_t __kernel_suseconds_t; - -typedef __kernel_clock_t clock_t; - -typedef __kernel_off_t off_t; - -typedef __kernel_suseconds_t suseconds_t; - -typedef long long int __kernel_loff_t; - -typedef long long int __kernel_time64_t; - -typedef long long int __s64; - -typedef __s64 s64; - -typedef s64 int64_t; - -typedef s64 ktime_t; - -typedef __kernel_loff_t loff_t; - -typedef long long int qsize_t; - -typedef __s64 time64_t; - -typedef long long unsigned int __u64; - -typedef __u64 Elf64_Addr; - -typedef __u64 Elf64_Off; - -typedef __u64 Elf64_Xword; - -typedef __u64 __addrpair; - -typedef __u64 __be64; - -typedef __u64 __le64; - -typedef __u64 u64; - -typedef u64 async_cookie_t; - -typedef u64 blkcnt_t; - -typedef __be64 fdt64_t; - -typedef u64 netdev_features_t; - -typedef u64 sci_t; - -typedef u64 sector_t; - -typedef __u64 timeu64_t; - -typedef u64 uint64_t; - -typedef long unsigned int __kernel_ulong_t; - -typedef long unsigned int cycles_t; - -typedef __kernel_ulong_t ino_t; - -typedef long unsigned int irq_hw_number_t; - -typedef long unsigned int kernel_ulong_t; - -typedef long unsigned int old_sigset_t; - -typedef long unsigned int pgd_t[2]; - -typedef long unsigned int pgprot_t; - -typedef long unsigned int pmd_t; - -typedef long unsigned int pte_t; - -typedef long unsigned int uintptr_t; - -typedef long unsigned int ulong; - -typedef long unsigned int vm_flags_t; - -typedef short int __s16; - -typedef __s16 s16; - -typedef short unsigned int __u16; - -typedef __u16 Elf32_Half; - -typedef __u16 Elf64_Half; - -typedef __u16 __be16; - -typedef short unsigned int __kernel_sa_family_t; - -typedef __u16 __le16; - -typedef __u16 __sum16; - -typedef short unsigned int pci_bus_flags_t; - -typedef short unsigned int pci_dev_flags_t; - -typedef __kernel_sa_family_t sa_family_t; - -typedef __u16 u16; - -typedef u16 u_int16_t; - -typedef u16 uint16_t; - -typedef short unsigned int umode_t; - -typedef short unsigned int ushort; - -typedef signed char __s8; - -typedef __s8 s8; - -typedef unsigned char __u8; - -typedef __u8 u8; - -typedef u8 blk_status_t; - -typedef unsigned char cc_t; - -typedef u8 dscp_t; - -typedef unsigned char *sk_buff_data_t; - -typedef u8 u_int8_t; - -typedef u8 uint8_t; - -typedef unsigned int __u32; - -typedef __u32 Elf32_Addr; - -typedef __u32 Elf32_Off; - -typedef __u32 Elf32_Word; - -typedef __u32 Elf64_Word; - -typedef __u32 __be32; - -typedef __u32 u32; - -typedef u32 __kernel_dev_t; - -typedef unsigned int __kernel_gid32_t; - -typedef unsigned int __kernel_size_t; - -typedef unsigned int __kernel_uid32_t; - -typedef __u32 __le32; - -typedef unsigned int __poll_t; - -typedef __u32 __portpair; - -typedef __u32 __wsum; - -typedef unsigned int blk_mode_t; - -typedef __u32 blk_opf_t; - -typedef unsigned int blk_qc_t; - -typedef u32 compat_caddr_t; - -typedef u32 compat_size_t; - -typedef u32 compat_uint_t; - -typedef u32 compat_ulong_t; - -typedef u32 compat_uptr_t; - -typedef u32 depot_stack_handle_t; - -typedef __kernel_dev_t dev_t; - -typedef u32 dma_addr_t; - -typedef u32 errseq_t; - -typedef __be32 fdt32_t; - -typedef unsigned int fgf_t; - -typedef unsigned int fmode_t; - -typedef unsigned int gfp_t; - -typedef __kernel_gid32_t gid_t; - -typedef unsigned int iov_iter_extraction_t; - -typedef unsigned int isolate_mode_t; - -typedef unsigned int pci_channel_state_t; - -typedef unsigned int pci_ers_result_t; - -typedef unsigned int pcie_reset_state_t; - -typedef u32 phandle; - -typedef u32 phys_addr_t; - -typedef __kernel_uid32_t projid_t; - -typedef phys_addr_t resource_size_t; - -typedef __kernel_size_t size_t; - -typedef unsigned int slab_flags_t; - -typedef unsigned int speed_t; - -typedef unsigned int t_key; - -typedef unsigned int tcflag_t; - -typedef u32 u_int32_t; - -typedef __kernel_uid32_t uid_t; - -typedef unsigned int uint; - -typedef u32 uint32_t; - -typedef unsigned int vm_fault_t; - -typedef unsigned int xa_mark_t; - -typedef u32 xdp_features_t; - -typedef struct { - long unsigned int fds_bits[32]; -} __kernel_fd_set; - -typedef struct { - int val[2]; -} __kernel_fsid_t; - -typedef struct {} arch_rwlock_t; - -typedef struct {} arch_spinlock_t; - -typedef struct { - s64 counter; -} atomic64_t; - -typedef struct { - int counter; -} atomic_t; - -typedef atomic_t atomic_long_t; - -typedef struct { - union { - void *kernel; - void *user; - }; - bool is_kernel: 1; -} sockptr_t; - -typedef sockptr_t bpfptr_t; - -typedef struct { - unsigned int interval; - unsigned int timeout; -} cisco_proto; - -typedef struct { - void *lock; -} class_preempt_t; - -struct raw_spinlock; - -typedef struct raw_spinlock raw_spinlock_t; - -typedef struct { - raw_spinlock_t *lock; - long unsigned int flags; -} class_raw_spinlock_irqsave_t; - -typedef __kernel_fd_set fd_set; - -typedef struct { - long unsigned int *in; - long unsigned int *out; - long unsigned int *ex; - long unsigned int *res_in; - long unsigned int *res_out; - long unsigned int *res_ex; -} fd_set_bits; - -typedef struct { - unsigned int t391; - unsigned int t392; - unsigned int n391; - unsigned int n392; - unsigned int n393; - short unsigned int lmi; - short unsigned int dce; -} fr_proto; - -typedef struct { - unsigned int dlci; -} fr_proto_pvc; - -typedef struct { - unsigned int dlci; - char master[16]; -} fr_proto_pvc_info; - -typedef struct { - long unsigned int v; -} freeptr_t; - -typedef struct { - __u8 b[16]; -} guid_t; - -typedef struct { - long unsigned int key[2]; -} hsiphash_key_t; - -typedef struct { - unsigned int __softirq_pending; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -} irq_cpustat_t; - -typedef struct { - u64 val; -} kernel_cap_t; - -typedef struct { - gid_t val; -} kgid_t; - -typedef struct { - projid_t val; -} kprojid_t; - -typedef struct { - uid_t val; -} kuid_t; - -typedef struct { - atomic64_t a; -} local64_t; - -typedef struct {} local_lock_t; - -typedef struct { - atomic_long_t a; -} local_t; - -typedef struct {} lockdep_map_p; - -typedef struct { - long unsigned int end_brk; -} mm_context_t; - -typedef struct {} netdevice_tracker; - -typedef struct {} netns_tracker; - -typedef struct { - long unsigned int bits[1]; -} nodemask_t; - -typedef struct { - pgd_t pgd; -} p4d_t; - -typedef struct {} possible_net_t; - -typedef struct { - p4d_t p4d; -} pud_t; - -typedef struct { - short unsigned int encoding; - short unsigned int parity; -} raw_hdlc_proto; - -typedef struct { - atomic_t refcnt; -} rcuref_t; - -typedef struct { - size_t written; - size_t count; - union { - char *buf; - void *data; - } arg; - int error; -} read_descriptor_t; - -typedef union { -} release_pages_arg; - -typedef struct { - arch_rwlock_t raw_lock; -} rwlock_t; - -struct seqcount { - unsigned int sequence; -}; - -typedef struct seqcount seqcount_t; - -typedef struct { - seqcount_t seqcount; -} seqcount_latch_t; - -struct seqcount_spinlock { - seqcount_t seqcount; -}; - -typedef struct seqcount_spinlock seqcount_spinlock_t; - -struct raw_spinlock { - arch_spinlock_t raw_lock; -}; - -struct spinlock { - union { - struct raw_spinlock rlock; - }; -}; - -typedef struct spinlock spinlock_t; - -typedef struct { - seqcount_spinlock_t seqcount; - spinlock_t lock; -} seqlock_t; - -typedef struct { - long unsigned int sig[2]; -} sigset_t; - -typedef struct { - u64 key[2]; -} siphash_key_t; - -struct list_head { - struct list_head *next; - struct list_head *prev; -}; - -struct wait_queue_head { - spinlock_t lock; - struct list_head head; -}; - -typedef struct wait_queue_head wait_queue_head_t; - -typedef struct { - spinlock_t slock; - int owned; - wait_queue_head_t wq; -} socket_lock_t; - -typedef struct { - char *from; - char *to; -} substring_t; - -typedef struct { - long unsigned int val; -} swp_entry_t; - -typedef struct { - unsigned int clock_rate; - unsigned int clock_type; - short unsigned int loopback; -} sync_serial_settings; - -typedef struct { - unsigned int clock_rate; - unsigned int clock_type; - short unsigned int loopback; - unsigned int slot_map; -} te1_settings; - -typedef struct { - u64 v; -} u64_stats_t; - -typedef struct { - __u8 b[16]; -} uuid_t; - -typedef struct { - gid_t val; -} vfsgid_t; - -typedef struct { - uid_t val; -} vfsuid_t; - -typedef struct { - short unsigned int dce; - unsigned int modulo; - unsigned int window; - unsigned int t1; - unsigned int t2; - unsigned int n2; -} x25_hdlc_proto; - -struct in6_addr { - union { - __u8 u6_addr8[16]; - __be16 u6_addr16[8]; - __be32 u6_addr32[4]; - } in6_u; -}; - -typedef union { - __be32 a4; - __be32 a6[4]; - struct in6_addr in6; -} xfrm_address_t; - -struct hlist_node { - struct hlist_node *next; - struct hlist_node **pprev; -}; - -struct net_rate_estimator; - -struct refcount_struct { - atomic_t refs; -}; - -typedef struct refcount_struct refcount_t; - -struct sk_buff; - -struct sk_buff_list { - struct sk_buff *next; - struct sk_buff *prev; -}; - -struct sk_buff_head { - union { - struct { - struct sk_buff *next; - struct sk_buff *prev; - }; - struct sk_buff_list list; - }; - __u32 qlen; - spinlock_t lock; -}; - -struct qdisc_skb_head { - struct sk_buff *head; - struct sk_buff *tail; - __u32 qlen; - spinlock_t lock; -}; - -struct u64_stats_sync { - seqcount_t seq; -}; - -struct gnet_stats_basic_sync { - u64_stats_t bytes; - u64_stats_t packets; - struct u64_stats_sync syncp; - long: 32; - long: 32; - long: 32; -}; - -struct gnet_stats_queue { - __u32 qlen; - __u32 backlog; - __u32 drops; - __u32 requeues; - __u32 overlimits; -}; - -struct callback_head { - struct callback_head *next; - void (*func)(struct callback_head *); -}; - -struct Qdisc_ops; - -struct qdisc_size_table; - -struct netdev_queue; - -struct Qdisc { - int (*enqueue)(struct sk_buff *, struct Qdisc *, struct sk_buff **); - struct sk_buff * (*dequeue)(struct Qdisc *); - unsigned int flags; - u32 limit; - const struct Qdisc_ops *ops; - struct qdisc_size_table *stab; - struct hlist_node hash; - u32 handle; - u32 parent; - struct netdev_queue *dev_queue; - struct net_rate_estimator *rate_est; - struct gnet_stats_basic_sync *cpu_bstats; - struct gnet_stats_queue *cpu_qstats; - int pad; - refcount_t refcnt; - struct sk_buff_head gso_skb; - struct qdisc_skb_head q; - long: 32; - long: 32; - struct gnet_stats_basic_sync bstats; - struct gnet_stats_queue qstats; - long unsigned int state; - long unsigned int state2; - struct Qdisc *next_sched; - struct sk_buff_head skb_bad_txq; - spinlock_t busylock; - spinlock_t seqlock; - struct callback_head rcu; - netdevice_tracker dev_tracker; - long: 32; - long: 32; - long: 32; - long int privdata[0]; -}; - -struct tcmsg; - -struct netlink_ext_ack; - -struct nlattr; - -struct qdisc_walker; - -struct tcf_block; - -struct gnet_dump; - -struct Qdisc_class_ops { - unsigned int flags; - struct netdev_queue * (*select_queue)(struct Qdisc *, struct tcmsg *); - int (*graft)(struct Qdisc *, long unsigned int, struct Qdisc *, struct Qdisc **, struct netlink_ext_ack *); - struct Qdisc * (*leaf)(struct Qdisc *, long unsigned int); - void (*qlen_notify)(struct Qdisc *, long unsigned int); - long unsigned int (*find)(struct Qdisc *, u32); - int (*change)(struct Qdisc *, u32, u32, struct nlattr **, long unsigned int *, struct netlink_ext_ack *); - int (*delete)(struct Qdisc *, long unsigned int, struct netlink_ext_ack *); - void (*walk)(struct Qdisc *, struct qdisc_walker *); - struct tcf_block * (*tcf_block)(struct Qdisc *, long unsigned int, struct netlink_ext_ack *); - long unsigned int (*bind_tcf)(struct Qdisc *, long unsigned int, u32); - void (*unbind_tcf)(struct Qdisc *, long unsigned int); - int (*dump)(struct Qdisc *, long unsigned int, struct sk_buff *, struct tcmsg *); - int (*dump_stats)(struct Qdisc *, long unsigned int, struct gnet_dump *); -}; - -struct module; - -struct Qdisc_ops { - struct Qdisc_ops *next; - const struct Qdisc_class_ops *cl_ops; - char id[16]; - int priv_size; - unsigned int static_flags; - int (*enqueue)(struct sk_buff *, struct Qdisc *, struct sk_buff **); - struct sk_buff * (*dequeue)(struct Qdisc *); - struct sk_buff * (*peek)(struct Qdisc *); - int (*init)(struct Qdisc *, struct nlattr *, struct netlink_ext_ack *); - void (*reset)(struct Qdisc *); - void (*destroy)(struct Qdisc *); - int (*change)(struct Qdisc *, struct nlattr *, struct netlink_ext_ack *); - void (*attach)(struct Qdisc *); - int (*change_tx_queue_len)(struct Qdisc *, unsigned int); - void (*change_real_num_tx)(struct Qdisc *, unsigned int); - int (*dump)(struct Qdisc *, struct sk_buff *); - int (*dump_stats)(struct Qdisc *, struct gnet_dump *); - void (*ingress_block_set)(struct Qdisc *, u32); - void (*egress_block_set)(struct Qdisc *, u32); - u32 (*ingress_block_get)(struct Qdisc *); - u32 (*egress_block_get)(struct Qdisc *); - struct module *owner; -}; - -struct llist_node { - struct llist_node *next; -}; - -struct __call_single_node { - struct llist_node llist; - union { - unsigned int u_flags; - atomic_t a_flags; - }; -}; - -typedef void (*smp_call_func_t)(void *); - -struct __call_single_data { - struct __call_single_node node; - smp_call_func_t func; - void *info; -}; - -typedef struct __call_single_data call_single_data_t; - -struct genradix_root; - -struct __genradix { - struct genradix_root *root; -}; - -struct cgroup; - -struct pmu; - -struct __group_key { - int cpu; - struct pmu *pmu; - struct cgroup *cgroup; -}; - -struct __kernel_timespec { - __kernel_time64_t tv_sec; - long long int tv_nsec; -}; - -struct __kernel_itimerspec { - struct __kernel_timespec it_interval; - struct __kernel_timespec it_value; -}; - -struct __kernel_old_timespec { - __kernel_old_time_t tv_sec; - long int tv_nsec; -}; - -struct __kernel_old_timeval { - __kernel_long_t tv_sec; - __kernel_long_t tv_usec; -}; - -struct __kernel_sock_timeval { - __s64 tv_sec; - __s64 tv_usec; -}; - -struct __kernel_sockaddr_storage { - union { - struct { - __kernel_sa_family_t ss_family; - char __data[126]; - }; - void *__align; - }; -}; - -struct __kernel_timex_timeval { - __kernel_time64_t tv_sec; - long long int tv_usec; -}; - -struct __kernel_timex { - unsigned int modes; - long: 32; - long long int offset; - long long int freq; - long long int maxerror; - long long int esterror; - int status; - long: 32; - long long int constant; - long long int precision; - long long int tolerance; - struct __kernel_timex_timeval time; - long long int tick; - long long int ppsfreq; - long long int jitter; - int shift; - long: 32; - long long int stabil; - long long int jitcnt; - long long int calcnt; - long long int errcnt; - long long int stbcnt; - int tai; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct __kfifo { - unsigned int in; - unsigned int out; - unsigned int mask; - unsigned int esize; - void *data; -}; - -union sigval { - int sival_int; - void *sival_ptr; -}; - -typedef union sigval sigval_t; - -union __sifields { - struct { - __kernel_pid_t _pid; - __kernel_uid32_t _uid; - } _kill; - struct { - __kernel_timer_t _tid; - int _overrun; - sigval_t _sigval; - int _sys_private; - } _timer; - struct { - __kernel_pid_t _pid; - __kernel_uid32_t _uid; - sigval_t _sigval; - } _rt; - struct { - __kernel_pid_t _pid; - __kernel_uid32_t _uid; - int _status; - __kernel_clock_t _utime; - __kernel_clock_t _stime; - } _sigchld; - struct { - void *_addr; - union { - int _trapno; - short int _addr_lsb; - struct { - char _dummy_bnd[4]; - void *_lower; - void *_upper; - } _addr_bnd; - struct { - char _dummy_pkey[4]; - __u32 _pkey; - } _addr_pkey; - struct { - long unsigned int _data; - __u32 _type; - __u32 _flags; - } _perf; - }; - } _sigfault; - struct { - long int _band; - int _fd; - } _sigpoll; - struct { - void *_call_addr; - int _syscall; - unsigned int _arch; - } _sigsys; -}; - -struct bpf_flow_keys; - -struct bpf_sock; - -struct __sk_buff { - __u32 len; - __u32 pkt_type; - __u32 mark; - __u32 queue_mapping; - __u32 protocol; - __u32 vlan_present; - __u32 vlan_tci; - __u32 vlan_proto; - __u32 priority; - __u32 ingress_ifindex; - __u32 ifindex; - __u32 tc_index; - __u32 cb[5]; - __u32 hash; - __u32 tc_classid; - __u32 data; - __u32 data_end; - __u32 napi_id; - __u32 family; - __u32 remote_ip4; - __u32 local_ip4; - __u32 remote_ip6[4]; - __u32 local_ip6[4]; - __u32 remote_port; - __u32 local_port; - __u32 data_meta; - union { - struct bpf_flow_keys *flow_keys; - }; - __u64 tstamp; - __u32 wire_len; - __u32 gso_segs; - union { - struct bpf_sock *sk; - }; - __u32 gso_size; - __u8 tstamp_type; - __u64 hwtstamp; -}; - -struct __una_u32 { - u32 x; -}; - -struct __va_list { - void *__ap; -}; - -typedef struct __va_list va_list; - -struct _flow_keys_digest_data { - __be16 n_proto; - u8 ip_proto; - u8 padding; - __be32 ports; - __be32 src; - __be32 dst; -}; - -struct strp_msg { - int full_len; - int offset; -}; - -struct _strp_msg { - struct strp_msg strp; - int accum_len; -}; - -struct ack_sample { - u32 pkts_acked; - s32 rtt_us; - u32 in_flight; -}; - -struct acpi_device_id { - __u8 id[16]; - kernel_ulong_t driver_data; - __u32 cls; - __u32 cls_msk; -}; - -struct action_devres { - void *data; - void (*action)(void *); -}; - -struct xarray { - spinlock_t xa_lock; - gfp_t xa_flags; - void *xa_head; -}; - -struct rw_semaphore { - atomic_long_t count; - atomic_long_t owner; - raw_spinlock_t wait_lock; - struct list_head wait_list; -}; - -struct rb_node; - -struct rb_root { - struct rb_node *rb_node; -}; - -struct rb_root_cached { - struct rb_root rb_root; - struct rb_node *rb_leftmost; -}; - -struct inode; - -struct address_space_operations; - -struct address_space { - struct inode *host; - struct xarray i_pages; - struct rw_semaphore invalidate_lock; - gfp_t gfp_mask; - atomic_t i_mmap_writable; - struct rb_root_cached i_mmap; - long unsigned int nrpages; - long unsigned int writeback_index; - const struct address_space_operations *a_ops; - long unsigned int flags; - struct rw_semaphore i_mmap_rwsem; - errseq_t wb_err; - spinlock_t private_lock; - struct list_head private_list; - void *private_data; -}; - -struct page; - -struct writeback_control; - -struct file; - -struct folio; - -struct readahead_control; - -struct kiocb; - -struct iov_iter; - -struct swap_info_struct; - -struct address_space_operations { - int (*writepage)(struct page *, struct writeback_control *); - int (*read_folio)(struct file *, struct folio *); - int (*writepages)(struct address_space *, struct writeback_control *); - bool (*dirty_folio)(struct address_space *, struct folio *); - void (*readahead)(struct readahead_control *); - int (*write_begin)(struct file *, struct address_space *, loff_t, unsigned int, struct page **, void **); - int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct page *, void *); - sector_t (*bmap)(struct address_space *, sector_t); - void (*invalidate_folio)(struct folio *, size_t, size_t); - bool (*release_folio)(struct folio *, gfp_t); - void (*free_folio)(struct folio *); - ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *); - int (*migrate_folio)(struct address_space *, struct folio *, struct folio *, enum migrate_mode); - int (*launder_folio)(struct folio *); - bool (*is_partially_uptodate)(struct folio *, size_t, size_t); - void (*is_dirty_writeback)(struct folio *, bool *, bool *); - int (*error_remove_page)(struct address_space *, struct page *); - int (*swap_activate)(struct swap_info_struct *, struct file *, sector_t *); - void (*swap_deactivate)(struct file *); - int (*swap_rw)(struct kiocb *, struct iov_iter *); -}; - -struct cpumask; - -struct affinity_context { - const struct cpumask *new_mask; - struct cpumask *user_mask; - unsigned int flags; -}; - -struct component_master_ops; - -struct device; - -struct component_match; - -struct aggregate_device { - struct list_head node; - bool bound; - const struct component_master_ops *ops; - struct device *parent; - struct component_match *match; -}; - -struct rb_node { - long unsigned int __rb_parent_color; - struct rb_node *rb_right; - struct rb_node *rb_left; -}; - -struct timerqueue_node { - struct rb_node node; - long: 32; - ktime_t expires; -}; - -struct hrtimer_clock_base; - -struct hrtimer { - struct timerqueue_node node; - ktime_t _softexpires; - enum hrtimer_restart (*function)(struct hrtimer *); - struct hrtimer_clock_base *base; - u8 state; - u8 is_rel; - u8 is_soft; - u8 is_hard; - long: 32; -}; - -struct alarm { - struct timerqueue_node node; - struct hrtimer timer; - enum alarmtimer_restart (*function)(struct alarm *, ktime_t); - enum alarmtimer_type type; - int state; - void *data; -}; - -struct timerqueue_head { - struct rb_root_cached rb_root; -}; - -struct timespec64; - -struct alarm_base { - spinlock_t lock; - struct timerqueue_head timerqueue; - ktime_t (*get_ktime)(); - void (*get_timespec)(struct timespec64 *); - clockid_t base_clockid; -}; - -struct device_node; - -struct alias_prop { - struct list_head link; - const char *alias; - struct device_node *np; - int id; - char stem[0]; -}; - -struct zonelist; - -struct zoneref; - -struct alloc_context { - struct zonelist *zonelist; - nodemask_t *nodemask; - struct zoneref *preferred_zoneref; - int migratetype; - enum zone_type highest_zoneidx; - bool spread_dirty_pages; -}; - -struct amba_cs_uci_id { - unsigned int devarch; - unsigned int devarch_mask; - unsigned int devtype; - void *data; -}; - -struct kref { - refcount_t refcount; -}; - -struct kset; - -struct kobj_type; - -struct kernfs_node; - -struct kobject { - const char *name; - struct list_head entry; - struct kobject *parent; - struct kset *kset; - const struct kobj_type *ktype; - struct kernfs_node *sd; - struct kref kref; - unsigned int state_initialized: 1; - unsigned int state_in_sysfs: 1; - unsigned int state_add_uevent_sent: 1; - unsigned int state_remove_uevent_sent: 1; - unsigned int uevent_suppress: 1; -}; - -struct mutex { - atomic_long_t owner; - raw_spinlock_t wait_lock; - struct list_head wait_list; -}; - -struct dev_links_info { - struct list_head suppliers; - struct list_head consumers; - struct list_head defer_sync; - enum dl_dev_state status; -}; - -struct pm_message { - int event; -}; - -typedef struct pm_message pm_message_t; - -struct pm_subsys_data; - -struct dev_pm_qos; - -struct dev_pm_info { - pm_message_t power_state; - unsigned int can_wakeup: 1; - unsigned int async_suspend: 1; - bool in_dpm_list: 1; - bool is_prepared: 1; - bool is_suspended: 1; - bool is_noirq_suspended: 1; - bool is_late_suspended: 1; - bool no_pm: 1; - bool early_init: 1; - bool direct_complete: 1; - u32 driver_flags; - spinlock_t lock; - unsigned int should_wakeup: 1; - struct pm_subsys_data *subsys_data; - void (*set_latency_tolerance)(struct device *, s32); - struct dev_pm_qos *qos; -}; - -struct dev_msi_info {}; - -struct dev_archdata { - unsigned int dma_ops_setup: 1; -}; - -struct dev_iommu; - -struct device_private; - -struct device_type; - -struct bus_type; - -struct device_driver; - -struct dev_pm_domain; - -struct dma_map_ops; - -struct bus_dma_region; - -struct device_dma_parameters; - -struct dma_coherent_mem; - -struct fwnode_handle; - -struct class; - -struct attribute_group; - -struct iommu_group; - -struct device_physical_location; - -struct device { - struct kobject kobj; - struct device *parent; - struct device_private *p; - const char *init_name; - const struct device_type *type; - const struct bus_type *bus; - struct device_driver *driver; - void *platform_data; - void *driver_data; - struct mutex mutex; - struct dev_links_info links; - struct dev_pm_info power; - struct dev_pm_domain *pm_domain; - struct dev_msi_info msi; - const struct dma_map_ops *dma_ops; - u64 *dma_mask; - long: 32; - u64 coherent_dma_mask; - u64 bus_dma_limit; - const struct bus_dma_region *dma_range_map; - struct device_dma_parameters *dma_parms; - struct list_head dma_pools; - struct dma_coherent_mem *dma_mem; - struct dev_archdata archdata; - struct device_node *of_node; - struct fwnode_handle *fwnode; - dev_t devt; - u32 id; - spinlock_t devres_lock; - struct list_head devres_head; - const struct class *class; - const struct attribute_group **groups; - void (*release)(struct device *); - struct iommu_group *iommu_group; - struct dev_iommu *iommu; - struct device_physical_location *physical_location; - enum device_removable removable; - bool offline_disabled: 1; - bool offline: 1; - bool of_node_reused: 1; - bool state_synced: 1; - bool can_match: 1; - bool dma_coherent: 1; -}; - -struct resource { - resource_size_t start; - resource_size_t end; - const char *name; - long unsigned int flags; - long unsigned int desc; - struct resource *parent; - struct resource *sibling; - struct resource *child; -}; - -struct device_dma_parameters { - unsigned int max_segment_size; - unsigned int min_align_mask; - long unsigned int segment_boundary_mask; -}; - -struct clk; - -struct amba_device { - struct device dev; - struct resource res; - struct clk *pclk; - struct device_dma_parameters dma_parms; - unsigned int periphid; - struct mutex periphid_lock; - unsigned int cid; - struct amba_cs_uci_id uci; - unsigned int irq[9]; - const char *driver_override; - long: 32; -}; - -struct kobj_uevent_env; - -struct kobj_ns_type_operations; - -struct dev_pm_ops; - -struct class { - const char *name; - const struct attribute_group **class_groups; - const struct attribute_group **dev_groups; - int (*dev_uevent)(const struct device *, struct kobj_uevent_env *); - char * (*devnode)(const struct device *, umode_t *); - void (*class_release)(const struct class *); - void (*dev_release)(struct device *); - int (*shutdown_pre)(struct device *); - const struct kobj_ns_type_operations *ns_type; - const void * (*namespace)(const struct device *); - void (*get_ownership)(const struct device *, kuid_t *, kgid_t *); - const struct dev_pm_ops *pm; -}; - -struct transport_container; - -struct transport_class { - struct class class; - int (*setup)(struct transport_container *, struct device *, struct device *); - int (*configure)(struct transport_container *, struct device *, struct device *); - int (*remove)(struct transport_container *, struct device *, struct device *); -}; - -struct klist_node; - -struct klist { - spinlock_t k_lock; - struct list_head k_list; - void (*get)(struct klist_node *); - void (*put)(struct klist_node *); -}; - -struct device_attribute; - -struct attribute_container { - struct list_head node; - struct klist containers; - struct class *class; - const struct attribute_group *grp; - struct device_attribute **attrs; - int (*match)(struct attribute_container *, struct device *); - long unsigned int flags; -}; - -struct anon_transport_class { - struct transport_class tclass; - struct attribute_container container; -}; - -struct anon_vma { - struct anon_vma *root; - struct rw_semaphore rwsem; - atomic_t refcount; - long unsigned int num_children; - long unsigned int num_active_vmas; - struct anon_vma *parent; - struct rb_root_cached rb_root; -}; - -struct vm_area_struct; - -struct anon_vma_chain { - struct vm_area_struct *vma; - struct anon_vma *anon_vma; - struct list_head same_vma; - struct rb_node rb; - long unsigned int rb_subtree_last; -}; - -struct workqueue_struct; - -struct workqueue_attrs; - -struct pool_workqueue; - -struct apply_wqattrs_ctx { - struct workqueue_struct *wq; - struct workqueue_attrs *attrs; - struct list_head list; - struct pool_workqueue *dfl_pwq; - struct pool_workqueue *pwq_tbl[0]; -}; - -struct arch_io_reserve_memtype_wc_devres { - resource_size_t start; - resource_size_t size; -}; - -struct arch_msi_msg_addr_hi { - u32 address_hi; -}; - -typedef struct arch_msi_msg_addr_hi arch_msi_msg_addr_hi_t; - -struct arch_msi_msg_addr_lo { - u32 address_lo; -}; - -typedef struct arch_msi_msg_addr_lo arch_msi_msg_addr_lo_t; - -struct arch_msi_msg_data { - u32 data; -}; - -typedef struct arch_msi_msg_data arch_msi_msg_data_t; - -struct net; - -struct arg_dev_net_ip { - struct net *net; - struct in6_addr *addr; -}; - -struct net_device; - -struct arg_netdev_event { - const struct net_device *dev; - union { - unsigned char nh_flags; - long unsigned int event; - }; -}; - -struct arm_delay_ops { - void (*delay)(long unsigned int); - void (*const_udelay)(long unsigned int); - void (*udelay)(long unsigned int); - long unsigned int ticks_per_jiffy; -}; - -struct perf_cpu_pmu_context; - -struct perf_event; - -struct mm_struct; - -struct perf_event_pmu_context; - -struct kmem_cache; - -struct perf_output_handle; - -struct pmu { - struct list_head entry; - struct module *module; - struct device *dev; - struct device *parent; - const struct attribute_group **attr_groups; - const struct attribute_group **attr_update; - const char *name; - int type; - int capabilities; - int *pmu_disable_count; - struct perf_cpu_pmu_context *cpu_pmu_context; - atomic_t exclusive_cnt; - int task_ctx_nr; - int hrtimer_interval_ms; - unsigned int nr_addr_filters; - void (*pmu_enable)(struct pmu *); - void (*pmu_disable)(struct pmu *); - int (*event_init)(struct perf_event *); - void (*event_mapped)(struct perf_event *, struct mm_struct *); - void (*event_unmapped)(struct perf_event *, struct mm_struct *); - int (*add)(struct perf_event *, int); - void (*del)(struct perf_event *, int); - void (*start)(struct perf_event *, int); - void (*stop)(struct perf_event *, int); - void (*read)(struct perf_event *); - void (*start_txn)(struct pmu *, unsigned int); - int (*commit_txn)(struct pmu *); - void (*cancel_txn)(struct pmu *); - int (*event_idx)(struct perf_event *); - void (*sched_task)(struct perf_event_pmu_context *, bool); - struct kmem_cache *task_ctx_cache; - void (*swap_task_ctx)(struct perf_event_pmu_context *, struct perf_event_pmu_context *); - void * (*setup_aux)(struct perf_event *, void **, int, bool); - void (*free_aux)(void *); - long int (*snapshot_aux)(struct perf_event *, struct perf_output_handle *, long unsigned int); - int (*addr_filters_validate)(struct list_head *); - void (*addr_filters_sync)(struct perf_event *); - int (*aux_output_match)(struct perf_event *); - bool (*filter)(struct pmu *, int); - int (*check_period)(struct perf_event *, u64); -}; - -struct cpumask { - long unsigned int bits[1]; -}; - -typedef struct cpumask cpumask_t; - -struct notifier_block; - -typedef int (*notifier_fn_t)(struct notifier_block *, long unsigned int, void *); - -struct notifier_block { - notifier_fn_t notifier_call; - struct notifier_block *next; - int priority; -}; - -struct pmu_hw_events; - -struct hw_perf_event; - -struct perf_event_attr; - -struct platform_device; - -struct arm_pmu { - struct pmu pmu; - cpumask_t supported_cpus; - char *name; - int pmuver; - irqreturn_t (*handle_irq)(struct arm_pmu *); - void (*enable)(struct perf_event *); - void (*disable)(struct perf_event *); - int (*get_event_idx)(struct pmu_hw_events *, struct perf_event *); - void (*clear_event_idx)(struct pmu_hw_events *, struct perf_event *); - int (*set_event_filter)(struct hw_perf_event *, struct perf_event_attr *); - u64 (*read_counter)(struct perf_event *); - void (*write_counter)(struct perf_event *, u64); - void (*start)(struct arm_pmu *); - void (*stop)(struct arm_pmu *); - void (*reset)(void *); - int (*map_event)(struct perf_event *); - int num_events; - bool secure_access; - long unsigned int pmceid_bitmap[2]; - long unsigned int pmceid_ext_bitmap[2]; - struct platform_device *plat_device; - struct pmu_hw_events *hw_events; - struct hlist_node node; - struct notifier_block cpu_pm_nb; - const struct attribute_group *attr_groups[5]; - u64 reg_pmmir; - long unsigned int acpi_cpuid; - long: 32; -}; - -struct arphdr { - __be16 ar_hrd; - __be16 ar_pro; - unsigned char ar_hln; - unsigned char ar_pln; - __be16 ar_op; -}; - -struct sockaddr { - sa_family_t sa_family; - union { - char sa_data_min[14]; - struct { - struct {} __empty_sa_data; - char sa_data[0]; - }; - }; -}; - -struct arpreq { - struct sockaddr arp_pa; - struct sockaddr arp_ha; - int arp_flags; - struct sockaddr arp_netmask; - char arp_dev[16]; -}; - -struct async_domain { - struct list_head pending; - unsigned int registered: 1; -}; - -struct work_struct; - -typedef void (*work_func_t)(struct work_struct *); - -struct work_struct { - atomic_long_t data; - struct list_head entry; - work_func_t func; -}; - -typedef void (*async_func_t)(void *, async_cookie_t); - -struct async_entry { - struct list_head domain_list; - struct list_head global_list; - struct work_struct work; - async_cookie_t cookie; - async_func_t func; - void *data; - struct async_domain *domain; - long: 32; -}; - -struct atomic_notifier_head { - spinlock_t lock; - struct notifier_block *head; -}; - -struct attribute { - const char *name; - umode_t mode; -}; - -struct bin_attribute; - -struct attribute_group { - const char *name; - umode_t (*is_visible)(struct kobject *, struct attribute *, int); - umode_t (*is_bin_visible)(struct kobject *, struct bin_attribute *, int); - struct attribute **attrs; - struct bin_attribute **bin_attrs; -}; - -struct audit_ntp_data {}; - -struct aux_sigframe { - long unsigned int end_magic; - long: 32; -}; - -struct percpu_counter { - s64 count; -}; - -struct fprop_local_percpu { - struct percpu_counter events; - unsigned int period; - raw_spinlock_t lock; - long: 32; -}; - -struct timer_list { - struct hlist_node entry; - long unsigned int expires; - void (*function)(struct timer_list *); - u32 flags; -}; - -struct delayed_work { - struct work_struct work; - struct timer_list timer; - struct workqueue_struct *wq; - int cpu; -}; - -struct backing_dev_info; - -struct bdi_writeback { - struct backing_dev_info *bdi; - long unsigned int state; - long unsigned int last_old_flush; - struct list_head b_dirty; - struct list_head b_io; - struct list_head b_more_io; - struct list_head b_dirty_time; - spinlock_t list_lock; - atomic_t writeback_inodes; - struct percpu_counter stat[4]; - long unsigned int bw_time_stamp; - long unsigned int dirtied_stamp; - long unsigned int written_stamp; - long unsigned int write_bandwidth; - long unsigned int avg_write_bandwidth; - long unsigned int dirty_ratelimit; - long unsigned int balanced_dirty_ratelimit; - long: 32; - struct fprop_local_percpu completions; - int dirty_exceeded; - enum wb_reason start_all_reason; - spinlock_t work_lock; - struct list_head work_list; - struct delayed_work dwork; - struct delayed_work bw_dwork; - long unsigned int dirty_sleep; - struct list_head bdi_node; - long: 32; -}; - -struct backing_dev_info { - u64 id; - struct rb_node rb_node; - struct list_head bdi_list; - long unsigned int ra_pages; - long unsigned int io_pages; - struct kref refcnt; - unsigned int capabilities; - unsigned int min_ratio; - unsigned int max_ratio; - unsigned int max_prop_frac; - atomic_long_t tot_write_bandwidth; - long: 32; - struct bdi_writeback wb; - struct list_head wb_list; - wait_queue_head_t wb_waitq; - struct device *dev; - char dev_name[64]; - struct device *owner; - struct timer_list laptop_mode_wb_timer; - long: 32; -}; - -struct pid; - -struct fown_struct { - rwlock_t lock; - struct pid *pid; - enum pid_type pid_type; - kuid_t uid; - kuid_t euid; - int signum; -}; - -struct file_ra_state { - long unsigned int start; - unsigned int size; - unsigned int async_size; - unsigned int ra_pages; - unsigned int mmap_miss; - long: 32; - loff_t prev_pos; -}; - -struct vfsmount; - -struct dentry; - -struct path { - struct vfsmount *mnt; - struct dentry *dentry; -}; - -struct cred; - -struct file_operations; - -struct file { - union { - struct llist_node f_llist; - struct callback_head f_rcuhead; - unsigned int f_iocb_flags; - }; - spinlock_t f_lock; - fmode_t f_mode; - atomic_long_t f_count; - struct mutex f_pos_lock; - long: 32; - loff_t f_pos; - unsigned int f_flags; - struct fown_struct f_owner; - const struct cred *f_cred; - long: 32; - struct file_ra_state f_ra; - struct path f_path; - struct inode *f_inode; - const struct file_operations *f_op; - u64 f_version; - void *private_data; - struct address_space *f_mapping; - errseq_t f_wb_err; - errseq_t f_sb_err; -}; - -struct backing_file { - struct file file; - struct path real_path; -}; - -struct bpf_verifier_env; - -struct backtrack_state { - struct bpf_verifier_env *env; - u32 frame; - u32 reg_masks[8]; - u64 stack_masks[8]; -}; - -struct rq; - -struct balance_callback { - struct balance_callback *next; - void (*func)(struct rq *); -}; - -struct batadv_unicast_packet { - __u8 packet_type; - __u8 version; - __u8 ttl; - __u8 ttvn; - __u8 dest[6]; -}; - -struct batch_u16 { - u16 entropy[48]; - local_lock_t lock; - long unsigned int generation; - unsigned int position; -}; - -struct batch_u32 { - u32 entropy[24]; - local_lock_t lock; - long unsigned int generation; - unsigned int position; -}; - -struct batch_u64 { - u64 entropy[12]; - local_lock_t lock; - long unsigned int generation; - unsigned int position; -}; - -struct batch_u8 { - u8 entropy[96]; - local_lock_t lock; - long unsigned int generation; - unsigned int position; -}; - -struct bictcp { - u32 cnt; - u32 last_max_cwnd; - u32 last_cwnd; - u32 last_time; - u32 bic_origin_point; - u32 bic_K; - u32 delay_min; - u32 epoch_start; - u32 ack_cnt; - u32 tcp_cwnd; - u16 unused; - u8 sample_cnt; - u8 found; - u32 round_start; - u32 end_seq; - u32 last_ack; - u32 curr_rtt; -}; - -struct bin_attribute { - struct attribute attr; - size_t size; - void *private; - struct address_space * (*f_mapping)(); - ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t); - ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t); - int (*mmap)(struct file *, struct kobject *, struct bin_attribute *, struct vm_area_struct *); -}; - -struct bvec_iter { - sector_t bi_sector; - unsigned int bi_size; - unsigned int bi_idx; - unsigned int bi_bvec_done; -}; - -struct bio; - -typedef void bio_end_io_t(struct bio *); - -struct bio_vec { - struct page *bv_page; - unsigned int bv_len; - unsigned int bv_offset; -}; - -struct block_device; - -struct bio_set; - -struct bio { - struct bio *bi_next; - struct block_device *bi_bdev; - blk_opf_t bi_opf; - short unsigned int bi_flags; - short unsigned int bi_ioprio; - blk_status_t bi_status; - atomic_t __bi_remaining; - struct bvec_iter bi_iter; - blk_qc_t bi_cookie; - bio_end_io_t *bi_end_io; - void *bi_private; - union {}; - short unsigned int bi_vcnt; - short unsigned int bi_max_vecs; - atomic_t __bi_cnt; - struct bio_vec *bi_io_vec; - struct bio_set *bi_pool; - struct bio_vec bi_inline_vecs[0]; -}; - -struct bio_list { - struct bio *head; - struct bio *tail; -}; - -struct bio_alloc_cache; - -typedef void *mempool_alloc_t(gfp_t, void *); - -typedef void mempool_free_t(void *, void *); - -struct mempool_s { - spinlock_t lock; - int min_nr; - int curr_nr; - void **elements; - void *pool_data; - mempool_alloc_t *alloc; - mempool_free_t *free; - wait_queue_head_t wait; -}; - -typedef struct mempool_s mempool_t; - -struct bio_set { - struct kmem_cache *bio_slab; - unsigned int front_pad; - struct bio_alloc_cache *cache; - mempool_t bio_pool; - mempool_t bvec_pool; - unsigned int back_pad; - spinlock_t rescue_lock; - struct bio_list rescue_list; - struct work_struct rescue_work; - struct workqueue_struct *rescue_workqueue; - struct hlist_node cpuhp_dead; -}; - -typedef struct bio_vec skb_frag_t; - -struct blake2s_state { - u32 h[8]; - u32 t[2]; - u32 f[2]; - u8 buf[64]; - unsigned int buflen; - unsigned int outlen; -}; - -struct blk_holder_ops { - void (*mark_dead)(struct block_device *, bool); - void (*sync)(struct block_device *); -}; - -struct blk_independent_access_range { - struct kobject kobj; - long: 32; - sector_t sector; - sector_t nr_sectors; -}; - -struct blk_independent_access_ranges { - struct kobject kobj; - bool sysfs_registered; - unsigned int nr_ia_ranges; - long: 32; - struct blk_independent_access_range ia_range[0]; -}; - -struct blk_plug {}; - -struct blk_zone { - __u64 start; - __u64 len; - __u64 wp; - __u8 type; - __u8 cond; - __u8 non_seq; - __u8 reset; - __u8 resv[4]; - __u64 capacity; - __u8 reserved[24]; -}; - -struct disk_stats; - -struct gendisk; - -struct request_queue; - -struct super_block; - -struct partition_meta_info; - -struct block_device { - sector_t bd_start_sect; - sector_t bd_nr_sectors; - struct gendisk *bd_disk; - struct request_queue *bd_queue; - struct disk_stats *bd_stats; - long unsigned int bd_stamp; - bool bd_read_only; - u8 bd_partno; - bool bd_write_holder; - bool bd_has_submit_bio; - dev_t bd_dev; - atomic_t bd_openers; - spinlock_t bd_size_lock; - struct inode *bd_inode; - void *bd_claiming; - void *bd_holder; - const struct blk_holder_ops *bd_holder_ops; - struct mutex bd_holder_lock; - int bd_fsfreeze_count; - int bd_holders; - struct kobject *bd_holder_dir; - struct mutex bd_fsfreeze_mutex; - struct super_block *bd_fsfreeze_sb; - struct partition_meta_info *bd_meta_info; - struct device bd_device; -}; - -struct hd_geometry; - -typedef int (*report_zones_cb)(struct blk_zone *, unsigned int, void *); - -struct pr_ops; - -struct io_comp_batch; - -struct block_device_operations { - void (*submit_bio)(struct bio *); - int (*poll_bio)(struct bio *, struct io_comp_batch *, unsigned int); - int (*open)(struct gendisk *, blk_mode_t); - void (*release)(struct gendisk *); - int (*ioctl)(struct block_device *, blk_mode_t, unsigned int, long unsigned int); - int (*compat_ioctl)(struct block_device *, blk_mode_t, unsigned int, long unsigned int); - unsigned int (*check_events)(struct gendisk *, unsigned int); - void (*unlock_native_capacity)(struct gendisk *); - int (*getgeo)(struct block_device *, struct hd_geometry *); - int (*set_read_only)(struct block_device *, bool); - void (*free_disk)(struct gendisk *); - void (*swap_slot_free_notify)(struct block_device *, long unsigned int); - int (*report_zones)(struct gendisk *, sector_t, unsigned int, report_zones_cb, void *); - char * (*devnode)(struct gendisk *, umode_t *); - int (*get_unique_id)(struct gendisk *, u8 *, enum blk_unique_id); - struct module *owner; - const struct pr_ops *pr_ops; - int (*alternative_gpt_sector)(struct gendisk *, sector_t *); -}; - -struct blocking_notifier_head { - struct rw_semaphore rwsem; - struct notifier_block *head; -}; - -struct bpf_active_lock { - void *ptr; - u32 id; -}; - -struct bpf_map_ops; - -struct btf_record; - -struct btf; - -struct bpf_map { - const struct bpf_map_ops *ops; - struct bpf_map *inner_map_meta; - enum bpf_map_type map_type; - u32 key_size; - u32 value_size; - u32 max_entries; - u64 map_extra; - u32 map_flags; - u32 id; - struct btf_record *record; - int numa_node; - u32 btf_key_type_id; - u32 btf_value_type_id; - u32 btf_vmlinux_value_type_id; - struct btf *btf; - char name[16]; - long: 32; - long: 32; - long: 32; - long: 32; - atomic64_t refcnt; - atomic64_t usercnt; - struct work_struct work; - struct mutex freeze_mutex; - long: 32; - atomic64_t writecnt; - struct { - spinlock_t lock; - enum bpf_prog_type type; - bool jited; - bool xdp_has_frags; - } owner; - bool bypass_spec_v1; - bool frozen; - s64 *elem_count; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct bpf_array_aux; - -struct bpf_array { - struct bpf_map map; - u32 elem_size; - u32 index_mask; - struct bpf_array_aux *aux; - long: 32; - union { - struct { - struct {} __empty_value; - char value[0]; - }; - struct { - struct {} __empty_ptrs; - void *ptrs[0]; - }; - struct { - struct {} __empty_pptrs; - void *pptrs[0]; - }; - }; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct bpf_array_aux { - struct list_head poke_progs; - struct bpf_map *map; - struct mutex poke_mutex; - struct work_struct work; -}; - -struct btf_func_model { - u8 ret_size; - u8 ret_flags; - u8 nr_args; - u8 arg_size[12]; - u8 arg_flags[12]; -}; - -struct btf_type; - -struct bpf_attach_target_info { - struct btf_func_model fmodel; - long int tgt_addr; - struct module *tgt_mod; - const char *tgt_name; - const struct btf_type *tgt_type; -}; - -union bpf_attr { - struct { - __u32 map_type; - __u32 key_size; - __u32 value_size; - __u32 max_entries; - __u32 map_flags; - __u32 inner_map_fd; - __u32 numa_node; - char map_name[16]; - __u32 map_ifindex; - __u32 btf_fd; - __u32 btf_key_type_id; - __u32 btf_value_type_id; - __u32 btf_vmlinux_value_type_id; - __u64 map_extra; - }; - struct { - __u32 map_fd; - long: 32; - __u64 key; - union { - __u64 value; - __u64 next_key; - }; - __u64 flags; - }; - struct { - __u64 in_batch; - __u64 out_batch; - __u64 keys; - __u64 values; - __u32 count; - __u32 map_fd; - __u64 elem_flags; - __u64 flags; - } batch; - struct { - __u32 prog_type; - __u32 insn_cnt; - __u64 insns; - __u64 license; - __u32 log_level; - __u32 log_size; - __u64 log_buf; - __u32 kern_version; - __u32 prog_flags; - char prog_name[16]; - __u32 prog_ifindex; - __u32 expected_attach_type; - __u32 prog_btf_fd; - __u32 func_info_rec_size; - __u64 func_info; - __u32 func_info_cnt; - __u32 line_info_rec_size; - __u64 line_info; - __u32 line_info_cnt; - __u32 attach_btf_id; - union { - __u32 attach_prog_fd; - __u32 attach_btf_obj_fd; - }; - __u32 core_relo_cnt; - __u64 fd_array; - __u64 core_relos; - __u32 core_relo_rec_size; - __u32 log_true_size; - }; - struct { - __u64 pathname; - __u32 bpf_fd; - __u32 file_flags; - __s32 path_fd; - long: 32; - }; - struct { - union { - __u32 target_fd; - __u32 target_ifindex; - }; - __u32 attach_bpf_fd; - __u32 attach_type; - __u32 attach_flags; - __u32 replace_bpf_fd; - union { - __u32 relative_fd; - __u32 relative_id; - }; - __u64 expected_revision; - }; - struct { - __u32 prog_fd; - __u32 retval; - __u32 data_size_in; - __u32 data_size_out; - __u64 data_in; - __u64 data_out; - __u32 repeat; - __u32 duration; - __u32 ctx_size_in; - __u32 ctx_size_out; - __u64 ctx_in; - __u64 ctx_out; - __u32 flags; - __u32 cpu; - __u32 batch_size; - long: 32; - } test; - struct { - union { - __u32 start_id; - __u32 prog_id; - __u32 map_id; - __u32 btf_id; - __u32 link_id; - }; - __u32 next_id; - __u32 open_flags; - }; - struct { - __u32 bpf_fd; - __u32 info_len; - __u64 info; - } info; - struct { - union { - __u32 target_fd; - __u32 target_ifindex; - }; - __u32 attach_type; - __u32 query_flags; - __u32 attach_flags; - __u64 prog_ids; - union { - __u32 prog_cnt; - __u32 count; - }; - long: 32; - __u64 prog_attach_flags; - __u64 link_ids; - __u64 link_attach_flags; - __u64 revision; - } query; - struct { - __u64 name; - __u32 prog_fd; - long: 32; - } raw_tracepoint; - struct { - __u64 btf; - __u64 btf_log_buf; - __u32 btf_size; - __u32 btf_log_size; - __u32 btf_log_level; - __u32 btf_log_true_size; - }; - struct { - __u32 pid; - __u32 fd; - __u32 flags; - __u32 buf_len; - __u64 buf; - __u32 prog_id; - __u32 fd_type; - __u64 probe_offset; - __u64 probe_addr; - } task_fd_query; - struct { - union { - __u32 prog_fd; - __u32 map_fd; - }; - union { - __u32 target_fd; - __u32 target_ifindex; - }; - __u32 attach_type; - __u32 flags; - union { - __u32 target_btf_id; - struct { - __u64 iter_info; - __u32 iter_info_len; - long: 32; - }; - struct { - __u64 bpf_cookie; - } perf_event; - struct { - __u32 flags; - __u32 cnt; - __u64 syms; - __u64 addrs; - __u64 cookies; - } kprobe_multi; - struct { - __u32 target_btf_id; - long: 32; - __u64 cookie; - } tracing; - struct { - __u32 pf; - __u32 hooknum; - __s32 priority; - __u32 flags; - } netfilter; - struct { - union { - __u32 relative_fd; - __u32 relative_id; - }; - long: 32; - __u64 expected_revision; - } tcx; - struct { - __u64 path; - __u64 offsets; - __u64 ref_ctr_offsets; - __u64 cookies; - __u32 cnt; - __u32 flags; - __u32 pid; - long: 32; - } uprobe_multi; - }; - } link_create; - struct { - __u32 link_fd; - union { - __u32 new_prog_fd; - __u32 new_map_fd; - }; - __u32 flags; - union { - __u32 old_prog_fd; - __u32 old_map_fd; - }; - } link_update; - struct { - __u32 link_fd; - } link_detach; - struct { - __u32 type; - } enable_stats; - struct { - __u32 link_fd; - __u32 flags; - } iter_create; - struct { - __u32 prog_fd; - __u32 map_fd; - __u32 flags; - } prog_bind_map; -}; - -struct bpf_binary_header { - u32 size; - long: 32; - u8 image[0]; -}; - -struct bpf_bloom_filter { - struct bpf_map map; - u32 bitset_mask; - u32 hash_seed; - u32 nr_hash_funcs; - long unsigned int bitset[0]; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct bpf_bprintf_buffers { - char bin_args[512]; - char buf[1024]; -}; - -struct bpf_bprintf_data { - u32 *bin_args; - char *buf; - bool get_bin_args; - bool get_buf; -}; - -struct bpf_btf_info { - __u64 btf; - __u32 btf_size; - __u32 id; - __u64 name; - __u32 name_len; - __u32 kernel_btf; -}; - -struct btf_field; - -struct bpf_call_arg_meta { - struct bpf_map *map_ptr; - bool raw_mode; - bool pkt_access; - u8 release_regno; - int regno; - int access_size; - int mem_size; - long: 32; - u64 msize_max_value; - int ref_obj_id; - int dynptr_id; - int map_uid; - int func_id; - struct btf *btf; - u32 btf_id; - struct btf *ret_btf; - u32 ret_btf_id; - u32 subprogno; - struct btf_field *kptr_field; -}; - -struct bpf_cand_cache { - const char *name; - u32 name_len; - u16 kind; - u16 cnt; - struct { - const struct btf *btf; - u32 id; - } cands[0]; -}; - -struct bpf_run_ctx {}; - -struct bpf_prog_array_item; - -struct bpf_cg_run_ctx { - struct bpf_run_ctx run_ctx; - const struct bpf_prog_array_item *prog_item; - int retval; -}; - -struct bpf_lru_list { - struct list_head lists[3]; - unsigned int counts[2]; - struct list_head *next_inactive_rotation; - raw_spinlock_t lock; -}; - -struct bpf_lru_locallist; - -struct bpf_common_lru { - struct bpf_lru_list lru_list; - struct bpf_lru_locallist *local_list; -}; - -struct bpf_core_accessor { - __u32 type_id; - __u32 idx; - const char *name; -}; - -struct bpf_core_cand { - const struct btf *btf; - __u32 id; -}; - -struct bpf_core_cand_list { - struct bpf_core_cand *cands; - int len; -}; - -struct bpf_verifier_log; - -struct bpf_core_ctx { - struct bpf_verifier_log *log; - const struct btf *btf; -}; - -struct bpf_core_relo { - __u32 insn_off; - __u32 type_id; - __u32 access_str_off; - enum bpf_core_relo_kind kind; -}; - -struct bpf_core_relo_res { - __u64 orig_val; - __u64 new_val; - bool poison; - bool validate; - bool fail_memsz_adjust; - __u32 orig_sz; - __u32 orig_type_id; - __u32 new_sz; - __u32 new_type_id; - long: 32; -}; - -struct bpf_core_spec { - const struct btf *btf; - struct bpf_core_accessor spec[64]; - __u32 root_type_id; - enum bpf_core_relo_kind relo_kind; - int len; - int raw_spec[64]; - int raw_len; - __u32 bit_offset; -}; - -struct bpf_cpu_map_entry; - -struct bpf_cpu_map { - struct bpf_map map; - struct bpf_cpu_map_entry **cpu_map; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct bpf_cpumap_val { - __u32 qsize; - union { - int fd; - __u32 id; - } bpf_prog; -}; - -struct swait_queue_head { - raw_spinlock_t lock; - struct list_head task_list; -}; - -struct completion { - unsigned int done; - struct swait_queue_head wait; -}; - -struct rcu_work { - struct work_struct work; - struct callback_head rcu; - struct workqueue_struct *wq; -}; - -struct xdp_bulk_queue; - -struct ptr_ring; - -struct task_struct; - -struct bpf_prog; - -struct bpf_cpu_map_entry { - u32 cpu; - int map_id; - struct xdp_bulk_queue *bulkq; - struct ptr_ring *queue; - struct task_struct *kthread; - struct bpf_cpumap_val value; - struct bpf_prog *prog; - struct completion kthread_running; - struct rcu_work free_work; -}; - -struct bpf_cpumask { - cpumask_t cpumask; - refcount_t usage; -}; - -struct bpf_ctx_arg_aux { - u32 offset; - enum bpf_reg_type reg_type; - u32 btf_id; -}; - -struct sock; - -struct sk_buff { - union { - struct { - struct sk_buff *next; - struct sk_buff *prev; - union { - struct net_device *dev; - long unsigned int dev_scratch; - }; - }; - struct rb_node rbnode; - struct list_head list; - struct llist_node ll_node; - }; - union { - struct sock *sk; - int ip_defrag_offset; - }; - union { - ktime_t tstamp; - u64 skb_mstamp_ns; - }; - char cb[48]; - union { - struct { - long unsigned int _skb_refdst; - void (*destructor)(struct sk_buff *); - }; - struct list_head tcp_tsorted_anchor; - long unsigned int _sk_redir; - }; - unsigned int len; - unsigned int data_len; - __u16 mac_len; - __u16 hdr_len; - __u16 queue_mapping; - __u8 __cloned_offset[0]; - __u8 cloned: 1; - __u8 nohdr: 1; - __u8 fclone: 2; - __u8 peeked: 1; - __u8 head_frag: 1; - __u8 pfmemalloc: 1; - __u8 pp_recycle: 1; - union { - struct { - __u8 __pkt_type_offset[0]; - __u8 pkt_type: 3; - __u8 ignore_df: 1; - __u8 dst_pending_confirm: 1; - __u8 ip_summed: 2; - __u8 ooo_okay: 1; - __u8 __mono_tc_offset[0]; - __u8 mono_delivery_time: 1; - __u8 tc_at_ingress: 1; - __u8 tc_skip_classify: 1; - __u8 remcsum_offload: 1; - __u8 csum_complete_sw: 1; - __u8 csum_level: 2; - __u8 inner_protocol_type: 1; - __u8 l4_hash: 1; - __u8 sw_hash: 1; - __u8 wifi_acked_valid: 1; - __u8 wifi_acked: 1; - __u8 no_fcs: 1; - __u8 encapsulation: 1; - __u8 encap_hdr_csum: 1; - __u8 csum_valid: 1; - __u8 ndisc_nodetype: 2; - __u8 redirected: 1; - __u8 slow_gro: 1; - __u16 tc_index; - u16 alloc_cpu; - union { - __wsum csum; - struct { - __u16 csum_start; - __u16 csum_offset; - }; - }; - __u32 priority; - int skb_iif; - __u32 hash; - union { - u32 vlan_all; - struct { - __be16 vlan_proto; - __u16 vlan_tci; - }; - }; - union { - unsigned int napi_id; - unsigned int sender_cpu; - }; - union { - __u32 mark; - __u32 reserved_tailroom; - }; - union { - __be16 inner_protocol; - __u8 inner_ipproto; - }; - __u16 inner_transport_header; - __u16 inner_network_header; - __u16 inner_mac_header; - __be16 protocol; - __u16 transport_header; - __u16 network_header; - __u16 mac_header; - }; - struct { - __u8 __pkt_type_offset[0]; - __u8 pkt_type: 3; - __u8 ignore_df: 1; - __u8 dst_pending_confirm: 1; - __u8 ip_summed: 2; - __u8 ooo_okay: 1; - __u8 __mono_tc_offset[0]; - __u8 mono_delivery_time: 1; - __u8 tc_at_ingress: 1; - __u8 tc_skip_classify: 1; - __u8 remcsum_offload: 1; - __u8 csum_complete_sw: 1; - __u8 csum_level: 2; - __u8 inner_protocol_type: 1; - __u8 l4_hash: 1; - __u8 sw_hash: 1; - __u8 wifi_acked_valid: 1; - __u8 wifi_acked: 1; - __u8 no_fcs: 1; - __u8 encapsulation: 1; - __u8 encap_hdr_csum: 1; - __u8 csum_valid: 1; - __u8 ndisc_nodetype: 2; - __u8 redirected: 1; - __u8 slow_gro: 1; - __u16 tc_index; - u16 alloc_cpu; - union { - __wsum csum; - struct { - __u16 csum_start; - __u16 csum_offset; - }; - }; - __u32 priority; - int skb_iif; - __u32 hash; - union { - u32 vlan_all; - struct { - __be16 vlan_proto; - __u16 vlan_tci; - }; - }; - union { - unsigned int napi_id; - unsigned int sender_cpu; - }; - union { - __u32 mark; - __u32 reserved_tailroom; - }; - union { - __be16 inner_protocol; - __u8 inner_ipproto; - }; - __u16 inner_transport_header; - __u16 inner_network_header; - __u16 inner_mac_header; - __be16 protocol; - __u16 transport_header; - __u16 network_header; - __u16 mac_header; - } headers; - }; - sk_buff_data_t tail; - sk_buff_data_t end; - unsigned char *head; - unsigned char *data; - unsigned int truesize; - refcount_t users; - long: 32; -}; - -struct xdp_md { - __u32 data; - __u32 data_end; - __u32 data_meta; - __u32 ingress_ifindex; - __u32 rx_queue_index; - __u32 egress_ifindex; -}; - -struct xdp_rxq_info; - -struct xdp_txq_info; - -struct xdp_buff { - void *data; - void *data_end; - void *data_meta; - void *data_hard_start; - struct xdp_rxq_info *rxq; - struct xdp_txq_info *txq; - u32 frame_sz; - u32 flags; -}; - -struct bpf_sock_ops { - __u32 op; - union { - __u32 args[4]; - __u32 reply; - __u32 replylong[4]; - }; - __u32 family; - __u32 remote_ip4; - __u32 local_ip4; - __u32 remote_ip6[4]; - __u32 local_ip6[4]; - __u32 remote_port; - __u32 local_port; - __u32 is_fullsock; - __u32 snd_cwnd; - __u32 srtt_us; - __u32 bpf_sock_ops_cb_flags; - __u32 state; - __u32 rtt_min; - __u32 snd_ssthresh; - __u32 rcv_nxt; - __u32 snd_nxt; - __u32 snd_una; - __u32 mss_cache; - __u32 ecn_flags; - __u32 rate_delivered; - __u32 rate_interval_us; - __u32 packets_out; - __u32 retrans_out; - __u32 total_retrans; - __u32 segs_in; - __u32 data_segs_in; - __u32 segs_out; - __u32 data_segs_out; - __u32 lost_out; - __u32 sacked_out; - __u32 sk_txhash; - __u64 bytes_received; - __u64 bytes_acked; - union { - struct bpf_sock *sk; - }; - union { - void *skb_data; - }; - union { - void *skb_data_end; - }; - __u32 skb_len; - __u32 skb_tcp_flags; - __u64 skb_hwtstamp; -}; - -struct bpf_sock_ops_kern { - struct sock *sk; - union { - u32 args[4]; - u32 reply; - u32 replylong[4]; - }; - struct sk_buff *syn_skb; - struct sk_buff *skb; - void *skb_data_end; - u8 op; - u8 is_fullsock; - u8 remaining_opt_len; - long: 32; - u64 temp; -}; - -struct sk_msg_md { - union { - void *data; - }; - union { - void *data_end; - }; - __u32 family; - __u32 remote_ip4; - __u32 local_ip4; - __u32 remote_ip6[4]; - __u32 local_ip6[4]; - __u32 remote_port; - __u32 local_port; - __u32 size; - union { - struct bpf_sock *sk; - }; -}; - -struct scatterlist { - long unsigned int page_link; - unsigned int offset; - unsigned int length; - dma_addr_t dma_address; -}; - -struct sk_msg_sg { - u32 start; - u32 curr; - u32 end; - u32 size; - u32 copybreak; - long unsigned int copy[1]; - struct scatterlist data[19]; -}; - -struct sk_msg { - struct sk_msg_sg sg; - void *data; - void *data_end; - u32 apply_bytes; - u32 cork_bytes; - u32 flags; - struct sk_buff *skb; - struct sock *sk_redir; - struct sock *sk; - struct list_head list; -}; - -struct bpf_flow_dissector { - struct bpf_flow_keys *flow_keys; - const struct sk_buff *skb; - const void *data; - const void *data_end; -}; - -struct sk_reuseport_md { - union { - void *data; - }; - union { - void *data_end; - }; - __u32 len; - __u32 eth_protocol; - __u32 ip_protocol; - __u32 bind_inany; - __u32 hash; - long: 32; - union { - struct bpf_sock *sk; - }; - union { - struct bpf_sock *migrating_sk; - }; -}; - -struct sk_reuseport_kern { - struct sk_buff *skb; - struct sock *sk; - struct sock *selected_sk; - struct sock *migrating_sk; - void *data_end; - u32 hash; - u32 reuseport_id; - bool bind_inany; -}; - -struct bpf_sk_lookup { - union { - union { - struct bpf_sock *sk; - }; - __u64 cookie; - }; - __u32 family; - __u32 protocol; - __u32 remote_ip4; - __u32 remote_ip6[4]; - __be16 remote_port; - __u32 local_ip4; - __u32 local_ip6[4]; - __u32 local_port; - __u32 ingress_ifindex; - long: 32; -}; - -struct bpf_sk_lookup_kern { - u16 family; - u16 protocol; - __be16 sport; - u16 dport; - struct { - __be32 saddr; - __be32 daddr; - } v4; - struct { - const struct in6_addr *saddr; - const struct in6_addr *daddr; - } v6; - struct sock *selected_sk; - u32 ingress_ifindex; - bool no_reuseport; -}; - -struct nf_hook_state; - -struct bpf_nf_ctx { - const struct nf_hook_state *state; - struct sk_buff *skb; -}; - -struct bpf_ctx_convert { - struct __sk_buff BPF_PROG_TYPE_SOCKET_FILTER_prog; - struct sk_buff BPF_PROG_TYPE_SOCKET_FILTER_kern; - struct __sk_buff BPF_PROG_TYPE_SCHED_CLS_prog; - struct sk_buff BPF_PROG_TYPE_SCHED_CLS_kern; - struct __sk_buff BPF_PROG_TYPE_SCHED_ACT_prog; - struct sk_buff BPF_PROG_TYPE_SCHED_ACT_kern; - struct xdp_md BPF_PROG_TYPE_XDP_prog; - struct xdp_buff BPF_PROG_TYPE_XDP_kern; - struct __sk_buff BPF_PROG_TYPE_LWT_IN_prog; - struct sk_buff BPF_PROG_TYPE_LWT_IN_kern; - struct __sk_buff BPF_PROG_TYPE_LWT_OUT_prog; - struct sk_buff BPF_PROG_TYPE_LWT_OUT_kern; - struct __sk_buff BPF_PROG_TYPE_LWT_XMIT_prog; - struct sk_buff BPF_PROG_TYPE_LWT_XMIT_kern; - struct __sk_buff BPF_PROG_TYPE_LWT_SEG6LOCAL_prog; - struct sk_buff BPF_PROG_TYPE_LWT_SEG6LOCAL_kern; - struct bpf_sock_ops BPF_PROG_TYPE_SOCK_OPS_prog; - struct bpf_sock_ops_kern BPF_PROG_TYPE_SOCK_OPS_kern; - struct __sk_buff BPF_PROG_TYPE_SK_SKB_prog; - struct sk_buff BPF_PROG_TYPE_SK_SKB_kern; - struct sk_msg_md BPF_PROG_TYPE_SK_MSG_prog; - struct sk_msg BPF_PROG_TYPE_SK_MSG_kern; - struct __sk_buff BPF_PROG_TYPE_FLOW_DISSECTOR_prog; - struct bpf_flow_dissector BPF_PROG_TYPE_FLOW_DISSECTOR_kern; - struct sk_reuseport_md BPF_PROG_TYPE_SK_REUSEPORT_prog; - struct sk_reuseport_kern BPF_PROG_TYPE_SK_REUSEPORT_kern; - struct bpf_sk_lookup BPF_PROG_TYPE_SK_LOOKUP_prog; - struct bpf_sk_lookup_kern BPF_PROG_TYPE_SK_LOOKUP_kern; - void *BPF_PROG_TYPE_STRUCT_OPS_prog; - void *BPF_PROG_TYPE_STRUCT_OPS_kern; - void *BPF_PROG_TYPE_EXT_prog; - void *BPF_PROG_TYPE_EXT_kern; - void *BPF_PROG_TYPE_SYSCALL_prog; - void *BPF_PROG_TYPE_SYSCALL_kern; - struct bpf_nf_ctx BPF_PROG_TYPE_NETFILTER_prog; - struct bpf_nf_ctx BPF_PROG_TYPE_NETFILTER_kern; - long: 32; -}; - -struct bpf_devmap_val { - __u32 ifindex; - union { - int fd; - __u32 id; - } bpf_prog; -}; - -struct bpf_dispatcher_prog { - struct bpf_prog *prog; - refcount_t users; -}; - -struct latch_tree_node { - struct rb_node node[2]; -}; - -struct bpf_ksym { - long unsigned int start; - long unsigned int end; - char name[512]; - struct list_head lnode; - struct latch_tree_node tnode; - bool prog; -}; - -struct bpf_dispatcher { - struct mutex mutex; - void *func; - struct bpf_dispatcher_prog progs[48]; - int num_progs; - void *image; - void *rw_image; - u32 image_off; - struct bpf_ksym ksym; -}; - -struct bpf_dtab_netdev; - -struct hlist_head; - -struct bpf_dtab { - struct bpf_map map; - struct bpf_dtab_netdev **netdev_map; - struct list_head list; - struct hlist_head *dev_index_head; - spinlock_t index_lock; - unsigned int items; - u32 n_buckets; - long: 32; - long: 32; -}; - -struct bpf_dtab_netdev { - struct net_device *dev; - struct hlist_node index_hlist; - struct bpf_prog *xdp_prog; - struct callback_head rcu; - unsigned int idx; - struct bpf_devmap_val val; -}; - -struct bpf_dummy_ops_state; - -struct bpf_dummy_ops { - int (*test_1)(struct bpf_dummy_ops_state *); - int (*test_2)(struct bpf_dummy_ops_state *, int, short unsigned int, char, long unsigned int); - int (*test_sleepable)(struct bpf_dummy_ops_state *); -}; - -struct bpf_dummy_ops_state { - int val; -}; - -struct bpf_dummy_ops_test_args { - u64 args[12]; - struct bpf_dummy_ops_state state; - long: 32; -}; - -struct bpf_dynptr { - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct bpf_dynptr_kern { - void *data; - u32 size; - u32 offset; - long: 32; -}; - -struct bpf_cgroup_storage; - -struct bpf_prog_array_item { - struct bpf_prog *prog; - long: 32; - union { - struct bpf_cgroup_storage *cgroup_storage[2]; - u64 bpf_cookie; - }; -}; - -struct bpf_prog_array { - struct callback_head rcu; - struct bpf_prog_array_item items[0]; -}; - -struct bpf_empty_prog_array { - struct bpf_prog_array hdr; - struct bpf_prog *null_prog; - long: 32; -}; - -struct bpf_event_entry { - struct perf_event *event; - struct file *perf_file; - struct file *map_file; - struct callback_head rcu; -}; - -struct bpf_fentry_test_t { - struct bpf_fentry_test_t *a; -}; - -struct bpf_fib_lookup { - __u8 family; - __u8 l4_protocol; - __be16 sport; - __be16 dport; - union { - __u16 tot_len; - __u16 mtu_result; - }; - __u32 ifindex; - union { - __u8 tos; - __be32 flowinfo; - __u32 rt_metric; - }; - union { - __be32 ipv4_src; - __u32 ipv6_src[4]; - }; - union { - __be32 ipv4_dst; - __u32 ipv6_dst[4]; - }; - union { - struct { - __be16 h_vlan_proto; - __be16 h_vlan_TCI; - }; - __u32 tbid; - }; - __u8 smac[6]; - __u8 dmac[6]; -}; - -struct bpf_flow_keys { - __u16 nhoff; - __u16 thoff; - __u16 addr_proto; - __u8 is_frag; - __u8 is_first_frag; - __u8 is_encap; - __u8 ip_proto; - __be16 n_proto; - __be16 sport; - __be16 dport; - union { - struct { - __be32 ipv4_src; - __be32 ipv4_dst; - }; - struct { - __u32 ipv6_src[4]; - __u32 ipv6_dst[4]; - }; - }; - __u32 flags; - __be32 flow_label; -}; - -struct bpf_func_info { - __u32 insn_off; - __u32 type_id; -}; - -struct bpf_func_info_aux { - u16 linkage; - bool unreliable; -}; - -struct bpf_func_proto { - u64 (*func)(u64, u64, u64, u64, u64); - bool gpl_only; - bool pkt_access; - bool might_sleep; - enum bpf_return_type ret_type; - union { - struct { - enum bpf_arg_type arg1_type; - enum bpf_arg_type arg2_type; - enum bpf_arg_type arg3_type; - enum bpf_arg_type arg4_type; - enum bpf_arg_type arg5_type; - }; - enum bpf_arg_type arg_type[5]; - }; - union { - struct { - u32 *arg1_btf_id; - u32 *arg2_btf_id; - u32 *arg3_btf_id; - u32 *arg4_btf_id; - u32 *arg5_btf_id; - }; - u32 *arg_btf_id[5]; - struct { - size_t arg1_size; - size_t arg2_size; - size_t arg3_size; - size_t arg4_size; - size_t arg5_size; - }; - size_t arg_size[5]; - }; - int *ret_btf_id; - bool (*allowed)(const struct bpf_prog *); -}; - -struct tnum { - u64 value; - u64 mask; -}; - -struct bpf_reg_state { - enum bpf_reg_type type; - s32 off; - union { - int range; - struct { - struct bpf_map *map_ptr; - u32 map_uid; - }; - struct { - struct btf *btf; - u32 btf_id; - }; - struct { - u32 mem_size; - u32 dynptr_id; - }; - struct { - enum bpf_dynptr_type type; - bool first_slot; - } dynptr; - struct { - struct btf *btf; - u32 btf_id; - enum bpf_iter_state state: 2; - int depth: 30; - } iter; - struct { - long unsigned int raw1; - long unsigned int raw2; - } raw; - u32 subprogno; - }; - long: 32; - struct tnum var_off; - s64 smin_value; - s64 smax_value; - u64 umin_value; - u64 umax_value; - s32 s32_min_value; - s32 s32_max_value; - u32 u32_min_value; - u32 u32_max_value; - u32 id; - u32 ref_obj_id; - struct bpf_reg_state *parent; - u32 frameno; - s32 subreg_def; - enum bpf_reg_liveness live; - bool precise; - long: 32; -}; - -struct bpf_reference_state; - -struct bpf_stack_state; - -struct bpf_func_state { - struct bpf_reg_state regs[11]; - int callsite; - u32 frameno; - u32 subprogno; - u32 async_entry_cnt; - bool in_callback_fn; - long: 32; - struct tnum callback_ret_range; - bool in_async_callback_fn; - int acquired_refs; - struct bpf_reference_state *refs; - int allocated_stack; - struct bpf_stack_state *stack; - long: 32; -}; - -struct bpf_hrtimer { - struct hrtimer timer; - struct bpf_map *map; - struct bpf_prog *prog; - void *callback_fn; - void *value; -}; - -struct bpf_mem_caches; - -struct bpf_mem_cache; - -struct bpf_mem_alloc { - struct bpf_mem_caches *caches; - struct bpf_mem_cache *cache; - struct work_struct work; -}; - -struct pcpu_freelist_node; - -struct pcpu_freelist_head { - struct pcpu_freelist_node *first; - raw_spinlock_t lock; -}; - -struct pcpu_freelist { - struct pcpu_freelist_head *freelist; - struct pcpu_freelist_head extralist; -}; - -struct bpf_lru_node; - -typedef bool (*del_from_htab_func)(void *, struct bpf_lru_node *); - -struct bpf_lru { - union { - struct bpf_common_lru common_lru; - struct bpf_lru_list *percpu_lru; - }; - del_from_htab_func del_from_htab; - void *del_arg; - unsigned int hash_offset; - unsigned int nr_scans; - bool percpu; -}; - -struct lock_class_key {}; - -struct bucket; - -struct htab_elem; - -struct bpf_htab { - struct bpf_map map; - struct bpf_mem_alloc ma; - struct bpf_mem_alloc pcpu_ma; - struct bucket *buckets; - void *elems; - union { - struct pcpu_freelist freelist; - struct bpf_lru lru; - }; - struct htab_elem **extra_elems; - struct percpu_counter pcount; - atomic_t count; - bool use_percpu_counter; - u32 n_buckets; - u32 elem_size; - u32 hashrnd; - struct lock_class_key lockdep_key; - int *map_locked[8]; - long: 32; - long: 32; - long: 32; -}; - -struct bpf_id_pair { - u32 old; - u32 cur; -}; - -struct bpf_idmap { - u32 tmp_id_gen; - struct bpf_id_pair map[600]; -}; - -struct bpf_idset { - u32 count; - u32 ids[600]; -}; - -struct bpf_idx_pair { - u32 prev_idx; - u32 idx; -}; - -struct bpf_insn { - __u8 code; - __u8 dst_reg: 4; - __u8 src_reg: 4; - __s16 off; - __s32 imm; -}; - -struct bpf_insn_access_aux { - enum bpf_reg_type reg_type; - union { - int ctx_field_size; - struct { - struct btf *btf; - u32 btf_id; - }; - }; - struct bpf_verifier_log *log; -}; - -struct bpf_loop_inline_state { - unsigned int initialized: 1; - unsigned int fit_for_inline: 1; - u32 callback_subprogno; -}; - -struct btf_struct_meta; - -struct bpf_insn_aux_data { - union { - enum bpf_reg_type ptr_type; - long unsigned int map_ptr_state; - s32 call_imm; - u32 alu_limit; - struct { - u32 map_index; - u32 map_off; - }; - struct { - enum bpf_reg_type reg_type; - union { - struct { - struct btf *btf; - u32 btf_id; - }; - u32 mem_size; - }; - } btf_var; - struct bpf_loop_inline_state loop_inline_state; - }; - long: 32; - union { - u64 obj_new_size; - u64 insert_off; - }; - struct btf_struct_meta *kptr_struct_meta; - long: 32; - u64 map_key_state; - int ctx_field_size; - u32 seen; - bool sanitize_stack_spill; - bool zext_dst; - bool storage_get_func_atomic; - bool is_iter_next; - u8 alu_state; - unsigned int orig_idx; - bool jmp_point; - bool prune_point; - bool force_checkpoint; -}; - -typedef void (*bpf_insn_print_t)(void *, const char *, ...); - -typedef const char * (*bpf_insn_revmap_call_t)(void *, const struct bpf_insn *); - -typedef const char * (*bpf_insn_print_imm_t)(void *, const struct bpf_insn *, __u64); - -struct bpf_insn_cbs { - bpf_insn_print_t cb_print; - bpf_insn_revmap_call_t cb_call; - bpf_insn_print_imm_t cb_imm; - void *private_data; -}; - -struct bpf_iter_meta; - -struct bpf_link; - -struct bpf_iter__bpf_link { - union { - struct bpf_iter_meta *meta; - }; - union { - struct bpf_link *link; - }; -}; - -struct bpf_iter__bpf_map { - union { - struct bpf_iter_meta *meta; - }; - union { - struct bpf_map *map; - }; -}; - -struct bpf_iter__bpf_map_elem { - union { - struct bpf_iter_meta *meta; - }; - union { - struct bpf_map *map; - }; - union { - void *key; - }; - union { - void *value; - }; -}; - -struct bpf_iter__bpf_prog { - union { - struct bpf_iter_meta *meta; - }; - union { - struct bpf_prog *prog; - }; -}; - -struct bpf_iter__bpf_sk_storage_map { - union { - struct bpf_iter_meta *meta; - }; - union { - struct bpf_map *map; - }; - union { - struct sock *sk; - }; - union { - void *value; - }; -}; - -struct bpf_iter__sockmap { - union { - struct bpf_iter_meta *meta; - }; - union { - struct bpf_map *map; - }; - union { - void *key; - }; - union { - struct sock *sk; - }; -}; - -struct bpf_iter__task { - union { - struct bpf_iter_meta *meta; - }; - union { - struct task_struct *task; - }; -}; - -struct bpf_iter__task__safe_trusted { - struct bpf_iter_meta *meta; - struct task_struct *task; -}; - -struct bpf_iter__task_file { - union { - struct bpf_iter_meta *meta; - }; - union { - struct task_struct *task; - }; - u32 fd; - long: 32; - union { - struct file *file; - }; -}; - -struct bpf_iter__task_vma { - union { - struct bpf_iter_meta *meta; - }; - union { - struct task_struct *task; - }; - union { - struct vm_area_struct *vma; - }; -}; - -struct bpf_iter_aux_info { - struct bpf_map *map; - struct { - struct cgroup *start; - enum bpf_cgroup_iter_order order; - } cgroup; - struct { - enum bpf_iter_task_type type; - u32 pid; - } task; -}; - -struct bpf_link_ops; - -struct bpf_link { - atomic64_t refcnt; - u32 id; - enum bpf_link_type type; - const struct bpf_link_ops *ops; - struct bpf_prog *prog; - struct work_struct work; -}; - -struct bpf_iter_target_info; - -struct bpf_iter_link { - struct bpf_link link; - struct bpf_iter_aux_info aux; - struct bpf_iter_target_info *tinfo; -}; - -union bpf_iter_link_info { - struct { - __u32 map_fd; - } map; - struct { - enum bpf_cgroup_iter_order order; - __u32 cgroup_fd; - __u64 cgroup_id; - } cgroup; - struct { - __u32 tid; - __u32 pid; - __u32 pid_fd; - } task; -}; - -struct seq_file; - -struct bpf_iter_meta { - union { - struct seq_file *seq; - }; - u64 session_id; - u64 seq_num; -}; - -struct bpf_iter_meta__safe_trusted { - struct seq_file *seq; -}; - -struct bpf_iter_num { - __u64 __opaque[1]; -}; - -struct bpf_iter_num_kern { - int cur; - int end; -}; - -struct bpf_iter_seq_info; - -struct bpf_iter_priv_data { - struct bpf_iter_target_info *tinfo; - const struct bpf_iter_seq_info *seq_info; - struct bpf_prog *prog; - long: 32; - u64 session_id; - u64 seq_num; - bool done_stop; - long: 32; - u8 target_private[0]; -}; - -typedef int (*bpf_iter_attach_target_t)(struct bpf_prog *, union bpf_iter_link_info *, struct bpf_iter_aux_info *); - -typedef void (*bpf_iter_detach_target_t)(struct bpf_iter_aux_info *); - -typedef void (*bpf_iter_show_fdinfo_t)(const struct bpf_iter_aux_info *, struct seq_file *); - -struct bpf_link_info; - -typedef int (*bpf_iter_fill_link_info_t)(const struct bpf_iter_aux_info *, struct bpf_link_info *); - -typedef const struct bpf_func_proto * (*bpf_iter_get_func_proto_t)(enum bpf_func_id, const struct bpf_prog *); - -struct bpf_iter_reg { - const char *target; - bpf_iter_attach_target_t attach_target; - bpf_iter_detach_target_t detach_target; - bpf_iter_show_fdinfo_t show_fdinfo; - bpf_iter_fill_link_info_t fill_link_info; - bpf_iter_get_func_proto_t get_func_proto; - u32 ctx_arg_info_size; - u32 feature; - struct bpf_ctx_arg_aux ctx_arg_info[2]; - const struct bpf_iter_seq_info *seq_info; -}; - -struct bpf_iter_seq_array_map_info { - struct bpf_map *map; - void *percpu_value_buf; - u32 index; -}; - -struct bpf_iter_seq_hash_map_info { - struct bpf_map *map; - struct bpf_htab *htab; - void *percpu_value_buf; - u32 bucket_id; - u32 skip_elems; -}; - -typedef int (*bpf_iter_init_seq_priv_t)(void *, struct bpf_iter_aux_info *); - -typedef void (*bpf_iter_fini_seq_priv_t)(void *); - -struct seq_operations; - -struct bpf_iter_seq_info { - const struct seq_operations *seq_ops; - bpf_iter_init_seq_priv_t init_seq_private; - bpf_iter_fini_seq_priv_t fini_seq_private; - u32 seq_priv_size; -}; - -struct bpf_iter_seq_link_info { - u32 link_id; -}; - -struct bpf_iter_seq_map_info { - u32 map_id; -}; - -struct bpf_iter_seq_prog_info { - u32 prog_id; -}; - -struct bpf_iter_seq_sk_storage_map_info { - struct bpf_map *map; - unsigned int bucket_id; - unsigned int skip_elems; -}; - -struct pid_namespace; - -struct bpf_iter_seq_task_common { - struct pid_namespace *ns; - enum bpf_iter_task_type type; - u32 pid; - u32 pid_visiting; -}; - -struct bpf_iter_seq_task_file_info { - struct bpf_iter_seq_task_common common; - struct task_struct *task; - u32 tid; - u32 fd; -}; - -struct bpf_iter_seq_task_info { - struct bpf_iter_seq_task_common common; - u32 tid; -}; - -struct bpf_iter_seq_task_vma_info { - struct bpf_iter_seq_task_common common; - struct task_struct *task; - struct mm_struct *mm; - struct vm_area_struct *vma; - u32 tid; - long unsigned int prev_vm_start; - long unsigned int prev_vm_end; -}; - -struct bpf_iter_target_info { - struct list_head list; - const struct bpf_iter_reg *reg_info; - u32 btf_id; -}; - -struct bpf_jit_poke_descriptor { - void *tailcall_target; - void *tailcall_bypass; - void *bypass_addr; - void *aux; - union { - struct { - struct bpf_map *map; - u32 key; - } tail_call; - }; - bool tailcall_target_stable; - u8 adj_off; - u16 reason; - u32 insn_idx; -}; - -struct bpf_kfunc_btf { - struct btf *btf; - struct module *module; - u16 offset; -}; - -struct bpf_kfunc_btf_tab { - struct bpf_kfunc_btf descs[256]; - u32 nr_descs; -}; - -struct bpf_kfunc_call_arg_meta { - struct btf *btf; - u32 func_id; - u32 kfunc_flags; - const struct btf_type *func_proto; - const char *func_name; - u32 ref_obj_id; - u8 release_regno; - bool r0_rdonly; - u32 ret_btf_id; - u64 r0_size; - u32 subprogno; - long: 32; - struct { - u64 value; - bool found; - long: 32; - } arg_constant; - struct btf *arg_btf; - u32 arg_btf_id; - bool arg_owning_ref; - struct { - struct btf_field *field; - } arg_list_head; - struct { - struct btf_field *field; - } arg_rbtree_root; - struct { - enum bpf_dynptr_type type; - u32 id; - u32 ref_obj_id; - } initialized_dynptr; - struct { - u8 spi; - u8 frameno; - } iter; - long: 32; - u64 mem_size; -}; - -struct bpf_kfunc_desc { - struct btf_func_model func_model; - u32 func_id; - s32 imm; - u16 offset; - long unsigned int addr; -}; - -struct bpf_kfunc_desc_tab { - struct bpf_kfunc_desc descs[256]; - u32 nr_descs; -}; - -struct bpf_line_info { - __u32 insn_off; - __u32 file_name_off; - __u32 line_off; - __u32 line_col; -}; - -struct bpf_link_info { - __u32 type; - __u32 id; - __u32 prog_id; - long: 32; - union { - struct { - __u64 tp_name; - __u32 tp_name_len; - long: 32; - } raw_tracepoint; - struct { - __u32 attach_type; - __u32 target_obj_id; - __u32 target_btf_id; - } tracing; - struct { - __u64 cgroup_id; - __u32 attach_type; - long: 32; - } cgroup; - struct { - __u64 target_name; - __u32 target_name_len; - union { - struct { - __u32 map_id; - } map; - }; - union { - struct { - __u64 cgroup_id; - __u32 order; - long: 32; - } cgroup; - struct { - __u32 tid; - __u32 pid; - } task; - }; - } iter; - struct { - __u32 netns_ino; - __u32 attach_type; - } netns; - struct { - __u32 ifindex; - } xdp; - struct { - __u32 map_id; - } struct_ops; - struct { - __u32 pf; - __u32 hooknum; - __s32 priority; - __u32 flags; - } netfilter; - struct { - __u64 addrs; - __u32 count; - __u32 flags; - } kprobe_multi; - struct { - __u32 type; - long: 32; - union { - struct { - __u64 file_name; - __u32 name_len; - __u32 offset; - } uprobe; - struct { - __u64 func_name; - __u32 name_len; - __u32 offset; - __u64 addr; - } kprobe; - struct { - __u64 tp_name; - __u32 name_len; - long: 32; - } tracepoint; - struct { - __u64 config; - __u32 type; - long: 32; - } event; - }; - } perf_event; - struct { - __u32 ifindex; - __u32 attach_type; - } tcx; - }; -}; - -struct bpf_link_ops { - void (*release)(struct bpf_link *); - void (*dealloc)(struct bpf_link *); - int (*detach)(struct bpf_link *); - int (*update_prog)(struct bpf_link *, struct bpf_prog *, struct bpf_prog *); - void (*show_fdinfo)(const struct bpf_link *, struct seq_file *); - int (*fill_link_info)(const struct bpf_link *, struct bpf_link_info *); - int (*update_map)(struct bpf_link *, struct bpf_map *, struct bpf_map *); -}; - -struct bpf_link_primer { - struct bpf_link *link; - struct file *file; - int fd; - u32 id; -}; - -struct bpf_list_head { - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct bpf_list_node { - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct bpf_list_node_kern { - struct list_head list_head; - void *owner; - long: 32; -}; - -struct hlist_head { - struct hlist_node *first; -}; - -struct bpf_local_storage_data; - -struct bpf_local_storage_map; - -struct bpf_local_storage { - struct bpf_local_storage_data *cache[16]; - struct bpf_local_storage_map *smap; - struct hlist_head list; - void *owner; - struct callback_head rcu; - raw_spinlock_t lock; -}; - -struct bpf_local_storage_cache { - spinlock_t idx_lock; - u64 idx_usage_counts[16]; -}; - -struct bpf_local_storage_data { - struct bpf_local_storage_map *smap; - long: 32; - u8 data[0]; -}; - -struct bpf_local_storage_elem { - struct hlist_node map_node; - struct hlist_node snode; - struct bpf_local_storage *local_storage; - struct callback_head rcu; - long: 32; - struct bpf_local_storage_data sdata; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct bpf_local_storage_map_bucket; - -struct bpf_local_storage_map { - struct bpf_map map; - struct bpf_local_storage_map_bucket *buckets; - u32 bucket_log; - u16 elem_size; - u16 cache_idx; - struct bpf_mem_alloc selem_ma; - struct bpf_mem_alloc storage_ma; - bool bpf_ma; -}; - -struct bpf_local_storage_map_bucket { - struct hlist_head list; - raw_spinlock_t lock; -}; - -struct bpf_lpm_trie_key { - __u32 prefixlen; - __u8 data[0]; -}; - -struct bpf_lru_locallist { - struct list_head lists[2]; - u16 next_steal; - raw_spinlock_t lock; -}; - -struct bpf_lru_node { - struct list_head list; - u16 cpu; - u8 type; - u8 ref; -}; - -struct bpf_offloaded_map; - -struct bpf_map_dev_ops { - int (*map_get_next_key)(struct bpf_offloaded_map *, void *, void *); - int (*map_lookup_elem)(struct bpf_offloaded_map *, void *, void *); - int (*map_update_elem)(struct bpf_offloaded_map *, void *, void *, u64); - int (*map_delete_elem)(struct bpf_offloaded_map *, void *); -}; - -struct bpf_map_info { - __u32 type; - __u32 id; - __u32 key_size; - __u32 value_size; - __u32 max_entries; - __u32 map_flags; - char name[16]; - __u32 ifindex; - __u32 btf_vmlinux_value_type_id; - __u64 netns_dev; - __u64 netns_ino; - __u32 btf_id; - __u32 btf_key_type_id; - __u32 btf_value_type_id; - long: 32; - __u64 map_extra; -}; - -typedef u64 (*bpf_callback_t)(u64, u64, u64, u64, u64); - -struct bpf_prog_aux; - -struct poll_table_struct; - -struct bpf_map_ops { - int (*map_alloc_check)(union bpf_attr *); - struct bpf_map * (*map_alloc)(union bpf_attr *); - void (*map_release)(struct bpf_map *, struct file *); - void (*map_free)(struct bpf_map *); - int (*map_get_next_key)(struct bpf_map *, void *, void *); - void (*map_release_uref)(struct bpf_map *); - void * (*map_lookup_elem_sys_only)(struct bpf_map *, void *); - int (*map_lookup_batch)(struct bpf_map *, const union bpf_attr *, union bpf_attr *); - int (*map_lookup_and_delete_elem)(struct bpf_map *, void *, void *, u64); - int (*map_lookup_and_delete_batch)(struct bpf_map *, const union bpf_attr *, union bpf_attr *); - int (*map_update_batch)(struct bpf_map *, struct file *, const union bpf_attr *, union bpf_attr *); - int (*map_delete_batch)(struct bpf_map *, const union bpf_attr *, union bpf_attr *); - void * (*map_lookup_elem)(struct bpf_map *, void *); - long int (*map_update_elem)(struct bpf_map *, void *, void *, u64); - long int (*map_delete_elem)(struct bpf_map *, void *); - long int (*map_push_elem)(struct bpf_map *, void *, u64); - long int (*map_pop_elem)(struct bpf_map *, void *); - long int (*map_peek_elem)(struct bpf_map *, void *); - void * (*map_lookup_percpu_elem)(struct bpf_map *, void *, u32); - void * (*map_fd_get_ptr)(struct bpf_map *, struct file *, int); - void (*map_fd_put_ptr)(void *); - int (*map_gen_lookup)(struct bpf_map *, struct bpf_insn *); - u32 (*map_fd_sys_lookup_elem)(void *); - void (*map_seq_show_elem)(struct bpf_map *, void *, struct seq_file *); - int (*map_check_btf)(const struct bpf_map *, const struct btf *, const struct btf_type *, const struct btf_type *); - int (*map_poke_track)(struct bpf_map *, struct bpf_prog_aux *); - void (*map_poke_untrack)(struct bpf_map *, struct bpf_prog_aux *); - void (*map_poke_run)(struct bpf_map *, u32, struct bpf_prog *, struct bpf_prog *); - int (*map_direct_value_addr)(const struct bpf_map *, u64 *, u32); - int (*map_direct_value_meta)(const struct bpf_map *, u64, u32 *); - int (*map_mmap)(struct bpf_map *, struct vm_area_struct *); - __poll_t (*map_poll)(struct bpf_map *, struct file *, struct poll_table_struct *); - int (*map_local_storage_charge)(struct bpf_local_storage_map *, void *, u32); - void (*map_local_storage_uncharge)(struct bpf_local_storage_map *, void *, u32); - struct bpf_local_storage ** (*map_owner_storage_ptr)(void *); - long int (*map_redirect)(struct bpf_map *, u64, u64); - bool (*map_meta_equal)(const struct bpf_map *, const struct bpf_map *); - int (*map_set_for_each_callback_args)(struct bpf_verifier_env *, struct bpf_func_state *, struct bpf_func_state *); - long int (*map_for_each_callback)(struct bpf_map *, bpf_callback_t, void *, u64); - u64 (*map_mem_usage)(const struct bpf_map *); - int *map_btf_id; - const struct bpf_iter_seq_info *iter_seq_info; -}; - -struct llist_head { - struct llist_node *first; -}; - -struct rcuwait { - struct task_struct *task; -}; - -struct irq_work { - struct __call_single_node node; - void (*func)(struct irq_work *); - struct rcuwait irqwait; -}; - -struct obj_cgroup; - -struct bpf_mem_cache { - struct llist_head free_llist; - local_t active; - struct llist_head free_llist_extra; - struct irq_work refill_work; - struct obj_cgroup *objcg; - int unit_size; - int free_cnt; - int low_watermark; - int high_watermark; - int batch; - int percpu_size; - bool draining; - struct bpf_mem_cache *tgt; - struct llist_head free_by_rcu; - struct llist_node *free_by_rcu_tail; - struct llist_head waiting_for_gp; - struct llist_node *waiting_for_gp_tail; - struct callback_head rcu; - atomic_t call_rcu_in_progress; - struct llist_head free_llist_extra_rcu; - struct llist_head free_by_rcu_ttrace; - struct llist_head waiting_for_gp_ttrace; - struct callback_head rcu_ttrace; - atomic_t call_rcu_ttrace_in_progress; -}; - -struct bpf_mem_caches { - struct bpf_mem_cache cache[11]; -}; - -struct bpf_mount_opts { - umode_t mode; -}; - -struct bpf_mprog_fp { - struct bpf_prog *prog; -}; - -struct bpf_mprog_bundle; - -struct bpf_mprog_entry { - struct bpf_mprog_fp fp_items[64]; - struct bpf_mprog_bundle *parent; -}; - -struct bpf_mprog_cp { - struct bpf_link *link; -}; - -struct bpf_mprog_bundle { - struct bpf_mprog_entry a; - struct bpf_mprog_entry b; - struct bpf_mprog_cp cp_items[64]; - struct bpf_prog *ref; - long: 32; - atomic64_t revision; - u32 count; - long: 32; -}; - -struct bpf_netns_link { - struct bpf_link link; - enum bpf_attach_type type; - enum netns_bpf_attach_type netns_type; - struct net *net; - struct list_head node; - long: 32; -}; - -typedef unsigned int nf_hookfn(void *, struct sk_buff *, const struct nf_hook_state *); - -struct nf_hook_ops { - nf_hookfn *hook; - struct net_device *dev; - void *priv; - u8 pf; - enum nf_hook_ops_type hook_ops_type: 8; - unsigned int hooknum; - int priority; -}; - -struct nf_defrag_hook; - -struct bpf_nf_link { - struct bpf_link link; - struct nf_hook_ops hook_ops; - struct net *net; - u32 dead; - const struct nf_defrag_hook *defrag_hook; - long: 32; -}; - -struct bpf_nh_params { - u32 nh_family; - union { - u32 ipv4_nh; - struct in6_addr ipv6_nh; - }; -}; - -struct bpf_prog_offload_ops; - -struct bpf_offload_dev { - const struct bpf_prog_offload_ops *ops; - struct list_head netdevs; - void *priv; -}; - -struct rhash_head { - struct rhash_head *next; -}; - -struct bpf_offload_netdev { - struct rhash_head l; - struct net_device *netdev; - struct bpf_offload_dev *offdev; - struct list_head progs; - struct list_head maps; - struct list_head offdev_netdevs; -}; - -struct bpf_offloaded_map { - struct bpf_map map; - struct net_device *netdev; - const struct bpf_map_dev_ops *dev_ops; - void *dev_priv; - struct list_head offloads; - long: 32; - long: 32; - long: 32; -}; - -struct pt_regs; - -typedef struct pt_regs bpf_user_pt_regs_t; - -struct perf_sample_data; - -struct bpf_perf_event_data_kern { - bpf_user_pt_regs_t *regs; - struct perf_sample_data *data; - struct perf_event *event; -}; - -struct bpf_perf_link { - struct bpf_link link; - struct file *perf_file; - long: 32; -}; - -struct bpf_pidns_info { - __u32 pid; - __u32 tgid; -}; - -struct bpf_preload_info { - char link_name[16]; - struct bpf_link *link; -}; - -struct bpf_preload_ops { - int (*preload)(struct bpf_preload_info *); - struct module *owner; -}; - -struct sock_filter { - __u16 code; - __u8 jt; - __u8 jf; - __u32 k; -}; - -struct bpf_prog_stats; - -struct sock_fprog_kern; - -struct bpf_prog { - u16 pages; - u16 jited: 1; - u16 jit_requested: 1; - u16 gpl_compatible: 1; - u16 cb_access: 1; - u16 dst_needed: 1; - u16 blinding_requested: 1; - u16 blinded: 1; - u16 is_func: 1; - u16 kprobe_override: 1; - u16 has_callchain_buf: 1; - u16 enforce_expected_attach_type: 1; - u16 call_get_stack: 1; - u16 call_get_func_ip: 1; - u16 tstamp_type_access: 1; - enum bpf_prog_type type; - enum bpf_attach_type expected_attach_type; - u32 len; - u32 jited_len; - u8 tag[8]; - struct bpf_prog_stats *stats; - int *active; - unsigned int (*bpf_func)(const void *, const struct bpf_insn *); - struct bpf_prog_aux *aux; - struct sock_fprog_kern *orig_prog; - union { - struct { - struct {} __empty_insns; - struct sock_filter insns[0]; - }; - struct { - struct {} __empty_insnsi; - struct bpf_insn insnsi[0]; - }; - }; -}; - -struct bpf_trampoline; - -struct bpf_prog_ops; - -struct btf_mod_pair; - -struct user_struct; - -struct bpf_prog_offload; - -struct exception_table_entry; - -struct bpf_prog_aux { - atomic64_t refcnt; - u32 used_map_cnt; - u32 used_btf_cnt; - u32 max_ctx_offset; - u32 max_pkt_offset; - u32 max_tp_access; - u32 stack_depth; - u32 id; - u32 func_cnt; - u32 func_idx; - u32 attach_btf_id; - u32 ctx_arg_info_size; - u32 max_rdonly_access; - u32 max_rdwr_access; - struct btf *attach_btf; - const struct bpf_ctx_arg_aux *ctx_arg_info; - struct mutex dst_mutex; - struct bpf_prog *dst_prog; - struct bpf_trampoline *dst_trampoline; - enum bpf_prog_type saved_dst_prog_type; - enum bpf_attach_type saved_dst_attach_type; - bool verifier_zext; - bool dev_bound; - bool offload_requested; - bool attach_btf_trace; - bool func_proto_unreliable; - bool sleepable; - bool tail_call_reachable; - bool xdp_has_frags; - const struct btf_type *attach_func_proto; - const char *attach_func_name; - struct bpf_prog **func; - void *jit_data; - struct bpf_jit_poke_descriptor *poke_tab; - struct bpf_kfunc_desc_tab *kfunc_tab; - struct bpf_kfunc_btf_tab *kfunc_btf_tab; - u32 size_poke_tab; - struct bpf_ksym ksym; - const struct bpf_prog_ops *ops; - struct bpf_map **used_maps; - struct mutex used_maps_mutex; - struct btf_mod_pair *used_btfs; - struct bpf_prog *prog; - struct user_struct *user; - long: 32; - u64 load_time; - u32 verified_insns; - int cgroup_atype; - struct bpf_map *cgroup_storage[2]; - char name[16]; - struct bpf_prog_offload *offload; - struct btf *btf; - struct bpf_func_info *func_info; - struct bpf_func_info_aux *func_info_aux; - struct bpf_line_info *linfo; - void **jited_linfo; - u32 func_info_cnt; - u32 nr_linfo; - u32 linfo_idx; - struct module *mod; - u32 num_exentries; - struct exception_table_entry *extable; - union { - struct work_struct work; - struct callback_head rcu; - }; -}; - -struct bpf_prog_dummy { - struct bpf_prog prog; -}; - -struct bpf_prog_info { - __u32 type; - __u32 id; - __u8 tag[8]; - __u32 jited_prog_len; - __u32 xlated_prog_len; - __u64 jited_prog_insns; - __u64 xlated_prog_insns; - __u64 load_time; - __u32 created_by_uid; - __u32 nr_map_ids; - __u64 map_ids; - char name[16]; - __u32 ifindex; - __u32 gpl_compatible: 1; - __u64 netns_dev; - __u64 netns_ino; - __u32 nr_jited_ksyms; - __u32 nr_jited_func_lens; - __u64 jited_ksyms; - __u64 jited_func_lens; - __u32 btf_id; - __u32 func_info_rec_size; - __u64 func_info; - __u32 nr_func_info; - __u32 nr_line_info; - __u64 line_info; - __u64 jited_line_info; - __u32 nr_jited_line_info; - __u32 line_info_rec_size; - __u32 jited_line_info_rec_size; - __u32 nr_prog_tags; - __u64 prog_tags; - __u64 run_time_ns; - __u64 run_cnt; - __u64 recursion_misses; - __u32 verified_insns; - __u32 attach_btf_obj_id; - __u32 attach_btf_id; - long: 32; -}; - -struct bpf_prog_kstats { - u64 nsecs; - u64 cnt; - u64 misses; -}; - -struct bpf_prog_offload { - struct bpf_prog *prog; - struct net_device *netdev; - struct bpf_offload_dev *offdev; - void *dev_priv; - struct list_head offloads; - bool dev_state; - bool opt_failed; - void *jited_image; - u32 jited_len; -}; - -struct bpf_prog_offload_ops { - int (*insn_hook)(struct bpf_verifier_env *, int, int); - int (*finalize)(struct bpf_verifier_env *); - int (*replace_insn)(struct bpf_verifier_env *, u32, struct bpf_insn *); - int (*remove_insns)(struct bpf_verifier_env *, u32, u32); - int (*prepare)(struct bpf_prog *); - int (*translate)(struct bpf_prog *); - void (*destroy)(struct bpf_prog *); -}; - -struct bpf_prog_ops { - int (*test_run)(struct bpf_prog *, const union bpf_attr *, union bpf_attr *); -}; - -struct bpf_prog_pack { - struct list_head list; - void *ptr; - long unsigned int bitmap[0]; -}; - -struct bpf_prog_stats { - u64_stats_t cnt; - u64_stats_t nsecs; - u64_stats_t misses; - struct u64_stats_sync syncp; - long: 32; -}; - -struct bpf_queue_stack { - struct bpf_map map; - raw_spinlock_t lock; - u32 head; - u32 tail; - u32 size; - long: 32; - char elements[0]; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct tracepoint; - -struct bpf_raw_event_map { - struct tracepoint *tp; - void *bpf_func; - u32 num_args; - u32 writable_size; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct bpf_raw_tp_link { - struct bpf_link link; - struct bpf_raw_event_map *btp; - long: 32; -}; - -struct bpf_raw_tp_test_run_info { - struct bpf_prog *prog; - void *ctx; - u32 retval; -}; - -struct bpf_rb_node { - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct bpf_rb_node_kern { - struct rb_node rb_node; - void *owner; -}; - -struct bpf_rb_root { - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct bpf_redir_neigh { - __u32 nh_family; - union { - __be32 ipv4_nh; - __u32 ipv6_nh[4]; - }; -}; - -struct bpf_redirect_info { - u64 tgt_index; - void *tgt_value; - struct bpf_map *map; - u32 flags; - u32 kern_flags; - u32 map_id; - enum bpf_map_type map_type; - struct bpf_nh_params nh; - long: 32; -}; - -struct bpf_refcount { - long: 32; -}; - -struct bpf_reference_state { - int id; - int insn_idx; - int callback_ref; -}; - -struct bpf_reg_types { - const enum bpf_reg_type types[10]; - u32 *btf_id; -}; - -struct bpf_ringbuf { - wait_queue_head_t waitq; - struct irq_work work; - u64 mask; - struct page **pages; - int nr_pages; - spinlock_t spinlock; - atomic_t busy; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long unsigned int consumer_pos; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long unsigned int producer_pos; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - char data[0]; -}; - -struct bpf_ringbuf_hdr { - u32 len; - u32 pg_off; -}; - -struct bpf_ringbuf_map { - struct bpf_map map; - struct bpf_ringbuf *rb; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct bpf_sanitize_info { - struct bpf_insn_aux_data aux; - bool mask_to_left; - long: 32; -}; - -struct bpf_scratchpad { - union { - __be32 diff[128]; - u8 buff[512]; - }; -}; - -struct sk_psock_progs { - struct bpf_prog *msg_parser; - struct bpf_prog *stream_parser; - struct bpf_prog *stream_verdict; - struct bpf_prog *skb_verdict; -}; - -struct bpf_shtab_bucket; - -struct bpf_shtab { - struct bpf_map map; - struct bpf_shtab_bucket *buckets; - u32 buckets_num; - u32 elem_size; - struct sk_psock_progs progs; - atomic_t count; -}; - -struct bpf_shtab_bucket { - struct hlist_head head; - spinlock_t lock; -}; - -struct bpf_shtab_elem { - struct callback_head rcu; - u32 hash; - struct sock *sk; - struct hlist_node node; - u8 key[0]; -}; - -struct bpf_sk_storage_diag { - u32 nr_maps; - struct bpf_map *maps[0]; -}; - -struct qdisc_skb_cb { - struct { - unsigned int pkt_len; - u16 slave_dev_queue_mapping; - u16 tc_classid; - }; - unsigned char data[20]; -}; - -struct bpf_skb_data_end { - struct qdisc_skb_cb qdisc_cb; - void *data_meta; - void *data_end; -}; - -struct bpf_sock { - __u32 bound_dev_if; - __u32 family; - __u32 type; - __u32 protocol; - __u32 mark; - __u32 priority; - __u32 src_ip4; - __u32 src_ip6[4]; - __u32 src_port; - __be16 dst_port; - __u32 dst_ip4; - __u32 dst_ip6[4]; - __u32 state; - __s32 rx_queue_mapping; -}; - -struct bpf_sock_addr { - __u32 user_family; - __u32 user_ip4; - __u32 user_ip6[4]; - __u32 user_port; - __u32 family; - __u32 type; - __u32 protocol; - __u32 msg_src_ip4; - __u32 msg_src_ip6[4]; - long: 32; - union { - struct bpf_sock *sk; - }; -}; - -struct bpf_sock_addr_kern { - struct sock *sk; - struct sockaddr *uaddr; - u64 tmp_reg; - void *t_ctx; - long: 32; -}; - -struct bpf_sock_tuple { - union { - struct { - __be32 saddr; - __be32 daddr; - __be16 sport; - __be16 dport; - } ipv4; - struct { - __be32 saddr[4]; - __be32 daddr[4]; - __be16 sport; - __be16 dport; - } ipv6; - }; -}; - -struct bpf_spin_lock { - __u32 val; -}; - -struct bpf_stab { - struct bpf_map map; - struct sock **sks; - struct sk_psock_progs progs; - spinlock_t lock; - long: 32; - long: 32; - long: 32; -}; - -struct bpf_stack_build_id { - __s32 status; - unsigned char build_id[20]; - union { - __u64 offset; - __u64 ip; - }; -}; - -struct stack_map_bucket; - -struct bpf_stack_map { - struct bpf_map map; - void *elems; - struct pcpu_freelist freelist; - u32 n_buckets; - struct stack_map_bucket *buckets[0]; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct bpf_stack_state { - struct bpf_reg_state spilled_ptr; - u8 slot_type[8]; -}; - -struct bpf_verifier_ops; - -struct btf_member; - -struct bpf_struct_ops { - const struct bpf_verifier_ops *verifier_ops; - int (*init)(struct btf *); - int (*check_member)(const struct btf_type *, const struct btf_member *, const struct bpf_prog *); - int (*init_member)(const struct btf_type *, const struct btf_member *, void *, const void *); - int (*reg)(void *); - void (*unreg)(void *); - int (*update)(void *, void *); - int (*validate)(void *); - const struct btf_type *type; - const struct btf_type *value_type; - const char *name; - struct btf_func_model func_models[64]; - u32 type_id; - u32 value_id; -}; - -struct bpf_struct_ops_bpf_dummy_ops { - refcount_t refcnt; - enum bpf_struct_ops_state state; - struct bpf_dummy_ops data; -}; - -struct bpf_struct_ops_link { - struct bpf_link link; - struct bpf_map *map; - long: 32; -}; - -struct bpf_struct_ops_value { - refcount_t refcnt; - enum bpf_struct_ops_state state; - char data[0]; -}; - -struct bpf_struct_ops_map { - struct bpf_map map; - struct callback_head rcu; - const struct bpf_struct_ops *st_ops; - struct mutex lock; - struct bpf_link **links; - void *image; - struct bpf_struct_ops_value *uvalue; - struct bpf_struct_ops_value kvalue; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct rate_sample; - -union tcp_cc_info; - -struct tcp_congestion_ops { - u32 (*ssthresh)(struct sock *); - void (*cong_avoid)(struct sock *, u32, u32); - void (*set_state)(struct sock *, u8); - void (*cwnd_event)(struct sock *, enum tcp_ca_event); - void (*in_ack_event)(struct sock *, u32); - void (*pkts_acked)(struct sock *, const struct ack_sample *); - u32 (*min_tso_segs)(struct sock *); - void (*cong_control)(struct sock *, const struct rate_sample *); - u32 (*undo_cwnd)(struct sock *); - u32 (*sndbuf_expand)(struct sock *); - size_t (*get_info)(struct sock *, u32, int *, union tcp_cc_info *); - char name[16]; - struct module *owner; - struct list_head list; - u32 key; - u32 flags; - void (*init)(struct sock *); - void (*release)(struct sock *); -}; - -struct bpf_struct_ops_tcp_congestion_ops { - refcount_t refcnt; - enum bpf_struct_ops_state state; - struct tcp_congestion_ops data; -}; - -struct bpf_subprog_info { - u32 start; - u32 linfo_idx; - u16 stack_depth; - bool has_tail_call; - bool tail_call_reachable; - bool has_ld_abs; - bool is_async_cb; -}; - -struct bpf_tcp_sock { - __u32 snd_cwnd; - __u32 srtt_us; - __u32 rtt_min; - __u32 snd_ssthresh; - __u32 rcv_nxt; - __u32 snd_nxt; - __u32 snd_una; - __u32 mss_cache; - __u32 ecn_flags; - __u32 rate_delivered; - __u32 rate_interval_us; - __u32 packets_out; - __u32 retrans_out; - __u32 total_retrans; - __u32 segs_in; - __u32 data_segs_in; - __u32 segs_out; - __u32 data_segs_out; - __u32 lost_out; - __u32 sacked_out; - __u64 bytes_received; - __u64 bytes_acked; - __u32 dsack_dups; - __u32 delivered; - __u32 delivered_ce; - __u32 icsk_retransmits; -}; - -struct bpf_test_timer { - enum { - NO_PREEMPT = 0, - NO_MIGRATE = 1, - } mode; - u32 i; - u64 time_start; - u64 time_spent; -}; - -struct bpf_timer { - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct bpf_timer_kern { - struct bpf_hrtimer *timer; - struct bpf_spin_lock lock; -}; - -struct bpf_tramp_link { - struct bpf_link link; - struct hlist_node tramp_hlist; - u64 cookie; -}; - -struct bpf_tracing_link { - struct bpf_tramp_link link; - enum bpf_attach_type attach_type; - struct bpf_trampoline *trampoline; - struct bpf_prog *tgt_prog; - long: 32; -}; - -struct percpu_ref_data; - -struct percpu_ref { - long unsigned int percpu_count_ptr; - struct percpu_ref_data *data; -}; - -struct bpf_tramp_image { - void *image; - struct bpf_ksym ksym; - struct percpu_ref pcref; - void *ip_after_call; - void *ip_epilogue; - union { - struct callback_head rcu; - struct work_struct work; - }; -}; - -struct bpf_tramp_links { - struct bpf_tramp_link *links[38]; - int nr_links; -}; - -struct bpf_tramp_run_ctx { - struct bpf_run_ctx run_ctx; - u64 bpf_cookie; - struct bpf_run_ctx *saved_run_ctx; - long: 32; -}; - -struct ftrace_ops; - -struct bpf_trampoline { - struct hlist_node hlist; - struct ftrace_ops *fops; - struct mutex mutex; - refcount_t refcnt; - u32 flags; - u64 key; - struct { - struct btf_func_model model; - void *addr; - bool ftrace_managed; - } func; - struct bpf_prog *extension_prog; - struct hlist_head progs_hlist[3]; - int progs_cnt[3]; - struct bpf_tramp_image *cur_image; - struct module *mod; -}; - -struct bpf_tunnel_key { - __u32 tunnel_id; - union { - __u32 remote_ipv4; - __u32 remote_ipv6[4]; - }; - __u8 tunnel_tos; - __u8 tunnel_ttl; - union { - __u16 tunnel_ext; - __be16 tunnel_flags; - }; - __u32 tunnel_label; - union { - __u32 local_ipv4; - __u32 local_ipv6[4]; - }; -}; - -struct bpf_tuple { - struct bpf_prog *prog; - struct bpf_link *link; -}; - -struct btf_mod_pair { - struct btf *btf; - struct module *module; -}; - -struct bpf_verifier_log { - u64 start_pos; - u64 end_pos; - char *ubuf; - u32 level; - u32 len_total; - u32 len_max; - char kbuf[1024]; -}; - -struct bpf_verifier_stack_elem; - -struct bpf_verifier_state; - -struct bpf_verifier_state_list; - -struct bpf_verifier_env { - u32 insn_idx; - u32 prev_insn_idx; - struct bpf_prog *prog; - const struct bpf_verifier_ops *ops; - struct bpf_verifier_stack_elem *head; - int stack_size; - bool strict_alignment; - bool test_state_freq; - struct bpf_verifier_state *cur_state; - struct bpf_verifier_state_list **explored_states; - struct bpf_verifier_state_list *free_list; - struct bpf_map *used_maps[64]; - struct btf_mod_pair used_btfs[64]; - u32 used_map_cnt; - u32 used_btf_cnt; - u32 id_gen; - bool explore_alu_limits; - bool allow_ptr_leaks; - bool allow_uninit_stack; - bool bpf_capable; - bool bypass_spec_v1; - bool bypass_spec_v4; - bool seen_direct_write; - struct bpf_insn_aux_data *insn_aux_data; - const struct bpf_line_info *prev_linfo; - long: 32; - struct bpf_verifier_log log; - struct bpf_subprog_info subprog_info[257]; - union { - struct bpf_idmap idmap_scratch; - struct bpf_idset idset_scratch; - }; - struct { - int *insn_state; - int *insn_stack; - int cur_stack; - } cfg; - struct backtrack_state bt; - u32 pass_cnt; - u32 subprog_cnt; - u32 prev_insn_processed; - u32 insn_processed; - u32 prev_jmps_processed; - u32 jmps_processed; - u64 verification_time; - u32 max_states_per_insn; - u32 total_states; - u32 peak_states; - u32 longest_mark_read_walk; - bpfptr_t fd_array; - u32 scratched_regs; - long: 32; - u64 scratched_stack_slots; - u64 prev_log_pos; - u64 prev_insn_print_pos; - char tmp_str_buf[320]; -}; - -struct bpf_verifier_ops { - const struct bpf_func_proto * (*get_func_proto)(enum bpf_func_id, const struct bpf_prog *); - bool (*is_valid_access)(int, int, enum bpf_access_type, const struct bpf_prog *, struct bpf_insn_access_aux *); - int (*gen_prologue)(struct bpf_insn *, bool, const struct bpf_prog *); - int (*gen_ld_abs)(const struct bpf_insn *, struct bpf_insn *); - u32 (*convert_ctx_access)(enum bpf_access_type, const struct bpf_insn *, struct bpf_insn *, struct bpf_prog *, u32 *); - int (*btf_struct_access)(struct bpf_verifier_log *, const struct bpf_reg_state *, int, int); -}; - -struct bpf_verifier_state { - struct bpf_func_state *frame[8]; - struct bpf_verifier_state *parent; - u32 branches; - u32 insn_idx; - u32 curframe; - struct bpf_active_lock active_lock; - bool speculative; - bool active_rcu_lock; - u32 first_insn_idx; - u32 last_insn_idx; - struct bpf_idx_pair *jmp_history; - u32 jmp_history_cnt; -}; - -struct bpf_verifier_stack_elem { - struct bpf_verifier_state st; - int insn_idx; - int prev_insn_idx; - struct bpf_verifier_stack_elem *next; - u32 log_pos; -}; - -struct bpf_verifier_state_list { - struct bpf_verifier_state state; - struct bpf_verifier_state_list *next; - int miss_cnt; - int hit_cnt; -}; - -struct bpf_xdp_link; - -struct bpf_xdp_entity { - struct bpf_prog *prog; - struct bpf_xdp_link *link; -}; - -struct bpf_xdp_link { - struct bpf_link link; - struct net_device *dev; - int flags; -}; - -struct bpf_xdp_sock { - __u32 queue_id; -}; - -struct br_input_skb_cb { - struct net_device *brdev; - u16 frag_max_size; - u8 proxyarp_replied: 1; - u8 src_port_isolated: 1; - u32 backup_nhid; -}; - -struct br_mdb_entry { - __u32 ifindex; - __u8 state; - __u8 flags; - __u16 vid; - struct { - union { - __be32 ip4; - struct in6_addr ip6; - unsigned char mac_addr[6]; - } u; - __be16 proto; - } addr; -}; - -struct br_port_msg { - __u8 family; - __u32 ifindex; -}; - -struct broadcast_sk { - struct sock *sk; - struct work_struct work; -}; - -struct btf_header { - __u16 magic; - __u8 version; - __u8 flags; - __u32 hdr_len; - __u32 type_off; - __u32 type_len; - __u32 str_off; - __u32 str_len; -}; - -struct btf_kfunc_set_tab; - -struct btf_id_dtor_kfunc_tab; - -struct btf_struct_metas; - -struct btf { - void *data; - struct btf_type **types; - u32 *resolved_ids; - u32 *resolved_sizes; - const char *strings; - void *nohdr_data; - struct btf_header hdr; - u32 nr_types; - u32 types_size; - u32 data_size; - refcount_t refcnt; - u32 id; - struct callback_head rcu; - struct btf_kfunc_set_tab *kfunc_set_tab; - struct btf_id_dtor_kfunc_tab *dtor_kfunc_tab; - struct btf_struct_metas *struct_meta_tab; - struct btf *base_btf; - u32 start_id; - u32 start_str_off; - char name[60]; - bool kernel_btf; -}; - -struct btf_array { - __u32 type; - __u32 index_type; - __u32 nelems; -}; - -struct btf_decl_tag { - __s32 component_idx; -}; - -struct btf_enum { - __u32 name_off; - __s32 val; -}; - -struct btf_enum64 { - __u32 name_off; - __u32 val_lo32; - __u32 val_hi32; -}; - -typedef void (*btf_dtor_kfunc_t)(void *); - -struct btf_field_kptr { - struct btf *btf; - struct module *module; - btf_dtor_kfunc_t dtor; - u32 btf_id; -}; - -struct btf_field_graph_root { - struct btf *btf; - u32 value_btf_id; - u32 node_offset; - struct btf_record *value_rec; -}; - -struct btf_field { - u32 offset; - u32 size; - enum btf_field_type type; - union { - struct btf_field_kptr kptr; - struct btf_field_graph_root graph_root; - }; -}; - -struct btf_field_info { - enum btf_field_type type; - u32 off; - union { - struct { - u32 type_id; - } kptr; - struct { - const char *node_name; - u32 value_btf_id; - } graph_root; - }; -}; - -struct btf_id_dtor_kfunc { - u32 btf_id; - u32 kfunc_btf_id; -}; - -struct btf_id_dtor_kfunc_tab { - u32 cnt; - struct btf_id_dtor_kfunc dtors[0]; -}; - -struct btf_id_set { - u32 cnt; - u32 ids[0]; -}; - -struct btf_id_set8 { - u32 cnt; - u32 flags; - struct { - u32 id; - u32 flags; - } pairs[0]; -}; - -typedef int (*btf_kfunc_filter_t)(const struct bpf_prog *, u32); - -struct btf_kfunc_hook_filter { - btf_kfunc_filter_t filters[16]; - u32 nr_filters; -}; - -struct btf_kfunc_id_set { - struct module *owner; - struct btf_id_set8 *set; - btf_kfunc_filter_t filter; -}; - -struct btf_kfunc_set_tab { - struct btf_id_set8 *sets[13]; - struct btf_kfunc_hook_filter hook_filters[13]; -}; - -struct btf_verifier_env; - -struct resolve_vertex; - -struct btf_show; - -struct btf_kind_operations { - s32 (*check_meta)(struct btf_verifier_env *, const struct btf_type *, u32); - int (*resolve)(struct btf_verifier_env *, const struct resolve_vertex *); - int (*check_member)(struct btf_verifier_env *, const struct btf_type *, const struct btf_member *, const struct btf_type *); - int (*check_kflag_member)(struct btf_verifier_env *, const struct btf_type *, const struct btf_member *, const struct btf_type *); - void (*log_details)(struct btf_verifier_env *, const struct btf_type *); - void (*show)(const struct btf *, const struct btf_type *, u32, void *, u8, struct btf_show *); -}; - -struct btf_member { - __u32 name_off; - __u32 type; - __u32 offset; -}; - -struct btf_module { - struct list_head list; - struct module *module; - struct btf *btf; - struct bin_attribute *sysfs_attr; - int flags; -}; - -struct btf_param { - __u32 name_off; - __u32 type; -}; - -struct btf_record { - u32 cnt; - u32 field_mask; - int spin_lock_off; - int timer_off; - int refcount_off; - struct btf_field fields[0]; -}; - -struct btf_sec_info { - u32 off; - u32 len; -}; - -struct btf_show { - u64 flags; - void *target; - void (*showfn)(struct btf_show *, const char *, va_list); - const struct btf *btf; - struct { - u8 depth; - u8 depth_to_show; - u8 depth_check; - u8 array_member: 1; - u8 array_terminated: 1; - u16 array_encoding; - u32 type_id; - int status; - const struct btf_type *type; - const struct btf_member *member; - char name[80]; - } state; - struct { - u32 size; - void *head; - void *data; - u8 safe[32]; - } obj; -}; - -struct btf_show_snprintf { - struct btf_show show; - int len_left; - int len; -}; - -struct btf_struct_meta { - u32 btf_id; - struct btf_record *record; -}; - -struct btf_struct_metas { - u32 cnt; - struct btf_struct_meta types[0]; -}; - -struct btf_type { - __u32 name_off; - __u32 info; - union { - __u32 size; - __u32 type; - }; -}; - -struct btf_var { - __u32 linkage; -}; - -struct btf_var_secinfo { - __u32 type; - __u32 offset; - __u32 size; -}; - -struct resolve_vertex { - const struct btf_type *t; - u32 type_id; - u16 next_member; -}; - -struct btf_verifier_env { - struct btf *btf; - u8 *visit_states; - struct resolve_vertex stack[32]; - struct bpf_verifier_log log; - u32 log_type_id; - u32 top_stack; - enum verifier_phase phase; - enum resolve_mode resolve_mode; -}; - -struct hlist_nulls_node; - -struct hlist_nulls_head { - struct hlist_nulls_node *first; -}; - -struct bucket { - struct hlist_nulls_head head; - raw_spinlock_t raw_lock; -}; - -struct lockdep_map {}; - -struct rhash_lock_head; - -struct bucket_table { - unsigned int size; - unsigned int nest; - u32 hash_rnd; - struct list_head walkers; - struct callback_head rcu; - struct bucket_table *future_tbl; - struct lockdep_map dep_map; - struct rhash_lock_head *buckets[0]; -}; - -struct bus_attribute { - struct attribute attr; - ssize_t (*show)(const struct bus_type *, char *); - ssize_t (*store)(const struct bus_type *, const char *, size_t); -}; - -struct bus_dma_region { - phys_addr_t cpu_start; - dma_addr_t dma_start; - u64 size; - u64 offset; -}; - -struct iommu_ops; - -struct bus_type { - const char *name; - const char *dev_name; - const struct attribute_group **bus_groups; - const struct attribute_group **dev_groups; - const struct attribute_group **drv_groups; - int (*match)(struct device *, struct device_driver *); - int (*uevent)(const struct device *, struct kobj_uevent_env *); - int (*probe)(struct device *); - void (*sync_state)(struct device *); - void (*remove)(struct device *); - void (*shutdown)(struct device *); - int (*online)(struct device *); - int (*offline)(struct device *); - int (*suspend)(struct device *, pm_message_t); - int (*resume)(struct device *); - int (*num_vf)(struct device *); - int (*dma_configure)(struct device *); - void (*dma_cleanup)(struct device *); - const struct dev_pm_ops *pm; - const struct iommu_ops *iommu_ops; - bool need_parent_lock; -}; - -struct cache_type_info { - const char *size_prop; - const char *line_size_props[2]; - const char *nr_sets_prop; -}; - -struct cacheinfo { - unsigned int id; - enum cache_type type; - unsigned int level; - unsigned int coherency_line_size; - unsigned int number_of_sets; - unsigned int ways_of_associativity; - unsigned int physical_line_partition; - unsigned int size; - cpumask_t shared_cpu_map; - unsigned int attributes; - void *fw_token; - bool disable_sysfs; - void *priv; -}; - -struct perf_callchain_entry; - -struct callchain_cpus_entries { - struct callback_head callback_head; - struct perf_callchain_entry *cpu_entries[0]; -}; - -struct cdev { - struct kobject kobj; - struct module *owner; - const struct file_operations *ops; - struct list_head list; - dev_t dev; - unsigned int count; -}; - -struct clock_event_device; - -struct ce_unbind { - struct clock_event_device *ce; - int res; -}; - -struct load_weight { - long unsigned int weight; - u32 inv_weight; -}; - -struct sched_entity; - -struct cfs_rq { - struct load_weight load; - unsigned int nr_running; - unsigned int h_nr_running; - unsigned int idle_nr_running; - unsigned int idle_h_nr_running; - s64 avg_vruntime; - u64 avg_load; - u64 exec_clock; - u64 min_vruntime; - u64 min_vruntime_copy; - struct rb_root_cached tasks_timeline; - struct sched_entity *curr; - struct sched_entity *next; -}; - -struct cgroup__safe_rcu { - struct kernfs_node *kn; -}; - -struct proc_ns_operations; - -struct ns_common { - atomic_long_t stashed; - const struct proc_ns_operations *ops; - unsigned int inum; - refcount_t count; -}; - -struct css_set; - -struct user_namespace; - -struct ucounts; - -struct cgroup_namespace { - struct ns_common ns; - struct user_namespace *user_ns; - struct ucounts *ucounts; - struct css_set *root_cset; -}; - -struct ethnl_reply_data { - struct net_device *dev; -}; - -struct ethtool_channels { - __u32 cmd; - __u32 max_rx; - __u32 max_tx; - __u32 max_other; - __u32 max_combined; - __u32 rx_count; - __u32 tx_count; - __u32 other_count; - __u32 combined_count; -}; - -struct channels_reply_data { - struct ethnl_reply_data base; - struct ethtool_channels channels; -}; - -struct char_device_struct { - struct char_device_struct *next; - unsigned int major; - unsigned int baseminor; - int minorct; - char name[64]; - struct cdev *cdev; -}; - -struct check_mount { - struct vfsmount *mnt; - unsigned int mounted; -}; - -struct crypto_tfm; - -struct cipher_alg { - unsigned int cia_min_keysize; - unsigned int cia_max_keysize; - int (*cia_setkey)(struct crypto_tfm *, const u8 *, unsigned int); - void (*cia_encrypt)(struct crypto_tfm *, u8 *, const u8 *); - void (*cia_decrypt)(struct crypto_tfm *, u8 *, const u8 *); -}; - -struct cipher_context { - char *iv; - char *rec_seq; -}; - -struct class_attribute { - struct attribute attr; - ssize_t (*show)(const struct class *, const struct class_attribute *, char *); - ssize_t (*store)(const struct class *, const struct class_attribute *, const char *, size_t); -}; - -struct class_attribute_string { - struct class_attribute attr; - char *str; -}; - -struct class_compat { - struct kobject *kobj; -}; - -struct klist_iter { - struct klist *i_klist; - struct klist_node *i_cur; -}; - -struct subsys_private; - -struct class_dev_iter { - struct klist_iter ki; - const struct device_type *type; - struct subsys_private *sp; -}; - -struct class_dir { - struct kobject kobj; - const struct class *class; -}; - -struct class_interface { - struct list_head node; - const struct class *class; - int (*add_dev)(struct device *); - void (*remove_dev)(struct device *); -}; - -struct clk_core; - -struct clk { - struct clk_core *core; - struct device *dev; - const char *dev_id; - const char *con_id; - long unsigned int min_rate; - long unsigned int max_rate; - unsigned int exclusive_count; - struct hlist_node clks_node; -}; - -struct clk_bulk_data { - const char *id; - struct clk *clk; -}; - -struct clk_bulk_devres { - struct clk_bulk_data *clks; - int num_clks; -}; - -struct clk_init_data; - -struct clk_hw { - struct clk_core *core; - struct clk *clk; - const struct clk_init_data *init; -}; - -struct clk_rate_request; - -struct clk_duty; - -struct clk_ops { - int (*prepare)(struct clk_hw *); - void (*unprepare)(struct clk_hw *); - int (*is_prepared)(struct clk_hw *); - void (*unprepare_unused)(struct clk_hw *); - int (*enable)(struct clk_hw *); - void (*disable)(struct clk_hw *); - int (*is_enabled)(struct clk_hw *); - void (*disable_unused)(struct clk_hw *); - int (*save_context)(struct clk_hw *); - void (*restore_context)(struct clk_hw *); - long unsigned int (*recalc_rate)(struct clk_hw *, long unsigned int); - long int (*round_rate)(struct clk_hw *, long unsigned int, long unsigned int *); - int (*determine_rate)(struct clk_hw *, struct clk_rate_request *); - int (*set_parent)(struct clk_hw *, u8); - u8 (*get_parent)(struct clk_hw *); - int (*set_rate)(struct clk_hw *, long unsigned int, long unsigned int); - int (*set_rate_and_parent)(struct clk_hw *, long unsigned int, long unsigned int, u8); - long unsigned int (*recalc_accuracy)(struct clk_hw *, long unsigned int); - int (*get_phase)(struct clk_hw *); - int (*set_phase)(struct clk_hw *, int); - int (*get_duty_cycle)(struct clk_hw *, struct clk_duty *); - int (*set_duty_cycle)(struct clk_hw *, struct clk_duty *); - int (*init)(struct clk_hw *); - void (*terminate)(struct clk_hw *); - void (*debug_init)(struct clk_hw *, struct dentry *); -}; - -struct clk_composite { - struct clk_hw hw; - struct clk_ops ops; - struct clk_hw *mux_hw; - struct clk_hw *rate_hw; - struct clk_hw *gate_hw; - const struct clk_ops *mux_ops; - const struct clk_ops *rate_ops; - const struct clk_ops *gate_ops; -}; - -struct clk_duty { - unsigned int num; - unsigned int den; -}; - -struct clk_parent_map; - -struct clk_core { - const char *name; - const struct clk_ops *ops; - struct clk_hw *hw; - struct module *owner; - struct device *dev; - struct device_node *of_node; - struct clk_core *parent; - struct clk_parent_map *parents; - u8 num_parents; - u8 new_parent_index; - long unsigned int rate; - long unsigned int req_rate; - long unsigned int new_rate; - struct clk_core *new_parent; - struct clk_core *new_child; - long unsigned int flags; - bool orphan; - bool rpm_enabled; - unsigned int enable_count; - unsigned int prepare_count; - unsigned int protect_count; - long unsigned int min_rate; - long unsigned int max_rate; - long unsigned int accuracy; - int phase; - struct clk_duty duty; - struct hlist_head children; - struct hlist_node child_node; - struct hlist_head clks; - unsigned int notifier_count; - struct kref ref; -}; - -struct clk_div_table { - unsigned int val; - unsigned int div; -}; - -struct clk_divider { - struct clk_hw hw; - void *reg; - u8 shift; - u8 width; - u8 flags; - const struct clk_div_table *table; - spinlock_t *lock; -}; - -struct clk_fixed_factor { - struct clk_hw hw; - unsigned int mult; - unsigned int div; -}; - -struct clk_fixed_rate { - struct clk_hw hw; - long unsigned int fixed_rate; - long unsigned int fixed_accuracy; - long unsigned int flags; -}; - -struct clk_fractional_divider { - struct clk_hw hw; - void *reg; - u8 mshift; - u8 mwidth; - u8 nshift; - u8 nwidth; - u8 flags; - void (*approximation)(struct clk_hw *, long unsigned int, long unsigned int *, long unsigned int *, long unsigned int *); - spinlock_t *lock; -}; - -struct clk_gate { - struct clk_hw hw; - void *reg; - u8 bit_idx; - u8 flags; - spinlock_t *lock; -}; - -struct gpio_desc; - -struct clk_gpio { - struct clk_hw hw; - struct gpio_desc *gpiod; -}; - -struct clk_hw_onecell_data { - unsigned int num; - struct clk_hw *hws[0]; -}; - -struct clk_parent_data; - -struct clk_init_data { - const char *name; - const struct clk_ops *ops; - const char * const *parent_names; - const struct clk_parent_data *parent_data; - const struct clk_hw **parent_hws; - u8 num_parents; - long unsigned int flags; -}; - -struct clk_lookup { - struct list_head node; - const char *dev_id; - const char *con_id; - struct clk *clk; - struct clk_hw *clk_hw; -}; - -struct clk_lookup_alloc { - struct clk_lookup cl; - char dev_id[20]; - char con_id[16]; -}; - -struct clk_multiplier { - struct clk_hw hw; - void *reg; - u8 shift; - u8 width; - u8 flags; - spinlock_t *lock; -}; - -struct clk_mux { - struct clk_hw hw; - void *reg; - const u32 *table; - u32 mask; - u8 shift; - u8 flags; - spinlock_t *lock; -}; - -struct srcu_usage {}; - -struct srcu_struct { - short int srcu_lock_nesting[2]; - u8 srcu_gp_running; - u8 srcu_gp_waiting; - long unsigned int srcu_idx; - long unsigned int srcu_idx_max; - struct swait_queue_head srcu_wq; - struct callback_head *srcu_cb_head; - struct callback_head **srcu_cb_tail; - struct work_struct srcu_work; -}; - -struct srcu_notifier_head { - struct mutex mutex; - struct srcu_usage srcuu; - struct srcu_struct srcu; - struct notifier_block *head; -}; - -struct clk_notifier { - struct clk *clk; - struct srcu_notifier_head notifier_head; - struct list_head node; -}; - -struct clk_notifier_data { - struct clk *clk; - long unsigned int old_rate; - long unsigned int new_rate; -}; - -struct clk_notifier_devres { - struct clk *clk; - struct notifier_block *nb; -}; - -struct clk_onecell_data { - struct clk **clks; - unsigned int clk_num; -}; - -struct clk_parent_data { - const struct clk_hw *hw; - const char *fw_name; - const char *name; - int index; -}; - -struct clk_parent_map { - const struct clk_hw *hw; - struct clk_core *core; - const char *fw_name; - const char *name; - int index; -}; - -struct clk_rate_request { - struct clk_core *core; - long unsigned int rate; - long unsigned int min_rate; - long unsigned int max_rate; - long unsigned int best_parent_rate; - struct clk_hw *best_parent_hw; -}; - -struct clock_read_data { - u64 epoch_ns; - u64 epoch_cyc; - u64 sched_clock_mask; - u64 (*read_sched_clock)(); - u32 mult; - u32 shift; - long: 32; -}; - -struct clock_data { - seqcount_latch_t seq; - long: 32; - struct clock_read_data read_data[2]; - ktime_t wrap_kt; - long unsigned int rate; - u64 (*actual_read_sched_clock)(); -}; - -struct clock_event_device { - void (*event_handler)(struct clock_event_device *); - int (*set_next_event)(long unsigned int, struct clock_event_device *); - int (*set_next_ktime)(ktime_t, struct clock_event_device *); - long: 32; - ktime_t next_event; - u64 max_delta_ns; - u64 min_delta_ns; - u32 mult; - u32 shift; - enum clock_event_state state_use_accessors; - unsigned int features; - long unsigned int retries; - int (*set_state_periodic)(struct clock_event_device *); - int (*set_state_oneshot)(struct clock_event_device *); - int (*set_state_oneshot_stopped)(struct clock_event_device *); - int (*set_state_shutdown)(struct clock_event_device *); - int (*tick_resume)(struct clock_event_device *); - void (*broadcast)(const struct cpumask *); - void (*suspend)(struct clock_event_device *); - void (*resume)(struct clock_event_device *); - long unsigned int min_delta_ticks; - long unsigned int max_delta_ticks; - const char *name; - int rating; - int irq; - int bound_on; - const struct cpumask *cpumask; - struct list_head list; - struct module *owner; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct clock_identity { - u8 id[8]; -}; - -struct clock_provider { - void (*clk_init_cb)(struct device_node *); - struct device_node *np; - struct list_head node; -}; - -struct clocksource { - u64 (*read)(struct clocksource *); - long: 32; - u64 mask; - u32 mult; - u32 shift; - u64 max_idle_ns; - u32 maxadj; - u32 uncertainty_margin; - u64 max_cycles; - const char *name; - struct list_head list; - int rating; - enum clocksource_ids id; - enum vdso_clock_mode vdso_clock_mode; - long unsigned int flags; - int (*enable)(struct clocksource *); - void (*disable)(struct clocksource *); - void (*suspend)(struct clocksource *); - void (*resume)(struct clocksource *); - void (*mark_unstable)(struct clocksource *); - void (*tick_stable)(struct clocksource *); - struct module *owner; -}; - -struct clone_args { - __u64 flags; - __u64 pidfd; - __u64 child_tid; - __u64 parent_tid; - __u64 exit_signal; - __u64 stack; - __u64 stack_size; - __u64 tls; - __u64 set_tid; - __u64 set_tid_size; - __u64 cgroup; -}; - -struct cmsghdr { - __kernel_size_t cmsg_len; - int cmsg_level; - int cmsg_type; -}; - -struct ethtool_coalesce { - __u32 cmd; - __u32 rx_coalesce_usecs; - __u32 rx_max_coalesced_frames; - __u32 rx_coalesce_usecs_irq; - __u32 rx_max_coalesced_frames_irq; - __u32 tx_coalesce_usecs; - __u32 tx_max_coalesced_frames; - __u32 tx_coalesce_usecs_irq; - __u32 tx_max_coalesced_frames_irq; - __u32 stats_block_coalesce_usecs; - __u32 use_adaptive_rx_coalesce; - __u32 use_adaptive_tx_coalesce; - __u32 pkt_rate_low; - __u32 rx_coalesce_usecs_low; - __u32 rx_max_coalesced_frames_low; - __u32 tx_coalesce_usecs_low; - __u32 tx_max_coalesced_frames_low; - __u32 pkt_rate_high; - __u32 rx_coalesce_usecs_high; - __u32 rx_max_coalesced_frames_high; - __u32 tx_coalesce_usecs_high; - __u32 tx_max_coalesced_frames_high; - __u32 rate_sample_interval; -}; - -struct kernel_ethtool_coalesce { - u8 use_cqe_mode_tx; - u8 use_cqe_mode_rx; - u32 tx_aggr_max_bytes; - u32 tx_aggr_max_frames; - u32 tx_aggr_time_usecs; -}; - -struct coalesce_reply_data { - struct ethnl_reply_data base; - struct ethtool_coalesce coalesce; - struct kernel_ethtool_coalesce kernel_coalesce; - u32 supported_params; -}; - -struct compat_group_filter { - union { - struct { - __u32 gf_interface_aux; - struct __kernel_sockaddr_storage gf_group_aux; - __u32 gf_fmode_aux; - __u32 gf_numsrc_aux; - struct __kernel_sockaddr_storage gf_slist[1]; - }; - struct { - __u32 gf_interface; - struct __kernel_sockaddr_storage gf_group; - __u32 gf_fmode; - __u32 gf_numsrc; - struct __kernel_sockaddr_storage gf_slist_flex[0]; - }; - }; -}; - -struct compat_group_req { - __u32 gr_interface; - struct __kernel_sockaddr_storage gr_group; -}; - -struct compat_group_source_req { - __u32 gsr_interface; - struct __kernel_sockaddr_storage gsr_group; - struct __kernel_sockaddr_storage gsr_source; -}; - -struct compat_if_settings { - unsigned int type; - unsigned int size; - compat_uptr_t ifs_ifsu; -}; - -struct compat_ifconf { - compat_int_t ifc_len; - compat_caddr_t ifcbuf; -}; - -struct compat_ifmap { - compat_ulong_t mem_start; - compat_ulong_t mem_end; - short unsigned int base_addr; - unsigned char irq; - unsigned char dma; - unsigned char port; -}; - -struct compat_ifreq { - union { - char ifrn_name[16]; - } ifr_ifrn; - union { - struct sockaddr ifru_addr; - struct sockaddr ifru_dstaddr; - struct sockaddr ifru_broadaddr; - struct sockaddr ifru_netmask; - struct sockaddr ifru_hwaddr; - short int ifru_flags; - compat_int_t ifru_ivalue; - compat_int_t ifru_mtu; - struct compat_ifmap ifru_map; - char ifru_slave[16]; - char ifru_newname[16]; - compat_caddr_t ifru_data; - struct compat_if_settings ifru_settings; - } ifr_ifru; -}; - -struct compat_iovec { - compat_uptr_t iov_base; - compat_size_t iov_len; -}; - -struct compat_msghdr { - compat_uptr_t msg_name; - compat_int_t msg_namelen; - compat_uptr_t msg_iov; - compat_size_t msg_iovlen; - compat_uptr_t msg_control; - compat_size_t msg_controllen; - compat_uint_t msg_flags; -}; - -struct compat_mmsghdr { - struct compat_msghdr msg_hdr; - compat_uint_t msg_len; -}; - -struct compat_sock_fprog { - u16 len; - compat_uptr_t filter; -}; - -struct component_ops; - -struct component { - struct list_head node; - struct aggregate_device *adev; - bool bound; - const struct component_ops *ops; - int subcomponent; - struct device *dev; -}; - -struct component_master_ops { - int (*bind)(struct device *); - void (*unbind)(struct device *); -}; - -struct component_match_array; - -struct component_match { - size_t alloc; - size_t num; - struct component_match_array *compare; -}; - -struct component_match_array { - void *data; - int (*compare)(struct device *, void *); - int (*compare_typed)(struct device *, int, void *); - void (*release)(struct device *, void *); - struct component *component; - bool duplicate; -}; - -struct component_ops { - int (*bind)(struct device *, struct device *, void *); - void (*unbind)(struct device *, struct device *, void *); -}; - -struct compress_alg { - int (*coa_compress)(struct crypto_tfm *, const u8 *, unsigned int, u8 *, unsigned int *); - int (*coa_decompress)(struct crypto_tfm *, const u8 *, unsigned int, u8 *, unsigned int *); -}; - -typedef int (*decompress_fn)(unsigned char *, long int, long int (*)(void *, long unsigned int), long int (*)(void *, long unsigned int), unsigned char *, long int *, void (*)(char *)); - -struct compress_format { - unsigned char magic[2]; - const char *name; - decompress_fn decompressor; -}; - -struct tty_driver; - -struct console { - char name[16]; - void (*write)(struct console *, const char *, unsigned int); - int (*read)(struct console *, char *, unsigned int); - struct tty_driver * (*device)(struct console *, int *); - void (*unblank)(); - int (*setup)(struct console *, char *); - int (*exit)(struct console *); - int (*match)(struct console *, char *, int, char *); - short int flags; - short int index; - int cflag; - uint ispeed; - uint ospeed; - long: 32; - u64 seq; - long unsigned int dropped; - void *data; - struct hlist_node node; -}; - -struct console_cmdline { - char name[16]; - int index; - bool user_specified; - char *options; -}; - -struct constant_table { - const char *name; - int value; -}; - -struct container_dev { - struct device dev; - int (*offline)(struct container_dev *); - long: 32; -}; - -struct core_thread { - struct task_struct *task; - struct core_thread *next; -}; - -struct core_state { - atomic_t nr_threads; - struct core_thread dumper; - struct completion startup; -}; - -struct cpio_data { - void *data; - size_t size; - char name[18]; -}; - -struct cpu { - int node_id; - int hotpluggable; - struct device dev; -}; - -struct device_attribute { - struct attribute attr; - ssize_t (*show)(struct device *, struct device_attribute *, char *); - ssize_t (*store)(struct device *, struct device_attribute *, const char *, size_t); -}; - -struct cpu_attr { - struct device_attribute attr; - const struct cpumask * const map; -}; - -struct cpu_cache_fns { - void (*flush_icache_all)(); - void (*flush_kern_all)(); - void (*flush_kern_louis)(); - void (*flush_user_all)(); - void (*flush_user_range)(long unsigned int, long unsigned int, unsigned int); - void (*coherent_kern_range)(long unsigned int, long unsigned int); - int (*coherent_user_range)(long unsigned int, long unsigned int); - void (*flush_kern_dcache_area)(void *, size_t); - void (*dma_map_area)(const void *, size_t, int); - void (*dma_unmap_area)(const void *, size_t, int); - void (*dma_flush_range)(const void *, const void *); -}; - -struct cpu_cacheinfo { - struct cacheinfo *info_list; - unsigned int num_levels; - unsigned int num_leaves; - bool cpu_map_populated; - bool early_ci_levels; -}; - -struct cpu_context_save { - __u32 r4; - __u32 r5; - __u32 r6; - __u32 r7; - __u32 r8; - __u32 r9; - __u32 sl; - __u32 fp; - __u32 sp; - __u32 pc; - __u32 extra[2]; -}; - -struct folio_batch { - unsigned char nr; - bool percpu_pvec_drained; - struct folio *folios[15]; -}; - -struct cpu_fbatches { - local_lock_t lock; - struct folio_batch lru_add; - struct folio_batch lru_deactivate_file; - struct folio_batch lru_deactivate; - struct folio_batch lru_lazyfree; -}; - -typedef int (*cpu_stop_fn_t)(void *); - -struct cpu_stop_work { - struct work_struct work; - cpu_stop_fn_t fn; - void *arg; -}; - -struct cpu_vfs_cap_data { - __u32 magic_etc; - kuid_t rootid; - kernel_cap_t permitted; - kernel_cap_t inheritable; -}; - -struct cpuhp_cpu_state { - enum cpuhp_state state; - enum cpuhp_state target; - enum cpuhp_state fail; -}; - -struct cpuhp_step { - const char *name; - union { - int (*single)(unsigned int); - int (*multi)(unsigned int, struct hlist_node *); - } startup; - union { - int (*single)(unsigned int); - int (*multi)(unsigned int, struct hlist_node *); - } teardown; - struct hlist_head list; - bool cant_stop; - bool multi_instance; -}; - -struct cpuidle_state_usage { - long long unsigned int disable; - long long unsigned int usage; - u64 time_ns; - long long unsigned int above; - long long unsigned int below; - long long unsigned int rejected; -}; - -struct cpuidle_state_kobj; - -struct cpuidle_driver_kobj; - -struct cpuidle_device_kobj; - -struct cpuidle_device { - unsigned int registered: 1; - unsigned int enabled: 1; - unsigned int poll_time_limit: 1; - unsigned int cpu; - ktime_t next_hrtimer; - int last_state_idx; - long: 32; - u64 last_residency_ns; - u64 poll_limit_ns; - u64 forced_idle_latency_limit_ns; - struct cpuidle_state_usage states_usage[10]; - struct cpuidle_state_kobj *kobjs[10]; - struct cpuidle_driver_kobj *kobj_driver; - struct cpuidle_device_kobj *kobj_dev; - struct list_head device_list; -}; - -struct cpuidle_driver; - -struct cpuidle_state { - char name[16]; - char desc[32]; - s64 exit_latency_ns; - s64 target_residency_ns; - unsigned int flags; - unsigned int exit_latency; - int power_usage; - unsigned int target_residency; - int (*enter)(struct cpuidle_device *, struct cpuidle_driver *, int); - int (*enter_dead)(struct cpuidle_device *, int); - int (*enter_s2idle)(struct cpuidle_device *, struct cpuidle_driver *, int); - long: 32; -}; - -struct cpuidle_driver { - const char *name; - struct module *owner; - unsigned int bctimer: 1; - long: 32; - struct cpuidle_state states[10]; - int state_count; - int safe_state_index; - struct cpumask *cpumask; - const char *governor; -}; - -struct cpuinfo_arm { - struct cpu cpu; - u32 cpuid; - long: 32; -}; - -typedef struct cpumask cpumask_var_t[1]; - -struct group_info; - -struct cred { - atomic_t usage; - kuid_t uid; - kgid_t gid; - kuid_t suid; - kgid_t sgid; - kuid_t euid; - kgid_t egid; - kuid_t fsuid; - kgid_t fsgid; - unsigned int securebits; - kernel_cap_t cap_inheritable; - kernel_cap_t cap_permitted; - kernel_cap_t cap_effective; - kernel_cap_t cap_bset; - kernel_cap_t cap_ambient; - struct user_struct *user; - struct user_namespace *user_ns; - struct ucounts *ucounts; - struct group_info *group_info; - union { - int non_rcu; - struct callback_head rcu; - }; -}; - -struct crng { - u8 key[32]; - long unsigned int generation; - local_lock_t lock; -}; - -struct crypto_alg; - -struct crypto_tfm { - refcount_t refcnt; - u32 crt_flags; - int node; - void (*exit)(struct crypto_tfm *); - struct crypto_alg *__crt_alg; - long: 32; - long: 32; - long: 32; - void *__crt_ctx[0]; -}; - -struct crypto_aead { - unsigned int authsize; - unsigned int reqsize; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - struct crypto_tfm base; -}; - -struct crypto_type; - -struct crypto_alg { - struct list_head cra_list; - struct list_head cra_users; - u32 cra_flags; - unsigned int cra_blocksize; - unsigned int cra_ctxsize; - unsigned int cra_alignmask; - int cra_priority; - refcount_t cra_refcnt; - char cra_name[128]; - char cra_driver_name[128]; - const struct crypto_type *cra_type; - union { - struct cipher_alg cipher; - struct compress_alg compress; - } cra_u; - int (*cra_init)(struct crypto_tfm *); - void (*cra_exit)(struct crypto_tfm *); - void (*cra_destroy)(struct crypto_alg *); - struct module *cra_module; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct crypto_wait { - struct completion completion; - int err; -}; - -struct css_set__safe_rcu { - struct cgroup *dfl_cgrp; -}; - -struct csum_state { - __wsum csum; - size_t off; -}; - -struct ctl_table; - -struct ctl_table_root; - -struct ctl_table_set; - -struct ctl_dir; - -struct ctl_node; - -struct ctl_table_header { - union { - struct { - struct ctl_table *ctl_table; - int ctl_table_size; - int used; - int count; - int nreg; - }; - struct callback_head rcu; - }; - struct completion *unregistering; - struct ctl_table *ctl_table_arg; - struct ctl_table_root *root; - struct ctl_table_set *set; - struct ctl_dir *parent; - struct ctl_node *node; - struct hlist_head inodes; -}; - -struct ctl_dir { - struct ctl_table_header header; - struct rb_root root; -}; - -struct ctl_node { - struct rb_node node; - struct ctl_table_header *header; -}; - -typedef int proc_handler(struct ctl_table *, int, void *, size_t *, loff_t *); - -struct ctl_table_poll; - -struct ctl_table { - const char *procname; - void *data; - int maxlen; - umode_t mode; - enum { - SYSCTL_TABLE_TYPE_DEFAULT = 0, - SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY = 1, - } type; - proc_handler *proc_handler; - struct ctl_table_poll *poll; - void *extra1; - void *extra2; -}; - -struct ctl_table_poll { - atomic_t event; - wait_queue_head_t wait; -}; - -struct ctl_table_set { - int (*is_seen)(struct ctl_table_set *); - struct ctl_dir dir; -}; - -struct ctl_table_root { - struct ctl_table_set default_set; - struct ctl_table_set * (*lookup)(struct ctl_table_root *); - void (*set_ownership)(struct ctl_table_header *, struct ctl_table *, kuid_t *, kgid_t *); - int (*permissions)(struct ctl_table_header *, struct ctl_table *); -}; - -struct netlink_policy_dump_state; - -struct genl_family; - -struct genl_op_iter; - -struct ctrl_dump_policy_ctx { - struct netlink_policy_dump_state *state; - const struct genl_family *rt; - struct genl_op_iter *op_iter; - u32 op; - u16 fam_id; - u8 dump_map: 1; - u8 single_op: 1; -}; - -struct wait_queue_entry; - -typedef int (*wait_queue_func_t)(struct wait_queue_entry *, unsigned int, int, void *); - -struct wait_queue_entry { - unsigned int flags; - void *private; - wait_queue_func_t func; - struct list_head entry; -}; - -typedef struct wait_queue_entry wait_queue_entry_t; - -struct cwt_wait { - wait_queue_entry_t wait; - struct work_struct *work; -}; - -struct cyclecounter { - u64 (*read)(const struct cyclecounter *); - long: 32; - u64 mask; - u32 mult; - u32 shift; -}; - -struct debug_info {}; - -struct debug_reply_data { - struct ethnl_reply_data base; - u32 msg_mask; -}; - -struct delay_timer { - long unsigned int (*read_current_timer)(); - long unsigned int freq; -}; - -struct delayed_call { - void (*fn)(void *); - void *arg; -}; - -struct hlist_bl_node { - struct hlist_bl_node *next; - struct hlist_bl_node **pprev; -}; - -struct qstr { - union { - struct { - u32 hash; - u32 len; - }; - u64 hash_len; - }; - const unsigned char *name; - long: 32; -}; - -struct lockref { - union { - struct { - spinlock_t lock; - int count; - }; - }; -}; - -struct dentry_operations; - -struct dentry { - unsigned int d_flags; - seqcount_spinlock_t d_seq; - struct hlist_bl_node d_hash; - struct dentry *d_parent; - long: 32; - struct qstr d_name; - struct inode *d_inode; - unsigned char d_iname[40]; - struct lockref d_lockref; - const struct dentry_operations *d_op; - struct super_block *d_sb; - long unsigned int d_time; - void *d_fsdata; - union { - struct list_head d_lru; - wait_queue_head_t *d_wait; - }; - struct list_head d_child; - struct list_head d_subdirs; - union { - struct hlist_node d_alias; - struct hlist_bl_node d_in_lookup_hash; - struct callback_head d_rcu; - } d_u; -}; - -struct dentry__safe_trusted { - struct inode *d_inode; -}; - -struct dentry_operations { - int (*d_revalidate)(struct dentry *, unsigned int); - int (*d_weak_revalidate)(struct dentry *, unsigned int); - int (*d_hash)(const struct dentry *, struct qstr *); - int (*d_compare)(const struct dentry *, unsigned int, const char *, const struct qstr *); - int (*d_delete)(const struct dentry *); - int (*d_init)(struct dentry *); - void (*d_release)(struct dentry *); - void (*d_prune)(struct dentry *); - void (*d_iput)(struct dentry *, struct inode *); - char * (*d_dname)(struct dentry *, char *, int); - struct vfsmount * (*d_automount)(struct path *); - int (*d_manage)(const struct path *, bool); - struct dentry * (*d_real)(struct dentry *, const struct inode *); - long: 32; - long: 32; - long: 32; -}; - -struct slab; - -struct detached_freelist { - struct slab *slab; - void *tail; - void *freelist; - int cnt; - struct kmem_cache *s; -}; - -struct dev_ext_attribute { - struct device_attribute attr; - void *var; -}; - -struct dev_ifalias { - struct callback_head rcuhead; - char ifalias[0]; -}; - -struct dev_kfree_skb_cb { - enum skb_drop_reason reason; -}; - -struct vmem_altmap { - long unsigned int base_pfn; - const long unsigned int end_pfn; - const long unsigned int reserve; - long unsigned int free; - long unsigned int align; - long unsigned int alloc; -}; - -struct range { - u64 start; - u64 end; -}; - -struct dev_pagemap_ops; - -struct dev_pagemap { - struct vmem_altmap altmap; - struct percpu_ref ref; - struct completion done; - enum memory_type type; - unsigned int flags; - long unsigned int vmemmap_shift; - const struct dev_pagemap_ops *ops; - void *owner; - int nr_range; - long: 32; - union { - struct range range; - struct { - struct {} __empty_ranges; - struct range ranges[0]; - }; - }; -}; - -struct vm_fault; - -struct dev_pagemap_ops { - void (*page_free)(struct page *); - vm_fault_t (*migrate_to_ram)(struct vm_fault *); - int (*memory_failure)(struct dev_pagemap *, long unsigned int, long unsigned int, int); -}; - -struct dev_pm_ops { - int (*prepare)(struct device *); - void (*complete)(struct device *); - int (*suspend)(struct device *); - int (*resume)(struct device *); - int (*freeze)(struct device *); - int (*thaw)(struct device *); - int (*poweroff)(struct device *); - int (*restore)(struct device *); - int (*suspend_late)(struct device *); - int (*resume_early)(struct device *); - int (*freeze_late)(struct device *); - int (*thaw_early)(struct device *); - int (*poweroff_late)(struct device *); - int (*restore_early)(struct device *); - int (*suspend_noirq)(struct device *); - int (*resume_noirq)(struct device *); - int (*freeze_noirq)(struct device *); - int (*thaw_noirq)(struct device *); - int (*poweroff_noirq)(struct device *); - int (*restore_noirq)(struct device *); - int (*runtime_suspend)(struct device *); - int (*runtime_resume)(struct device *); - int (*runtime_idle)(struct device *); -}; - -struct dev_pm_domain { - struct dev_pm_ops ops; - int (*start)(struct device *); - void (*detach)(struct device *, bool); - int (*activate)(struct device *); - void (*sync)(struct device *); - void (*dismiss)(struct device *); -}; - -struct plist_head { - struct list_head node_list; -}; - -struct pm_qos_constraints { - struct plist_head list; - s32 target_value; - s32 default_value; - s32 no_constraint_value; - enum pm_qos_type type; - struct blocking_notifier_head *notifiers; -}; - -struct freq_constraints { - struct pm_qos_constraints min_freq; - struct blocking_notifier_head min_freq_notifiers; - struct pm_qos_constraints max_freq; - struct blocking_notifier_head max_freq_notifiers; -}; - -struct pm_qos_flags { - struct list_head list; - s32 effective_flags; -}; - -struct dev_pm_qos_request; - -struct dev_pm_qos { - struct pm_qos_constraints resume_latency; - struct pm_qos_constraints latency_tolerance; - struct freq_constraints freq; - struct pm_qos_flags flags; - struct dev_pm_qos_request *resume_latency_req; - struct dev_pm_qos_request *latency_tolerance_req; - struct dev_pm_qos_request *flags_req; -}; - -struct plist_node { - int prio; - struct list_head prio_list; - struct list_head node_list; -}; - -struct pm_qos_flags_request { - struct list_head node; - s32 flags; -}; - -struct freq_qos_request { - enum freq_qos_req_type type; - struct plist_node pnode; - struct freq_constraints *qos; -}; - -struct dev_pm_qos_request { - enum dev_pm_qos_req_type type; - union { - struct plist_node pnode; - struct pm_qos_flags_request flr; - struct freq_qos_request freq; - } data; - struct device *dev; -}; - -struct dev_printk_info { - char subsystem[16]; - char device[48]; -}; - -struct device_attach_data { - struct device *dev; - bool check_async; - bool want_async; - bool have_async; -}; - -union device_attr_group_devres { - const struct attribute_group *group; - const struct attribute_group **groups; -}; - -struct of_device_id; - -struct driver_private; - -struct device_driver { - const char *name; - const struct bus_type *bus; - struct module *owner; - const char *mod_name; - bool suppress_bind_attrs; - enum probe_type probe_type; - const struct of_device_id *of_match_table; - const struct acpi_device_id *acpi_match_table; - int (*probe)(struct device *); - void (*sync_state)(struct device *); - int (*remove)(struct device *); - void (*shutdown)(struct device *); - int (*suspend)(struct device *, pm_message_t); - int (*resume)(struct device *); - const struct attribute_group **groups; - const struct attribute_group **dev_groups; - const struct dev_pm_ops *pm; - void (*coredump)(struct device *); - struct driver_private *p; -}; - -struct device_link { - struct device *supplier; - struct list_head s_node; - struct device *consumer; - struct list_head c_node; - struct device link_dev; - enum device_link_state status; - u32 flags; - refcount_t rpm_active; - struct kref kref; - struct work_struct rm_work; - bool supplier_preactivated; - long: 32; -}; - -struct fwnode_operations; - -struct fwnode_handle { - struct fwnode_handle *secondary; - const struct fwnode_operations *ops; - struct device *dev; - struct list_head suppliers; - struct list_head consumers; - u8 flags; -}; - -struct property; - -struct device_node { - const char *name; - phandle phandle; - const char *full_name; - struct fwnode_handle fwnode; - struct property *properties; - struct property *deadprops; - struct device_node *parent; - struct device_node *child; - struct device_node *sibling; - long unsigned int _flags; - void *data; -}; - -struct device_physical_location { - enum device_physical_location_panel panel; - enum device_physical_location_vertical_position vertical_position; - enum device_physical_location_horizontal_position horizontal_position; - bool dock; - bool lid; -}; - -struct klist_node { - void *n_klist; - struct list_head n_node; - struct kref n_ref; -}; - -struct device_private { - struct klist klist_children; - struct klist_node knode_parent; - struct klist_node knode_driver; - struct klist_node knode_bus; - struct klist_node knode_class; - struct list_head deferred_probe; - struct device_driver *async_driver; - char *deferred_probe_reason; - struct device *device; - u8 dead: 1; -}; - -struct device_type { - const char *name; - const struct attribute_group **groups; - int (*uevent)(const struct device *, struct kobj_uevent_env *); - char * (*devnode)(const struct device *, umode_t *, kuid_t *, kgid_t *); - void (*release)(struct device *); - const struct dev_pm_ops *pm; -}; - -struct devlink; - -struct ib_device; - -struct netdev_phys_item_id { - unsigned char id[32]; - unsigned char id_len; -}; - -struct devlink_port_phys_attrs { - u32 port_number; - u32 split_subport_number; -}; - -struct devlink_port_pci_pf_attrs { - u32 controller; - u16 pf; - u8 external: 1; -}; - -struct devlink_port_pci_vf_attrs { - u32 controller; - u16 pf; - u16 vf; - u8 external: 1; -}; - -struct devlink_port_pci_sf_attrs { - u32 controller; - u32 sf; - u16 pf; - u8 external: 1; -}; - -struct devlink_port_attrs { - u8 split: 1; - u8 splittable: 1; - u32 lanes; - enum devlink_port_flavour flavour; - struct netdev_phys_item_id switch_id; - union { - struct devlink_port_phys_attrs phys; - struct devlink_port_pci_pf_attrs pci_pf; - struct devlink_port_pci_vf_attrs pci_vf; - struct devlink_port_pci_sf_attrs pci_sf; - }; -}; - -struct devlink_linecard; - -struct devlink_port_ops; - -struct devlink_rate; - -struct devlink_port { - struct list_head list; - struct list_head region_list; - struct devlink *devlink; - const struct devlink_port_ops *ops; - unsigned int index; - spinlock_t type_lock; - enum devlink_port_type type; - enum devlink_port_type desired_type; - union { - struct { - struct net_device *netdev; - int ifindex; - char ifname[16]; - } type_eth; - struct { - struct ib_device *ibdev; - } type_ib; - }; - struct devlink_port_attrs attrs; - u8 attrs_set: 1; - u8 switch_port: 1; - u8 registered: 1; - u8 initialized: 1; - struct delayed_work type_warn_dw; - struct list_head reporter_list; - struct devlink_rate *devlink_rate; - struct devlink_linecard *linecard; -}; - -struct devlink_port_ops { - int (*port_split)(struct devlink *, struct devlink_port *, unsigned int, struct netlink_ext_ack *); - int (*port_unsplit)(struct devlink *, struct devlink_port *, struct netlink_ext_ack *); - int (*port_type_set)(struct devlink_port *, enum devlink_port_type); - int (*port_del)(struct devlink *, struct devlink_port *, struct netlink_ext_ack *); - int (*port_fn_hw_addr_get)(struct devlink_port *, u8 *, int *, struct netlink_ext_ack *); - int (*port_fn_hw_addr_set)(struct devlink_port *, const u8 *, int, struct netlink_ext_ack *); - int (*port_fn_roce_get)(struct devlink_port *, bool *, struct netlink_ext_ack *); - int (*port_fn_roce_set)(struct devlink_port *, bool, struct netlink_ext_ack *); - int (*port_fn_migratable_get)(struct devlink_port *, bool *, struct netlink_ext_ack *); - int (*port_fn_migratable_set)(struct devlink_port *, bool, struct netlink_ext_ack *); - int (*port_fn_state_get)(struct devlink_port *, enum devlink_port_fn_state *, enum devlink_port_fn_opstate *, struct netlink_ext_ack *); - int (*port_fn_state_set)(struct devlink_port *, enum devlink_port_fn_state, struct netlink_ext_ack *); - int (*port_fn_ipsec_crypto_get)(struct devlink_port *, bool *, struct netlink_ext_ack *); - int (*port_fn_ipsec_crypto_set)(struct devlink_port *, bool, struct netlink_ext_ack *); - int (*port_fn_ipsec_packet_get)(struct devlink_port *, bool *, struct netlink_ext_ack *); - int (*port_fn_ipsec_packet_set)(struct devlink_port *, bool, struct netlink_ext_ack *); -}; - -struct devlink_rate { - struct list_head list; - enum devlink_rate_type type; - struct devlink *devlink; - void *priv; - long: 32; - u64 tx_share; - u64 tx_max; - struct devlink_rate *parent; - union { - struct devlink_port *devlink_port; - struct { - char *name; - refcount_t refcnt; - }; - }; - u32 tx_priority; - u32 tx_weight; - long: 32; -}; - -struct devm_clk_state { - struct clk *clk; - void (*exit)(struct clk *); -}; - -typedef void (*dr_release_t)(struct device *, void *); - -struct devres_node { - struct list_head entry; - dr_release_t release; - const char *name; - size_t size; -}; - -struct devres { - struct devres_node node; - long: 32; - long: 32; - long: 32; - u8 data[0]; -}; - -struct devres_group { - struct devres_node node[2]; - void *id; - int color; -}; - -struct die_args { - struct pt_regs *regs; - const char *str; - long int err; - int trapnr; - int signr; -}; - -struct dir_context; - -typedef bool (*filldir_t)(struct dir_context *, const char *, int, loff_t, u64, unsigned int); - -struct dir_context { - filldir_t actor; - long: 32; - loff_t pos; -}; - -struct dirty_throttle_control { - struct bdi_writeback *wb; - struct fprop_local_percpu *wb_completions; - long unsigned int avail; - long unsigned int dirty; - long unsigned int thresh; - long unsigned int bg_thresh; - long unsigned int wb_dirty; - long unsigned int wb_thresh; - long unsigned int wb_bg_thresh; - long unsigned int pos_ratio; -}; - -struct dl_bw { - raw_spinlock_t lock; - u64 bw; - u64 total_bw; -}; - -struct dl_rq { - struct rb_root_cached root; - unsigned int dl_nr_running; - long: 32; - struct dl_bw dl_bw; - u64 running_bw; - u64 this_bw; - u64 extra_bw; - u64 max_bw; - u64 bw_ratio; -}; - -struct dma_block { - struct dma_block *next_block; - dma_addr_t dma; -}; - -struct dma_coherent_mem { - void *virt_base; - dma_addr_t device_base; - long unsigned int pfn_base; - int size; - long unsigned int *bitmap; - spinlock_t spinlock; - bool use_dev_dma_pfn_offset; -}; - -struct dma_devres { - size_t size; - void *vaddr; - dma_addr_t dma_handle; - long unsigned int attrs; -}; - -struct sg_table; - -struct dma_map_ops { - unsigned int flags; - void * (*alloc)(struct device *, size_t, dma_addr_t *, gfp_t, long unsigned int); - void (*free)(struct device *, size_t, void *, dma_addr_t, long unsigned int); - struct page * (*alloc_pages)(struct device *, size_t, dma_addr_t *, enum dma_data_direction, gfp_t); - void (*free_pages)(struct device *, size_t, struct page *, dma_addr_t, enum dma_data_direction); - struct sg_table * (*alloc_noncontiguous)(struct device *, size_t, enum dma_data_direction, gfp_t, long unsigned int); - void (*free_noncontiguous)(struct device *, size_t, struct sg_table *, enum dma_data_direction); - int (*mmap)(struct device *, struct vm_area_struct *, void *, dma_addr_t, size_t, long unsigned int); - int (*get_sgtable)(struct device *, struct sg_table *, void *, dma_addr_t, size_t, long unsigned int); - dma_addr_t (*map_page)(struct device *, struct page *, long unsigned int, size_t, enum dma_data_direction, long unsigned int); - void (*unmap_page)(struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); - int (*map_sg)(struct device *, struct scatterlist *, int, enum dma_data_direction, long unsigned int); - void (*unmap_sg)(struct device *, struct scatterlist *, int, enum dma_data_direction, long unsigned int); - dma_addr_t (*map_resource)(struct device *, phys_addr_t, size_t, enum dma_data_direction, long unsigned int); - void (*unmap_resource)(struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); - void (*sync_single_for_cpu)(struct device *, dma_addr_t, size_t, enum dma_data_direction); - void (*sync_single_for_device)(struct device *, dma_addr_t, size_t, enum dma_data_direction); - void (*sync_sg_for_cpu)(struct device *, struct scatterlist *, int, enum dma_data_direction); - void (*sync_sg_for_device)(struct device *, struct scatterlist *, int, enum dma_data_direction); - void (*cache_sync)(struct device *, void *, size_t, enum dma_data_direction); - int (*dma_supported)(struct device *, u64); - u64 (*get_required_mask)(struct device *); - size_t (*max_mapping_size)(struct device *); - size_t (*opt_mapping_size)(); - long unsigned int (*get_merge_boundary)(struct device *); -}; - -struct dma_page { - struct list_head page_list; - void *vaddr; - dma_addr_t dma; -}; - -struct dma_pool { - struct list_head page_list; - spinlock_t lock; - struct dma_block *next_block; - size_t nr_blocks; - size_t nr_active; - size_t nr_pages; - struct device *dev; - unsigned int size; - unsigned int allocation; - unsigned int boundary; - char name[32]; - struct list_head pools; -}; - -struct sg_table { - struct scatterlist *sgl; - unsigned int nents; - unsigned int orig_nents; -}; - -struct dma_sgt_handle { - struct sg_table sgt; - struct page **pages; -}; - -struct kqid { - union { - kuid_t uid; - kgid_t gid; - kprojid_t projid; - }; - enum quota_type type; -}; - -struct mem_dqblk { - qsize_t dqb_bhardlimit; - qsize_t dqb_bsoftlimit; - qsize_t dqb_curspace; - qsize_t dqb_rsvspace; - qsize_t dqb_ihardlimit; - qsize_t dqb_isoftlimit; - qsize_t dqb_curinodes; - time64_t dqb_btime; - time64_t dqb_itime; -}; - -struct dquot { - struct hlist_node dq_hash; - struct list_head dq_inuse; - struct list_head dq_free; - struct list_head dq_dirty; - struct mutex dq_lock; - spinlock_t dq_dqb_lock; - atomic_t dq_count; - struct super_block *dq_sb; - struct kqid dq_id; - long: 32; - loff_t dq_off; - long unsigned int dq_flags; - long: 32; - struct mem_dqblk dq_dqb; -}; - -struct dquot_operations { - int (*write_dquot)(struct dquot *); - struct dquot * (*alloc_dquot)(struct super_block *, int); - void (*destroy_dquot)(struct dquot *); - int (*acquire_dquot)(struct dquot *); - int (*release_dquot)(struct dquot *); - int (*mark_dirty)(struct dquot *); - int (*write_info)(struct super_block *, int); - qsize_t * (*get_reserved_space)(struct inode *); - int (*get_projid)(struct inode *, kprojid_t *); - int (*get_inode_usage)(struct inode *, qsize_t *); - int (*get_next_id)(struct super_block *, struct kqid *); -}; - -struct driver_attribute { - struct attribute attr; - ssize_t (*show)(struct device_driver *, char *); - ssize_t (*store)(struct device_driver *, const char *, size_t); -}; - -struct module_kobject; - -struct driver_private { - struct kobject kobj; - struct klist klist_devices; - struct klist_node knode_bus; - struct module_kobject *mkobj; - struct device_driver *driver; -}; - -struct drop_reason_list { - const char * const *reasons; - size_t n_reasons; -}; - -struct dst_cache_pcpu; - -struct dst_cache { - struct dst_cache_pcpu *cache; - long unsigned int reset_ts; -}; - -struct in_addr { - __be32 s_addr; -}; - -struct dst_entry; - -struct dst_cache_pcpu { - long unsigned int refresh_ts; - struct dst_entry *dst; - u32 cookie; - union { - struct in_addr in_saddr; - struct in6_addr in6_saddr; - }; -}; - -struct dst_ops; - -struct lwtunnel_state; - -struct uncached_list; - -struct dst_entry { - struct net_device *dev; - struct dst_ops *ops; - long unsigned int _metrics; - long unsigned int expires; - void *__pad1; - int (*input)(struct sk_buff *); - int (*output)(struct net *, struct sock *, struct sk_buff *); - short unsigned int flags; - short int obsolete; - short unsigned int header_len; - short unsigned int trailer_len; - int __use; - long unsigned int lastuse; - struct callback_head callback_head; - short int error; - short int __pad; - __u32 tclassid; - struct lwtunnel_state *lwtstate; - rcuref_t __rcuref; - netdevice_tracker dev_tracker; - struct list_head rt_uncached; - struct uncached_list *rt_uncached_list; -}; - -struct dst_metrics { - u32 metrics[17]; - refcount_t refcnt; -}; - -struct neighbour; - -struct dst_ops { - short unsigned int family; - unsigned int gc_thresh; - void (*gc)(struct dst_ops *); - struct dst_entry * (*check)(struct dst_entry *, __u32); - unsigned int (*default_advmss)(const struct dst_entry *); - unsigned int (*mtu)(const struct dst_entry *); - u32 * (*cow_metrics)(struct dst_entry *, long unsigned int); - void (*destroy)(struct dst_entry *); - void (*ifdown)(struct dst_entry *, struct net_device *); - struct dst_entry * (*negative_advice)(struct dst_entry *); - void (*link_failure)(struct sk_buff *); - void (*update_pmtu)(struct dst_entry *, struct sock *, struct sk_buff *, u32, bool); - void (*redirect)(struct dst_entry *, struct sock *, struct sk_buff *); - int (*local_out)(struct net *, struct sock *, struct sk_buff *); - struct neighbour * (*neigh_lookup)(const struct dst_entry *, struct sk_buff *, const void *); - void (*confirm_neigh)(const struct dst_entry *, const void *); - struct kmem_cache *kmem_cachep; - long: 32; - struct percpu_counter pcpuc_entries; -}; - -struct ethtool_eee { - __u32 cmd; - __u32 supported; - __u32 advertised; - __u32 lp_advertised; - __u32 eee_active; - __u32 eee_enabled; - __u32 tx_lpi_enabled; - __u32 tx_lpi_timer; - __u32 reserved[2]; -}; - -struct eee_reply_data { - struct ethnl_reply_data base; - struct ethtool_eee eee; -}; - -struct eeprom_reply_data { - struct ethnl_reply_data base; - u32 length; - u8 *data; -}; - -struct ethnl_req_info { - struct net_device *dev; - netdevice_tracker dev_tracker; - u32 flags; -}; - -struct eeprom_req_info { - struct ethnl_req_info base; - u32 offset; - u32 length; - u8 page; - u8 bank; - u8 i2c_address; -}; - -struct elf32_hdr { - unsigned char e_ident[16]; - Elf32_Half e_type; - Elf32_Half e_machine; - Elf32_Word e_version; - Elf32_Addr e_entry; - Elf32_Off e_phoff; - Elf32_Off e_shoff; - Elf32_Word e_flags; - Elf32_Half e_ehsize; - Elf32_Half e_phentsize; - Elf32_Half e_phnum; - Elf32_Half e_shentsize; - Elf32_Half e_shnum; - Elf32_Half e_shstrndx; -}; - -typedef struct elf32_hdr Elf32_Ehdr; - -struct elf32_note { - Elf32_Word n_namesz; - Elf32_Word n_descsz; - Elf32_Word n_type; -}; - -typedef struct elf32_note Elf32_Nhdr; - -struct elf32_phdr { - Elf32_Word p_type; - Elf32_Off p_offset; - Elf32_Addr p_vaddr; - Elf32_Addr p_paddr; - Elf32_Word p_filesz; - Elf32_Word p_memsz; - Elf32_Word p_flags; - Elf32_Word p_align; -}; - -typedef struct elf32_phdr Elf32_Phdr; - -struct elf32_rel { - Elf32_Addr r_offset; - Elf32_Word r_info; -}; - -typedef struct elf32_rel Elf32_Rel; - -struct elf32_shdr { - Elf32_Word sh_name; - Elf32_Word sh_type; - Elf32_Word sh_flags; - Elf32_Addr sh_addr; - Elf32_Off sh_offset; - Elf32_Word sh_size; - Elf32_Word sh_link; - Elf32_Word sh_info; - Elf32_Word sh_addralign; - Elf32_Word sh_entsize; -}; - -typedef struct elf32_shdr Elf32_Shdr; - -struct elf32_sym { - Elf32_Word st_name; - Elf32_Addr st_value; - Elf32_Word st_size; - unsigned char st_info; - unsigned char st_other; - Elf32_Half st_shndx; -}; - -typedef struct elf32_sym Elf32_Sym; - -struct elf64_hdr { - unsigned char e_ident[16]; - Elf64_Half e_type; - Elf64_Half e_machine; - Elf64_Word e_version; - Elf64_Addr e_entry; - Elf64_Off e_phoff; - Elf64_Off e_shoff; - Elf64_Word e_flags; - Elf64_Half e_ehsize; - Elf64_Half e_phentsize; - Elf64_Half e_phnum; - Elf64_Half e_shentsize; - Elf64_Half e_shnum; - Elf64_Half e_shstrndx; -}; - -typedef struct elf64_hdr Elf64_Ehdr; - -struct elf64_phdr { - Elf64_Word p_type; - Elf64_Word p_flags; - Elf64_Off p_offset; - Elf64_Addr p_vaddr; - Elf64_Addr p_paddr; - Elf64_Xword p_filesz; - Elf64_Xword p_memsz; - Elf64_Xword p_align; -}; - -typedef struct elf64_phdr Elf64_Phdr; - -struct entropy_timer_state { - long unsigned int entropy; - struct timer_list timer; - atomic_t samples; - unsigned int samples_per_bit; -}; - -struct erspan_md2 { - __be32 timestamp; - __be16 sgt; - __u8 hwid_upper: 2; - __u8 ft: 5; - __u8 p: 1; - __u8 o: 1; - __u8 gra: 2; - __u8 dir: 1; - __u8 hwid: 4; -}; - -struct erspan_metadata { - int version; - union { - __be32 index; - struct erspan_md2 md2; - } u; -}; - -struct ethhdr { - unsigned char h_dest[6]; - unsigned char h_source[6]; - __be16 h_proto; -}; - -struct ethnl_request_ops; - -struct ethnl_dump_ctx { - const struct ethnl_request_ops *ops; - struct ethnl_req_info *req_info; - struct ethnl_reply_data *reply_data; - long unsigned int pos_ifindex; -}; - -struct genl_info; - -struct ethnl_request_ops { - u8 request_cmd; - u8 reply_cmd; - u16 hdr_attr; - unsigned int req_info_size; - unsigned int reply_data_size; - bool allow_nodev_do; - u8 set_ntf_cmd; - int (*parse_request)(struct ethnl_req_info *, struct nlattr **, struct netlink_ext_ack *); - int (*prepare_data)(const struct ethnl_req_info *, struct ethnl_reply_data *, const struct genl_info *); - int (*reply_size)(const struct ethnl_req_info *, const struct ethnl_reply_data *); - int (*fill_reply)(struct sk_buff *, const struct ethnl_req_info *, const struct ethnl_reply_data *); - void (*cleanup_data)(struct ethnl_reply_data *); - int (*set_validate)(struct ethnl_req_info *, struct genl_info *); - int (*set)(struct ethnl_req_info *, struct genl_info *); -}; - -struct ethnl_tunnel_info_dump_ctx { - struct ethnl_req_info req_info; - long unsigned int ifindex; -}; - -struct ethtool_ah_espip4_spec { - __be32 ip4src; - __be32 ip4dst; - __be32 spi; - __u8 tos; -}; - -struct ethtool_ah_espip6_spec { - __be32 ip6src[4]; - __be32 ip6dst[4]; - __be32 spi; - __u8 tclass; -}; - -struct ethtool_cmd { - __u32 cmd; - __u32 supported; - __u32 advertising; - __u16 speed; - __u8 duplex; - __u8 port; - __u8 phy_address; - __u8 transceiver; - __u8 autoneg; - __u8 mdio_support; - __u32 maxtxpkt; - __u32 maxrxpkt; - __u16 speed_hi; - __u8 eth_tp_mdix; - __u8 eth_tp_mdix_ctrl; - __u32 lp_advertising; - __u32 reserved[2]; -}; - -struct ethtool_flash { - __u32 cmd; - __u32 region; - char data[128]; -}; - -struct ethtool_drvinfo { - __u32 cmd; - char driver[32]; - char version[32]; - char fw_version[32]; - char bus_info[32]; - char erom_version[32]; - char reserved2[12]; - __u32 n_priv_flags; - __u32 n_stats; - __u32 testinfo_len; - __u32 eedump_len; - __u32 regdump_len; -}; - -struct ethtool_devlink_compat { - struct devlink *devlink; - union { - struct ethtool_flash efl; - struct ethtool_drvinfo info; - }; -}; - -struct ethtool_dump { - __u32 cmd; - __u32 version; - __u32 flag; - __u32 len; - __u8 data[0]; -}; - -struct ethtool_eeprom { - __u32 cmd; - __u32 magic; - __u32 offset; - __u32 len; - __u8 data[0]; -}; - -struct ethtool_eth_ctrl_stats { - enum ethtool_mac_stats_src src; - long: 32; - union { - struct { - u64 MACControlFramesTransmitted; - u64 MACControlFramesReceived; - u64 UnsupportedOpcodesReceived; - }; - struct { - u64 MACControlFramesTransmitted; - u64 MACControlFramesReceived; - u64 UnsupportedOpcodesReceived; - } stats; - }; -}; - -struct ethtool_eth_mac_stats { - enum ethtool_mac_stats_src src; - long: 32; - union { - struct { - u64 FramesTransmittedOK; - u64 SingleCollisionFrames; - u64 MultipleCollisionFrames; - u64 FramesReceivedOK; - u64 FrameCheckSequenceErrors; - u64 AlignmentErrors; - u64 OctetsTransmittedOK; - u64 FramesWithDeferredXmissions; - u64 LateCollisions; - u64 FramesAbortedDueToXSColls; - u64 FramesLostDueToIntMACXmitError; - u64 CarrierSenseErrors; - u64 OctetsReceivedOK; - u64 FramesLostDueToIntMACRcvError; - u64 MulticastFramesXmittedOK; - u64 BroadcastFramesXmittedOK; - u64 FramesWithExcessiveDeferral; - u64 MulticastFramesReceivedOK; - u64 BroadcastFramesReceivedOK; - u64 InRangeLengthErrors; - u64 OutOfRangeLengthField; - u64 FrameTooLongErrors; - }; - struct { - u64 FramesTransmittedOK; - u64 SingleCollisionFrames; - u64 MultipleCollisionFrames; - u64 FramesReceivedOK; - u64 FrameCheckSequenceErrors; - u64 AlignmentErrors; - u64 OctetsTransmittedOK; - u64 FramesWithDeferredXmissions; - u64 LateCollisions; - u64 FramesAbortedDueToXSColls; - u64 FramesLostDueToIntMACXmitError; - u64 CarrierSenseErrors; - u64 OctetsReceivedOK; - u64 FramesLostDueToIntMACRcvError; - u64 MulticastFramesXmittedOK; - u64 BroadcastFramesXmittedOK; - u64 FramesWithExcessiveDeferral; - u64 MulticastFramesReceivedOK; - u64 BroadcastFramesReceivedOK; - u64 InRangeLengthErrors; - u64 OutOfRangeLengthField; - u64 FrameTooLongErrors; - } stats; - }; -}; - -struct ethtool_eth_phy_stats { - enum ethtool_mac_stats_src src; - long: 32; - union { - struct { - u64 SymbolErrorDuringCarrier; - }; - struct { - u64 SymbolErrorDuringCarrier; - } stats; - }; -}; - -struct ethtool_fec_stat { - u64 total; - u64 lanes[8]; -}; - -struct ethtool_fec_stats { - struct ethtool_fec_stat corrected_blocks; - struct ethtool_fec_stat uncorrectable_blocks; - struct ethtool_fec_stat corrected_bits; -}; - -struct ethtool_fecparam { - __u32 cmd; - __u32 active_fec; - __u32 fec; - __u32 reserved; -}; - -struct ethtool_flow_ext { - __u8 padding[2]; - unsigned char h_dest[6]; - __be16 vlan_etype; - __be16 vlan_tci; - __be32 data[2]; -}; - -struct ethtool_tcpip4_spec { - __be32 ip4src; - __be32 ip4dst; - __be16 psrc; - __be16 pdst; - __u8 tos; -}; - -struct ethtool_usrip4_spec { - __be32 ip4src; - __be32 ip4dst; - __be32 l4_4_bytes; - __u8 tos; - __u8 ip_ver; - __u8 proto; -}; - -struct ethtool_tcpip6_spec { - __be32 ip6src[4]; - __be32 ip6dst[4]; - __be16 psrc; - __be16 pdst; - __u8 tclass; -}; - -struct ethtool_usrip6_spec { - __be32 ip6src[4]; - __be32 ip6dst[4]; - __be32 l4_4_bytes; - __u8 tclass; - __u8 l4_proto; -}; - -union ethtool_flow_union { - struct ethtool_tcpip4_spec tcp_ip4_spec; - struct ethtool_tcpip4_spec udp_ip4_spec; - struct ethtool_tcpip4_spec sctp_ip4_spec; - struct ethtool_ah_espip4_spec ah_ip4_spec; - struct ethtool_ah_espip4_spec esp_ip4_spec; - struct ethtool_usrip4_spec usr_ip4_spec; - struct ethtool_tcpip6_spec tcp_ip6_spec; - struct ethtool_tcpip6_spec udp_ip6_spec; - struct ethtool_tcpip6_spec sctp_ip6_spec; - struct ethtool_ah_espip6_spec ah_ip6_spec; - struct ethtool_ah_espip6_spec esp_ip6_spec; - struct ethtool_usrip6_spec usr_ip6_spec; - struct ethhdr ether_spec; - __u8 hdata[52]; -}; - -struct ethtool_get_features_block { - __u32 available; - __u32 requested; - __u32 active; - __u32 never_changed; -}; - -struct ethtool_gfeatures { - __u32 cmd; - __u32 size; - struct ethtool_get_features_block features[0]; -}; - -struct ethtool_gstrings { - __u32 cmd; - __u32 string_set; - __u32 len; - __u8 data[0]; -}; - -struct ethtool_link_ext_state_info { - enum ethtool_link_ext_state link_ext_state; - union { - enum ethtool_link_ext_substate_autoneg autoneg; - enum ethtool_link_ext_substate_link_training link_training; - enum ethtool_link_ext_substate_link_logical_mismatch link_logical_mismatch; - enum ethtool_link_ext_substate_bad_signal_integrity bad_signal_integrity; - enum ethtool_link_ext_substate_cable_issue cable_issue; - enum ethtool_link_ext_substate_module module; - u32 __link_ext_substate; - }; -}; - -struct ethtool_link_ext_stats { - u64 link_down_events; -}; - -struct ethtool_link_settings { - __u32 cmd; - __u32 speed; - __u8 duplex; - __u8 port; - __u8 phy_address; - __u8 autoneg; - __u8 mdio_support; - __u8 eth_tp_mdix; - __u8 eth_tp_mdix_ctrl; - __s8 link_mode_masks_nwords; - __u8 transceiver; - __u8 master_slave_cfg; - __u8 master_slave_state; - __u8 rate_matching; - __u32 reserved[7]; - __u32 link_mode_masks[0]; -}; - -struct ethtool_link_ksettings { - struct ethtool_link_settings base; - struct { - long unsigned int supported[4]; - long unsigned int advertising[4]; - long unsigned int lp_advertising[4]; - } link_modes; - u32 lanes; -}; - -struct ethtool_link_usettings { - struct ethtool_link_settings base; - struct { - __u32 supported[4]; - __u32 advertising[4]; - __u32 lp_advertising[4]; - } link_modes; -}; - -struct ethtool_mm_cfg { - u32 verify_time; - bool verify_enabled; - bool tx_enabled; - bool pmac_enabled; - u32 tx_min_frag_size; -}; - -struct ethtool_mm_state { - u32 verify_time; - u32 max_verify_time; - enum ethtool_mm_verify_status verify_status; - bool tx_enabled; - bool tx_active; - bool pmac_enabled; - bool verify_enabled; - u32 tx_min_frag_size; - u32 rx_min_frag_size; -}; - -struct ethtool_mm_stats { - u64 MACMergeFrameAssErrorCount; - u64 MACMergeFrameSmdErrorCount; - u64 MACMergeFrameAssOkCount; - u64 MACMergeFragCountRx; - u64 MACMergeFragCountTx; - u64 MACMergeHoldCount; -}; - -struct ethtool_modinfo { - __u32 cmd; - __u32 type; - __u32 eeprom_len; - __u32 reserved[8]; -}; - -struct ethtool_module_eeprom { - u32 offset; - u32 length; - u8 page; - u8 bank; - u8 i2c_address; - u8 *data; -}; - -struct ethtool_module_power_mode_params { - enum ethtool_module_power_mode_policy policy; - enum ethtool_module_power_mode mode; -}; - -struct ethtool_regs; - -struct ethtool_wolinfo; - -struct ethtool_ringparam; - -struct kernel_ethtool_ringparam; - -struct ethtool_pause_stats; - -struct ethtool_pauseparam; - -struct ethtool_test; - -struct ethtool_stats; - -struct ethtool_rxnfc; - -struct ethtool_ts_info; - -struct ethtool_tunable; - -struct ethtool_rmon_stats; - -struct ethtool_rmon_hist_range; - -struct ethtool_ops { - u32 cap_link_lanes_supported: 1; - u32 supported_coalesce_params; - u32 supported_ring_params; - void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *); - int (*get_regs_len)(struct net_device *); - void (*get_regs)(struct net_device *, struct ethtool_regs *, void *); - void (*get_wol)(struct net_device *, struct ethtool_wolinfo *); - int (*set_wol)(struct net_device *, struct ethtool_wolinfo *); - u32 (*get_msglevel)(struct net_device *); - void (*set_msglevel)(struct net_device *, u32); - int (*nway_reset)(struct net_device *); - u32 (*get_link)(struct net_device *); - int (*get_link_ext_state)(struct net_device *, struct ethtool_link_ext_state_info *); - void (*get_link_ext_stats)(struct net_device *, struct ethtool_link_ext_stats *); - int (*get_eeprom_len)(struct net_device *); - int (*get_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *); - int (*set_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *); - int (*get_coalesce)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *); - int (*set_coalesce)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *); - void (*get_ringparam)(struct net_device *, struct ethtool_ringparam *, struct kernel_ethtool_ringparam *, struct netlink_ext_ack *); - int (*set_ringparam)(struct net_device *, struct ethtool_ringparam *, struct kernel_ethtool_ringparam *, struct netlink_ext_ack *); - void (*get_pause_stats)(struct net_device *, struct ethtool_pause_stats *); - void (*get_pauseparam)(struct net_device *, struct ethtool_pauseparam *); - int (*set_pauseparam)(struct net_device *, struct ethtool_pauseparam *); - void (*self_test)(struct net_device *, struct ethtool_test *, u64 *); - void (*get_strings)(struct net_device *, u32, u8 *); - int (*set_phys_id)(struct net_device *, enum ethtool_phys_id_state); - void (*get_ethtool_stats)(struct net_device *, struct ethtool_stats *, u64 *); - int (*begin)(struct net_device *); - void (*complete)(struct net_device *); - u32 (*get_priv_flags)(struct net_device *); - int (*set_priv_flags)(struct net_device *, u32); - int (*get_sset_count)(struct net_device *, int); - int (*get_rxnfc)(struct net_device *, struct ethtool_rxnfc *, u32 *); - int (*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *); - int (*flash_device)(struct net_device *, struct ethtool_flash *); - int (*reset)(struct net_device *, u32 *); - u32 (*get_rxfh_key_size)(struct net_device *); - u32 (*get_rxfh_indir_size)(struct net_device *); - int (*get_rxfh)(struct net_device *, u32 *, u8 *, u8 *); - int (*set_rxfh)(struct net_device *, const u32 *, const u8 *, const u8); - int (*get_rxfh_context)(struct net_device *, u32 *, u8 *, u8 *, u32); - int (*set_rxfh_context)(struct net_device *, const u32 *, const u8 *, const u8, u32 *, bool); - void (*get_channels)(struct net_device *, struct ethtool_channels *); - int (*set_channels)(struct net_device *, struct ethtool_channels *); - int (*get_dump_flag)(struct net_device *, struct ethtool_dump *); - int (*get_dump_data)(struct net_device *, struct ethtool_dump *, void *); - int (*set_dump)(struct net_device *, struct ethtool_dump *); - int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *); - int (*get_module_info)(struct net_device *, struct ethtool_modinfo *); - int (*get_module_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *); - int (*get_eee)(struct net_device *, struct ethtool_eee *); - int (*set_eee)(struct net_device *, struct ethtool_eee *); - int (*get_tunable)(struct net_device *, const struct ethtool_tunable *, void *); - int (*set_tunable)(struct net_device *, const struct ethtool_tunable *, const void *); - int (*get_per_queue_coalesce)(struct net_device *, u32, struct ethtool_coalesce *); - int (*set_per_queue_coalesce)(struct net_device *, u32, struct ethtool_coalesce *); - int (*get_link_ksettings)(struct net_device *, struct ethtool_link_ksettings *); - int (*set_link_ksettings)(struct net_device *, const struct ethtool_link_ksettings *); - void (*get_fec_stats)(struct net_device *, struct ethtool_fec_stats *); - int (*get_fecparam)(struct net_device *, struct ethtool_fecparam *); - int (*set_fecparam)(struct net_device *, struct ethtool_fecparam *); - void (*get_ethtool_phy_stats)(struct net_device *, struct ethtool_stats *, u64 *); - int (*get_phy_tunable)(struct net_device *, const struct ethtool_tunable *, void *); - int (*set_phy_tunable)(struct net_device *, const struct ethtool_tunable *, const void *); - int (*get_module_eeprom_by_page)(struct net_device *, const struct ethtool_module_eeprom *, struct netlink_ext_ack *); - void (*get_eth_phy_stats)(struct net_device *, struct ethtool_eth_phy_stats *); - void (*get_eth_mac_stats)(struct net_device *, struct ethtool_eth_mac_stats *); - void (*get_eth_ctrl_stats)(struct net_device *, struct ethtool_eth_ctrl_stats *); - void (*get_rmon_stats)(struct net_device *, struct ethtool_rmon_stats *, const struct ethtool_rmon_hist_range **); - int (*get_module_power_mode)(struct net_device *, struct ethtool_module_power_mode_params *, struct netlink_ext_ack *); - int (*set_module_power_mode)(struct net_device *, const struct ethtool_module_power_mode_params *, struct netlink_ext_ack *); - int (*get_mm)(struct net_device *, struct ethtool_mm_state *); - int (*set_mm)(struct net_device *, struct ethtool_mm_cfg *, struct netlink_ext_ack *); - void (*get_mm_stats)(struct net_device *, struct ethtool_mm_stats *); -}; - -struct ethtool_pause_stats { - enum ethtool_mac_stats_src src; - long: 32; - union { - struct { - u64 tx_pause_frames; - u64 rx_pause_frames; - }; - struct { - u64 tx_pause_frames; - u64 rx_pause_frames; - } stats; - }; -}; - -struct ethtool_pauseparam { - __u32 cmd; - __u32 autoneg; - __u32 rx_pause; - __u32 tx_pause; -}; - -struct ethtool_per_queue_op { - __u32 cmd; - __u32 sub_command; - __u32 queue_mask[128]; - char data[0]; -}; - -struct ethtool_perm_addr { - __u32 cmd; - __u32 size; - __u8 data[0]; -}; - -struct phy_device; - -struct phy_plca_cfg; - -struct phy_plca_status; - -struct phy_tdr_config; - -struct ethtool_phy_ops { - int (*get_sset_count)(struct phy_device *); - int (*get_strings)(struct phy_device *, u8 *); - int (*get_stats)(struct phy_device *, struct ethtool_stats *, u64 *); - int (*get_plca_cfg)(struct phy_device *, struct phy_plca_cfg *); - int (*set_plca_cfg)(struct phy_device *, const struct phy_plca_cfg *, struct netlink_ext_ack *); - int (*get_plca_status)(struct phy_device *, struct phy_plca_status *); - int (*start_cable_test)(struct phy_device *, struct netlink_ext_ack *); - int (*start_cable_test_tdr)(struct phy_device *, struct netlink_ext_ack *, const struct phy_tdr_config *); -}; - -struct ethtool_regs { - __u32 cmd; - __u32 version; - __u32 len; - __u8 data[0]; -}; - -struct ethtool_ringparam { - __u32 cmd; - __u32 rx_max_pending; - __u32 rx_mini_max_pending; - __u32 rx_jumbo_max_pending; - __u32 tx_max_pending; - __u32 rx_pending; - __u32 rx_mini_pending; - __u32 rx_jumbo_pending; - __u32 tx_pending; -}; - -struct ethtool_rmon_hist_range { - u16 low; - u16 high; -}; - -struct ethtool_rmon_stats { - enum ethtool_mac_stats_src src; - long: 32; - union { - struct { - u64 undersize_pkts; - u64 oversize_pkts; - u64 fragments; - u64 jabbers; - u64 hist[10]; - u64 hist_tx[10]; - }; - struct { - u64 undersize_pkts; - u64 oversize_pkts; - u64 fragments; - u64 jabbers; - u64 hist[10]; - u64 hist_tx[10]; - } stats; - }; -}; - -struct flow_dissector_key_basic { - __be16 n_proto; - u8 ip_proto; - u8 padding; -}; - -struct flow_dissector_key_ipv4_addrs { - __be32 src; - __be32 dst; -}; - -struct flow_dissector_key_ipv6_addrs { - struct in6_addr src; - struct in6_addr dst; -}; - -struct flow_dissector_key_ports { - union { - __be32 ports; - struct { - __be16 src; - __be16 dst; - }; - }; -}; - -struct flow_dissector_key_ip { - __u8 tos; - __u8 ttl; -}; - -struct flow_dissector_key_vlan { - union { - struct { - u16 vlan_id: 12; - u16 vlan_dei: 1; - u16 vlan_priority: 3; - }; - __be16 vlan_tci; - }; - __be16 vlan_tpid; - __be16 vlan_eth_type; - u16 padding; -}; - -struct flow_dissector_key_eth_addrs { - unsigned char dst[6]; - unsigned char src[6]; -}; - -struct ethtool_rx_flow_key { - struct flow_dissector_key_basic basic; - union { - struct flow_dissector_key_ipv4_addrs ipv4; - struct flow_dissector_key_ipv6_addrs ipv6; - }; - struct flow_dissector_key_ports tp; - struct flow_dissector_key_ip ip; - struct flow_dissector_key_vlan vlan; - struct flow_dissector_key_eth_addrs eth_addrs; -}; - -struct flow_dissector { - long long unsigned int used_keys; - short unsigned int offset[33]; - long: 32; -}; - -struct ethtool_rx_flow_match { - struct flow_dissector dissector; - struct ethtool_rx_flow_key key; - struct ethtool_rx_flow_key mask; -}; - -struct flow_rule; - -struct ethtool_rx_flow_rule { - struct flow_rule *rule; - long unsigned int priv[0]; -}; - -struct ethtool_rx_flow_spec { - __u32 flow_type; - union ethtool_flow_union h_u; - struct ethtool_flow_ext h_ext; - union ethtool_flow_union m_u; - struct ethtool_flow_ext m_ext; - long: 32; - __u64 ring_cookie; - __u32 location; - long: 32; -}; - -struct ethtool_rx_flow_spec_input { - const struct ethtool_rx_flow_spec *fs; - u32 rss_ctx; -}; - -struct ethtool_rxfh { - __u32 cmd; - __u32 rss_context; - __u32 indir_size; - __u32 key_size; - __u8 hfunc; - __u8 rsvd8[3]; - __u32 rsvd32; - __u32 rss_config[0]; -}; - -struct ethtool_rxnfc { - __u32 cmd; - __u32 flow_type; - __u64 data; - struct ethtool_rx_flow_spec fs; - union { - __u32 rule_cnt; - __u32 rss_context; - }; - __u32 rule_locs[0]; - long: 32; -}; - -struct ethtool_set_features_block { - __u32 valid; - __u32 requested; -}; - -struct ethtool_sfeatures { - __u32 cmd; - __u32 size; - struct ethtool_set_features_block features[0]; -}; - -struct ethtool_sset_info { - __u32 cmd; - __u32 reserved; - __u64 sset_mask; - __u32 data[0]; -}; - -struct ethtool_stats { - __u32 cmd; - __u32 n_stats; - __u64 data[0]; -}; - -struct ethtool_test { - __u32 cmd; - __u32 flags; - __u32 reserved; - __u32 len; - __u64 data[0]; -}; - -struct ethtool_ts_info { - __u32 cmd; - __u32 so_timestamping; - __s32 phc_index; - __u32 tx_types; - __u32 tx_reserved[3]; - __u32 rx_filters; - __u32 rx_reserved[3]; -}; - -struct ethtool_tunable { - __u32 cmd; - __u32 id; - __u32 type_id; - __u32 len; - void *data[0]; -}; - -struct ethtool_value { - __u32 cmd; - __u32 data; -}; - -struct ethtool_wolinfo { - __u32 cmd; - __u32 supported; - __u32 wolopts; - __u8 sopass[6]; -}; - -struct perf_cpu_context; - -struct perf_event_context; - -typedef void (*event_f)(struct perf_event *, struct perf_cpu_context *, struct perf_event_context *, void *); - -struct event_function_struct { - struct perf_event *event; - event_f func; - void *data; -}; - -struct exception_table_entry { - long unsigned int insn; - long unsigned int fixup; -}; - -struct execute_work { - struct work_struct work; -}; - -struct iomap; - -struct fid; - -struct iattr; - -struct export_operations { - int (*encode_fh)(struct inode *, __u32 *, int *, struct inode *); - struct dentry * (*fh_to_dentry)(struct super_block *, struct fid *, int, int); - struct dentry * (*fh_to_parent)(struct super_block *, struct fid *, int, int); - int (*get_name)(struct dentry *, char *, struct dentry *); - struct dentry * (*get_parent)(struct dentry *); - int (*commit_metadata)(struct inode *); - int (*get_uuid)(struct super_block *, u8 *, u32 *, u64 *); - int (*map_blocks)(struct inode *, loff_t, u64, struct iomap *, bool, u32 *); - int (*commit_blocks)(struct inode *, struct iomap *, int, struct iattr *); - long unsigned int flags; -}; - -struct external_name { - union { - atomic_t count; - struct callback_head head; - } u; - unsigned char name[0]; -}; - -struct f_owner_ex { - int type; - __kernel_pid_t pid; -}; - -struct fast_pool { - long unsigned int pool[4]; - long unsigned int last; - unsigned int count; - struct timer_list mix; -}; - -struct request_sock; - -struct tcp_fastopen_context; - -struct fastopen_queue { - struct request_sock *rskq_rst_head; - struct request_sock *rskq_rst_tail; - spinlock_t lock; - int qlen; - int max_qlen; - struct tcp_fastopen_context *ctx; -}; - -struct fasync_struct { - rwlock_t fa_lock; - int magic; - int fa_fd; - struct fasync_struct *fa_next; - struct file *fa_file; - struct callback_head fa_rcu; -}; - -struct fc_log { - refcount_t usage; - u8 head; - u8 tail; - u8 need_free; - struct module *owner; - char *buffer[8]; -}; - -struct fd { - struct file *file; - unsigned int flags; -}; - -struct fdt_errtabent { - const char *str; -}; - -struct fdt_header { - fdt32_t magic; - fdt32_t totalsize; - fdt32_t off_dt_struct; - fdt32_t off_dt_strings; - fdt32_t off_mem_rsvmap; - fdt32_t version; - fdt32_t last_comp_version; - fdt32_t boot_cpuid_phys; - fdt32_t size_dt_strings; - fdt32_t size_dt_struct; -}; - -struct fdt_node_header { - fdt32_t tag; - char name[0]; -}; - -struct fdt_property { - fdt32_t tag; - fdt32_t len; - fdt32_t nameoff; - char data[0]; -}; - -struct fdt_reserve_entry { - fdt64_t address; - fdt64_t size; -}; - -struct fdtable { - unsigned int max_fds; - struct file **fd; - long unsigned int *close_on_exec; - long unsigned int *open_fds; - long unsigned int *full_fds_bits; - struct callback_head rcu; -}; - -struct features_reply_data { - struct ethnl_reply_data base; - u32 hw[2]; - u32 wanted[2]; - u32 active[2]; - u32 nochange[2]; - u32 all[2]; -}; - -struct fec_stat_grp { - u64 stats[9]; - u8 cnt; - long: 32; -}; - -struct fec_reply_data { - struct ethnl_reply_data base; - long unsigned int fec_link_modes[4]; - u32 active_fec; - u8 fec_auto; - long: 32; - struct fec_stat_grp corr; - struct fec_stat_grp uncorr; - struct fec_stat_grp corr_bits; -}; - -struct fib6_node; - -struct fib6_info; - -struct fib6_walker { - struct list_head lh; - struct fib6_node *root; - struct fib6_node *node; - struct fib6_info *leaf; - enum fib6_walk_state state; - unsigned int skip; - unsigned int count; - unsigned int skip_in_node; - int (*func)(struct fib6_walker *); - void *args; -}; - -struct fib6_cleaner { - struct fib6_walker w; - struct net *net; - int (*func)(struct fib6_info *, void *); - int sernum; - void *arg; - bool skip_notify; -}; - -struct nlmsghdr; - -struct nl_info { - struct nlmsghdr *nlh; - struct net *nl_net; - u32 portid; - u8 skip_notify: 1; - u8 skip_notify_kernel: 1; -}; - -struct fib6_config { - u32 fc_table; - u32 fc_metric; - int fc_dst_len; - int fc_src_len; - int fc_ifindex; - u32 fc_flags; - u32 fc_protocol; - u16 fc_type; - u16 fc_delete_all_nh: 1; - u16 fc_ignore_dev_down: 1; - u16 __unused: 14; - u32 fc_nh_id; - struct in6_addr fc_dst; - struct in6_addr fc_src; - struct in6_addr fc_prefsrc; - struct in6_addr fc_gateway; - long unsigned int fc_expires; - struct nlattr *fc_mx; - int fc_mx_len; - int fc_mp_len; - struct nlattr *fc_mp; - struct nl_info fc_nlinfo; - struct nlattr *fc_encap; - u16 fc_encap_type; - bool fc_is_fdb; -}; - -struct fib6_dump_arg { - struct net *net; - struct notifier_block *nb; - struct netlink_ext_ack *extack; -}; - -struct fib_notifier_info { - int family; - struct netlink_ext_ack *extack; -}; - -struct fib6_entry_notifier_info { - struct fib_notifier_info info; - struct fib6_info *rt; - unsigned int nsiblings; -}; - -struct fib6_gc_args { - int timeout; - int more; -}; - -struct rt6key { - struct in6_addr addr; - int plen; -}; - -struct rtable; - -struct fnhe_hash_bucket; - -struct fib_nh_common { - struct net_device *nhc_dev; - netdevice_tracker nhc_dev_tracker; - int nhc_oif; - unsigned char nhc_scope; - u8 nhc_family; - u8 nhc_gw_family; - unsigned char nhc_flags; - struct lwtunnel_state *nhc_lwtstate; - union { - __be32 ipv4; - struct in6_addr ipv6; - } nhc_gw; - int nhc_weight; - atomic_t nhc_upper_bound; - struct rtable **nhc_pcpu_rth_output; - struct rtable *nhc_rth_input; - struct fnhe_hash_bucket *nhc_exceptions; -}; - -struct rt6_info; - -struct rt6_exception_bucket; - -struct fib6_nh { - struct fib_nh_common nh_common; - struct rt6_info **rt6i_pcpu; - struct rt6_exception_bucket *rt6i_exception_bucket; -}; - -struct fib6_table; - -struct nexthop; - -struct fib6_info { - struct fib6_table *fib6_table; - struct fib6_info *fib6_next; - struct fib6_node *fib6_node; - union { - struct list_head fib6_siblings; - struct list_head nh_list; - }; - unsigned int fib6_nsiblings; - refcount_t fib6_ref; - long unsigned int expires; - struct hlist_node gc_link; - struct dst_metrics *fib6_metrics; - struct rt6key fib6_dst; - u32 fib6_flags; - struct rt6key fib6_src; - struct rt6key fib6_prefsrc; - u32 fib6_metric; - u8 fib6_protocol; - u8 fib6_type; - u8 offload; - u8 trap; - u8 offload_failed; - u8 should_flush: 1; - u8 dst_nocount: 1; - u8 dst_nopolicy: 1; - u8 fib6_destroying: 1; - u8 unused: 4; - struct callback_head rcu; - struct nexthop *nh; - struct fib6_nh fib6_nh[0]; -}; - -struct fib6_nh_age_excptn_arg { - struct fib6_gc_args *gc_args; - long unsigned int now; -}; - -struct fib6_nh_del_cached_rt_arg { - struct fib6_config *cfg; - struct fib6_info *f6i; -}; - -struct fib6_nh_dm_arg { - struct net *net; - const struct in6_addr *saddr; - int oif; - int flags; - struct fib6_nh *nh; -}; - -struct rt6_rtnl_dump_arg; - -struct fib6_nh_exception_dump_walker { - struct rt6_rtnl_dump_arg *dump; - struct fib6_info *rt; - unsigned int flags; - unsigned int skip; - unsigned int count; -}; - -struct fib6_nh_excptn_arg { - struct rt6_info *rt; - int plen; -}; - -struct fib6_nh_frl_arg { - u32 flags; - int oif; - int strict; - int *mpri; - bool *do_rr; - struct fib6_nh *nh; -}; - -struct fib6_nh_match_arg { - const struct net_device *dev; - const struct in6_addr *gw; - struct fib6_nh *match; -}; - -struct fib6_nh_pcpu_arg { - struct fib6_info *from; - const struct fib6_table *table; -}; - -struct fib6_result; - -struct flowi6; - -struct fib6_nh_rd_arg { - struct fib6_result *res; - struct flowi6 *fl6; - const struct in6_addr *gw; - struct rt6_info **ret; -}; - -struct fib6_node { - struct fib6_node *parent; - struct fib6_node *left; - struct fib6_node *right; - struct fib6_info *leaf; - __u16 fn_bit; - __u16 fn_flags; - int fn_sernum; - struct fib6_info *rr_ptr; - struct callback_head rcu; -}; - -struct fib6_result { - struct fib6_nh *nh; - struct fib6_info *f6i; - u32 fib6_flags; - u8 fib6_type; - struct rt6_info *rt6; -}; - -struct inet_peer_base { - struct rb_root rb_root; - seqlock_t lock; - int total; -}; - -struct fib6_table { - struct hlist_node tb6_hlist; - u32 tb6_id; - spinlock_t tb6_lock; - struct fib6_node tb6_root; - struct inet_peer_base tb6_peers; - unsigned int flags; - unsigned int fib_seq; - struct hlist_head tb6_gc_hlist; -}; - -struct fib_info; - -struct fib_alias { - struct hlist_node fa_list; - struct fib_info *fa_info; - dscp_t fa_dscp; - u8 fa_type; - u8 fa_state; - u8 fa_slen; - u32 tb_id; - s16 fa_default; - u8 offload; - u8 trap; - u8 offload_failed; - struct callback_head rcu; -}; - -struct rtnexthop; - -struct fib_config { - u8 fc_dst_len; - dscp_t fc_dscp; - u8 fc_protocol; - u8 fc_scope; - u8 fc_type; - u8 fc_gw_family; - u32 fc_table; - __be32 fc_dst; - union { - __be32 fc_gw4; - struct in6_addr fc_gw6; - }; - int fc_oif; - u32 fc_flags; - u32 fc_priority; - __be32 fc_prefsrc; - u32 fc_nh_id; - struct nlattr *fc_mx; - struct rtnexthop *fc_mp; - int fc_mx_len; - int fc_mp_len; - u32 fc_flow; - u32 fc_nlflags; - struct nl_info fc_nlinfo; - struct nlattr *fc_encap; - u16 fc_encap_type; -}; - -struct fib_dump_filter { - u32 table_id; - bool filter_set; - bool dump_routes; - bool dump_exceptions; - unsigned char protocol; - unsigned char rt_type; - unsigned int flags; - struct net_device *dev; -}; - -struct fib_entry_notifier_info { - struct fib_notifier_info info; - u32 dst; - int dst_len; - struct fib_info *fi; - dscp_t dscp; - u8 type; - u32 tb_id; -}; - -struct fib_nh { - struct fib_nh_common nh_common; - struct hlist_node nh_hash; - struct fib_info *nh_parent; - __be32 nh_saddr; - int nh_saddr_genid; -}; - -struct fib_info { - struct hlist_node fib_hash; - struct hlist_node fib_lhash; - struct list_head nh_list; - struct net *fib_net; - refcount_t fib_treeref; - refcount_t fib_clntref; - unsigned int fib_flags; - unsigned char fib_dead; - unsigned char fib_protocol; - unsigned char fib_scope; - unsigned char fib_type; - __be32 fib_prefsrc; - u32 fib_tb_id; - u32 fib_priority; - struct dst_metrics *fib_metrics; - int fib_nhs; - bool fib_nh_is_v6; - bool nh_updated; - bool pfsrc_removed; - struct nexthop *nh; - struct callback_head rcu; - struct fib_nh fib_nh[0]; -}; - -struct fib_nh_exception { - struct fib_nh_exception *fnhe_next; - int fnhe_genid; - __be32 fnhe_daddr; - u32 fnhe_pmtu; - bool fnhe_mtu_locked; - __be32 fnhe_gw; - long unsigned int fnhe_expires; - struct rtable *fnhe_rth_input; - struct rtable *fnhe_rth_output; - long unsigned int fnhe_stamp; - struct callback_head rcu; -}; - -struct fib_nh_notifier_info { - struct fib_notifier_info info; - struct fib_nh *fib_nh; -}; - -struct fib_notifier_net { - struct list_head fib_notifier_ops; - struct atomic_notifier_head fib_chain; -}; - -struct fib_notifier_ops { - int family; - struct list_head list; - unsigned int (*fib_seq_read)(struct net *); - int (*fib_dump)(struct net *, struct notifier_block *, struct netlink_ext_ack *); - struct module *owner; - struct callback_head rcu; -}; - -struct fib_prop { - int error; - u8 scope; -}; - -struct fib_table; - -struct fib_result { - __be32 prefix; - unsigned char prefixlen; - unsigned char nh_sel; - unsigned char type; - unsigned char scope; - u32 tclassid; - struct fib_nh_common *nhc; - struct fib_info *fi; - struct fib_table *table; - struct hlist_head *fa_head; -}; - -struct fib_result_nl { - __be32 fl_addr; - u32 fl_mark; - unsigned char fl_tos; - unsigned char fl_scope; - unsigned char tb_id_in; - unsigned char tb_id; - unsigned char prefixlen; - unsigned char nh_sel; - unsigned char type; - unsigned char scope; - int err; -}; - -struct fib_rt_info { - struct fib_info *fi; - u32 tb_id; - __be32 dst; - int dst_len; - dscp_t dscp; - u8 type; - u8 offload: 1; - u8 trap: 1; - u8 offload_failed: 1; - u8 unused: 5; -}; - -struct fib_table { - struct hlist_node tb_hlist; - u32 tb_id; - int tb_num_default; - struct callback_head rcu; - long unsigned int *tb_data; - long unsigned int __data[0]; -}; - -struct fid { - union { - struct { - u32 ino; - u32 gen; - u32 parent_ino; - u32 parent_gen; - } i32; - struct { - u32 block; - u16 partref; - u16 parent_partref; - u32 generation; - u32 parent_block; - u32 parent_generation; - } udf; - struct { - struct {} __empty_raw; - __u32 raw[0]; - }; - }; -}; - -struct fiemap_extent { - __u64 fe_logical; - __u64 fe_physical; - __u64 fe_length; - __u64 fe_reserved64[2]; - __u32 fe_flags; - __u32 fe_reserved[3]; -}; - -struct fiemap { - __u64 fm_start; - __u64 fm_length; - __u32 fm_flags; - __u32 fm_mapped_extents; - __u32 fm_extent_count; - __u32 fm_reserved; - struct fiemap_extent fm_extents[0]; -}; - -struct fiemap_extent_info { - unsigned int fi_flags; - unsigned int fi_extents_mapped; - unsigned int fi_extents_max; - struct fiemap_extent *fi_extents_start; -}; - -struct file__safe_trusted { - struct inode *f_inode; -}; - -struct file_clone_range { - __s64 src_fd; - __u64 src_offset; - __u64 src_length; - __u64 dest_offset; -}; - -struct file_dedupe_range_info { - __s64 dest_fd; - __u64 dest_offset; - __u64 bytes_deduped; - __s32 status; - __u32 reserved; -}; - -struct file_dedupe_range { - __u64 src_offset; - __u64 src_length; - __u16 dest_count; - __u16 reserved1; - __u32 reserved2; - struct file_dedupe_range_info info[0]; -}; - -typedef void *fl_owner_t; - -struct nlm_lockowner; - -struct nfs_lock_info { - u32 state; - struct nlm_lockowner *owner; - struct list_head list; -}; - -struct nfs4_lock_state; - -struct nfs4_lock_info { - struct nfs4_lock_state *owner; -}; - -struct file_lock_operations; - -struct lock_manager_operations; - -struct file_lock { - struct file_lock *fl_blocker; - struct list_head fl_list; - struct hlist_node fl_link; - struct list_head fl_blocked_requests; - struct list_head fl_blocked_member; - fl_owner_t fl_owner; - unsigned int fl_flags; - unsigned char fl_type; - unsigned int fl_pid; - int fl_link_cpu; - wait_queue_head_t fl_wait; - struct file *fl_file; - long: 32; - loff_t fl_start; - loff_t fl_end; - struct fasync_struct *fl_fasync; - long unsigned int fl_break_time; - long unsigned int fl_downgrade_time; - const struct file_lock_operations *fl_ops; - const struct lock_manager_operations *fl_lmops; - union { - struct nfs_lock_info nfs_fl; - struct nfs4_lock_info nfs4_fl; - struct { - struct list_head link; - int state; - unsigned int debug_id; - } afs; - struct { - struct inode *inode; - } ceph; - } fl_u; - long: 32; -}; - -struct file_lock_context { - spinlock_t flc_lock; - struct list_head flc_flock; - struct list_head flc_posix; - struct list_head flc_lease; -}; - -struct file_lock_operations { - void (*fl_copy_lock)(struct file_lock *, struct file_lock *); - void (*fl_release_private)(struct file_lock *); -}; - -struct pipe_inode_info; - -struct io_uring_cmd; - -struct file_operations { - struct module *owner; - loff_t (*llseek)(struct file *, loff_t, int); - ssize_t (*read)(struct file *, char *, size_t, loff_t *); - ssize_t (*write)(struct file *, const char *, size_t, loff_t *); - ssize_t (*read_iter)(struct kiocb *, struct iov_iter *); - ssize_t (*write_iter)(struct kiocb *, struct iov_iter *); - int (*iopoll)(struct kiocb *, struct io_comp_batch *, unsigned int); - int (*iterate_shared)(struct file *, struct dir_context *); - __poll_t (*poll)(struct file *, struct poll_table_struct *); - long int (*unlocked_ioctl)(struct file *, unsigned int, long unsigned int); - long int (*compat_ioctl)(struct file *, unsigned int, long unsigned int); - int (*mmap)(struct file *, struct vm_area_struct *); - long unsigned int mmap_supported_flags; - int (*open)(struct inode *, struct file *); - int (*flush)(struct file *, fl_owner_t); - int (*release)(struct inode *, struct file *); - int (*fsync)(struct file *, loff_t, loff_t, int); - int (*fasync)(int, struct file *, int); - int (*lock)(struct file *, int, struct file_lock *); - long unsigned int (*get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); - int (*check_flags)(int); - int (*flock)(struct file *, int, struct file_lock *); - ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int); - ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int); - void (*splice_eof)(struct file *); - int (*setlease)(struct file *, int, struct file_lock **, void **); - long int (*fallocate)(struct file *, int, loff_t, loff_t); - void (*show_fdinfo)(struct seq_file *, struct file *); - unsigned int (*mmap_capabilities)(struct file *); - ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t, size_t, unsigned int); - loff_t (*remap_file_range)(struct file *, loff_t, struct file *, loff_t, loff_t, unsigned int); - int (*fadvise)(struct file *, loff_t, loff_t, int); - int (*uring_cmd)(struct io_uring_cmd *, unsigned int); - int (*uring_cmd_iopoll)(struct io_uring_cmd *, struct io_comp_batch *, unsigned int); -}; - -struct fs_context; - -struct fs_parameter_spec; - -struct file_system_type { - const char *name; - int fs_flags; - int (*init_fs_context)(struct fs_context *); - const struct fs_parameter_spec *parameters; - struct dentry * (*mount)(struct file_system_type *, int, const char *, void *); - void (*kill_sb)(struct super_block *); - struct module *owner; - struct file_system_type *next; - struct hlist_head fs_supers; - struct lock_class_key s_lock_key; - struct lock_class_key s_umount_key; - struct lock_class_key s_vfs_rename_key; - struct lock_class_key s_writers_key[3]; - struct lock_class_key i_lock_key; - struct lock_class_key i_mutex_key; - struct lock_class_key invalidate_lock_key; - struct lock_class_key i_mutex_dir_key; -}; - -struct fileattr { - u32 flags; - u32 fsx_xflags; - u32 fsx_extsize; - u32 fsx_nextents; - u32 fsx_projid; - u32 fsx_cowextsize; - bool flags_valid: 1; - bool fsx_valid: 1; -}; - -struct audit_names; - -struct filename { - const char *name; - const char *uptr; - atomic_t refcnt; - struct audit_names *aname; - const char iname[0]; -}; - -struct files_stat_struct { - long unsigned int nr_files; - long unsigned int nr_free_files; - long unsigned int max_files; -}; - -struct files_struct { - atomic_t count; - bool resize_in_progress; - wait_queue_head_t resize_wait; - struct fdtable *fdt; - struct fdtable fdtab; - spinlock_t file_lock; - unsigned int next_fd; - long unsigned int close_on_exec_init[1]; - long unsigned int open_fds_init[1]; - long unsigned int full_fds_bits_init[1]; - struct file *fd_array[32]; -}; - -struct kernel_symbol; - -struct find_symbol_arg { - const char *name; - bool gplok; - bool warn; - struct module *owner; - const s32 *crc; - const struct kernel_symbol *sym; - enum mod_license license; -}; - -struct firmware_ops { - int (*prepare_idle)(long unsigned int); - int (*do_idle)(long unsigned int); - int (*set_cpu_boot_addr)(int, long unsigned int); - int (*get_cpu_boot_addr)(int, long unsigned int *); - int (*cpu_boot)(int); - int (*l2x0_init)(); - int (*suspend)(); - int (*resume)(); -}; - -struct flock { - short int l_type; - short int l_whence; - __kernel_off_t l_start; - __kernel_off_t l_len; - __kernel_pid_t l_pid; -}; - -struct flock64 { - short int l_type; - short int l_whence; - long: 32; - __kernel_loff_t l_start; - __kernel_loff_t l_len; - __kernel_pid_t l_pid; - long: 32; -}; - -typedef void (*action_destr)(void *); - -struct ip_tunnel_info; - -struct psample_group; - -struct nf_flowtable; - -struct action_gate_entry; - -struct flow_action_cookie; - -struct flow_action_entry { - enum flow_action_id id; - u32 hw_index; - long unsigned int cookie; - long: 32; - u64 miss_cookie; - enum flow_action_hw_stats hw_stats; - action_destr destructor; - void *destructor_priv; - long: 32; - union { - u32 chain_index; - struct net_device *dev; - struct { - u16 vid; - __be16 proto; - u8 prio; - } vlan; - struct { - unsigned char dst[6]; - unsigned char src[6]; - } vlan_push_eth; - struct { - enum flow_action_mangle_base htype; - u32 offset; - u32 mask; - u32 val; - } mangle; - struct ip_tunnel_info *tunnel; - u32 csum_flags; - u32 mark; - u16 ptype; - u16 rx_queue; - u32 priority; - struct { - u32 ctx; - u32 index; - u8 vf; - } queue; - struct { - struct psample_group *psample_group; - u32 rate; - u32 trunc_size; - bool truncate; - } sample; - struct { - u32 burst; - long: 32; - u64 rate_bytes_ps; - u64 peakrate_bytes_ps; - u32 avrate; - u16 overhead; - u64 burst_pkt; - u64 rate_pkt_ps; - u32 mtu; - struct { - enum flow_action_id act_id; - u32 extval; - } exceed; - struct { - enum flow_action_id act_id; - u32 extval; - } notexceed; - long: 32; - } police; - struct { - int action; - u16 zone; - struct nf_flowtable *flow_table; - } ct; - struct { - long unsigned int cookie; - u32 mark; - u32 labels[4]; - bool orig_dir; - } ct_metadata; - struct { - u32 label; - __be16 proto; - u8 tc; - u8 bos; - u8 ttl; - } mpls_push; - struct { - __be16 proto; - } mpls_pop; - struct { - u32 label; - u8 tc; - u8 bos; - u8 ttl; - } mpls_mangle; - struct { - s32 prio; - long: 32; - u64 basetime; - u64 cycletime; - u64 cycletimeext; - u32 num_entries; - struct action_gate_entry *entries; - } gate; - struct { - u16 sid; - } pppoe; - }; - struct flow_action_cookie *user_cookie; - long: 32; -}; - -struct flow_action { - unsigned int num_entries; - long: 32; - struct flow_action_entry entries[0]; -}; - -struct flow_action_cookie { - u32 cookie_len; - u8 cookie[0]; -}; - -struct flow_block { - struct list_head cb_list; -}; - -typedef int flow_setup_cb_t(enum tc_setup_type, void *, void *); - -struct flow_block_cb; - -struct flow_block_indr { - struct list_head list; - struct net_device *dev; - struct Qdisc *sch; - enum flow_block_binder_type binder_type; - void *data; - void *cb_priv; - void (*cleanup)(struct flow_block_cb *); -}; - -struct flow_block_cb { - struct list_head driver_list; - struct list_head list; - flow_setup_cb_t *cb; - void *cb_ident; - void *cb_priv; - void (*release)(void *); - struct flow_block_indr indr; - unsigned int refcnt; -}; - -struct flow_block_offload { - enum flow_block_command command; - enum flow_block_binder_type binder_type; - bool block_shared; - bool unlocked_driver_cb; - struct net *net; - struct flow_block *block; - struct list_head cb_list; - struct list_head *driver_block_list; - struct netlink_ext_ack *extack; - struct Qdisc *sch; - struct list_head *cb_list_head; -}; - -struct flow_dissector_key { - enum flow_dissector_key_id key_id; - size_t offset; -}; - -struct flow_dissector_key_tipc { - __be32 key; -}; - -struct flow_dissector_key_addrs { - union { - struct flow_dissector_key_ipv4_addrs v4addrs; - struct flow_dissector_key_ipv6_addrs v6addrs; - struct flow_dissector_key_tipc tipckey; - }; -}; - -struct flow_dissector_key_arp { - __u32 sip; - __u32 tip; - __u8 op; - unsigned char sha[6]; - unsigned char tha[6]; -}; - -struct flow_dissector_key_cfm { - u8 mdl_ver; - u8 opcode; -}; - -struct flow_dissector_key_control { - u16 thoff; - u16 addr_type; - u32 flags; -}; - -struct flow_dissector_key_ct { - u16 ct_state; - u16 ct_zone; - u32 ct_mark; - u32 ct_labels[4]; -}; - -struct flow_dissector_key_enc_opts { - u8 data[255]; - u8 len; - __be16 dst_opt_type; -}; - -struct flow_dissector_key_hash { - u32 hash; -}; - -struct flow_dissector_key_icmp { - struct { - u8 type; - u8 code; - }; - u16 id; -}; - -struct flow_dissector_key_ipsec { - __be32 spi; -}; - -struct flow_dissector_key_keyid { - __be32 keyid; -}; - -struct flow_dissector_key_l2tpv3 { - __be32 session_id; -}; - -struct flow_dissector_key_meta { - int ingress_ifindex; - u16 ingress_iftype; - u8 l2_miss; -}; - -struct flow_dissector_mpls_lse { - u32 mpls_ttl: 8; - u32 mpls_bos: 1; - u32 mpls_tc: 3; - u32 mpls_label: 20; -}; - -struct flow_dissector_key_mpls { - struct flow_dissector_mpls_lse ls[7]; - u8 used_lses; -}; - -struct flow_dissector_key_num_of_vlans { - u8 num_of_vlans; -}; - -struct flow_dissector_key_ports_range { - union { - struct flow_dissector_key_ports tp; - struct { - struct flow_dissector_key_ports tp_min; - struct flow_dissector_key_ports tp_max; - }; - }; -}; - -struct flow_dissector_key_pppoe { - __be16 session_id; - __be16 ppp_proto; - __be16 type; -}; - -struct flow_dissector_key_tags { - u32 flow_label; -}; - -struct flow_dissector_key_tcp { - __be16 flags; -}; - -struct flow_indir_dev_info { - void *data; - struct net_device *dev; - struct Qdisc *sch; - enum tc_setup_type type; - void (*cleanup)(struct flow_block_cb *); - struct list_head list; - enum flow_block_command command; - enum flow_block_binder_type binder_type; - struct list_head *cb_list; -}; - -typedef int flow_indr_block_bind_cb_t(struct net_device *, struct Qdisc *, void *, enum tc_setup_type, void *, void *, void (*)(struct flow_block_cb *)); - -struct flow_indr_dev { - struct list_head list; - flow_indr_block_bind_cb_t *cb; - void *cb_priv; - refcount_t refcnt; -}; - -struct flow_keys { - struct flow_dissector_key_control control; - struct flow_dissector_key_basic basic; - struct flow_dissector_key_tags tags; - struct flow_dissector_key_vlan vlan; - struct flow_dissector_key_vlan cvlan; - struct flow_dissector_key_keyid keyid; - struct flow_dissector_key_ports ports; - struct flow_dissector_key_icmp icmp; - struct flow_dissector_key_addrs addrs; - long: 32; -}; - -struct flow_keys_basic { - struct flow_dissector_key_control control; - struct flow_dissector_key_basic basic; -}; - -struct flow_keys_digest { - u8 data[16]; -}; - -struct flow_match { - struct flow_dissector *dissector; - void *mask; - void *key; -}; - -struct flow_match_arp { - struct flow_dissector_key_arp *key; - struct flow_dissector_key_arp *mask; -}; - -struct flow_match_basic { - struct flow_dissector_key_basic *key; - struct flow_dissector_key_basic *mask; -}; - -struct flow_match_control { - struct flow_dissector_key_control *key; - struct flow_dissector_key_control *mask; -}; - -struct flow_match_ct { - struct flow_dissector_key_ct *key; - struct flow_dissector_key_ct *mask; -}; - -struct flow_match_enc_keyid { - struct flow_dissector_key_keyid *key; - struct flow_dissector_key_keyid *mask; -}; - -struct flow_match_enc_opts { - struct flow_dissector_key_enc_opts *key; - struct flow_dissector_key_enc_opts *mask; -}; - -struct flow_match_eth_addrs { - struct flow_dissector_key_eth_addrs *key; - struct flow_dissector_key_eth_addrs *mask; -}; - -struct flow_match_icmp { - struct flow_dissector_key_icmp *key; - struct flow_dissector_key_icmp *mask; -}; - -struct flow_match_ip { - struct flow_dissector_key_ip *key; - struct flow_dissector_key_ip *mask; -}; - -struct flow_match_ipsec { - struct flow_dissector_key_ipsec *key; - struct flow_dissector_key_ipsec *mask; -}; - -struct flow_match_ipv4_addrs { - struct flow_dissector_key_ipv4_addrs *key; - struct flow_dissector_key_ipv4_addrs *mask; -}; - -struct flow_match_ipv6_addrs { - struct flow_dissector_key_ipv6_addrs *key; - struct flow_dissector_key_ipv6_addrs *mask; -}; - -struct flow_match_l2tpv3 { - struct flow_dissector_key_l2tpv3 *key; - struct flow_dissector_key_l2tpv3 *mask; -}; - -struct flow_match_meta { - struct flow_dissector_key_meta *key; - struct flow_dissector_key_meta *mask; -}; - -struct flow_match_mpls { - struct flow_dissector_key_mpls *key; - struct flow_dissector_key_mpls *mask; -}; - -struct flow_match_ports { - struct flow_dissector_key_ports *key; - struct flow_dissector_key_ports *mask; -}; - -struct flow_match_ports_range { - struct flow_dissector_key_ports_range *key; - struct flow_dissector_key_ports_range *mask; -}; - -struct flow_match_pppoe { - struct flow_dissector_key_pppoe *key; - struct flow_dissector_key_pppoe *mask; -}; - -struct flow_match_tcp { - struct flow_dissector_key_tcp *key; - struct flow_dissector_key_tcp *mask; -}; - -struct flow_match_vlan { - struct flow_dissector_key_vlan *key; - struct flow_dissector_key_vlan *mask; -}; - -struct flow_stats { - u64 pkts; - u64 bytes; - u64 drops; - u64 lastused; - enum flow_action_hw_stats used_hw_stats; - bool used_hw_stats_valid; -}; - -struct flow_offload_action { - struct netlink_ext_ack *extack; - enum offload_act_command command; - enum flow_action_id id; - u32 index; - long unsigned int cookie; - long: 32; - struct flow_stats stats; - struct flow_action action; -}; - -struct flow_rule { - struct flow_match match; - long: 32; - struct flow_action action; -}; - -struct flowi_tunnel { - __be64 tun_id; -}; - -struct flowi_common { - int flowic_oif; - int flowic_iif; - int flowic_l3mdev; - __u32 flowic_mark; - __u8 flowic_tos; - __u8 flowic_scope; - __u8 flowic_proto; - __u8 flowic_flags; - __u32 flowic_secid; - kuid_t flowic_uid; - long: 32; - struct flowi_tunnel flowic_tun_key; - __u32 flowic_multipath_hash; - long: 32; -}; - -union flowi_uli { - struct { - __be16 dport; - __be16 sport; - } ports; - struct { - __u8 type; - __u8 code; - } icmpt; - __be32 gre_key; - struct { - __u8 type; - } mht; -}; - -struct flowi4 { - struct flowi_common __fl_common; - __be32 saddr; - __be32 daddr; - union flowi_uli uli; - long: 32; -}; - -struct flowi6 { - struct flowi_common __fl_common; - struct in6_addr daddr; - struct in6_addr saddr; - __be32 flowlabel; - union flowi_uli uli; - __u32 mp_hash; - long: 32; -}; - -struct flowi { - union { - struct flowi_common __fl_common; - struct flowi4 ip4; - struct flowi6 ip6; - } u; -}; - -struct fnhe_hash_bucket { - struct fib_nh_exception *chain; -}; - -struct page_pool; - -struct page { - long unsigned int flags; - union { - struct { - union { - struct list_head lru; - struct { - void *__filler; - unsigned int mlock_count; - }; - struct list_head buddy_list; - struct list_head pcp_list; - }; - struct address_space *mapping; - union { - long unsigned int index; - long unsigned int share; - }; - long unsigned int private; - }; - struct { - long unsigned int pp_magic; - struct page_pool *pp; - long unsigned int _pp_mapping_pad; - long unsigned int dma_addr; - union { - long unsigned int dma_addr_upper; - atomic_long_t pp_frag_count; - }; - }; - struct { - long unsigned int compound_head; - }; - struct { - struct dev_pagemap *pgmap; - void *zone_device_data; - }; - struct callback_head callback_head; - }; - union { - atomic_t _mapcount; - unsigned int page_type; - }; - atomic_t _refcount; -}; - -struct folio { - union { - struct { - long unsigned int flags; - union { - struct list_head lru; - struct { - void *__filler; - unsigned int mlock_count; - }; - }; - struct address_space *mapping; - long unsigned int index; - union { - void *private; - swp_entry_t swap; - }; - atomic_t _mapcount; - atomic_t _refcount; - }; - struct page page; - }; - union { - struct { - long unsigned int _flags_1; - long unsigned int _head_1; - long unsigned int _folio_avail; - atomic_t _entire_mapcount; - atomic_t _nr_pages_mapped; - atomic_t _pincount; - }; - struct page __page_1; - }; - union { - struct { - long unsigned int _flags_2; - long unsigned int _head_2; - void *_hugetlb_subpool; - void *_hugetlb_cgroup; - void *_hugetlb_cgroup_rsvd; - void *_hugetlb_hwpoison; - }; - struct { - long unsigned int _flags_2a; - long unsigned int _head_2a; - struct list_head _deferred_list; - }; - struct page __page_2; - }; -}; - -struct fp_hard_struct { - unsigned int save[35]; -}; - -struct fp_soft_struct { - unsigned int save[35]; -}; - -union fp_state { - struct fp_hard_struct hard; - struct fp_soft_struct soft; -}; - -struct fprop_global { - struct percpu_counter events; - unsigned int period; - seqcount_t sequence; -}; - -struct fprop_local_single { - long unsigned int events; - unsigned int period; - raw_spinlock_t lock; -}; - -typedef u32 (*rht_hashfn_t)(const void *, u32, u32); - -typedef u32 (*rht_obj_hashfn_t)(const void *, u32, u32); - -struct rhashtable_compare_arg; - -typedef int (*rht_obj_cmpfn_t)(struct rhashtable_compare_arg *, const void *); - -struct rhashtable_params { - u16 nelem_hint; - u16 key_len; - u16 key_offset; - u16 head_offset; - unsigned int max_size; - u16 min_size; - bool automatic_shrinking; - rht_hashfn_t hashfn; - rht_obj_hashfn_t obj_hashfn; - rht_obj_cmpfn_t obj_cmpfn; -}; - -struct rhashtable { - struct bucket_table *tbl; - unsigned int key_len; - unsigned int max_elems; - struct rhashtable_params p; - bool rhlist; - struct work_struct run_work; - struct mutex mutex; - spinlock_t lock; - atomic_t nelems; -}; - -struct inet_frags; - -struct fqdir { - long int high_thresh; - long int low_thresh; - int timeout; - int max_dist; - struct inet_frags *f; - struct net *net; - bool dead; - struct rhashtable rhashtable; - atomic_long_t mem; - struct work_struct destroy_work; - struct llist_node free_list; -}; - -struct frag_hdr { - __u8 nexthdr; - __u8 reserved; - __be16 frag_off; - __be32 identification; -}; - -struct frag_v4_compare_key { - __be32 saddr; - __be32 daddr; - u32 user; - u32 vif; - __be16 id; - u16 protocol; -}; - -struct frag_v6_compare_key { - struct in6_addr saddr; - struct in6_addr daddr; - u32 user; - __be32 id; - u32 iif; -}; - -struct inet_frag_queue { - struct rhash_head node; - union { - struct frag_v4_compare_key v4; - struct frag_v6_compare_key v6; - } key; - struct timer_list timer; - spinlock_t lock; - refcount_t refcnt; - struct rb_root rb_fragments; - struct sk_buff *fragments_tail; - struct sk_buff *last_run_head; - long: 32; - ktime_t stamp; - int len; - int meat; - u8 mono_delivery_time; - __u8 flags; - u16 max_size; - struct fqdir *fqdir; - struct callback_head rcu; -}; - -struct frag_queue { - struct inet_frag_queue q; - int iif; - __u16 nhoffset; - u8 ecn; -}; - -struct frame_tail { - struct frame_tail *fp; - long unsigned int sp; - long unsigned int lr; -}; - -struct free_area { - struct list_head free_list[4]; - long unsigned int nr_free; -}; - -struct p_log { - const char *prefix; - struct fc_log *log; -}; - -struct fs_context_operations; - -struct fs_context { - const struct fs_context_operations *ops; - struct mutex uapi_mutex; - struct file_system_type *fs_type; - void *fs_private; - void *sget_key; - struct dentry *root; - struct user_namespace *user_ns; - struct net *net_ns; - const struct cred *cred; - struct p_log log; - const char *source; - void *security; - void *s_fs_info; - unsigned int sb_flags; - unsigned int sb_flags_mask; - unsigned int s_iflags; - enum fs_context_purpose purpose: 8; - enum fs_context_phase phase: 8; - bool need_free: 1; - bool global: 1; - bool oldapi: 1; - bool exclusive: 1; -}; - -struct fs_parameter; - -struct fs_context_operations { - void (*free)(struct fs_context *); - int (*dup)(struct fs_context *, struct fs_context *); - int (*parse_param)(struct fs_context *, struct fs_parameter *); - int (*parse_monolithic)(struct fs_context *, void *); - int (*get_tree)(struct fs_context *); - int (*reconfigure)(struct fs_context *); -}; - -struct fs_parameter { - const char *key; - enum fs_value_type type: 8; - union { - char *string; - void *blob; - struct filename *name; - struct file *file; - }; - size_t size; - int dirfd; -}; - -struct fs_parse_result; - -typedef int fs_param_type(struct p_log *, const struct fs_parameter_spec *, struct fs_parameter *, struct fs_parse_result *); - -struct fs_parameter_spec { - const char *name; - fs_param_type *type; - u8 opt; - short unsigned int flags; - const void *data; -}; - -struct fs_parse_result { - bool negated; - long: 32; - union { - bool boolean; - int int_32; - unsigned int uint_32; - u64 uint_64; - }; -}; - -struct fs_pin { - wait_queue_head_t wait; - int done; - struct hlist_node s_list; - struct hlist_node m_list; - void (*kill)(struct fs_pin *); -}; - -struct fs_struct { - int users; - spinlock_t lock; - seqcount_spinlock_t seq; - int umask; - int in_exec; - struct path root; - struct path pwd; -}; - -struct fsr_info { - int (*fn)(long unsigned int, unsigned int, struct pt_regs *); - int sig; - int code; - const char *name; -}; - -struct fsxattr { - __u32 fsx_xflags; - __u32 fsx_extsize; - __u32 fsx_nextents; - __u32 fsx_projid; - __u32 fsx_cowextsize; - unsigned char fsx_pad[8]; -}; - -union fwnet_hwaddr { - u8 u[16]; - struct { - __be64 uniq_id; - u8 max_rec; - u8 sspd; - u8 fifo[6]; - } uc; -}; - -struct fwnode_endpoint { - unsigned int port; - unsigned int id; - const struct fwnode_handle *local_fwnode; -}; - -struct fwnode_link { - struct fwnode_handle *supplier; - struct list_head s_hook; - struct fwnode_handle *consumer; - struct list_head c_hook; - u8 flags; -}; - -struct fwnode_reference_args; - -struct fwnode_operations { - struct fwnode_handle * (*get)(struct fwnode_handle *); - void (*put)(struct fwnode_handle *); - bool (*device_is_available)(const struct fwnode_handle *); - const void * (*device_get_match_data)(const struct fwnode_handle *, const struct device *); - bool (*device_dma_supported)(const struct fwnode_handle *); - enum dev_dma_attr (*device_get_dma_attr)(const struct fwnode_handle *); - bool (*property_present)(const struct fwnode_handle *, const char *); - int (*property_read_int_array)(const struct fwnode_handle *, const char *, unsigned int, void *, size_t); - int (*property_read_string_array)(const struct fwnode_handle *, const char *, const char **, size_t); - const char * (*get_name)(const struct fwnode_handle *); - const char * (*get_name_prefix)(const struct fwnode_handle *); - struct fwnode_handle * (*get_parent)(const struct fwnode_handle *); - struct fwnode_handle * (*get_next_child_node)(const struct fwnode_handle *, struct fwnode_handle *); - struct fwnode_handle * (*get_named_child_node)(const struct fwnode_handle *, const char *); - int (*get_reference_args)(const struct fwnode_handle *, const char *, const char *, unsigned int, unsigned int, struct fwnode_reference_args *); - struct fwnode_handle * (*graph_get_next_endpoint)(const struct fwnode_handle *, struct fwnode_handle *); - struct fwnode_handle * (*graph_get_remote_endpoint)(const struct fwnode_handle *); - struct fwnode_handle * (*graph_get_port_parent)(struct fwnode_handle *); - int (*graph_parse_endpoint)(const struct fwnode_handle *, struct fwnode_endpoint *); - void * (*iomap)(struct fwnode_handle *, int); - int (*irq_get)(const struct fwnode_handle *, unsigned int); - int (*add_links)(struct fwnode_handle *); -}; - -struct fwnode_reference_args { - struct fwnode_handle *fwnode; - unsigned int nargs; - u64 args[8]; -}; - -struct pcpu_gen_cookie; - -struct gen_cookie { - struct pcpu_gen_cookie *local; - long: 32; - atomic64_t forward_last; - atomic64_t reverse_last; -}; - -struct gen_pool; - -typedef long unsigned int (*genpool_algo_t)(long unsigned int *, long unsigned int, long unsigned int, unsigned int, void *, struct gen_pool *, long unsigned int); - -struct gen_pool { - spinlock_t lock; - struct list_head chunks; - int min_alloc_order; - genpool_algo_t algo; - void *data; - const char *name; -}; - -struct gen_pool_chunk { - struct list_head next_chunk; - atomic_long_t avail; - phys_addr_t phys_addr; - void *owner; - long unsigned int start_addr; - long unsigned int end_addr; - long unsigned int bits[0]; -}; - -struct disk_events; - -struct badblocks; - -struct timer_rand_state; - -struct gendisk { - int major; - int first_minor; - int minors; - char disk_name[32]; - short unsigned int events; - short unsigned int event_flags; - struct xarray part_tbl; - struct block_device *part0; - const struct block_device_operations *fops; - struct request_queue *queue; - void *private_data; - struct bio_set bio_split; - int flags; - long unsigned int state; - struct mutex open_mutex; - unsigned int open_partitions; - struct backing_dev_info *bdi; - struct kobject queue_kobj; - struct kobject *slave_dir; - struct timer_rand_state *random; - atomic_t sync_io; - struct disk_events *ev; - int node_id; - struct badblocks *bb; - struct lockdep_map lockdep_map; - long: 32; - u64 diskseq; - blk_mode_t open_mode; - struct blk_independent_access_ranges *ia_ranges; -}; - -struct geneve_opt { - __be16 opt_class; - u8 type; - u8 length: 5; - u8 r3: 1; - u8 r2: 1; - u8 r1: 1; - u8 opt_data[0]; -}; - -struct netlink_callback; - -struct nla_policy; - -struct genl_split_ops { - union { - struct { - int (*pre_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); - int (*doit)(struct sk_buff *, struct genl_info *); - void (*post_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); - }; - struct { - int (*start)(struct netlink_callback *); - int (*dumpit)(struct sk_buff *, struct netlink_callback *); - int (*done)(struct netlink_callback *); - }; - }; - const struct nla_policy *policy; - unsigned int maxattr; - u8 cmd; - u8 internal_flags; - u8 flags; - u8 validate; -}; - -struct genlmsghdr; - -struct genl_info { - u32 snd_seq; - u32 snd_portid; - const struct genl_family *family; - const struct nlmsghdr *nlhdr; - struct genlmsghdr *genlhdr; - struct nlattr **attrs; - possible_net_t _net; - void *user_ptr[2]; - struct netlink_ext_ack *extack; -}; - -struct genl_dumpit_info { - struct genl_split_ops op; - struct genl_info info; -}; - -struct genl_ops; - -struct genl_small_ops; - -struct genl_multicast_group; - -struct genl_family { - unsigned int hdrsize; - char name[16]; - unsigned int version; - unsigned int maxattr; - u8 netnsok: 1; - u8 parallel_ops: 1; - u8 n_ops; - u8 n_small_ops; - u8 n_split_ops; - u8 n_mcgrps; - u8 resv_start_op; - const struct nla_policy *policy; - int (*pre_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); - void (*post_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); - const struct genl_ops *ops; - const struct genl_small_ops *small_ops; - const struct genl_split_ops *split_ops; - const struct genl_multicast_group *mcgrps; - struct module *module; - int id; - unsigned int mcgrp_offset; -}; - -struct genl_multicast_group { - char name[16]; - u8 flags; -}; - -struct genl_op_iter { - const struct genl_family *family; - struct genl_split_ops doit; - struct genl_split_ops dumpit; - int cmd_idx; - int entry_idx; - u32 cmd; - u8 flags; -}; - -struct genl_ops { - int (*doit)(struct sk_buff *, struct genl_info *); - int (*start)(struct netlink_callback *); - int (*dumpit)(struct sk_buff *, struct netlink_callback *); - int (*done)(struct netlink_callback *); - const struct nla_policy *policy; - unsigned int maxattr; - u8 cmd; - u8 internal_flags; - u8 flags; - u8 validate; -}; - -struct genl_small_ops { - int (*doit)(struct sk_buff *, struct genl_info *); - int (*dumpit)(struct sk_buff *, struct netlink_callback *); - u8 cmd; - u8 internal_flags; - u8 flags; - u8 validate; -}; - -struct genl_start_context { - const struct genl_family *family; - struct nlmsghdr *nlh; - struct netlink_ext_ack *extack; - const struct genl_split_ops *ops; - int hdrlen; -}; - -struct genlmsghdr { - __u8 cmd; - __u8 version; - __u16 reserved; -}; - -struct genpool_data_align { - int align; -}; - -struct genpool_data_fixed { - long unsigned int offset; -}; - -struct genradix_iter { - size_t offset; - size_t pos; -}; - -struct genradix_node { - union { - struct genradix_node *children[1024]; - u8 data[4096]; - }; -}; - -struct getcpu_cache { - long unsigned int blob[32]; -}; - -struct linux_dirent; - -struct getdents_callback { - struct dir_context ctx; - struct linux_dirent *current_dir; - int prev_reclen; - int count; - int error; -}; - -struct linux_dirent64; - -struct getdents_callback64 { - struct dir_context ctx; - struct linux_dirent64 *current_dir; - int prev_reclen; - int count; - int error; -}; - -struct tc_stats { - __u64 bytes; - __u32 packets; - __u32 drops; - __u32 overlimits; - __u32 bps; - __u32 pps; - __u32 qlen; - __u32 backlog; - long: 32; -}; - -struct gnet_dump { - spinlock_t *lock; - struct sk_buff *skb; - struct nlattr *tail; - int compat_tc_stats; - int compat_xstats; - int padattr; - void *xstats; - int xstats_len; - struct tc_stats tc_stats; -}; - -struct gnet_estimator { - signed char interval; - unsigned char ewma_log; -}; - -struct gnet_stats_basic { - __u64 bytes; - __u32 packets; - long: 32; -}; - -struct gnet_stats_rate_est { - __u32 bps; - __u32 pps; -}; - -struct gnet_stats_rate_est64 { - __u64 bps; - __u64 pps; -}; - -struct gre_base_hdr { - __be16 flags; - __be16 protocol; -}; - -struct gre_full_hdr { - struct gre_base_hdr fixed_header; - __be16 csum; - __be16 reserved1; - __be32 key; - __be32 seq; -}; - -struct gro_list { - struct list_head list; - int count; -}; - -struct napi_struct { - struct list_head poll_list; - long unsigned int state; - int weight; - int defer_hard_irqs_count; - long unsigned int gro_bitmask; - int (*poll)(struct napi_struct *, int); - int list_owner; - struct net_device *dev; - struct gro_list gro_hash[8]; - struct sk_buff *skb; - struct list_head rx_list; - int rx_count; - unsigned int napi_id; - struct hrtimer timer; - struct task_struct *thread; - struct list_head dev_list; - struct hlist_node napi_hash_node; - long: 32; -}; - -struct gro_cell { - struct sk_buff_head napi_skbs; - long: 32; - struct napi_struct napi; -}; - -struct gro_cells { - struct gro_cell *cells; -}; - -struct group_filter { - union { - struct { - __u32 gf_interface_aux; - struct __kernel_sockaddr_storage gf_group_aux; - __u32 gf_fmode_aux; - __u32 gf_numsrc_aux; - struct __kernel_sockaddr_storage gf_slist[1]; - }; - struct { - __u32 gf_interface; - struct __kernel_sockaddr_storage gf_group; - __u32 gf_fmode; - __u32 gf_numsrc; - struct __kernel_sockaddr_storage gf_slist_flex[0]; - }; - }; -}; - -struct group_info { - atomic_t usage; - int ngroups; - kgid_t gid[0]; -}; - -struct group_req { - __u32 gr_interface; - struct __kernel_sockaddr_storage gr_group; -}; - -struct group_source_req { - __u32 gsr_interface; - struct __kernel_sockaddr_storage gsr_group; - struct __kernel_sockaddr_storage gsr_source; -}; - -struct hh_cache; - -struct header_ops { - int (*create)(struct sk_buff *, struct net_device *, short unsigned int, const void *, const void *, unsigned int); - int (*parse)(const struct sk_buff *, unsigned char *); - int (*cache)(const struct neighbour *, struct hh_cache *, __be16); - void (*cache_update)(struct hh_cache *, const struct net_device *, const unsigned char *); - bool (*validate)(const char *, unsigned int); - __be16 (*parse_protocol)(const struct sk_buff *); -}; - -struct hh_cache { - unsigned int hh_len; - seqlock_t hh_lock; - long unsigned int hh_data[8]; -}; - -struct hlist_bl_head { - struct hlist_bl_node *first; -}; - -struct hlist_nulls_node { - struct hlist_nulls_node *next; - struct hlist_nulls_node **pprev; -}; - -struct hop_jumbo_hdr { - u8 nexthdr; - u8 hdrlen; - u8 tlv_type; - u8 tlv_len; - __be32 jumbo_payload_len; -}; - -struct seqcount_raw_spinlock { - seqcount_t seqcount; -}; - -typedef struct seqcount_raw_spinlock seqcount_raw_spinlock_t; - -struct hrtimer_cpu_base; - -struct hrtimer_clock_base { - struct hrtimer_cpu_base *cpu_base; - unsigned int index; - clockid_t clockid; - seqcount_raw_spinlock_t seq; - struct hrtimer *running; - struct timerqueue_head active; - ktime_t (*get_time)(); - ktime_t offset; -}; - -struct hrtimer_cpu_base { - raw_spinlock_t lock; - unsigned int cpu; - unsigned int active_bases; - unsigned int clock_was_set_seq; - unsigned int hres_active: 1; - unsigned int in_hrtirq: 1; - unsigned int hang_detected: 1; - unsigned int softirq_activated: 1; - ktime_t expires_next; - struct hrtimer *next_timer; - long: 32; - ktime_t softirq_expires_next; - struct hrtimer *softirq_next_timer; - long: 32; - struct hrtimer_clock_base clock_base[8]; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct hrtimer_sleeper { - struct hrtimer timer; - struct task_struct *task; - long: 32; -}; - -struct hsr_tag { - __be16 path_and_LSDU_size; - __be16 sequence_nr; - __be16 encap_proto; -}; - -struct pcpu_freelist_node { - struct pcpu_freelist_node *next; -}; - -struct htab_elem { - union { - struct hlist_nulls_node hash_node; - struct { - void *padding; - union { - struct pcpu_freelist_node fnode; - struct htab_elem *batch_flink; - }; - }; - }; - union { - void *ptr_to_pptr; - struct bpf_lru_node lru_node; - }; - u32 hash; - char key[0]; -}; - -struct hw_perf_event_extra { - u64 config; - unsigned int reg; - int alloc; - int idx; - long: 32; -}; - -struct hw_perf_event { - union { - struct { - u64 config; - u64 last_tag; - long unsigned int config_base; - long unsigned int event_base; - int event_base_rdpmc; - int idx; - int last_cpu; - int flags; - struct hw_perf_event_extra extra_reg; - struct hw_perf_event_extra branch_reg; - }; - struct { - struct hrtimer hrtimer; - }; - struct { - struct list_head tp_list; - }; - struct { - u64 pwr_acc; - u64 ptsc; - }; - struct { - u8 iommu_bank; - u8 iommu_cntr; - u16 padding; - long: 32; - u64 conf; - u64 conf1; - }; - }; - struct task_struct *target; - void *addr_filters; - long unsigned int addr_filters_gen; - int state; - local64_t prev_count; - u64 sample_period; - union { - struct { - u64 last_period; - local64_t period_left; - }; - struct { - u64 saved_metric; - u64 saved_slots; - }; - }; - u64 interrupts_seq; - u64 interrupts; - u64 freq_time_stamp; - u64 freq_count_stamp; -}; - -struct hw_port_info { - struct net_device *lower_dev; - u32 port_id; -}; - -struct hwtstamp_config { - int flags; - int tx_type; - int rx_filter; -}; - -struct timespec64 { - time64_t tv_sec; - long int tv_nsec; - long: 32; -}; - -struct iattr { - unsigned int ia_valid; - umode_t ia_mode; - union { - kuid_t ia_uid; - vfsuid_t ia_vfsuid; - }; - union { - kgid_t ia_gid; - vfsgid_t ia_vfsgid; - }; - loff_t ia_size; - struct timespec64 ia_atime; - struct timespec64 ia_mtime; - struct timespec64 ia_ctime; - struct file *ia_file; - long: 32; -}; - -struct icmp6_err { - int err; - int fatal; -}; - -struct icmp6_filter { - __u32 data[8]; -}; - -struct icmpv6_echo { - __be16 identifier; - __be16 sequence; -}; - -struct icmpv6_nd_advt { - __u32 reserved: 5; - __u32 override: 1; - __u32 solicited: 1; - __u32 router: 1; - __u32 reserved2: 24; -}; - -struct icmpv6_nd_ra { - __u8 hop_limit; - __u8 reserved: 3; - __u8 router_pref: 2; - __u8 home_agent: 1; - __u8 other: 1; - __u8 managed: 1; - __be16 rt_lifetime; -}; - -struct icmp6hdr { - __u8 icmp6_type; - __u8 icmp6_code; - __sum16 icmp6_cksum; - union { - __be32 un_data32[1]; - __be16 un_data16[2]; - __u8 un_data8[4]; - struct icmpv6_echo u_echo; - struct icmpv6_nd_advt u_nd_advt; - struct icmpv6_nd_ra u_nd_ra; - } icmp6_dataun; -}; - -struct icmphdr { - __u8 type; - __u8 code; - __sum16 checksum; - union { - struct { - __be16 id; - __be16 sequence; - } echo; - __be32 gateway; - struct { - __be16 __unused; - __be16 mtu; - } frag; - __u8 reserved[4]; - } un; -}; - -struct ip_options { - __be32 faddr; - __be32 nexthop; - unsigned char optlen; - unsigned char srr; - unsigned char rr; - unsigned char ts; - unsigned char is_strictroute: 1; - unsigned char srr_is_hit: 1; - unsigned char is_changed: 1; - unsigned char rr_needaddr: 1; - unsigned char ts_needtime: 1; - unsigned char ts_needaddr: 1; - unsigned char router_alert; - unsigned char cipso; - unsigned char __pad2; - unsigned char __data[0]; -}; - -struct ip_options_rcu { - struct callback_head rcu; - struct ip_options opt; -}; - -struct ip_options_data { - struct ip_options_rcu opt; - char data[40]; -}; - -struct icmp_bxm { - struct sk_buff *skb; - int offset; - int data_len; - struct { - struct icmphdr icmph; - __be32 times[3]; - } data; - int head_len; - struct ip_options_data replyopts; -}; - -struct icmp_control { - enum skb_drop_reason (*handler)(struct sk_buff *); - short int error; -}; - -struct icmp_err { - int errno; - unsigned int fatal: 1; -}; - -struct icmp_ext_echo_ctype3_hdr { - __be16 afi; - __u8 addrlen; - __u8 reserved; -}; - -struct icmp_extobj_hdr { - __be16 length; - __u8 class_num; - __u8 class_type; -}; - -struct icmp_ext_echo_iio { - struct icmp_extobj_hdr extobj_hdr; - union { - char name[16]; - __be32 ifindex; - struct { - struct icmp_ext_echo_ctype3_hdr ctype3_hdr; - union { - __be32 ipv4_addr; - struct in6_addr ipv6_addr; - } ip_addr; - } addr; - } ident; -}; - -struct icmp_ext_hdr { - __u8 reserved1: 4; - __u8 version: 4; - __u8 reserved2; - __sum16 checksum; -}; - -struct icmp_filter { - __u32 data; -}; - -struct icmp_mib { - long unsigned int mibs[30]; -}; - -struct icmpmsg_mib { - atomic_long_t mibs[512]; -}; - -struct icmpv6_mib { - long unsigned int mibs[7]; -}; - -struct icmpv6_mib_device { - atomic_long_t mibs[7]; -}; - -struct icmpv6_msg { - struct sk_buff *skb; - int offset; - uint8_t type; -}; - -struct icmpv6msg_mib { - atomic_long_t mibs[512]; -}; - -struct icmpv6msg_mib_device { - atomic_long_t mibs[512]; -}; - -struct ida { - struct xarray xa; -}; - -struct ida_bitmap { - long unsigned int bitmap[32]; -}; - -struct idempotent { - const void *cookie; - struct hlist_node entry; - struct completion complete; - int ret; -}; - -struct idle_timer { - struct hrtimer timer; - int done; - long: 32; -}; - -struct idr { - struct xarray idr_rt; - unsigned int idr_base; - unsigned int idr_next; -}; - -struct if_settings { - unsigned int type; - unsigned int size; - union { - raw_hdlc_proto *raw_hdlc; - cisco_proto *cisco; - fr_proto *fr; - fr_proto_pvc *fr_pvc; - fr_proto_pvc_info *fr_pvc_info; - x25_hdlc_proto *x25; - sync_serial_settings *sync; - te1_settings *te1; - } ifs_ifsu; -}; - -struct if_stats_msg { - __u8 family; - __u8 pad1; - __u16 pad2; - __u32 ifindex; - __u32 filter_mask; -}; - -struct ifa6_config { - const struct in6_addr *pfx; - unsigned int plen; - u8 ifa_proto; - const struct in6_addr *peer_pfx; - u32 rt_priority; - u32 ifa_flags; - u32 preferred_lft; - u32 valid_lft; - u16 scope; -}; - -struct ifa_cacheinfo { - __u32 ifa_prefered; - __u32 ifa_valid; - __u32 cstamp; - __u32 tstamp; -}; - -struct ifacaddr6 { - struct in6_addr aca_addr; - struct fib6_info *aca_rt; - struct ifacaddr6 *aca_next; - struct hlist_node aca_addr_lst; - int aca_users; - refcount_t aca_refcnt; - long unsigned int aca_cstamp; - long unsigned int aca_tstamp; - struct callback_head rcu; -}; - -struct ifaddrlblmsg { - __u8 ifal_family; - __u8 __ifal_reserved; - __u8 ifal_prefixlen; - __u8 ifal_flags; - __u32 ifal_index; - __u32 ifal_seq; -}; - -struct ifaddrmsg { - __u8 ifa_family; - __u8 ifa_prefixlen; - __u8 ifa_flags; - __u8 ifa_scope; - __u32 ifa_index; -}; - -struct ifbond { - __s32 bond_mode; - __s32 num_slaves; - __s32 miimon; -}; - -typedef struct ifbond ifbond; - -struct ifreq; - -struct ifconf { - int ifc_len; - union { - char *ifcu_buf; - struct ifreq *ifcu_req; - } ifc_ifcu; -}; - -struct ifinfomsg { - unsigned char ifi_family; - unsigned char __ifi_pad; - short unsigned int ifi_type; - int ifi_index; - unsigned int ifi_flags; - unsigned int ifi_change; -}; - -struct ifla_cacheinfo { - __u32 max_reasm_len; - __u32 tstamp; - __u32 reachable_time; - __u32 retrans_time; -}; - -struct ifla_vf_broadcast { - __u8 broadcast[32]; -}; - -struct ifla_vf_guid { - __u32 vf; - long: 32; - __u64 guid; -}; - -struct ifla_vf_info { - __u32 vf; - __u8 mac[32]; - __u32 vlan; - __u32 qos; - __u32 spoofchk; - __u32 linkstate; - __u32 min_tx_rate; - __u32 max_tx_rate; - __u32 rss_query_en; - __u32 trusted; - __be16 vlan_proto; -}; - -struct ifla_vf_link_state { - __u32 vf; - __u32 link_state; -}; - -struct ifla_vf_mac { - __u32 vf; - __u8 mac[32]; -}; - -struct ifla_vf_rate { - __u32 vf; - __u32 min_tx_rate; - __u32 max_tx_rate; -}; - -struct ifla_vf_rss_query_en { - __u32 vf; - __u32 setting; -}; - -struct ifla_vf_spoofchk { - __u32 vf; - __u32 setting; -}; - -struct ifla_vf_stats { - __u64 rx_packets; - __u64 tx_packets; - __u64 rx_bytes; - __u64 tx_bytes; - __u64 broadcast; - __u64 multicast; - __u64 rx_dropped; - __u64 tx_dropped; -}; - -struct ifla_vf_trust { - __u32 vf; - __u32 setting; -}; - -struct ifla_vf_tx_rate { - __u32 vf; - __u32 rate; -}; - -struct ifla_vf_vlan { - __u32 vf; - __u32 vlan; - __u32 qos; -}; - -struct ifla_vf_vlan_info { - __u32 vf; - __u32 vlan; - __u32 qos; - __be16 vlan_proto; -}; - -struct ifmap { - long unsigned int mem_start; - long unsigned int mem_end; - short unsigned int base_addr; - unsigned char irq; - unsigned char dma; - unsigned char port; -}; - -struct inet6_dev; - -struct ip6_sf_list; - -struct ifmcaddr6 { - struct in6_addr mca_addr; - struct inet6_dev *idev; - struct ifmcaddr6 *next; - struct ip6_sf_list *mca_sources; - struct ip6_sf_list *mca_tomb; - unsigned int mca_sfmode; - unsigned char mca_crcount; - long unsigned int mca_sfcount[2]; - struct delayed_work mca_work; - unsigned int mca_flags; - int mca_users; - refcount_t mca_refcnt; - long unsigned int mca_cstamp; - long unsigned int mca_tstamp; - struct callback_head rcu; -}; - -struct ifreq { - union { - char ifrn_name[16]; - } ifr_ifrn; - union { - struct sockaddr ifru_addr; - struct sockaddr ifru_dstaddr; - struct sockaddr ifru_broadaddr; - struct sockaddr ifru_netmask; - struct sockaddr ifru_hwaddr; - short int ifru_flags; - int ifru_ivalue; - int ifru_mtu; - struct ifmap ifru_map; - char ifru_slave[16]; - char ifru_newname[16]; - void *ifru_data; - struct if_settings ifru_settings; - } ifr_ifru; -}; - -struct ifslave { - __s32 slave_id; - char slave_name[16]; - __s8 link; - __s8 state; - __u32 link_failure_count; -}; - -typedef struct ifslave ifslave; - -struct igmphdr { - __u8 type; - __u8 code; - __sum16 csum; - __be32 group; -}; - -struct in6_flowlabel_req { - struct in6_addr flr_dst; - __be32 flr_label; - __u8 flr_action; - __u8 flr_share; - __u16 flr_flags; - __u16 flr_expires; - __u16 flr_linger; - __u32 __flr_pad; -}; - -struct in6_ifreq { - struct in6_addr ifr6_addr; - __u32 ifr6_prefixlen; - int ifr6_ifindex; -}; - -struct in6_pktinfo { - struct in6_addr ipi6_addr; - int ipi6_ifindex; -}; - -struct in6_rtmsg { - struct in6_addr rtmsg_dst; - struct in6_addr rtmsg_src; - struct in6_addr rtmsg_gateway; - __u32 rtmsg_type; - __u16 rtmsg_dst_len; - __u16 rtmsg_src_len; - __u32 rtmsg_metric; - long unsigned int rtmsg_info; - __u32 rtmsg_flags; - int rtmsg_ifindex; -}; - -struct in6_validator_info { - struct in6_addr i6vi_addr; - struct inet6_dev *i6vi_dev; - struct netlink_ext_ack *extack; -}; - -struct ipv4_devconf { - void *sysctl; - int data[33]; - long unsigned int state[2]; -}; - -struct in_ifaddr; - -struct ip_mc_list; - -struct neigh_parms; - -struct in_device { - struct net_device *dev; - netdevice_tracker dev_tracker; - refcount_t refcnt; - int dead; - struct in_ifaddr *ifa_list; - struct ip_mc_list *mc_list; - struct ip_mc_list **mc_hash; - int mc_count; - spinlock_t mc_tomb_lock; - struct ip_mc_list *mc_tomb; - long unsigned int mr_v1_seen; - long unsigned int mr_v2_seen; - long unsigned int mr_maxdelay; - long unsigned int mr_qi; - long unsigned int mr_qri; - unsigned char mr_qrv; - unsigned char mr_gq_running; - u32 mr_ifc_count; - struct timer_list mr_gq_timer; - struct timer_list mr_ifc_timer; - struct neigh_parms *arp_parms; - struct ipv4_devconf cnf; - struct callback_head callback_head; -}; - -struct in_ifaddr { - struct hlist_node hash; - struct in_ifaddr *ifa_next; - struct in_device *ifa_dev; - struct callback_head callback_head; - __be32 ifa_local; - __be32 ifa_address; - __be32 ifa_mask; - __u32 ifa_rt_priority; - __be32 ifa_broadcast; - unsigned char ifa_scope; - unsigned char ifa_prefixlen; - unsigned char ifa_proto; - __u32 ifa_flags; - char ifa_label[16]; - __u32 ifa_valid_lft; - __u32 ifa_preferred_lft; - long unsigned int ifa_cstamp; - long unsigned int ifa_tstamp; -}; - -struct in_pktinfo { - int ipi_ifindex; - struct in_addr ipi_spec_dst; - struct in_addr ipi_addr; -}; - -struct in_validator_info { - __be32 ivi_addr; - struct in_device *ivi_dev; - struct netlink_ext_ack *extack; -}; - -struct ipv6_txoptions; - -struct inet6_cork { - struct ipv6_txoptions *opt; - u8 hop_limit; - u8 tclass; -}; - -struct ipv6_stable_secret { - bool initialized; - struct in6_addr secret; -}; - -struct ipv6_devconf { - __s32 forwarding; - __s32 hop_limit; - __s32 mtu6; - __s32 accept_ra; - __s32 accept_redirects; - __s32 autoconf; - __s32 dad_transmits; - __s32 rtr_solicits; - __s32 rtr_solicit_interval; - __s32 rtr_solicit_max_interval; - __s32 rtr_solicit_delay; - __s32 force_mld_version; - __s32 mldv1_unsolicited_report_interval; - __s32 mldv2_unsolicited_report_interval; - __s32 use_tempaddr; - __s32 temp_valid_lft; - __s32 temp_prefered_lft; - __s32 regen_max_retry; - __s32 max_desync_factor; - __s32 max_addresses; - __s32 accept_ra_defrtr; - __u32 ra_defrtr_metric; - __s32 accept_ra_min_hop_limit; - __s32 accept_ra_min_lft; - __s32 accept_ra_pinfo; - __s32 ignore_routes_with_linkdown; - __s32 proxy_ndp; - __s32 accept_source_route; - __s32 accept_ra_from_local; - __s32 disable_ipv6; - __s32 drop_unicast_in_l2_multicast; - __s32 accept_dad; - __s32 force_tllao; - __s32 ndisc_notify; - __s32 suppress_frag_ndisc; - __s32 accept_ra_mtu; - __s32 drop_unsolicited_na; - __s32 accept_untracked_na; - struct ipv6_stable_secret stable_secret; - __s32 use_oif_addrs_only; - __s32 keep_addr_on_down; - __s32 seg6_enabled; - __u32 enhanced_dad; - __u32 addr_gen_mode; - __s32 disable_policy; - __s32 ndisc_tclass; - __s32 rpl_seg_enabled; - __u32 ioam6_id; - __u32 ioam6_id_wide; - __u8 ioam6_enabled; - __u8 ndisc_evict_nocarrier; - struct ctl_table_header *sysctl_header; -}; - -struct proc_dir_entry; - -struct ipstats_mib; - -struct ipv6_devstat { - struct proc_dir_entry *proc_dir_entry; - struct ipstats_mib *ipv6; - struct icmpv6_mib_device *icmpv6dev; - struct icmpv6msg_mib_device *icmpv6msgdev; -}; - -struct inet6_dev { - struct net_device *dev; - netdevice_tracker dev_tracker; - struct list_head addr_list; - struct ifmcaddr6 *mc_list; - struct ifmcaddr6 *mc_tomb; - unsigned char mc_qrv; - unsigned char mc_gq_running; - unsigned char mc_ifc_count; - unsigned char mc_dad_count; - long unsigned int mc_v1_seen; - long unsigned int mc_qi; - long unsigned int mc_qri; - long unsigned int mc_maxdelay; - struct delayed_work mc_gq_work; - struct delayed_work mc_ifc_work; - struct delayed_work mc_dad_work; - struct delayed_work mc_query_work; - struct delayed_work mc_report_work; - struct sk_buff_head mc_query_queue; - struct sk_buff_head mc_report_queue; - spinlock_t mc_query_lock; - spinlock_t mc_report_lock; - struct mutex mc_lock; - struct ifacaddr6 *ac_list; - rwlock_t lock; - refcount_t refcnt; - __u32 if_flags; - int dead; - u32 desync_factor; - struct list_head tempaddr_list; - struct in6_addr token; - struct neigh_parms *nd_parms; - struct ipv6_devconf cnf; - struct ipv6_devstat stats; - struct timer_list rs_timer; - __s32 rs_interval; - __u8 rs_probes; - long unsigned int tstamp; - struct callback_head rcu; - unsigned int ra_mtu; -}; - -struct inet6_fill_args { - u32 portid; - u32 seq; - int event; - unsigned int flags; - int netnsid; - int ifindex; - enum addr_type_t type; -}; - -struct inet6_ifaddr { - struct in6_addr addr; - __u32 prefix_len; - __u32 rt_priority; - __u32 valid_lft; - __u32 prefered_lft; - refcount_t refcnt; - spinlock_t lock; - int state; - __u32 flags; - __u8 dad_probes; - __u8 stable_privacy_retry; - __u16 scope; - __u64 dad_nonce; - long unsigned int cstamp; - long unsigned int tstamp; - struct delayed_work dad_work; - struct inet6_dev *idev; - struct fib6_info *rt; - struct hlist_node addr_lst; - struct list_head if_list; - struct list_head if_list_aux; - struct list_head tmp_list; - struct inet6_ifaddr *ifpub; - int regen_count; - bool tokenized; - u8 ifa_proto; - struct callback_head rcu; - struct in6_addr peer_addr; -}; - -struct inet6_skb_parm; - -struct inet6_protocol { - int (*handler)(struct sk_buff *); - int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int, __be32); - unsigned int flags; -}; - -struct inet6_skb_parm { - int iif; - __be16 ra; - __u16 dst0; - __u16 srcrt; - __u16 dst1; - __u16 lastopt; - __u16 nhoff; - __u16 flags; - __u16 frag_max_size; - __u16 srhoff; -}; - -struct inet_bind2_bucket { - possible_net_t ib_net; - int l3mdev; - short unsigned int port; - short unsigned int family; - union { - struct in6_addr v6_rcv_saddr; - __be32 rcv_saddr; - }; - struct hlist_node node; - struct hlist_head owners; - struct hlist_head deathrow; -}; - -struct inet_bind_bucket { - possible_net_t ib_net; - int l3mdev; - short unsigned int port; - signed char fastreuse; - signed char fastreuseport; - kuid_t fastuid; - struct in6_addr fast_v6_rcv_saddr; - __be32 fast_rcv_saddr; - short unsigned int fast_sk_family; - bool fast_ipv6_only; - struct hlist_node node; - struct hlist_head owners; -}; - -struct inet_bind_hashbucket { - spinlock_t lock; - struct hlist_head chain; -}; - -struct proto; - -struct inet_timewait_death_row; - -struct sock_common { - union { - __addrpair skc_addrpair; - struct { - __be32 skc_daddr; - __be32 skc_rcv_saddr; - }; - }; - union { - unsigned int skc_hash; - __u16 skc_u16hashes[2]; - }; - union { - __portpair skc_portpair; - struct { - __be16 skc_dport; - __u16 skc_num; - }; - }; - short unsigned int skc_family; - volatile unsigned char skc_state; - unsigned char skc_reuse: 4; - unsigned char skc_reuseport: 1; - unsigned char skc_ipv6only: 1; - unsigned char skc_net_refcnt: 1; - int skc_bound_dev_if; - union { - struct hlist_node skc_bind_node; - struct hlist_node skc_portaddr_node; - }; - struct proto *skc_prot; - possible_net_t skc_net; - struct in6_addr skc_v6_daddr; - struct in6_addr skc_v6_rcv_saddr; - long: 32; - atomic64_t skc_cookie; - union { - long unsigned int skc_flags; - struct sock *skc_listener; - struct inet_timewait_death_row *skc_tw_dr; - }; - int skc_dontcopy_begin[0]; - union { - struct hlist_node skc_node; - struct hlist_nulls_node skc_nulls_node; - }; - short unsigned int skc_tx_queue_mapping; - union { - int skc_incoming_cpu; - u32 skc_rcv_wnd; - u32 skc_tw_rcv_nxt; - }; - refcount_t skc_refcnt; - int skc_dontcopy_end[0]; - union { - u32 skc_rxhash; - u32 skc_window_clamp; - u32 skc_tw_snd_nxt; - }; - long: 32; -}; - -struct page_frag { - struct page *page; - __u16 offset; - __u16 size; -}; - -struct sock_cgroup_data {}; - -struct mem_cgroup; - -struct sk_filter; - -struct socket_wq; - -struct socket; - -struct sock_reuseport; - -struct sock { - struct sock_common __sk_common; - struct dst_entry *sk_rx_dst; - int sk_rx_dst_ifindex; - u32 sk_rx_dst_cookie; - socket_lock_t sk_lock; - atomic_t sk_drops; - int sk_rcvlowat; - struct sk_buff_head sk_error_queue; - struct sk_buff_head sk_receive_queue; - struct { - atomic_t rmem_alloc; - int len; - struct sk_buff *head; - struct sk_buff *tail; - } sk_backlog; - int sk_forward_alloc; - u32 sk_reserved_mem; - unsigned int sk_ll_usec; - unsigned int sk_napi_id; - int sk_rcvbuf; - int sk_disconnects; - struct sk_filter *sk_filter; - union { - struct socket_wq *sk_wq; - struct socket_wq *sk_wq_raw; - }; - struct dst_entry *sk_dst_cache; - atomic_t sk_omem_alloc; - int sk_sndbuf; - int sk_wmem_queued; - refcount_t sk_wmem_alloc; - long unsigned int sk_tsq_flags; - union { - struct sk_buff *sk_send_head; - struct rb_root tcp_rtx_queue; - }; - struct sk_buff_head sk_write_queue; - __s32 sk_peek_off; - int sk_write_pending; - __u32 sk_dst_pending_confirm; - u32 sk_pacing_status; - long int sk_sndtimeo; - struct timer_list sk_timer; - __u32 sk_priority; - __u32 sk_mark; - long unsigned int sk_pacing_rate; - long unsigned int sk_max_pacing_rate; - struct page_frag sk_frag; - netdev_features_t sk_route_caps; - int sk_gso_type; - unsigned int sk_gso_max_size; - gfp_t sk_allocation; - __u32 sk_txhash; - u8 sk_gso_disabled: 1; - u8 sk_kern_sock: 1; - u8 sk_no_check_tx: 1; - u8 sk_no_check_rx: 1; - u8 sk_userlocks: 4; - u8 sk_pacing_shift; - u16 sk_type; - u16 sk_protocol; - u16 sk_gso_max_segs; - long unsigned int sk_lingertime; - struct proto *sk_prot_creator; - rwlock_t sk_callback_lock; - int sk_err; - int sk_err_soft; - u32 sk_ack_backlog; - u32 sk_max_ack_backlog; - kuid_t sk_uid; - u8 sk_txrehash; - u8 sk_prefer_busy_poll; - u16 sk_busy_poll_budget; - spinlock_t sk_peer_lock; - int sk_bind_phc; - struct pid *sk_peer_pid; - const struct cred *sk_peer_cred; - long int sk_rcvtimeo; - ktime_t sk_stamp; - seqlock_t sk_stamp_seq; - atomic_t sk_tskey; - atomic_t sk_zckey; - u32 sk_tsflags; - u8 sk_shutdown; - u8 sk_clockid; - u8 sk_txtime_deadline_mode: 1; - u8 sk_txtime_report_errors: 1; - u8 sk_txtime_unused: 6; - bool sk_use_task_frag; - struct socket *sk_socket; - void *sk_user_data; - struct sock_cgroup_data sk_cgrp_data; - struct mem_cgroup *sk_memcg; - void (*sk_state_change)(struct sock *); - void (*sk_data_ready)(struct sock *); - void (*sk_write_space)(struct sock *); - void (*sk_error_report)(struct sock *); - int (*sk_backlog_rcv)(struct sock *, struct sk_buff *); - void (*sk_destruct)(struct sock *); - struct sock_reuseport *sk_reuseport_cb; - struct bpf_local_storage *sk_bpf_storage; - struct callback_head sk_rcu; - netns_tracker ns_tracker; - struct hlist_node sk_bind2_node; -}; - -struct inet_cork { - unsigned int flags; - __be32 addr; - struct ip_options *opt; - unsigned int fragsize; - int length; - struct dst_entry *dst; - u8 tx_flags; - __u8 ttl; - __s16 tos; - char priority; - __u16 gso_size; - u64 transmit_time; - u32 mark; - long: 32; -}; - -struct inet_cork_full { - struct inet_cork base; - struct flowi fl; -}; - -struct ipv6_pinfo; - -struct ip_mc_socklist; - -struct inet_sock { - struct sock sk; - struct ipv6_pinfo *pinet6; - long unsigned int inet_flags; - __be32 inet_saddr; - __s16 uc_ttl; - __be16 inet_sport; - struct ip_options_rcu *inet_opt; - atomic_t inet_id; - __u8 tos; - __u8 min_ttl; - __u8 mc_ttl; - __u8 pmtudisc; - __u8 rcv_tos; - __u8 convert_csum; - int uc_index; - int mc_index; - __be32 mc_addr; - struct { - __u16 lo; - __u16 hi; - } local_port_range; - struct ip_mc_socklist *mc_list; - long: 32; - struct inet_cork_full cork; -}; - -struct request_sock_queue { - spinlock_t rskq_lock; - u8 rskq_defer_accept; - u32 synflood_warned; - atomic_t qlen; - atomic_t young; - struct request_sock *rskq_accept_head; - struct request_sock *rskq_accept_tail; - struct fastopen_queue fastopenq; -}; - -struct inet_connection_sock_af_ops; - -struct tcp_ulp_ops; - -struct inet_connection_sock { - struct inet_sock icsk_inet; - struct request_sock_queue icsk_accept_queue; - struct inet_bind_bucket *icsk_bind_hash; - struct inet_bind2_bucket *icsk_bind2_hash; - long unsigned int icsk_timeout; - struct timer_list icsk_retransmit_timer; - struct timer_list icsk_delack_timer; - __u32 icsk_rto; - __u32 icsk_rto_min; - __u32 icsk_delack_max; - __u32 icsk_pmtu_cookie; - const struct tcp_congestion_ops *icsk_ca_ops; - const struct inet_connection_sock_af_ops *icsk_af_ops; - const struct tcp_ulp_ops *icsk_ulp_ops; - void *icsk_ulp_data; - void (*icsk_clean_acked)(struct sock *, u32); - unsigned int (*icsk_sync_mss)(struct sock *, u32); - __u8 icsk_ca_state: 5; - __u8 icsk_ca_initialized: 1; - __u8 icsk_ca_setsockopt: 1; - __u8 icsk_ca_dst_locked: 1; - __u8 icsk_retransmits; - __u8 icsk_pending; - __u8 icsk_backoff; - __u8 icsk_syn_retries; - __u8 icsk_probes_out; - __u16 icsk_ext_hdr_len; - struct { - __u8 pending; - __u8 quick; - __u8 pingpong; - __u8 retry; - __u32 ato; - long unsigned int timeout; - __u32 lrcvtime; - __u16 last_seg_size; - __u16 rcv_mss; - } icsk_ack; - struct { - int search_high; - int search_low; - u32 probe_size: 31; - u32 enabled: 1; - u32 probe_timestamp; - } icsk_mtup; - u32 icsk_probes_tstamp; - u32 icsk_user_timeout; - long: 32; - u64 icsk_ca_priv[13]; -}; - -struct inet_connection_sock_af_ops { - int (*queue_xmit)(struct sock *, struct sk_buff *, struct flowi *); - void (*send_check)(struct sock *, struct sk_buff *); - int (*rebuild_header)(struct sock *); - void (*sk_rx_dst_set)(struct sock *, const struct sk_buff *); - int (*conn_request)(struct sock *, struct sk_buff *); - struct sock * (*syn_recv_sock)(const struct sock *, struct sk_buff *, struct request_sock *, struct dst_entry *, struct request_sock *, bool *); - u16 net_header_len; - u16 net_frag_header_len; - u16 sockaddr_len; - int (*setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); - int (*getsockopt)(struct sock *, int, int, char *, int *); - void (*addr2sockaddr)(struct sock *, struct sockaddr *); - void (*mtu_reduced)(struct sock *); -}; - -struct inet_diag_bc_op { - unsigned char code; - unsigned char yes; - short unsigned int no; -}; - -struct bpf_sk_storage_diag; - -struct inet_diag_dump_data { - struct nlattr *req_nlas[4]; - struct bpf_sk_storage_diag *bpf_stg_diag; -}; - -struct inet_diag_entry { - const __be32 *saddr; - const __be32 *daddr; - u16 sport; - u16 dport; - u16 family; - u16 userlocks; - u32 ifindex; - u32 mark; -}; - -struct inet_diag_req_v2; - -struct inet_diag_msg; - -struct inet_diag_handler { - void (*dump)(struct sk_buff *, struct netlink_callback *, const struct inet_diag_req_v2 *); - int (*dump_one)(struct netlink_callback *, const struct inet_diag_req_v2 *); - void (*idiag_get_info)(struct sock *, struct inet_diag_msg *, void *); - int (*idiag_get_aux)(struct sock *, bool, struct sk_buff *); - size_t (*idiag_get_aux_size)(struct sock *, bool); - int (*destroy)(struct sk_buff *, const struct inet_diag_req_v2 *); - __u16 idiag_type; - __u16 idiag_info_size; -}; - -struct inet_diag_hostcond { - __u8 family; - __u8 prefix_len; - int port; - __be32 addr[0]; -}; - -struct inet_diag_markcond { - __u32 mark; - __u32 mask; -}; - -struct inet_diag_meminfo { - __u32 idiag_rmem; - __u32 idiag_wmem; - __u32 idiag_fmem; - __u32 idiag_tmem; -}; - -struct inet_diag_sockid { - __be16 idiag_sport; - __be16 idiag_dport; - __be32 idiag_src[4]; - __be32 idiag_dst[4]; - __u32 idiag_if; - __u32 idiag_cookie[2]; -}; - -struct inet_diag_msg { - __u8 idiag_family; - __u8 idiag_state; - __u8 idiag_timer; - __u8 idiag_retrans; - struct inet_diag_sockid id; - __u32 idiag_expires; - __u32 idiag_rqueue; - __u32 idiag_wqueue; - __u32 idiag_uid; - __u32 idiag_inode; -}; - -struct inet_diag_req { - __u8 idiag_family; - __u8 idiag_src_len; - __u8 idiag_dst_len; - __u8 idiag_ext; - struct inet_diag_sockid id; - __u32 idiag_states; - __u32 idiag_dbs; -}; - -struct inet_diag_req_v2 { - __u8 sdiag_family; - __u8 sdiag_protocol; - __u8 idiag_ext; - __u8 pad; - __u32 idiag_states; - struct inet_diag_sockid id; -}; - -struct inet_diag_sockopt { - __u8 recverr: 1; - __u8 is_icsk: 1; - __u8 freebind: 1; - __u8 hdrincl: 1; - __u8 mc_loop: 1; - __u8 transparent: 1; - __u8 mc_all: 1; - __u8 nodefrag: 1; - __u8 bind_address_no_port: 1; - __u8 recverr_rfc4884: 1; - __u8 defer_connect: 1; - __u8 unused: 5; -}; - -struct inet_ehash_bucket { - struct hlist_nulls_head chain; -}; - -struct inet_fill_args { - u32 portid; - u32 seq; - int event; - unsigned int flags; - int netnsid; - int ifindex; -}; - -struct inet_frags { - unsigned int qsize; - void (*constructor)(struct inet_frag_queue *, const void *); - void (*destructor)(struct inet_frag_queue *); - void (*frag_expire)(struct timer_list *); - struct kmem_cache *frags_cachep; - const char *frags_cache_name; - struct rhashtable_params rhash_params; - refcount_t refcnt; - struct completion completion; -}; - -struct inet_listen_hashbucket; - -struct inet_hashinfo { - struct inet_ehash_bucket *ehash; - spinlock_t *ehash_locks; - unsigned int ehash_mask; - unsigned int ehash_locks_mask; - struct kmem_cache *bind_bucket_cachep; - struct inet_bind_hashbucket *bhash; - struct kmem_cache *bind2_bucket_cachep; - struct inet_bind_hashbucket *bhash2; - unsigned int bhash_size; - unsigned int lhash2_mask; - struct inet_listen_hashbucket *lhash2; - bool pernet; -}; - -struct inet_listen_hashbucket { - spinlock_t lock; - struct hlist_nulls_head nulls_head; -}; - -struct ipv4_addr_key { - __be32 addr; - int vif; -}; - -struct inetpeer_addr { - union { - struct ipv4_addr_key a4; - struct in6_addr a6; - u32 key[4]; - }; - __u16 family; -}; - -struct inet_peer { - struct rb_node rb_node; - struct inetpeer_addr daddr; - u32 metrics[17]; - u32 rate_tokens; - u32 n_redirects; - long unsigned int rate_last; - union { - struct { - atomic_t rid; - }; - struct callback_head rcu; - }; - __u32 dtime; - refcount_t refcnt; -}; - -struct proto_ops; - -struct inet_protosw { - struct list_head list; - short unsigned int type; - short unsigned int protocol; - struct proto *prot; - const struct proto_ops *ops; - unsigned char flags; -}; - -struct request_sock_ops; - -struct saved_syn; - -struct request_sock { - struct sock_common __req_common; - struct request_sock *dl_next; - u16 mss; - u8 num_retrans; - u8 syncookie: 1; - u8 num_timeout: 7; - u32 ts_recent; - struct timer_list rsk_timer; - const struct request_sock_ops *rsk_ops; - struct sock *sk; - struct saved_syn *saved_syn; - u32 secid; - u32 peer_secid; - u32 timeout; -}; - -struct inet_request_sock { - struct request_sock req; - u16 snd_wscale: 4; - u16 rcv_wscale: 4; - u16 tstamp_ok: 1; - u16 sack_ok: 1; - u16 wscale_ok: 1; - u16 ecn_ok: 1; - u16 acked: 1; - u16 no_srccheck: 1; - u16 smc_ok: 1; - u32 ir_mark; - union { - struct ip_options_rcu *ireq_opt; - struct { - struct ipv6_txoptions *ipv6_opt; - struct sk_buff *pktopts; - }; - }; -}; - -struct inet_skb_parm { - int iif; - struct ip_options opt; - u16 flags; - u16 frag_max_size; -}; - -struct inet_timewait_death_row { - refcount_t tw_refcount; - struct inet_hashinfo *hashinfo; - int sysctl_max_tw_buckets; -}; - -struct inet_timewait_sock { - struct sock_common __tw_common; - __u32 tw_mark; - volatile unsigned char tw_substate; - unsigned char tw_rcv_wscale; - __be16 tw_sport; - unsigned int tw_transparent: 1; - unsigned int tw_flowlabel: 20; - unsigned int tw_pad: 3; - unsigned int tw_tos: 8; - u32 tw_txhash; - u32 tw_priority; - struct timer_list tw_timer; - struct inet_bind_bucket *tw_tb; - struct inet_bind2_bucket *tw_tb2; - struct hlist_node tw_bind2_node; -}; - -struct inode_operations; - -struct inode { - umode_t i_mode; - short unsigned int i_opflags; - kuid_t i_uid; - kgid_t i_gid; - unsigned int i_flags; - const struct inode_operations *i_op; - struct super_block *i_sb; - struct address_space *i_mapping; - long unsigned int i_ino; - union { - const unsigned int i_nlink; - unsigned int __i_nlink; - }; - dev_t i_rdev; - loff_t i_size; - struct timespec64 i_atime; - struct timespec64 i_mtime; - struct timespec64 __i_ctime; - spinlock_t i_lock; - short unsigned int i_bytes; - u8 i_blkbits; - u8 i_write_hint; - long: 32; - blkcnt_t i_blocks; - long unsigned int i_state; - struct rw_semaphore i_rwsem; - long unsigned int dirtied_when; - long unsigned int dirtied_time_when; - struct hlist_node i_hash; - struct list_head i_io_list; - struct list_head i_lru; - struct list_head i_sb_list; - struct list_head i_wb_list; - union { - struct hlist_head i_dentry; - struct callback_head i_rcu; - }; - long: 32; - atomic64_t i_version; - atomic64_t i_sequence; - atomic_t i_count; - atomic_t i_dio_count; - atomic_t i_writecount; - union { - const struct file_operations *i_fop; - void (*free_inode)(struct inode *); - }; - struct file_lock_context *i_flctx; - struct address_space i_data; - struct list_head i_devices; - union { - struct pipe_inode_info *i_pipe; - struct cdev *i_cdev; - char *i_link; - unsigned int i_dir_seq; - }; - __u32 i_generation; - void *i_private; - long: 32; -}; - -struct mnt_idmap; - -struct posix_acl; - -struct kstat; - -struct offset_ctx; - -struct inode_operations { - struct dentry * (*lookup)(struct inode *, struct dentry *, unsigned int); - const char * (*get_link)(struct dentry *, struct inode *, struct delayed_call *); - int (*permission)(struct mnt_idmap *, struct inode *, int); - struct posix_acl * (*get_inode_acl)(struct inode *, int, bool); - int (*readlink)(struct dentry *, char *, int); - int (*create)(struct mnt_idmap *, struct inode *, struct dentry *, umode_t, bool); - int (*link)(struct dentry *, struct inode *, struct dentry *); - int (*unlink)(struct inode *, struct dentry *); - int (*symlink)(struct mnt_idmap *, struct inode *, struct dentry *, const char *); - int (*mkdir)(struct mnt_idmap *, struct inode *, struct dentry *, umode_t); - int (*rmdir)(struct inode *, struct dentry *); - int (*mknod)(struct mnt_idmap *, struct inode *, struct dentry *, umode_t, dev_t); - int (*rename)(struct mnt_idmap *, struct inode *, struct dentry *, struct inode *, struct dentry *, unsigned int); - int (*setattr)(struct mnt_idmap *, struct dentry *, struct iattr *); - int (*getattr)(struct mnt_idmap *, const struct path *, struct kstat *, u32, unsigned int); - ssize_t (*listxattr)(struct dentry *, char *, size_t); - int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64, u64); - int (*update_time)(struct inode *, int); - int (*atomic_open)(struct inode *, struct dentry *, struct file *, unsigned int, umode_t); - int (*tmpfile)(struct mnt_idmap *, struct inode *, struct file *, umode_t); - struct posix_acl * (*get_acl)(struct mnt_idmap *, struct dentry *, int); - int (*set_acl)(struct mnt_idmap *, struct dentry *, struct posix_acl *, int); - int (*fileattr_set)(struct mnt_idmap *, struct dentry *, struct fileattr *); - int (*fileattr_get)(struct dentry *, struct fileattr *); - struct offset_ctx * (*get_offset_ctx)(struct inode *); - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct internal_container { - struct klist_node node; - struct attribute_container *cont; - long: 32; - struct device classdev; -}; - -struct request; - -struct io_comp_batch { - struct request *req_list; - bool need_ts; - void (*complete)(struct io_comp_batch *); -}; - -struct io_context { - atomic_long_t refcount; - atomic_t active_ref; - short unsigned int ioprio; -}; - -struct io_uring_sqe; - -struct io_uring_cmd { - struct file *file; - const struct io_uring_sqe *sqe; - union { - void (*task_work_cb)(struct io_uring_cmd *, unsigned int); - void *cookie; - }; - u32 cmd_op; - u32 flags; - u8 pdu[32]; -}; - -struct io_uring_sqe { - __u8 opcode; - __u8 flags; - __u16 ioprio; - __s32 fd; - union { - __u64 off; - __u64 addr2; - struct { - __u32 cmd_op; - __u32 __pad1; - }; - }; - union { - __u64 addr; - __u64 splice_off_in; - }; - __u32 len; - union { - __kernel_rwf_t rw_flags; - __u32 fsync_flags; - __u16 poll_events; - __u32 poll32_events; - __u32 sync_range_flags; - __u32 msg_flags; - __u32 timeout_flags; - __u32 accept_flags; - __u32 cancel_flags; - __u32 open_flags; - __u32 statx_flags; - __u32 fadvise_advice; - __u32 splice_flags; - __u32 rename_flags; - __u32 unlink_flags; - __u32 hardlink_flags; - __u32 xattr_flags; - __u32 msg_ring_flags; - __u32 uring_cmd_flags; - }; - __u64 user_data; - union { - __u16 buf_index; - __u16 buf_group; - }; - __u16 personality; - union { - __s32 splice_fd_in; - __u32 file_index; - struct { - __u16 addr_len; - __u16 __pad3[1]; - }; - }; - union { - struct { - __u64 addr3; - __u64 __pad2[1]; - }; - __u8 cmd[0]; - }; -}; - -struct ioam6_hdr { - __u8 opt_type; - __u8 opt_len; - char: 8; - __u8 type; -}; - -struct ioam6_schema; - -struct ioam6_namespace { - struct rhash_head head; - struct callback_head rcu; - struct ioam6_schema *schema; - __be16 id; - __be32 data; - __be64 data_wide; -}; - -struct ioam6_pernet_data { - struct mutex lock; - struct rhashtable namespaces; - struct rhashtable schemas; -}; - -struct ioam6_schema { - struct rhash_head head; - struct callback_head rcu; - struct ioam6_namespace *ns; - u32 id; - int len; - __be32 hdr; - u8 data[0]; -}; - -struct ioam6_trace_hdr { - __be16 namespace_id; - char: 2; - __u8 overflow: 1; - __u8 nodelen: 5; - __u8 remlen: 7; - union { - __be32 type_be32; - struct { - __u32 bit7: 1; - __u32 bit6: 1; - __u32 bit5: 1; - __u32 bit4: 1; - __u32 bit3: 1; - __u32 bit2: 1; - __u32 bit1: 1; - __u32 bit0: 1; - __u32 bit15: 1; - __u32 bit14: 1; - __u32 bit13: 1; - __u32 bit12: 1; - __u32 bit11: 1; - __u32 bit10: 1; - __u32 bit9: 1; - __u32 bit8: 1; - __u32 bit23: 1; - __u32 bit22: 1; - __u32 bit21: 1; - __u32 bit20: 1; - __u32 bit19: 1; - __u32 bit18: 1; - __u32 bit17: 1; - __u32 bit16: 1; - } type; - }; - __u8 data[0]; -}; - -struct iommu_group {}; - -struct iommu_ops {}; - -struct iovec { - void *iov_base; - __kernel_size_t iov_len; -}; - -struct kvec; - -struct iov_iter { - u8 iter_type; - bool copy_mc; - bool nofault; - bool data_source; - bool user_backed; - union { - size_t iov_offset; - int last_offset; - }; - union { - struct iovec __ubuf_iovec; - struct { - union { - const struct iovec *__iov; - const struct kvec *kvec; - const struct bio_vec *bvec; - struct xarray *xarray; - void *ubuf; - }; - size_t count; - }; - }; - long: 32; - union { - long unsigned int nr_segs; - loff_t xarray_start; - }; -}; - -struct iov_iter_state { - size_t iov_offset; - size_t count; - long unsigned int nr_segs; -}; - -struct ip6_flowlabel { - struct ip6_flowlabel *next; - __be32 label; - atomic_t users; - struct in6_addr dst; - struct ipv6_txoptions *opt; - long unsigned int linger; - struct callback_head rcu; - u8 share; - union { - struct pid *pid; - kuid_t uid; - } owner; - long unsigned int lastuse; - long unsigned int expires; - struct net *fl_net; -}; - -struct ip6_frag_state { - u8 *prevhdr; - unsigned int hlen; - unsigned int mtu; - unsigned int left; - int offset; - int ptr; - int hroom; - int troom; - __be32 frag_id; - u8 nexthdr; -}; - -struct ipv6hdr; - -struct ip6_fraglist_iter { - struct ipv6hdr *tmp_hdr; - struct sk_buff *frag; - int offset; - unsigned int hlen; - __be32 frag_id; - u8 nexthdr; -}; - -struct sockaddr_in6 { - short unsigned int sin6_family; - __be16 sin6_port; - __be32 sin6_flowinfo; - struct in6_addr sin6_addr; - __u32 sin6_scope_id; -}; - -struct ip6_mtuinfo { - struct sockaddr_in6 ip6m_addr; - __u32 ip6m_mtu; -}; - -struct ip6_ra_chain { - struct ip6_ra_chain *next; - struct sock *sk; - int sel; - void (*destructor)(struct sock *); -}; - -struct ip6_rt_info { - struct in6_addr daddr; - struct in6_addr saddr; - u_int32_t mark; -}; - -struct ip6_sf_list { - struct ip6_sf_list *sf_next; - struct in6_addr sf_addr; - long unsigned int sf_count[2]; - unsigned char sf_gsresp; - unsigned char sf_oldin; - unsigned char sf_crcount; - struct callback_head rcu; -}; - -struct ip6_sf_socklist { - unsigned int sl_max; - unsigned int sl_count; - struct callback_head rcu; - struct in6_addr sl_addr[0]; -}; - -struct ip_tunnel_encap; - -struct ip6_tnl_encap_ops { - size_t (*encap_hlen)(struct ip_tunnel_encap *); - int (*build_header)(struct sk_buff *, struct ip_tunnel_encap *, u8 *, struct flowi6 *); - int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int, __be32); -}; - -struct ip6addrlbl_entry { - struct in6_addr prefix; - int prefixlen; - int ifindex; - int addrtype; - u32 label; - struct hlist_node list; - struct callback_head rcu; -}; - -struct ip6addrlbl_init_table { - const struct in6_addr *prefix; - int prefixlen; - u32 label; -}; - -struct ip6rd_flowi { - struct flowi6 fl6; - struct in6_addr gateway; -}; - -struct ip_auth_hdr { - __u8 nexthdr; - __u8 hdrlen; - __be16 reserved; - __be32 spi; - __be32 seq_no; - __u8 auth_data[0]; -}; - -struct ip_esp_hdr { - __be32 spi; - __be32 seq_no; - __u8 enc_data[0]; -}; - -struct ip_frag_state { - bool DF; - unsigned int hlen; - unsigned int ll_rs; - unsigned int mtu; - unsigned int left; - int offset; - int ptr; - __be16 not_last_frag; -}; - -struct iphdr; - -struct ip_fraglist_iter { - struct sk_buff *frag; - struct iphdr *iph; - int offset; - unsigned int hlen; -}; - -struct ip_sf_list; - -struct ip_mc_list { - struct in_device *interface; - __be32 multiaddr; - unsigned int sfmode; - struct ip_sf_list *sources; - struct ip_sf_list *tomb; - long unsigned int sfcount[2]; - union { - struct ip_mc_list *next; - struct ip_mc_list *next_rcu; - }; - struct ip_mc_list *next_hash; - struct timer_list timer; - int users; - refcount_t refcnt; - spinlock_t lock; - char tm_running; - char reporter; - char unsolicit_count; - char loaded; - unsigned char gsquery; - unsigned char crcount; - struct callback_head rcu; -}; - -struct ip_mreqn { - struct in_addr imr_multiaddr; - struct in_addr imr_address; - int imr_ifindex; -}; - -struct ip_sf_socklist; - -struct ip_mc_socklist { - struct ip_mc_socklist *next_rcu; - struct ip_mreqn multi; - unsigned int sfmode; - struct ip_sf_socklist *sflist; - struct callback_head rcu; -}; - -struct ip_mreq_source { - __be32 imr_multiaddr; - __be32 imr_interface; - __be32 imr_sourceaddr; -}; - -struct ip_msfilter { - __be32 imsf_multiaddr; - __be32 imsf_interface; - __u32 imsf_fmode; - __u32 imsf_numsrc; - union { - __be32 imsf_slist[1]; - struct { - struct {} __empty_imsf_slist_flex; - __be32 imsf_slist_flex[0]; - }; - }; -}; - -struct ip_ra_chain { - struct ip_ra_chain *next; - struct sock *sk; - union { - void (*destructor)(struct sock *); - struct sock *saved_sk; - }; - struct callback_head rcu; -}; - -struct kvec { - void *iov_base; - size_t iov_len; -}; - -struct ip_reply_arg { - struct kvec iov[1]; - int flags; - __wsum csum; - int csumoffset; - int bound_dev_if; - u8 tos; - kuid_t uid; -}; - -struct ip_rt_info { - __be32 daddr; - __be32 saddr; - u_int8_t tos; - u_int32_t mark; -}; - -struct ip_sf_list { - struct ip_sf_list *sf_next; - long unsigned int sf_count[2]; - __be32 sf_inaddr; - unsigned char sf_gsresp; - unsigned char sf_oldin; - unsigned char sf_crcount; -}; - -struct ip_sf_socklist { - unsigned int sl_max; - unsigned int sl_count; - struct callback_head rcu; - __be32 sl_addr[0]; -}; - -struct iphdr { - __u8 ihl: 4; - __u8 version: 4; - __u8 tos; - __be16 tot_len; - __be16 id; - __be16 frag_off; - __u8 ttl; - __u8 protocol; - __sum16 check; - union { - struct { - __be32 saddr; - __be32 daddr; - }; - struct { - __be32 saddr; - __be32 daddr; - } addrs; - }; -}; - -struct ip_tunnel_parm { - char name[16]; - int link; - __be16 i_flags; - __be16 o_flags; - __be32 i_key; - __be32 o_key; - struct iphdr iph; -}; - -struct ip_tunnel_encap { - u16 type; - u16 flags; - __be16 sport; - __be16 dport; -}; - -struct ip_tunnel_prl_entry; - -struct ip_tunnel { - struct ip_tunnel *next; - struct hlist_node hash_node; - struct net_device *dev; - netdevice_tracker dev_tracker; - struct net *net; - long unsigned int err_time; - int err_count; - u32 i_seqno; - atomic_t o_seqno; - int tun_hlen; - u32 index; - u8 erspan_ver; - u8 dir; - u16 hwid; - struct dst_cache dst_cache; - struct ip_tunnel_parm parms; - int mlink; - int encap_hlen; - int hlen; - struct ip_tunnel_encap encap; - struct ip_tunnel_prl_entry *prl; - unsigned int prl_count; - unsigned int ip_tnl_net_id; - struct gro_cells gro_cells; - __u32 fwmark; - bool collect_md; - bool ignore_df; -}; - -struct ip_tunnel_encap_ops { - size_t (*encap_hlen)(struct ip_tunnel_encap *); - int (*build_header)(struct sk_buff *, struct ip_tunnel_encap *, u8 *, struct flowi4 *); - int (*err_handler)(struct sk_buff *, u32); -}; - -struct ip_tunnel_key { - __be64 tun_id; - union { - struct { - __be32 src; - __be32 dst; - } ipv4; - struct { - struct in6_addr src; - struct in6_addr dst; - } ipv6; - } u; - __be16 tun_flags; - u8 tos; - u8 ttl; - __be32 label; - u32 nhid; - __be16 tp_src; - __be16 tp_dst; - __u8 flow_flags; - long: 32; -}; - -struct ip_tunnel_info { - struct ip_tunnel_key key; - struct ip_tunnel_encap encap; - struct dst_cache dst_cache; - u8 options_len; - u8 mode; - long: 32; -}; - -struct rtnl_link_ops; - -struct ip_tunnel_net { - struct net_device *fb_tunnel_dev; - struct rtnl_link_ops *rtnl_link_ops; - struct hlist_head tunnels[128]; - struct ip_tunnel *collect_md_tun; - int type; -}; - -struct ip_tunnel_prl { - __be32 addr; - __u16 flags; - __u16 __reserved; - __u32 datalen; - __u32 __reserved2; -}; - -struct ip_tunnel_prl_entry { - struct ip_tunnel_prl_entry *next; - __be32 addr; - u16 flags; - struct callback_head callback_head; -}; - -struct ipc_ids { - int in_use; - short unsigned int seq; - struct rw_semaphore rwsem; - struct idr ipcs_idr; - int max_idx; - int last_idx; - struct rhashtable key_ht; -}; - -struct ipc_namespace { - struct ipc_ids ids[3]; - int sem_ctls[4]; - int used_sems; - unsigned int msg_ctlmax; - unsigned int msg_ctlmnb; - unsigned int msg_ctlmni; - long: 32; - struct percpu_counter percpu_msg_bytes; - struct percpu_counter percpu_msg_hdrs; - size_t shm_ctlmax; - size_t shm_ctlall; - long unsigned int shm_tot; - int shm_ctlmni; - int shm_rmid_forced; - struct notifier_block ipcns_nb; - struct vfsmount *mq_mnt; - unsigned int mq_queues_count; - unsigned int mq_queues_max; - unsigned int mq_msg_max; - unsigned int mq_msgsize_max; - unsigned int mq_msg_default; - unsigned int mq_msgsize_default; - struct ctl_table_set mq_set; - struct ctl_table_header *mq_sysctls; - struct ctl_table_set ipc_set; - struct ctl_table_header *ipc_sysctls; - struct user_namespace *user_ns; - struct ucounts *ucounts; - struct llist_node mnt_llist; - struct ns_common ns; -}; - -struct sockcm_cookie { - u64 transmit_time; - u32 mark; - u32 tsflags; -}; - -struct ipcm6_cookie { - struct sockcm_cookie sockc; - __s16 hlimit; - __s16 tclass; - __u16 gso_size; - __s8 dontfrag; - struct ipv6_txoptions *opt; - long: 32; -}; - -struct ipcm_cookie { - struct sockcm_cookie sockc; - __be32 addr; - int oif; - struct ip_options_rcu *opt; - __u8 protocol; - __u8 ttl; - __s16 tos; - char priority; - __u16 gso_size; - long: 32; -}; - -struct ipfrag_skb_cb { - union { - struct inet_skb_parm h4; - struct inet6_skb_parm h6; - }; - struct sk_buff *next_frag; - int frag_run_len; -}; - -struct ipq { - struct inet_frag_queue q; - u8 ecn; - u16 max_df_size; - int iif; - unsigned int rid; - struct inet_peer *peer; -}; - -struct ipstats_mib { - u64 mibs[37]; - struct u64_stats_sync syncp; - long: 32; -}; - -struct ipv6_ac_socklist { - struct in6_addr acl_addr; - int acl_ifindex; - struct ipv6_ac_socklist *acl_next; -}; - -struct udp_table; - -struct ipv6_bpf_stub { - int (*inet6_bind)(struct sock *, struct sockaddr *, int, u32); - struct sock * (*udp6_lib_lookup)(struct net *, const struct in6_addr *, __be16, const struct in6_addr *, __be16, int, int, struct udp_table *, struct sk_buff *); - int (*ipv6_setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); - int (*ipv6_getsockopt)(struct sock *, int, int, sockptr_t, sockptr_t); -}; - -struct ipv6_fl_socklist { - struct ipv6_fl_socklist *next; - struct ip6_flowlabel *fl; - struct callback_head rcu; -}; - -struct ipv6_mc_socklist { - struct in6_addr addr; - int ifindex; - unsigned int sfmode; - struct ipv6_mc_socklist *next; - struct ip6_sf_socklist *sflist; - struct callback_head rcu; -}; - -struct ipv6_mreq { - struct in6_addr ipv6mr_multiaddr; - int ipv6mr_ifindex; -}; - -struct ipv6_opt_hdr { - __u8 nexthdr; - __u8 hdrlen; -}; - -struct ipv6_params { - __s32 disable_ipv6; - __s32 autoconf; -}; - -struct ipv6_pinfo { - struct in6_addr saddr; - struct in6_pktinfo sticky_pktinfo; - const struct in6_addr *daddr_cache; - __be32 flow_label; - __u32 frag_size; - __u16 __unused_1: 7; - __s16 hop_limit: 9; - __u16 mc_loop: 1; - __u16 __unused_2: 6; - __s16 mcast_hops: 9; - int ucast_oif; - int mcast_oif; - union { - struct { - __u16 srcrt: 1; - __u16 osrcrt: 1; - __u16 rxinfo: 1; - __u16 rxoinfo: 1; - __u16 rxhlim: 1; - __u16 rxohlim: 1; - __u16 hopopts: 1; - __u16 ohopopts: 1; - __u16 dstopts: 1; - __u16 odstopts: 1; - __u16 rxflow: 1; - __u16 rxtclass: 1; - __u16 rxpmtu: 1; - __u16 rxorigdstaddr: 1; - __u16 recvfragsize: 1; - } bits; - __u16 all; - } rxopt; - __u16 recverr: 1; - __u16 sndflow: 1; - __u16 repflow: 1; - __u16 pmtudisc: 3; - __u16 padding: 1; - __u16 srcprefs: 3; - __u16 dontfrag: 1; - __u16 autoflowlabel: 1; - __u16 autoflowlabel_set: 1; - __u16 mc_all: 1; - __u16 recverr_rfc4884: 1; - __u16 rtalert_isolate: 1; - __u8 min_hopcount; - __u8 tclass; - __be32 rcv_flowinfo; - __u32 dst_cookie; - struct ipv6_mc_socklist *ipv6_mc_list; - struct ipv6_ac_socklist *ipv6_ac_list; - struct ipv6_fl_socklist *ipv6_fl_list; - struct ipv6_txoptions *opt; - struct sk_buff *pktoptions; - struct sk_buff *rxpmtu; - struct inet6_cork cork; -}; - -struct ipv6_rpl_sr_hdr { - __u8 nexthdr; - __u8 hdrlen; - __u8 type; - __u8 segments_left; - __u32 cmpre: 4; - __u32 cmpri: 4; - __u32 reserved: 4; - __u32 pad: 4; - __u32 reserved1: 16; - union { - struct { - struct {} __empty_addr; - struct in6_addr addr[0]; - }; - struct { - struct {} __empty_data; - __u8 data[0]; - }; - } segments; -}; - -struct ipv6_rt_hdr { - __u8 nexthdr; - __u8 hdrlen; - __u8 type; - __u8 segments_left; -}; - -struct ipv6_saddr_dst { - const struct in6_addr *addr; - int ifindex; - int scope; - int label; - unsigned int prefs; -}; - -struct ipv6_saddr_score { - int rule; - int addr_type; - struct inet6_ifaddr *ifa; - long unsigned int scorebits[1]; - int scopedist; - int matchlen; -}; - -struct ipv6_sr_hdr { - __u8 nexthdr; - __u8 hdrlen; - __u8 type; - __u8 segments_left; - __u8 first_segment; - __u8 flags; - __u16 tag; - struct in6_addr segments[0]; -}; - -struct neigh_table; - -struct ipv6_stub { - int (*ipv6_sock_mc_join)(struct sock *, int, const struct in6_addr *); - int (*ipv6_sock_mc_drop)(struct sock *, int, const struct in6_addr *); - struct dst_entry * (*ipv6_dst_lookup_flow)(struct net *, const struct sock *, struct flowi6 *, const struct in6_addr *); - int (*ipv6_route_input)(struct sk_buff *); - struct fib6_table * (*fib6_get_table)(struct net *, u32); - int (*fib6_lookup)(struct net *, int, struct flowi6 *, struct fib6_result *, int); - int (*fib6_table_lookup)(struct net *, struct fib6_table *, int, struct flowi6 *, struct fib6_result *, int); - void (*fib6_select_path)(const struct net *, struct fib6_result *, struct flowi6 *, int, bool, const struct sk_buff *, int); - u32 (*ip6_mtu_from_fib6)(const struct fib6_result *, const struct in6_addr *, const struct in6_addr *); - int (*fib6_nh_init)(struct net *, struct fib6_nh *, struct fib6_config *, gfp_t, struct netlink_ext_ack *); - void (*fib6_nh_release)(struct fib6_nh *); - void (*fib6_nh_release_dsts)(struct fib6_nh *); - void (*fib6_update_sernum)(struct net *, struct fib6_info *); - int (*ip6_del_rt)(struct net *, struct fib6_info *, bool); - void (*fib6_rt_update)(struct net *, struct fib6_info *, struct nl_info *); - void (*udpv6_encap_enable)(); - void (*ndisc_send_na)(struct net_device *, const struct in6_addr *, const struct in6_addr *, bool, bool, bool, bool); - struct neigh_table *nd_tbl; - int (*ipv6_fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *)); - struct net_device * (*ipv6_dev_find)(struct net *, const struct in6_addr *, struct net_device *); -}; - -struct ipv6_txoptions { - refcount_t refcnt; - int tot_len; - __u16 opt_flen; - __u16 opt_nflen; - struct ipv6_opt_hdr *hopopt; - struct ipv6_opt_hdr *dst0opt; - struct ipv6_rt_hdr *srcrt; - struct ipv6_opt_hdr *dst1opt; - struct callback_head rcu; -}; - -struct ipv6hdr { - __u8 priority: 4; - __u8 version: 4; - __u8 flow_lbl[3]; - __be16 payload_len; - __u8 nexthdr; - __u8 hop_limit; - union { - struct { - struct in6_addr saddr; - struct in6_addr daddr; - }; - struct { - struct in6_addr saddr; - struct in6_addr daddr; - } addrs; - }; -}; - -struct irq_affinity { - unsigned int pre_vectors; - unsigned int post_vectors; - unsigned int nr_sets; - unsigned int set_size[4]; - void (*calc_sets)(struct irq_affinity *, unsigned int); - void *priv; -}; - -struct irq_affinity_desc { - struct cpumask mask; - unsigned int is_managed: 1; -}; - -struct irq_affinity_devres { - unsigned int count; - unsigned int irq[0]; -}; - -struct irq_data; - -struct msi_msg; - -struct irq_chip { - const char *name; - unsigned int (*irq_startup)(struct irq_data *); - void (*irq_shutdown)(struct irq_data *); - void (*irq_enable)(struct irq_data *); - void (*irq_disable)(struct irq_data *); - void (*irq_ack)(struct irq_data *); - void (*irq_mask)(struct irq_data *); - void (*irq_mask_ack)(struct irq_data *); - void (*irq_unmask)(struct irq_data *); - void (*irq_eoi)(struct irq_data *); - int (*irq_set_affinity)(struct irq_data *, const struct cpumask *, bool); - int (*irq_retrigger)(struct irq_data *); - int (*irq_set_type)(struct irq_data *, unsigned int); - int (*irq_set_wake)(struct irq_data *, unsigned int); - void (*irq_bus_lock)(struct irq_data *); - void (*irq_bus_sync_unlock)(struct irq_data *); - void (*irq_suspend)(struct irq_data *); - void (*irq_resume)(struct irq_data *); - void (*irq_pm_shutdown)(struct irq_data *); - void (*irq_calc_mask)(struct irq_data *); - void (*irq_print_chip)(struct irq_data *, struct seq_file *); - int (*irq_request_resources)(struct irq_data *); - void (*irq_release_resources)(struct irq_data *); - void (*irq_compose_msi_msg)(struct irq_data *, struct msi_msg *); - void (*irq_write_msi_msg)(struct irq_data *, struct msi_msg *); - int (*irq_get_irqchip_state)(struct irq_data *, enum irqchip_irq_state, bool *); - int (*irq_set_irqchip_state)(struct irq_data *, enum irqchip_irq_state, bool); - int (*irq_set_vcpu_affinity)(struct irq_data *, void *); - void (*ipi_send_single)(struct irq_data *, unsigned int); - void (*ipi_send_mask)(struct irq_data *, const struct cpumask *); - int (*irq_nmi_setup)(struct irq_data *); - void (*irq_nmi_teardown)(struct irq_data *); - long unsigned int flags; -}; - -struct irq_chip_regs { - long unsigned int enable; - long unsigned int disable; - long unsigned int mask; - long unsigned int ack; - long unsigned int eoi; - long unsigned int type; - long unsigned int polarity; -}; - -struct irq_desc; - -typedef void (*irq_flow_handler_t)(struct irq_desc *); - -struct irq_chip_type { - struct irq_chip chip; - struct irq_chip_regs regs; - irq_flow_handler_t handler; - u32 type; - u32 mask_cache_priv; - u32 *mask_cache; -}; - -struct irq_domain; - -struct irq_chip_generic { - raw_spinlock_t lock; - void *reg_base; - u32 (*reg_readl)(void *); - void (*reg_writel)(u32, void *); - void (*suspend)(struct irq_chip_generic *); - void (*resume)(struct irq_chip_generic *); - unsigned int irq_base; - unsigned int irq_cnt; - u32 mask_cache; - u32 type_cache; - u32 polarity_cache; - u32 wake_enabled; - u32 wake_active; - unsigned int num_ct; - void *private; - long unsigned int installed; - long unsigned int unused; - struct irq_domain *domain; - struct list_head list; - struct irq_chip_type chip_types[0]; -}; - -struct msi_desc; - -struct irq_common_data { - unsigned int state_use_accessors; - void *handler_data; - struct msi_desc *msi_desc; -}; - -struct irq_data { - u32 mask; - unsigned int irq; - long unsigned int hwirq; - struct irq_common_data *common; - struct irq_chip *chip; - struct irq_domain *domain; - struct irq_data *parent_data; - void *chip_data; -}; - -struct irqaction; - -struct irq_desc { - struct irq_common_data irq_common_data; - struct irq_data irq_data; - unsigned int *kstat_irqs; - irq_flow_handler_t handle_irq; - struct irqaction *action; - unsigned int status_use_accessors; - unsigned int core_internal_state__do_not_mess_with_it; - unsigned int depth; - unsigned int wake_depth; - unsigned int tot_count; - unsigned int irq_count; - long unsigned int last_unhandled; - unsigned int irqs_unhandled; - atomic_t threads_handled; - int threads_handled_last; - raw_spinlock_t lock; - struct cpumask *percpu_enabled; - const struct cpumask *percpu_affinity; - long unsigned int threads_oneshot; - atomic_t threads_active; - wait_queue_head_t wait_for_threads; - struct callback_head rcu; - struct kobject kobj; - struct mutex request_mutex; - int parent_irq; - struct module *owner; - const char *name; - struct hlist_node resend_node; -}; - -struct irq_desc_devres { - unsigned int from; - unsigned int cnt; -}; - -struct irq_devres { - unsigned int irq; - void *dev_id; -}; - -struct irq_domain_ops; - -struct irq_domain_chip_generic; - -struct irq_domain { - struct list_head link; - const char *name; - const struct irq_domain_ops *ops; - void *host_data; - unsigned int flags; - unsigned int mapcount; - struct mutex mutex; - struct irq_domain *root; - struct fwnode_handle *fwnode; - enum irq_domain_bus_token bus_token; - struct irq_domain_chip_generic *gc; - struct device *dev; - struct device *pm_dev; - struct irq_domain *parent; - irq_hw_number_t hwirq_max; - unsigned int revmap_size; - struct xarray revmap_tree; - struct irq_data *revmap[0]; -}; - -struct irq_domain_chip_generic { - unsigned int irqs_per_chip; - unsigned int num_chips; - unsigned int irq_flags_to_clear; - unsigned int irq_flags_to_set; - enum irq_gc_flags gc_flags; - struct irq_chip_generic *gc[0]; -}; - -struct irq_fwspec; - -struct irq_domain_ops { - int (*match)(struct irq_domain *, struct device_node *, enum irq_domain_bus_token); - int (*select)(struct irq_domain *, struct irq_fwspec *, enum irq_domain_bus_token); - int (*map)(struct irq_domain *, unsigned int, irq_hw_number_t); - void (*unmap)(struct irq_domain *, unsigned int); - int (*xlate)(struct irq_domain *, struct device_node *, const u32 *, unsigned int, long unsigned int *, unsigned int *); - int (*alloc)(struct irq_domain *, unsigned int, unsigned int, void *); - void (*free)(struct irq_domain *, unsigned int, unsigned int); - int (*activate)(struct irq_domain *, struct irq_data *, bool); - void (*deactivate)(struct irq_domain *, struct irq_data *); - int (*translate)(struct irq_domain *, struct irq_fwspec *, long unsigned int *, unsigned int *); -}; - -struct irq_fwspec { - struct fwnode_handle *fwnode; - int param_count; - u32 param[16]; -}; - -struct irq_generic_chip_devres { - struct irq_chip_generic *gc; - u32 msk; - unsigned int clr; - unsigned int set; -}; - -typedef irqreturn_t (*irq_handler_t)(int, void *); - -struct irqaction { - irq_handler_t handler; - void *dev_id; - void *percpu_dev_id; - struct irqaction *next; - irq_handler_t thread_fn; - struct task_struct *thread; - struct irqaction *secondary; - unsigned int irq; - unsigned int flags; - long unsigned int thread_flags; - long unsigned int thread_mask; - const char *name; - struct proc_dir_entry *dir; -}; - -struct irqchip_fwid { - struct fwnode_handle fwnode; - unsigned int type; - char *name; - phys_addr_t *pa; -}; - -struct itimerspec64 { - struct timespec64 it_interval; - struct timespec64 it_value; -}; - -struct jit_ctx { - const struct bpf_prog *prog; - unsigned int idx; - unsigned int prologue_bytes; - unsigned int epilogue_offset; - unsigned int cpu_architecture; - u32 flags; - u32 *offsets; - u32 *target; - u32 stack_size; -}; - -typedef void __signalfn_t(int); - -typedef __signalfn_t *__sighandler_t; - -typedef void __restorefn_t(); - -typedef __restorefn_t *__sigrestore_t; - -struct sigaction { - __sighandler_t sa_handler; - long unsigned int sa_flags; - __sigrestore_t sa_restorer; - sigset_t sa_mask; -}; - -struct k_sigaction { - struct sigaction sa; -}; - -struct kernel_clone_args { - u64 flags; - int *pidfd; - int *child_tid; - int *parent_tid; - const char *name; - int exit_signal; - u32 kthread: 1; - u32 io_thread: 1; - u32 user_worker: 1; - u32 no_files: 1; - long unsigned int stack; - long unsigned int stack_size; - long unsigned int tls; - pid_t *set_tid; - size_t set_tid_size; - int cgroup; - int idle; - int (*fn)(void *); - void *fn_arg; - struct cgroup *cgrp; - struct css_set *cset; - long: 32; -}; - -struct kernel_cpustat { - u64 cpustat[10]; -}; - -struct kernel_ethtool_ringparam { - u32 rx_buf_len; - u8 tcp_data_split; - u8 tx_push; - u8 rx_push; - u32 cqe_size; - u32 tx_push_buf_len; - u32 tx_push_buf_max_len; -}; - -struct kernel_hwtstamp_config { - int flags; - int tx_type; - int rx_filter; - struct ifreq *ifr; - bool copied_to_user; - enum hwtstamp_source source; -}; - -struct kernel_param_ops; - -struct kparam_string; - -struct kparam_array; - -struct kernel_param { - const char *name; - struct module *mod; - const struct kernel_param_ops *ops; - const u16 perm; - s8 level; - u8 flags; - union { - void *arg; - const struct kparam_string *str; - const struct kparam_array *arr; - }; -}; - -struct kernel_param_ops { - unsigned int flags; - int (*set)(const char *, const struct kernel_param *); - int (*get)(char *, const struct kernel_param *); - void (*free)(void *); -}; - -struct kernel_siginfo { - struct { - int si_signo; - int si_errno; - int si_code; - union __sifields _sifields; - }; -}; - -typedef struct kernel_siginfo kernel_siginfo_t; - -struct kernel_stat { - long unsigned int irqs_sum; - unsigned int softirqs[10]; -}; - -struct kernel_symbol { - long unsigned int value; - const char *name; - const char *namespace; -}; - -struct kernfs_open_node; - -struct kernfs_ops; - -struct kernfs_elem_attr { - const struct kernfs_ops *ops; - struct kernfs_open_node *open; - loff_t size; - struct kernfs_node *notify_next; - long: 32; -}; - -struct kernfs_root; - -struct kernfs_elem_dir { - long unsigned int subdirs; - struct rb_root children; - struct kernfs_root *root; - long unsigned int rev; -}; - -struct kernfs_elem_symlink { - struct kernfs_node *target_kn; -}; - -struct kernfs_iattrs; - -struct kernfs_node { - atomic_t count; - atomic_t active; - struct kernfs_node *parent; - const char *name; - struct rb_node rb; - const void *ns; - unsigned int hash; - long: 32; - union { - struct kernfs_elem_dir dir; - struct kernfs_elem_symlink symlink; - struct kernfs_elem_attr attr; - }; - void *priv; - long: 32; - u64 id; - short unsigned int flags; - umode_t mode; - struct kernfs_iattrs *iattr; -}; - -struct vm_operations_struct; - -struct kernfs_open_file { - struct kernfs_node *kn; - struct file *file; - struct seq_file *seq_file; - void *priv; - struct mutex mutex; - struct mutex prealloc_mutex; - int event; - struct list_head list; - char *prealloc_buf; - size_t atomic_write_len; - bool mmapped: 1; - bool released: 1; - const struct vm_operations_struct *vm_ops; -}; - -struct kernfs_ops { - int (*open)(struct kernfs_open_file *); - void (*release)(struct kernfs_open_file *); - int (*seq_show)(struct seq_file *, void *); - void * (*seq_start)(struct seq_file *, loff_t *); - void * (*seq_next)(struct seq_file *, void *, loff_t *); - void (*seq_stop)(struct seq_file *, void *); - ssize_t (*read)(struct kernfs_open_file *, char *, size_t, loff_t); - size_t atomic_write_len; - bool prealloc; - ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t); - __poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *); - int (*mmap)(struct kernfs_open_file *, struct vm_area_struct *); -}; - -struct key_vector { - t_key key; - unsigned char pos; - unsigned char bits; - unsigned char slen; - union { - struct hlist_head leaf; - struct { - struct {} __empty_tnode; - struct key_vector *tnode[0]; - }; - }; -}; - -struct wait_page_queue; - -struct kiocb { - struct file *ki_filp; - long: 32; - loff_t ki_pos; - void (*ki_complete)(struct kiocb *, long int); - void *private; - int ki_flags; - u16 ki_ioprio; - union { - struct wait_page_queue *ki_waitq; - ssize_t (*dio_complete)(void *); - }; - long: 32; -}; - -struct klist_waiter { - struct list_head list; - struct klist_node *node; - struct task_struct *process; - int woken; -}; - -struct kmalloc_info_struct { - const char *name[1]; - unsigned int size; -}; - -struct kmalloced_param { - struct list_head list; - char val[0]; -}; - -struct kmap_ctrl {}; - -struct reciprocal_value { - u32 m; - u8 sh1; - u8 sh2; -}; - -struct kmem_cache_order_objects { - unsigned int x; -}; - -struct kmem_cache_node; - -struct kmem_cache { - slab_flags_t flags; - long unsigned int min_partial; - unsigned int size; - unsigned int object_size; - struct reciprocal_value reciprocal_size; - unsigned int offset; - struct kmem_cache_order_objects oo; - struct kmem_cache_order_objects min; - gfp_t allocflags; - int refcount; - void (*ctor)(void *); - unsigned int inuse; - unsigned int align; - unsigned int red_left_pad; - const char *name; - struct list_head list; - struct kmem_cache_node *node[1]; -}; - -struct kmem_cache_node { - spinlock_t list_lock; - long unsigned int nr_partial; - struct list_head partial; -}; - -struct kobj_attribute { - struct attribute attr; - ssize_t (*show)(struct kobject *, struct kobj_attribute *, char *); - ssize_t (*store)(struct kobject *, struct kobj_attribute *, const char *, size_t); -}; - -struct probe; - -struct kobj_map { - struct probe *probes[255]; - struct mutex *lock; -}; - -struct kobj_ns_type_operations { - enum kobj_ns_type type; - bool (*current_may_mount)(); - void * (*grab_current_ns)(); - const void * (*netlink_ns)(struct sock *); - const void * (*initial_ns)(); - void (*drop_ns)(void *); -}; - -struct sysfs_ops; - -struct kobj_type { - void (*release)(struct kobject *); - const struct sysfs_ops *sysfs_ops; - const struct attribute_group **default_groups; - const struct kobj_ns_type_operations * (*child_ns_type)(const struct kobject *); - const void * (*namespace)(const struct kobject *); - void (*get_ownership)(const struct kobject *, kuid_t *, kgid_t *); -}; - -struct kobj_uevent_env { - char *argv[3]; - char *envp[64]; - int envp_idx; - char buf[2048]; - int buflen; -}; - -struct kparam_array { - unsigned int max; - unsigned int elemsize; - unsigned int *num; - const struct kernel_param_ops *ops; - void *elem; -}; - -struct kparam_string { - unsigned int maxlen; - char *string; -}; - -struct kset_uevent_ops; - -struct kset { - struct list_head list; - spinlock_t list_lock; - struct kobject kobj; - const struct kset_uevent_ops *uevent_ops; -}; - -struct kset_uevent_ops { - int (* const filter)(const struct kobject *); - const char * (* const name)(const struct kobject *); - int (* const uevent)(const struct kobject *, struct kobj_uevent_env *); -}; - -struct ksignal { - struct k_sigaction ka; - kernel_siginfo_t info; - int sig; -}; - -struct kstat { - u32 result_mask; - umode_t mode; - unsigned int nlink; - uint32_t blksize; - u64 attributes; - u64 attributes_mask; - u64 ino; - dev_t dev; - dev_t rdev; - kuid_t uid; - kgid_t gid; - loff_t size; - struct timespec64 atime; - struct timespec64 mtime; - struct timespec64 ctime; - struct timespec64 btime; - u64 blocks; - u64 mnt_id; - u32 dio_mem_align; - u32 dio_offset_align; - u64 change_cookie; -}; - -struct kstatfs { - long int f_type; - long int f_bsize; - u64 f_blocks; - u64 f_bfree; - u64 f_bavail; - u64 f_files; - u64 f_ffree; - __kernel_fsid_t f_fsid; - long int f_namelen; - long int f_frsize; - long int f_flags; - long int f_spare[4]; - long: 32; -}; - -struct ktermios { - tcflag_t c_iflag; - tcflag_t c_oflag; - tcflag_t c_cflag; - tcflag_t c_lflag; - cc_t c_line; - cc_t c_cc[19]; - speed_t c_ispeed; - speed_t c_ospeed; -}; - -struct kthread { - long unsigned int flags; - unsigned int cpu; - int result; - int (*threadfn)(void *); - void *data; - struct completion parked; - struct completion exited; - char *full_name; -}; - -struct kthread_create_info { - char *full_name; - int (*threadfn)(void *); - void *data; - int node; - struct task_struct *result; - struct completion *done; - struct list_head list; -}; - -struct kthread_work; - -typedef void (*kthread_work_func_t)(struct kthread_work *); - -struct kthread_worker; - -struct kthread_work { - struct list_head node; - kthread_work_func_t func; - struct kthread_worker *worker; - int canceling; -}; - -struct kthread_delayed_work { - struct kthread_work work; - struct timer_list timer; -}; - -struct kthread_flush_work { - struct kthread_work work; - struct completion done; -}; - -struct kthread_worker { - unsigned int flags; - raw_spinlock_t lock; - struct list_head work_list; - struct list_head delayed_work_list; - struct task_struct *task; - struct kthread_work *current_work; -}; - -struct ktime_timestamps { - u64 mono; - u64 boot; - u64 real; -}; - -struct latch_tree_ops { - bool (*less)(struct latch_tree_node *, struct latch_tree_node *); - int (*comp)(void *, struct latch_tree_node *); -}; - -struct latch_tree_root { - seqcount_latch_t seq; - struct rb_root tree[2]; -}; - -struct ld_semaphore { - atomic_long_t count; - raw_spinlock_t wait_lock; - unsigned int wait_readers; - struct list_head read_wait; - struct list_head write_wait; -}; - -struct legacy_fs_context { - char *legacy_data; - size_t data_size; - enum legacy_fs_param param_type; -}; - -struct linger { - int l_onoff; - int l_linger; -}; - -struct link_mode_info { - int speed; - u8 lanes; - u8 duplex; -}; - -struct linkinfo_reply_data { - struct ethnl_reply_data base; - struct ethtool_link_ksettings ksettings; - struct ethtool_link_settings *lsettings; -}; - -struct linkmodes_reply_data { - struct ethnl_reply_data base; - struct ethtool_link_ksettings ksettings; - struct ethtool_link_settings *lsettings; - bool peer_empty; -}; - -struct linkstate_reply_data { - struct ethnl_reply_data base; - int link; - int sqi; - int sqi_max; - struct ethtool_link_ext_stats link_stats; - bool link_ext_state_provided; - struct ethtool_link_ext_state_info ethtool_link_ext_state_info; - long: 32; -}; - -struct linux_binprm; - -struct linux_binfmt { - struct list_head lh; - struct module *module; - int (*load_binary)(struct linux_binprm *); - int (*load_shlib)(struct file *); -}; - -struct rlimit { - __kernel_ulong_t rlim_cur; - __kernel_ulong_t rlim_max; -}; - -struct linux_binprm { - struct page *page[32]; - struct mm_struct *mm; - long unsigned int p; - long unsigned int argmin; - unsigned int have_execfd: 1; - unsigned int execfd_creds: 1; - unsigned int secureexec: 1; - unsigned int point_of_no_return: 1; - struct file *executable; - struct file *interpreter; - struct file *file; - struct cred *cred; - int unsafe; - unsigned int per_clear; - int argc; - int envc; - const char *filename; - const char *interp; - const char *fdpath; - unsigned int interp_flags; - int execfd; - long unsigned int loader; - long unsigned int exec; - struct rlimit rlim_stack; - char buf[256]; -}; - -struct linux_binprm__safe_trusted { - struct file *file; -}; - -struct linux_dirent { - long unsigned int d_ino; - long unsigned int d_off; - short unsigned int d_reclen; - char d_name[0]; -}; - -struct linux_dirent64 { - u64 d_ino; - s64 d_off; - short unsigned int d_reclen; - unsigned char d_type; - char d_name[0]; - long: 32; -}; - -struct linux_mib { - long unsigned int mibs[127]; -}; - -struct list_lru_node; - -struct list_lru { - struct list_lru_node *node; -}; - -struct list_lru_one { - struct list_head list; - long int nr_items; -}; - -struct list_lru_node { - spinlock_t lock; - struct list_lru_one lru; - long int nr_items; -}; - -struct listeners { - struct callback_head rcu; - long unsigned int masks[0]; -}; - -struct load_info { - const char *name; - struct module *mod; - Elf32_Ehdr *hdr; - long unsigned int len; - Elf32_Shdr *sechdrs; - char *secstrings; - char *strtab; - long unsigned int symoffs; - long unsigned int stroffs; - long unsigned int init_typeoffs; - long unsigned int core_typeoffs; - bool sig_ok; - struct { - unsigned int sym; - unsigned int str; - unsigned int mod; - unsigned int vers; - unsigned int info; - unsigned int pcpu; - } index; -}; - -struct local_ports { - seqlock_t lock; - int range[2]; - bool warned; -}; - -struct lock_manager_operations { - void *lm_mod_owner; - fl_owner_t (*lm_get_owner)(fl_owner_t); - void (*lm_put_owner)(fl_owner_t); - void (*lm_notify)(struct file_lock *); - int (*lm_grant)(struct file_lock *, int); - bool (*lm_break)(struct file_lock *); - int (*lm_change)(struct file_lock *, int, struct list_head *); - void (*lm_setup)(struct file_lock *, void **); - bool (*lm_breaker_owns_lease)(struct file_lock *); - bool (*lm_lock_expirable)(struct file_lock *); - void (*lm_expire_lock)(); -}; - -struct logic_pio_host_ops { - u32 (*in)(void *, long unsigned int, size_t); - void (*out)(void *, long unsigned int, u32, size_t); - u32 (*ins)(void *, long unsigned int, void *, size_t, unsigned int); - void (*outs)(void *, long unsigned int, const void *, size_t, unsigned int); -}; - -struct logic_pio_hwaddr { - struct list_head list; - struct fwnode_handle *fwnode; - resource_size_t hw_start; - resource_size_t io_start; - resource_size_t size; - long unsigned int flags; - void *hostdata; - const struct logic_pio_host_ops *ops; -}; - -struct lookup_args { - int offset; - const struct in6_addr *addr; -}; - -struct lpm_trie_node; - -struct lpm_trie { - struct bpf_map map; - struct lpm_trie_node *root; - size_t n_entries; - size_t max_prefixlen; - size_t data_size; - spinlock_t lock; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct lpm_trie_node { - struct callback_head rcu; - struct lpm_trie_node *child[2]; - u32 prefixlen; - u32 flags; - u8 data[0]; -}; - -struct lru_rotate { - local_lock_t lock; - struct folio_batch fbatch; -}; - -struct lruvec { - struct list_head lists[5]; - spinlock_t lru_lock; - long unsigned int anon_cost; - long unsigned int file_cost; - atomic_long_t nonresident_age; - long unsigned int refaults[2]; - long unsigned int flags; -}; - -struct lwtunnel_encap_ops { - int (*build_state)(struct net *, struct nlattr *, unsigned int, const void *, struct lwtunnel_state **, struct netlink_ext_ack *); - void (*destroy_state)(struct lwtunnel_state *); - int (*output)(struct net *, struct sock *, struct sk_buff *); - int (*input)(struct sk_buff *); - int (*fill_encap)(struct sk_buff *, struct lwtunnel_state *); - int (*get_encap_size)(struct lwtunnel_state *); - int (*cmp_encap)(struct lwtunnel_state *, struct lwtunnel_state *); - int (*xmit)(struct sk_buff *); - struct module *owner; -}; - -struct lwtunnel_state { - __u16 type; - __u16 flags; - __u16 headroom; - atomic_t refcnt; - int (*orig_output)(struct net *, struct sock *, struct sk_buff *); - int (*orig_input)(struct sk_buff *); - struct callback_head rcu; - __u8 data[0]; -}; - -struct maple_enode; - -struct maple_tree; - -struct maple_alloc; - -struct ma_state { - struct maple_tree *tree; - long unsigned int index; - long unsigned int last; - struct maple_enode *node; - long unsigned int min; - long unsigned int max; - struct maple_alloc *alloc; - unsigned char depth; - unsigned char offset; - unsigned char mas_flags; -}; - -struct ma_topiary { - struct maple_enode *head; - struct maple_enode *tail; - struct maple_tree *mtree; -}; - -struct maple_node; - -struct ma_wr_state { - struct ma_state *mas; - struct maple_node *node; - long unsigned int r_min; - long unsigned int r_max; - enum maple_type type; - unsigned char offset_end; - unsigned char node_end; - long unsigned int *pivots; - long unsigned int end_piv; - void **slots; - void *entry; - void *content; -}; - -struct smp_operations; - -struct tag; - -struct machine_desc { - unsigned int nr; - const char *name; - long unsigned int atag_offset; - const char * const *dt_compat; - unsigned int nr_irqs; - unsigned int video_start; - unsigned int video_end; - unsigned char reserve_lp0: 1; - unsigned char reserve_lp1: 1; - unsigned char reserve_lp2: 1; - enum reboot_mode reboot_mode; - unsigned int l2c_aux_val; - unsigned int l2c_aux_mask; - void (*l2c_write_sec)(long unsigned int, unsigned int); - const struct smp_operations *smp; - bool (*smp_init)(); - void (*fixup)(struct tag *, char **); - void (*dt_fixup)(); - long long int (*pv_fixup)(); - void (*reserve)(); - void (*map_io)(); - void (*init_early)(); - void (*init_irq)(); - void (*init_time)(); - void (*init_machine)(); - void (*init_late)(); - void (*restart)(enum reboot_mode, const char *); -}; - -struct macsec_info { - sci_t sci; -}; - -struct map_iter { - void *key; - bool done; -}; - -struct maple_alloc { - long unsigned int total; - unsigned char node_count; - unsigned int request_count; - struct maple_alloc *slot[61]; -}; - -struct maple_pnode; - -struct maple_metadata { - unsigned char end; - unsigned char gap; -}; - -struct maple_arange_64 { - struct maple_pnode *parent; - long unsigned int pivot[20]; - void *slot[21]; - long unsigned int gap[21]; - struct maple_metadata meta; -}; - -struct maple_big_node { - struct maple_pnode *parent; - long unsigned int pivot[65]; - union { - struct maple_enode *slot[66]; - struct { - long unsigned int padding[43]; - long unsigned int gap[43]; - }; - }; - unsigned char b_end; - enum maple_type type; -}; - -struct maple_range_64 { - struct maple_pnode *parent; - long unsigned int pivot[31]; - union { - void *slot[32]; - struct { - void *pad[31]; - struct maple_metadata meta; - }; - }; -}; - -struct maple_node { - union { - struct { - struct maple_pnode *parent; - void *slot[63]; - }; - struct { - void *pad; - struct callback_head rcu; - struct maple_enode *piv_parent; - unsigned char parent_slot; - enum maple_type type; - unsigned char slot_len; - unsigned int ma_flags; - }; - struct maple_range_64 mr64; - struct maple_arange_64 ma64; - struct maple_alloc alloc; - }; -}; - -struct maple_subtree_state { - struct ma_state *orig_l; - struct ma_state *orig_r; - struct ma_state *l; - struct ma_state *m; - struct ma_state *r; - struct ma_topiary *free; - struct ma_topiary *destroy; - struct maple_big_node *bn; -}; - -struct maple_topiary { - struct maple_pnode *parent; - struct maple_enode *next; -}; - -struct maple_tree { - union { - spinlock_t ma_lock; - lockdep_map_p ma_external_lock; - }; - unsigned int ma_flags; - void *ma_root; -}; - -struct match_token { - int token; - const char *pattern; -}; - -struct mdio_bus_stats { - u64_stats_t transfers; - u64_stats_t errors; - u64_stats_t writes; - u64_stats_t reads; - struct u64_stats_sync syncp; - long: 32; -}; - -struct reset_control; - -struct mii_bus; - -struct mdio_device { - struct device dev; - struct mii_bus *bus; - char modalias[32]; - int (*bus_match)(struct device *, struct device_driver *); - void (*device_free)(struct mdio_device *); - void (*device_remove)(struct mdio_device *); - int addr; - int flags; - struct gpio_desc *reset_gpio; - struct reset_control *reset_ctrl; - unsigned int reset_assert_delay; - unsigned int reset_deassert_delay; -}; - -struct mdio_driver_common { - struct device_driver driver; - int flags; -}; - -struct pglist_data; - -typedef struct pglist_data pg_data_t; - -struct mem_cgroup_reclaim_cookie { - pg_data_t *pgdat; - unsigned int generation; -}; - -struct quota_format_type; - -struct mem_dqinfo { - struct quota_format_type *dqi_format; - int dqi_fmt_id; - struct list_head dqi_dirty_list; - long unsigned int dqi_flags; - unsigned int dqi_bgrace; - unsigned int dqi_igrace; - long: 32; - qsize_t dqi_max_spc_limit; - qsize_t dqi_max_ino_limit; - void *dqi_priv; - long: 32; -}; - -struct memblock_region; - -struct memblock_type { - long unsigned int cnt; - long unsigned int max; - phys_addr_t total_size; - struct memblock_region *regions; - char *name; -}; - -struct memblock { - bool bottom_up; - phys_addr_t current_limit; - struct memblock_type memory; - struct memblock_type reserved; -}; - -struct memblock_region { - phys_addr_t base; - phys_addr_t size; - enum memblock_flags flags; -}; - -struct membuf { - void *p; - size_t left; -}; - -struct memdev { - const char *name; - const struct file_operations *fops; - fmode_t fmode; - umode_t mode; -}; - -struct memory_notify { - long unsigned int start_pfn; - long unsigned int nr_pages; - int status_change_nid_normal; - int status_change_nid; -}; - -struct xfrm_md_info { - u32 if_id; - int link; - struct dst_entry *dst_orig; -}; - -struct metadata_dst { - struct dst_entry dst; - enum metadata_type type; - long: 32; - union { - struct ip_tunnel_info tun_info; - struct hw_port_info port_info; - struct macsec_info macsec_info; - struct xfrm_md_info xfrm_info; - } u; -}; - -struct migration_target_control { - int nid; - nodemask_t *nmask; - gfp_t gfp_mask; -}; - -struct phy_package_shared; - -struct mii_bus { - struct module *owner; - const char *name; - char id[61]; - void *priv; - int (*read)(struct mii_bus *, int, int); - int (*write)(struct mii_bus *, int, int, u16); - int (*read_c45)(struct mii_bus *, int, int, int); - int (*write_c45)(struct mii_bus *, int, int, int, u16); - int (*reset)(struct mii_bus *); - struct mdio_bus_stats stats[32]; - struct mutex mdio_lock; - struct device *parent; - enum { - MDIOBUS_ALLOCATED = 1, - MDIOBUS_REGISTERED = 2, - MDIOBUS_UNREGISTERED = 3, - MDIOBUS_RELEASED = 4, - } state; - long: 32; - struct device dev; - struct mdio_device *mdio_map[32]; - u32 phy_mask; - u32 phy_ignore_ta_mask; - int irq[32]; - int reset_delay_us; - int reset_post_delay_us; - struct gpio_desc *reset_gpiod; - struct mutex shared_lock; - struct phy_package_shared *shared[32]; -}; - -struct mii_timestamper { - bool (*rxtstamp)(struct mii_timestamper *, struct sk_buff *, int); - void (*txtstamp)(struct mii_timestamper *, struct sk_buff *, int); - int (*hwtstamp)(struct mii_timestamper *, struct ifreq *); - void (*link_state)(struct mii_timestamper *, struct phy_device *); - int (*ts_info)(struct mii_timestamper *, struct ethtool_ts_info *); - struct device *device; -}; - -struct min_heap { - void *data; - int nr; - int size; -}; - -struct min_heap_callbacks { - int elem_size; - bool (*less)(const void *, const void *); - void (*swp)(void *, void *); -}; - -struct tcf_proto; - -struct mini_Qdisc { - struct tcf_proto *filter_list; - struct tcf_block *block; - struct gnet_stats_basic_sync *cpu_bstats; - struct gnet_stats_queue *cpu_qstats; - long unsigned int rcu_state; -}; - -struct mini_Qdisc_pair { - struct mini_Qdisc miniq1; - struct mini_Qdisc miniq2; - struct mini_Qdisc **p_miniq; -}; - -struct minmax_sample { - u32 t; - u32 v; -}; - -struct minmax { - struct minmax_sample s[3]; -}; - -struct miscdevice { - int minor; - const char *name; - const struct file_operations *fops; - struct list_head list; - struct device *parent; - struct device *this_device; - const struct attribute_group **groups; - const char *nodename; - umode_t mode; -}; - -struct mld2_grec { - __u8 grec_type; - __u8 grec_auxwords; - __be16 grec_nsrcs; - struct in6_addr grec_mca; - struct in6_addr grec_src[0]; -}; - -struct mld2_query { - struct icmp6hdr mld2q_hdr; - struct in6_addr mld2q_mca; - __u8 mld2q_qrv: 3; - __u8 mld2q_suppress: 1; - __u8 mld2q_resv2: 4; - __u8 mld2q_qqic; - __be16 mld2q_nsrcs; - struct in6_addr mld2q_srcs[0]; -}; - -struct mld2_report { - struct icmp6hdr mld2r_hdr; - struct mld2_grec mld2r_grec[0]; -}; - -struct mld_msg { - struct icmp6hdr mld_hdr; - struct in6_addr mld_mca; -}; - -struct mm_reply_data { - struct ethnl_reply_data base; - struct ethtool_mm_state state; - long: 32; - struct ethtool_mm_stats stats; -}; - -struct uprobes_state {}; - -struct mm_struct { - struct { - struct { - atomic_t mm_count; - }; - struct maple_tree mm_mt; - long unsigned int mmap_base; - long unsigned int mmap_legacy_base; - long unsigned int task_size; - pgd_t *pgd; - atomic_t mm_users; - int map_count; - spinlock_t page_table_lock; - struct rw_semaphore mmap_lock; - struct list_head mmlist; - long unsigned int hiwater_rss; - long unsigned int hiwater_vm; - long unsigned int total_vm; - long unsigned int locked_vm; - long: 32; - atomic64_t pinned_vm; - long unsigned int data_vm; - long unsigned int exec_vm; - long unsigned int stack_vm; - long unsigned int def_flags; - seqcount_t write_protect_seq; - spinlock_t arg_lock; - long unsigned int start_code; - long unsigned int end_code; - long unsigned int start_data; - long unsigned int end_data; - long unsigned int start_brk; - long unsigned int brk; - long unsigned int start_stack; - long unsigned int arg_start; - long unsigned int arg_end; - long unsigned int env_start; - long unsigned int env_end; - long unsigned int saved_auxv[46]; - struct percpu_counter rss_stat[4]; - struct linux_binfmt *binfmt; - mm_context_t context; - long unsigned int flags; - struct user_namespace *user_ns; - struct file *exe_file; - atomic_t tlb_flush_pending; - struct uprobes_state uprobes_state; - struct work_struct async_put_work; - }; - long unsigned int cpu_bitmap[0]; -}; - -struct mm_struct__safe_rcu_or_null { - struct file *exe_file; -}; - -struct mmap_arg_struct { - long unsigned int addr; - long unsigned int len; - long unsigned int prot; - long unsigned int flags; - long unsigned int fd; - long unsigned int offset; -}; - -struct mmap_unlock_irq_work { - struct irq_work irq_work; - struct mm_struct *mm; -}; - -struct mmpin { - struct user_struct *user; - unsigned int num_pg; -}; - -struct user_msghdr { - void *msg_name; - int msg_namelen; - struct iovec *msg_iov; - __kernel_size_t msg_iovlen; - void *msg_control; - __kernel_size_t msg_controllen; - unsigned int msg_flags; -}; - -struct mmsghdr { - struct user_msghdr msg_hdr; - unsigned int msg_len; -}; - -struct mnt_idmap { - struct user_namespace *owner; - refcount_t count; -}; - -struct mount; - -struct mnt_namespace { - struct ns_common ns; - struct mount *root; - struct list_head list; - spinlock_t ns_lock; - struct user_namespace *user_ns; - struct ucounts *ucounts; - long: 32; - u64 seq; - wait_queue_head_t poll; - u64 event; - unsigned int mounts; - unsigned int pending_mounts; -}; - -struct plt_entries; - -struct mod_plt_sec { - struct elf32_shdr *plt; - struct plt_entries *plt_ent; - int plt_count; -}; - -struct unwind_table; - -struct mod_arch_specific { - struct list_head unwind_list; - struct unwind_table *init_table; - struct mod_plt_sec core; - struct mod_plt_sec init; -}; - -struct mod_initfree { - struct llist_node node; - void *init_text; - void *init_data; - void *init_rodata; -}; - -struct mod_tree_node { - struct module *mod; - struct latch_tree_node node; -}; - -struct mod_tree_root { - struct latch_tree_root root; - long unsigned int addr_min; - long unsigned int addr_max; -}; - -struct module_param_attrs; - -struct module_kobject { - struct kobject kobj; - struct module *mod; - struct kobject *drivers_dir; - struct module_param_attrs *mp; - struct completion *kobj_completion; -}; - -struct module_memory { - void *base; - unsigned int size; - struct mod_tree_node mtn; -}; - -struct module_attribute; - -struct module { - enum module_state state; - struct list_head list; - char name[60]; - struct module_kobject mkobj; - struct module_attribute *modinfo_attrs; - const char *version; - const char *srcversion; - struct kobject *holders_dir; - const struct kernel_symbol *syms; - const s32 *crcs; - unsigned int num_syms; - struct kernel_param *kp; - unsigned int num_kp; - unsigned int num_gpl_syms; - const struct kernel_symbol *gpl_syms; - const s32 *gpl_crcs; - bool using_gplonly_symbols; - bool async_probe_requested; - unsigned int num_exentries; - struct exception_table_entry *extable; - int (*init)(); - long: 32; - struct module_memory mem[7]; - struct mod_arch_specific arch; - long unsigned int taints; - char *args; - void *noinstr_text_start; - unsigned int noinstr_text_size; - unsigned int btf_data_size; - void *btf_data; - long: 32; - long: 32; -}; - -struct module_attribute { - struct attribute attr; - ssize_t (*show)(struct module_attribute *, struct module_kobject *, char *); - ssize_t (*store)(struct module_attribute *, struct module_kobject *, const char *, size_t); - void (*setup)(struct module *, const char *); - int (*test)(struct module *); - void (*free)(struct module *); -}; - -struct param_attribute { - struct module_attribute mattr; - const struct kernel_param *param; -}; - -struct module_param_attrs { - unsigned int num; - struct attribute_group grp; - struct param_attribute attrs[0]; -}; - -struct module_reply_data { - struct ethnl_reply_data base; - struct ethtool_module_power_mode_params power; -}; - -struct vfsmount { - struct dentry *mnt_root; - struct super_block *mnt_sb; - int mnt_flags; - struct mnt_idmap *mnt_idmap; -}; - -struct mountpoint; - -struct mount { - struct hlist_node mnt_hash; - struct mount *mnt_parent; - struct dentry *mnt_mountpoint; - struct vfsmount mnt; - union { - struct callback_head mnt_rcu; - struct llist_node mnt_llist; - }; - int mnt_count; - int mnt_writers; - struct list_head mnt_mounts; - struct list_head mnt_child; - struct list_head mnt_instance; - const char *mnt_devname; - struct list_head mnt_list; - struct list_head mnt_expire; - struct list_head mnt_share; - struct list_head mnt_slave_list; - struct list_head mnt_slave; - struct mount *mnt_master; - struct mnt_namespace *mnt_ns; - struct mountpoint *mnt_mp; - union { - struct hlist_node mnt_mp_list; - struct hlist_node mnt_umount; - }; - struct list_head mnt_umounting; - int mnt_id; - int mnt_group_id; - int mnt_expiry_mark; - struct hlist_head mnt_pins; - struct hlist_head mnt_stuck_children; -}; - -struct mount_attr { - __u64 attr_set; - __u64 attr_clr; - __u64 propagation; - __u64 userns_fd; -}; - -struct mount_kattr { - unsigned int attr_set; - unsigned int attr_clr; - unsigned int propagation; - unsigned int lookup_flags; - bool recurse; - struct user_namespace *mnt_userns; - struct mnt_idmap *mnt_idmap; -}; - -struct mountpoint { - struct hlist_node m_hash; - struct dentry *m_dentry; - struct hlist_head m_list; - int m_count; -}; - -struct mpidr_hash { - u32 mask; - u32 shift_aff[3]; - u32 bits; -}; - -struct mpls_label { - __be32 entry; -}; - -struct mpls_shim_hdr { - __be32 label_stack_entry; -}; - -struct mptcp_out_options {}; - -struct mptcp_sock {}; - -struct mq_sched { - struct Qdisc **qdiscs; -}; - -struct ubuf_info; - -struct msghdr { - void *msg_name; - int msg_namelen; - int msg_inq; - long: 32; - struct iov_iter msg_iter; - union { - void *msg_control; - void *msg_control_user; - }; - bool msg_control_is_user: 1; - bool msg_get_inq: 1; - unsigned int msg_flags; - __kernel_size_t msg_controllen; - struct kiocb *msg_iocb; - struct ubuf_info *msg_ubuf; - int (*sg_from_iter)(struct sock *, struct sk_buff *, struct iov_iter *, size_t); - long: 32; -}; - -struct msi_msg { - union { - u32 address_lo; - arch_msi_msg_addr_lo_t arch_addr_lo; - }; - union { - u32 address_hi; - arch_msi_msg_addr_hi_t arch_addr_hi; - }; - union { - u32 data; - arch_msi_msg_data_t arch_data; - }; -}; - -struct pci_msi_desc { - union { - u32 msi_mask; - u32 msix_ctrl; - }; - struct { - u8 is_msix: 1; - u8 multiple: 3; - u8 multi_cap: 3; - u8 can_mask: 1; - u8 is_64: 1; - u8 is_virtual: 1; - unsigned int default_irq; - } msi_attrib; - union { - u8 mask_pos; - void *mask_base; - }; -}; - -union msi_domain_cookie { - u64 value; - void *ptr; - void *iobase; -}; - -union msi_instance_cookie { - u64 value; - void *ptr; -}; - -struct msi_desc_data { - union msi_domain_cookie dcookie; - union msi_instance_cookie icookie; -}; - -struct msi_desc { - unsigned int irq; - unsigned int nvec_used; - struct device *dev; - struct msi_msg msg; - struct irq_affinity_desc *affinity; - void (*write_msi_msg)(struct msi_desc *, void *); - void *write_msi_msg_data; - u16 msi_index; - union { - struct pci_msi_desc pci; - struct msi_desc_data data; - }; -}; - -struct multiprocess_signals { - sigset_t signal; - struct hlist_node node; -}; - -struct ww_acquire_ctx; - -struct mutex_waiter { - struct list_head list; - struct task_struct *task; - struct ww_acquire_ctx *ww_ctx; -}; - -struct name_snapshot { - struct qstr name; - unsigned char inline_name[40]; -}; - -struct saved { - struct path link; - struct delayed_call done; - const char *name; - unsigned int seq; -}; - -struct nameidata { - struct path path; - struct qstr last; - struct path root; - struct inode *inode; - unsigned int flags; - unsigned int state; - unsigned int seq; - unsigned int next_seq; - unsigned int m_seq; - unsigned int r_seq; - int last_type; - unsigned int depth; - int total_link_count; - struct saved *stack; - struct saved internal[2]; - struct filename *name; - struct nameidata *saved; - unsigned int root_seq; - int dfd; - vfsuid_t dir_vfsuid; - umode_t dir_mode; - long: 32; -}; - -struct page_frag_cache { - void *va; - __u16 offset; - __u16 size; - unsigned int pagecnt_bias; - bool pfmemalloc; -}; - -struct page_frag_1k { - void *va; - u16 offset; - bool pfmemalloc; -}; - -struct napi_alloc_cache { - struct page_frag_cache page; - struct page_frag_1k page_small; - unsigned int skb_count; - void *skb_cache[64]; -}; - -struct napi_gro_cb { - union { - struct { - void *frag0; - unsigned int frag0_len; - }; - struct { - struct sk_buff *last; - long unsigned int age; - }; - }; - int data_offset; - u16 flush; - u16 flush_id; - u16 count; - u16 proto; - union { - struct { - u16 gro_remcsum_start; - u8 same_flow: 1; - u8 encap_mark: 1; - u8 csum_valid: 1; - u8 csum_cnt: 3; - u8 free: 2; - u8 is_ipv6: 1; - u8 is_fou: 1; - u8 is_atomic: 1; - u8 recursion_counter: 4; - u8 is_flist: 1; - }; - struct { - u16 gro_remcsum_start; - u8 same_flow: 1; - u8 encap_mark: 1; - u8 csum_valid: 1; - u8 csum_cnt: 3; - u8 free: 2; - u8 is_ipv6: 1; - u8 is_fou: 1; - u8 is_atomic: 1; - u8 recursion_counter: 4; - u8 is_flist: 1; - } zeroed; - }; - __wsum csum; -}; - -struct nd_msg { - struct icmp6hdr icmph; - struct in6_addr target; - __u8 opt[0]; -}; - -struct nd_opt_hdr { - __u8 nd_opt_type; - __u8 nd_opt_len; -}; - -struct nda_cacheinfo { - __u32 ndm_confirmed; - __u32 ndm_used; - __u32 ndm_updated; - __u32 ndm_refcnt; -}; - -struct ndisc_options; - -struct prefix_info; - -struct ndisc_ops { - int (*is_useropt)(u8); - int (*parse_options)(const struct net_device *, struct nd_opt_hdr *, struct ndisc_options *); - void (*update)(const struct net_device *, struct neighbour *, u32, u8, const struct ndisc_options *); - int (*opt_addr_space)(const struct net_device *, u8, struct neighbour *, u8 *, u8 **); - void (*fill_addr_option)(const struct net_device *, struct sk_buff *, u8, const u8 *); - void (*prefix_rcv_add_addr)(struct net *, struct net_device *, const struct prefix_info *, struct inet6_dev *, struct in6_addr *, int, u32, bool, bool, __u32, u32, bool); -}; - -struct ndisc_options { - struct nd_opt_hdr *nd_opt_array[15]; - struct nd_opt_hdr *nd_useropts; - struct nd_opt_hdr *nd_useropts_end; -}; - -struct ndmsg { - __u8 ndm_family; - __u8 ndm_pad1; - __u16 ndm_pad2; - __s32 ndm_ifindex; - __u16 ndm_state; - __u8 ndm_flags; - __u8 ndm_type; -}; - -struct ndt_config { - __u16 ndtc_key_len; - __u16 ndtc_entry_size; - __u32 ndtc_entries; - __u32 ndtc_last_flush; - __u32 ndtc_last_rand; - __u32 ndtc_hash_rnd; - __u32 ndtc_hash_mask; - __u32 ndtc_hash_chain_gc; - __u32 ndtc_proxy_qlen; -}; - -struct ndt_stats { - __u64 ndts_allocs; - __u64 ndts_destroys; - __u64 ndts_hash_grows; - __u64 ndts_res_failed; - __u64 ndts_lookups; - __u64 ndts_hits; - __u64 ndts_rcv_probes_mcast; - __u64 ndts_rcv_probes_ucast; - __u64 ndts_periodic_gc_runs; - __u64 ndts_forced_gc_runs; - __u64 ndts_table_fulls; -}; - -struct ndtmsg { - __u8 ndtm_family; - __u8 ndtm_pad1; - __u16 ndtm_pad2; -}; - -struct nduseroptmsg { - unsigned char nduseropt_family; - unsigned char nduseropt_pad1; - short unsigned int nduseropt_opts_len; - int nduseropt_ifindex; - __u8 nduseropt_icmp_type; - __u8 nduseropt_icmp_code; - short unsigned int nduseropt_pad2; - unsigned int nduseropt_pad3; -}; - -struct neigh_dump_filter { - int master_idx; - int dev_idx; -}; - -struct neigh_hash_table { - struct neighbour **hash_buckets; - unsigned int hash_shift; - __u32 hash_rnd[4]; - struct callback_head rcu; -}; - -struct neigh_ops { - int family; - void (*solicit)(struct neighbour *, struct sk_buff *); - void (*error_report)(struct neighbour *, struct sk_buff *); - int (*output)(struct neighbour *, struct sk_buff *); - int (*connected_output)(struct neighbour *, struct sk_buff *); -}; - -struct neigh_parms { - possible_net_t net; - struct net_device *dev; - netdevice_tracker dev_tracker; - struct list_head list; - int (*neigh_setup)(struct neighbour *); - struct neigh_table *tbl; - void *sysctl_table; - int dead; - refcount_t refcnt; - struct callback_head callback_head; - int reachable_time; - u32 qlen; - int data[14]; - long unsigned int data_state[1]; -}; - -struct neigh_statistics { - long unsigned int allocs; - long unsigned int destroys; - long unsigned int hash_grows; - long unsigned int res_failed; - long unsigned int lookups; - long unsigned int hits; - long unsigned int rcv_probes_mcast; - long unsigned int rcv_probes_ucast; - long unsigned int periodic_gc_runs; - long unsigned int forced_gc_runs; - long unsigned int unres_discards; - long unsigned int table_fulls; -}; - -struct pneigh_entry; - -struct neigh_table { - int family; - unsigned int entry_size; - unsigned int key_len; - __be16 protocol; - __u32 (*hash)(const void *, const struct net_device *, __u32 *); - bool (*key_eq)(const struct neighbour *, const void *); - int (*constructor)(struct neighbour *); - int (*pconstructor)(struct pneigh_entry *); - void (*pdestructor)(struct pneigh_entry *); - void (*proxy_redo)(struct sk_buff *); - int (*is_multicast)(const void *); - bool (*allow_add)(const struct net_device *, struct netlink_ext_ack *); - char *id; - struct neigh_parms parms; - struct list_head parms_list; - int gc_interval; - int gc_thresh1; - int gc_thresh2; - int gc_thresh3; - long unsigned int last_flush; - struct delayed_work gc_work; - struct delayed_work managed_work; - struct timer_list proxy_timer; - struct sk_buff_head proxy_queue; - atomic_t entries; - atomic_t gc_entries; - struct list_head gc_list; - struct list_head managed_list; - rwlock_t lock; - long unsigned int last_rand; - struct neigh_statistics *stats; - struct neigh_hash_table *nht; - struct pneigh_entry **phash_buckets; -}; - -struct neighbour { - struct neighbour *next; - struct neigh_table *tbl; - struct neigh_parms *parms; - long unsigned int confirmed; - long unsigned int updated; - rwlock_t lock; - refcount_t refcnt; - unsigned int arp_queue_len_bytes; - struct sk_buff_head arp_queue; - struct timer_list timer; - long unsigned int used; - atomic_t probes; - u8 nud_state; - u8 type; - u8 dead; - u8 protocol; - u32 flags; - seqlock_t ha_lock; - unsigned char ha[32]; - struct hh_cache hh; - int (*output)(struct neighbour *, struct sk_buff *); - const struct neigh_ops *ops; - struct list_head gc_list; - struct list_head managed_list; - struct callback_head rcu; - struct net_device *dev; - netdevice_tracker dev_tracker; - u8 primary_key[0]; - long: 32; -}; - -struct neighbour_cb { - long unsigned int sched_next; - unsigned int flags; -}; - -union nested_table { - union nested_table *table; - struct rhash_lock_head *bucket; -}; - -struct ref_tracker_dir {}; - -struct raw_notifier_head { - struct notifier_block *head; -}; - -struct netns_core { - struct ctl_table_header *sysctl_hdr; - int sysctl_somaxconn; - u8 sysctl_txrehash; -}; - -struct tcp_mib; - -struct udp_mib; - -struct netns_mib { - struct ipstats_mib *ip_statistics; - struct ipstats_mib *ipv6_statistics; - struct tcp_mib *tcp_statistics; - struct linux_mib *net_statistics; - struct udp_mib *udp_statistics; - struct udp_mib *udp_stats_in6; - struct udp_mib *udplite_statistics; - struct udp_mib *udplite_stats_in6; - struct icmp_mib *icmp_statistics; - struct icmpmsg_mib *icmpmsg_statistics; - struct icmpv6_mib *icmpv6_statistics; - struct icmpv6msg_mib *icmpv6msg_statistics; - struct proc_dir_entry *proc_net_devsnmp6; -}; - -struct netns_packet { - struct mutex sklist_lock; - struct hlist_head sklist; -}; - -struct netns_nexthop { - struct rb_root rb_root; - struct hlist_head *devhash; - unsigned int seq; - u32 last_id_allocated; - struct blocking_notifier_head notifier_chain; -}; - -struct ping_group_range { - seqlock_t lock; - kgid_t range[2]; -}; - -struct netns_ipv4 { - struct inet_timewait_death_row tcp_death_row; - struct udp_table *udp_table; - struct ipv4_devconf *devconf_all; - struct ipv4_devconf *devconf_dflt; - struct ip_ra_chain *ra_chain; - struct mutex ra_mutex; - bool fib_has_custom_local_routes; - bool fib_offload_disabled; - u8 sysctl_tcp_shrink_window; - struct hlist_head *fib_table_hash; - struct sock *fibnl; - struct sock *mc_autojoin_sk; - struct inet_peer_base *peers; - struct fqdir *fqdir; - u8 sysctl_icmp_echo_ignore_all; - u8 sysctl_icmp_echo_enable_probe; - u8 sysctl_icmp_echo_ignore_broadcasts; - u8 sysctl_icmp_ignore_bogus_error_responses; - u8 sysctl_icmp_errors_use_inbound_ifaddr; - int sysctl_icmp_ratelimit; - int sysctl_icmp_ratemask; - u32 ip_rt_min_pmtu; - int ip_rt_mtu_expires; - int ip_rt_min_advmss; - struct local_ports ip_local_ports; - u8 sysctl_tcp_ecn; - u8 sysctl_tcp_ecn_fallback; - u8 sysctl_ip_default_ttl; - u8 sysctl_ip_no_pmtu_disc; - u8 sysctl_ip_fwd_use_pmtu; - u8 sysctl_ip_fwd_update_priority; - u8 sysctl_ip_nonlocal_bind; - u8 sysctl_ip_autobind_reuse; - u8 sysctl_ip_dynaddr; - u8 sysctl_ip_early_demux; - u8 sysctl_tcp_early_demux; - u8 sysctl_udp_early_demux; - u8 sysctl_nexthop_compat_mode; - u8 sysctl_fwmark_reflect; - u8 sysctl_tcp_fwmark_accept; - u8 sysctl_tcp_mtu_probing; - int sysctl_tcp_mtu_probe_floor; - int sysctl_tcp_base_mss; - int sysctl_tcp_min_snd_mss; - int sysctl_tcp_probe_threshold; - u32 sysctl_tcp_probe_interval; - int sysctl_tcp_keepalive_time; - int sysctl_tcp_keepalive_intvl; - u8 sysctl_tcp_keepalive_probes; - u8 sysctl_tcp_syn_retries; - u8 sysctl_tcp_synack_retries; - u8 sysctl_tcp_syncookies; - u8 sysctl_tcp_migrate_req; - u8 sysctl_tcp_comp_sack_nr; - int sysctl_tcp_reordering; - u8 sysctl_tcp_retries1; - u8 sysctl_tcp_retries2; - u8 sysctl_tcp_orphan_retries; - u8 sysctl_tcp_tw_reuse; - int sysctl_tcp_fin_timeout; - unsigned int sysctl_tcp_notsent_lowat; - u8 sysctl_tcp_sack; - u8 sysctl_tcp_window_scaling; - u8 sysctl_tcp_timestamps; - u8 sysctl_tcp_early_retrans; - u8 sysctl_tcp_recovery; - u8 sysctl_tcp_thin_linear_timeouts; - u8 sysctl_tcp_slow_start_after_idle; - u8 sysctl_tcp_retrans_collapse; - u8 sysctl_tcp_stdurg; - u8 sysctl_tcp_rfc1337; - u8 sysctl_tcp_abort_on_overflow; - u8 sysctl_tcp_fack; - int sysctl_tcp_max_reordering; - int sysctl_tcp_adv_win_scale; - u8 sysctl_tcp_dsack; - u8 sysctl_tcp_app_win; - u8 sysctl_tcp_frto; - u8 sysctl_tcp_nometrics_save; - u8 sysctl_tcp_no_ssthresh_metrics_save; - u8 sysctl_tcp_moderate_rcvbuf; - u8 sysctl_tcp_tso_win_divisor; - u8 sysctl_tcp_workaround_signed_windows; - int sysctl_tcp_limit_output_bytes; - int sysctl_tcp_challenge_ack_limit; - int sysctl_tcp_min_rtt_wlen; - u8 sysctl_tcp_min_tso_segs; - u8 sysctl_tcp_tso_rtt_log; - u8 sysctl_tcp_autocorking; - u8 sysctl_tcp_reflect_tos; - int sysctl_tcp_invalid_ratelimit; - int sysctl_tcp_pacing_ss_ratio; - int sysctl_tcp_pacing_ca_ratio; - int sysctl_tcp_wmem[3]; - int sysctl_tcp_rmem[3]; - unsigned int sysctl_tcp_child_ehash_entries; - long unsigned int sysctl_tcp_comp_sack_delay_ns; - long unsigned int sysctl_tcp_comp_sack_slack_ns; - int sysctl_max_syn_backlog; - int sysctl_tcp_fastopen; - const struct tcp_congestion_ops *tcp_congestion_control; - struct tcp_fastopen_context *tcp_fastopen_ctx; - unsigned int sysctl_tcp_fastopen_blackhole_timeout; - atomic_t tfo_active_disable_times; - long unsigned int tfo_active_disable_stamp; - u32 tcp_challenge_timestamp; - u32 tcp_challenge_count; - u8 sysctl_tcp_plb_enabled; - u8 sysctl_tcp_plb_idle_rehash_rounds; - u8 sysctl_tcp_plb_rehash_rounds; - u8 sysctl_tcp_plb_suspend_rto_sec; - int sysctl_tcp_plb_cong_thresh; - int sysctl_udp_wmem_min; - int sysctl_udp_rmem_min; - u8 sysctl_fib_notify_on_flag_change; - u8 sysctl_tcp_syn_linear_timeouts; - u8 sysctl_igmp_llm_reports; - int sysctl_igmp_max_memberships; - int sysctl_igmp_max_msf; - int sysctl_igmp_qrv; - struct ping_group_range ping_group_range; - atomic_t dev_addr_genid; - unsigned int sysctl_udp_child_hash_entries; - struct fib_notifier_ops *notifier_ops; - unsigned int fib_seq; - struct fib_notifier_ops *ipmr_notifier_ops; - unsigned int ipmr_seq; - atomic_t rt_genid; - siphash_key_t ip_id_key; -}; - -struct netns_sysctl_ipv6 { - int flush_delay; - int ip6_rt_max_size; - int ip6_rt_gc_min_interval; - int ip6_rt_gc_timeout; - int ip6_rt_gc_interval; - int ip6_rt_gc_elasticity; - int ip6_rt_mtu_expires; - int ip6_rt_min_advmss; - u32 multipath_hash_fields; - u8 multipath_hash_policy; - u8 bindv6only; - u8 flowlabel_consistency; - u8 auto_flowlabels; - int icmpv6_time; - u8 icmpv6_echo_ignore_all; - u8 icmpv6_echo_ignore_multicast; - u8 icmpv6_echo_ignore_anycast; - long unsigned int icmpv6_ratemask[8]; - long unsigned int *icmpv6_ratemask_ptr; - u8 anycast_src_echo_reply; - u8 ip_nonlocal_bind; - u8 fwmark_reflect; - u8 flowlabel_state_ranges; - int idgen_retries; - int idgen_delay; - int flowlabel_reflect; - int max_dst_opts_cnt; - int max_hbh_opts_cnt; - int max_dst_opts_len; - int max_hbh_opts_len; - int seg6_flowlabel; - u32 ioam6_id; - long: 32; - u64 ioam6_id_wide; - u8 skip_notify_on_dev_down; - u8 fib_notify_on_flag_change; - u8 icmpv6_error_anycast_as_unicast; - long: 32; -}; - -struct rt6_statistics; - -struct seg6_pernet_data; - -struct netns_ipv6 { - struct dst_ops ip6_dst_ops; - struct netns_sysctl_ipv6 sysctl; - struct ipv6_devconf *devconf_all; - struct ipv6_devconf *devconf_dflt; - struct inet_peer_base *peers; - struct fqdir *fqdir; - struct fib6_info *fib6_null_entry; - struct rt6_info *ip6_null_entry; - struct rt6_statistics *rt6_stats; - struct timer_list ip6_fib_timer; - struct hlist_head *fib_table_hash; - struct fib6_table *fib6_main_tbl; - struct list_head fib6_walkers; - rwlock_t fib6_walker_lock; - spinlock_t fib6_gc_lock; - atomic_t ip6_rt_gc_expire; - long unsigned int ip6_rt_last_gc; - unsigned char flowlabel_has_excl; - struct sock *ndisc_sk; - struct sock *tcp_sk; - struct sock *igmp_sk; - struct sock *mc_autojoin_sk; - struct hlist_head *inet6_addr_lst; - spinlock_t addrconf_hash_lock; - struct delayed_work addr_chk_work; - atomic_t dev_addr_genid; - atomic_t fib6_sernum; - struct seg6_pernet_data *seg6_data; - struct fib_notifier_ops *notifier_ops; - struct fib_notifier_ops *ip6mr_notifier_ops; - unsigned int ipmr_seq; - struct { - struct hlist_head head; - spinlock_t lock; - u32 seq; - } ip6addrlbl_table; - struct ioam6_pernet_data *ioam6_data; -}; - -struct nf_logger; - -struct nf_hook_entries; - -struct netns_nf { - const struct nf_logger *nf_loggers[11]; - struct nf_hook_entries *hooks_ipv4[5]; - struct nf_hook_entries *hooks_ipv6[5]; -}; - -struct netns_bpf { - struct bpf_prog_array *run_array[2]; - struct bpf_prog *progs[2]; - struct list_head links[2]; -}; - -struct uevent_sock; - -struct net_generic; - -struct net { - refcount_t passive; - spinlock_t rules_mod_lock; - atomic_t dev_unreg_count; - unsigned int dev_base_seq; - u32 ifindex; - spinlock_t nsid_lock; - atomic_t fnhe_genid; - struct list_head list; - struct list_head exit_list; - struct llist_node cleanup_list; - struct user_namespace *user_ns; - struct ucounts *ucounts; - struct idr netns_ids; - struct ns_common ns; - struct ref_tracker_dir refcnt_tracker; - struct ref_tracker_dir notrefcnt_tracker; - struct list_head dev_base_head; - struct proc_dir_entry *proc_net; - struct proc_dir_entry *proc_net_stat; - struct sock *rtnl; - struct sock *genl_sock; - struct uevent_sock *uevent_sock; - struct hlist_head *dev_name_head; - struct hlist_head *dev_index_head; - struct xarray dev_by_index; - struct raw_notifier_head netdev_chain; - u32 hash_mix; - struct net_device *loopback_dev; - struct list_head rules_ops; - struct netns_core core; - struct netns_mib mib; - struct netns_packet packet; - struct netns_nexthop nexthop; - long: 32; - struct netns_ipv4 ipv4; - struct netns_ipv6 ipv6; - struct netns_nf nf; - struct net_generic *gen; - struct netns_bpf bpf; - u64 net_cookie; - struct sock *diag_nlsk; - long: 32; -}; - -struct net_device_stats { - union { - long unsigned int rx_packets; - atomic_long_t __rx_packets; - }; - union { - long unsigned int tx_packets; - atomic_long_t __tx_packets; - }; - union { - long unsigned int rx_bytes; - atomic_long_t __rx_bytes; - }; - union { - long unsigned int tx_bytes; - atomic_long_t __tx_bytes; - }; - union { - long unsigned int rx_errors; - atomic_long_t __rx_errors; - }; - union { - long unsigned int tx_errors; - atomic_long_t __tx_errors; - }; - union { - long unsigned int rx_dropped; - atomic_long_t __rx_dropped; - }; - union { - long unsigned int tx_dropped; - atomic_long_t __tx_dropped; - }; - union { - long unsigned int multicast; - atomic_long_t __multicast; - }; - union { - long unsigned int collisions; - atomic_long_t __collisions; - }; - union { - long unsigned int rx_length_errors; - atomic_long_t __rx_length_errors; - }; - union { - long unsigned int rx_over_errors; - atomic_long_t __rx_over_errors; - }; - union { - long unsigned int rx_crc_errors; - atomic_long_t __rx_crc_errors; - }; - union { - long unsigned int rx_frame_errors; - atomic_long_t __rx_frame_errors; - }; - union { - long unsigned int rx_fifo_errors; - atomic_long_t __rx_fifo_errors; - }; - union { - long unsigned int rx_missed_errors; - atomic_long_t __rx_missed_errors; - }; - union { - long unsigned int tx_aborted_errors; - atomic_long_t __tx_aborted_errors; - }; - union { - long unsigned int tx_carrier_errors; - atomic_long_t __tx_carrier_errors; - }; - union { - long unsigned int tx_fifo_errors; - atomic_long_t __tx_fifo_errors; - }; - union { - long unsigned int tx_heartbeat_errors; - atomic_long_t __tx_heartbeat_errors; - }; - union { - long unsigned int tx_window_errors; - atomic_long_t __tx_window_errors; - }; - union { - long unsigned int rx_compressed; - atomic_long_t __rx_compressed; - }; - union { - long unsigned int tx_compressed; - atomic_long_t __tx_compressed; - }; -}; - -struct netdev_hw_addr_list { - struct list_head list; - int count; - struct rb_root tree; -}; - -typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **); - -struct pcpu_dstats; - -struct netdev_tc_txq { - u16 count; - u16 offset; -}; - -struct sfp_bus; - -struct udp_tunnel_nic; - -struct netdev_name_node; - -struct net_device_ops; - -struct xdp_metadata_ops; - -struct net_device_core_stats; - -struct netdev_rx_queue; - -struct xdp_dev_bulk_queue; - -struct pcpu_lstats; - -struct pcpu_sw_netstats; - -struct udp_tunnel_nic_info; - -struct rtnl_hw_stats64; - -struct net_device { - char name[16]; - struct netdev_name_node *name_node; - struct dev_ifalias *ifalias; - long unsigned int mem_end; - long unsigned int mem_start; - long unsigned int base_addr; - long unsigned int state; - struct list_head dev_list; - struct list_head napi_list; - struct list_head unreg_list; - struct list_head close_list; - struct list_head ptype_all; - struct list_head ptype_specific; - struct { - struct list_head upper; - struct list_head lower; - } adj_list; - unsigned int flags; - xdp_features_t xdp_features; - long long unsigned int priv_flags; - const struct net_device_ops *netdev_ops; - const struct xdp_metadata_ops *xdp_metadata_ops; - int ifindex; - short unsigned int gflags; - short unsigned int hard_header_len; - unsigned int mtu; - short unsigned int needed_headroom; - short unsigned int needed_tailroom; - netdev_features_t features; - netdev_features_t hw_features; - netdev_features_t wanted_features; - netdev_features_t vlan_features; - netdev_features_t hw_enc_features; - netdev_features_t mpls_features; - netdev_features_t gso_partial_features; - unsigned int min_mtu; - unsigned int max_mtu; - short unsigned int type; - unsigned char min_header_len; - unsigned char name_assign_type; - int group; - struct net_device_stats stats; - struct net_device_core_stats *core_stats; - atomic_t carrier_up_count; - atomic_t carrier_down_count; - const struct ethtool_ops *ethtool_ops; - const struct ndisc_ops *ndisc_ops; - const struct header_ops *header_ops; - unsigned char operstate; - unsigned char link_mode; - unsigned char if_port; - unsigned char dma; - unsigned char perm_addr[32]; - unsigned char addr_assign_type; - unsigned char addr_len; - unsigned char upper_level; - unsigned char lower_level; - short unsigned int neigh_priv_len; - short unsigned int dev_id; - short unsigned int dev_port; - short unsigned int padded; - spinlock_t addr_list_lock; - int irq; - struct netdev_hw_addr_list uc; - struct netdev_hw_addr_list mc; - struct netdev_hw_addr_list dev_addrs; - unsigned int promiscuity; - unsigned int allmulti; - bool uc_promisc; - struct in_device *ip_ptr; - struct inet6_dev *ip6_ptr; - const unsigned char *dev_addr; - struct netdev_rx_queue *_rx; - unsigned int num_rx_queues; - unsigned int real_num_rx_queues; - struct bpf_prog *xdp_prog; - long unsigned int gro_flush_timeout; - int napi_defer_hard_irqs; - unsigned int gro_max_size; - unsigned int gro_ipv4_max_size; - unsigned int xdp_zc_max_segs; - rx_handler_func_t *rx_handler; - void *rx_handler_data; - struct bpf_mprog_entry *tcx_ingress; - struct netdev_queue *ingress_queue; - struct nf_hook_entries *nf_hooks_ingress; - unsigned char broadcast[32]; - struct hlist_node index_hlist; - struct netdev_queue *_tx; - unsigned int num_tx_queues; - unsigned int real_num_tx_queues; - struct Qdisc *qdisc; - unsigned int tx_queue_len; - spinlock_t tx_global_lock; - struct xdp_dev_bulk_queue *xdp_bulkq; - struct bpf_mprog_entry *tcx_egress; - struct nf_hook_entries *nf_hooks_egress; - struct timer_list watchdog_timer; - int watchdog_timeo; - u32 proto_down_reason; - struct list_head todo_list; - refcount_t dev_refcnt; - struct ref_tracker_dir refcnt_tracker; - struct list_head link_watch_list; - enum { - NETREG_UNINITIALIZED = 0, - NETREG_REGISTERED = 1, - NETREG_UNREGISTERING = 2, - NETREG_UNREGISTERED = 3, - NETREG_RELEASED = 4, - NETREG_DUMMY = 5, - } reg_state: 8; - bool dismantle; - enum { - RTNL_LINK_INITIALIZED = 0, - RTNL_LINK_INITIALIZING = 1, - } rtnl_link_state: 16; - bool needs_free_netdev; - void (*priv_destructor)(struct net_device *); - possible_net_t nd_net; - void *ml_priv; - enum netdev_ml_priv_type ml_priv_type; - union { - struct pcpu_lstats *lstats; - struct pcpu_sw_netstats *tstats; - struct pcpu_dstats *dstats; - }; - struct device dev; - const struct attribute_group *sysfs_groups[4]; - const struct attribute_group *sysfs_rx_queue_group; - const struct rtnl_link_ops *rtnl_link_ops; - unsigned int gso_max_size; - unsigned int tso_max_size; - u16 gso_max_segs; - u16 tso_max_segs; - unsigned int gso_ipv4_max_size; - s16 num_tc; - struct netdev_tc_txq tc_to_txq[16]; - u8 prio_tc_map[16]; - struct phy_device *phydev; - struct sfp_bus *sfp_bus; - struct lock_class_key *qdisc_tx_busylock; - bool proto_down; - unsigned int wol_enabled: 1; - unsigned int threaded: 1; - struct list_head net_notifier_list; - const struct udp_tunnel_nic_info *udp_tunnel_nic_info; - struct udp_tunnel_nic *udp_tunnel_nic; - struct bpf_xdp_entity xdp_state[3]; - u8 dev_addr_shadow[32]; - netdevice_tracker linkwatch_dev_tracker; - netdevice_tracker watchdog_dev_tracker; - netdevice_tracker dev_registered_tracker; - struct rtnl_hw_stats64 *offload_xstats_l3; - struct devlink_port *devlink_port; - long: 32; -}; - -struct net_device_core_stats { - long unsigned int rx_dropped; - long unsigned int tx_dropped; - long unsigned int rx_nohandler; - long unsigned int rx_otherhost_dropped; -}; - -struct net_device_devres { - struct net_device *ndev; -}; - -struct rtnl_link_stats64; - -struct netdev_bpf; - -struct xdp_frame; - -struct net_device_path_ctx; - -struct net_device_path; - -struct skb_shared_hwtstamps; - -struct net_device_ops { - int (*ndo_init)(struct net_device *); - void (*ndo_uninit)(struct net_device *); - int (*ndo_open)(struct net_device *); - int (*ndo_stop)(struct net_device *); - netdev_tx_t (*ndo_start_xmit)(struct sk_buff *, struct net_device *); - netdev_features_t (*ndo_features_check)(struct sk_buff *, struct net_device *, netdev_features_t); - u16 (*ndo_select_queue)(struct net_device *, struct sk_buff *, struct net_device *); - void (*ndo_change_rx_flags)(struct net_device *, int); - void (*ndo_set_rx_mode)(struct net_device *); - int (*ndo_set_mac_address)(struct net_device *, void *); - int (*ndo_validate_addr)(struct net_device *); - int (*ndo_do_ioctl)(struct net_device *, struct ifreq *, int); - int (*ndo_eth_ioctl)(struct net_device *, struct ifreq *, int); - int (*ndo_siocbond)(struct net_device *, struct ifreq *, int); - int (*ndo_siocwandev)(struct net_device *, struct if_settings *); - int (*ndo_siocdevprivate)(struct net_device *, struct ifreq *, void *, int); - int (*ndo_set_config)(struct net_device *, struct ifmap *); - int (*ndo_change_mtu)(struct net_device *, int); - int (*ndo_neigh_setup)(struct net_device *, struct neigh_parms *); - void (*ndo_tx_timeout)(struct net_device *, unsigned int); - void (*ndo_get_stats64)(struct net_device *, struct rtnl_link_stats64 *); - bool (*ndo_has_offload_stats)(const struct net_device *, int); - int (*ndo_get_offload_stats)(int, const struct net_device *, void *); - struct net_device_stats * (*ndo_get_stats)(struct net_device *); - int (*ndo_vlan_rx_add_vid)(struct net_device *, __be16, u16); - int (*ndo_vlan_rx_kill_vid)(struct net_device *, __be16, u16); - int (*ndo_set_vf_mac)(struct net_device *, int, u8 *); - int (*ndo_set_vf_vlan)(struct net_device *, int, u16, u8, __be16); - int (*ndo_set_vf_rate)(struct net_device *, int, int, int); - int (*ndo_set_vf_spoofchk)(struct net_device *, int, bool); - int (*ndo_set_vf_trust)(struct net_device *, int, bool); - int (*ndo_get_vf_config)(struct net_device *, int, struct ifla_vf_info *); - int (*ndo_set_vf_link_state)(struct net_device *, int, int); - int (*ndo_get_vf_stats)(struct net_device *, int, struct ifla_vf_stats *); - int (*ndo_set_vf_port)(struct net_device *, int, struct nlattr **); - int (*ndo_get_vf_port)(struct net_device *, int, struct sk_buff *); - int (*ndo_get_vf_guid)(struct net_device *, int, struct ifla_vf_guid *, struct ifla_vf_guid *); - int (*ndo_set_vf_guid)(struct net_device *, int, u64, int); - int (*ndo_set_vf_rss_query_en)(struct net_device *, int, bool); - int (*ndo_setup_tc)(struct net_device *, enum tc_setup_type, void *); - int (*ndo_add_slave)(struct net_device *, struct net_device *, struct netlink_ext_ack *); - int (*ndo_del_slave)(struct net_device *, struct net_device *); - struct net_device * (*ndo_get_xmit_slave)(struct net_device *, struct sk_buff *, bool); - struct net_device * (*ndo_sk_get_lower_dev)(struct net_device *, struct sock *); - netdev_features_t (*ndo_fix_features)(struct net_device *, netdev_features_t); - int (*ndo_set_features)(struct net_device *, netdev_features_t); - int (*ndo_neigh_construct)(struct net_device *, struct neighbour *); - void (*ndo_neigh_destroy)(struct net_device *, struct neighbour *); - int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, struct netlink_ext_ack *); - int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, struct netlink_ext_ack *); - int (*ndo_fdb_del_bulk)(struct ndmsg *, struct nlattr **, struct net_device *, u16, struct netlink_ext_ack *); - int (*ndo_fdb_dump)(struct sk_buff *, struct netlink_callback *, struct net_device *, struct net_device *, int *); - int (*ndo_fdb_get)(struct sk_buff *, struct nlattr **, struct net_device *, const unsigned char *, u16, u32, u32, struct netlink_ext_ack *); - int (*ndo_mdb_add)(struct net_device *, struct nlattr **, u16, struct netlink_ext_ack *); - int (*ndo_mdb_del)(struct net_device *, struct nlattr **, struct netlink_ext_ack *); - int (*ndo_mdb_dump)(struct net_device *, struct sk_buff *, struct netlink_callback *); - int (*ndo_bridge_setlink)(struct net_device *, struct nlmsghdr *, u16, struct netlink_ext_ack *); - int (*ndo_bridge_getlink)(struct sk_buff *, u32, u32, struct net_device *, u32, int); - int (*ndo_bridge_dellink)(struct net_device *, struct nlmsghdr *, u16); - int (*ndo_change_carrier)(struct net_device *, bool); - int (*ndo_get_phys_port_id)(struct net_device *, struct netdev_phys_item_id *); - int (*ndo_get_port_parent_id)(struct net_device *, struct netdev_phys_item_id *); - int (*ndo_get_phys_port_name)(struct net_device *, char *, size_t); - void * (*ndo_dfwd_add_station)(struct net_device *, struct net_device *); - void (*ndo_dfwd_del_station)(struct net_device *, void *); - int (*ndo_set_tx_maxrate)(struct net_device *, int, u32); - int (*ndo_get_iflink)(const struct net_device *); - int (*ndo_fill_metadata_dst)(struct net_device *, struct sk_buff *); - void (*ndo_set_rx_headroom)(struct net_device *, int); - int (*ndo_bpf)(struct net_device *, struct netdev_bpf *); - int (*ndo_xdp_xmit)(struct net_device *, int, struct xdp_frame **, u32); - struct net_device * (*ndo_xdp_get_xmit_slave)(struct net_device *, struct xdp_buff *); - int (*ndo_xsk_wakeup)(struct net_device *, u32, u32); - int (*ndo_tunnel_ctl)(struct net_device *, struct ip_tunnel_parm *, int); - struct net_device * (*ndo_get_peer_dev)(struct net_device *); - int (*ndo_fill_forward_path)(struct net_device_path_ctx *, struct net_device_path *); - ktime_t (*ndo_get_tstamp)(struct net_device *, const struct skb_shared_hwtstamps *, bool); - int (*ndo_hwtstamp_get)(struct net_device *, struct kernel_hwtstamp_config *); - int (*ndo_hwtstamp_set)(struct net_device *, struct kernel_hwtstamp_config *, struct netlink_ext_ack *); -}; - -struct net_device_path { - enum net_device_path_type type; - const struct net_device *dev; - union { - struct { - u16 id; - __be16 proto; - u8 h_dest[6]; - } encap; - struct { - enum { - DEV_PATH_BR_VLAN_KEEP = 0, - DEV_PATH_BR_VLAN_TAG = 1, - DEV_PATH_BR_VLAN_UNTAG = 2, - DEV_PATH_BR_VLAN_UNTAG_HW = 3, - } vlan_mode; - u16 vlan_id; - __be16 vlan_proto; - } bridge; - struct { - int port; - u16 proto; - } dsa; - struct { - u8 wdma_idx; - u8 queue; - u16 wcid; - u8 bss; - } mtk_wdma; - }; -}; - -struct net_device_path_ctx { - const struct net_device *dev; - u8 daddr[6]; - int num_vlans; - struct { - u16 id; - __be16 proto; - } vlan[2]; -}; - -struct net_device_path_stack { - int num_paths; - struct net_device_path path[5]; -}; - -struct net_fill_args { - u32 portid; - u32 seq; - int flags; - int cmd; - int nsid; - bool add_ref; - int ref_nsid; -}; - -struct net_generic { - union { - struct { - unsigned int len; - struct callback_head rcu; - } s; - struct { - struct {} __empty_ptr; - void *ptr[0]; - }; - }; -}; - -struct offload_callbacks { - struct sk_buff * (*gso_segment)(struct sk_buff *, netdev_features_t); - struct sk_buff * (*gro_receive)(struct list_head *, struct sk_buff *); - int (*gro_complete)(struct sk_buff *, int); -}; - -struct net_offload { - struct offload_callbacks callbacks; - unsigned int flags; -}; - -struct net_proto_family { - int family; - int (*create)(struct net *, struct socket *, int, int); - struct module *owner; -}; - -struct net_protocol { - int (*handler)(struct sk_buff *); - int (*err_handler)(struct sk_buff *, u32); - unsigned int no_policy: 1; - unsigned int icmp_strict_tag_validation: 1; -}; - -struct net_rate_estimator { - struct gnet_stats_basic_sync *bstats; - spinlock_t *stats_lock; - bool running; - struct gnet_stats_basic_sync *cpu_bstats; - u8 ewma_log; - u8 intvl_log; - seqcount_t seq; - u64 last_packets; - u64 last_bytes; - u64 avpps; - u64 avbps; - long unsigned int next_jiffies; - struct timer_list timer; - struct callback_head rcu; -}; - -struct netconfmsg { - __u8 ncm_family; -}; - -struct netdev_adjacent { - struct net_device *dev; - netdevice_tracker dev_tracker; - bool master; - bool ignore; - u16 ref_nr; - void *private; - struct list_head list; - struct callback_head rcu; -}; - -struct netdev_bonding_info { - ifslave slave; - ifbond master; -}; - -struct xsk_buff_pool; - -struct netdev_bpf { - enum bpf_netdev_command command; - union { - struct { - u32 flags; - struct bpf_prog *prog; - struct netlink_ext_ack *extack; - }; - struct { - struct bpf_offloaded_map *offmap; - }; - struct { - struct xsk_buff_pool *pool; - u16 queue_id; - } xsk; - }; -}; - -struct netdev_hw_addr { - struct list_head list; - struct rb_node node; - unsigned char addr[32]; - unsigned char type; - bool global_use; - int sync_cnt; - int refcount; - int synced; - struct callback_head callback_head; -}; - -struct netdev_name_node { - struct hlist_node hlist; - struct list_head list; - struct net_device *dev; - const char *name; -}; - -struct netdev_nested_priv { - unsigned char flags; - void *data; -}; - -struct netdev_net_notifier { - struct list_head list; - struct notifier_block *nb; -}; - -struct netdev_notifier_info { - struct net_device *dev; - struct netlink_ext_ack *extack; -}; - -struct netdev_notifier_bonding_info { - struct netdev_notifier_info info; - struct netdev_bonding_info bonding_info; -}; - -struct netdev_notifier_change_info { - struct netdev_notifier_info info; - unsigned int flags_changed; -}; - -struct netdev_notifier_changelowerstate_info { - struct netdev_notifier_info info; - void *lower_state_info; -}; - -struct netdev_notifier_changeupper_info { - struct netdev_notifier_info info; - struct net_device *upper_dev; - bool master; - bool linking; - void *upper_info; -}; - -struct netdev_notifier_info_ext { - struct netdev_notifier_info info; - union { - u32 mtu; - } ext; -}; - -struct netdev_notifier_offload_xstats_rd; - -struct netdev_notifier_offload_xstats_ru; - -struct netdev_notifier_offload_xstats_info { - struct netdev_notifier_info info; - enum netdev_offload_xstats_type type; - union { - struct netdev_notifier_offload_xstats_rd *report_delta; - struct netdev_notifier_offload_xstats_ru *report_used; - }; -}; - -struct rtnl_hw_stats64 { - __u64 rx_packets; - __u64 tx_packets; - __u64 rx_bytes; - __u64 tx_bytes; - __u64 rx_errors; - __u64 tx_errors; - __u64 rx_dropped; - __u64 tx_dropped; - __u64 multicast; -}; - -struct netdev_notifier_offload_xstats_rd { - struct rtnl_hw_stats64 stats; - bool used; - long: 32; -}; - -struct netdev_notifier_offload_xstats_ru { - bool used; -}; - -struct netdev_notifier_pre_changeaddr_info { - struct netdev_notifier_info info; - const unsigned char *dev_addr; -}; - -struct netdev_queue { - struct net_device *dev; - netdevice_tracker dev_tracker; - struct Qdisc *qdisc; - struct Qdisc *qdisc_sleeping; - long unsigned int tx_maxrate; - atomic_long_t trans_timeout; - struct net_device *sb_dev; - spinlock_t _xmit_lock; - int xmit_lock_owner; - long unsigned int trans_start; - long unsigned int state; -}; - -struct xdp_mem_info { - u32 type; - u32 id; -}; - -struct xdp_rxq_info { - struct net_device *dev; - u32 queue_index; - u32 reg_state; - struct xdp_mem_info mem; - unsigned int napi_id; - u32 frag_size; - long: 32; -}; - -struct netdev_rx_queue { - struct xdp_rxq_info xdp_rxq; - struct kobject kobj; - struct net_device *dev; - netdevice_tracker dev_tracker; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct netevent_redirect { - struct dst_entry *old; - struct dst_entry *new; - struct neighbour *neigh; - const void *daddr; -}; - -struct netlink_broadcast_data { - struct sock *exclude_sk; - struct net *net; - u32 portid; - u32 group; - int failure; - int delivery_failure; - int congested; - int delivered; - gfp_t allocation; - struct sk_buff *skb; - struct sk_buff *skb2; - int (*tx_filter)(struct sock *, struct sk_buff *, void *); - void *tx_data; -}; - -struct netlink_callback { - struct sk_buff *skb; - const struct nlmsghdr *nlh; - int (*dump)(struct sk_buff *, struct netlink_callback *); - int (*done)(struct netlink_callback *); - void *data; - struct module *module; - struct netlink_ext_ack *extack; - u16 family; - u16 answer_flags; - u32 min_dump_alloc; - unsigned int prev_seq; - unsigned int seq; - bool strict_check; - union { - u8 ctx[48]; - long int args[6]; - }; -}; - -struct netlink_compare_arg { - possible_net_t pnet; - u32 portid; -}; - -struct netlink_dump_control { - int (*start)(struct netlink_callback *); - int (*dump)(struct sk_buff *, struct netlink_callback *); - int (*done)(struct netlink_callback *); - struct netlink_ext_ack *extack; - void *data; - struct module *module; - u32 min_dump_alloc; -}; - -struct netlink_ext_ack { - const char *_msg; - const struct nlattr *bad_attr; - const struct nla_policy *policy; - const struct nlattr *miss_nest; - u16 miss_type; - u8 cookie[20]; - u8 cookie_len; - char _msg_buf[80]; -}; - -struct netlink_kernel_cfg { - unsigned int groups; - unsigned int flags; - void (*input)(struct sk_buff *); - struct mutex *cb_mutex; - int (*bind)(struct net *, int); - void (*unbind)(struct net *, int); - void (*release)(struct sock *, long unsigned int *); -}; - -struct netlink_notify { - struct net *net; - u32 portid; - int protocol; -}; - -struct netlink_policy_dump_state { - unsigned int policy_idx; - unsigned int attr_idx; - unsigned int n_alloc; - struct { - const struct nla_policy *policy; - unsigned int maxtype; - } policies[0]; -}; - -struct netlink_range_validation { - u64 min; - u64 max; -}; - -struct netlink_range_validation_signed { - s64 min; - s64 max; -}; - -struct netlink_set_err_data { - struct sock *exclude_sk; - u32 portid; - u32 group; - int code; -}; - -struct scm_creds { - u32 pid; - kuid_t uid; - kgid_t gid; -}; - -struct netlink_skb_parms { - struct scm_creds creds; - __u32 portid; - __u32 dst_group; - __u32 flags; - struct sock *sk; - bool nsid_is_set; - int nsid; -}; - -struct netlink_sock { - struct sock sk; - long unsigned int flags; - u32 portid; - u32 dst_portid; - u32 dst_group; - u32 subscriptions; - u32 ngroups; - long unsigned int *groups; - long unsigned int state; - size_t max_recvmsg_len; - wait_queue_head_t wait; - bool bound; - bool cb_running; - int dump_done_errno; - struct netlink_callback cb; - struct mutex *cb_mutex; - struct mutex cb_def_mutex; - void (*netlink_rcv)(struct sk_buff *); - int (*netlink_bind)(struct net *, int); - void (*netlink_unbind)(struct net *, int); - void (*netlink_release)(struct sock *, long unsigned int *); - struct module *module; - struct rhash_head node; - struct callback_head rcu; - struct work_struct work; - long: 32; -}; - -struct netlink_table { - struct rhashtable hash; - struct hlist_head mc_list; - struct listeners *listeners; - unsigned int flags; - unsigned int groups; - struct mutex *cb_mutex; - struct module *module; - int (*bind)(struct net *, int); - void (*unbind)(struct net *, int); - void (*release)(struct sock *, long unsigned int *); - int registered; -}; - -struct netlink_tap { - struct net_device *dev; - struct module *module; - struct list_head list; -}; - -struct netlink_tap_net { - struct list_head netlink_tap_all; - struct mutex netlink_tap_lock; -}; - -struct new_utsname { - char sysname[65]; - char nodename[65]; - char release[65]; - char version[65]; - char machine[65]; - char domainname[65]; -}; - -struct nh_info; - -struct nh_group; - -struct nexthop { - struct rb_node rb_node; - struct list_head fi_list; - struct list_head f6i_list; - struct list_head fdb_list; - struct list_head grp_list; - struct net *net; - u32 id; - u8 protocol; - u8 nh_flags; - bool is_group; - refcount_t refcnt; - struct callback_head rcu; - union { - struct nh_info *nh_info; - struct nh_group *nh_grp; - }; -}; - -struct nexthop_grp { - __u32 id; - __u8 weight; - __u8 resvd1; - __u16 resvd2; -}; - -struct nf_conntrack; - -struct nf_conntrack_tuple; - -struct nf_ct_hook { - int (*update)(struct net *, struct sk_buff *); - void (*destroy)(struct nf_conntrack *); - bool (*get_tuple_skb)(struct nf_conntrack_tuple *, const struct sk_buff *); - void (*attach)(struct sk_buff *, const struct sk_buff *); - void (*set_closing)(struct nf_conntrack *); -}; - -struct nf_defrag_hook { - struct module *owner; - int (*enable)(struct net *); - void (*disable)(struct net *); -}; - -struct nf_hook_entry { - nf_hookfn *hook; - void *priv; -}; - -struct nf_hook_entries { - u16 num_hook_entries; - struct nf_hook_entry hooks[0]; -}; - -struct nf_hook_entries_rcu_head { - struct callback_head head; - void *allocation; -}; - -struct nf_hook_state { - u8 hook; - u8 pf; - struct net_device *in; - struct net_device *out; - struct sock *sk; - struct net *net; - int (*okfn)(struct net *, struct sock *, struct sk_buff *); -}; - -struct nf_queue_entry; - -struct nf_ipv6_ops { - void (*route_input)(struct sk_buff *); - int (*fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *)); - int (*reroute)(struct sk_buff *, const struct nf_queue_entry *); -}; - -struct nf_log_buf { - unsigned int count; - char buf[1020]; -}; - -struct nf_loginfo; - -typedef void nf_logfn(struct net *, u_int8_t, unsigned int, const struct sk_buff *, const struct net_device *, const struct net_device *, const struct nf_loginfo *, const char *); - -struct nf_logger { - char *name; - enum nf_log_type type; - nf_logfn *logfn; - struct module *me; -}; - -struct nf_loginfo { - u_int8_t type; - union { - struct { - u_int32_t copy_len; - u_int16_t group; - u_int16_t qthreshold; - u_int16_t flags; - } ulog; - struct { - u_int8_t level; - u_int8_t logflags; - } log; - } u; -}; - -struct nf_queue_entry { - struct list_head list; - struct sk_buff *skb; - unsigned int id; - unsigned int hook_index; - struct nf_hook_state state; - u16 size; -}; - -struct nf_queue_handler { - int (*outfn)(struct nf_queue_entry *, unsigned int); - void (*nf_hook_drop)(struct net *); -}; - -struct nf_sockopt_ops { - struct list_head list; - u_int8_t pf; - int set_optmin; - int set_optmax; - int (*set)(struct sock *, int, sockptr_t, unsigned int); - int get_optmin; - int get_optmax; - int (*get)(struct sock *, int, void *, int *); - struct module *owner; -}; - -struct nf_conn; - -struct nfnl_ct_hook { - size_t (*build_size)(const struct nf_conn *); - int (*build)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, u_int16_t, u_int16_t); - int (*parse)(const struct nlattr *, struct nf_conn *); - int (*attach_expect)(const struct nlattr *, struct nf_conn *, u32, u32); - void (*seq_adjust)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, s32); -}; - -struct nh_config { - u32 nh_id; - u8 nh_family; - u8 nh_protocol; - u8 nh_blackhole; - u8 nh_fdb; - u32 nh_flags; - int nh_ifindex; - struct net_device *dev; - union { - __be32 ipv4; - struct in6_addr ipv6; - } gw; - struct nlattr *nh_grp; - u16 nh_grp_type; - u16 nh_grp_res_num_buckets; - long unsigned int nh_grp_res_idle_timer; - long unsigned int nh_grp_res_unbalanced_timer; - bool nh_grp_res_has_num_buckets; - bool nh_grp_res_has_idle_timer; - bool nh_grp_res_has_unbalanced_timer; - struct nlattr *nh_encap; - u16 nh_encap_type; - u32 nlflags; - struct nl_info nlinfo; -}; - -struct nh_dump_filter { - u32 nh_id; - int dev_idx; - int master_idx; - bool group_filter; - bool fdb_filter; - u32 res_bucket_nh_id; -}; - -struct nh_grp_entry { - struct nexthop *nh; - u8 weight; - union { - struct { - atomic_t upper_bound; - } hthr; - struct { - struct list_head uw_nh_entry; - u16 count_buckets; - u16 wants_buckets; - } res; - }; - struct list_head nh_list; - struct nexthop *nh_parent; -}; - -struct nh_res_table; - -struct nh_group { - struct nh_group *spare; - u16 num_nh; - bool is_multipath; - bool hash_threshold; - bool resilient; - bool fdb_nh; - bool has_v4; - struct nh_res_table *res_table; - struct nh_grp_entry nh_entries[0]; -}; - -struct nh_info { - struct hlist_node dev_hash; - struct nexthop *nh_parent; - u8 family; - bool reject_nh; - bool fdb_nh; - union { - struct fib_nh_common fib_nhc; - struct fib_nh fib_nh; - struct fib6_nh fib6_nh; - }; -}; - -struct nh_notifier_single_info { - struct net_device *dev; - u8 gw_family; - union { - __be32 ipv4; - struct in6_addr ipv6; - }; - u8 is_reject: 1; - u8 is_fdb: 1; - u8 has_encap: 1; -}; - -struct nh_notifier_grp_entry_info { - u8 weight; - u32 id; - struct nh_notifier_single_info nh; -}; - -struct nh_notifier_grp_info { - u16 num_nh; - bool is_fdb; - struct nh_notifier_grp_entry_info nh_entries[0]; -}; - -struct nh_notifier_res_table_info; - -struct nh_notifier_res_bucket_info; - -struct nh_notifier_info { - struct net *net; - struct netlink_ext_ack *extack; - u32 id; - enum nh_notifier_info_type type; - union { - struct nh_notifier_single_info *nh; - struct nh_notifier_grp_info *nh_grp; - struct nh_notifier_res_table_info *nh_res_table; - struct nh_notifier_res_bucket_info *nh_res_bucket; - }; -}; - -struct nh_notifier_res_bucket_info { - u16 bucket_index; - unsigned int idle_timer_ms; - bool force; - struct nh_notifier_single_info old_nh; - struct nh_notifier_single_info new_nh; -}; - -struct nh_notifier_res_table_info { - u16 num_nh_buckets; - struct nh_notifier_single_info nhs[0]; -}; - -struct nh_res_bucket { - struct nh_grp_entry *nh_entry; - atomic_long_t used_time; - long unsigned int migrated_time; - bool occupied; - u8 nh_flags; -}; - -struct nh_res_table { - struct net *net; - u32 nhg_id; - struct delayed_work upkeep_dw; - struct list_head uw_nh_entries; - long unsigned int unbalanced_since; - u32 idle_timer; - u32 unbalanced_timer; - u16 num_nh_buckets; - struct nh_res_bucket nh_buckets[0]; -}; - -struct nhmsg { - unsigned char nh_family; - unsigned char nh_scope; - unsigned char nh_protocol; - unsigned char resvd; - unsigned int nh_flags; -}; - -struct nl_pktinfo { - __u32 group; -}; - -struct nla_bitfield32 { - __u32 value; - __u32 selector; -}; - -struct nla_policy { - u8 type; - u8 validation_type; - u16 len; - union { - u16 strict_start_type; - const u32 bitfield32_valid; - const u32 mask; - const char *reject_message; - const struct nla_policy *nested_policy; - struct netlink_range_validation *range; - struct netlink_range_validation_signed *range_signed; - struct { - s16 min; - s16 max; - }; - int (*validate)(const struct nlattr *, struct netlink_ext_ack *); - }; -}; - -struct nlattr { - __u16 nla_len; - __u16 nla_type; -}; - -struct nlmsghdr { - __u32 nlmsg_len; - __u16 nlmsg_type; - __u16 nlmsg_flags; - __u32 nlmsg_seq; - __u32 nlmsg_pid; -}; - -struct nlmsgerr { - int error; - struct nlmsghdr msg; -}; - -struct ns_get_path_bpf_map_args { - struct bpf_offloaded_map *offmap; - struct bpf_map_info *info; -}; - -struct ns_get_path_bpf_prog_args { - struct bpf_prog *prog; - struct bpf_prog_info *info; -}; - -struct ns_get_path_task_args { - const struct proc_ns_operations *ns_ops; - struct task_struct *task; -}; - -struct uts_namespace; - -struct time_namespace; - -struct nsproxy { - refcount_t count; - struct uts_namespace *uts_ns; - struct ipc_namespace *ipc_ns; - struct mnt_namespace *mnt_ns; - struct pid_namespace *pid_ns_for_children; - struct net *net_ns; - struct time_namespace *time_ns; - struct time_namespace *time_ns_for_children; - struct cgroup_namespace *cgroup_ns; -}; - -struct nsset { - unsigned int flags; - struct nsproxy *nsproxy; - struct fs_struct *fs; - const struct cred *cred; -}; - -struct obs_kernel_param { - const char *str; - int (*setup_func)(char *); - int early; -}; - -struct of_bus { - void (*count_cells)(const void *, int, int *, int *); - u64 (*map)(__be32 *, const __be32 *, int, int, int); - int (*translate)(__be32 *, u64, int); -}; - -struct of_bus___2 { - const char *name; - const char *addresses; - int (*match)(struct device_node *); - void (*count_cells)(struct device_node *, int *, int *); - u64 (*map)(__be32 *, const __be32 *, int, int, int); - int (*translate)(__be32 *, u64, int); - bool has_flags; - unsigned int (*get_flags)(const __be32 *); -}; - -struct of_phandle_args; - -struct of_clk_provider { - struct list_head link; - struct device_node *node; - struct clk * (*get)(struct of_phandle_args *, void *); - struct clk_hw * (*get_hw)(struct of_phandle_args *, void *); - void *data; -}; - -struct of_dev_auxdata { - char *compatible; - resource_size_t phys_addr; - char *name; - void *platform_data; -}; - -struct of_device_id { - char name[32]; - char type[32]; - char compatible[128]; - const void *data; -}; - -struct of_endpoint { - unsigned int port; - unsigned int id; - const struct device_node *local_node; -}; - -typedef int (*of_irq_init_cb_t)(struct device_node *, struct device_node *); - -struct of_intc_desc { - struct list_head list; - of_irq_init_cb_t irq_init_cb; - struct device_node *dev; - struct device_node *interrupt_parent; -}; - -struct of_pci_range { - union { - u64 pci_addr; - u64 bus_addr; - }; - u64 cpu_addr; - u64 size; - u32 flags; - long: 32; -}; - -struct of_pci_range_parser { - struct device_node *node; - struct of_bus___2 *bus; - const __be32 *range; - const __be32 *end; - int na; - int ns; - int pna; - bool dma; -}; - -struct of_phandle_args { - struct device_node *np; - int args_count; - uint32_t args[16]; -}; - -struct of_phandle_iterator { - const char *cells_name; - int cell_count; - const struct device_node *parent; - const __be32 *list_end; - const __be32 *phandle_end; - const __be32 *cur; - uint32_t cur_count; - phandle phandle; - struct device_node *node; -}; - -struct of_timer_base { - void *base; - const char *name; - int index; -}; - -struct of_timer_clk { - struct clk *clk; - const char *name; - int index; - long unsigned int rate; - long unsigned int period; -}; - -struct of_timer_irq { - int irq; - int index; - int percpu; - const char *name; - long unsigned int flags; - irq_handler_t handler; -}; - -struct offset_ctx { - struct xarray xa; - u32 next_offset; -}; - -struct old_timespec32 { - old_time32_t tv_sec; - s32 tv_nsec; -}; - -struct old_itimerspec32 { - struct old_timespec32 it_interval; - struct old_timespec32 it_value; -}; - -struct old_sigaction { - __sighandler_t sa_handler; - old_sigset_t sa_mask; - long unsigned int sa_flags; - __sigrestore_t sa_restorer; -}; - -struct old_timeval32 { - old_time32_t tv_sec; - s32 tv_usec; -}; - -struct static_key_true; - -struct once_work { - struct work_struct work; - struct static_key_true *key; - struct module *module; -}; - -struct oom_control { - struct zonelist *zonelist; - nodemask_t *nodemask; - struct mem_cgroup *memcg; - const gfp_t gfp_mask; - const int order; - long unsigned int totalpages; - struct task_struct *chosen; - long int chosen_points; - enum oom_constraint constraint; -}; - -struct open_flags { - int open_flag; - umode_t mode; - int acc_mode; - int intent; - int lookup_flags; -}; - -struct open_how { - __u64 flags; - __u64 mode; - __u64 resolve; -}; - -struct packet_offload { - __be16 type; - u16 priority; - struct offload_callbacks callbacks; - struct list_head list; -}; - -struct packet_type { - __be16 type; - bool ignore_outgoing; - struct net_device *dev; - netdevice_tracker dev_tracker; - int (*func)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *); - void (*list_func)(struct list_head *, struct packet_type *, struct net_device *); - bool (*id_match)(struct packet_type *, struct sock *); - struct net *af_packet_net; - void *af_packet_priv; - struct list_head list; -}; - -typedef struct page *pgtable_t; - -struct printf_spec; - -struct page_flags_fields { - int width; - int shift; - int mask; - const struct printf_spec *spec; - const char *name; -}; - -struct page_pool_params { - unsigned int flags; - unsigned int order; - unsigned int pool_size; - int nid; - struct device *dev; - struct napi_struct *napi; - enum dma_data_direction dma_dir; - unsigned int max_len; - unsigned int offset; - void (*init_callback)(struct page *, void *); - void *init_arg; -}; - -struct pp_alloc_cache { - u32 count; - struct page *cache[128]; -}; - -struct ptr_ring { - int producer; - spinlock_t producer_lock; - int consumer_head; - int consumer_tail; - spinlock_t consumer_lock; - int size; - int batch; - void **queue; -}; - -struct page_pool { - struct page_pool_params p; - long int frag_users; - struct page *frag_page; - unsigned int frag_offset; - u32 pages_state_hold_cnt; - struct delayed_work release_dw; - void (*disconnect)(void *); - long unsigned int defer_start; - long unsigned int defer_warn; - u32 xdp_mem_id; - struct pp_alloc_cache alloc; - struct ptr_ring ring; - atomic_t pages_state_release_cnt; - refcount_t user_cnt; - long: 32; - u64 destroy_cnt; -}; - -struct pages_devres { - long unsigned int addr; - unsigned int order; -}; - -struct partial_context { - struct slab **slab; - gfp_t flags; - unsigned int orig_size; -}; - -struct partial_page { - unsigned int offset; - unsigned int len; - long unsigned int private; -}; - -struct partition_meta_info { - char uuid[37]; - u8 volname[64]; -}; - -struct pause_reply_data { - struct ethnl_reply_data base; - struct ethtool_pauseparam pauseparam; - long: 32; - struct ethtool_pause_stats pausestat; -}; - -struct pause_req_info { - struct ethnl_req_info base; - enum ethtool_mac_stats_src src; -}; - -struct pci_p2pdma_map_state { - struct dev_pagemap *pgmap; - int map; - u64 bus_off; -}; - -struct pcpu_group_info { - int nr_units; - long unsigned int base_offset; - unsigned int *cpu_map; -}; - -struct pcpu_alloc_info { - size_t static_size; - size_t reserved_size; - size_t dyn_size; - size_t unit_size; - size_t atom_size; - size_t alloc_size; - size_t __ai_size; - int nr_groups; - struct pcpu_group_info groups[0]; -}; - -struct pcpu_block_md { - int scan_hint; - int scan_hint_start; - int contig_hint; - int contig_hint_start; - int left_free; - int right_free; - int first_free; - int nr_bits; -}; - -struct pcpu_chunk { - struct list_head list; - int free_bytes; - struct pcpu_block_md chunk_md; - long unsigned int *bound_map; - void *base_addr; - long unsigned int *alloc_map; - struct pcpu_block_md *md_blocks; - void *data; - bool immutable; - bool isolated; - int start_offset; - int end_offset; - int nr_pages; - int nr_populated; - int nr_empty_pop_pages; - long unsigned int populated[0]; -}; - -struct pcpu_gen_cookie { - local_t nesting; - long: 32; - u64 last; -}; - -struct pcpu_lstats { - u64_stats_t packets; - u64_stats_t bytes; - struct u64_stats_sync syncp; - long: 32; - long: 32; - long: 32; -}; - -struct pcpu_sw_netstats { - u64_stats_t rx_packets; - u64_stats_t rx_bytes; - u64_stats_t tx_packets; - u64_stats_t tx_bytes; - struct u64_stats_sync syncp; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct pdev_archdata {}; - -struct per_cpu_nodestat { - s8 stat_threshold; - s8 vm_node_stat_diff[40]; -}; - -struct per_cpu_pages { - spinlock_t lock; - int count; - int high; - int batch; - short int free_factor; - struct list_head lists[12]; -}; - -struct per_cpu_zonestat {}; - -struct swap_cluster_info { - spinlock_t lock; - unsigned int data: 24; - unsigned int flags: 8; -}; - -struct percpu_cluster { - struct swap_cluster_info index; - unsigned int next; -}; - -struct percpu_free_defer { - struct callback_head rcu; - void *ptr; -}; - -typedef void percpu_ref_func_t(struct percpu_ref *); - -struct percpu_ref_data { - atomic_long_t count; - percpu_ref_func_t *release; - percpu_ref_func_t *confirm_switch; - bool force_atomic: 1; - bool allow_reinit: 1; - struct callback_head rcu; - struct percpu_ref *ref; -}; - -struct rcu_sync { - int gp_state; - int gp_count; - wait_queue_head_t gp_wait; - struct callback_head cb_head; -}; - -struct percpu_rw_semaphore { - struct rcu_sync rss; - unsigned int *read_count; - struct rcuwait writer; - wait_queue_head_t waiters; - atomic_t block; -}; - -struct perf_addr_filter { - struct list_head entry; - struct path path; - long unsigned int offset; - long unsigned int size; - enum perf_addr_filter_action_t action; -}; - -struct perf_addr_filter_range { - long unsigned int start; - long unsigned int size; -}; - -struct perf_addr_filters_head { - struct list_head list; - raw_spinlock_t lock; - unsigned int nr_file_filters; -}; - -struct perf_event_header { - __u32 type; - __u16 misc; - __u16 size; -}; - -struct perf_aux_event { - struct perf_event_header header; - u64 hw_id; -}; - -struct perf_aux_event___2 { - struct perf_event_header header; - u32 pid; - u32 tid; -}; - -struct perf_aux_event___3 { - struct perf_event_header header; - u64 offset; - u64 size; - u64 flags; -}; - -struct perf_bpf_event { - struct bpf_prog *prog; - struct { - struct perf_event_header header; - u16 type; - u16 flags; - u32 id; - u8 tag[8]; - } event_id; -}; - -struct perf_branch_entry { - __u64 from; - __u64 to; - __u64 mispred: 1; - __u64 predicted: 1; - __u64 in_tx: 1; - __u64 abort: 1; - __u64 cycles: 16; - __u64 type: 4; - __u64 spec: 2; - __u64 new_type: 4; - __u64 priv: 3; - __u64 reserved: 31; -}; - -struct perf_branch_stack { - __u64 nr; - __u64 hw_idx; - struct perf_branch_entry entries[0]; -}; - -struct perf_event_mmap_page; - -struct perf_buffer { - refcount_t refcount; - struct callback_head callback_head; - struct work_struct work; - int page_order; - int nr_pages; - int overwrite; - int paused; - atomic_t poll; - local_t head; - unsigned int nest; - local_t events; - local_t wakeup; - local_t lost; - long int watermark; - long int aux_watermark; - spinlock_t event_lock; - struct list_head event_list; - atomic_t mmap_count; - long unsigned int mmap_locked; - struct user_struct *mmap_user; - long int aux_head; - unsigned int aux_nest; - long int aux_wakeup; - long unsigned int aux_pgoff; - int aux_nr_pages; - int aux_overwrite; - atomic_t aux_mmap_count; - long unsigned int aux_mmap_locked; - void (*free_aux)(void *); - refcount_t aux_refcount; - int aux_in_sampling; - void **aux_pages; - void *aux_priv; - struct perf_event_mmap_page *user_page; - void *data_pages[0]; -}; - -struct perf_callchain_entry { - __u64 nr; - __u64 ip[0]; -}; - -struct perf_callchain_entry_ctx { - struct perf_callchain_entry *entry; - u32 max_stack; - u32 nr; - short int contexts; - bool contexts_maxed; -}; - -struct perf_comm_event { - struct task_struct *task; - char *comm; - int comm_size; - struct { - struct perf_event_header header; - u32 pid; - u32 tid; - } event_id; -}; - -struct perf_event_groups { - struct rb_root tree; - long: 32; - u64 index; -}; - -struct perf_event_context { - raw_spinlock_t lock; - struct mutex mutex; - struct list_head pmu_ctx_list; - long: 32; - struct perf_event_groups pinned_groups; - struct perf_event_groups flexible_groups; - struct list_head event_list; - int nr_events; - int nr_user; - int is_active; - int nr_task_data; - int nr_stat; - int nr_freq; - int rotate_disable; - refcount_t refcount; - struct task_struct *task; - long: 32; - u64 time; - u64 timestamp; - u64 timeoffset; - struct perf_event_context *parent_ctx; - long: 32; - u64 parent_gen; - u64 generation; - int pin_count; - struct callback_head callback_head; - local_t nr_pending; -}; - -struct perf_cpu_context { - struct perf_event_context ctx; - struct perf_event_context *task_ctx; - int online; - int heap_size; - struct perf_event **heap; - struct perf_event *heap_default[2]; -}; - -struct perf_event_pmu_context { - struct pmu *pmu; - struct perf_event_context *ctx; - struct list_head pmu_ctx_entry; - struct list_head pinned_active; - struct list_head flexible_active; - unsigned int embedded: 1; - unsigned int nr_events; - atomic_t refcount; - struct callback_head callback_head; - void *task_ctx_data; - int rotate_necessary; -}; - -struct perf_cpu_pmu_context { - struct perf_event_pmu_context epc; - struct perf_event_pmu_context *task_epc; - struct list_head sched_cb_entry; - int sched_cb_usage; - int active_oncpu; - int exclusive; - raw_spinlock_t hrtimer_lock; - long: 32; - struct hrtimer hrtimer; - ktime_t hrtimer_interval; - unsigned int hrtimer_active; - long: 32; -}; - -struct perf_event_attr { - __u32 type; - __u32 size; - __u64 config; - union { - __u64 sample_period; - __u64 sample_freq; - }; - __u64 sample_type; - __u64 read_format; - __u64 disabled: 1; - __u64 inherit: 1; - __u64 pinned: 1; - __u64 exclusive: 1; - __u64 exclude_user: 1; - __u64 exclude_kernel: 1; - __u64 exclude_hv: 1; - __u64 exclude_idle: 1; - __u64 mmap: 1; - __u64 comm: 1; - __u64 freq: 1; - __u64 inherit_stat: 1; - __u64 enable_on_exec: 1; - __u64 task: 1; - __u64 watermark: 1; - __u64 precise_ip: 2; - __u64 mmap_data: 1; - __u64 sample_id_all: 1; - __u64 exclude_host: 1; - __u64 exclude_guest: 1; - __u64 exclude_callchain_kernel: 1; - __u64 exclude_callchain_user: 1; - __u64 mmap2: 1; - __u64 comm_exec: 1; - __u64 use_clockid: 1; - __u64 context_switch: 1; - __u64 write_backward: 1; - __u64 namespaces: 1; - __u64 ksymbol: 1; - __u64 bpf_event: 1; - __u64 aux_output: 1; - __u64 cgroup: 1; - __u64 text_poke: 1; - __u64 build_id: 1; - __u64 inherit_thread: 1; - __u64 remove_on_exec: 1; - __u64 sigtrap: 1; - __u64 __reserved_1: 26; - union { - __u32 wakeup_events; - __u32 wakeup_watermark; - }; - __u32 bp_type; - union { - __u64 bp_addr; - __u64 kprobe_func; - __u64 uprobe_path; - __u64 config1; - }; - union { - __u64 bp_len; - __u64 kprobe_addr; - __u64 probe_offset; - __u64 config2; - }; - __u64 branch_sample_type; - __u64 sample_regs_user; - __u32 sample_stack_user; - __s32 clockid; - __u64 sample_regs_intr; - __u32 aux_watermark; - __u16 sample_max_stack; - __u16 __reserved_2; - __u32 aux_sample_size; - __u32 __reserved_3; - __u64 sig_data; - __u64 config3; -}; - -typedef void (*perf_overflow_handler_t)(struct perf_event *, struct perf_sample_data *, struct pt_regs *); - -struct perf_event { - struct list_head event_entry; - struct list_head sibling_list; - struct list_head active_list; - struct rb_node group_node; - long: 32; - u64 group_index; - struct list_head migrate_entry; - struct hlist_node hlist_entry; - struct list_head active_entry; - int nr_siblings; - int event_caps; - int group_caps; - unsigned int group_generation; - struct perf_event *group_leader; - struct pmu *pmu; - void *pmu_private; - enum perf_event_state state; - unsigned int attach_state; - long: 32; - local64_t count; - atomic64_t child_count; - u64 total_time_enabled; - u64 total_time_running; - u64 tstamp; - struct perf_event_attr attr; - u16 header_size; - u16 id_header_size; - u16 read_size; - struct hw_perf_event hw; - struct perf_event_context *ctx; - struct perf_event_pmu_context *pmu_ctx; - atomic_long_t refcount; - long: 32; - atomic64_t child_total_time_enabled; - atomic64_t child_total_time_running; - struct mutex child_mutex; - struct list_head child_list; - struct perf_event *parent; - int oncpu; - int cpu; - struct list_head owner_entry; - struct task_struct *owner; - struct mutex mmap_mutex; - atomic_t mmap_count; - struct perf_buffer *rb; - struct list_head rb_entry; - long unsigned int rcu_batches; - int rcu_pending; - wait_queue_head_t waitq; - struct fasync_struct *fasync; - unsigned int pending_wakeup; - unsigned int pending_kill; - unsigned int pending_disable; - unsigned int pending_sigtrap; - long unsigned int pending_addr; - struct irq_work pending_irq; - struct callback_head pending_task; - unsigned int pending_work; - atomic_t event_limit; - struct perf_addr_filters_head addr_filters; - struct perf_addr_filter_range *addr_filter_ranges; - long unsigned int addr_filters_gen; - struct perf_event *aux_event; - void (*destroy)(struct perf_event *); - struct callback_head callback_head; - struct pid_namespace *ns; - u64 id; - atomic64_t lost_samples; - u64 (*clock)(); - perf_overflow_handler_t overflow_handler; - void *overflow_handler_context; - perf_overflow_handler_t orig_overflow_handler; - struct bpf_prog *prog; - long: 32; - u64 bpf_cookie; - struct list_head sb_list; - __u32 orig_type; - long: 32; -}; - -struct perf_event_mmap_page { - __u32 version; - __u32 compat_version; - __u32 lock; - __u32 index; - __s64 offset; - __u64 time_enabled; - __u64 time_running; - union { - __u64 capabilities; - struct { - __u64 cap_bit0: 1; - __u64 cap_bit0_is_deprecated: 1; - __u64 cap_user_rdpmc: 1; - __u64 cap_user_time: 1; - __u64 cap_user_time_zero: 1; - __u64 cap_user_time_short: 1; - __u64 cap_____res: 58; - }; - }; - __u16 pmc_width; - __u16 time_shift; - __u32 time_mult; - __u64 time_offset; - __u64 time_zero; - __u32 size; - __u32 __reserved_1; - __u64 time_cycles; - __u64 time_mask; - __u8 __reserved[928]; - __u64 data_head; - __u64 data_tail; - __u64 data_offset; - __u64 data_size; - __u64 aux_head; - __u64 aux_tail; - __u64 aux_offset; - __u64 aux_size; -}; - -struct perf_ksymbol_event { - const char *name; - int name_len; - struct { - struct perf_event_header header; - u64 addr; - u32 len; - u16 ksym_type; - u16 flags; - } event_id; -}; - -union perf_mem_data_src { - __u64 val; - struct { - __u64 mem_op: 5; - __u64 mem_lvl: 14; - __u64 mem_snoop: 5; - __u64 mem_lock: 2; - __u64 mem_dtlb: 7; - __u64 mem_lvl_num: 4; - __u64 mem_remote: 1; - __u64 mem_snoopx: 2; - __u64 mem_blk: 3; - __u64 mem_hops: 3; - __u64 mem_rsvd: 18; - }; -}; - -struct perf_mmap_event { - struct vm_area_struct *vma; - const char *file_name; - int file_size; - int maj; - int min; - long: 32; - u64 ino; - u64 ino_generation; - u32 prot; - u32 flags; - u8 build_id[20]; - u32 build_id_size; - struct { - struct perf_event_header header; - u32 pid; - u32 tid; - u64 start; - u64 len; - u64 pgoff; - } event_id; -}; - -struct perf_ns_link_info { - __u64 dev; - __u64 ino; -}; - -struct perf_namespaces_event { - struct task_struct *task; - long: 32; - struct { - struct perf_event_header header; - u32 pid; - u32 tid; - u64 nr_namespaces; - struct perf_ns_link_info link_info[7]; - } event_id; -}; - -struct perf_output_handle { - struct perf_event *event; - struct perf_buffer *rb; - long unsigned int wakeup; - long unsigned int size; - u64 aux_flags; - union { - void *addr; - long unsigned int head; - }; - int page; -}; - -struct perf_pmu_events_attr { - struct device_attribute attr; - u64 id; - const char *event_str; - long: 32; -}; - -typedef long unsigned int (*perf_copy_f)(void *, const void *, long unsigned int, long unsigned int); - -struct perf_raw_frag { - union { - struct perf_raw_frag *next; - long unsigned int pad; - }; - perf_copy_f copy; - void *data; - u32 size; -}; - -struct perf_raw_record { - struct perf_raw_frag frag; - u32 size; -}; - -struct perf_read_data { - struct perf_event *event; - bool group; - int ret; -}; - -struct perf_read_event { - struct perf_event_header header; - u32 pid; - u32 tid; -}; - -struct perf_regs { - __u64 abi; - struct pt_regs *regs; - long: 32; -}; - -union perf_sample_weight { - __u64 full; - struct { - __u32 var1_dw; - __u16 var2_w; - __u16 var3_w; - }; -}; - -struct perf_sample_data { - u64 sample_flags; - u64 period; - u64 dyn_size; - u64 type; - struct { - u32 pid; - u32 tid; - } tid_entry; - u64 time; - u64 id; - struct { - u32 cpu; - u32 reserved; - } cpu_entry; - u64 ip; - struct perf_callchain_entry *callchain; - struct perf_raw_record *raw; - struct perf_branch_stack *br_stack; - long: 32; - union perf_sample_weight weight; - union perf_mem_data_src data_src; - u64 txn; - struct perf_regs regs_user; - struct perf_regs regs_intr; - u64 stack_user_size; - u64 stream_id; - u64 cgroup; - u64 addr; - u64 phys_addr; - u64 data_page_size; - u64 code_page_size; - u64 aux_size; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct perf_switch_event { - struct task_struct *task; - struct task_struct *next_prev; - struct { - struct perf_event_header header; - u32 next_prev_pid; - u32 next_prev_tid; - } event_id; -}; - -struct perf_task_event { - struct task_struct *task; - struct perf_event_context *task_ctx; - struct { - struct perf_event_header header; - u32 pid; - u32 ppid; - u32 tid; - u32 ptid; - u64 time; - } event_id; -}; - -struct perf_text_poke_event { - const void *old_bytes; - const void *new_bytes; - size_t pad; - u16 old_len; - u16 new_len; - struct { - struct perf_event_header header; - u64 addr; - } event_id; -}; - -struct pernet_operations { - struct list_head list; - int (*init)(struct net *); - void (*pre_exit)(struct net *); - void (*exit)(struct net *); - void (*exit_batch)(struct list_head *); - unsigned int *id; - size_t size; -}; - -struct skb_array { - struct ptr_ring ring; -}; - -struct pfifo_fast_priv { - struct skb_array q[3]; -}; - -struct zone { - long unsigned int _watermark[4]; - long unsigned int watermark_boost; - long unsigned int nr_reserved_highatomic; - long int lowmem_reserve[2]; - struct pglist_data *zone_pgdat; - struct per_cpu_pages *per_cpu_pageset; - struct per_cpu_zonestat *per_cpu_zonestats; - int pageset_high; - int pageset_batch; - long unsigned int *pageblock_flags; - long unsigned int zone_start_pfn; - atomic_long_t managed_pages; - long unsigned int spanned_pages; - long unsigned int present_pages; - const char *name; - int initialized; - struct free_area free_area[11]; - long unsigned int flags; - spinlock_t lock; - long unsigned int percpu_drift_mark; - bool contiguous; - atomic_long_t vm_stat[10]; - atomic_long_t vm_numa_event[0]; -}; - -struct zoneref { - struct zone *zone; - int zone_idx; -}; - -struct zonelist { - struct zoneref _zonerefs[3]; -}; - -struct pglist_data { - struct zone node_zones[2]; - struct zonelist node_zonelists[1]; - int nr_zones; - struct page *node_mem_map; - long unsigned int node_start_pfn; - long unsigned int node_present_pages; - long unsigned int node_spanned_pages; - int node_id; - wait_queue_head_t kswapd_wait; - wait_queue_head_t pfmemalloc_wait; - wait_queue_head_t reclaim_wait[4]; - atomic_t nr_writeback_throttled; - long unsigned int nr_reclaim_start; - struct task_struct *kswapd; - int kswapd_order; - enum zone_type kswapd_highest_zoneidx; - int kswapd_failures; - long unsigned int totalreserve_pages; - struct lruvec __lruvec; - long unsigned int flags; - struct per_cpu_nodestat *per_cpu_nodestats; - atomic_long_t vm_stat[40]; -}; - -struct phc_vclocks_reply_data { - struct ethnl_reply_data base; - int num; - int *index; -}; - -struct phy_c45_device_ids { - u32 devices_in_package; - u32 mmds_present; - u32 device_ids[32]; -}; - -struct phylink; - -struct pse_control; - -struct phy_driver; - -struct phy_device { - struct mdio_device mdio; - struct phy_driver *drv; - struct device_link *devlink; - u32 phy_id; - struct phy_c45_device_ids c45_ids; - unsigned int is_c45: 1; - unsigned int is_internal: 1; - unsigned int is_pseudo_fixed_link: 1; - unsigned int is_gigabit_capable: 1; - unsigned int has_fixups: 1; - unsigned int suspended: 1; - unsigned int suspended_by_mdio_bus: 1; - unsigned int sysfs_links: 1; - unsigned int loopback_enabled: 1; - unsigned int downshifted_rate: 1; - unsigned int is_on_sfp_module: 1; - unsigned int mac_managed_pm: 1; - unsigned int wol_enabled: 1; - unsigned int autoneg: 1; - unsigned int link: 1; - unsigned int autoneg_complete: 1; - unsigned int interrupts: 1; - unsigned int irq_suspended: 1; - unsigned int irq_rerun: 1; - int rate_matching; - enum phy_state state; - u32 dev_flags; - phy_interface_t interface; - int speed; - int duplex; - int port; - int pause; - int asym_pause; - u8 master_slave_get; - u8 master_slave_set; - u8 master_slave_state; - long unsigned int supported[4]; - long unsigned int advertising[4]; - long unsigned int lp_advertising[4]; - long unsigned int adv_old[4]; - long unsigned int supported_eee[4]; - long unsigned int advertising_eee[4]; - bool eee_enabled; - long unsigned int host_interfaces[2]; - u32 eee_broken_modes; - struct list_head leds; - int irq; - void *priv; - struct phy_package_shared *shared; - struct sk_buff *skb; - void *ehdr; - struct nlattr *nest; - struct delayed_work state_queue; - struct mutex lock; - bool sfp_bus_attached; - struct sfp_bus *sfp_bus; - struct phylink *phylink; - struct net_device *attached_dev; - struct mii_timestamper *mii_ts; - struct pse_control *psec; - u8 mdix; - u8 mdix_ctrl; - int pma_extable; - unsigned int link_down_events; - void (*phy_link_change)(struct phy_device *, bool); - void (*adjust_link)(struct net_device *); - long: 32; -}; - -struct phy_driver { - struct mdio_driver_common mdiodrv; - u32 phy_id; - char *name; - u32 phy_id_mask; - const long unsigned int * const features; - u32 flags; - const void *driver_data; - int (*soft_reset)(struct phy_device *); - int (*config_init)(struct phy_device *); - int (*probe)(struct phy_device *); - int (*get_features)(struct phy_device *); - int (*get_rate_matching)(struct phy_device *, phy_interface_t); - int (*suspend)(struct phy_device *); - int (*resume)(struct phy_device *); - int (*config_aneg)(struct phy_device *); - int (*aneg_done)(struct phy_device *); - int (*read_status)(struct phy_device *); - int (*config_intr)(struct phy_device *); - irqreturn_t (*handle_interrupt)(struct phy_device *); - void (*remove)(struct phy_device *); - int (*match_phy_device)(struct phy_device *); - int (*set_wol)(struct phy_device *, struct ethtool_wolinfo *); - void (*get_wol)(struct phy_device *, struct ethtool_wolinfo *); - void (*link_change_notify)(struct phy_device *); - int (*read_mmd)(struct phy_device *, int, u16); - int (*write_mmd)(struct phy_device *, int, u16, u16); - int (*read_page)(struct phy_device *); - int (*write_page)(struct phy_device *, int); - int (*module_info)(struct phy_device *, struct ethtool_modinfo *); - int (*module_eeprom)(struct phy_device *, struct ethtool_eeprom *, u8 *); - int (*cable_test_start)(struct phy_device *); - int (*cable_test_tdr_start)(struct phy_device *, const struct phy_tdr_config *); - int (*cable_test_get_status)(struct phy_device *, bool *); - int (*get_sset_count)(struct phy_device *); - void (*get_strings)(struct phy_device *, u8 *); - void (*get_stats)(struct phy_device *, struct ethtool_stats *, u64 *); - int (*get_tunable)(struct phy_device *, struct ethtool_tunable *, void *); - int (*set_tunable)(struct phy_device *, struct ethtool_tunable *, const void *); - int (*set_loopback)(struct phy_device *, bool); - int (*get_sqi)(struct phy_device *); - int (*get_sqi_max)(struct phy_device *); - int (*get_plca_cfg)(struct phy_device *, struct phy_plca_cfg *); - int (*set_plca_cfg)(struct phy_device *, const struct phy_plca_cfg *); - int (*get_plca_status)(struct phy_device *, struct phy_plca_status *); - int (*led_brightness_set)(struct phy_device *, u8, enum led_brightness); - int (*led_blink_set)(struct phy_device *, u8, long unsigned int *, long unsigned int *); - int (*led_hw_is_supported)(struct phy_device *, u8, long unsigned int); - int (*led_hw_control_set)(struct phy_device *, u8, long unsigned int); - int (*led_hw_control_get)(struct phy_device *, u8, long unsigned int *); -}; - -struct phy_package_shared { - int addr; - refcount_t refcnt; - long unsigned int flags; - size_t priv_size; - void *priv; -}; - -struct phy_plca_cfg { - int version; - int enabled; - int node_id; - int node_cnt; - int to_tmr; - int burst_cnt; - int burst_tmr; -}; - -struct phy_plca_status { - bool pst; -}; - -struct phy_tdr_config { - u32 first; - u32 last; - u32 step; - s8 pair; -}; - -struct upid { - int nr; - struct pid_namespace *ns; -}; - -struct pid { - refcount_t count; - unsigned int level; - spinlock_t lock; - struct hlist_head tasks[4]; - struct hlist_head inodes; - wait_queue_head_t wait_pidfd; - struct callback_head rcu; - struct upid numbers[0]; -}; - -struct pid_namespace { - struct idr idr; - struct callback_head rcu; - unsigned int pid_allocated; - struct task_struct *child_reaper; - struct kmem_cache *pid_cachep; - unsigned int level; - struct pid_namespace *parent; - struct user_namespace *user_ns; - struct ucounts *ucounts; - int reboot; - struct ns_common ns; -}; - -struct pin_cookie {}; - -struct ping_table { - struct hlist_head hash[64]; - spinlock_t lock; -}; - -struct pingfakehdr { - struct icmphdr icmph; - struct msghdr *msg; - sa_family_t family; - __wsum wcheck; -}; - -struct pingv6_ops { - int (*ipv6_recv_error)(struct sock *, struct msghdr *, int, int *); - void (*ip6_datagram_recv_common_ctl)(struct sock *, struct msghdr *, struct sk_buff *); - void (*ip6_datagram_recv_specific_ctl)(struct sock *, struct msghdr *, struct sk_buff *); - int (*icmpv6_err_convert)(u8, u8, int *); - void (*ipv6_icmp_error)(struct sock *, struct sk_buff *, int, __be16, u32, u8 *); - int (*ipv6_chk_addr)(struct net *, const struct in6_addr *, const struct net_device *, int); -}; - -struct pipe_buffer; - -struct pipe_buf_operations { - int (*confirm)(struct pipe_inode_info *, struct pipe_buffer *); - void (*release)(struct pipe_inode_info *, struct pipe_buffer *); - bool (*try_steal)(struct pipe_inode_info *, struct pipe_buffer *); - bool (*get)(struct pipe_inode_info *, struct pipe_buffer *); -}; - -struct pipe_buffer { - struct page *page; - unsigned int offset; - unsigned int len; - const struct pipe_buf_operations *ops; - unsigned int flags; - long unsigned int private; -}; - -struct pipe_inode_info { - struct mutex mutex; - wait_queue_head_t rd_wait; - wait_queue_head_t wr_wait; - unsigned int head; - unsigned int tail; - unsigned int max_usage; - unsigned int ring_size; - unsigned int nr_accounted; - unsigned int readers; - unsigned int writers; - unsigned int files; - unsigned int r_counter; - unsigned int w_counter; - bool poll_usage; - struct page *tmp_page; - struct fasync_struct *fasync_readers; - struct fasync_struct *fasync_writers; - struct pipe_buffer *bufs; - struct user_struct *user; -}; - -struct mfd_cell; - -struct platform_device_id; - -struct platform_device { - const char *name; - int id; - bool id_auto; - long: 32; - struct device dev; - u64 platform_dma_mask; - struct device_dma_parameters dma_parms; - u32 num_resources; - struct resource *resource; - const struct platform_device_id *id_entry; - const char *driver_override; - struct mfd_cell *mfd_cell; - struct pdev_archdata archdata; -}; - -struct platform_device_id { - char name[20]; - kernel_ulong_t driver_data; -}; - -struct property_entry; - -struct platform_device_info { - struct device *parent; - struct fwnode_handle *fwnode; - bool of_node_reused; - const char *name; - int id; - const struct resource *res; - unsigned int num_res; - const void *data; - size_t size_data; - long: 32; - u64 dma_mask; - const struct property_entry *properties; - long: 32; -}; - -struct platform_driver { - int (*probe)(struct platform_device *); - int (*remove)(struct platform_device *); - void (*remove_new)(struct platform_device *); - void (*shutdown)(struct platform_device *); - int (*suspend)(struct platform_device *, pm_message_t); - int (*resume)(struct platform_device *); - struct device_driver driver; - const struct platform_device_id *id_table; - bool prevent_deferred_probe; - bool driver_managed_dma; -}; - -struct platform_object { - struct platform_device pdev; - char name[0]; -}; - -struct plca_reply_data { - struct ethnl_reply_data base; - struct phy_plca_cfg plca_cfg; - struct phy_plca_status plca_st; -}; - -struct plt_entries { - u32 ldr[8]; - u32 lit[8]; -}; - -struct pm_clk_notifier_block { - struct notifier_block nb; - struct dev_pm_domain *pm_domain; - char *con_ids[0]; -}; - -struct pm_subsys_data { - spinlock_t lock; - unsigned int refcount; -}; - -struct pmu_event_list { - raw_spinlock_t lock; - struct list_head list; -}; - -struct pmu_hw_events { - struct perf_event *events[32]; - long unsigned int used_mask[1]; - raw_spinlock_t pmu_lock; - struct arm_pmu *percpu_pmu; - int irq; -}; - -struct pmu_irq_ops { - void (*enable_pmuirq)(unsigned int); - void (*disable_pmuirq)(unsigned int); - void (*free_pmuirq)(unsigned int, int, void *); -}; - -typedef int (*armpmu_init_fn)(struct arm_pmu *); - -struct pmu_probe_info { - unsigned int cpuid; - unsigned int mask; - armpmu_init_fn init; -}; - -struct pneigh_entry { - struct pneigh_entry *next; - possible_net_t net; - struct net_device *dev; - netdevice_tracker dev_tracker; - u32 flags; - u8 protocol; - u32 key[0]; -}; - -struct pollfd { - int fd; - short int events; - short int revents; -}; - -struct poll_list { - struct poll_list *next; - int len; - struct pollfd entries[0]; -}; - -struct poll_table_entry { - struct file *filp; - __poll_t key; - wait_queue_entry_t wait; - wait_queue_head_t *wait_address; -}; - -struct poll_table_page { - struct poll_table_page *next; - struct poll_table_entry *entry; - struct poll_table_entry entries[0]; -}; - -typedef void (*poll_queue_proc)(struct file *, wait_queue_head_t *, struct poll_table_struct *); - -struct poll_table_struct { - poll_queue_proc _qproc; - __poll_t _key; -}; - -typedef struct poll_table_struct poll_table; - -struct poll_wqueues { - poll_table pt; - struct poll_table_page *table; - struct task_struct *polling_task; - int triggered; - int error; - int inline_index; - struct poll_table_entry inline_entries[18]; -}; - -struct worker_pool; - -struct pool_workqueue { - struct worker_pool *pool; - struct workqueue_struct *wq; - int work_color; - int flush_color; - int refcnt; - int nr_in_flight[16]; - int nr_active; - int max_active; - struct list_head inactive_works; - struct list_head pwqs_node; - struct list_head mayday_node; - long: 32; - u64 stats[8]; - struct kthread_work release_work; - struct callback_head rcu; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct port_identity { - struct clock_identity clock_identity; - __be16 port_number; -}; - -struct posix_acl_entry { - short int e_tag; - short unsigned int e_perm; - union { - kuid_t e_uid; - kgid_t e_gid; - }; -}; - -struct posix_acl { - refcount_t a_refcount; - struct callback_head a_rcu; - unsigned int a_count; - struct posix_acl_entry a_entries[0]; -}; - -struct posix_cputimers {}; - -struct pppoe_tag { - __be16 tag_type; - __be16 tag_len; - char tag_data[0]; -}; - -struct pppoe_hdr { - __u8 type: 4; - __u8 ver: 4; - __u8 code; - __be16 sid; - __be16 length; - struct pppoe_tag tag[0]; -}; - -struct pptp_gre_header { - struct gre_base_hdr gre_hd; - __be16 payload_len; - __be16 call_id; - __be32 seq; - __be32 ack; -}; - -struct pr_cont_work_struct { - bool comma; - work_func_t func; - long int ctr; -}; - -struct prctl_mm_map { - __u64 start_code; - __u64 end_code; - __u64 start_data; - __u64 end_data; - __u64 start_brk; - __u64 brk; - __u64 start_stack; - __u64 arg_start; - __u64 arg_end; - __u64 env_start; - __u64 env_end; - __u64 *auxv; - __u32 auxv_size; - __u32 exe_fd; - long: 32; -}; - -struct prefix_cacheinfo { - __u32 preferred_time; - __u32 valid_time; -}; - -struct prefix_info { - __u8 type; - __u8 length; - __u8 prefix_len; - __u8 reserved: 6; - __u8 autoconf: 1; - __u8 onlink: 1; - __be32 valid; - __be32 prefered; - __be32 reserved2; - struct in6_addr prefix; -}; - -struct prefixmsg { - unsigned char prefix_family; - unsigned char prefix_pad1; - short unsigned int prefix_pad2; - int prefix_ifindex; - unsigned char prefix_type; - unsigned char prefix_len; - unsigned char prefix_flags; - unsigned char prefix_pad3; -}; - -struct prepend_buffer { - char *buf; - int len; -}; - -struct prev_cputime { - u64 utime; - u64 stime; - raw_spinlock_t lock; -}; - -struct printf_spec { - unsigned int type: 8; - int field_width: 24; - unsigned int flags: 8; - unsigned int base: 8; - int precision: 16; -}; - -struct printk_buffers { - char outbuf[0]; - char scratchbuf[0]; -}; - -struct printk_info { - u64 seq; - u64 ts_nsec; - u16 text_len; - u8 facility; - u8 flags: 5; - u8 level: 3; - u32 caller_id; - struct dev_printk_info dev_info; -}; - -struct printk_message { - struct printk_buffers *pbufs; - unsigned int outbuf_len; - u64 seq; - long unsigned int dropped; - long: 32; -}; - -struct printk_record { - struct printk_info *info; - char *text_buf; - unsigned int text_buf_size; -}; - -struct privflags_reply_data { - struct ethnl_reply_data base; - const char (*priv_flag_names)[32]; - unsigned int n_priv_flags; - u32 priv_flags; -}; - -typedef struct kobject *kobj_probe_t(dev_t, int *, void *); - -struct probe { - struct probe *next; - dev_t dev; - long unsigned int range; - struct module *owner; - kobj_probe_t *get; - int (*lock)(dev_t, void *); - void *data; -}; - -struct cpu_tlb_fns; - -struct cpu_user_fns; - -struct processor; - -struct proc_info_list { - unsigned int cpu_val; - unsigned int cpu_mask; - long unsigned int __cpu_mm_mmu_flags; - long unsigned int __cpu_io_mmu_flags; - long unsigned int __cpu_flush; - const char *arch_name; - const char *elf_name; - unsigned int elf_hwcap; - const char *cpu_name; - struct processor *proc; - struct cpu_tlb_fns *tlb; - struct cpu_user_fns *user; - struct cpu_cache_fns *cache; -}; - -struct proc_ns_operations { - const char *name; - const char *real_ns_name; - int type; - struct ns_common * (*get)(struct task_struct *); - void (*put)(struct ns_common *); - int (*install)(struct nsset *, struct ns_common *); - struct user_namespace * (*owner)(struct ns_common *); - struct ns_common * (*get_parent)(struct ns_common *); -}; - -struct process_timer { - struct timer_list timer; - struct task_struct *task; -}; - -struct processor { - void (*_data_abort)(long unsigned int); - long unsigned int (*_prefetch_abort)(long unsigned int); - void (*_proc_init)(); - void (*check_bugs)(); - void (*_proc_fin)(); - void (*reset)(long unsigned int, bool); - int (*_do_idle)(); - void (*dcache_clean_area)(void *, int); - void (*switch_mm)(phys_addr_t, struct mm_struct *); - void (*set_pte_ext)(pte_t *, pte_t, unsigned int); - unsigned int suspend_size; - void (*do_suspend)(void *); - void (*do_resume)(void *); -}; - -struct prog_poke_elem { - struct list_head list; - struct bpf_prog_aux *aux; -}; - -struct prog_test_member1 { - int a; -}; - -struct prog_test_member { - struct prog_test_member1 m; - int c; -}; - -struct prog_test_ref_kfunc { - int a; - int b; - struct prog_test_member memb; - struct prog_test_ref_kfunc *next; - refcount_t cnt; -}; - -struct property { - char *name; - int length; - void *value; - struct property *next; -}; - -struct property_entry { - const char *name; - size_t length; - bool is_inline; - enum dev_prop_type type; - union { - const void *pointer; - union { - u8 u8_data[8]; - u16 u16_data[4]; - u32 u32_data[2]; - u64 u64_data[1]; - const char *str[2]; - } value; - }; -}; - -struct smc_hashinfo; - -struct sk_psock; - -struct timewait_sock_ops; - -struct raw_hashinfo; - -struct proto { - void (*close)(struct sock *, long int); - int (*pre_connect)(struct sock *, struct sockaddr *, int); - int (*connect)(struct sock *, struct sockaddr *, int); - int (*disconnect)(struct sock *, int); - struct sock * (*accept)(struct sock *, int, int *, bool); - int (*ioctl)(struct sock *, int, int *); - int (*init)(struct sock *); - void (*destroy)(struct sock *); - void (*shutdown)(struct sock *, int); - int (*setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); - int (*getsockopt)(struct sock *, int, int, char *, int *); - void (*keepalive)(struct sock *, int); - int (*sendmsg)(struct sock *, struct msghdr *, size_t); - int (*recvmsg)(struct sock *, struct msghdr *, size_t, int, int *); - void (*splice_eof)(struct socket *); - int (*bind)(struct sock *, struct sockaddr *, int); - int (*bind_add)(struct sock *, struct sockaddr *, int); - int (*backlog_rcv)(struct sock *, struct sk_buff *); - bool (*bpf_bypass_getsockopt)(int, int); - void (*release_cb)(struct sock *); - int (*hash)(struct sock *); - void (*unhash)(struct sock *); - void (*rehash)(struct sock *); - int (*get_port)(struct sock *, short unsigned int); - void (*put_port)(struct sock *); - int (*psock_update_sk_prot)(struct sock *, struct sk_psock *, bool); - bool (*stream_memory_free)(const struct sock *, int); - bool (*sock_is_readable)(struct sock *); - void (*enter_memory_pressure)(struct sock *); - void (*leave_memory_pressure)(struct sock *); - atomic_long_t *memory_allocated; - int *per_cpu_fw_alloc; - struct percpu_counter *sockets_allocated; - long unsigned int *memory_pressure; - long int *sysctl_mem; - int *sysctl_wmem; - int *sysctl_rmem; - u32 sysctl_wmem_offset; - u32 sysctl_rmem_offset; - int max_header; - bool no_autobind; - struct kmem_cache *slab; - unsigned int obj_size; - unsigned int ipv6_pinfo_offset; - slab_flags_t slab_flags; - unsigned int useroffset; - unsigned int usersize; - unsigned int *orphan_count; - struct request_sock_ops *rsk_prot; - struct timewait_sock_ops *twsk_prot; - union { - struct inet_hashinfo *hashinfo; - struct udp_table *udp_table; - struct raw_hashinfo *raw_hash; - struct smc_hashinfo *smc_hash; - } h; - struct module *owner; - char name[32]; - struct list_head node; - int (*diag_destroy)(struct sock *, int); -}; - -typedef int (*sk_read_actor_t)(read_descriptor_t *, struct sk_buff *, unsigned int, size_t); - -typedef int (*skb_read_actor_t)(struct sock *, struct sk_buff *); - -struct proto_ops { - int family; - struct module *owner; - int (*release)(struct socket *); - int (*bind)(struct socket *, struct sockaddr *, int); - int (*connect)(struct socket *, struct sockaddr *, int, int); - int (*socketpair)(struct socket *, struct socket *); - int (*accept)(struct socket *, struct socket *, int, bool); - int (*getname)(struct socket *, struct sockaddr *, int); - __poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *); - int (*ioctl)(struct socket *, unsigned int, long unsigned int); - int (*gettstamp)(struct socket *, void *, bool, bool); - int (*listen)(struct socket *, int); - int (*shutdown)(struct socket *, int); - int (*setsockopt)(struct socket *, int, int, sockptr_t, unsigned int); - int (*getsockopt)(struct socket *, int, int, char *, int *); - void (*show_fdinfo)(struct seq_file *, struct socket *); - int (*sendmsg)(struct socket *, struct msghdr *, size_t); - int (*recvmsg)(struct socket *, struct msghdr *, size_t, int); - int (*mmap)(struct file *, struct socket *, struct vm_area_struct *); - ssize_t (*splice_read)(struct socket *, loff_t *, struct pipe_inode_info *, size_t, unsigned int); - void (*splice_eof)(struct socket *); - int (*set_peek_off)(struct sock *, int); - int (*peek_len)(struct socket *); - int (*read_sock)(struct sock *, read_descriptor_t *, sk_read_actor_t); - int (*read_skb)(struct sock *, skb_read_actor_t); - int (*sendmsg_locked)(struct sock *, struct msghdr *, size_t); - int (*set_rcvlowat)(struct sock *, int); -}; - -struct psched_pktrate { - u64 rate_pkts_ps; - u32 mult; - u8 shift; -}; - -struct psched_ratecfg { - u64 rate_bytes_ps; - u32 mult; - u16 overhead; - u16 mpu; - u8 linklayer; - u8 shift; - long: 32; -}; - -struct pse_control_config { - enum ethtool_podl_pse_admin_state admin_cotrol; -}; - -struct pse_control_status { - enum ethtool_podl_pse_admin_state podl_admin_state; - enum ethtool_podl_pse_pw_d_status podl_pw_status; -}; - -struct pse_reply_data { - struct ethnl_reply_data base; - struct pse_control_status status; -}; - -struct super_operations; - -struct xattr_handler; - -struct pseudo_fs_context { - const struct super_operations *ops; - const struct xattr_handler **xattr; - const struct dentry_operations *dops; - long unsigned int magic; -}; - -struct pt_regs { - long unsigned int uregs[18]; -}; - -struct pt_regs_offset { - const char *name; - int offset; -}; - -struct ptp_header { - u8 tsmt; - u8 ver; - __be16 message_length; - u8 domain_number; - u8 reserved1; - u8 flag_field[2]; - __be64 correction; - __be32 reserved2; - struct port_identity source_port_identity; - __be16 sequence_id; - u8 control; - u8 log_message_interval; -} __attribute__((packed)); - -struct ptrace_peeksiginfo_args { - __u64 off; - __u32 flags; - __s32 nr; -}; - -struct ptrace_syscall_info { - __u8 op; - __u8 pad[3]; - __u32 arch; - __u64 instruction_pointer; - __u64 stack_pointer; - union { - struct { - __u64 nr; - __u64 args[6]; - } entry; - struct { - __s64 rval; - __u8 is_error; - long: 32; - } exit; - struct { - __u64 nr; - __u64 args[6]; - __u32 ret_data; - long: 32; - } seccomp; - }; -}; - -struct qc_dqblk { - int d_fieldmask; - long: 32; - u64 d_spc_hardlimit; - u64 d_spc_softlimit; - u64 d_ino_hardlimit; - u64 d_ino_softlimit; - u64 d_space; - u64 d_ino_count; - s64 d_ino_timer; - s64 d_spc_timer; - int d_ino_warns; - int d_spc_warns; - u64 d_rt_spc_hardlimit; - u64 d_rt_spc_softlimit; - u64 d_rt_space; - s64 d_rt_spc_timer; - int d_rt_spc_warns; - long: 32; -}; - -struct qc_info { - int i_fieldmask; - unsigned int i_flags; - unsigned int i_spc_timelimit; - unsigned int i_ino_timelimit; - unsigned int i_rt_spc_timelimit; - unsigned int i_spc_warnlimit; - unsigned int i_ino_warnlimit; - unsigned int i_rt_spc_warnlimit; -}; - -struct qc_type_state { - unsigned int flags; - unsigned int spc_timelimit; - unsigned int ino_timelimit; - unsigned int rt_spc_timelimit; - unsigned int spc_warnlimit; - unsigned int ino_warnlimit; - unsigned int rt_spc_warnlimit; - long: 32; - long long unsigned int ino; - blkcnt_t blocks; - blkcnt_t nextents; -}; - -struct qc_state { - unsigned int s_incoredqs; - long: 32; - struct qc_type_state s_state[3]; -}; - -struct tc_sizespec { - unsigned char cell_log; - unsigned char size_log; - short int cell_align; - int overhead; - unsigned int linklayer; - unsigned int mpu; - unsigned int mtu; - unsigned int tsize; -}; - -struct qdisc_size_table { - struct callback_head rcu; - struct list_head list; - struct tc_sizespec szopts; - int refcnt; - u16 data[0]; -}; - -struct qdisc_walker { - int stop; - int skip; - int count; - int (*fn)(struct Qdisc *, long unsigned int, struct qdisc_walker *); -}; - -struct queue_limits { - enum blk_bounce bounce; - long unsigned int seg_boundary_mask; - long unsigned int virt_boundary_mask; - unsigned int max_hw_sectors; - unsigned int max_dev_sectors; - unsigned int chunk_sectors; - unsigned int max_sectors; - unsigned int max_user_sectors; - unsigned int max_segment_size; - unsigned int physical_block_size; - unsigned int logical_block_size; - unsigned int alignment_offset; - unsigned int io_min; - unsigned int io_opt; - unsigned int max_discard_sectors; - unsigned int max_hw_discard_sectors; - unsigned int max_secure_erase_sectors; - unsigned int max_write_zeroes_sectors; - unsigned int max_zone_append_sectors; - unsigned int discard_granularity; - unsigned int discard_alignment; - unsigned int zone_write_granularity; - short unsigned int max_segments; - short unsigned int max_integrity_segments; - short unsigned int max_discard_segments; - unsigned char misaligned; - unsigned char discard_misaligned; - unsigned char raid_partial_stripes_expensive; - enum blk_zoned_model zoned; - unsigned int dma_alignment; -}; - -struct quota_format_ops { - int (*check_quota_file)(struct super_block *, int); - int (*read_file_info)(struct super_block *, int); - int (*write_file_info)(struct super_block *, int); - int (*free_file_info)(struct super_block *, int); - int (*read_dqblk)(struct dquot *); - int (*commit_dqblk)(struct dquot *); - int (*release_dqblk)(struct dquot *); - int (*get_next_id)(struct super_block *, struct kqid *); -}; - -struct quota_format_type { - int qf_fmt_id; - const struct quota_format_ops *qf_ops; - struct module *qf_owner; - struct quota_format_type *qf_next; -}; - -struct quota_info { - unsigned int flags; - struct rw_semaphore dqio_sem; - struct inode *files[3]; - struct mem_dqinfo info[3]; - const struct quota_format_ops *ops[3]; - long: 32; -}; - -struct quotactl_ops { - int (*quota_on)(struct super_block *, int, int, const struct path *); - int (*quota_off)(struct super_block *, int); - int (*quota_enable)(struct super_block *, unsigned int); - int (*quota_disable)(struct super_block *, unsigned int); - int (*quota_sync)(struct super_block *, int); - int (*set_info)(struct super_block *, int, struct qc_info *); - int (*get_dqblk)(struct super_block *, struct kqid, struct qc_dqblk *); - int (*get_nextdqblk)(struct super_block *, struct kqid *, struct qc_dqblk *); - int (*set_dqblk)(struct super_block *, struct kqid, struct qc_dqblk *); - int (*get_state)(struct super_block *, struct qc_state *); - int (*rm_xquota)(struct super_block *, unsigned int); -}; - -struct ra_msg { - struct icmp6hdr icmph; - __be32 reachable_time; - __be32 retrans_timer; -}; - -struct xa_node; - -struct radix_tree_iter { - long unsigned int index; - long unsigned int next_index; - long unsigned int tags; - struct xa_node *node; -}; - -struct radix_tree_preload { - local_lock_t lock; - unsigned int nr; - struct xa_node *nodes; -}; - -struct ramfs_mount_opts { - umode_t mode; -}; - -struct ramfs_fs_info { - struct ramfs_mount_opts mount_opts; -}; - -struct rate_sample { - u64 prior_mstamp; - u32 prior_delivered; - u32 prior_delivered_ce; - s32 delivered; - s32 delivered_ce; - long int interval_us; - u32 snd_interval_us; - u32 rcv_interval_us; - long int rtt_us; - int losses; - u32 acked_sacked; - u32 prior_in_flight; - u32 last_end_seq; - bool is_app_limited; - bool is_retrans; - bool is_ack_delayed; - long: 32; -}; - -struct ratelimit_state { - raw_spinlock_t lock; - int interval; - int burst; - int printed; - int missed; - long unsigned int begin; - long unsigned int flags; -}; - -struct raw6_frag_vec { - struct msghdr *msg; - int hlen; - char c[4]; -}; - -struct raw6_sock { - struct inet_sock inet; - __u32 checksum; - __u32 offset; - struct icmp6_filter filter; - __u32 ip6mr_table; - struct ipv6_pinfo inet6; -}; - -struct raw_frag_vec { - struct msghdr *msg; - union { - struct icmphdr icmph; - char c[1]; - } hdr; - int hlen; -}; - -struct raw_hashinfo { - spinlock_t lock; - struct hlist_head ht[256]; -}; - -struct raw_sock { - struct inet_sock inet; - struct icmp_filter filter; - u32 ipmr_table; -}; - -struct rb_augment_callbacks { - void (*propagate)(struct rb_node *, struct rb_node *); - void (*copy)(struct rb_node *, struct rb_node *); - void (*rotate)(struct rb_node *, struct rb_node *); -}; - -struct rcu_cblist { - struct callback_head *head; - struct callback_head **tail; - long int len; -}; - -struct rcu_ctrlblk { - struct callback_head *rcucblist; - struct callback_head **donetail; - struct callback_head **curtail; - long unsigned int gp_seq; -}; - -struct rcu_gp_oldstate { - long unsigned int rgos_norm; -}; - -struct rcu_segcblist { - struct callback_head *head; - struct callback_head **tails[4]; - long unsigned int gp_seq[4]; - long int len; - long int seglen[4]; - u8 flags; -}; - -union rcu_special { - struct { - u8 blocked; - u8 need_qs; - u8 exp_hint; - u8 need_mb; - } b; - u32 s; -}; - -struct rcu_synchronize { - struct callback_head head; - struct completion completion; -}; - -struct rcu_tasks; - -typedef void (*rcu_tasks_gp_func_t)(struct rcu_tasks *); - -typedef void (*pregp_func_t)(struct list_head *); - -typedef void (*pertask_func_t)(struct task_struct *, struct list_head *); - -typedef void (*postscan_func_t)(struct list_head *); - -typedef void (*holdouts_func_t)(struct list_head *, bool, bool *); - -typedef void (*postgp_func_t)(struct rcu_tasks *); - -typedef void (*rcu_callback_t)(struct callback_head *); - -typedef void (*call_rcu_func_t)(struct callback_head *, rcu_callback_t); - -struct rcu_tasks_percpu; - -struct rcu_tasks { - struct rcuwait cbs_wait; - raw_spinlock_t cbs_gbl_lock; - struct mutex tasks_gp_mutex; - int gp_state; - int gp_sleep; - int init_fract; - long unsigned int gp_jiffies; - long unsigned int gp_start; - long unsigned int tasks_gp_seq; - long unsigned int n_ipis; - long unsigned int n_ipis_fails; - struct task_struct *kthread_ptr; - long unsigned int lazy_jiffies; - rcu_tasks_gp_func_t gp_func; - pregp_func_t pregp_func; - pertask_func_t pertask_func; - postscan_func_t postscan_func; - holdouts_func_t holdouts_func; - postgp_func_t postgp_func; - call_rcu_func_t call_func; - struct rcu_tasks_percpu *rtpcpu; - int percpu_enqueue_shift; - int percpu_enqueue_lim; - int percpu_dequeue_lim; - long unsigned int percpu_dequeue_gpseq; - struct mutex barrier_q_mutex; - atomic_t barrier_q_count; - struct completion barrier_q_completion; - long unsigned int barrier_q_seq; - char *name; - char *kname; -}; - -struct rcu_tasks_percpu { - struct rcu_segcblist cblist; - raw_spinlock_t lock; - long unsigned int rtp_jiffies; - long unsigned int rtp_n_lock_retries; - struct timer_list lazy_timer; - unsigned int urgent_gp; - struct work_struct rtp_work; - struct irq_work rtp_irq_work; - struct callback_head barrier_q_head; - struct list_head rtp_blkd_tasks; - int cpu; - struct rcu_tasks *rtpp; -}; - -struct rd_msg { - struct icmp6hdr icmph; - struct in6_addr target; - struct in6_addr dest; - __u8 opt[0]; -}; - -struct readahead_control { - struct file *file; - struct address_space *mapping; - struct file_ra_state *ra; - long unsigned int _index; - unsigned int _nr_pages; - unsigned int _batch_count; - bool _workingset; - long unsigned int _pflags; -}; - -struct reciprocal_value_adv { - u32 m; - u8 sh; - u8 exp; - bool is_wide_m; -}; - -struct reclaim_stat { - unsigned int nr_dirty; - unsigned int nr_unqueued_dirty; - unsigned int nr_congested; - unsigned int nr_writeback; - unsigned int nr_immediate; - unsigned int nr_pageout; - unsigned int nr_activate[2]; - unsigned int nr_ref_keep; - unsigned int nr_unmap_fail; - unsigned int nr_lazyfree_fail; -}; - -struct reclaim_state { - long unsigned int reclaimed; -}; - -struct region { - unsigned int start; - unsigned int off; - unsigned int group_len; - unsigned int end; - unsigned int nbits; -}; - -struct region_devres { - struct resource *parent; - resource_size_t start; - resource_size_t n; -}; - -typedef int (*remote_function_f)(void *); - -struct remote_function_call { - struct task_struct *p; - remote_function_f func; - void *info; - int ret; -}; - -struct remote_output { - struct perf_buffer *rb; - int err; -}; - -struct renamedata { - struct mnt_idmap *old_mnt_idmap; - struct inode *old_dir; - struct dentry *old_dentry; - struct mnt_idmap *new_mnt_idmap; - struct inode *new_dir; - struct dentry *new_dentry; - struct inode **delegated_inode; - unsigned int flags; -}; - -struct elevator_queue; - -struct blk_queue_stats; - -struct rq_qos; - -struct blk_mq_ops; - -struct blk_mq_ctx; - -struct blk_mq_tags; - -struct blk_flush_queue; - -struct blk_mq_tag_set; - -struct request_queue { - struct request *last_merge; - struct elevator_queue *elevator; - struct percpu_ref q_usage_counter; - struct blk_queue_stats *stats; - struct rq_qos *rq_qos; - struct mutex rq_qos_mutex; - const struct blk_mq_ops *mq_ops; - struct blk_mq_ctx *queue_ctx; - unsigned int queue_depth; - struct xarray hctx_table; - unsigned int nr_hw_queues; - void *queuedata; - long unsigned int queue_flags; - atomic_t pm_only; - int id; - spinlock_t queue_lock; - struct gendisk *disk; - refcount_t refs; - struct kobject *mq_kobj; - long unsigned int nr_requests; - unsigned int dma_pad_mask; - unsigned int rq_timeout; - struct timer_list timeout; - struct work_struct timeout_work; - atomic_t nr_active_requests_shared_tags; - struct blk_mq_tags *sched_shared_tags; - struct list_head icq_list; - struct queue_limits limits; - unsigned int required_elevator_features; - int node; - struct blk_flush_queue *fq; - struct list_head flush_list; - struct list_head requeue_list; - spinlock_t requeue_lock; - struct delayed_work requeue_work; - struct mutex sysfs_lock; - struct mutex sysfs_dir_lock; - struct list_head unused_hctx_list; - spinlock_t unused_hctx_lock; - int mq_freeze_depth; - struct callback_head callback_head; - wait_queue_head_t mq_freeze_wq; - struct mutex mq_freeze_lock; - int quiesce_depth; - struct blk_mq_tag_set *tag_set; - struct list_head tag_set_list; - struct dentry *debugfs_dir; - struct dentry *sched_debugfs_dir; - struct dentry *rqos_debugfs_dir; - struct mutex debugfs_mutex; - bool mq_sysfs_init_done; -}; - -struct request_sock__safe_rcu_or_null { - struct sock *sk; -}; - -struct request_sock_ops { - int family; - unsigned int obj_size; - struct kmem_cache *slab; - char *slab_name; - int (*rtx_syn_ack)(const struct sock *, struct request_sock *); - void (*send_ack)(const struct sock *, struct sk_buff *, struct request_sock *); - void (*send_reset)(const struct sock *, struct sk_buff *); - void (*destructor)(struct request_sock *); - void (*syn_ack_timeout)(const struct request_sock *); -}; - -struct reserved_mem_ops; - -struct reserved_mem { - const char *name; - long unsigned int fdt_node; - long unsigned int phandle; - const struct reserved_mem_ops *ops; - phys_addr_t base; - phys_addr_t size; - void *priv; -}; - -struct reserved_mem_ops { - int (*device_init)(struct reserved_mem *, struct device *); - void (*device_release)(struct reserved_mem *, struct device *); -}; - -struct resource_constraint { - resource_size_t min; - resource_size_t max; - resource_size_t align; - resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t); - void *alignf_data; -}; - -struct resource_entry { - struct list_head node; - struct resource *res; - resource_size_t offset; - struct resource __res; -}; - -struct restart_block { - long unsigned int arch_data; - long int (*fn)(struct restart_block *); - union { - struct { - u32 *uaddr; - u32 val; - u32 flags; - u32 bitset; - u64 time; - u32 *uaddr2; - long: 32; - } futex; - struct { - clockid_t clockid; - enum timespec_type type; - union { - struct __kernel_timespec *rmtp; - struct old_timespec32 *compat_rmtp; - }; - long: 32; - u64 expires; - } nanosleep; - struct { - struct pollfd *ufds; - int nfds; - int has_timeout; - long unsigned int tv_sec; - long unsigned int tv_nsec; - } poll; - }; -}; - -struct reuseport_array { - struct bpf_map map; - struct sock *ptrs[0]; -}; - -struct rhash_lock_head {}; - -struct rhashtable_compare_arg { - struct rhashtable *ht; - const void *key; -}; - -struct rhashtable_walker { - struct list_head list; - struct bucket_table *tbl; -}; - -struct rhlist_head; - -struct rhashtable_iter { - struct rhashtable *ht; - struct rhash_head *p; - struct rhlist_head *list; - struct rhashtable_walker walker; - unsigned int slot; - unsigned int skip; - bool end_of_table; -}; - -struct rhlist_head { - struct rhash_head rhead; - struct rhlist_head *next; -}; - -struct rhltable { - struct rhashtable ht; -}; - -struct rings_reply_data { - struct ethnl_reply_data base; - struct ethtool_ringparam ringparam; - struct kernel_ethtool_ringparam kernel_ringparam; - u32 supported_ring_params; -}; - -struct rlimit64 { - __u64 rlim_cur; - __u64 rlim_max; -}; - -struct rmem_assigned_device { - struct device *dev; - struct reserved_mem *rmem; - struct list_head list; -}; - -struct rnd_state { - __u32 s1; - __u32 s2; - __u32 s3; - __u32 s4; -}; - -struct root_device { - struct device dev; - struct module *owner; - long: 32; -}; - -struct rt_prio_array { - long unsigned int bitmap[4]; - struct list_head queue[100]; -}; - -struct rt_rq { - struct rt_prio_array active; - unsigned int rt_nr_running; - unsigned int rr_nr_running; - int rt_queued; - int rt_throttled; - u64 rt_time; - u64 rt_runtime; - raw_spinlock_t rt_runtime_lock; -}; - -struct rq { - raw_spinlock_t __lock; - unsigned int nr_running; - long: 32; - u64 nr_switches; - struct cfs_rq cfs; - struct rt_rq rt; - struct dl_rq dl; - unsigned int nr_uninterruptible; - struct task_struct *curr; - struct task_struct *idle; - struct task_struct *stop; - long unsigned int next_balance; - struct mm_struct *prev_mm; - unsigned int clock_update_flags; - long: 32; - u64 clock; - u64 clock_task; - u64 clock_pelt; - long unsigned int lost_idle_time; - long: 32; - u64 clock_pelt_idle; - u64 clock_idle; - u64 clock_pelt_idle_copy; - u64 clock_idle_copy; - atomic_t nr_iowait; - long unsigned int calc_load_update; - long int calc_load_active; - unsigned int push_busy; - struct cpu_stop_work push_work; - cpumask_var_t scratch_mask; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct rq_flags { - long unsigned int flags; - struct pin_cookie cookie; -}; - -struct rs_msg { - struct icmp6hdr icmph; - __u8 opt[0]; -}; - -struct rss_reply_data { - struct ethnl_reply_data base; - u32 indir_size; - u32 hkey_size; - u32 hfunc; - u32 *indir_table; - u8 *hkey; -}; - -struct rss_req_info { - struct ethnl_req_info base; - u32 rss_context; -}; - -struct rt0_hdr { - struct ipv6_rt_hdr rt_hdr; - __u32 reserved; - struct in6_addr addr[0]; -}; - -struct rt6_exception { - struct hlist_node hlist; - struct rt6_info *rt6i; - long unsigned int stamp; - struct callback_head rcu; -}; - -struct rt6_exception_bucket { - struct hlist_head chain; - int depth; -}; - -struct rt6_info { - struct dst_entry dst; - struct fib6_info *from; - int sernum; - struct rt6key rt6i_dst; - struct rt6key rt6i_src; - struct in6_addr rt6i_gateway; - struct inet6_dev *rt6i_idev; - u32 rt6i_flags; - short unsigned int rt6i_nfheader_len; -}; - -struct rt6_mtu_change_arg { - struct net_device *dev; - unsigned int mtu; - struct fib6_info *f6i; -}; - -struct rt6_nh { - struct fib6_info *fib6_info; - struct fib6_config r_cfg; - struct list_head next; -}; - -struct rt6_rtnl_dump_arg { - struct sk_buff *skb; - struct netlink_callback *cb; - struct net *net; - struct fib_dump_filter filter; -}; - -struct rt6_statistics { - __u32 fib_nodes; - __u32 fib_route_nodes; - __u32 fib_rt_entries; - __u32 fib_rt_cache; - __u32 fib_discarded_routes; - atomic_t fib_rt_alloc; -}; - -struct rt_bandwidth { - raw_spinlock_t rt_runtime_lock; - ktime_t rt_period; - u64 rt_runtime; - struct hrtimer rt_period_timer; - unsigned int rt_period_active; - long: 32; -}; - -struct rt_cache_stat { - unsigned int in_slow_tot; - unsigned int in_slow_mc; - unsigned int in_no_route; - unsigned int in_brd; - unsigned int in_martian_dst; - unsigned int in_martian_src; - unsigned int out_slow_tot; - unsigned int out_slow_mc; -}; - -struct siginfo { - union { - struct { - int si_signo; - int si_errno; - int si_code; - union __sifields _sifields; - }; - int _si_pad[32]; - }; -}; - -struct sigaltstack { - void *ss_sp; - int ss_flags; - __kernel_size_t ss_size; -}; - -typedef struct sigaltstack stack_t; - -struct sigcontext { - long unsigned int trap_no; - long unsigned int error_code; - long unsigned int oldmask; - long unsigned int arm_r0; - long unsigned int arm_r1; - long unsigned int arm_r2; - long unsigned int arm_r3; - long unsigned int arm_r4; - long unsigned int arm_r5; - long unsigned int arm_r6; - long unsigned int arm_r7; - long unsigned int arm_r8; - long unsigned int arm_r9; - long unsigned int arm_r10; - long unsigned int arm_fp; - long unsigned int arm_ip; - long unsigned int arm_sp; - long unsigned int arm_lr; - long unsigned int arm_pc; - long unsigned int arm_cpsr; - long unsigned int fault_address; -}; - -struct ucontext { - long unsigned int uc_flags; - struct ucontext *uc_link; - stack_t uc_stack; - struct sigcontext uc_mcontext; - sigset_t uc_sigmask; - int __unused[30]; - long unsigned int uc_regspace[128]; -}; - -struct sigframe { - struct ucontext uc; - long unsigned int retcode[4]; -}; - -struct rt_sigframe { - struct siginfo info; - struct sigframe sig; -}; - -struct rta_cacheinfo { - __u32 rta_clntref; - __u32 rta_lastuse; - __s32 rta_expires; - __u32 rta_error; - __u32 rta_used; - __u32 rta_id; - __u32 rta_ts; - __u32 rta_tsage; -}; - -struct rtable { - struct dst_entry dst; - int rt_genid; - unsigned int rt_flags; - __u16 rt_type; - __u8 rt_is_input; - __u8 rt_uses_gateway; - int rt_iif; - u8 rt_gw_family; - union { - __be32 rt_gw4; - struct in6_addr rt_gw6; - }; - u32 rt_mtu_locked: 1; - u32 rt_pmtu: 31; -}; - -struct rtc_time { - int tm_sec; - int tm_min; - int tm_hour; - int tm_mday; - int tm_mon; - int tm_year; - int tm_wday; - int tm_yday; - int tm_isdst; -}; - -struct rtentry { - long unsigned int rt_pad1; - struct sockaddr rt_dst; - struct sockaddr rt_gateway; - struct sockaddr rt_genmask; - short unsigned int rt_flags; - short int rt_pad2; - long unsigned int rt_pad3; - void *rt_pad4; - short int rt_metric; - char *rt_dev; - long unsigned int rt_mtu; - long unsigned int rt_window; - short unsigned int rt_irtt; -}; - -struct rtgenmsg { - unsigned char rtgen_family; -}; - -struct rtm_dump_res_bucket_ctx; - -struct rtm_dump_nexthop_bucket_data { - struct rtm_dump_res_bucket_ctx *ctx; - struct nh_dump_filter filter; -}; - -struct rtm_dump_nh_ctx { - u32 idx; -}; - -struct rtm_dump_res_bucket_ctx { - struct rtm_dump_nh_ctx nh; - u16 bucket_index; -}; - -struct rtmsg { - unsigned char rtm_family; - unsigned char rtm_dst_len; - unsigned char rtm_src_len; - unsigned char rtm_tos; - unsigned char rtm_table; - unsigned char rtm_protocol; - unsigned char rtm_scope; - unsigned char rtm_type; - unsigned int rtm_flags; -}; - -struct rtnexthop { - short unsigned int rtnh_len; - unsigned char rtnh_flags; - unsigned char rtnh_hops; - int rtnh_ifindex; -}; - -struct rtnl_af_ops { - struct list_head list; - int family; - int (*fill_link_af)(struct sk_buff *, const struct net_device *, u32); - size_t (*get_link_af_size)(const struct net_device *, u32); - int (*validate_link_af)(const struct net_device *, const struct nlattr *, struct netlink_ext_ack *); - int (*set_link_af)(struct net_device *, const struct nlattr *, struct netlink_ext_ack *); - int (*fill_stats_af)(struct sk_buff *, const struct net_device *); - size_t (*get_stats_af_size)(const struct net_device *); -}; - -typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *, struct netlink_ext_ack *); - -typedef int (*rtnl_dumpit_func)(struct sk_buff *, struct netlink_callback *); - -struct rtnl_link { - rtnl_doit_func doit; - rtnl_dumpit_func dumpit; - struct module *owner; - unsigned int flags; - struct callback_head rcu; -}; - -struct rtnl_link_ifmap { - __u64 mem_start; - __u64 mem_end; - __u64 base_addr; - __u16 irq; - __u8 dma; - __u8 port; - long: 32; -}; - -struct rtnl_link_ops { - struct list_head list; - const char *kind; - size_t priv_size; - struct net_device * (*alloc)(struct nlattr **, const char *, unsigned char, unsigned int, unsigned int); - void (*setup)(struct net_device *); - bool netns_refund; - unsigned int maxtype; - const struct nla_policy *policy; - int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *); - int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *); - int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *); - void (*dellink)(struct net_device *, struct list_head *); - size_t (*get_size)(const struct net_device *); - int (*fill_info)(struct sk_buff *, const struct net_device *); - size_t (*get_xstats_size)(const struct net_device *); - int (*fill_xstats)(struct sk_buff *, const struct net_device *); - unsigned int (*get_num_tx_queues)(); - unsigned int (*get_num_rx_queues)(); - unsigned int slave_maxtype; - const struct nla_policy *slave_policy; - int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *); - size_t (*get_slave_size)(const struct net_device *, const struct net_device *); - int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *); - struct net * (*get_link_net)(const struct net_device *); - size_t (*get_linkxstats_size)(const struct net_device *, int); - int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int); -}; - -struct rtnl_link_stats { - __u32 rx_packets; - __u32 tx_packets; - __u32 rx_bytes; - __u32 tx_bytes; - __u32 rx_errors; - __u32 tx_errors; - __u32 rx_dropped; - __u32 tx_dropped; - __u32 multicast; - __u32 collisions; - __u32 rx_length_errors; - __u32 rx_over_errors; - __u32 rx_crc_errors; - __u32 rx_frame_errors; - __u32 rx_fifo_errors; - __u32 rx_missed_errors; - __u32 tx_aborted_errors; - __u32 tx_carrier_errors; - __u32 tx_fifo_errors; - __u32 tx_heartbeat_errors; - __u32 tx_window_errors; - __u32 rx_compressed; - __u32 tx_compressed; - __u32 rx_nohandler; -}; - -struct rtnl_link_stats64 { - __u64 rx_packets; - __u64 tx_packets; - __u64 rx_bytes; - __u64 tx_bytes; - __u64 rx_errors; - __u64 tx_errors; - __u64 rx_dropped; - __u64 tx_dropped; - __u64 multicast; - __u64 collisions; - __u64 rx_length_errors; - __u64 rx_over_errors; - __u64 rx_crc_errors; - __u64 rx_frame_errors; - __u64 rx_fifo_errors; - __u64 rx_missed_errors; - __u64 tx_aborted_errors; - __u64 tx_carrier_errors; - __u64 tx_fifo_errors; - __u64 tx_heartbeat_errors; - __u64 tx_window_errors; - __u64 rx_compressed; - __u64 tx_compressed; - __u64 rx_nohandler; - __u64 rx_otherhost_dropped; -}; - -struct rtnl_mdb_dump_ctx { - long int idx; -}; - -struct rtnl_net_dump_cb { - struct net *tgt_net; - struct net *ref_net; - struct sk_buff *skb; - struct net_fill_args fillargs; - int idx; - int s_idx; -}; - -struct rtnl_newlink_tbs { - struct nlattr *tb[65]; - struct nlattr *attr[51]; - struct nlattr *slave_attr[45]; -}; - -struct rtnl_offload_xstats_request_used { - bool request; - bool used; -}; - -struct rtnl_stats_dump_filters { - u32 mask[6]; -}; - -struct rtvia { - __kernel_sa_family_t rtvia_family; - __u8 rtvia_addr[0]; -}; - -struct rusage { - struct __kernel_old_timeval ru_utime; - struct __kernel_old_timeval ru_stime; - __kernel_long_t ru_maxrss; - __kernel_long_t ru_ixrss; - __kernel_long_t ru_idrss; - __kernel_long_t ru_isrss; - __kernel_long_t ru_minflt; - __kernel_long_t ru_majflt; - __kernel_long_t ru_nswap; - __kernel_long_t ru_inblock; - __kernel_long_t ru_oublock; - __kernel_long_t ru_msgsnd; - __kernel_long_t ru_msgrcv; - __kernel_long_t ru_nsignals; - __kernel_long_t ru_nvcsw; - __kernel_long_t ru_nivcsw; -}; - -struct rwsem_waiter { - struct list_head list; - struct task_struct *task; - enum rwsem_waiter_type type; - long unsigned int timeout; - bool handoff_set; -}; - -struct saved_syn { - u32 mac_hdrlen; - u32 network_hdrlen; - u32 tcp_hdrlen; - u8 data[0]; -}; - -struct sb_writers { - short unsigned int frozen; - short unsigned int freeze_holders; - struct percpu_rw_semaphore rw_sem[3]; -}; - -struct scan_control { - long unsigned int nr_to_reclaim; - nodemask_t *nodemask; - struct mem_cgroup *target_mem_cgroup; - long unsigned int anon_cost; - long unsigned int file_cost; - unsigned int may_deactivate: 2; - unsigned int force_deactivate: 1; - unsigned int skipped_deactivate: 1; - unsigned int may_writepage: 1; - unsigned int may_unmap: 1; - unsigned int may_swap: 1; - unsigned int proactive: 1; - unsigned int memcg_low_reclaim: 1; - unsigned int memcg_low_skipped: 1; - unsigned int hibernation_mode: 1; - unsigned int compaction_ready: 1; - unsigned int cache_trim_mode: 1; - unsigned int file_is_tiny: 1; - unsigned int no_demotion: 1; - s8 order; - s8 priority; - s8 reclaim_idx; - gfp_t gfp_mask; - long unsigned int nr_scanned; - long unsigned int nr_reclaimed; - struct { - unsigned int dirty; - unsigned int unqueued_dirty; - unsigned int congested; - unsigned int writeback; - unsigned int immediate; - unsigned int file_taken; - unsigned int taken; - } nr; - struct reclaim_state reclaim_state; -}; - -struct sch_frag_data { - long unsigned int dst; - struct qdisc_skb_cb cb; - __be16 inner_protocol; - u16 vlan_tci; - __be16 vlan_proto; - unsigned int l2_len; - u8 l2_data[18]; - int (*xmit)(struct sk_buff *); -}; - -struct sched_attr { - __u32 size; - __u32 sched_policy; - __u64 sched_flags; - __s32 sched_nice; - __u32 sched_priority; - __u64 sched_runtime; - __u64 sched_deadline; - __u64 sched_period; - __u32 sched_util_min; - __u32 sched_util_max; -}; - -struct sched_class { - void (*enqueue_task)(struct rq *, struct task_struct *, int); - void (*dequeue_task)(struct rq *, struct task_struct *, int); - void (*yield_task)(struct rq *); - bool (*yield_to_task)(struct rq *, struct task_struct *); - void (*check_preempt_curr)(struct rq *, struct task_struct *, int); - struct task_struct * (*pick_next_task)(struct rq *); - void (*put_prev_task)(struct rq *, struct task_struct *); - void (*set_next_task)(struct rq *, struct task_struct *, bool); - void (*task_tick)(struct rq *, struct task_struct *, int); - void (*task_fork)(struct task_struct *); - void (*task_dead)(struct task_struct *); - void (*switched_from)(struct rq *, struct task_struct *); - void (*switched_to)(struct rq *, struct task_struct *); - void (*prio_changed)(struct rq *, struct task_struct *, int); - unsigned int (*get_rr_interval)(struct rq *, struct task_struct *); - void (*update_curr)(struct rq *); -}; - -struct sched_dl_entity { - struct rb_node rb_node; - long: 32; - u64 dl_runtime; - u64 dl_deadline; - u64 dl_period; - u64 dl_bw; - u64 dl_density; - s64 runtime; - u64 deadline; - unsigned int flags; - unsigned int dl_throttled: 1; - unsigned int dl_yielded: 1; - unsigned int dl_non_contending: 1; - unsigned int dl_overrun: 1; - struct hrtimer dl_timer; - struct hrtimer inactive_timer; -}; - -struct sched_entity { - struct load_weight load; - struct rb_node run_node; - long: 32; - u64 deadline; - u64 min_deadline; - struct list_head group_node; - unsigned int on_rq; - long: 32; - u64 exec_start; - u64 sum_exec_runtime; - u64 prev_sum_exec_runtime; - u64 vruntime; - s64 vlag; - u64 slice; - u64 nr_migrations; -}; - -struct sched_info {}; - -struct sched_param { - int sched_priority; -}; - -struct sched_rt_entity { - struct list_head run_list; - long unsigned int timeout; - long unsigned int watchdog_stamp; - unsigned int time_slice; - short unsigned int on_rq; - short unsigned int on_list; - struct sched_rt_entity *back; -}; - -struct sched_statistics {}; - -struct scm_fp_list; - -struct scm_cookie { - struct pid *pid; - struct scm_fp_list *fp; - struct scm_creds creds; -}; - -struct scm_fp_list { - short int count; - short int max; - struct user_struct *user; - struct file *fp[253]; -}; - -struct scm_timestamping { - struct __kernel_old_timespec ts[3]; -}; - -struct scm_timestamping64 { - struct __kernel_timespec ts[3]; -}; - -struct scm_timestamping_internal { - struct timespec64 ts[3]; -}; - -struct scm_ts_pktinfo { - __u32 if_index; - __u32 pkt_length; - __u32 reserved[2]; -}; - -struct xfrm_offload { - struct { - __u32 low; - __u32 hi; - } seq; - __u32 flags; - __u32 status; - __u8 proto; - __u8 inner_ipproto; -}; - -struct xfrm_state; - -struct sec_path { - int len; - int olen; - int verified_cnt; - struct xfrm_state *xvec[6]; - struct xfrm_offload ovec[1]; -}; - -struct seccomp {}; - -struct seccomp_data { - int nr; - __u32 arch; - __u64 instruction_pointer; - __u64 args[6]; -}; - -struct seg6_pernet_data { - struct mutex lock; - struct in6_addr *tun_src; -}; - -struct sel_arg_struct { - long unsigned int n; - fd_set *inp; - fd_set *outp; - fd_set *exp; - struct __kernel_old_timeval *tvp; -}; - -struct select_data { - struct dentry *start; - union { - long int found; - struct dentry *victim; - }; - struct list_head dispose; -}; - -struct semaphore { - raw_spinlock_t lock; - unsigned int count; - struct list_head wait_list; -}; - -struct semaphore_waiter { - struct list_head list; - struct task_struct *task; - bool up; -}; - -struct seq_buf { - char *buffer; - size_t size; - size_t len; - long: 32; - loff_t readpos; -}; - -struct seq_file { - char *buf; - size_t size; - size_t from; - size_t count; - size_t pad_until; - long: 32; - loff_t index; - loff_t read_pos; - struct mutex lock; - const struct seq_operations *op; - int poll_event; - const struct file *file; - void *private; - long: 32; -}; - -struct seq_operations { - void * (*start)(struct seq_file *, loff_t *); - void (*stop)(struct seq_file *, void *); - void * (*next)(struct seq_file *, void *, loff_t *); - int (*show)(struct seq_file *, void *); -}; - -struct serial_icounter_struct { - int cts; - int dsr; - int rng; - int dcd; - int rx; - int tx; - int frame; - int overrun; - int parity; - int brk; - int buf_overrun; - int reserved[9]; -}; - -struct serial_struct { - int type; - int line; - unsigned int port; - int irq; - int flags; - int xmit_fifo_size; - int custom_divisor; - int baud_base; - short unsigned int close_delay; - char io_type; - char reserved_char[1]; - int hub6; - short unsigned int closing_wait; - short unsigned int closing_wait2; - unsigned char *iomem_base; - short unsigned int iomem_reg_shift; - unsigned int port_high; - long unsigned int iomap_base; -}; - -struct sg_append_table { - struct sg_table sgt; - struct scatterlist *prv; - unsigned int total_nents; -}; - -struct sg_page_iter { - struct scatterlist *sg; - unsigned int sg_pgoffset; - unsigned int __nents; - int __pg_advance; -}; - -struct sg_dma_page_iter { - struct sg_page_iter base; -}; - -struct sg_mapping_iter { - struct page *page; - void *addr; - size_t length; - size_t consumed; - struct sg_page_iter piter; - unsigned int __offset; - unsigned int __remaining; - unsigned int __flags; -}; - -struct shrink_control { - gfp_t gfp_mask; - int nid; - long unsigned int nr_to_scan; - long unsigned int nr_scanned; - struct mem_cgroup *memcg; -}; - -struct shrinker { - long unsigned int (*count_objects)(struct shrinker *, struct shrink_control *); - long unsigned int (*scan_objects)(struct shrinker *, struct shrink_control *); - long int batch; - int seeks; - unsigned int flags; - struct list_head list; - atomic_long_t *nr_deferred; -}; - -struct sighand_struct { - spinlock_t siglock; - refcount_t count; - wait_queue_head_t signalfd_wqh; - struct k_sigaction action[64]; -}; - -typedef struct siginfo siginfo_t; - -struct sigpending { - struct list_head list; - sigset_t signal; -}; - -struct task_io_accounting {}; - -struct tty_struct; - -struct signal_struct { - refcount_t sigcnt; - atomic_t live; - int nr_threads; - int quick_threads; - struct list_head thread_head; - wait_queue_head_t wait_chldexit; - struct task_struct *curr_target; - struct sigpending shared_pending; - struct hlist_head multiprocess; - int group_exit_code; - int notify_count; - struct task_struct *group_exec_task; - int group_stop_count; - unsigned int flags; - struct core_state *core_state; - unsigned int is_child_subreaper: 1; - unsigned int has_child_subreaper: 1; - struct posix_cputimers posix_cputimers; - struct pid *pids[4]; - struct pid *tty_old_pgrp; - int leader; - struct tty_struct *tty; - seqlock_t stats_lock; - long: 32; - u64 utime; - u64 stime; - u64 cutime; - u64 cstime; - u64 gtime; - u64 cgtime; - struct prev_cputime prev_cputime; - long unsigned int nvcsw; - long unsigned int nivcsw; - long unsigned int cnvcsw; - long unsigned int cnivcsw; - long unsigned int min_flt; - long unsigned int maj_flt; - long unsigned int cmin_flt; - long unsigned int cmaj_flt; - long unsigned int inblock; - long unsigned int oublock; - long unsigned int cinblock; - long unsigned int coublock; - long unsigned int maxrss; - long unsigned int cmaxrss; - struct task_io_accounting ioac; - long long unsigned int sum_sched_runtime; - struct rlimit rlim[16]; - bool oom_flag_origin; - short int oom_score_adj; - short int oom_score_adj_min; - struct mm_struct *oom_mm; - struct mutex cred_guard_mutex; - struct rw_semaphore exec_update_lock; -}; - -struct sigqueue { - struct list_head list; - int flags; - kernel_siginfo_t info; - struct ucounts *ucounts; -}; - -struct sigset_argpack { - sigset_t *p; - size_t size; -}; - -struct simple_attr { - int (*get)(void *, u64 *); - int (*set)(void *, u64); - char get_buf[24]; - char set_buf[24]; - void *data; - const char *fmt; - struct mutex mutex; -}; - -struct simple_pm_bus { - struct clk_bulk_data *clks; - int num_clks; -}; - -struct simple_transaction_argresp { - ssize_t size; - char data[0]; -}; - -struct simple_xattr { - struct rb_node rb_node; - char *name; - size_t size; - char value[0]; -}; - -struct simple_xattrs { - struct rb_root rb_root; - rwlock_t lock; -}; - -struct sit_net { - struct ip_tunnel *tunnels_r_l[16]; - struct ip_tunnel *tunnels_r[16]; - struct ip_tunnel *tunnels_l[16]; - struct ip_tunnel *tunnels_wc[1]; - struct ip_tunnel **tunnels[4]; - struct net_device *fb_tunnel_dev; -}; - -struct sk_buff__safe_rcu_or_null { - struct sock *sk; -}; - -struct sk_buff_fclones { - struct sk_buff skb1; - struct sk_buff skb2; - refcount_t fclone_ref; - long: 32; -}; - -struct sk_filter { - refcount_t refcnt; - struct callback_head rcu; - struct bpf_prog *prog; -}; - -struct sk_psock_work_state { - u32 len; - u32 off; -}; - -struct sk_psock { - struct sock *sk; - struct sock *sk_redir; - u32 apply_bytes; - u32 cork_bytes; - u32 eval; - bool redir_ingress; - struct sk_msg *cork; - struct sk_psock_progs progs; - struct sk_buff_head ingress_skb; - struct list_head ingress_msg; - spinlock_t ingress_lock; - long unsigned int state; - struct list_head link; - spinlock_t link_lock; - refcount_t refcnt; - void (*saved_unhash)(struct sock *); - void (*saved_destroy)(struct sock *); - void (*saved_close)(struct sock *, long int); - void (*saved_write_space)(struct sock *); - void (*saved_data_ready)(struct sock *); - int (*psock_update_sk_prot)(struct sock *, struct sk_psock *, bool); - struct proto *sk_proto; - struct mutex work_mutex; - struct sk_psock_work_state work_state; - struct delayed_work work; - struct rcu_work rwork; -}; - -struct sk_psock_link { - struct list_head list; - struct bpf_map *map; - void *link_raw; -}; - -struct tls_msg { - u8 control; -}; - -struct sk_skb_cb { - unsigned char data[20]; - unsigned char pad[4]; - struct _strp_msg strp; - struct tls_msg tls; - u64 temp_reg; -}; - -struct skb_checksum_ops { - __wsum (*update)(const void *, int, __wsum); - __wsum (*combine)(__wsum, __wsum, int, int); -}; - -struct skb_free_array { - unsigned int skb_count; - void *skb_array[16]; -}; - -struct skb_gso_cb { - union { - int mac_offset; - int data_offset; - }; - int encap_level; - __wsum csum; - __u16 csum_start; -}; - -struct skb_seq_state { - __u32 lower_offset; - __u32 upper_offset; - __u32 frag_idx; - __u32 stepped_offset; - struct sk_buff *root_skb; - struct sk_buff *cur_skb; - __u8 *frag_data; - __u32 frag_off; -}; - -struct skb_shared_hwtstamps { - union { - ktime_t hwtstamp; - void *netdev_data; - }; -}; - -struct skb_shared_info { - __u8 flags; - __u8 meta_len; - __u8 nr_frags; - __u8 tx_flags; - short unsigned int gso_size; - short unsigned int gso_segs; - struct sk_buff *frag_list; - long: 32; - struct skb_shared_hwtstamps hwtstamps; - unsigned int gso_type; - u32 tskey; - atomic_t dataref; - unsigned int xdp_frags_size; - void *destructor_arg; - skb_frag_t frags[17]; -}; - -struct slab { - long unsigned int __page_flags; - struct kmem_cache *slab_cache; - union { - struct { - union { - struct list_head slab_list; - }; - union { - struct { - void *freelist; - union { - long unsigned int counters; - struct { - unsigned int inuse: 16; - unsigned int objects: 15; - unsigned int frozen: 1; - }; - }; - }; - }; - }; - struct callback_head callback_head; - }; - unsigned int __unused; - atomic_t __page_refcount; -}; - -struct smp_hotplug_thread { - struct task_struct **store; - struct list_head list; - int (*thread_should_run)(unsigned int); - void (*thread_fn)(unsigned int); - void (*create)(unsigned int); - void (*setup)(unsigned int); - void (*cleanup)(unsigned int, bool); - void (*park)(unsigned int); - void (*unpark)(unsigned int); - bool selfparking; - const char *thread_comm; -}; - -struct smpboot_thread_data { - unsigned int cpu; - unsigned int status; - struct smp_hotplug_thread *ht; -}; - -struct so_timestamping { - int flags; - int bind_phc; -}; - -struct sock_diag_handler { - __u8 family; - int (*dump)(struct sk_buff *, struct nlmsghdr *); - int (*get_info)(struct sk_buff *, struct sock *); - int (*destroy)(struct sk_buff *, struct nlmsghdr *); -}; - -struct sock_diag_req { - __u8 sdiag_family; - __u8 sdiag_protocol; -}; - -struct sock_ee_data_rfc4884 { - __u16 len; - __u8 flags; - __u8 reserved; -}; - -struct sock_extended_err { - __u32 ee_errno; - __u8 ee_origin; - __u8 ee_type; - __u8 ee_code; - __u8 ee_pad; - __u32 ee_info; - union { - __u32 ee_data; - struct sock_ee_data_rfc4884 ee_rfc4884; - }; -}; - -struct sock_exterr_skb { - union { - struct inet_skb_parm h4; - struct inet6_skb_parm h6; - } header; - struct sock_extended_err ee; - u16 addr_offset; - __be16 port; - u8 opt_stats: 1; - u8 unused: 7; -}; - -struct sock_fprog { - short unsigned int len; - struct sock_filter *filter; -}; - -struct sock_fprog_kern { - u16 len; - struct sock_filter *filter; -}; - -struct sock_hash_seq_info { - struct bpf_map *map; - struct bpf_shtab *htab; - u32 bucket_id; -}; - -struct sock_map_seq_info { - struct bpf_map *map; - struct sock *sk; - u32 index; -}; - -struct sock_reuseport { - struct callback_head rcu; - u16 max_socks; - u16 num_socks; - u16 num_closed_socks; - u16 incoming_cpu; - unsigned int synq_overflow_ts; - unsigned int reuseport_id; - unsigned int bind_inany: 1; - unsigned int has_conns: 1; - struct bpf_prog *prog; - struct sock *socks[0]; -}; - -struct sock_skb_cb { - u32 dropcount; -}; - -struct sock_txtime { - __kernel_clockid_t clockid; - __u32 flags; -}; - -struct sockaddr_in { - __kernel_sa_family_t sin_family; - __be16 sin_port; - struct in_addr sin_addr; - unsigned char __pad[8]; -}; - -struct sockaddr_nl { - __kernel_sa_family_t nl_family; - short unsigned int nl_pad; - __u32 nl_pid; - __u32 nl_groups; -}; - -struct socket_wq { - wait_queue_head_t wait; - struct fasync_struct *fasync_list; - long unsigned int flags; - struct callback_head rcu; -}; - -struct socket { - socket_state state; - short int type; - long unsigned int flags; - struct file *file; - struct sock *sk; - const struct proto_ops *ops; - struct socket_wq wq; -}; - -struct socket__safe_trusted { - struct sock *sk; -}; - -struct socket_alloc { - struct socket socket; - struct inode vfs_inode; -}; - -struct softirq_action { - void (*action)(struct softirq_action *); -}; - -struct softnet_data { - struct list_head poll_list; - struct sk_buff_head process_queue; - unsigned int processed; - unsigned int time_squeeze; - bool in_net_rx_action; - bool in_napi_threaded_poll; - struct Qdisc *output_queue; - struct Qdisc **output_queue_tailp; - struct sk_buff *completion_queue; - struct { - u16 recursion; - u8 more; - u8 skip_txqueue; - } xmit; - unsigned int received_rps; - unsigned int dropped; - struct sk_buff_head input_pkt_queue; - long: 32; - struct napi_struct backlog; - spinlock_t defer_lock; - int defer_count; - int defer_ipi_scheduled; - struct sk_buff *defer_list; - long: 32; - long: 32; - long: 32; - call_single_data_t defer_csd; -}; - -struct software_node { - const char *name; - const struct software_node *parent; - const struct property_entry *properties; -}; - -struct software_node_ref_args { - const struct software_node *node; - unsigned int nargs; - u64 args[8]; -}; - -struct space_resv { - __s16 l_type; - __s16 l_whence; - long: 32; - __s64 l_start; - __s64 l_len; - __s32 l_sysid; - __u32 l_pid; - __s32 l_pad[4]; -}; - -struct splice_desc { - size_t total_len; - unsigned int len; - unsigned int flags; - union { - void *userptr; - struct file *file; - void *data; - } u; - void (*splice_eof)(struct splice_desc *); - long: 32; - loff_t pos; - loff_t *opos; - size_t num_spliced; - bool need_wakeup; - long: 32; -}; - -struct splice_pipe_desc { - struct page **pages; - struct partial_page *partial; - int nr_pages; - unsigned int nr_pages_max; - const struct pipe_buf_operations *ops; - void (*spd_release)(struct splice_pipe_desc *, unsigned int); -}; - -struct sr6_tlv { - __u8 type; - __u8 len; - __u8 data[0]; -}; - -struct stack_map_bucket { - struct pcpu_freelist_node fnode; - u32 hash; - u32 nr; - long: 32; - u64 data[0]; -}; - -struct stackframe { - long unsigned int fp; - long unsigned int sp; - long unsigned int lr; - long unsigned int pc; - long unsigned int *lr_addr; -}; - -struct stat { - long unsigned int st_dev; - long unsigned int st_ino; - short unsigned int st_mode; - short unsigned int st_nlink; - short unsigned int st_uid; - short unsigned int st_gid; - long unsigned int st_rdev; - long unsigned int st_size; - long unsigned int st_blksize; - long unsigned int st_blocks; - long unsigned int st_atime; - long unsigned int st_atime_nsec; - long unsigned int st_mtime; - long unsigned int st_mtime_nsec; - long unsigned int st_ctime; - long unsigned int st_ctime_nsec; - long unsigned int __unused4; - long unsigned int __unused5; -}; - -struct stat64 { - long long unsigned int st_dev; - unsigned char __pad0[4]; - long unsigned int __st_ino; - unsigned int st_mode; - unsigned int st_nlink; - long unsigned int st_uid; - long unsigned int st_gid; - long long unsigned int st_rdev; - unsigned char __pad3[4]; - long: 32; - long long int st_size; - long unsigned int st_blksize; - long: 32; - long long unsigned int st_blocks; - long unsigned int st_atime; - long unsigned int st_atime_nsec; - long unsigned int st_mtime; - long unsigned int st_mtime_nsec; - long unsigned int st_ctime; - long unsigned int st_ctime_nsec; - long long unsigned int st_ino; -}; - -struct statfs { - __u32 f_type; - __u32 f_bsize; - __u32 f_blocks; - __u32 f_bfree; - __u32 f_bavail; - __u32 f_files; - __u32 f_ffree; - __kernel_fsid_t f_fsid; - __u32 f_namelen; - __u32 f_frsize; - __u32 f_flags; - __u32 f_spare[4]; -}; - -struct statfs64 { - __u32 f_type; - __u32 f_bsize; - __u64 f_blocks; - __u64 f_bfree; - __u64 f_bavail; - __u64 f_files; - __u64 f_ffree; - __kernel_fsid_t f_fsid; - __u32 f_namelen; - __u32 f_frsize; - __u32 f_flags; - __u32 f_spare[4]; -}; - -struct static_call_key { - void *func; -}; - -struct static_key { - atomic_t enabled; -}; - -struct static_key_false { - struct static_key key; -}; - -struct static_key_false_deferred { - struct static_key_false key; -}; - -struct static_key_true { - struct static_key key; -}; - -struct stats_reply_data { - struct ethnl_reply_data base; - long: 32; - union { - struct { - struct ethtool_eth_phy_stats phy_stats; - struct ethtool_eth_mac_stats mac_stats; - struct ethtool_eth_ctrl_stats ctrl_stats; - struct ethtool_rmon_stats rmon_stats; - }; - struct { - struct ethtool_eth_phy_stats phy_stats; - struct ethtool_eth_mac_stats mac_stats; - struct ethtool_eth_ctrl_stats ctrl_stats; - struct ethtool_rmon_stats rmon_stats; - } stats; - }; - const struct ethtool_rmon_hist_range *rmon_ranges; - long: 32; -}; - -struct stats_req_info { - struct ethnl_req_info base; - long unsigned int stat_mask[1]; - enum ethtool_mac_stats_src src; -}; - -struct statx_timestamp { - __s64 tv_sec; - __u32 tv_nsec; - __s32 __reserved; -}; - -struct statx { - __u32 stx_mask; - __u32 stx_blksize; - __u64 stx_attributes; - __u32 stx_nlink; - __u32 stx_uid; - __u32 stx_gid; - __u16 stx_mode; - __u16 __spare0[1]; - __u64 stx_ino; - __u64 stx_size; - __u64 stx_blocks; - __u64 stx_attributes_mask; - struct statx_timestamp stx_atime; - struct statx_timestamp stx_btime; - struct statx_timestamp stx_ctime; - struct statx_timestamp stx_mtime; - __u32 stx_rdev_major; - __u32 stx_rdev_minor; - __u32 stx_dev_major; - __u32 stx_dev_minor; - __u64 stx_mnt_id; - __u32 stx_dio_mem_align; - __u32 stx_dio_offset_align; - __u64 __spare3[12]; -}; - -struct stop_event_data { - struct perf_event *event; - unsigned int restart; -}; - -struct strarray { - char **array; - size_t n; -}; - -struct strset_info { - bool per_dev; - bool free_strings; - unsigned int count; - const char (*strings)[32]; -}; - -struct strset_reply_data { - struct ethnl_reply_data base; - struct strset_info sets[21]; -}; - -struct strset_req_info { - struct ethnl_req_info base; - u32 req_ids; - bool counts_only; -}; - -struct subprocess_info { - struct work_struct work; - struct completion *complete; - const char *path; - char **argv; - char **envp; - int wait; - int retval; - int (*init)(struct subprocess_info *, struct cred *); - void (*cleanup)(struct subprocess_info *); - void *data; -}; - -struct subsys_dev_iter { - struct klist_iter ki; - const struct device_type *type; -}; - -struct subsys_interface { - const char *name; - struct bus_type *subsys; - struct list_head node; - int (*add_dev)(struct device *, struct subsys_interface *); - void (*remove_dev)(struct device *, struct subsys_interface *); -}; - -struct subsys_private { - struct kset subsys; - struct kset *devices_kset; - struct list_head interfaces; - struct mutex mutex; - struct kset *drivers_kset; - struct klist klist_devices; - struct klist klist_drivers; - struct blocking_notifier_head bus_notifier; - unsigned int drivers_autoprobe: 1; - const struct bus_type *bus; - struct device *dev_root; - struct kset glue_dirs; - const struct class *class; - struct lock_class_key lock_key; -}; - -struct mtd_info; - -struct super_block { - struct list_head s_list; - dev_t s_dev; - unsigned char s_blocksize_bits; - long unsigned int s_blocksize; - long: 32; - loff_t s_maxbytes; - struct file_system_type *s_type; - const struct super_operations *s_op; - const struct dquot_operations *dq_op; - const struct quotactl_ops *s_qcop; - const struct export_operations *s_export_op; - long unsigned int s_flags; - long unsigned int s_iflags; - long unsigned int s_magic; - struct dentry *s_root; - struct rw_semaphore s_umount; - int s_count; - atomic_t s_active; - const struct xattr_handler **s_xattr; - struct hlist_bl_head s_roots; - struct list_head s_mounts; - struct block_device *s_bdev; - struct backing_dev_info *s_bdi; - struct mtd_info *s_mtd; - struct hlist_node s_instances; - unsigned int s_quota_types; - long: 32; - struct quota_info s_dquot; - struct sb_writers s_writers; - void *s_fs_info; - u32 s_time_gran; - time64_t s_time_min; - time64_t s_time_max; - char s_id[32]; - uuid_t s_uuid; - unsigned int s_max_links; - struct mutex s_vfs_rename_mutex; - const char *s_subtype; - const struct dentry_operations *s_d_op; - struct shrinker s_shrink; - atomic_long_t s_remove_count; - atomic_long_t s_fsnotify_connectors; - int s_readonly_remount; - errseq_t s_wb_err; - struct workqueue_struct *s_dio_done_wq; - struct hlist_head s_pins; - struct user_namespace *s_user_ns; - struct list_lru s_dentry_lru; - struct list_lru s_inode_lru; - struct callback_head rcu; - struct work_struct destroy_work; - struct mutex s_sync_lock; - int s_stack_depth; - spinlock_t s_inode_list_lock; - struct list_head s_inodes; - spinlock_t s_inode_wblist_lock; - struct list_head s_inodes_wb; - long: 32; -}; - -struct super_operations { - struct inode * (*alloc_inode)(struct super_block *); - void (*destroy_inode)(struct inode *); - void (*free_inode)(struct inode *); - void (*dirty_inode)(struct inode *, int); - int (*write_inode)(struct inode *, struct writeback_control *); - int (*drop_inode)(struct inode *); - void (*evict_inode)(struct inode *); - void (*put_super)(struct super_block *); - int (*sync_fs)(struct super_block *, int); - int (*freeze_super)(struct super_block *, enum freeze_holder); - int (*freeze_fs)(struct super_block *); - int (*thaw_super)(struct super_block *, enum freeze_holder); - int (*unfreeze_fs)(struct super_block *); - int (*statfs)(struct dentry *, struct kstatfs *); - int (*remount_fs)(struct super_block *, int *, char *); - void (*umount_begin)(struct super_block *); - int (*show_options)(struct seq_file *, struct dentry *); - int (*show_devname)(struct seq_file *, struct dentry *); - int (*show_path)(struct seq_file *, struct dentry *); - int (*show_stats)(struct seq_file *, struct dentry *); - long int (*nr_cached_objects)(struct super_block *, struct shrink_control *); - long int (*free_cached_objects)(struct super_block *, struct shrink_control *); - void (*shutdown)(struct super_block *); -}; - -struct supplier_bindings { - struct device_node * (*parse_prop)(struct device_node *, const char *, int); - bool optional; - bool node_not_dev; -}; - -struct swait_queue { - struct task_struct *task; - struct list_head task_list; -}; - -struct swap_cluster_list { - struct swap_cluster_info head; - struct swap_cluster_info tail; -}; - -struct swap_info_struct { - struct percpu_ref users; - long unsigned int flags; - short int prio; - struct plist_node list; - signed char type; - unsigned int max; - unsigned char *swap_map; - struct swap_cluster_info *cluster_info; - struct swap_cluster_list free_clusters; - unsigned int lowest_bit; - unsigned int highest_bit; - unsigned int pages; - unsigned int inuse_pages; - unsigned int cluster_next; - unsigned int cluster_nr; - unsigned int *cluster_next_cpu; - struct percpu_cluster *percpu_cluster; - struct rb_root swap_extent_root; - struct block_device *bdev; - struct file *swap_file; - unsigned int old_block_size; - struct completion comp; - spinlock_t lock; - spinlock_t cont_lock; - struct work_struct discard_work; - struct swap_cluster_list discard_clusters; - struct plist_node avail_lists[0]; -}; - -struct swevent_hlist { - struct hlist_head heads[256]; - struct callback_head callback_head; -}; - -struct swevent_htable { - struct swevent_hlist *swevent_hlist; - struct mutex hlist_mutex; - int hlist_refcount; - int recursion[4]; -}; - -struct swnode { - struct kobject kobj; - struct fwnode_handle fwnode; - const struct software_node *node; - int id; - struct ida child_ids; - struct list_head entry; - struct list_head children; - struct swnode *parent; - unsigned int allocated: 1; - unsigned int managed: 1; -}; - -struct symsearch { - const struct kernel_symbol *start; - const struct kernel_symbol *stop; - const s32 *crcs; - enum mod_license license; -}; - -struct sys_off_data { - int mode; - void *cb_data; - const char *cmd; -}; - -struct sys_off_handler { - struct notifier_block nb; - int (*sys_off_cb)(struct sys_off_data *); - void *cb_data; - enum sys_off_mode mode; - bool blocking; - void *list; -}; - -struct syscall_info { - __u64 sp; - struct seccomp_data data; -}; - -struct syscall_user_dispatch {}; - -struct syscore_ops { - struct list_head node; - int (*suspend)(); - void (*resume)(); - void (*shutdown)(); -}; - -struct sysfs_ops { - ssize_t (*show)(struct kobject *, struct attribute *, char *); - ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t); -}; - -struct sysinfo { - __kernel_long_t uptime; - __kernel_ulong_t loads[3]; - __kernel_ulong_t totalram; - __kernel_ulong_t freeram; - __kernel_ulong_t sharedram; - __kernel_ulong_t bufferram; - __kernel_ulong_t totalswap; - __kernel_ulong_t freeswap; - __u16 procs; - __u16 pad; - __kernel_ulong_t totalhigh; - __kernel_ulong_t freehigh; - __u32 mem_unit; - char _f[8]; -}; - -struct system_counterval_t { - u64 cycles; - struct clocksource *cs; - long: 32; -}; - -struct system_device_crosststamp { - ktime_t device; - ktime_t sys_realtime; - ktime_t sys_monoraw; -}; - -struct system_time_snapshot { - u64 cycles; - ktime_t real; - ktime_t raw; - enum clocksource_ids cs_id; - unsigned int clock_was_set_seq; - u8 cs_was_changed_seq; - long: 32; -}; - -struct tag_header { - __u32 size; - __u32 tag; -}; - -struct tag_core { - __u32 flags; - __u32 pagesize; - __u32 rootdev; -}; - -struct tag_mem32 { - __u32 size; - __u32 start; -}; - -struct tag_videotext { - __u8 x; - __u8 y; - __u16 video_page; - __u8 video_mode; - __u8 video_cols; - __u16 video_ega_bx; - __u8 video_lines; - __u8 video_isvga; - __u16 video_points; -}; - -struct tag_ramdisk { - __u32 flags; - __u32 size; - __u32 start; -}; - -struct tag_initrd { - __u32 start; - __u32 size; -}; - -struct tag_serialnr { - __u32 low; - __u32 high; -}; - -struct tag_revision { - __u32 rev; -}; - -struct tag_videolfb { - __u16 lfb_width; - __u16 lfb_height; - __u16 lfb_depth; - __u16 lfb_linelength; - __u32 lfb_base; - __u32 lfb_size; - __u8 red_size; - __u8 red_pos; - __u8 green_size; - __u8 green_pos; - __u8 blue_size; - __u8 blue_pos; - __u8 rsvd_size; - __u8 rsvd_pos; -}; - -struct tag_cmdline { - char cmdline[1]; -}; - -struct tag_acorn { - __u32 memc_control_reg; - __u32 vram_pages; - __u8 sounddefault; - __u8 adfsdrives; -}; - -struct tag_memclk { - __u32 fmemclk; -}; - -struct tag { - struct tag_header hdr; - union { - struct tag_core core; - struct tag_mem32 mem; - struct tag_videotext videotext; - struct tag_ramdisk ramdisk; - struct tag_initrd initrd; - struct tag_serialnr serialnr; - struct tag_revision revision; - struct tag_videolfb videolfb; - struct tag_cmdline cmdline; - struct tag_acorn acorn; - struct tag_memclk memclk; - } u; -}; - -struct taint_flag { - char c_true; - char c_false; - bool module; -}; - -struct task_cputime { - u64 stime; - u64 utime; - long long unsigned int sum_exec_runtime; -}; - -struct task_cputime_atomic { - atomic64_t utime; - atomic64_t stime; - atomic64_t sum_exec_runtime; -}; - -struct vfp_hard_struct { - __u64 fpregs[16]; - __u32 fpexc; - __u32 fpscr; - __u32 fpinst; - __u32 fpinst2; -}; - -union vfp_state { - struct vfp_hard_struct hard; -}; - -struct thread_info { - long unsigned int flags; - int preempt_count; - __u32 cpu; - __u32 cpu_domain; - struct cpu_context_save cpu_context; - __u32 abi_syscall; - long unsigned int tp_value[2]; - long: 32; - union fp_state fpstate; - long: 32; - union vfp_state vfpstate; -}; - -struct wake_q_node { - struct wake_q_node *next; -}; - -struct tlbflush_unmap_batch {}; - -struct thread_struct { - long unsigned int address; - long unsigned int trap_no; - long unsigned int error_code; - struct debug_info debug; -}; - -struct task_struct { - struct thread_info thread_info; - unsigned int __state; - void *stack; - refcount_t usage; - unsigned int flags; - unsigned int ptrace; - int on_rq; - int prio; - int static_prio; - int normal_prio; - unsigned int rt_priority; - struct sched_entity se; - struct sched_rt_entity rt; - long: 32; - struct sched_dl_entity dl; - const struct sched_class *sched_class; - long: 32; - struct sched_statistics stats; - unsigned int policy; - int nr_cpus_allowed; - const cpumask_t *cpus_ptr; - cpumask_t *user_cpus_ptr; - cpumask_t cpus_mask; - void *migration_pending; - short unsigned int migration_flags; - int trc_reader_nesting; - int trc_ipi_to_cpu; - union rcu_special trc_reader_special; - struct list_head trc_holdout_list; - struct list_head trc_blkd_node; - int trc_blkd_cpu; - struct sched_info sched_info; - struct list_head tasks; - struct mm_struct *mm; - struct mm_struct *active_mm; - int exit_state; - int exit_code; - int exit_signal; - int pdeath_signal; - long unsigned int jobctl; - unsigned int personality; - unsigned int sched_reset_on_fork: 1; - unsigned int sched_contributes_to_load: 1; - unsigned int sched_migrated: 1; - long: 29; - unsigned int sched_remote_wakeup: 1; - unsigned int in_execve: 1; - unsigned int in_iowait: 1; - long unsigned int atomic_flags; - struct restart_block restart_block; - pid_t pid; - pid_t tgid; - struct task_struct *real_parent; - struct task_struct *parent; - struct list_head children; - struct list_head sibling; - struct task_struct *group_leader; - struct list_head ptraced; - struct list_head ptrace_entry; - struct pid *thread_pid; - struct hlist_node pid_links[4]; - struct list_head thread_group; - struct list_head thread_node; - struct completion *vfork_done; - int *set_child_tid; - int *clear_child_tid; - void *worker_private; - u64 utime; - u64 stime; - u64 gtime; - struct prev_cputime prev_cputime; - long unsigned int nvcsw; - long unsigned int nivcsw; - u64 start_time; - u64 start_boottime; - long unsigned int min_flt; - long unsigned int maj_flt; - struct posix_cputimers posix_cputimers; - const struct cred *ptracer_cred; - const struct cred *real_cred; - const struct cred *cred; - char comm[16]; - struct nameidata *nameidata; - struct fs_struct *fs; - struct files_struct *files; - struct nsproxy *nsproxy; - struct signal_struct *signal; - struct sighand_struct *sighand; - sigset_t blocked; - sigset_t real_blocked; - sigset_t saved_sigmask; - struct sigpending pending; - long unsigned int sas_ss_sp; - size_t sas_ss_size; - unsigned int sas_ss_flags; - struct callback_head *task_works; - struct seccomp seccomp; - struct syscall_user_dispatch syscall_dispatch; - long: 32; - u64 parent_exec_id; - u64 self_exec_id; - spinlock_t alloc_lock; - raw_spinlock_t pi_lock; - struct wake_q_node wake_q; - void *journal_info; - struct bio_list *bio_list; - struct blk_plug *plug; - struct reclaim_state *reclaim_state; - struct io_context *io_context; - long unsigned int ptrace_message; - kernel_siginfo_t *last_siginfo; - struct task_io_accounting ioac; - struct perf_event_context *perf_event_ctxp; - struct mutex perf_event_mutex; - struct list_head perf_event_list; - struct tlbflush_unmap_batch tlb_ubc; - struct pipe_inode_info *splice_pipe; - struct page_frag task_frag; - int nr_dirtied; - int nr_dirtied_pause; - long unsigned int dirty_paused_when; - u64 timer_slack_ns; - u64 default_timer_slack_ns; - struct kmap_ctrl kmap_ctrl; - struct callback_head rcu; - refcount_t rcu_users; - int pagefault_disabled; - refcount_t stack_refcount; - struct bpf_local_storage *bpf_storage; - struct bpf_run_ctx *bpf_ctx; - struct thread_struct thread; -}; - -struct task_struct__safe_rcu { - const cpumask_t *cpus_ptr; - struct css_set *cgroups; - struct task_struct *real_parent; - struct task_struct *group_leader; -}; - -struct tasklet_struct; - -struct tasklet_head { - struct tasklet_struct *head; - struct tasklet_struct **tail; -}; - -struct tasklet_struct { - struct tasklet_struct *next; - long unsigned int state; - atomic_t count; - bool use_callback; - union { - void (*func)(long unsigned int); - void (*callback)(struct tasklet_struct *); - }; - long unsigned int data; -}; - -struct tc_mq_opt_offload_graft_params { - long unsigned int queue; - u32 child_handle; -}; - -struct tc_qopt_offload_stats { - struct gnet_stats_basic_sync *bstats; - struct gnet_stats_queue *qstats; -}; - -struct tc_mq_qopt_offload { - enum tc_mq_command command; - u32 handle; - union { - struct tc_qopt_offload_stats stats; - struct tc_mq_opt_offload_graft_params graft_params; - }; -}; - -struct tc_prio_qopt { - int bands; - __u8 priomap[16]; -}; - -struct tc_ratespec { - unsigned char cell_log; - __u8 linklayer; - short unsigned int overhead; - short int cell_align; - short unsigned int mpu; - __u32 rate; -}; - -struct tc_skb_cb { - struct qdisc_skb_cb qdisc_cb; - u16 mru; - u8 post_ct: 1; - u8 post_ct_snat: 1; - u8 post_ct_dnat: 1; - u16 zone; -}; - -struct tcf_chain; - -struct tcf_block { - struct mutex lock; - struct list_head chain_list; - u32 index; - u32 classid; - refcount_t refcnt; - struct net *net; - struct Qdisc *q; - struct rw_semaphore cb_lock; - struct flow_block flow_block; - struct list_head owner_list; - bool keep_dst; - atomic_t offloadcnt; - unsigned int nooffloaddevcnt; - unsigned int lockeddevcnt; - struct { - struct tcf_chain *chain; - struct list_head filter_chain_list; - } chain0; - struct callback_head rcu; - struct hlist_head proto_destroy_ht[128]; - struct mutex proto_destroy_lock; -}; - -struct tcf_proto_ops; - -struct tcf_chain { - struct mutex filter_chain_lock; - struct tcf_proto *filter_chain; - struct list_head list; - struct tcf_block *block; - u32 index; - unsigned int refcnt; - unsigned int action_refcnt; - bool explicitly_created; - bool flushing; - const struct tcf_proto_ops *tmplt_ops; - void *tmplt_priv; - struct callback_head rcu; -}; - -struct tcf_exts { - int action; - int police; -}; - -struct tcf_result; - -struct tcf_proto { - struct tcf_proto *next; - void *root; - int (*classify)(struct sk_buff *, const struct tcf_proto *, struct tcf_result *); - __be16 protocol; - u32 prio; - void *data; - const struct tcf_proto_ops *ops; - struct tcf_chain *chain; - spinlock_t lock; - bool deleting; - refcount_t refcnt; - struct callback_head rcu; - struct hlist_node destroy_ht_node; -}; - -struct tcf_walker; - -struct tcf_proto_ops { - struct list_head head; - char kind[16]; - int (*classify)(struct sk_buff *, const struct tcf_proto *, struct tcf_result *); - int (*init)(struct tcf_proto *); - void (*destroy)(struct tcf_proto *, bool, struct netlink_ext_ack *); - void * (*get)(struct tcf_proto *, u32); - void (*put)(struct tcf_proto *, void *); - int (*change)(struct net *, struct sk_buff *, struct tcf_proto *, long unsigned int, u32, struct nlattr **, void **, u32, struct netlink_ext_ack *); - int (*delete)(struct tcf_proto *, void *, bool *, bool, struct netlink_ext_ack *); - bool (*delete_empty)(struct tcf_proto *); - void (*walk)(struct tcf_proto *, struct tcf_walker *, bool); - int (*reoffload)(struct tcf_proto *, bool, flow_setup_cb_t *, void *, struct netlink_ext_ack *); - void (*hw_add)(struct tcf_proto *, void *); - void (*hw_del)(struct tcf_proto *, void *); - void (*bind_class)(void *, u32, long unsigned int, void *, long unsigned int); - void * (*tmplt_create)(struct net *, struct tcf_chain *, struct nlattr **, struct netlink_ext_ack *); - void (*tmplt_destroy)(void *); - struct tcf_exts * (*get_exts)(const struct tcf_proto *, u32); - int (*dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool); - int (*terse_dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool); - int (*tmplt_dump)(struct sk_buff *, struct net *, void *); - struct module *owner; - int flags; -}; - -struct tcf_result { - union { - struct { - long unsigned int class; - u32 classid; - }; - const struct tcf_proto *goto_tp; - }; -}; - -struct tcf_walker { - int stop; - int skip; - int count; - bool nonempty; - long unsigned int cookie; - int (*fn)(struct tcf_proto *, void *, struct tcf_walker *); -}; - -struct tcmsg { - unsigned char tcm_family; - unsigned char tcm__pad1; - short unsigned int tcm__pad2; - int tcm_ifindex; - __u32 tcm_handle; - __u32 tcm_parent; - __u32 tcm_info; -}; - -struct tcp_rack { - u64 mstamp; - u32 rtt_us; - u32 end_seq; - u32 last_delivered; - u8 reo_wnd_steps; - u8 reo_wnd_persist: 5; - u8 dsack_seen: 1; - u8 advanced: 1; -}; - -struct tcp_options_received { - int ts_recent_stamp; - u32 ts_recent; - u32 rcv_tsval; - u32 rcv_tsecr; - u16 saw_tstamp: 1; - u16 tstamp_ok: 1; - u16 dsack: 1; - u16 wscale_ok: 1; - u16 sack_ok: 3; - u16 smc_ok: 1; - u16 snd_wscale: 4; - u16 rcv_wscale: 4; - u8 saw_unknown: 1; - u8 unused: 7; - u8 num_sacks; - u16 user_mss; - u16 mss_clamp; -}; - -struct tcp_sack_block { - u32 start_seq; - u32 end_seq; -}; - -struct tcp_fastopen_request; - -struct tcp_sock { - struct inet_connection_sock inet_conn; - u16 tcp_header_len; - u16 gso_segs; - __be32 pred_flags; - u64 bytes_received; - u32 segs_in; - u32 data_segs_in; - u32 rcv_nxt; - u32 copied_seq; - u32 rcv_wup; - u32 snd_nxt; - u32 segs_out; - u32 data_segs_out; - u64 bytes_sent; - u64 bytes_acked; - u32 dsack_dups; - u32 snd_una; - u32 snd_sml; - u32 rcv_tstamp; - u32 lsndtime; - u32 last_oow_ack_time; - u32 compressed_ack_rcv_nxt; - u32 tsoffset; - struct list_head tsq_node; - struct list_head tsorted_sent_queue; - u32 snd_wl1; - u32 snd_wnd; - u32 max_window; - u32 mss_cache; - u32 window_clamp; - u32 rcv_ssthresh; - u8 scaling_ratio; - long: 32; - struct tcp_rack rack; - u16 advmss; - u8 compressed_ack; - u8 dup_ack_counter: 2; - u8 tlp_retrans: 1; - u8 unused: 5; - u32 chrono_start; - u32 chrono_stat[3]; - u8 chrono_type: 2; - u8 rate_app_limited: 1; - u8 fastopen_connect: 1; - u8 fastopen_no_cookie: 1; - u8 is_sack_reneg: 1; - u8 fastopen_client_fail: 2; - u8 nonagle: 4; - u8 thin_lto: 1; - u8 recvmsg_inq: 1; - u8 repair: 1; - u8 frto: 1; - u8 repair_queue; - u8 save_syn: 2; - u8 syn_data: 1; - u8 syn_fastopen: 1; - u8 syn_fastopen_exp: 1; - u8 syn_fastopen_ch: 1; - u8 syn_data_acked: 1; - u8 is_cwnd_limited: 1; - u32 tlp_high_seq; - u32 tcp_tx_delay; - u64 tcp_wstamp_ns; - u64 tcp_clock_cache; - u64 tcp_mstamp; - u32 srtt_us; - u32 mdev_us; - u32 mdev_max_us; - u32 rttvar_us; - u32 rtt_seq; - struct minmax rtt_min; - u32 packets_out; - u32 retrans_out; - u32 max_packets_out; - u32 cwnd_usage_seq; - u16 urg_data; - u8 ecn_flags; - u8 keepalive_probes; - u32 reordering; - u32 reord_seen; - u32 snd_up; - struct tcp_options_received rx_opt; - u32 snd_ssthresh; - u32 snd_cwnd; - u32 snd_cwnd_cnt; - u32 snd_cwnd_clamp; - u32 snd_cwnd_used; - u32 snd_cwnd_stamp; - u32 prior_cwnd; - u32 prr_delivered; - u32 prr_out; - u32 delivered; - u32 delivered_ce; - u32 lost; - u32 app_limited; - u64 first_tx_mstamp; - u64 delivered_mstamp; - u32 rate_delivered; - u32 rate_interval_us; - u32 rcv_wnd; - u32 write_seq; - u32 notsent_lowat; - u32 pushed_seq; - u32 lost_out; - u32 sacked_out; - struct hrtimer pacing_timer; - struct hrtimer compressed_ack_timer; - struct sk_buff *lost_skb_hint; - struct sk_buff *retransmit_skb_hint; - struct rb_root out_of_order_queue; - struct sk_buff *ooo_last_skb; - struct tcp_sack_block duplicate_sack[1]; - struct tcp_sack_block selective_acks[4]; - struct tcp_sack_block recv_sack_cache[4]; - struct sk_buff *highest_sack; - int lost_cnt_hint; - u32 prior_ssthresh; - u32 high_seq; - u32 retrans_stamp; - u32 undo_marker; - int undo_retrans; - long: 32; - u64 bytes_retrans; - u32 total_retrans; - u32 urg_seq; - unsigned int keepalive_time; - unsigned int keepalive_intvl; - int linger2; - u8 bpf_sock_ops_cb_flags; - u8 bpf_chg_cc_inprogress: 1; - u16 timeout_rehash; - u32 rcv_ooopack; - u32 rcv_rtt_last_tsecr; - struct { - u32 rtt_us; - u32 seq; - u64 time; - } rcv_rtt_est; - struct { - u32 space; - u32 seq; - u64 time; - } rcvq_space; - struct { - u32 probe_seq_start; - u32 probe_seq_end; - } mtu_probe; - u32 plb_rehash; - u32 mtu_info; - struct tcp_fastopen_request *fastopen_req; - struct request_sock *fastopen_rsk; - struct saved_syn *saved_syn; - long: 32; -}; - -struct tcp6_sock { - struct tcp_sock tcp; - struct ipv6_pinfo inet6; - long: 32; -}; - -struct tcp_bbr_info { - __u32 bbr_bw_lo; - __u32 bbr_bw_hi; - __u32 bbr_min_rtt; - __u32 bbr_pacing_gain; - __u32 bbr_cwnd_gain; -}; - -struct tcpvegas_info { - __u32 tcpv_enabled; - __u32 tcpv_rttcnt; - __u32 tcpv_rtt; - __u32 tcpv_minrtt; -}; - -struct tcp_dctcp_info { - __u16 dctcp_enabled; - __u16 dctcp_ce_state; - __u32 dctcp_alpha; - __u32 dctcp_ab_ecn; - __u32 dctcp_ab_tot; -}; - -union tcp_cc_info { - struct tcpvegas_info vegas; - struct tcp_dctcp_info dctcp; - struct tcp_bbr_info bbr; -}; - -struct tcp_fastopen_context { - siphash_key_t key[2]; - int num; - struct callback_head rcu; - long: 32; -}; - -struct tcp_fastopen_cookie { - __le64 val[2]; - s8 len; - bool exp; - long: 32; -}; - -struct tcp_fastopen_metrics { - u16 mss; - u16 syn_loss: 10; - u16 try_exp: 2; - long unsigned int last_syn_loss; - struct tcp_fastopen_cookie cookie; -}; - -struct tcp_fastopen_request { - struct tcp_fastopen_cookie cookie; - struct msghdr *data; - size_t size; - int copied; - struct ubuf_info *uarg; -}; - -struct tcp_info { - __u8 tcpi_state; - __u8 tcpi_ca_state; - __u8 tcpi_retransmits; - __u8 tcpi_probes; - __u8 tcpi_backoff; - __u8 tcpi_options; - __u8 tcpi_snd_wscale: 4; - __u8 tcpi_rcv_wscale: 4; - __u8 tcpi_delivery_rate_app_limited: 1; - __u8 tcpi_fastopen_client_fail: 2; - __u32 tcpi_rto; - __u32 tcpi_ato; - __u32 tcpi_snd_mss; - __u32 tcpi_rcv_mss; - __u32 tcpi_unacked; - __u32 tcpi_sacked; - __u32 tcpi_lost; - __u32 tcpi_retrans; - __u32 tcpi_fackets; - __u32 tcpi_last_data_sent; - __u32 tcpi_last_ack_sent; - __u32 tcpi_last_data_recv; - __u32 tcpi_last_ack_recv; - __u32 tcpi_pmtu; - __u32 tcpi_rcv_ssthresh; - __u32 tcpi_rtt; - __u32 tcpi_rttvar; - __u32 tcpi_snd_ssthresh; - __u32 tcpi_snd_cwnd; - __u32 tcpi_advmss; - __u32 tcpi_reordering; - __u32 tcpi_rcv_rtt; - __u32 tcpi_rcv_space; - __u32 tcpi_total_retrans; - __u64 tcpi_pacing_rate; - __u64 tcpi_max_pacing_rate; - __u64 tcpi_bytes_acked; - __u64 tcpi_bytes_received; - __u32 tcpi_segs_out; - __u32 tcpi_segs_in; - __u32 tcpi_notsent_bytes; - __u32 tcpi_min_rtt; - __u32 tcpi_data_segs_in; - __u32 tcpi_data_segs_out; - __u64 tcpi_delivery_rate; - __u64 tcpi_busy_time; - __u64 tcpi_rwnd_limited; - __u64 tcpi_sndbuf_limited; - __u32 tcpi_delivered; - __u32 tcpi_delivered_ce; - __u64 tcpi_bytes_sent; - __u64 tcpi_bytes_retrans; - __u32 tcpi_dsack_dups; - __u32 tcpi_reord_seen; - __u32 tcpi_rcv_ooopack; - __u32 tcpi_snd_wnd; - __u32 tcpi_rcv_wnd; - __u32 tcpi_rehash; -}; - -union tcp_md5_addr { - struct in_addr a4; - struct in6_addr a6; -}; - -struct tcp_md5sig_key { - struct hlist_node node; - u8 keylen; - u8 family; - u8 prefixlen; - u8 flags; - union tcp_md5_addr addr; - int l3index; - u8 key[80]; - struct callback_head rcu; -}; - -struct tcp_metrics_block { - struct tcp_metrics_block *tcpm_next; - struct net *tcpm_net; - struct inetpeer_addr tcpm_saddr; - struct inetpeer_addr tcpm_daddr; - long unsigned int tcpm_stamp; - u32 tcpm_lock; - u32 tcpm_vals[5]; - long: 32; - struct tcp_fastopen_metrics tcpm_fastopen; - struct callback_head callback_head; -}; - -struct tcp_mib { - long unsigned int mibs[16]; -}; - -struct tcp_out_options { - u16 options; - u16 mss; - u8 ws; - u8 num_sack_blocks; - u8 hash_size; - u8 bpf_opt_len; - __u8 *hash_location; - __u32 tsval; - __u32 tsecr; - struct tcp_fastopen_cookie *fastopen_cookie; - struct mptcp_out_options mptcp; -}; - -struct tcp_plb_state { - u8 consec_cong_rounds: 5; - u8 unused: 3; - u32 pause_until; -}; - -struct tcp_repair_opt { - __u32 opt_code; - __u32 opt_val; -}; - -struct tcp_repair_window { - __u32 snd_wl1; - __u32 snd_wnd; - __u32 max_window; - __u32 rcv_wnd; - __u32 rcv_wup; -}; - -struct tcp_request_sock_ops; - -struct tcp_request_sock { - struct inet_request_sock req; - const struct tcp_request_sock_ops *af_specific; - long: 32; - u64 snt_synack; - bool tfo_listener; - bool is_mptcp; - u32 txhash; - u32 rcv_isn; - u32 snt_isn; - u32 ts_off; - u32 last_oow_ack_time; - u32 rcv_nxt; - u8 syn_tos; -}; - -struct tcp_request_sock_ops { - u16 mss_clamp; - struct dst_entry * (*route_req)(const struct sock *, struct sk_buff *, struct flowi *, struct request_sock *); - u32 (*init_seq)(const struct sk_buff *); - u32 (*init_ts_off)(const struct net *, const struct sk_buff *); - int (*send_synack)(const struct sock *, struct dst_entry *, struct flowi *, struct request_sock *, struct tcp_fastopen_cookie *, enum tcp_synack_type, struct sk_buff *); -}; - -struct tcp_sack_block_wire { - __be32 start_seq; - __be32 end_seq; -}; - -struct tcp_sacktag_state { - u64 first_sackt; - u64 last_sackt; - u32 reord; - u32 sack_delivered; - int flag; - unsigned int mss_now; - struct rate_sample *rate; - long: 32; -}; - -struct tcp_skb_cb { - __u32 seq; - __u32 end_seq; - union { - __u32 tcp_tw_isn; - struct { - u16 tcp_gso_segs; - u16 tcp_gso_size; - }; - }; - __u8 tcp_flags; - __u8 sacked; - __u8 ip_dsfield; - __u8 txstamp_ack: 1; - __u8 eor: 1; - __u8 has_rxtstamp: 1; - __u8 unused: 5; - __u32 ack_seq; - long: 32; - union { - struct { - __u32 is_app_limited: 1; - __u32 delivered_ce: 20; - __u32 unused: 11; - __u32 delivered; - u64 first_tx_mstamp; - u64 delivered_mstamp; - } tx; - union { - struct inet_skb_parm h4; - struct inet6_skb_parm h6; - } header; - }; -}; - -struct tcp_splice_state { - struct pipe_inode_info *pipe; - size_t len; - unsigned int flags; -}; - -struct tcp_timewait_sock { - struct inet_timewait_sock tw_sk; - u32 tw_rcv_wnd; - u32 tw_ts_offset; - u32 tw_ts_recent; - u32 tw_last_oow_ack_time; - int tw_ts_recent_stamp; - u32 tw_tx_delay; -}; - -struct tcp_ulp_ops { - struct list_head list; - int (*init)(struct sock *); - void (*update)(struct sock *, struct proto *, void (*)(struct sock *)); - void (*release)(struct sock *); - int (*get_info)(const struct sock *, struct sk_buff *); - size_t (*get_info_size)(const struct sock *); - void (*clone)(const struct request_sock *, struct sock *, const gfp_t); - char name[16]; - struct module *owner; -}; - -struct tcphdr { - __be16 source; - __be16 dest; - __be32 seq; - __be32 ack_seq; - __u16 res1: 4; - __u16 doff: 4; - __u16 fin: 1; - __u16 syn: 1; - __u16 rst: 1; - __u16 psh: 1; - __u16 ack: 1; - __u16 urg: 1; - __u16 ece: 1; - __u16 cwr: 1; - __be16 window; - __sum16 check; - __be16 urg_ptr; -}; - -union tcp_word_hdr { - struct tcphdr hdr; - __be32 words[5]; -}; - -struct tcpm_hash_bucket { - struct tcp_metrics_block *chain; -}; - -struct tcx_entry { - struct mini_Qdisc *miniq; - long: 32; - struct bpf_mprog_bundle bundle; - bool miniq_active; - struct callback_head rcu; - long: 32; -}; - -struct tcx_link { - struct bpf_link link; - struct net_device *dev; - u32 location; -}; - -struct thread_group_cputimer { - struct task_cputime_atomic cputime_atomic; -}; - -struct tick_device { - struct clock_event_device *evtdev; - enum tick_device_mode mode; -}; - -struct timens_offsets { - struct timespec64 monotonic; - struct timespec64 boottime; -}; - -struct time_namespace { - struct user_namespace *user_ns; - struct ucounts *ucounts; - struct ns_common ns; - struct timens_offsets offsets; - struct page *vvar_page; - bool frozen_offsets; -}; - -struct timecounter { - const struct cyclecounter *cc; - long: 32; - u64 cycle_last; - u64 nsec; - u64 mask; - u64 frac; -}; - -struct tk_read_base { - struct clocksource *clock; - long: 32; - u64 mask; - u64 cycle_last; - u32 mult; - u32 shift; - u64 xtime_nsec; - ktime_t base; - u64 base_real; -}; - -struct timekeeper { - struct tk_read_base tkr_mono; - struct tk_read_base tkr_raw; - u64 xtime_sec; - long unsigned int ktime_sec; - long: 32; - struct timespec64 wall_to_monotonic; - ktime_t offs_real; - ktime_t offs_boot; - ktime_t offs_tai; - s32 tai_offset; - unsigned int clock_was_set_seq; - u8 cs_was_changed_seq; - long: 32; - ktime_t next_leap_ktime; - u64 raw_sec; - struct timespec64 monotonic_to_boot; - u64 cycle_interval; - u64 xtime_interval; - s64 xtime_remainder; - u64 raw_interval; - u64 ntp_tick; - s64 ntp_error; - u32 ntp_error_shift; - u32 ntp_err_mult; - u32 skip_second_overflow; - long: 32; -}; - -struct timer_base { - raw_spinlock_t lock; - struct timer_list *running_timer; - long unsigned int clk; - long unsigned int next_expiry; - unsigned int cpu; - bool next_expiry_recalc; - bool is_idle; - bool timers_pending; - long unsigned int pending_map[16]; - struct hlist_head vectors[512]; - long: 32; - long: 32; - long: 32; -}; - -struct timer_of { - unsigned int flags; - struct device_node *np; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - struct clock_event_device clkevt; - struct of_timer_base of_base; - struct of_timer_irq of_irq; - struct of_timer_clk of_clk; - void *private_data; - long: 32; -}; - -struct timer_rand_state { - long unsigned int last_time; - long int last_delta; - long int last_delta2; -}; - -struct timewait_sock_ops { - struct kmem_cache *twsk_slab; - char *twsk_slab_name; - unsigned int twsk_obj_size; - int (*twsk_unique)(struct sock *, struct sock *, void *); - void (*twsk_destructor)(struct sock *); -}; - -struct timezone { - int tz_minuteswest; - int tz_dsttime; -}; - -struct tipc_basic_hdr { - __be32 w[4]; -}; - -struct tk_fast { - seqcount_latch_t seq; - long: 32; - struct tk_read_base base[2]; -}; - -struct tls_crypto_info { - __u16 version; - __u16 cipher_type; -}; - -struct tls12_crypto_info_aes_gcm_128 { - struct tls_crypto_info info; - unsigned char iv[8]; - unsigned char key[16]; - unsigned char salt[4]; - unsigned char rec_seq[8]; -}; - -struct tls12_crypto_info_aes_gcm_256 { - struct tls_crypto_info info; - unsigned char iv[8]; - unsigned char key[32]; - unsigned char salt[4]; - unsigned char rec_seq[8]; -}; - -struct tls12_crypto_info_chacha20_poly1305 { - struct tls_crypto_info info; - unsigned char iv[12]; - unsigned char key[32]; - unsigned char salt[0]; - unsigned char rec_seq[8]; -}; - -struct tls12_crypto_info_sm4_ccm { - struct tls_crypto_info info; - unsigned char iv[8]; - unsigned char key[16]; - unsigned char salt[4]; - unsigned char rec_seq[8]; -}; - -struct tls12_crypto_info_sm4_gcm { - struct tls_crypto_info info; - unsigned char iv[8]; - unsigned char key[16]; - unsigned char salt[4]; - unsigned char rec_seq[8]; -}; - -struct tls_prot_info { - u16 version; - u16 cipher_type; - u16 prepend_size; - u16 tag_size; - u16 overhead_size; - u16 iv_size; - u16 salt_size; - u16 rec_seq_size; - u16 aad_size; - u16 tail_size; -}; - -union tls_crypto_context { - struct tls_crypto_info info; - union { - struct tls12_crypto_info_aes_gcm_128 aes_gcm_128; - struct tls12_crypto_info_aes_gcm_256 aes_gcm_256; - struct tls12_crypto_info_chacha20_poly1305 chacha20_poly1305; - struct tls12_crypto_info_sm4_gcm sm4_gcm; - struct tls12_crypto_info_sm4_ccm sm4_ccm; - }; -}; - -struct tls_context { - struct tls_prot_info prot_info; - u8 tx_conf: 3; - u8 rx_conf: 3; - u8 zerocopy_sendfile: 1; - u8 rx_no_pad: 1; - int (*push_pending_record)(struct sock *, int); - void (*sk_write_space)(struct sock *); - void *priv_ctx_tx; - void *priv_ctx_rx; - struct net_device *netdev; - struct cipher_context tx; - struct cipher_context rx; - struct scatterlist *partially_sent_record; - u16 partially_sent_offset; - bool splicing_pages; - bool pending_open_record_frags; - struct mutex tx_lock; - long unsigned int flags; - struct proto *sk_proto; - struct sock *sk; - void (*sk_destruct)(struct sock *); - union tls_crypto_context crypto_send; - union tls_crypto_context crypto_recv; - struct list_head list; - refcount_t refcount; - struct callback_head rcu; -}; - -struct tls_strparser { - struct sock *sk; - u32 mark: 8; - u32 stopped: 1; - u32 copy_mode: 1; - u32 mixed_decrypted: 1; - u32 msg_ready: 1; - struct strp_msg stm; - struct sk_buff *anchor; - struct work_struct work; -}; - -struct tls_sw_context_rx { - struct crypto_aead *aead_recv; - struct crypto_wait async_wait; - struct sk_buff_head rx_list; - void (*saved_data_ready)(struct sock *); - u8 reader_present; - u8 async_capable: 1; - u8 zc_capable: 1; - u8 reader_contended: 1; - struct tls_strparser strp; - atomic_t decrypt_pending; - spinlock_t decrypt_compl_lock; - struct sk_buff_head async_hold; - struct wait_queue_head wq; -}; - -struct tx_work { - struct delayed_work work; - struct sock *sk; -}; - -struct tls_rec; - -struct tls_sw_context_tx { - struct crypto_aead *aead_send; - struct crypto_wait async_wait; - struct tx_work tx_work; - struct tls_rec *open_rec; - struct list_head tx_list; - atomic_t encrypt_pending; - spinlock_t encrypt_compl_lock; - int async_notify; - u8 async_capable: 1; - long unsigned int tx_bitmask; -}; - -struct tm { - int tm_sec; - int tm_min; - int tm_hour; - int tm_mday; - int tm_mon; - long int tm_year; - int tm_wday; - int tm_yday; -}; - -struct tms { - __kernel_clock_t tms_utime; - __kernel_clock_t tms_stime; - __kernel_clock_t tms_cutime; - __kernel_clock_t tms_cstime; -}; - -struct tnl_ptk_info { - __be16 flags; - __be16 proto; - __be32 key; - __be32 seq; - int hdr_len; -}; - -struct tnode { - struct callback_head rcu; - t_key empty_children; - t_key full_children; - struct key_vector *parent; - struct key_vector kv[1]; -}; - -struct trace_print_flags { - long unsigned int mask; - const char *name; -}; - -struct tracepoint_func; - -struct tracepoint { - const char *name; - struct static_key key; - struct static_call_key *static_call_key; - void *static_call_tramp; - void *iterator; - void *probestub; - int (*regfunc)(); - void (*unregfunc)(); - struct tracepoint_func *funcs; -}; - -struct tracepoint_func { - void *func; - void *data; - int prio; -}; - -struct transport_container { - struct attribute_container ac; - const struct attribute_group *statistics; -}; - -struct trc_stall_chk_rdr { - int nesting; - int ipi_to_cpu; - u8 needqs; -}; - -struct tree_descr { - const char *name; - const struct file_operations *ops; - int mode; -}; - -struct trie { - struct key_vector kv[1]; -}; - -struct ts_ops; - -struct ts_state; - -struct ts_config { - struct ts_ops *ops; - int flags; - unsigned int (*get_next_block)(unsigned int, const u8 **, struct ts_config *, struct ts_state *); - void (*finish)(struct ts_config *, struct ts_state *); -}; - -struct ts_ops { - const char *name; - struct ts_config * (*init)(const void *, unsigned int, gfp_t, int); - unsigned int (*find)(struct ts_config *, struct ts_state *); - void (*destroy)(struct ts_config *); - void * (*get_pattern)(struct ts_config *); - unsigned int (*get_pattern_len)(struct ts_config *); - struct module *owner; - struct list_head list; -}; - -struct ts_state { - unsigned int offset; - char cb[48]; -}; - -struct tsinfo_reply_data { - struct ethnl_reply_data base; - struct ethtool_ts_info ts_info; -}; - -struct tso_t { - int next_frag_idx; - int size; - void *data; - u16 ip_id; - u8 tlen; - bool ipv6; - u32 tcp_seq; -}; - -struct tsq_tasklet { - struct tasklet_struct tasklet; - struct list_head head; -}; - -struct tty_buffer { - union { - struct tty_buffer *next; - struct llist_node free; - }; - unsigned int used; - unsigned int size; - unsigned int commit; - unsigned int lookahead; - unsigned int read; - bool flags; - long: 0; - u8 data[0]; -}; - -struct tty_bufhead { - struct tty_buffer *head; - struct work_struct work; - struct mutex lock; - atomic_t priority; - struct tty_buffer sentinel; - struct llist_head free; - atomic_t mem_used; - int mem_limit; - struct tty_buffer *tail; -}; - -struct tty_port; - -struct tty_operations; - -struct tty_driver { - struct kref kref; - struct cdev **cdevs; - struct module *owner; - const char *driver_name; - const char *name; - int name_base; - int major; - int minor_start; - unsigned int num; - short int type; - short int subtype; - struct ktermios init_termios; - long unsigned int flags; - struct proc_dir_entry *proc_entry; - struct tty_driver *other; - struct tty_struct **ttys; - struct tty_port **ports; - struct ktermios **termios; - void *driver_state; - const struct tty_operations *ops; - struct list_head tty_drivers; -}; - -struct tty_ldisc_ops; - -struct tty_ldisc { - struct tty_ldisc_ops *ops; - struct tty_struct *tty; -}; - -struct tty_ldisc_ops { - char *name; - int num; - int (*open)(struct tty_struct *); - void (*close)(struct tty_struct *); - void (*flush_buffer)(struct tty_struct *); - ssize_t (*read)(struct tty_struct *, struct file *, u8 *, size_t, void **, long unsigned int); - ssize_t (*write)(struct tty_struct *, struct file *, const u8 *, size_t); - int (*ioctl)(struct tty_struct *, unsigned int, long unsigned int); - int (*compat_ioctl)(struct tty_struct *, unsigned int, long unsigned int); - void (*set_termios)(struct tty_struct *, const struct ktermios *); - __poll_t (*poll)(struct tty_struct *, struct file *, struct poll_table_struct *); - void (*hangup)(struct tty_struct *); - void (*receive_buf)(struct tty_struct *, const u8 *, const u8 *, size_t); - void (*write_wakeup)(struct tty_struct *); - void (*dcd_change)(struct tty_struct *, bool); - size_t (*receive_buf2)(struct tty_struct *, const u8 *, const u8 *, size_t); - void (*lookahead_buf)(struct tty_struct *, const u8 *, const u8 *, size_t); - struct module *owner; -}; - -struct winsize; - -struct tty_operations { - struct tty_struct * (*lookup)(struct tty_driver *, struct file *, int); - int (*install)(struct tty_driver *, struct tty_struct *); - void (*remove)(struct tty_driver *, struct tty_struct *); - int (*open)(struct tty_struct *, struct file *); - void (*close)(struct tty_struct *, struct file *); - void (*shutdown)(struct tty_struct *); - void (*cleanup)(struct tty_struct *); - ssize_t (*write)(struct tty_struct *, const u8 *, size_t); - int (*put_char)(struct tty_struct *, u8); - void (*flush_chars)(struct tty_struct *); - unsigned int (*write_room)(struct tty_struct *); - unsigned int (*chars_in_buffer)(struct tty_struct *); - int (*ioctl)(struct tty_struct *, unsigned int, long unsigned int); - long int (*compat_ioctl)(struct tty_struct *, unsigned int, long unsigned int); - void (*set_termios)(struct tty_struct *, const struct ktermios *); - void (*throttle)(struct tty_struct *); - void (*unthrottle)(struct tty_struct *); - void (*stop)(struct tty_struct *); - void (*start)(struct tty_struct *); - void (*hangup)(struct tty_struct *); - int (*break_ctl)(struct tty_struct *, int); - void (*flush_buffer)(struct tty_struct *); - void (*set_ldisc)(struct tty_struct *); - void (*wait_until_sent)(struct tty_struct *, int); - void (*send_xchar)(struct tty_struct *, char); - int (*tiocmget)(struct tty_struct *); - int (*tiocmset)(struct tty_struct *, unsigned int, unsigned int); - int (*resize)(struct tty_struct *, struct winsize *); - int (*get_icount)(struct tty_struct *, struct serial_icounter_struct *); - int (*get_serial)(struct tty_struct *, struct serial_struct *); - int (*set_serial)(struct tty_struct *, struct serial_struct *); - void (*show_fdinfo)(struct tty_struct *, struct seq_file *); - int (*proc_show)(struct seq_file *, void *); -}; - -struct tty_port_operations; - -struct tty_port_client_operations; - -struct tty_port { - struct tty_bufhead buf; - struct tty_struct *tty; - struct tty_struct *itty; - const struct tty_port_operations *ops; - const struct tty_port_client_operations *client_ops; - spinlock_t lock; - int blocked_open; - int count; - wait_queue_head_t open_wait; - wait_queue_head_t delta_msr_wait; - long unsigned int flags; - long unsigned int iflags; - unsigned char console: 1; - struct mutex mutex; - struct mutex buf_mutex; - unsigned char *xmit_buf; - struct { - union { - struct __kfifo kfifo; - unsigned char *type; - const unsigned char *const_type; - char (*rectype)[0]; - unsigned char *ptr; - const unsigned char *ptr_const; - }; - unsigned char buf[0]; - } xmit_fifo; - unsigned int close_delay; - unsigned int closing_wait; - int drain_delay; - struct kref kref; - void *client_data; -}; - -struct tty_port_client_operations { - size_t (*receive_buf)(struct tty_port *, const u8 *, const u8 *, size_t); - void (*lookahead_buf)(struct tty_port *, const u8 *, const u8 *, size_t); - void (*write_wakeup)(struct tty_port *); -}; - -struct tty_port_operations { - bool (*carrier_raised)(struct tty_port *); - void (*dtr_rts)(struct tty_port *, bool); - void (*shutdown)(struct tty_port *); - int (*activate)(struct tty_port *, struct tty_struct *); - void (*destruct)(struct tty_port *); -}; - -struct winsize { - short unsigned int ws_row; - short unsigned int ws_col; - short unsigned int ws_xpixel; - short unsigned int ws_ypixel; -}; - -struct tty_struct { - struct kref kref; - int index; - struct device *dev; - struct tty_driver *driver; - struct tty_port *port; - const struct tty_operations *ops; - struct tty_ldisc *ldisc; - struct ld_semaphore ldisc_sem; - struct mutex atomic_write_lock; - struct mutex legacy_mutex; - struct mutex throttle_mutex; - struct rw_semaphore termios_rwsem; - struct mutex winsize_mutex; - struct ktermios termios; - struct ktermios termios_locked; - char name[64]; - long unsigned int flags; - int count; - unsigned int receive_room; - struct winsize winsize; - struct { - spinlock_t lock; - bool stopped; - bool tco_stopped; - long unsigned int unused[0]; - } flow; - struct { - struct pid *pgrp; - struct pid *session; - spinlock_t lock; - unsigned char pktstatus; - bool packet; - long unsigned int unused[0]; - } ctrl; - bool hw_stopped; - bool closing; - int flow_change; - struct tty_struct *link; - struct fasync_struct *fasync; - wait_queue_head_t write_wait; - wait_queue_head_t read_wait; - struct work_struct hangup_work; - void *disc_data; - void *driver_data; - spinlock_t files_lock; - int write_cnt; - unsigned char *write_buf; - struct list_head tty_files; - struct work_struct SAK_work; -}; - -struct u32_fract { - __u32 numerator; - __u32 denominator; -}; - -struct ubuf_info { - void (*callback)(struct sk_buff *, struct ubuf_info *, bool); - refcount_t refcnt; - u8 flags; -}; - -struct ubuf_info_msgzc { - struct ubuf_info ubuf; - union { - struct { - long unsigned int desc; - void *ctx; - }; - struct { - u32 id; - u16 len; - u16 zerocopy: 1; - u32 bytelen; - }; - }; - struct mmpin mmp; -}; - -struct ucounts { - struct hlist_node node; - struct user_namespace *ns; - kuid_t uid; - atomic_t count; - atomic_long_t ucount[8]; - atomic_long_t rlimit[4]; -}; - -struct ucred { - __u32 pid; - __u32 uid; - __u32 gid; -}; - -struct udp_sock { - struct inet_sock inet; - int pending; - unsigned int corkflag; - __u8 encap_type; - unsigned char no_check6_tx: 1; - unsigned char no_check6_rx: 1; - unsigned char encap_enabled: 1; - unsigned char gro_enabled: 1; - unsigned char accept_udp_l4: 1; - unsigned char accept_udp_fraglist: 1; - __u16 len; - __u16 gso_size; - __u16 pcslen; - __u16 pcrlen; - __u8 pcflag; - __u8 unused[3]; - int (*encap_rcv)(struct sock *, struct sk_buff *); - void (*encap_err_rcv)(struct sock *, struct sk_buff *, int, __be16, u32, u8 *); - int (*encap_err_lookup)(struct sock *, struct sk_buff *); - void (*encap_destroy)(struct sock *); - struct sk_buff * (*gro_receive)(struct sock *, struct list_head *, struct sk_buff *); - int (*gro_complete)(struct sock *, struct sk_buff *, int); - struct sk_buff_head reader_queue; - int forward_deficit; - int forward_threshold; - long: 32; -}; - -struct udp6_sock { - struct udp_sock udp; - struct ipv6_pinfo inet6; - long: 32; -}; - -struct udp_dev_scratch { - u32 _tsize_state; -}; - -struct udp_hslot { - struct hlist_head head; - int count; - spinlock_t lock; -}; - -struct udp_mib { - long unsigned int mibs[10]; -}; - -struct udp_skb_cb { - union { - struct inet_skb_parm h4; - struct inet6_skb_parm h6; - } header; - __u16 cscov; - __u8 partial_cov; -}; - -struct udp_table { - struct udp_hslot *hash; - struct udp_hslot *hash2; - unsigned int mask; - unsigned int log; -}; - -struct udp_tunnel_info { - short unsigned int type; - sa_family_t sa_family; - __be16 port; - u8 hw_priv; -}; - -struct udp_tunnel_nic_table_info { - unsigned int n_entries; - unsigned int tunnel_types; -}; - -struct udp_tunnel_nic_shared; - -struct udp_tunnel_nic_info { - int (*set_port)(struct net_device *, unsigned int, unsigned int, struct udp_tunnel_info *); - int (*unset_port)(struct net_device *, unsigned int, unsigned int, struct udp_tunnel_info *); - int (*sync_table)(struct net_device *, unsigned int); - struct udp_tunnel_nic_shared *shared; - unsigned int flags; - struct udp_tunnel_nic_table_info tables[4]; -}; - -struct udp_tunnel_nic_ops { - void (*get_port)(struct net_device *, unsigned int, unsigned int, struct udp_tunnel_info *); - void (*set_port_priv)(struct net_device *, unsigned int, unsigned int, u8); - void (*add_port)(struct net_device *, struct udp_tunnel_info *); - void (*del_port)(struct net_device *, struct udp_tunnel_info *); - void (*reset_ntf)(struct net_device *); - size_t (*dump_size)(struct net_device *, unsigned int); - int (*dump_write)(struct net_device *, unsigned int, struct sk_buff *); -}; - -struct udp_tunnel_nic_shared { - struct udp_tunnel_nic *udp_tunnel_nic_info; - struct list_head devices; -}; - -struct udphdr { - __be16 source; - __be16 dest; - __be16 len; - __sum16 check; -}; - -struct uevent_sock { - struct list_head list; - struct sock *sk; -}; - -struct uid_gid_extent { - u32 first; - u32 lower_first; - u32 count; -}; - -struct uid_gid_map { - u32 nr_extents; - union { - struct uid_gid_extent extent[5]; - struct { - struct uid_gid_extent *forward; - struct uid_gid_extent *reverse; - }; - }; -}; - -struct uncached_list { - spinlock_t lock; - struct list_head head; - struct list_head quarantine; -}; - -struct undef_hook { - struct list_head node; - u32 instr_mask; - u32 instr_val; - u32 cpsr_mask; - u32 cpsr_val; - int (*fn)(struct pt_regs *, unsigned int); -}; - -struct unwind_ctrl_block { - long unsigned int vrs[16]; - const long unsigned int *insn; - long unsigned int sp_high; - long unsigned int *lr_addr; - int check_each_pop; - int entries; - int byte; -}; - -struct unwind_idx { - long unsigned int addr_offset; - long unsigned int insn; -}; - -struct unwind_table { - struct list_head list; - struct list_head mod_list; - const struct unwind_idx *start; - const struct unwind_idx *origin; - const struct unwind_idx *stop; - long unsigned int begin_addr; - long unsigned int end_addr; -}; - -struct used_address { - struct __kernel_sockaddr_storage name; - unsigned int name_len; -}; - -struct user_arg_ptr { - union { - const char * const *native; - } ptr; -}; - -struct user_namespace { - struct uid_gid_map uid_map; - struct uid_gid_map gid_map; - struct uid_gid_map projid_map; - struct user_namespace *parent; - int level; - kuid_t owner; - kgid_t group; - struct ns_common ns; - long unsigned int flags; - bool parent_could_setfcap; - struct work_struct work; - struct ucounts *ucounts; - long int ucount_max[8]; - long int rlimit_max[4]; -}; - -struct user_regset; - -typedef int user_regset_get2_fn(struct task_struct *, const struct user_regset *, struct membuf); - -typedef int user_regset_set_fn(struct task_struct *, const struct user_regset *, unsigned int, unsigned int, const void *, const void *); - -typedef int user_regset_active_fn(struct task_struct *, const struct user_regset *); - -typedef int user_regset_writeback_fn(struct task_struct *, const struct user_regset *, int); - -struct user_regset { - user_regset_get2_fn *regset_get; - user_regset_set_fn *set; - user_regset_active_fn *active; - user_regset_writeback_fn *writeback; - unsigned int n; - unsigned int size; - unsigned int align; - unsigned int bias; - unsigned int core_note_type; -}; - -struct user_regset_view { - const char *name; - const struct user_regset *regsets; - unsigned int n; - u32 e_flags; - u16 e_machine; - u8 ei_osabi; -}; - -struct user_struct { - refcount_t __count; - long unsigned int unix_inflight; - atomic_long_t pipe_bufs; - struct hlist_node uidhash_node; - kuid_t uid; - atomic_long_t locked_vm; - struct ratelimit_state ratelimit; -}; - -struct ustat { - __kernel_daddr_t f_tfree; - long unsigned int f_tinode; - char f_fname[6]; - char f_fpack[6]; -}; - -struct uts_namespace { - struct new_utsname name; - struct user_namespace *user_ns; - struct ucounts *ucounts; - struct ns_common ns; -}; - -struct va_format { - const char *fmt; - va_list *va; -}; - -struct vfs_cap_data { - __le32 magic_etc; - struct { - __le32 permitted; - __le32 inheritable; - } data[2]; -}; - -struct vfs_ns_cap_data { - __le32 magic_etc; - struct { - __le32 permitted; - __le32 inheritable; - } data[2]; - __le32 rootid; -}; - -struct vlan_ethhdr { - union { - struct { - unsigned char h_dest[6]; - unsigned char h_source[6]; - }; - struct { - unsigned char h_dest[6]; - unsigned char h_source[6]; - } addrs; - }; - __be16 h_vlan_proto; - __be16 h_vlan_TCI; - __be16 h_vlan_encapsulated_proto; -}; - -struct vlan_hdr { - __be16 h_vlan_TCI; - __be16 h_vlan_encapsulated_proto; -}; - -struct vm_userfaultfd_ctx {}; - -struct vm_region; - -struct vm_area_struct { - union { - struct { - long unsigned int vm_start; - long unsigned int vm_end; - }; - }; - struct mm_struct *vm_mm; - pgprot_t vm_page_prot; - union { - const vm_flags_t vm_flags; - vm_flags_t __vm_flags; - }; - struct { - struct rb_node rb; - long unsigned int rb_subtree_last; - } shared; - struct list_head anon_vma_chain; - struct anon_vma *anon_vma; - const struct vm_operations_struct *vm_ops; - long unsigned int vm_pgoff; - struct file *vm_file; - void *vm_private_data; - struct vm_region *vm_region; - struct vm_userfaultfd_ctx vm_userfaultfd_ctx; -}; - -struct vm_fault { - const struct { - struct vm_area_struct *vma; - gfp_t gfp_mask; - long unsigned int pgoff; - long unsigned int address; - long unsigned int real_address; - }; - enum fault_flag flags; - pmd_t *pmd; - pud_t *pud; - union { - pte_t orig_pte; - pmd_t orig_pmd; - }; - struct page *cow_page; - struct page *page; - pte_t *pte; - spinlock_t *ptl; - pgtable_t prealloc_pte; -}; - -struct vm_operations_struct { - void (*open)(struct vm_area_struct *); - void (*close)(struct vm_area_struct *); - int (*may_split)(struct vm_area_struct *, long unsigned int); - int (*mremap)(struct vm_area_struct *); - int (*mprotect)(struct vm_area_struct *, long unsigned int, long unsigned int, long unsigned int); - vm_fault_t (*fault)(struct vm_fault *); - vm_fault_t (*huge_fault)(struct vm_fault *, unsigned int); - vm_fault_t (*map_pages)(struct vm_fault *, long unsigned int, long unsigned int); - long unsigned int (*pagesize)(struct vm_area_struct *); - vm_fault_t (*page_mkwrite)(struct vm_fault *); - vm_fault_t (*pfn_mkwrite)(struct vm_fault *); - int (*access)(struct vm_area_struct *, long unsigned int, void *, int, int); - const char * (*name)(struct vm_area_struct *); - struct page * (*find_special_page)(struct vm_area_struct *, long unsigned int); -}; - -struct vm_region { - struct rb_node vm_rb; - vm_flags_t vm_flags; - long unsigned int vm_start; - long unsigned int vm_end; - long unsigned int vm_top; - long unsigned int vm_pgoff; - struct file *vm_file; - int vm_usage; - bool vm_icache_flushed: 1; -}; - -struct vm_struct { - struct vm_struct *next; - void *addr; - long unsigned int size; - long unsigned int flags; - struct page **pages; - unsigned int nr_pages; - phys_addr_t phys_addr; - const void *caller; -}; - -struct vma_iterator { - struct ma_state mas; -}; - -struct vxlan_metadata { - u32 gbp; -}; - -struct wait_bit_key { - void *flags; - int bit_nr; - long unsigned int timeout; -}; - -struct wait_bit_queue_entry { - struct wait_bit_key key; - struct wait_queue_entry wq_entry; -}; - -struct waitid_info; - -struct wait_opts { - enum pid_type wo_type; - int wo_flags; - struct pid *wo_pid; - struct waitid_info *wo_info; - int wo_stat; - struct rusage *wo_rusage; - wait_queue_entry_t child_wait; - int notask_error; -}; - -struct wait_page_key { - struct folio *folio; - int bit_nr; - int page_match; -}; - -struct wait_page_queue { - struct folio *folio; - int bit_nr; - wait_queue_entry_t wait; -}; - -struct waitid_info { - pid_t pid; - uid_t uid; - int status; - int cause; -}; - -struct wake_q_head { - struct wake_q_node *first; - struct wake_q_node **lastp; -}; - -struct warn_args { - const char *fmt; - va_list args; -}; - -struct wb_completion { - atomic_t cnt; - wait_queue_head_t *waitq; -}; - -struct wb_domain { - spinlock_t lock; - struct fprop_global completions; - struct timer_list period_timer; - long unsigned int period_time; - long unsigned int dirty_limit_tstamp; - long unsigned int dirty_limit; -}; - -struct wb_lock_cookie { - bool locked; - long unsigned int flags; -}; - -struct wb_writeback_work { - long int nr_pages; - struct super_block *sb; - enum writeback_sync_modes sync_mode; - unsigned int tagged_writepages: 1; - unsigned int for_kupdate: 1; - unsigned int range_cyclic: 1; - unsigned int for_background: 1; - unsigned int for_sync: 1; - unsigned int auto_free: 1; - enum wb_reason reason; - struct list_head list; - struct wb_completion *done; -}; - -struct wol_reply_data { - struct ethnl_reply_data base; - struct ethtool_wolinfo wol; - bool show_sopass; -}; - -struct word_at_a_time { - const long unsigned int one_bits; - const long unsigned int high_bits; -}; - -struct worker { - union { - struct list_head entry; - struct hlist_node hentry; - }; - struct work_struct *current_work; - work_func_t current_func; - struct pool_workqueue *current_pwq; - long: 32; - u64 current_at; - unsigned int current_color; - int sleeping; - work_func_t last_func; - struct list_head scheduled; - struct task_struct *task; - struct worker_pool *pool; - struct list_head node; - long unsigned int last_active; - unsigned int flags; - int id; - char desc[24]; - struct workqueue_struct *rescue_wq; - long: 32; -}; - -struct worker_pool { - raw_spinlock_t lock; - int cpu; - int node; - int id; - unsigned int flags; - long unsigned int watchdog_ts; - bool cpu_stall; - int nr_running; - struct list_head worklist; - int nr_workers; - int nr_idle; - struct list_head idle_list; - struct timer_list idle_timer; - struct work_struct idle_cull_work; - struct timer_list mayday_timer; - struct hlist_head busy_hash[64]; - struct worker *manager; - struct list_head workers; - struct list_head dying_workers; - struct completion *detach_completion; - struct ida worker_ida; - struct workqueue_attrs *attrs; - struct hlist_node hash_node; - int refcnt; - struct callback_head rcu; -}; - -struct workqueue_attrs { - int nice; - cpumask_var_t cpumask; - cpumask_var_t __pod_cpumask; - bool affn_strict; - enum wq_affn_scope affn_scope; - bool ordered; -}; - -struct wq_flusher; - -struct workqueue_struct { - struct list_head pwqs; - struct list_head list; - struct mutex mutex; - int work_color; - int flush_color; - atomic_t nr_pwqs_to_flush; - struct wq_flusher *first_flusher; - struct list_head flusher_queue; - struct list_head flusher_overflow; - struct list_head maydays; - struct worker *rescuer; - int nr_drainers; - int saved_max_active; - struct workqueue_attrs *unbound_attrs; - struct pool_workqueue *dfl_pwq; - char name[24]; - struct callback_head rcu; - long: 32; - long: 32; - unsigned int flags; - struct pool_workqueue **cpu_pwq; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; -}; - -struct wq_barrier { - struct work_struct work; - struct completion done; - struct task_struct *task; -}; - -struct wq_flusher { - struct list_head list; - int flush_color; - struct completion done; -}; - -struct wq_pod_type { - int nr_pods; - cpumask_var_t *pod_cpus; - int *pod_node; - int *cpu_pod; -}; - -typedef int (*cmp_func_t)(const void *, const void *); - -typedef void (*swap_func_t)(void *, void *, int); - -struct wrapper { - cmp_func_t cmp; - swap_func_t swap; -}; - -struct swap_iocb; - -struct writeback_control { - long int nr_to_write; - long int pages_skipped; - loff_t range_start; - loff_t range_end; - enum writeback_sync_modes sync_mode; - unsigned int for_kupdate: 1; - unsigned int for_background: 1; - unsigned int tagged_writepages: 1; - unsigned int for_reclaim: 1; - unsigned int range_cyclic: 1; - unsigned int for_sync: 1; - unsigned int unpinned_fscache_wb: 1; - unsigned int no_cgroup_owner: 1; - struct swap_iocb **swap_plug; - long: 32; -}; - -struct ww_acquire_ctx { - struct task_struct *task; - long unsigned int stamp; - unsigned int acquired; - short unsigned int wounded; - short unsigned int is_wait_die; -}; - -struct ww_mutex { - struct mutex base; - struct ww_acquire_ctx *ctx; -}; - -struct xa_limit { - u32 max; - u32 min; -}; - -struct xa_node { - unsigned char shift; - unsigned char offset; - unsigned char count; - unsigned char nr_values; - struct xa_node *parent; - struct xarray *array; - union { - struct list_head private_list; - struct callback_head callback_head; - }; - void *slots[16]; - union { - long unsigned int tags[3]; - long unsigned int marks[3]; - }; -}; - -typedef void (*xa_update_node_t)(struct xa_node *); - -struct xa_state { - struct xarray *xa; - long unsigned int xa_index; - unsigned char xa_shift; - unsigned char xa_sibs; - unsigned char xa_offset; - unsigned char xa_pad; - struct xa_node *xa_node; - struct xa_node *xa_alloc; - xa_update_node_t xa_update; - struct list_lru *xa_lru; -}; - -struct xattr_name; - -struct xattr_ctx { - union { - const void *cvalue; - void *value; - }; - void *kvalue; - size_t size; - struct xattr_name *kname; - unsigned int flags; -}; - -struct xattr_handler { - const char *name; - const char *prefix; - int flags; - bool (*list)(struct dentry *); - int (*get)(const struct xattr_handler *, struct dentry *, struct inode *, const char *, void *, size_t); - int (*set)(const struct xattr_handler *, struct mnt_idmap *, struct dentry *, struct inode *, const char *, const void *, size_t, int); -}; - -struct xattr_name { - char name[256]; -}; - -struct xdp_attachment_info { - struct bpf_prog *prog; - u32 flags; -}; - -struct xdp_buff_xsk { - struct xdp_buff xdp; - u8 cb[24]; - dma_addr_t dma; - dma_addr_t frame_dma; - struct xsk_buff_pool *pool; - long: 32; - u64 orig_addr; - struct list_head free_list_node; - struct list_head xskb_list_node; -}; - -struct xdp_bulk_queue { - void *q[8]; - struct list_head flush_node; - struct bpf_cpu_map_entry *obj; - unsigned int count; -}; - -struct xdp_cpumap_stats { - unsigned int redirect; - unsigned int pass; - unsigned int drop; -}; - -struct xdp_desc { - __u64 addr; - __u32 len; - __u32 options; -}; - -struct xdp_dev_bulk_queue { - struct xdp_frame *q[16]; - struct list_head flush_node; - struct net_device *dev; - struct net_device *dev_rx; - struct bpf_prog *xdp_prog; - unsigned int count; -}; - -struct xdp_frame { - void *data; - u16 len; - u16 headroom; - u32 metasize; - struct xdp_mem_info mem; - struct net_device *dev_rx; - u32 frame_sz; - u32 flags; -}; - -struct xdp_frame_bulk { - int count; - void *xa; - void *q[16]; -}; - -struct xdp_mem_allocator { - struct xdp_mem_info mem; - union { - void *allocator; - struct page_pool *page_pool; - }; - struct rhash_head node; - struct callback_head rcu; -}; - -struct xdp_metadata_ops { - int (*xmo_rx_timestamp)(const struct xdp_md *, u64 *); - int (*xmo_rx_hash)(const struct xdp_md *, u32 *, enum xdp_rss_hash_type *); -}; - -struct xdp_page_head { - struct xdp_buff orig_ctx; - struct xdp_buff ctx; - union { - struct { - struct {} __empty_frame; - struct xdp_frame frame[0]; - }; - struct { - struct {} __empty_data; - u8 data[0]; - }; - }; -}; - -struct xsk_queue; - -struct xdp_umem; - -struct xdp_sock { - struct sock sk; - struct xsk_queue *rx; - struct net_device *dev; - struct xdp_umem *umem; - struct list_head flush_node; - struct xsk_buff_pool *pool; - u16 queue_id; - bool zc; - bool sg; - enum { - XSK_READY = 0, - XSK_BOUND = 1, - XSK_UNBOUND = 2, - } state; - struct xsk_queue *tx; - struct list_head tx_list; - spinlock_t rx_lock; - long: 32; - u64 rx_dropped; - u64 rx_queue_full; - struct sk_buff *skb; - struct list_head map_list; - spinlock_t map_list_lock; - struct mutex mutex; - struct xsk_queue *fq_tmp; - struct xsk_queue *cq_tmp; -}; - -struct xdp_test_data { - struct xdp_buff *orig_ctx; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - struct xdp_rxq_info rxq; - struct net_device *dev; - struct page_pool *pp; - struct xdp_frame **frames; - struct sk_buff **skbs; - struct xdp_mem_info mem; - u32 batch_size; - u32 frame_cnt; -}; - -struct xdp_txq_info { - struct net_device *dev; -}; - -struct xdp_umem { - void *addrs; - long: 32; - u64 size; - u32 headroom; - u32 chunk_size; - u32 chunks; - u32 npgs; - struct user_struct *user; - refcount_t users; - u8 flags; - bool zc; - struct page **pgs; - int id; - struct list_head xsk_dma_list; - struct work_struct work; - long: 32; -}; - -struct xfrm_address_filter { - xfrm_address_t saddr; - xfrm_address_t daddr; - __u16 family; - __u8 splen; - __u8 dplen; -}; - -struct xfrm_algo { - char alg_name[64]; - unsigned int alg_key_len; - char alg_key[0]; -}; - -struct xfrm_algo_aead { - char alg_name[64]; - unsigned int alg_key_len; - unsigned int alg_icv_len; - char alg_key[0]; -}; - -struct xfrm_algo_auth { - char alg_name[64]; - unsigned int alg_key_len; - unsigned int alg_trunc_len; - char alg_key[0]; -}; - -struct xfrm_dev_offload { - struct net_device *dev; - netdevice_tracker dev_tracker; - struct net_device *real_dev; - long unsigned int offload_handle; - u8 dir: 2; - u8 type: 2; - u8 flags: 2; -}; - -struct xfrm_encap_tmpl { - __u16 encap_type; - __be16 encap_sport; - __be16 encap_dport; - xfrm_address_t encap_oa; -}; - -struct xfrm_id { - xfrm_address_t daddr; - __be32 spi; - __u8 proto; -}; - -struct xfrm_lifetime_cfg { - __u64 soft_byte_limit; - __u64 hard_byte_limit; - __u64 soft_packet_limit; - __u64 hard_packet_limit; - __u64 soft_add_expires_seconds; - __u64 hard_add_expires_seconds; - __u64 soft_use_expires_seconds; - __u64 hard_use_expires_seconds; -}; - -struct xfrm_lifetime_cur { - __u64 bytes; - __u64 packets; - __u64 add_time; - __u64 use_time; -}; - -struct xfrm_mark { - __u32 v; - __u32 m; -}; - -struct xfrm_mode { - u8 encap; - u8 family; - u8 flags; -}; - -struct xfrm_replay_state { - __u32 oseq; - __u32 seq; - __u32 bitmap; -}; - -struct xfrm_replay_state_esn { - unsigned int bmp_len; - __u32 oseq; - __u32 seq; - __u32 oseq_hi; - __u32 seq_hi; - __u32 replay_window; - __u32 bmp[0]; -}; - -struct xfrm_sec_ctx { - __u8 ctx_doi; - __u8 ctx_alg; - __u16 ctx_len; - __u32 ctx_sid; - char ctx_str[0]; -}; - -struct xfrm_selector { - xfrm_address_t daddr; - xfrm_address_t saddr; - __be16 dport; - __be16 dport_mask; - __be16 sport; - __be16 sport_mask; - __u16 family; - __u8 prefixlen_d; - __u8 prefixlen_s; - __u8 proto; - int ifindex; - __kernel_uid32_t user; -}; - -struct xfrm_state_walk { - struct list_head all; - u8 state; - u8 dying; - u8 proto; - u32 seq; - struct xfrm_address_filter *filter; -}; - -struct xfrm_stats { - __u32 replay_window; - __u32 replay; - __u32 integrity_failed; -}; - -struct xfrm_type; - -struct xfrm_type_offload; - -struct xfrm_state { - possible_net_t xs_net; - union { - struct hlist_node gclist; - struct hlist_node bydst; - }; - struct hlist_node bysrc; - struct hlist_node byspi; - struct hlist_node byseq; - refcount_t refcnt; - spinlock_t lock; - struct xfrm_id id; - struct xfrm_selector sel; - struct xfrm_mark mark; - u32 if_id; - u32 tfcpad; - u32 genid; - struct xfrm_state_walk km; - struct { - u32 reqid; - u8 mode; - u8 replay_window; - u8 aalgo; - u8 ealgo; - u8 calgo; - u8 flags; - u16 family; - xfrm_address_t saddr; - int header_len; - int trailer_len; - u32 extra_flags; - struct xfrm_mark smark; - } props; - long: 32; - struct xfrm_lifetime_cfg lft; - struct xfrm_algo_auth *aalg; - struct xfrm_algo *ealg; - struct xfrm_algo *calg; - struct xfrm_algo_aead *aead; - const char *geniv; - __be16 new_mapping_sport; - u32 new_mapping; - u32 mapping_maxage; - struct xfrm_encap_tmpl *encap; - struct sock *encap_sk; - xfrm_address_t *coaddr; - struct xfrm_state *tunnel; - atomic_t tunnel_users; - struct xfrm_replay_state replay; - struct xfrm_replay_state_esn *replay_esn; - struct xfrm_replay_state preplay; - struct xfrm_replay_state_esn *preplay_esn; - enum xfrm_replay_mode repl_mode; - u32 xflags; - u32 replay_maxage; - u32 replay_maxdiff; - struct timer_list rtimer; - struct xfrm_stats stats; - long: 32; - struct xfrm_lifetime_cur curlft; - struct hrtimer mtimer; - struct xfrm_dev_offload xso; - long int saved_tmo; - long: 32; - time64_t lastused; - struct page_frag xfrag; - const struct xfrm_type *type; - struct xfrm_mode inner_mode; - struct xfrm_mode inner_mode_iaf; - struct xfrm_mode outer_mode; - const struct xfrm_type_offload *type_offload; - struct xfrm_sec_ctx *security; - void *data; - long: 32; -}; - -struct xfrm_tunnel { - int (*handler)(struct sk_buff *); - int (*cb_handler)(struct sk_buff *, int); - int (*err_handler)(struct sk_buff *, u32); - struct xfrm_tunnel *next; - int priority; -}; - -struct xfrm_type { - struct module *owner; - u8 proto; - u8 flags; - int (*init_state)(struct xfrm_state *, struct netlink_ext_ack *); - void (*destructor)(struct xfrm_state *); - int (*input)(struct xfrm_state *, struct sk_buff *); - int (*output)(struct xfrm_state *, struct sk_buff *); - int (*reject)(struct xfrm_state *, struct sk_buff *, const struct flowi *); -}; - -struct xfrm_type_offload { - struct module *owner; - u8 proto; - void (*encap)(struct xfrm_state *, struct sk_buff *); - int (*input_tail)(struct xfrm_state *, struct sk_buff *); - int (*xmit)(struct xfrm_state *, struct sk_buff *, netdev_features_t); -}; - -struct xsk_buff_pool { - struct device *dev; - struct net_device *netdev; - struct list_head xsk_tx_list; - spinlock_t xsk_tx_list_lock; - refcount_t users; - struct xdp_umem *umem; - struct work_struct work; - struct list_head free_list; - struct list_head xskb_list; - u32 heads_cnt; - u16 queue_id; - struct xsk_queue *fq; - struct xsk_queue *cq; - dma_addr_t *dma_pages; - struct xdp_buff_xsk *heads; - struct xdp_desc *tx_descs; - long: 32; - u64 chunk_mask; - u64 addrs_cnt; - u32 free_list_cnt; - u32 dma_pages_cnt; - u32 free_heads_cnt; - u32 headroom; - u32 chunk_size; - u32 chunk_shift; - u32 frame_len; - u8 cached_need_wakeup; - bool uses_need_wakeup; - bool dma_need_sync; - bool unaligned; - void *addrs; - spinlock_t cq_lock; - struct xdp_buff_xsk *free_heads[0]; - long: 32; -}; - -typedef int (*bpf_aux_classic_check_t)(struct sock_filter *, unsigned int); - -typedef u32 (*bpf_convert_ctx_access_t)(enum bpf_access_type, const struct bpf_insn *, struct bpf_insn *, struct bpf_prog *, u32 *); - -typedef long unsigned int (*bpf_ctx_copy_t)(void *, const void *, long unsigned int, long unsigned int); - -typedef unsigned int (*bpf_dispatcher_fn)(const void *, const struct bpf_insn *, unsigned int (*)(const void *, const struct bpf_insn *)); - -typedef unsigned int (*bpf_func_t)(const void *, const struct bpf_insn *); - -typedef void (*bpf_jit_fill_hole_t)(void *, unsigned int); - -typedef int (*bpf_op_t)(struct net_device *, struct netdev_bpf *); - -typedef u64 (*bpf_trampoline_enter_t)(struct bpf_prog *, struct bpf_tramp_run_ctx *); - -typedef void (*bpf_trampoline_exit_t)(struct bpf_prog *, u64, struct bpf_tramp_run_ctx *); - -typedef u64 (*btf_bpf_bind)(struct bpf_sock_addr_kern *, struct sockaddr *, int); - -typedef u64 (*btf_bpf_btf_find_by_name_kind)(char *, int, u32, int); - -typedef u64 (*btf_bpf_clone_redirect)(struct sk_buff *, u32, u64); - -typedef u64 (*btf_bpf_copy_from_user)(void *, u32, const void *); - -typedef u64 (*btf_bpf_copy_from_user_task)(void *, u32, const void *, struct task_struct *, u64); - -typedef u64 (*btf_bpf_csum_diff)(__be32 *, u32, __be32 *, u32, __wsum); - -typedef u64 (*btf_bpf_csum_level)(struct sk_buff *, u64); - -typedef u64 (*btf_bpf_csum_update)(struct sk_buff *, __wsum); - -typedef u64 (*btf_bpf_dynptr_data)(const struct bpf_dynptr_kern *, u32, u32); - -typedef u64 (*btf_bpf_dynptr_from_mem)(void *, u32, u64, struct bpf_dynptr_kern *); - -typedef u64 (*btf_bpf_dynptr_read)(void *, u32, const struct bpf_dynptr_kern *, u32, u64); - -typedef u64 (*btf_bpf_dynptr_write)(const struct bpf_dynptr_kern *, u32, void *, u32, u64); - -typedef u64 (*btf_bpf_event_output_data)(void *, struct bpf_map *, u64, void *, u64); - -typedef u64 (*btf_bpf_find_vma)(struct task_struct *, u64, bpf_callback_t, void *, u64); - -typedef u64 (*btf_bpf_flow_dissector_load_bytes)(const struct bpf_flow_dissector *, u32, void *, u32); - -typedef u64 (*btf_bpf_for_each_map_elem)(struct bpf_map *, void *, void *, u64); - -typedef u64 (*btf_bpf_get_cgroup_classid)(const struct sk_buff *); - -typedef u64 (*btf_bpf_get_current_comm)(char *, u32); - -typedef u64 (*btf_bpf_get_current_pid_tgid)(); - -typedef u64 (*btf_bpf_get_current_uid_gid)(); - -typedef u64 (*btf_bpf_get_hash_recalc)(struct sk_buff *); - -typedef u64 (*btf_bpf_get_listener_sock)(struct sock *); - -typedef u64 (*btf_bpf_get_netns_cookie_sk_msg)(struct sk_msg *); - -typedef u64 (*btf_bpf_get_netns_cookie_sock)(struct sock *); - -typedef u64 (*btf_bpf_get_netns_cookie_sock_addr)(struct bpf_sock_addr_kern *); - -typedef u64 (*btf_bpf_get_netns_cookie_sock_ops)(struct bpf_sock_ops_kern *); - -typedef u64 (*btf_bpf_get_ns_current_pid_tgid)(u64, u64, struct bpf_pidns_info *, u32); - -typedef u64 (*btf_bpf_get_numa_node_id)(); - -typedef u64 (*btf_bpf_get_raw_cpu_id)(); - -typedef u64 (*btf_bpf_get_route_realm)(const struct sk_buff *); - -typedef u64 (*btf_bpf_get_smp_processor_id)(); - -typedef u64 (*btf_bpf_get_socket_cookie)(struct sk_buff *); - -typedef u64 (*btf_bpf_get_socket_cookie_sock)(struct sock *); - -typedef u64 (*btf_bpf_get_socket_cookie_sock_addr)(struct bpf_sock_addr_kern *); - -typedef u64 (*btf_bpf_get_socket_cookie_sock_ops)(struct bpf_sock_ops_kern *); - -typedef u64 (*btf_bpf_get_socket_ptr_cookie)(struct sock *); - -typedef u64 (*btf_bpf_get_socket_uid)(struct sk_buff *); - -typedef u64 (*btf_bpf_get_stack)(struct pt_regs *, void *, u32, u64); - -typedef u64 (*btf_bpf_get_stack_pe)(struct bpf_perf_event_data_kern *, void *, u32, u64); - -typedef u64 (*btf_bpf_get_stackid)(struct pt_regs *, struct bpf_map *, u64); - -typedef u64 (*btf_bpf_get_stackid_pe)(struct bpf_perf_event_data_kern *, struct bpf_map *, u64); - -typedef u64 (*btf_bpf_get_task_stack)(struct task_struct *, void *, u32, u64); - -typedef u64 (*btf_bpf_jiffies64)(); - -typedef u64 (*btf_bpf_kallsyms_lookup_name)(const char *, int, int, u64 *); - -typedef u64 (*btf_bpf_kptr_xchg)(void *, void *); - -typedef u64 (*btf_bpf_ktime_get_boot_ns)(); - -typedef u64 (*btf_bpf_ktime_get_coarse_ns)(); - -typedef u64 (*btf_bpf_ktime_get_ns)(); - -typedef u64 (*btf_bpf_ktime_get_tai_ns)(); - -typedef u64 (*btf_bpf_l3_csum_replace)(struct sk_buff *, u32, u64, u64, u64); - -typedef u64 (*btf_bpf_l4_csum_replace)(struct sk_buff *, u32, u64, u64, u64); - -typedef u64 (*btf_bpf_loop)(u32, void *, void *, u64); - -typedef u64 (*btf_bpf_lwt_in_push_encap)(struct sk_buff *, u32, void *, u32); - -typedef u64 (*btf_bpf_lwt_xmit_push_encap)(struct sk_buff *, u32, void *, u32); - -typedef u64 (*btf_bpf_map_delete_elem)(struct bpf_map *, void *); - -typedef u64 (*btf_bpf_map_lookup_elem)(struct bpf_map *, void *); - -typedef u64 (*btf_bpf_map_lookup_percpu_elem)(struct bpf_map *, void *, u32); - -typedef u64 (*btf_bpf_map_peek_elem)(struct bpf_map *, void *); - -typedef u64 (*btf_bpf_map_pop_elem)(struct bpf_map *, void *); - -typedef u64 (*btf_bpf_map_push_elem)(struct bpf_map *, void *, u64); - -typedef u64 (*btf_bpf_map_update_elem)(struct bpf_map *, void *, void *, u64); - -typedef u64 (*btf_bpf_msg_apply_bytes)(struct sk_msg *, u32); - -typedef u64 (*btf_bpf_msg_cork_bytes)(struct sk_msg *, u32); - -typedef u64 (*btf_bpf_msg_pop_data)(struct sk_msg *, u32, u32, u64); - -typedef u64 (*btf_bpf_msg_pull_data)(struct sk_msg *, u32, u32, u64); - -typedef u64 (*btf_bpf_msg_push_data)(struct sk_msg *, u32, u32, u64); - -typedef u64 (*btf_bpf_msg_redirect_hash)(struct sk_msg *, struct bpf_map *, void *, u64); - -typedef u64 (*btf_bpf_msg_redirect_map)(struct sk_msg *, struct bpf_map *, u32, u64); - -typedef u64 (*btf_bpf_per_cpu_ptr)(const void *, u32); - -typedef u64 (*btf_bpf_redirect)(u32, u64); - -typedef u64 (*btf_bpf_redirect_neigh)(u32, struct bpf_redir_neigh *, int, u64); - -typedef u64 (*btf_bpf_redirect_peer)(u32, u64); - -typedef u64 (*btf_bpf_ringbuf_discard)(void *, u64); - -typedef u64 (*btf_bpf_ringbuf_discard_dynptr)(struct bpf_dynptr_kern *, u64); - -typedef u64 (*btf_bpf_ringbuf_output)(struct bpf_map *, void *, u64, u64); - -typedef u64 (*btf_bpf_ringbuf_query)(struct bpf_map *, u64); - -typedef u64 (*btf_bpf_ringbuf_reserve)(struct bpf_map *, u64, u64); - -typedef u64 (*btf_bpf_ringbuf_reserve_dynptr)(struct bpf_map *, u32, u64, struct bpf_dynptr_kern *); - -typedef u64 (*btf_bpf_ringbuf_submit)(void *, u64); - -typedef u64 (*btf_bpf_ringbuf_submit_dynptr)(struct bpf_dynptr_kern *, u64); - -typedef u64 (*btf_bpf_set_hash)(struct sk_buff *, u32); - -typedef u64 (*btf_bpf_set_hash_invalid)(struct sk_buff *); - -typedef u64 (*btf_bpf_sk_assign)(struct sk_buff *, struct sock *, u64); - -typedef u64 (*btf_bpf_sk_fullsock)(struct sock *); - -typedef u64 (*btf_bpf_sk_getsockopt)(struct sock *, int, int, char *, int); - -typedef u64 (*btf_bpf_sk_lookup_assign)(struct bpf_sk_lookup_kern *, struct sock *, u64); - -typedef u64 (*btf_bpf_sk_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); - -typedef u64 (*btf_bpf_sk_lookup_udp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); - -typedef u64 (*btf_bpf_sk_redirect_hash)(struct sk_buff *, struct bpf_map *, void *, u64); - -typedef u64 (*btf_bpf_sk_redirect_map)(struct sk_buff *, struct bpf_map *, u32, u64); - -typedef u64 (*btf_bpf_sk_release)(struct sock *); - -typedef u64 (*btf_bpf_sk_setsockopt)(struct sock *, int, int, char *, int); - -typedef u64 (*btf_bpf_sk_storage_delete)(struct bpf_map *, struct sock *); - -typedef u64 (*btf_bpf_sk_storage_delete_tracing)(struct bpf_map *, struct sock *); - -typedef u64 (*btf_bpf_sk_storage_get)(struct bpf_map *, struct sock *, void *, u64, gfp_t); - -typedef u64 (*btf_bpf_sk_storage_get_tracing)(struct bpf_map *, struct sock *, void *, u64, gfp_t); - -typedef u64 (*btf_bpf_skb_adjust_room)(struct sk_buff *, s32, u32, u64); - -typedef u64 (*btf_bpf_skb_change_head)(struct sk_buff *, u32, u64); - -typedef u64 (*btf_bpf_skb_change_proto)(struct sk_buff *, __be16, u64); - -typedef u64 (*btf_bpf_skb_change_tail)(struct sk_buff *, u32, u64); - -typedef u64 (*btf_bpf_skb_change_type)(struct sk_buff *, u32); - -typedef u64 (*btf_bpf_skb_check_mtu)(struct sk_buff *, u32, u32 *, s32, u64); - -typedef u64 (*btf_bpf_skb_ecn_set_ce)(struct sk_buff *); - -typedef u64 (*btf_bpf_skb_event_output)(struct sk_buff *, struct bpf_map *, u64, void *, u64); - -typedef u64 (*btf_bpf_skb_fib_lookup)(struct sk_buff *, struct bpf_fib_lookup *, int, u32); - -typedef u64 (*btf_bpf_skb_get_nlattr)(struct sk_buff *, u32, u32); - -typedef u64 (*btf_bpf_skb_get_nlattr_nest)(struct sk_buff *, u32, u32); - -typedef u64 (*btf_bpf_skb_get_pay_offset)(struct sk_buff *); - -typedef u64 (*btf_bpf_skb_get_tunnel_key)(struct sk_buff *, struct bpf_tunnel_key *, u32, u64); - -typedef u64 (*btf_bpf_skb_get_tunnel_opt)(struct sk_buff *, u8 *, u32); - -typedef u64 (*btf_bpf_skb_load_bytes)(const struct sk_buff *, u32, void *, u32); - -typedef u64 (*btf_bpf_skb_load_bytes_relative)(const struct sk_buff *, u32, void *, u32, u32); - -typedef u64 (*btf_bpf_skb_load_helper_16)(const struct sk_buff *, const void *, int, int); - -typedef u64 (*btf_bpf_skb_load_helper_16_no_cache)(const struct sk_buff *, int); - -typedef u64 (*btf_bpf_skb_load_helper_32)(const struct sk_buff *, const void *, int, int); - -typedef u64 (*btf_bpf_skb_load_helper_32_no_cache)(const struct sk_buff *, int); - -typedef u64 (*btf_bpf_skb_load_helper_8)(const struct sk_buff *, const void *, int, int); - -typedef u64 (*btf_bpf_skb_load_helper_8_no_cache)(const struct sk_buff *, int); - -typedef u64 (*btf_bpf_skb_pull_data)(struct sk_buff *, u32); - -typedef u64 (*btf_bpf_skb_set_tstamp)(struct sk_buff *, u64, u32); - -typedef u64 (*btf_bpf_skb_set_tunnel_key)(struct sk_buff *, const struct bpf_tunnel_key *, u32, u64); - -typedef u64 (*btf_bpf_skb_set_tunnel_opt)(struct sk_buff *, const u8 *, u32); - -typedef u64 (*btf_bpf_skb_store_bytes)(struct sk_buff *, u32, const void *, u32, u64); - -typedef u64 (*btf_bpf_skb_under_cgroup)(struct sk_buff *, struct bpf_map *, u32); - -typedef u64 (*btf_bpf_skb_vlan_pop)(struct sk_buff *); - -typedef u64 (*btf_bpf_skb_vlan_push)(struct sk_buff *, __be16, u16); - -typedef u64 (*btf_bpf_skc_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); - -typedef u64 (*btf_bpf_skc_to_mptcp_sock)(struct sock *); - -typedef u64 (*btf_bpf_skc_to_tcp6_sock)(struct sock *); - -typedef u64 (*btf_bpf_skc_to_tcp_request_sock)(struct sock *); - -typedef u64 (*btf_bpf_skc_to_tcp_sock)(struct sock *); - -typedef u64 (*btf_bpf_skc_to_tcp_timewait_sock)(struct sock *); - -typedef u64 (*btf_bpf_skc_to_udp6_sock)(struct sock *); - -typedef u64 (*btf_bpf_skc_to_unix_sock)(struct sock *); - -typedef u64 (*btf_bpf_snprintf)(char *, u32, char *, const void *, u32); - -typedef u64 (*btf_bpf_sock_addr_getsockopt)(struct bpf_sock_addr_kern *, int, int, char *, int); - -typedef u64 (*btf_bpf_sock_addr_setsockopt)(struct bpf_sock_addr_kern *, int, int, char *, int); - -typedef u64 (*btf_bpf_sock_addr_sk_lookup_tcp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *, u32, u64, u64); - -typedef u64 (*btf_bpf_sock_addr_sk_lookup_udp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *, u32, u64, u64); - -typedef u64 (*btf_bpf_sock_addr_skc_lookup_tcp)(struct bpf_sock_addr_kern *, struct bpf_sock_tuple *, u32, u64, u64); - -typedef u64 (*btf_bpf_sock_from_file)(struct file *); - -typedef u64 (*btf_bpf_sock_hash_update)(struct bpf_sock_ops_kern *, struct bpf_map *, void *, u64); - -typedef u64 (*btf_bpf_sock_map_update)(struct bpf_sock_ops_kern *, struct bpf_map *, void *, u64); - -typedef u64 (*btf_bpf_sock_ops_cb_flags_set)(struct bpf_sock_ops_kern *, int); - -typedef u64 (*btf_bpf_sock_ops_getsockopt)(struct bpf_sock_ops_kern *, int, int, char *, int); - -typedef u64 (*btf_bpf_sock_ops_load_hdr_opt)(struct bpf_sock_ops_kern *, void *, u32, u64); - -typedef u64 (*btf_bpf_sock_ops_reserve_hdr_opt)(struct bpf_sock_ops_kern *, u32, u64); - -typedef u64 (*btf_bpf_sock_ops_setsockopt)(struct bpf_sock_ops_kern *, int, int, char *, int); - -typedef u64 (*btf_bpf_sock_ops_store_hdr_opt)(struct bpf_sock_ops_kern *, const void *, u32, u64); - -typedef u64 (*btf_bpf_spin_lock)(struct bpf_spin_lock *); - -typedef u64 (*btf_bpf_spin_unlock)(struct bpf_spin_lock *); - -typedef u64 (*btf_bpf_strncmp)(const char *, u32, const char *); - -typedef u64 (*btf_bpf_strtol)(const char *, size_t, u64, long int *); - -typedef u64 (*btf_bpf_strtoul)(const char *, size_t, u64, long unsigned int *); - -typedef u64 (*btf_bpf_sys_bpf)(int, union bpf_attr *, u32); - -typedef u64 (*btf_bpf_sys_close)(u32); - -typedef u64 (*btf_bpf_task_storage_delete)(struct bpf_map *, struct task_struct *); - -typedef u64 (*btf_bpf_task_storage_delete_recur)(struct bpf_map *, struct task_struct *); - -typedef u64 (*btf_bpf_task_storage_get)(struct bpf_map *, struct task_struct *, void *, u64, gfp_t); - -typedef u64 (*btf_bpf_task_storage_get_recur)(struct bpf_map *, struct task_struct *, void *, u64, gfp_t); - -typedef u64 (*btf_bpf_tc_sk_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); - -typedef u64 (*btf_bpf_tc_sk_lookup_udp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); - -typedef u64 (*btf_bpf_tc_skc_lookup_tcp)(struct sk_buff *, struct bpf_sock_tuple *, u32, u64, u64); - -typedef u64 (*btf_bpf_tcp_check_syncookie)(struct sock *, void *, u32, struct tcphdr *, u32); - -typedef u64 (*btf_bpf_tcp_gen_syncookie)(struct sock *, void *, u32, struct tcphdr *, u32); - -typedef u64 (*btf_bpf_tcp_send_ack)(struct tcp_sock *, u32); - -typedef u64 (*btf_bpf_tcp_sock)(struct sock *); - -typedef u64 (*btf_bpf_this_cpu_ptr)(const void *); - -typedef u64 (*btf_bpf_timer_cancel)(struct bpf_timer_kern *); - -typedef u64 (*btf_bpf_timer_init)(struct bpf_timer_kern *, struct bpf_map *, u64); - -typedef u64 (*btf_bpf_timer_set_callback)(struct bpf_timer_kern *, void *, struct bpf_prog_aux *); - -typedef u64 (*btf_bpf_timer_start)(struct bpf_timer_kern *, u64, u64); - -typedef u64 (*btf_bpf_unlocked_sk_getsockopt)(struct sock *, int, int, char *, int); - -typedef u64 (*btf_bpf_unlocked_sk_setsockopt)(struct sock *, int, int, char *, int); - -typedef u64 (*btf_bpf_user_ringbuf_drain)(struct bpf_map *, void *, void *, u64); - -typedef u64 (*btf_bpf_user_rnd_u32)(); - -typedef u64 (*btf_bpf_xdp_adjust_head)(struct xdp_buff *, int); - -typedef u64 (*btf_bpf_xdp_adjust_meta)(struct xdp_buff *, int); - -typedef u64 (*btf_bpf_xdp_adjust_tail)(struct xdp_buff *, int); - -typedef u64 (*btf_bpf_xdp_check_mtu)(struct xdp_buff *, u32, u32 *, s32, u64); - -typedef u64 (*btf_bpf_xdp_event_output)(struct xdp_buff *, struct bpf_map *, u64, void *, u64); - -typedef u64 (*btf_bpf_xdp_fib_lookup)(struct xdp_buff *, struct bpf_fib_lookup *, int, u32); - -typedef u64 (*btf_bpf_xdp_get_buff_len)(struct xdp_buff *); - -typedef u64 (*btf_bpf_xdp_load_bytes)(struct xdp_buff *, u32, void *, u32); - -typedef u64 (*btf_bpf_xdp_redirect)(u32, u64); - -typedef u64 (*btf_bpf_xdp_redirect_map)(struct bpf_map *, u64, u64); - -typedef u64 (*btf_bpf_xdp_sk_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64); - -typedef u64 (*btf_bpf_xdp_sk_lookup_udp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64); - -typedef u64 (*btf_bpf_xdp_skc_lookup_tcp)(struct xdp_buff *, struct bpf_sock_tuple *, u32, u32, u64); - -typedef u64 (*btf_bpf_xdp_store_bytes)(struct xdp_buff *, u32, void *, u32); - -typedef u64 (*btf_sk_reuseport_load_bytes)(const struct sk_reuseport_kern *, u32, void *, u32); - -typedef u64 (*btf_sk_reuseport_load_bytes_relative)(const struct sk_reuseport_kern *, u32, void *, u32, u32); - -typedef u64 (*btf_sk_select_reuseport)(struct sk_reuseport_kern *, struct bpf_map *, void *, u32); - -typedef u64 (*btf_sk_skb_adjust_room)(struct sk_buff *, s32, u32, u64); - -typedef u64 (*btf_sk_skb_change_head)(struct sk_buff *, u32, u64); - -typedef u64 (*btf_sk_skb_change_tail)(struct sk_buff *, u32, u64); - -typedef u64 (*btf_sk_skb_pull_data)(struct sk_buff *, u32); - -typedef void (*clock_access_fn)(struct timespec64 *); - -typedef int (*cmp_r_func_t)(const void *, const void *, const void *); - -typedef void * (*devcon_match_fn_t)(const struct fwnode_handle *, const char *, void *); - -typedef int (*dr_match_t)(struct device *, void *, void *); - -typedef int (*dummy_ops_test_ret_fn)(struct bpf_dummy_ops_state *, ...); - -typedef void (*ethnl_notify_handler_t)(struct net_device *, unsigned int, const void *); - -typedef void (*exitcall_t)(); - -typedef int filler_t(struct file *, struct folio *); - -typedef void free_folio_t(struct folio *, long unsigned int); - -typedef struct sk_buff * (*gro_receive_sk_t)(struct sock *, struct list_head *, struct sk_buff *); - -typedef struct sk_buff * (*gro_receive_t)(struct list_head *, struct sk_buff *); - -typedef u32 inet6_ehashfn_t(const struct net *, const struct in6_addr *, const u16, const struct in6_addr *, const __be16); - -typedef u32 inet_ehashfn_t(const struct net *, const __be32, const __u16, const __be32, const __be16); - -typedef int (*initcall_t)(); - -typedef initcall_t initcall_entry_t; - -typedef void ip6_icmp_send_t(struct sk_buff *, u8, u8, __u32, const struct in6_addr *, const struct inet6_skb_parm *); - -typedef int (*list_cmp_func_t)(void *, const struct list_head *, const struct list_head *); - -typedef enum lru_status (*list_lru_walk_cb)(struct list_head *, struct list_lru_one *, spinlock_t *, void *); - -typedef void (*move_fn_t)(struct lruvec *, struct folio *); - -typedef struct folio *new_folio_t(struct folio *, long unsigned int); - -typedef struct ns_common *ns_get_path_helper_t(void *); - -typedef void (*of_init_fn_1)(struct device_node *); - -typedef int (*of_init_fn_1_ret)(struct device_node *); - -typedef int (*of_init_fn_2)(struct device_node *, struct device_node *); - -typedef void perf_iterate_f(struct perf_event *, void *); - -typedef void (*phys_reset_t)(long unsigned int, bool); - -typedef struct rt6_info * (*pol_lookup_t)(struct net *, struct fib6_table *, struct flowi6 *, const struct sk_buff *, int); - -typedef int (*proc_visitor)(struct task_struct *, void *); - -typedef int (*reservedmem_of_init_fn)(struct reserved_mem *); - -typedef int (*sendmsg_func)(struct sock *, struct msghdr *); - -typedef int (*set_callee_state_fn)(struct bpf_verifier_env *, struct bpf_func_state *, struct bpf_func_state *, int); - -typedef struct scatterlist *sg_alloc_fn(unsigned int, gfp_t); - -typedef void sg_free_fn(struct scatterlist *, unsigned int); - -typedef bool (*smp_cond_func_t)(int, void *); - -typedef int splice_actor(struct pipe_inode_info *, struct pipe_buffer *, struct splice_desc *); - -typedef int splice_direct_actor(struct pipe_inode_info *, struct splice_desc *); - -typedef void (*swap_r_func_t)(void *, void *, int, const void *); - -typedef int (*task_call_f)(struct task_struct *, void *); - -typedef void (*task_work_func_t)(struct callback_head *); - -typedef struct sock * (*udp_lookup_t)(const struct sk_buff *, __be16, __be16); - -typedef int wait_bit_action_f(struct wait_bit_key *, int); - -typedef int (*writepage_t)(struct folio *, struct writeback_control *, void *); - -struct nf_bridge_frag_data; - -struct ahash_request; - -struct task_group; - -struct iomap_ops; - -struct net_bridge; - -typedef void *acpi_handle; - -struct acpi_device; - -struct audit_buffer; - -struct audit_context; - -struct bpf_cpu_map_entry; - -struct bpf_dtab_netdev; - -struct bpf_iter; - -struct btf_iter_num; - -struct capture_control; - -struct encoded_page; - -struct kobj_map; - -struct metadata_dst; - -struct nvmem_cell; - -struct task_struct; - -struct unix_sock; - -struct xfrm_state; - - -/* BPF kfuncs */ -#ifndef BPF_NO_KFUNC_PROTOTYPES -#endif - -#ifndef BPF_NO_PRESERVE_ACCESS_INDEX -#pragma clang attribute pop -#endif - -#endif /* __VMLINUX_H__ */ diff --git a/include/loongarch64/vmlinux.h b/include/loongarch64/vmlinux.h index 0a07c47..f254767 120000 --- a/include/loongarch64/vmlinux.h +++ b/include/loongarch64/vmlinux.h @@ -1 +1 @@ -vmlinux_6.6.h \ No newline at end of file +vmlinux_6.14.h \ No newline at end of file diff --git a/include/loongarch64/vmlinux_6.6.h b/include/loongarch64/vmlinux_6.14.h similarity index 86% rename from include/loongarch64/vmlinux_6.6.h rename to include/loongarch64/vmlinux_6.14.h index ae79c25..127d96b 100644 --- a/include/loongarch64/vmlinux_6.6.h +++ b/include/loongarch64/vmlinux_6.14.h @@ -13,6 +13,14 @@ #define __weak __attribute__((weak)) #endif +#ifndef __bpf_fastcall +#if __has_attribute(bpf_fastcall) +#define __bpf_fastcall __attribute__((bpf_fastcall)) +#else +#define __bpf_fastcall +#endif +#endif + enum { ACPI_GENL_CMD_UNSPEC = 0, ACPI_GENL_CMD_EVENT = 1, @@ -544,8 +552,7 @@ enum { AX25_VALUES_N2 = 10, AX25_VALUES_PACLEN = 11, AX25_VALUES_PROTOCOL = 12, - AX25_VALUES_DS_TIMEOUT = 13, - AX25_MAX_VALUES = 14, + AX25_MAX_VALUES = 13, }; enum { @@ -577,6 +584,7 @@ enum { BPF_FIB_LKUP_RET_UNSUPP_LWT = 6, BPF_FIB_LKUP_RET_NO_NEIGH = 7, BPF_FIB_LKUP_RET_FRAG_NEEDED = 8, + BPF_FIB_LKUP_RET_NO_SRC_ADDR = 9, }; enum { @@ -584,6 +592,8 @@ enum { BPF_FIB_LOOKUP_OUTPUT = 2, BPF_FIB_LOOKUP_SKIP_NEIGH = 4, BPF_FIB_LOOKUP_TBID = 8, + BPF_FIB_LOOKUP_SRC = 16, + BPF_FIB_LOOKUP_MARK = 32, }; enum { @@ -604,11 +614,6 @@ enum { BPF_F_ADJ_ROOM_DECAP_L3_IPV6 = 256, }; -enum { - BPF_F_BROADCAST = 8, - BPF_F_EXCLUDE_INGRESS = 16, -}; - enum { BPF_F_GET_BRANCH_RECORDS_SIZE = 1, }; @@ -625,6 +630,8 @@ enum { enum { BPF_F_INGRESS = 1, + BPF_F_BROADCAST = 8, + BPF_F_EXCLUDE_INGRESS = 16, }; enum { @@ -632,9 +639,9 @@ enum { }; enum { - BPF_F_NEIGH = 2, - BPF_F_PEER = 4, - BPF_F_NEXTHOP = 8, + BPF_F_NEIGH = 65536, + BPF_F_PEER = 131072, + BPF_F_NEXTHOP = 262144, }; enum { @@ -653,6 +660,10 @@ enum { BPF_F_INNER_MAP = 4096, BPF_F_LINK = 8192, BPF_F_PATH_FD = 16384, + BPF_F_VTYPE_BTF_OBJ_FD = 32768, + BPF_F_TOKEN_FD = 65536, + BPF_F_SEGV_ON_FAULT = 131072, + BPF_F_NO_USER_CONV = 262144, }; enum { @@ -676,6 +687,7 @@ enum { enum { BPF_F_TIMER_ABS = 1, + BPF_F_TIMER_CPU_PIN = 2, }; enum { @@ -750,6 +762,9 @@ enum { enum { BPF_SKB_TSTAMP_UNSPEC = 0, BPF_SKB_TSTAMP_DELIVERY_MONO = 1, + BPF_SKB_CLOCK_REALTIME = 0, + BPF_SKB_CLOCK_MONOTONIC = 1, + BPF_SKB_CLOCK_TAI = 2, }; enum { @@ -788,9 +803,9 @@ enum { }; enum { - BPF_STRUCT_OPS_TYPE_bpf_dummy_ops = 0, - BPF_STRUCT_OPS_TYPE_tcp_congestion_ops = 1, - __NR_BPF_STRUCT_OPS_TYPE = 2, + BPF_TASK_ITER_ALL_PROCS = 0, + BPF_TASK_ITER_ALL_THREADS = 1, + BPF_TASK_ITER_PROC_THREADS = 2, }; enum { @@ -806,7 +821,8 @@ enum { BPF_TCP_LISTEN = 10, BPF_TCP_CLOSING = 11, BPF_TCP_NEW_SYN_RECV = 12, - BPF_TCP_MAX_STATES = 13, + BPF_TCP_BOUND_INACTIVE = 13, + BPF_TCP_MAX_STATES = 14, }; enum { @@ -816,7 +832,7 @@ enum { }; enum { - BTF_FIELDS_MAX = 10, + BTF_FIELDS_MAX = 11, }; enum { @@ -905,6 +921,11 @@ enum { CACHE_INCLUSIVE = 4, }; +enum { + CMIS_MODULE_LOW_PWR = 1, + CMIS_MODULE_READY = 3, +}; + enum { CRNG_EMPTY = 0, CRNG_EARLY = 1, @@ -1051,6 +1072,16 @@ enum { DEVCONF_MAX = 59, }; +enum { + DIR_OFFSET_FIRST = 2, + DIR_OFFSET_EOD = 2147483647, +}; + +enum { + DIR_OFFSET_MIN = 3, + DIR_OFFSET_MAX = 2147483646, +}; + enum { DISCOVERED = 16, EXPLORED = 32, @@ -1087,17 +1118,6 @@ enum { DUMP_PREFIX_OFFSET = 2, }; -enum { - EC_FLAGS_QUERY_ENABLED = 0, - EC_FLAGS_EVENT_HANDLER_INSTALLED = 1, - EC_FLAGS_EC_HANDLER_INSTALLED = 2, - EC_FLAGS_EC_REG_CALLED = 3, - EC_FLAGS_QUERY_METHODS_INSTALLED = 4, - EC_FLAGS_STARTED = 5, - EC_FLAGS_STOPPED = 6, - EC_FLAGS_EVENTS_MASKED = 7, -}; - enum { ETHTOOL_A_BITSET_BITS_UNSPEC = 0, ETHTOOL_A_BITSET_BITS_BIT = 1, @@ -1125,6 +1145,14 @@ enum { ETHTOOL_A_BITSET_MAX = 5, }; +enum { + ETHTOOL_A_C33_PSE_PW_LIMIT_UNSPEC = 0, + ETHTOOL_A_C33_PSE_PW_LIMIT_MIN = 1, + ETHTOOL_A_C33_PSE_PW_LIMIT_MAX = 2, + __ETHTOOL_A_C33_PSE_PW_LIMIT_CNT = 3, + __ETHTOOL_A_C33_PSE_PW_LIMIT_MAX = 2, +}; + enum { ETHTOOL_A_CABLE_AMPLITUDE_UNSPEC = 0, ETHTOOL_A_CABLE_AMPLITUDE_PAIR = 1, @@ -1137,8 +1165,15 @@ enum { ETHTOOL_A_CABLE_FAULT_LENGTH_UNSPEC = 0, ETHTOOL_A_CABLE_FAULT_LENGTH_PAIR = 1, ETHTOOL_A_CABLE_FAULT_LENGTH_CM = 2, - __ETHTOOL_A_CABLE_FAULT_LENGTH_CNT = 3, - ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 2, + ETHTOOL_A_CABLE_FAULT_LENGTH_SRC = 3, + __ETHTOOL_A_CABLE_FAULT_LENGTH_CNT = 4, + ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 3, +}; + +enum { + ETHTOOL_A_CABLE_INF_SRC_UNSPEC = 0, + ETHTOOL_A_CABLE_INF_SRC_TDR = 1, + ETHTOOL_A_CABLE_INF_SRC_ALCD = 2, }; enum { @@ -1167,8 +1202,9 @@ enum { ETHTOOL_A_CABLE_RESULT_UNSPEC = 0, ETHTOOL_A_CABLE_RESULT_PAIR = 1, ETHTOOL_A_CABLE_RESULT_CODE = 2, - __ETHTOOL_A_CABLE_RESULT_CNT = 3, - ETHTOOL_A_CABLE_RESULT_MAX = 2, + ETHTOOL_A_CABLE_RESULT_SRC = 3, + __ETHTOOL_A_CABLE_RESULT_CNT = 4, + ETHTOOL_A_CABLE_RESULT_MAX = 3, }; enum { @@ -1274,8 +1310,10 @@ enum { ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES = 26, ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES = 27, ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS = 28, - __ETHTOOL_A_COALESCE_CNT = 29, - ETHTOOL_A_COALESCE_MAX = 28, + ETHTOOL_A_COALESCE_RX_PROFILE = 29, + ETHTOOL_A_COALESCE_TX_PROFILE = 30, + __ETHTOOL_A_COALESCE_CNT = 31, + ETHTOOL_A_COALESCE_MAX = 30, }; enum { @@ -1336,8 +1374,18 @@ enum { ETHTOOL_A_HEADER_DEV_INDEX = 1, ETHTOOL_A_HEADER_DEV_NAME = 2, ETHTOOL_A_HEADER_FLAGS = 3, - __ETHTOOL_A_HEADER_CNT = 4, - ETHTOOL_A_HEADER_MAX = 3, + ETHTOOL_A_HEADER_PHY_INDEX = 4, + __ETHTOOL_A_HEADER_CNT = 5, + ETHTOOL_A_HEADER_MAX = 4, +}; + +enum { + ETHTOOL_A_IRQ_MODERATION_UNSPEC = 0, + ETHTOOL_A_IRQ_MODERATION_USEC = 1, + ETHTOOL_A_IRQ_MODERATION_PKTS = 2, + ETHTOOL_A_IRQ_MODERATION_COMPS = 3, + __ETHTOOL_A_IRQ_MODERATION_CNT = 4, + ETHTOOL_A_IRQ_MODERATION_MAX = 3, }; enum { @@ -1424,6 +1472,19 @@ enum { ETHTOOL_A_MODULE_EEPROM_MAX = 7, }; +enum { + ETHTOOL_A_MODULE_FW_FLASH_UNSPEC = 0, + ETHTOOL_A_MODULE_FW_FLASH_HEADER = 1, + ETHTOOL_A_MODULE_FW_FLASH_FILE_NAME = 2, + ETHTOOL_A_MODULE_FW_FLASH_PASSWORD = 3, + ETHTOOL_A_MODULE_FW_FLASH_STATUS = 4, + ETHTOOL_A_MODULE_FW_FLASH_STATUS_MSG = 5, + ETHTOOL_A_MODULE_FW_FLASH_DONE = 6, + ETHTOOL_A_MODULE_FW_FLASH_TOTAL = 7, + __ETHTOOL_A_MODULE_FW_FLASH_CNT = 8, + ETHTOOL_A_MODULE_FW_FLASH_MAX = 7, +}; + enum { ETHTOOL_A_MODULE_UNSPEC = 0, ETHTOOL_A_MODULE_HEADER = 1, @@ -1463,6 +1524,20 @@ enum { ETHTOOL_A_PHC_VCLOCKS_MAX = 3, }; +enum { + ETHTOOL_A_PHY_UNSPEC = 0, + ETHTOOL_A_PHY_HEADER = 1, + ETHTOOL_A_PHY_INDEX = 2, + ETHTOOL_A_PHY_DRVNAME = 3, + ETHTOOL_A_PHY_NAME = 4, + ETHTOOL_A_PHY_UPSTREAM_TYPE = 5, + ETHTOOL_A_PHY_UPSTREAM_INDEX = 6, + ETHTOOL_A_PHY_UPSTREAM_SFP_NAME = 7, + ETHTOOL_A_PHY_DOWNSTREAM_SFP_NAME = 8, + __ETHTOOL_A_PHY_CNT = 9, + ETHTOOL_A_PHY_MAX = 8, +}; + enum { ETHTOOL_A_PLCA_UNSPEC = 0, ETHTOOL_A_PLCA_HEADER = 1, @@ -1486,14 +1561,30 @@ enum { ETHTOOL_A_PRIVFLAGS_MAX = 2, }; +enum { + ETHTOOL_A_PROFILE_UNSPEC = 0, + ETHTOOL_A_PROFILE_IRQ_MODERATION = 1, + __ETHTOOL_A_PROFILE_CNT = 2, + ETHTOOL_A_PROFILE_MAX = 1, +}; + enum { ETHTOOL_A_PSE_UNSPEC = 0, ETHTOOL_A_PSE_HEADER = 1, ETHTOOL_A_PODL_PSE_ADMIN_STATE = 2, ETHTOOL_A_PODL_PSE_ADMIN_CONTROL = 3, ETHTOOL_A_PODL_PSE_PW_D_STATUS = 4, - __ETHTOOL_A_PSE_CNT = 5, - ETHTOOL_A_PSE_MAX = 4, + ETHTOOL_A_C33_PSE_ADMIN_STATE = 5, + ETHTOOL_A_C33_PSE_ADMIN_CONTROL = 6, + ETHTOOL_A_C33_PSE_PW_D_STATUS = 7, + ETHTOOL_A_C33_PSE_PW_CLASS = 8, + ETHTOOL_A_C33_PSE_ACTUAL_PW = 9, + ETHTOOL_A_C33_PSE_EXT_STATE = 10, + ETHTOOL_A_C33_PSE_EXT_SUBSTATE = 11, + ETHTOOL_A_C33_PSE_AVAIL_PW_LIMIT = 12, + ETHTOOL_A_C33_PSE_PW_LIMIT_RANGES = 13, + __ETHTOOL_A_PSE_CNT = 14, + ETHTOOL_A_PSE_MAX = 13, }; enum { @@ -1514,8 +1605,10 @@ enum { ETHTOOL_A_RINGS_RX_PUSH = 14, ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN = 15, ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN_MAX = 16, - __ETHTOOL_A_RINGS_CNT = 17, - ETHTOOL_A_RINGS_MAX = 16, + ETHTOOL_A_RINGS_HDS_THRESH = 17, + ETHTOOL_A_RINGS_HDS_THRESH_MAX = 18, + __ETHTOOL_A_RINGS_CNT = 19, + ETHTOOL_A_RINGS_MAX = 18, }; enum { @@ -1525,8 +1618,10 @@ enum { ETHTOOL_A_RSS_HFUNC = 3, ETHTOOL_A_RSS_INDIR = 4, ETHTOOL_A_RSS_HKEY = 5, - __ETHTOOL_A_RSS_CNT = 6, - ETHTOOL_A_RSS_MAX = 5, + ETHTOOL_A_RSS_INPUT_XFRM = 6, + ETHTOOL_A_RSS_START_CONTEXT = 7, + __ETHTOOL_A_RSS_CNT = 8, + ETHTOOL_A_RSS_MAX = 7, }; enum { @@ -1585,6 +1680,17 @@ enum { ETHTOOL_A_STATS_GRP_MAX = 9, }; +enum { + ETHTOOL_A_STATS_PHY_RX_PKTS = 0, + ETHTOOL_A_STATS_PHY_RX_BYTES = 1, + ETHTOOL_A_STATS_PHY_RX_ERRORS = 2, + ETHTOOL_A_STATS_PHY_TX_PKTS = 3, + ETHTOOL_A_STATS_PHY_TX_BYTES = 4, + ETHTOOL_A_STATS_PHY_TX_ERRORS = 5, + __ETHTOOL_A_STATS_PHY_CNT = 6, + ETHTOOL_A_STATS_PHY_MAX = 5, +}; + enum { ETHTOOL_A_STATS_RMON_UNDERSIZE = 0, ETHTOOL_A_STATS_RMON_OVERSIZE = 1, @@ -1645,6 +1751,17 @@ enum { ETHTOOL_A_STRSET_MAX = 3, }; +enum { + ETHTOOL_A_TSCONFIG_UNSPEC = 0, + ETHTOOL_A_TSCONFIG_HEADER = 1, + ETHTOOL_A_TSCONFIG_HWTSTAMP_PROVIDER = 2, + ETHTOOL_A_TSCONFIG_TX_TYPES = 3, + ETHTOOL_A_TSCONFIG_RX_FILTERS = 4, + ETHTOOL_A_TSCONFIG_HWTSTAMP_FLAGS = 5, + __ETHTOOL_A_TSCONFIG_CNT = 6, + ETHTOOL_A_TSCONFIG_MAX = 5, +}; + enum { ETHTOOL_A_TSINFO_UNSPEC = 0, ETHTOOL_A_TSINFO_HEADER = 1, @@ -1652,8 +1769,28 @@ enum { ETHTOOL_A_TSINFO_TX_TYPES = 3, ETHTOOL_A_TSINFO_RX_FILTERS = 4, ETHTOOL_A_TSINFO_PHC_INDEX = 5, - __ETHTOOL_A_TSINFO_CNT = 6, - ETHTOOL_A_TSINFO_MAX = 5, + ETHTOOL_A_TSINFO_STATS = 6, + ETHTOOL_A_TSINFO_HWTSTAMP_PROVIDER = 7, + __ETHTOOL_A_TSINFO_CNT = 8, + ETHTOOL_A_TSINFO_MAX = 7, +}; + +enum { + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_UNSPEC = 0, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_INDEX = 1, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_QUALIFIER = 2, + __ETHTOOL_A_TS_HWTSTAMP_PROVIDER_CNT = 3, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_MAX = 2, +}; + +enum { + ETHTOOL_A_TS_STAT_UNSPEC = 0, + ETHTOOL_A_TS_STAT_TX_PKTS = 1, + ETHTOOL_A_TS_STAT_TX_LOST = 2, + ETHTOOL_A_TS_STAT_TX_ERR = 3, + ETHTOOL_A_TS_STAT_TX_ONESTEP_PKTS_UNCONFIRMED = 4, + __ETHTOOL_A_TS_STAT_CNT = 5, + ETHTOOL_A_TS_STAT_MAX = 4, }; enum { @@ -1742,8 +1879,13 @@ enum { ETHTOOL_MSG_PLCA_NTF = 41, ETHTOOL_MSG_MM_GET_REPLY = 42, ETHTOOL_MSG_MM_NTF = 43, - __ETHTOOL_MSG_KERNEL_CNT = 44, - ETHTOOL_MSG_KERNEL_MAX = 43, + ETHTOOL_MSG_MODULE_FW_FLASH_NTF = 44, + ETHTOOL_MSG_PHY_GET_REPLY = 45, + ETHTOOL_MSG_PHY_NTF = 46, + ETHTOOL_MSG_TSCONFIG_GET_REPLY = 47, + ETHTOOL_MSG_TSCONFIG_SET_REPLY = 48, + __ETHTOOL_MSG_KERNEL_CNT = 49, + ETHTOOL_MSG_KERNEL_MAX = 48, }; enum { @@ -1791,8 +1933,12 @@ enum { ETHTOOL_MSG_PLCA_GET_STATUS = 41, ETHTOOL_MSG_MM_GET = 42, ETHTOOL_MSG_MM_SET = 43, - __ETHTOOL_MSG_USER_CNT = 44, - ETHTOOL_MSG_USER_MAX = 43, + ETHTOOL_MSG_MODULE_FW_FLASH_ACT = 44, + ETHTOOL_MSG_PHY_GET = 45, + ETHTOOL_MSG_TSCONFIG_GET = 46, + ETHTOOL_MSG_TSCONFIG_SET = 47, + __ETHTOOL_MSG_USER_CNT = 48, + ETHTOOL_MSG_USER_MAX = 47, }; enum { @@ -1800,13 +1946,8 @@ enum { ETHTOOL_STATS_ETH_MAC = 1, ETHTOOL_STATS_ETH_CTRL = 2, ETHTOOL_STATS_RMON = 3, - __ETHTOOL_STATS_CNT = 4, -}; - -enum { - ETHTOOL_TCP_DATA_SPLIT_UNKNOWN = 0, - ETHTOOL_TCP_DATA_SPLIT_DISABLED = 1, - ETHTOOL_TCP_DATA_SPLIT_ENABLED = 2, + ETHTOOL_STATS_PHY = 4, + __ETHTOOL_STATS_CNT = 5, }; enum { @@ -1814,6 +1955,7 @@ enum { ETHTOOL_UDP_TUNNEL_TYPE_GENEVE = 1, ETHTOOL_UDP_TUNNEL_TYPE_VXLAN_GPE = 2, __ETHTOOL_UDP_TUNNEL_TYPE_CNT = 3, + ETHTOOL_UDP_TUNNEL_TYPE_MAX = 2, }; enum { @@ -1823,6 +1965,12 @@ enum { ETH_RSS_HASH_FUNCS_COUNT = 3, }; +enum { + EVENTFS_SAVE_MODE = 65536, + EVENTFS_SAVE_UID = 131072, + EVENTFS_SAVE_GID = 262144, +}; + enum { EVENT_FILE_FL_ENABLED = 1, EVENT_FILE_FL_RECORDED_CMD = 2, @@ -1835,6 +1983,7 @@ enum { EVENT_FILE_FL_TRIGGER_COND = 256, EVENT_FILE_FL_PID_FILTER = 512, EVENT_FILE_FL_WAS_ENABLED = 1024, + EVENT_FILE_FL_FREED = 2048, }; enum { @@ -1849,12 +1998,19 @@ enum { EVENT_FILE_FL_TRIGGER_COND_BIT = 8, EVENT_FILE_FL_PID_FILTER_BIT = 9, EVENT_FILE_FL_WAS_ENABLED_BIT = 10, + EVENT_FILE_FL_FREED_BIT = 11, }; enum { EVENT_TRIGGER_FL_PROBE = 1, }; +enum { + FGRAPH_TYPE_RESERVED = 0, + FGRAPH_TYPE_BITMAP = 1, + FGRAPH_TYPE_DATA = 2, +}; + enum { FIB6_NO_SERNUM_CHANGE = 0, }; @@ -1910,6 +2066,7 @@ enum { FOLL_PIN = 524288, FOLL_FAST_ONLY = 1048576, FOLL_UNLOCKABLE = 2097152, + FOLL_MADV_POPULATE = 4194304, }; enum { @@ -1990,6 +2147,7 @@ enum { FTRACE_OPS_FL_TRACE_ARRAY = 32768, FTRACE_OPS_FL_PERMANENT = 65536, FTRACE_OPS_FL_DIRECT = 131072, + FTRACE_OPS_FL_SUBOP = 262144, }; enum { @@ -2008,12 +2166,6 @@ enum { FTRACE_UPDATE_MAKE_NOP = 3, }; -enum { - GPIOLINE_CHANGED_REQUESTED = 1, - GPIOLINE_CHANGED_RELEASED = 2, - GPIOLINE_CHANGED_CONFIG = 3, -}; - enum { GP_IDLE = 0, GP_ENTER = 1, @@ -2112,6 +2264,11 @@ enum { __ICMP_MIB_MAX = 30, }; +enum { + IDX_MODULE_ID = 0, + IDX_ST_OPS_COMMON_VALUE_ID = 1, +}; + enum { IFAL_ADDRESS = 1, IFAL_LABEL = 2, @@ -2378,7 +2535,9 @@ enum { IFLA_DEVLINK_PORT = 62, IFLA_GSO_IPV4_MAX_SIZE = 63, IFLA_GRO_IPV4_MAX_SIZE = 64, - __IFLA_MAX = 65, + IFLA_DPLL_PIN = 65, + IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, + __IFLA_MAX = 67, }; enum { @@ -2565,6 +2724,17 @@ enum { INET_FLAGS_NODEFRAG = 17, INET_FLAGS_BIND_ADDRESS_NO_PORT = 18, INET_FLAGS_DEFER_CONNECT = 19, + INET_FLAGS_MC6_LOOP = 20, + INET_FLAGS_RECVERR6_RFC4884 = 21, + INET_FLAGS_MC6_ALL = 22, + INET_FLAGS_AUTOFLOWLABEL_SET = 23, + INET_FLAGS_AUTOFLOWLABEL = 24, + INET_FLAGS_DONTFRAG = 25, + INET_FLAGS_RECVERR6 = 26, + INET_FLAGS_REPFLOW = 27, + INET_FLAGS_RTALERT_ISOLATE = 28, + INET_FLAGS_SNDFLOW = 29, + INET_FLAGS_RTALERT = 30, }; enum { @@ -2583,6 +2753,13 @@ enum { __INET_ULP_INFO_MAX = 4, }; +enum { + INSN_F_FRAMENO_MASK = 7, + INSN_F_SPI_MASK = 63, + INSN_F_SPI_SHIFT = 3, + INSN_F_STACK_ACCESS = 512, +}; + enum { INVERT = 1, PROCESS_AND = 2, @@ -2645,47 +2822,6 @@ enum { IORES_DESC_CXL = 9, }; -enum { - IORING_REGISTER_BUFFERS = 0, - IORING_UNREGISTER_BUFFERS = 1, - IORING_REGISTER_FILES = 2, - IORING_UNREGISTER_FILES = 3, - IORING_REGISTER_EVENTFD = 4, - IORING_UNREGISTER_EVENTFD = 5, - IORING_REGISTER_FILES_UPDATE = 6, - IORING_REGISTER_EVENTFD_ASYNC = 7, - IORING_REGISTER_PROBE = 8, - IORING_REGISTER_PERSONALITY = 9, - IORING_UNREGISTER_PERSONALITY = 10, - IORING_REGISTER_RESTRICTIONS = 11, - IORING_REGISTER_ENABLE_RINGS = 12, - IORING_REGISTER_FILES2 = 13, - IORING_REGISTER_FILES_UPDATE2 = 14, - IORING_REGISTER_BUFFERS2 = 15, - IORING_REGISTER_BUFFERS_UPDATE = 16, - IORING_REGISTER_IOWQ_AFF = 17, - IORING_UNREGISTER_IOWQ_AFF = 18, - IORING_REGISTER_IOWQ_MAX_WORKERS = 19, - IORING_REGISTER_RING_FDS = 20, - IORING_UNREGISTER_RING_FDS = 21, - IORING_REGISTER_PBUF_RING = 22, - IORING_UNREGISTER_PBUF_RING = 23, - IORING_REGISTER_SYNC_CANCEL = 24, - IORING_REGISTER_FILE_ALLOC_RANGE = 25, - IORING_REGISTER_LAST = 26, - IORING_REGISTER_USE_REGISTERED_RING = 2147483648, -}; - -enum { - IOSQE_FIXED_FILE_BIT = 0, - IOSQE_IO_DRAIN_BIT = 1, - IOSQE_IO_LINK_BIT = 2, - IOSQE_IO_HARDLINK_BIT = 3, - IOSQE_ASYNC_BIT = 4, - IOSQE_BUFFER_SELECT_BIT = 5, - IOSQE_CQE_SKIP_SUCCESS_BIT = 6, -}; - enum { IP6_FH_F_FRAG = 1, IP6_FH_F_AUTH = 2, @@ -2719,7 +2855,9 @@ enum { IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, + IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, + IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, IPPROTO_MAX = 263, }; @@ -2730,7 +2868,7 @@ enum { IPSTATS_MIB_INOCTETS = 2, IPSTATS_MIB_INDELIVERS = 3, IPSTATS_MIB_OUTFORWDATAGRAMS = 4, - IPSTATS_MIB_OUTPKTS = 5, + IPSTATS_MIB_OUTREQUESTS = 5, IPSTATS_MIB_OUTOCTETS = 6, IPSTATS_MIB_INHDRERRORS = 7, IPSTATS_MIB_INTOOBIGERRORS = 8, @@ -2762,7 +2900,8 @@ enum { IPSTATS_MIB_ECT0PKTS = 34, IPSTATS_MIB_CEPKTS = 35, IPSTATS_MIB_REASM_OVERLAPS = 36, - __IPSTATS_MIB_MAX = 37, + IPSTATS_MIB_OUTPKTS = 37, + __IPSTATS_MIB_MAX = 38, }; enum { @@ -2815,6 +2954,29 @@ enum { IPV6_SADDR_RULE_MAX = 9, }; +enum { + IP_TUNNEL_CSUM_BIT = 0, + IP_TUNNEL_ROUTING_BIT = 1, + IP_TUNNEL_KEY_BIT = 2, + IP_TUNNEL_SEQ_BIT = 3, + IP_TUNNEL_STRICT_BIT = 4, + IP_TUNNEL_REC_BIT = 5, + IP_TUNNEL_VERSION_BIT = 6, + IP_TUNNEL_NO_KEY_BIT = 7, + IP_TUNNEL_DONT_FRAGMENT_BIT = 8, + IP_TUNNEL_OAM_BIT = 9, + IP_TUNNEL_CRIT_OPT_BIT = 10, + IP_TUNNEL_GENEVE_OPT_BIT = 11, + IP_TUNNEL_VXLAN_OPT_BIT = 12, + IP_TUNNEL_NOCACHE_BIT = 13, + IP_TUNNEL_ERSPAN_OPT_BIT = 14, + IP_TUNNEL_GTP_OPT_BIT = 15, + IP_TUNNEL_VTI_BIT = 16, + IP_TUNNEL_SIT_ISATAP_BIT = 16, + IP_TUNNEL_PFCP_OPT_BIT = 17, + __IP_TUNNEL_FLAG_NUM = 18, +}; + enum { IRQCHIP_FWNODE_REAL = 0, IRQCHIP_FWNODE_NAMED = 1, @@ -2834,6 +2996,7 @@ enum { IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND = 512, IRQCHIP_AFFINITY_PRE_STARTUP = 1024, IRQCHIP_IMMUTABLE = 2048, + IRQCHIP_MOVE_DEFERRED = 4096, }; enum { @@ -2850,7 +3013,6 @@ enum { IRQD_AFFINITY_SET = 4096, IRQD_LEVEL = 8192, IRQD_WAKEUP_STATE = 16384, - IRQD_MOVE_PCNTXT = 32768, IRQD_IRQ_DISABLED = 65536, IRQD_IRQ_MASKED = 131072, IRQD_IRQ_INPROGRESS = 262144, @@ -2862,11 +3024,10 @@ enum { IRQD_SINGLE_TARGET = 16777216, IRQD_DEFAULT_TRIGGER_SET = 33554432, IRQD_CAN_RESERVE = 67108864, - IRQD_MSI_NOMASK_QUIRK = 134217728, - IRQD_HANDLE_ENFORCE_IRQCTX = 268435456, - IRQD_AFFINITY_ON_ACTIVATE = 536870912, - IRQD_IRQ_ENABLED_ON_SUSPEND = 1073741824, - IRQD_RESEND_WHEN_IN_PROGRESS = 2147483648, + IRQD_HANDLE_ENFORCE_IRQCTX = 134217728, + IRQD_AFFINITY_ON_ACTIVATE = 268435456, + IRQD_IRQ_ENABLED_ON_SUSPEND = 536870912, + IRQD_RESEND_WHEN_IN_PROGRESS = 1073741824, }; enum { @@ -2901,6 +3062,7 @@ enum { IRQ_DOMAIN_FLAG_NO_MAP = 64, IRQ_DOMAIN_FLAG_MSI_PARENT = 256, IRQ_DOMAIN_FLAG_MSI_DEVICE = 512, + IRQ_DOMAIN_FLAG_DESTROY_GC = 1024, IRQ_DOMAIN_FLAG_NONCORE = 65536, }; @@ -2933,7 +3095,6 @@ enum { IRQ_NOREQUEST = 2048, IRQ_NOAUTOEN = 4096, IRQ_NO_BALANCING = 8192, - IRQ_MOVE_PCNTXT = 16384, IRQ_NESTED_THREAD = 32768, IRQ_NOTHREAD = 65536, IRQ_PER_CPU_DEVID = 131072, @@ -2958,6 +3119,7 @@ enum { KF_ARG_LIST_NODE_ID = 2, KF_ARG_RB_ROOT_ID = 3, KF_ARG_RB_NODE_ID = 4, + KF_ARG_WORKQUEUE_ID = 5, }; enum { @@ -3013,6 +3175,7 @@ enum { ATA_DFLAG_INIT_MASK = 1048575, ATA_DFLAG_NCQ_PRIO_ENABLED = 1048576, ATA_DFLAG_CDL_ENABLED = 2097152, + ATA_DFLAG_RESUMING = 4194304, ATA_DFLAG_DETACH = 16777216, ATA_DFLAG_DETACHED = 33554432, ATA_DFLAG_DA = 67108864, @@ -3105,8 +3268,6 @@ enum { ATA_HOST_NO_PART = 16, ATA_HOST_NO_SSC = 32, ATA_HOST_NO_DEVSLP = 64, - ATA_TMOUT_BOOT = 30000, - ATA_TMOUT_BOOT_QUICK = 7000, ATA_TMOUT_INTERNAL_QUICK = 5000, ATA_TMOUT_MAX_PARK = 30000, ATA_TMOUT_FF_WAIT_LONG = 2000, @@ -3159,6 +3320,7 @@ enum { ATA_EHI_PRINTINFO = 262144, ATA_EHI_SETMODE = 524288, ATA_EHI_POST_SETMODE = 1048576, + ATA_EHI_DID_PRINT_QUIRKS = 2097152, ATA_EHI_DID_RESET = 196608, ATA_EHI_TO_SLAVE_MASK = 12, ATA_EH_MAX_TRIES = 5, @@ -3168,36 +3330,37 @@ enum { ATA_EH_PMP_LINK_TRIES = 3, SATA_PMP_RW_TIMEOUT = 3000, ATA_EH_CMD_TIMEOUT_TABLE_SIZE = 8, - ATA_HORKAGE_DIAGNOSTIC = 1, - ATA_HORKAGE_NODMA = 2, - ATA_HORKAGE_NONCQ = 4, - ATA_HORKAGE_MAX_SEC_128 = 8, - ATA_HORKAGE_BROKEN_HPA = 16, - ATA_HORKAGE_DISABLE = 32, - ATA_HORKAGE_HPA_SIZE = 64, - ATA_HORKAGE_IVB = 256, - ATA_HORKAGE_STUCK_ERR = 512, - ATA_HORKAGE_BRIDGE_OK = 1024, - ATA_HORKAGE_ATAPI_MOD16_DMA = 2048, - ATA_HORKAGE_FIRMWARE_WARN = 4096, - ATA_HORKAGE_1_5_GBPS = 8192, - ATA_HORKAGE_NOSETXFER = 16384, - ATA_HORKAGE_BROKEN_FPDMA_AA = 32768, - ATA_HORKAGE_DUMP_ID = 65536, - ATA_HORKAGE_MAX_SEC_LBA48 = 131072, - ATA_HORKAGE_ATAPI_DMADIR = 262144, - ATA_HORKAGE_NO_NCQ_TRIM = 524288, - ATA_HORKAGE_NOLPM = 1048576, - ATA_HORKAGE_WD_BROKEN_LPM = 2097152, - ATA_HORKAGE_ZERO_AFTER_TRIM = 4194304, - ATA_HORKAGE_NO_DMA_LOG = 8388608, - ATA_HORKAGE_NOTRIM = 16777216, - ATA_HORKAGE_MAX_SEC_1024 = 33554432, - ATA_HORKAGE_MAX_TRIM_128M = 67108864, - ATA_HORKAGE_NO_NCQ_ON_ATI = 134217728, - ATA_HORKAGE_NO_ID_DEV_LOG = 268435456, - ATA_HORKAGE_NO_LOG_DIR = 536870912, - ATA_HORKAGE_NO_FUA = 1073741824, + ATA_QUIRK_DIAGNOSTIC = 1, + ATA_QUIRK_NODMA = 2, + ATA_QUIRK_NONCQ = 4, + ATA_QUIRK_MAX_SEC_128 = 8, + ATA_QUIRK_BROKEN_HPA = 16, + ATA_QUIRK_DISABLE = 32, + ATA_QUIRK_HPA_SIZE = 64, + ATA_QUIRK_IVB = 128, + ATA_QUIRK_STUCK_ERR = 256, + ATA_QUIRK_BRIDGE_OK = 512, + ATA_QUIRK_ATAPI_MOD16_DMA = 1024, + ATA_QUIRK_FIRMWARE_WARN = 2048, + ATA_QUIRK_1_5_GBPS = 4096, + ATA_QUIRK_NOSETXFER = 8192, + ATA_QUIRK_BROKEN_FPDMA_AA = 16384, + ATA_QUIRK_DUMP_ID = 32768, + ATA_QUIRK_MAX_SEC_LBA48 = 65536, + ATA_QUIRK_ATAPI_DMADIR = 131072, + ATA_QUIRK_NO_NCQ_TRIM = 262144, + ATA_QUIRK_NOLPM = 524288, + ATA_QUIRK_WD_BROKEN_LPM = 1048576, + ATA_QUIRK_ZERO_AFTER_TRIM = 2097152, + ATA_QUIRK_NO_DMA_LOG = 4194304, + ATA_QUIRK_NOTRIM = 8388608, + ATA_QUIRK_MAX_SEC_1024 = 16777216, + ATA_QUIRK_MAX_TRIM_128M = 33554432, + ATA_QUIRK_NO_NCQ_ON_ATI = 67108864, + ATA_QUIRK_NO_LPM_ON_ATI = 134217728, + ATA_QUIRK_NO_ID_DEV_LOG = 268435456, + ATA_QUIRK_NO_LOG_DIR = 536870912, + ATA_QUIRK_NO_FUA = 1073741824, ATA_DMA_MASK_ATA = 1, ATA_DMA_MASK_ATAPI = 2, ATA_DMA_MASK_CFA = 4, @@ -3242,118 +3405,124 @@ enum { LINUX_MIB_TIMEWAITKILLED = 13, LINUX_MIB_PAWSACTIVEREJECTED = 14, LINUX_MIB_PAWSESTABREJECTED = 15, - LINUX_MIB_DELAYEDACKS = 16, - LINUX_MIB_DELAYEDACKLOCKED = 17, - LINUX_MIB_DELAYEDACKLOST = 18, - LINUX_MIB_LISTENOVERFLOWS = 19, - LINUX_MIB_LISTENDROPS = 20, - LINUX_MIB_TCPHPHITS = 21, - LINUX_MIB_TCPPUREACKS = 22, - LINUX_MIB_TCPHPACKS = 23, - LINUX_MIB_TCPRENORECOVERY = 24, - LINUX_MIB_TCPSACKRECOVERY = 25, - LINUX_MIB_TCPSACKRENEGING = 26, - LINUX_MIB_TCPSACKREORDER = 27, - LINUX_MIB_TCPRENOREORDER = 28, - LINUX_MIB_TCPTSREORDER = 29, - LINUX_MIB_TCPFULLUNDO = 30, - LINUX_MIB_TCPPARTIALUNDO = 31, - LINUX_MIB_TCPDSACKUNDO = 32, - LINUX_MIB_TCPLOSSUNDO = 33, - LINUX_MIB_TCPLOSTRETRANSMIT = 34, - LINUX_MIB_TCPRENOFAILURES = 35, - LINUX_MIB_TCPSACKFAILURES = 36, - LINUX_MIB_TCPLOSSFAILURES = 37, - LINUX_MIB_TCPFASTRETRANS = 38, - LINUX_MIB_TCPSLOWSTARTRETRANS = 39, - LINUX_MIB_TCPTIMEOUTS = 40, - LINUX_MIB_TCPLOSSPROBES = 41, - LINUX_MIB_TCPLOSSPROBERECOVERY = 42, - LINUX_MIB_TCPRENORECOVERYFAIL = 43, - LINUX_MIB_TCPSACKRECOVERYFAIL = 44, - LINUX_MIB_TCPRCVCOLLAPSED = 45, - LINUX_MIB_TCPDSACKOLDSENT = 46, - LINUX_MIB_TCPDSACKOFOSENT = 47, - LINUX_MIB_TCPDSACKRECV = 48, - LINUX_MIB_TCPDSACKOFORECV = 49, - LINUX_MIB_TCPABORTONDATA = 50, - LINUX_MIB_TCPABORTONCLOSE = 51, - LINUX_MIB_TCPABORTONMEMORY = 52, - LINUX_MIB_TCPABORTONTIMEOUT = 53, - LINUX_MIB_TCPABORTONLINGER = 54, - LINUX_MIB_TCPABORTFAILED = 55, - LINUX_MIB_TCPMEMORYPRESSURES = 56, - LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 57, - LINUX_MIB_TCPSACKDISCARD = 58, - LINUX_MIB_TCPDSACKIGNOREDOLD = 59, - LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 60, - LINUX_MIB_TCPSPURIOUSRTOS = 61, - LINUX_MIB_TCPMD5NOTFOUND = 62, - LINUX_MIB_TCPMD5UNEXPECTED = 63, - LINUX_MIB_TCPMD5FAILURE = 64, - LINUX_MIB_SACKSHIFTED = 65, - LINUX_MIB_SACKMERGED = 66, - LINUX_MIB_SACKSHIFTFALLBACK = 67, - LINUX_MIB_TCPBACKLOGDROP = 68, - LINUX_MIB_PFMEMALLOCDROP = 69, - LINUX_MIB_TCPMINTTLDROP = 70, - LINUX_MIB_TCPDEFERACCEPTDROP = 71, - LINUX_MIB_IPRPFILTER = 72, - LINUX_MIB_TCPTIMEWAITOVERFLOW = 73, - LINUX_MIB_TCPREQQFULLDOCOOKIES = 74, - LINUX_MIB_TCPREQQFULLDROP = 75, - LINUX_MIB_TCPRETRANSFAIL = 76, - LINUX_MIB_TCPRCVCOALESCE = 77, - LINUX_MIB_TCPBACKLOGCOALESCE = 78, - LINUX_MIB_TCPOFOQUEUE = 79, - LINUX_MIB_TCPOFODROP = 80, - LINUX_MIB_TCPOFOMERGE = 81, - LINUX_MIB_TCPCHALLENGEACK = 82, - LINUX_MIB_TCPSYNCHALLENGE = 83, - LINUX_MIB_TCPFASTOPENACTIVE = 84, - LINUX_MIB_TCPFASTOPENACTIVEFAIL = 85, - LINUX_MIB_TCPFASTOPENPASSIVE = 86, - LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 87, - LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 88, - LINUX_MIB_TCPFASTOPENCOOKIEREQD = 89, - LINUX_MIB_TCPFASTOPENBLACKHOLE = 90, - LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 91, - LINUX_MIB_BUSYPOLLRXPACKETS = 92, - LINUX_MIB_TCPAUTOCORKING = 93, - LINUX_MIB_TCPFROMZEROWINDOWADV = 94, - LINUX_MIB_TCPTOZEROWINDOWADV = 95, - LINUX_MIB_TCPWANTZEROWINDOWADV = 96, - LINUX_MIB_TCPSYNRETRANS = 97, - LINUX_MIB_TCPORIGDATASENT = 98, - LINUX_MIB_TCPHYSTARTTRAINDETECT = 99, - LINUX_MIB_TCPHYSTARTTRAINCWND = 100, - LINUX_MIB_TCPHYSTARTDELAYDETECT = 101, - LINUX_MIB_TCPHYSTARTDELAYCWND = 102, - LINUX_MIB_TCPACKSKIPPEDSYNRECV = 103, - LINUX_MIB_TCPACKSKIPPEDPAWS = 104, - LINUX_MIB_TCPACKSKIPPEDSEQ = 105, - LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 106, - LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 107, - LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 108, - LINUX_MIB_TCPWINPROBE = 109, - LINUX_MIB_TCPKEEPALIVE = 110, - LINUX_MIB_TCPMTUPFAIL = 111, - LINUX_MIB_TCPMTUPSUCCESS = 112, - LINUX_MIB_TCPDELIVERED = 113, - LINUX_MIB_TCPDELIVEREDCE = 114, - LINUX_MIB_TCPACKCOMPRESSED = 115, - LINUX_MIB_TCPZEROWINDOWDROP = 116, - LINUX_MIB_TCPRCVQDROP = 117, - LINUX_MIB_TCPWQUEUETOOBIG = 118, - LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 119, - LINUX_MIB_TCPTIMEOUTREHASH = 120, - LINUX_MIB_TCPDUPLICATEDATAREHASH = 121, - LINUX_MIB_TCPDSACKRECVSEGS = 122, - LINUX_MIB_TCPDSACKIGNOREDDUBIOUS = 123, - LINUX_MIB_TCPMIGRATEREQSUCCESS = 124, - LINUX_MIB_TCPMIGRATEREQFAILURE = 125, - LINUX_MIB_TCPPLBREHASH = 126, - __LINUX_MIB_MAX = 127, + LINUX_MIB_PAWS_OLD_ACK = 16, + LINUX_MIB_DELAYEDACKS = 17, + LINUX_MIB_DELAYEDACKLOCKED = 18, + LINUX_MIB_DELAYEDACKLOST = 19, + LINUX_MIB_LISTENOVERFLOWS = 20, + LINUX_MIB_LISTENDROPS = 21, + LINUX_MIB_TCPHPHITS = 22, + LINUX_MIB_TCPPUREACKS = 23, + LINUX_MIB_TCPHPACKS = 24, + LINUX_MIB_TCPRENORECOVERY = 25, + LINUX_MIB_TCPSACKRECOVERY = 26, + LINUX_MIB_TCPSACKRENEGING = 27, + LINUX_MIB_TCPSACKREORDER = 28, + LINUX_MIB_TCPRENOREORDER = 29, + LINUX_MIB_TCPTSREORDER = 30, + LINUX_MIB_TCPFULLUNDO = 31, + LINUX_MIB_TCPPARTIALUNDO = 32, + LINUX_MIB_TCPDSACKUNDO = 33, + LINUX_MIB_TCPLOSSUNDO = 34, + LINUX_MIB_TCPLOSTRETRANSMIT = 35, + LINUX_MIB_TCPRENOFAILURES = 36, + LINUX_MIB_TCPSACKFAILURES = 37, + LINUX_MIB_TCPLOSSFAILURES = 38, + LINUX_MIB_TCPFASTRETRANS = 39, + LINUX_MIB_TCPSLOWSTARTRETRANS = 40, + LINUX_MIB_TCPTIMEOUTS = 41, + LINUX_MIB_TCPLOSSPROBES = 42, + LINUX_MIB_TCPLOSSPROBERECOVERY = 43, + LINUX_MIB_TCPRENORECOVERYFAIL = 44, + LINUX_MIB_TCPSACKRECOVERYFAIL = 45, + LINUX_MIB_TCPRCVCOLLAPSED = 46, + LINUX_MIB_TCPDSACKOLDSENT = 47, + LINUX_MIB_TCPDSACKOFOSENT = 48, + LINUX_MIB_TCPDSACKRECV = 49, + LINUX_MIB_TCPDSACKOFORECV = 50, + LINUX_MIB_TCPABORTONDATA = 51, + LINUX_MIB_TCPABORTONCLOSE = 52, + LINUX_MIB_TCPABORTONMEMORY = 53, + LINUX_MIB_TCPABORTONTIMEOUT = 54, + LINUX_MIB_TCPABORTONLINGER = 55, + LINUX_MIB_TCPABORTFAILED = 56, + LINUX_MIB_TCPMEMORYPRESSURES = 57, + LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 58, + LINUX_MIB_TCPSACKDISCARD = 59, + LINUX_MIB_TCPDSACKIGNOREDOLD = 60, + LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 61, + LINUX_MIB_TCPSPURIOUSRTOS = 62, + LINUX_MIB_TCPMD5NOTFOUND = 63, + LINUX_MIB_TCPMD5UNEXPECTED = 64, + LINUX_MIB_TCPMD5FAILURE = 65, + LINUX_MIB_SACKSHIFTED = 66, + LINUX_MIB_SACKMERGED = 67, + LINUX_MIB_SACKSHIFTFALLBACK = 68, + LINUX_MIB_TCPBACKLOGDROP = 69, + LINUX_MIB_PFMEMALLOCDROP = 70, + LINUX_MIB_TCPMINTTLDROP = 71, + LINUX_MIB_TCPDEFERACCEPTDROP = 72, + LINUX_MIB_IPRPFILTER = 73, + LINUX_MIB_TCPTIMEWAITOVERFLOW = 74, + LINUX_MIB_TCPREQQFULLDOCOOKIES = 75, + LINUX_MIB_TCPREQQFULLDROP = 76, + LINUX_MIB_TCPRETRANSFAIL = 77, + LINUX_MIB_TCPRCVCOALESCE = 78, + LINUX_MIB_TCPBACKLOGCOALESCE = 79, + LINUX_MIB_TCPOFOQUEUE = 80, + LINUX_MIB_TCPOFODROP = 81, + LINUX_MIB_TCPOFOMERGE = 82, + LINUX_MIB_TCPCHALLENGEACK = 83, + LINUX_MIB_TCPSYNCHALLENGE = 84, + LINUX_MIB_TCPFASTOPENACTIVE = 85, + LINUX_MIB_TCPFASTOPENACTIVEFAIL = 86, + LINUX_MIB_TCPFASTOPENPASSIVE = 87, + LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 88, + LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 89, + LINUX_MIB_TCPFASTOPENCOOKIEREQD = 90, + LINUX_MIB_TCPFASTOPENBLACKHOLE = 91, + LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 92, + LINUX_MIB_BUSYPOLLRXPACKETS = 93, + LINUX_MIB_TCPAUTOCORKING = 94, + LINUX_MIB_TCPFROMZEROWINDOWADV = 95, + LINUX_MIB_TCPTOZEROWINDOWADV = 96, + LINUX_MIB_TCPWANTZEROWINDOWADV = 97, + LINUX_MIB_TCPSYNRETRANS = 98, + LINUX_MIB_TCPORIGDATASENT = 99, + LINUX_MIB_TCPHYSTARTTRAINDETECT = 100, + LINUX_MIB_TCPHYSTARTTRAINCWND = 101, + LINUX_MIB_TCPHYSTARTDELAYDETECT = 102, + LINUX_MIB_TCPHYSTARTDELAYCWND = 103, + LINUX_MIB_TCPACKSKIPPEDSYNRECV = 104, + LINUX_MIB_TCPACKSKIPPEDPAWS = 105, + LINUX_MIB_TCPACKSKIPPEDSEQ = 106, + LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 107, + LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 108, + LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 109, + LINUX_MIB_TCPWINPROBE = 110, + LINUX_MIB_TCPKEEPALIVE = 111, + LINUX_MIB_TCPMTUPFAIL = 112, + LINUX_MIB_TCPMTUPSUCCESS = 113, + LINUX_MIB_TCPDELIVERED = 114, + LINUX_MIB_TCPDELIVEREDCE = 115, + LINUX_MIB_TCPACKCOMPRESSED = 116, + LINUX_MIB_TCPZEROWINDOWDROP = 117, + LINUX_MIB_TCPRCVQDROP = 118, + LINUX_MIB_TCPWQUEUETOOBIG = 119, + LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 120, + LINUX_MIB_TCPTIMEOUTREHASH = 121, + LINUX_MIB_TCPDUPLICATEDATAREHASH = 122, + LINUX_MIB_TCPDSACKRECVSEGS = 123, + LINUX_MIB_TCPDSACKIGNOREDDUBIOUS = 124, + LINUX_MIB_TCPMIGRATEREQSUCCESS = 125, + LINUX_MIB_TCPMIGRATEREQFAILURE = 126, + LINUX_MIB_TCPPLBREHASH = 127, + LINUX_MIB_TCPAOREQUIRED = 128, + LINUX_MIB_TCPAOBAD = 129, + LINUX_MIB_TCPAOKEYNOTFOUND = 130, + LINUX_MIB_TCPAOGOOD = 131, + LINUX_MIB_TCPAODROPPEDICMPS = 132, + __LINUX_MIB_MAX = 133, }; enum { @@ -3370,7 +3539,12 @@ enum { LINUX_MIB_TLSRXDEVICERESYNC = 10, LINUX_MIB_TLSDECRYPTRETRY = 11, LINUX_MIB_TLSRXNOPADVIOL = 12, - __LINUX_MIB_TLSMAX = 13, + LINUX_MIB_TLSRXREKEYOK = 13, + LINUX_MIB_TLSRXREKEYERROR = 14, + LINUX_MIB_TLSTXREKEYOK = 15, + LINUX_MIB_TLSTXREKEYERROR = 16, + LINUX_MIB_TLSRXREKEYRECEIVED = 17, + __LINUX_MIB_TLSMAX = 18, }; enum { @@ -3403,7 +3577,11 @@ enum { LINUX_MIB_XFRMFWDHDRERROR = 26, LINUX_MIB_XFRMOUTSTATEINVALID = 27, LINUX_MIB_XFRMACQUIREERROR = 28, - __LINUX_MIB_XFRMMAX = 29, + LINUX_MIB_XFRMOUTSTATEDIRERROR = 29, + LINUX_MIB_XFRMINSTATEDIRERROR = 30, + LINUX_MIB_XFRMINIPTFSERROR = 31, + LINUX_MIB_XFRMOUTNOQSPACE = 32, + __LINUX_MIB_XFRMMAX = 33, }; enum { @@ -3460,6 +3638,13 @@ enum { MAX_OPT_ARGS = 3, }; +enum { + MDBA_GET_ENTRY_UNSPEC = 0, + MDBA_GET_ENTRY = 1, + MDBA_GET_ENTRY_ATTRS = 2, + __MDBA_GET_ENTRY_MAX = 3, +}; + enum { MDBA_SET_ENTRY_UNSPEC = 0, MDBA_SET_ENTRY = 1, @@ -3495,7 +3680,9 @@ enum { MSI_FLAG_DEV_SYSFS = 16, MSI_FLAG_ALLOC_SIMPLE_MSI_DESCS = 32, MSI_FLAG_FREE_MSI_DESCS = 64, - MSI_FLAG_NOMASK_QUIRK = 128, + MSI_FLAG_USE_DEV_FWNODE = 128, + MSI_FLAG_PARENT_PM_DEV = 256, + MSI_FLAG_PCI_MSI_MASK_PARENT = 512, MSI_GENERIC_FLAGS_MASK = 65535, MSI_DOMAIN_FLAGS_MASK = 4294901760, MSI_FLAG_MULTI_PCI_MSI = 65536, @@ -3503,7 +3690,7 @@ enum { MSI_FLAG_LEVEL_CAPABLE = 262144, MSI_FLAG_MSIX_CONTIGUOUS = 524288, MSI_FLAG_PCI_MSIX_ALLOC_DYN = 1048576, - MSI_FLAG_PCI_IMS = 2097152, + MSI_FLAG_NO_AFFINITY = 2097152, }; enum { @@ -3519,6 +3706,11 @@ enum { NAPIF_STATE_SCHED_THREADED = 512, }; +enum { + NAPI_F_PREFER_BUSY_POLL = 1, + NAPI_F_END_ON_RESCHED = 2, +}; + enum { NAPI_STATE_SCHED = 0, NAPI_STATE_MISSED = 1, @@ -3601,9 +3793,8 @@ enum { enum { NEIGH_ARP_TABLE = 0, NEIGH_ND_TABLE = 1, - NEIGH_DN_TABLE = 2, - NEIGH_NR_TABLES = 3, - NEIGH_LINK_TABLE = 3, + NEIGH_NR_TABLES = 2, + NEIGH_LINK_TABLE = 2, }; enum { @@ -3654,8 +3845,106 @@ enum { NETDEV_A_DEV_PAD = 2, NETDEV_A_DEV_XDP_FEATURES = 3, NETDEV_A_DEV_XDP_ZC_MAX_SEGS = 4, - __NETDEV_A_DEV_MAX = 5, - NETDEV_A_DEV_MAX = 4, + NETDEV_A_DEV_XDP_RX_METADATA_FEATURES = 5, + NETDEV_A_DEV_XSK_FEATURES = 6, + __NETDEV_A_DEV_MAX = 7, + NETDEV_A_DEV_MAX = 6, +}; + +enum { + NETDEV_A_DMABUF_IFINDEX = 1, + NETDEV_A_DMABUF_QUEUES = 2, + NETDEV_A_DMABUF_FD = 3, + NETDEV_A_DMABUF_ID = 4, + __NETDEV_A_DMABUF_MAX = 5, + NETDEV_A_DMABUF_MAX = 4, +}; + +enum { + NETDEV_A_NAPI_IFINDEX = 1, + NETDEV_A_NAPI_ID = 2, + NETDEV_A_NAPI_IRQ = 3, + NETDEV_A_NAPI_PID = 4, + NETDEV_A_NAPI_DEFER_HARD_IRQS = 5, + NETDEV_A_NAPI_GRO_FLUSH_TIMEOUT = 6, + NETDEV_A_NAPI_IRQ_SUSPEND_TIMEOUT = 7, + __NETDEV_A_NAPI_MAX = 8, + NETDEV_A_NAPI_MAX = 7, +}; + +enum { + NETDEV_A_PAGE_POOL_ID = 1, + NETDEV_A_PAGE_POOL_IFINDEX = 2, + NETDEV_A_PAGE_POOL_NAPI_ID = 3, + NETDEV_A_PAGE_POOL_INFLIGHT = 4, + NETDEV_A_PAGE_POOL_INFLIGHT_MEM = 5, + NETDEV_A_PAGE_POOL_DETACH_TIME = 6, + NETDEV_A_PAGE_POOL_DMABUF = 7, + __NETDEV_A_PAGE_POOL_MAX = 8, + NETDEV_A_PAGE_POOL_MAX = 7, +}; + +enum { + NETDEV_A_PAGE_POOL_STATS_INFO = 1, + NETDEV_A_PAGE_POOL_STATS_ALLOC_FAST = 8, + NETDEV_A_PAGE_POOL_STATS_ALLOC_SLOW = 9, + NETDEV_A_PAGE_POOL_STATS_ALLOC_SLOW_HIGH_ORDER = 10, + NETDEV_A_PAGE_POOL_STATS_ALLOC_EMPTY = 11, + NETDEV_A_PAGE_POOL_STATS_ALLOC_REFILL = 12, + NETDEV_A_PAGE_POOL_STATS_ALLOC_WAIVE = 13, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_CACHED = 14, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_CACHE_FULL = 15, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RING = 16, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RING_FULL = 17, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RELEASED_REFCNT = 18, + __NETDEV_A_PAGE_POOL_STATS_MAX = 19, + NETDEV_A_PAGE_POOL_STATS_MAX = 18, +}; + +enum { + NETDEV_A_QSTATS_IFINDEX = 1, + NETDEV_A_QSTATS_QUEUE_TYPE = 2, + NETDEV_A_QSTATS_QUEUE_ID = 3, + NETDEV_A_QSTATS_SCOPE = 4, + NETDEV_A_QSTATS_RX_PACKETS = 8, + NETDEV_A_QSTATS_RX_BYTES = 9, + NETDEV_A_QSTATS_TX_PACKETS = 10, + NETDEV_A_QSTATS_TX_BYTES = 11, + NETDEV_A_QSTATS_RX_ALLOC_FAIL = 12, + NETDEV_A_QSTATS_RX_HW_DROPS = 13, + NETDEV_A_QSTATS_RX_HW_DROP_OVERRUNS = 14, + NETDEV_A_QSTATS_RX_CSUM_COMPLETE = 15, + NETDEV_A_QSTATS_RX_CSUM_UNNECESSARY = 16, + NETDEV_A_QSTATS_RX_CSUM_NONE = 17, + NETDEV_A_QSTATS_RX_CSUM_BAD = 18, + NETDEV_A_QSTATS_RX_HW_GRO_PACKETS = 19, + NETDEV_A_QSTATS_RX_HW_GRO_BYTES = 20, + NETDEV_A_QSTATS_RX_HW_GRO_WIRE_PACKETS = 21, + NETDEV_A_QSTATS_RX_HW_GRO_WIRE_BYTES = 22, + NETDEV_A_QSTATS_RX_HW_DROP_RATELIMITS = 23, + NETDEV_A_QSTATS_TX_HW_DROPS = 24, + NETDEV_A_QSTATS_TX_HW_DROP_ERRORS = 25, + NETDEV_A_QSTATS_TX_CSUM_NONE = 26, + NETDEV_A_QSTATS_TX_NEEDS_CSUM = 27, + NETDEV_A_QSTATS_TX_HW_GSO_PACKETS = 28, + NETDEV_A_QSTATS_TX_HW_GSO_BYTES = 29, + NETDEV_A_QSTATS_TX_HW_GSO_WIRE_PACKETS = 30, + NETDEV_A_QSTATS_TX_HW_GSO_WIRE_BYTES = 31, + NETDEV_A_QSTATS_TX_HW_DROP_RATELIMITS = 32, + NETDEV_A_QSTATS_TX_STOP = 33, + NETDEV_A_QSTATS_TX_WAKE = 34, + __NETDEV_A_QSTATS_MAX = 35, + NETDEV_A_QSTATS_MAX = 34, +}; + +enum { + NETDEV_A_QUEUE_ID = 1, + NETDEV_A_QUEUE_IFINDEX = 2, + NETDEV_A_QUEUE_TYPE = 3, + NETDEV_A_QUEUE_NAPI_ID = 4, + NETDEV_A_QUEUE_DMABUF = 5, + __NETDEV_A_QUEUE_MAX = 6, + NETDEV_A_QUEUE_MAX = 5, }; enum { @@ -3663,12 +3952,23 @@ enum { NETDEV_CMD_DEV_ADD_NTF = 2, NETDEV_CMD_DEV_DEL_NTF = 3, NETDEV_CMD_DEV_CHANGE_NTF = 4, - __NETDEV_CMD_MAX = 5, - NETDEV_CMD_MAX = 4, + NETDEV_CMD_PAGE_POOL_GET = 5, + NETDEV_CMD_PAGE_POOL_ADD_NTF = 6, + NETDEV_CMD_PAGE_POOL_DEL_NTF = 7, + NETDEV_CMD_PAGE_POOL_CHANGE_NTF = 8, + NETDEV_CMD_PAGE_POOL_STATS_GET = 9, + NETDEV_CMD_QUEUE_GET = 10, + NETDEV_CMD_NAPI_GET = 11, + NETDEV_CMD_QSTATS_GET = 12, + NETDEV_CMD_BIND_RX = 13, + NETDEV_CMD_NAPI_SET = 14, + __NETDEV_CMD_MAX = 15, + NETDEV_CMD_MAX = 14, }; enum { NETDEV_NLGRP_MGMT = 0, + NETDEV_NLGRP_PAGE_POOL = 1, }; enum { @@ -3684,8 +3984,8 @@ enum { NETIF_F_HW_VLAN_CTAG_FILTER_BIT = 9, NETIF_F_VLAN_CHALLENGED_BIT = 10, NETIF_F_GSO_BIT = 11, - NETIF_F_LLTX_BIT = 12, - NETIF_F_NETNS_LOCAL_BIT = 13, + __UNUSED_NETIF_F_12 = 12, + __UNUSED_NETIF_F_13 = 13, NETIF_F_GRO_BIT = 14, NETIF_F_LRO_BIT = 15, NETIF_F_GSO_SHIFT = 16, @@ -3711,7 +4011,7 @@ enum { NETIF_F_GSO_LAST = 34, NETIF_F_FCOE_CRC_BIT = 35, NETIF_F_SCTP_CRC_BIT = 36, - NETIF_F_FCOE_MTU_BIT = 37, + __UNUSED_NETIF_F_37 = 37, NETIF_F_NTUPLE_BIT = 38, NETIF_F_RXHASH_BIT = 39, NETIF_F_RXCSUM_BIT = 40, @@ -3814,6 +4114,20 @@ enum { NFPROTO_NUMPROTO = 11, }; +enum { + NHA_GROUP_STATS_ENTRY_UNSPEC = 0, + NHA_GROUP_STATS_ENTRY_ID = 1, + NHA_GROUP_STATS_ENTRY_PACKETS = 2, + NHA_GROUP_STATS_ENTRY_PACKETS_HW = 3, + __NHA_GROUP_STATS_ENTRY_MAX = 4, +}; + +enum { + NHA_GROUP_STATS_UNSPEC = 0, + NHA_GROUP_STATS_ENTRY = 1, + __NHA_GROUP_STATS_MAX = 2, +}; + enum { NHA_RES_BUCKET_UNSPEC = 0, NHA_RES_BUCKET_PAD = 0, @@ -3848,7 +4162,11 @@ enum { NHA_FDB = 11, NHA_RES_GROUP = 12, NHA_RES_BUCKET = 13, - __NHA_MAX = 14, + NHA_OP_FLAGS = 14, + NHA_GROUP_STATS = 15, + NHA_HW_STATS_ENABLE = 16, + NHA_HW_STATS_USED = 17, + __NHA_MAX = 18, }; enum { @@ -3872,7 +4190,9 @@ enum { NLA_REJECT = 17, NLA_BE16 = 18, NLA_BE32 = 19, - __NLA_TYPE_MAX = 20, + NLA_SINT = 20, + NLA_UINT = 21, + __NLA_TYPE_MAX = 22, }; enum { @@ -3891,22 +4211,26 @@ enum { NVME_CC_ENABLE = 1, NVME_CC_EN_SHIFT = 0, NVME_CC_CSS_SHIFT = 4, - NVME_CC_MPS_SHIFT = 7, - NVME_CC_AMS_SHIFT = 11, - NVME_CC_SHN_SHIFT = 14, - NVME_CC_IOSQES_SHIFT = 16, - NVME_CC_IOCQES_SHIFT = 20, + NVME_CC_CSS_MASK = 112, NVME_CC_CSS_NVM = 0, NVME_CC_CSS_CSI = 96, - NVME_CC_CSS_MASK = 112, + NVME_CC_MPS_SHIFT = 7, + NVME_CC_MPS_MASK = 1920, + NVME_CC_AMS_SHIFT = 11, + NVME_CC_AMS_MASK = 14336, NVME_CC_AMS_RR = 0, NVME_CC_AMS_WRRU = 2048, NVME_CC_AMS_VS = 14336, + NVME_CC_SHN_SHIFT = 14, + NVME_CC_SHN_MASK = 49152, NVME_CC_SHN_NONE = 0, NVME_CC_SHN_NORMAL = 16384, NVME_CC_SHN_ABRUPT = 32768, - NVME_CC_SHN_MASK = 49152, + NVME_CC_IOSQES_SHIFT = 16, + NVME_CC_IOSQES_MASK = 983040, NVME_CC_IOSQES = 393216, + NVME_CC_IOCQES_SHIFT = 20, + NVME_CC_IOCQES_MASK = 15728640, NVME_CC_IOCQES = 4194304, NVME_CC_CRIME = 16777216, }; @@ -3949,14 +4273,19 @@ enum { }; enum { - OPT_MODE = 0, + OPT_UID = 0, + OPT_GID = 1, + OPT_MODE = 2, + OPT_DELEGATE_CMDS = 3, + OPT_DELEGATE_MAPS = 4, + OPT_DELEGATE_PROGS = 5, + OPT_DELEGATE_ATTACHS = 6, }; enum { Opt_uid = 0, Opt_gid = 1, Opt_mode = 2, - Opt_err = 3, }; enum { @@ -3991,29 +4320,6 @@ enum { POOL_EARLY_BITS = 128, }; -enum { - POOL_MANAGER_ACTIVE = 1, - POOL_DISASSOCIATED = 4, - WORKER_DIE = 2, - WORKER_IDLE = 4, - WORKER_PREP = 8, - WORKER_CPU_INTENSIVE = 64, - WORKER_UNBOUND = 128, - WORKER_REBOUND = 256, - WORKER_NOT_RUNNING = 456, - NR_STD_WORKER_POOLS = 2, - UNBOUND_POOL_HASH_ORDER = 6, - BUSY_WORKER_HASH_ORDER = 6, - MAX_IDLE_WORKERS_RATIO = 4, - IDLE_WORKER_TIMEOUT = 75000, - MAYDAY_INITIAL_TIMEOUT = 2, - MAYDAY_INTERVAL = 25, - CREATE_COOLDOWN = 250, - RESCUER_NICE_LEVEL = -20, - HIGHPRI_NICE_LEVEL = -20, - WQ_NAME_LEN = 24, -}; - enum { PREFIX_UNSPEC = 0, PREFIX_ADDRESS = 1, @@ -4072,12 +4378,6 @@ enum { REGION_MIXED = 2, }; -enum { - REG_OP_ISFREE = 0, - REG_OP_ALLOC = 1, - REG_OP_RELEASE = 2, -}; - enum { REQ_F_FIXED_FILE_BIT = 0, REQ_F_IO_DRAIN_BIT = 1, @@ -4093,23 +4393,29 @@ enum { REQ_F_LINK_TIMEOUT_BIT = 12, REQ_F_NEED_CLEANUP_BIT = 13, REQ_F_POLLED_BIT = 14, - REQ_F_BUFFER_SELECTED_BIT = 15, - REQ_F_BUFFER_RING_BIT = 16, - REQ_F_REISSUE_BIT = 17, - REQ_F_CREDS_BIT = 18, - REQ_F_REFCOUNT_BIT = 19, - REQ_F_ARM_LTIMEOUT_BIT = 20, - REQ_F_ASYNC_DATA_BIT = 21, - REQ_F_SKIP_LINK_CQES_BIT = 22, - REQ_F_SINGLE_POLL_BIT = 23, - REQ_F_DOUBLE_POLL_BIT = 24, - REQ_F_PARTIAL_IO_BIT = 25, + REQ_F_HYBRID_IOPOLL_STATE_BIT = 15, + REQ_F_BUFFER_SELECTED_BIT = 16, + REQ_F_BUFFER_RING_BIT = 17, + REQ_F_REISSUE_BIT = 18, + REQ_F_CREDS_BIT = 19, + REQ_F_REFCOUNT_BIT = 20, + REQ_F_ARM_LTIMEOUT_BIT = 21, + REQ_F_ASYNC_DATA_BIT = 22, + REQ_F_SKIP_LINK_CQES_BIT = 23, + REQ_F_SINGLE_POLL_BIT = 24, + REQ_F_DOUBLE_POLL_BIT = 25, REQ_F_APOLL_MULTISHOT_BIT = 26, REQ_F_CLEAR_POLLIN_BIT = 27, - REQ_F_HASH_LOCKED_BIT = 28, - REQ_F_SUPPORT_NOWAIT_BIT = 29, - REQ_F_ISREG_BIT = 30, - __REQ_F_LAST_BIT = 31, + REQ_F_SUPPORT_NOWAIT_BIT = 28, + REQ_F_ISREG_BIT = 29, + REQ_F_POLL_NO_LAZY_BIT = 30, + REQ_F_CAN_POLL_BIT = 31, + REQ_F_BL_EMPTY_BIT = 32, + REQ_F_BL_NO_RECYCLE_BIT = 33, + REQ_F_BUFFERS_COMMIT_BIT = 34, + REQ_F_BUF_NODE_BIT = 35, + REQ_F_HAS_METADATA_BIT = 36, + __REQ_F_LAST_BIT = 37, }; enum { @@ -4165,7 +4471,11 @@ enum { RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, + RTM_NEWMULTICAST = 56, + RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, + RTM_NEWANYCAST = 60, + RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -4247,23 +4557,6 @@ enum { SCM_TSTAMP_ACK = 2, }; -enum { - SD_BALANCE_NEWIDLE = 1, - SD_BALANCE_EXEC = 2, - SD_BALANCE_FORK = 4, - SD_BALANCE_WAKE = 8, - SD_WAKE_AFFINE = 16, - SD_ASYM_CPUCAPACITY = 32, - SD_ASYM_CPUCAPACITY_FULL = 64, - SD_SHARE_CPUCAPACITY = 128, - SD_SHARE_PKG_RESOURCES = 256, - SD_SERIALIZE = 512, - SD_ASYM_PACKING = 1024, - SD_PREFER_SIBLING = 2048, - SD_OVERLAP = 4096, - SD_NUMA = 8192, -}; - enum { SEG6_ATTR_UNSPEC = 0, SEG6_ATTR_DST = 1, @@ -4285,6 +4578,136 @@ enum { __SEG6_CMD_MAX = 5, }; +enum { + SFF8024_ID_UNK = 0, + SFF8024_ID_SFF_8472 = 2, + SFF8024_ID_SFP = 3, + SFF8024_ID_DWDM_SFP = 11, + SFF8024_ID_QSFP_8438 = 12, + SFF8024_ID_QSFP_8436_8636 = 13, + SFF8024_ID_QSFP28_8636 = 17, + SFF8024_ID_QSFP_DD = 24, + SFF8024_ID_OSFP = 25, + SFF8024_ID_DSFP = 27, + SFF8024_ID_QSFP_PLUS_CMIS = 30, + SFF8024_ID_SFP_DD_CMIS = 31, + SFF8024_ID_SFP_PLUS_CMIS = 32, + SFF8024_ENCODING_UNSPEC = 0, + SFF8024_ENCODING_8B10B = 1, + SFF8024_ENCODING_4B5B = 2, + SFF8024_ENCODING_NRZ = 3, + SFF8024_ENCODING_8472_MANCHESTER = 4, + SFF8024_ENCODING_8472_SONET = 5, + SFF8024_ENCODING_8472_64B66B = 6, + SFF8024_ENCODING_8436_MANCHESTER = 6, + SFF8024_ENCODING_8436_SONET = 4, + SFF8024_ENCODING_8436_64B66B = 5, + SFF8024_ENCODING_256B257B = 7, + SFF8024_ENCODING_PAM4 = 8, + SFF8024_CONNECTOR_UNSPEC = 0, + SFF8024_CONNECTOR_SC = 1, + SFF8024_CONNECTOR_FIBERJACK = 6, + SFF8024_CONNECTOR_LC = 7, + SFF8024_CONNECTOR_MT_RJ = 8, + SFF8024_CONNECTOR_MU = 9, + SFF8024_CONNECTOR_SG = 10, + SFF8024_CONNECTOR_OPTICAL_PIGTAIL = 11, + SFF8024_CONNECTOR_MPO_1X12 = 12, + SFF8024_CONNECTOR_MPO_2X16 = 13, + SFF8024_CONNECTOR_HSSDC_II = 32, + SFF8024_CONNECTOR_COPPER_PIGTAIL = 33, + SFF8024_CONNECTOR_RJ45 = 34, + SFF8024_CONNECTOR_NOSEPARATE = 35, + SFF8024_CONNECTOR_MXC_2X16 = 36, + SFF8024_ECC_UNSPEC = 0, + SFF8024_ECC_100G_25GAUI_C2M_AOC = 1, + SFF8024_ECC_100GBASE_SR4_25GBASE_SR = 2, + SFF8024_ECC_100GBASE_LR4_25GBASE_LR = 3, + SFF8024_ECC_100GBASE_ER4_25GBASE_ER = 4, + SFF8024_ECC_100GBASE_SR10 = 5, + SFF8024_ECC_100GBASE_CR4 = 11, + SFF8024_ECC_25GBASE_CR_S = 12, + SFF8024_ECC_25GBASE_CR_N = 13, + SFF8024_ECC_10GBASE_T_SFI = 22, + SFF8024_ECC_10GBASE_T_SR = 28, + SFF8024_ECC_5GBASE_T = 29, + SFF8024_ECC_2_5GBASE_T = 30, +}; + +enum { + SFP_PHYS_ID = 0, + SFP_PHYS_EXT_ID = 1, + SFP_PHYS_EXT_ID_SFP = 4, + SFP_CONNECTOR = 2, + SFP_COMPLIANCE = 3, + SFP_ENCODING = 11, + SFP_BR_NOMINAL = 12, + SFP_RATE_ID = 13, + SFF_RID_8079 = 1, + SFF_RID_8431_RX_ONLY = 2, + SFF_RID_8431_TX_ONLY = 4, + SFF_RID_8431 = 6, + SFF_RID_10G8G = 14, + SFP_LINK_LEN_SM_KM = 14, + SFP_LINK_LEN_SM_100M = 15, + SFP_LINK_LEN_50UM_OM2_10M = 16, + SFP_LINK_LEN_62_5UM_OM1_10M = 17, + SFP_LINK_LEN_COPPER_1M = 18, + SFP_LINK_LEN_50UM_OM4_10M = 18, + SFP_LINK_LEN_50UM_OM3_10M = 19, + SFP_VENDOR_NAME = 20, + SFP_VENDOR_OUI = 37, + SFP_VENDOR_PN = 40, + SFP_VENDOR_REV = 56, + SFP_OPTICAL_WAVELENGTH_MSB = 60, + SFP_OPTICAL_WAVELENGTH_LSB = 61, + SFP_CABLE_SPEC = 60, + SFP_CC_BASE = 63, + SFP_OPTIONS = 64, + SFP_OPTIONS_HIGH_POWER_LEVEL = 8192, + SFP_OPTIONS_PAGING_A2 = 4096, + SFP_OPTIONS_RETIMER = 2048, + SFP_OPTIONS_COOLED_XCVR = 1024, + SFP_OPTIONS_POWER_DECL = 512, + SFP_OPTIONS_RX_LINEAR_OUT = 256, + SFP_OPTIONS_RX_DECISION_THRESH = 128, + SFP_OPTIONS_TUNABLE_TX = 64, + SFP_OPTIONS_RATE_SELECT = 32, + SFP_OPTIONS_TX_DISABLE = 16, + SFP_OPTIONS_TX_FAULT = 8, + SFP_OPTIONS_LOS_INVERTED = 4, + SFP_OPTIONS_LOS_NORMAL = 2, + SFP_BR_MAX = 66, + SFP_BR_MIN = 67, + SFP_VENDOR_SN = 68, + SFP_DATECODE = 84, + SFP_DIAGMON = 92, + SFP_DIAGMON_DDM = 64, + SFP_DIAGMON_INT_CAL = 32, + SFP_DIAGMON_EXT_CAL = 16, + SFP_DIAGMON_RXPWR_AVG = 8, + SFP_DIAGMON_ADDRMODE = 4, + SFP_ENHOPTS = 93, + SFP_ENHOPTS_ALARMWARN = 128, + SFP_ENHOPTS_SOFT_TX_DISABLE = 64, + SFP_ENHOPTS_SOFT_TX_FAULT = 32, + SFP_ENHOPTS_SOFT_RX_LOS = 16, + SFP_ENHOPTS_SOFT_RATE_SELECT = 8, + SFP_ENHOPTS_APP_SELECT_SFF8079 = 4, + SFP_ENHOPTS_SOFT_RATE_SFF8431 = 2, + SFP_SFF8472_COMPLIANCE = 94, + SFP_SFF8472_COMPLIANCE_NONE = 0, + SFP_SFF8472_COMPLIANCE_REV9_3 = 1, + SFP_SFF8472_COMPLIANCE_REV9_5 = 2, + SFP_SFF8472_COMPLIANCE_REV10_2 = 3, + SFP_SFF8472_COMPLIANCE_REV10_4 = 4, + SFP_SFF8472_COMPLIANCE_REV11_0 = 5, + SFP_SFF8472_COMPLIANCE_REV11_3 = 6, + SFP_SFF8472_COMPLIANCE_REV11_4 = 7, + SFP_SFF8472_COMPLIANCE_REV12_0 = 8, + SFP_CC_EXT = 95, +}; + enum { SKBFL_ZEROCOPY_ENABLE = 1, SKBFL_SHARED_FRAG = 2, @@ -4389,8 +4812,9 @@ enum { SOF_TIMESTAMPING_OPT_TX_SWHW = 16384, SOF_TIMESTAMPING_BIND_PHC = 32768, SOF_TIMESTAMPING_OPT_ID_TCP = 65536, - SOF_TIMESTAMPING_LAST = 65536, - SOF_TIMESTAMPING_MASK = 131071, + SOF_TIMESTAMPING_OPT_RX_FILTER = 131072, + SOF_TIMESTAMPING_LAST = 131072, + SOF_TIMESTAMPING_MASK = 262143, }; enum { @@ -4424,7 +4848,6 @@ enum { SWP_PAGE_DISCARD = 1024, SWP_STABLE_WRITES = 2048, SWP_SYNCHRONOUS_IO = 4096, - SWP_SCANNING = 16384, }; enum { @@ -4443,6 +4866,16 @@ enum { TASK_COMM_LEN = 16, }; +enum { + TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT = 1, + TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST = 2, + TCA_FLOWER_KEY_FLAGS_TUNNEL_CSUM = 4, + TCA_FLOWER_KEY_FLAGS_TUNNEL_DONT_FRAGMENT = 8, + TCA_FLOWER_KEY_FLAGS_TUNNEL_OAM = 16, + TCA_FLOWER_KEY_FLAGS_TUNNEL_CRIT_OPT = 32, + __TCA_FLOWER_KEY_FLAGS_MAX = 33, +}; + enum { TCA_STATS_UNSPEC = 0, TCA_STATS_BASIC = 1, @@ -4490,6 +4923,7 @@ enum { TCPF_LISTEN = 1024, TCPF_CLOSING = 2048, TCPF_NEW_SYN_RECV = 4096, + TCPF_BOUND_INACTIVE = 8192, }; enum { @@ -4514,6 +4948,7 @@ enum { TCP_BPF_SYN = 1005, TCP_BPF_SYN_IP = 1006, TCP_BPF_SYN_MAC = 1007, + TCP_BPF_SOCK_OPS_CB_FLAGS = 1008, }; enum { @@ -4534,7 +4969,8 @@ enum { TCP_LISTEN = 10, TCP_CLOSING = 11, TCP_NEW_SYN_RECV = 12, - TCP_MAX_STATES = 13, + TCP_BOUND_INACTIVE = 13, + TCP_MAX_STATES = 14, }; enum { @@ -4657,78 +5093,85 @@ enum { TP_ERR_NON_UNIQ_SYMBOL = 10, TP_ERR_BAD_RETPROBE = 11, TP_ERR_NO_TRACEPOINT = 12, - TP_ERR_BAD_ADDR_SUFFIX = 13, - TP_ERR_NO_GROUP_NAME = 14, - TP_ERR_GROUP_TOO_LONG = 15, - TP_ERR_BAD_GROUP_NAME = 16, - TP_ERR_NO_EVENT_NAME = 17, - TP_ERR_EVENT_TOO_LONG = 18, - TP_ERR_BAD_EVENT_NAME = 19, - TP_ERR_EVENT_EXIST = 20, - TP_ERR_RETVAL_ON_PROBE = 21, - TP_ERR_NO_RETVAL = 22, - TP_ERR_BAD_STACK_NUM = 23, - TP_ERR_BAD_ARG_NUM = 24, - TP_ERR_BAD_VAR = 25, - TP_ERR_BAD_REG_NAME = 26, - TP_ERR_BAD_MEM_ADDR = 27, - TP_ERR_BAD_IMM = 28, - TP_ERR_IMMSTR_NO_CLOSE = 29, - TP_ERR_FILE_ON_KPROBE = 30, - TP_ERR_BAD_FILE_OFFS = 31, - TP_ERR_SYM_ON_UPROBE = 32, - TP_ERR_TOO_MANY_OPS = 33, - TP_ERR_DEREF_NEED_BRACE = 34, - TP_ERR_BAD_DEREF_OFFS = 35, - TP_ERR_DEREF_OPEN_BRACE = 36, - TP_ERR_COMM_CANT_DEREF = 37, - TP_ERR_BAD_FETCH_ARG = 38, - TP_ERR_ARRAY_NO_CLOSE = 39, - TP_ERR_BAD_ARRAY_SUFFIX = 40, - TP_ERR_BAD_ARRAY_NUM = 41, - TP_ERR_ARRAY_TOO_BIG = 42, - TP_ERR_BAD_TYPE = 43, - TP_ERR_BAD_STRING = 44, - TP_ERR_BAD_SYMSTRING = 45, - TP_ERR_BAD_BITFIELD = 46, - TP_ERR_ARG_NAME_TOO_LONG = 47, - TP_ERR_NO_ARG_NAME = 48, - TP_ERR_BAD_ARG_NAME = 49, - TP_ERR_USED_ARG_NAME = 50, - TP_ERR_ARG_TOO_LONG = 51, - TP_ERR_NO_ARG_BODY = 52, - TP_ERR_BAD_INSN_BNDRY = 53, - TP_ERR_FAIL_REG_PROBE = 54, - TP_ERR_DIFF_PROBE_TYPE = 55, - TP_ERR_DIFF_ARG_TYPE = 56, - TP_ERR_SAME_PROBE = 57, - TP_ERR_NO_EVENT_INFO = 58, - TP_ERR_BAD_ATTACH_EVENT = 59, - TP_ERR_BAD_ATTACH_ARG = 60, - TP_ERR_NO_EP_FILTER = 61, - TP_ERR_NOSUP_BTFARG = 62, - TP_ERR_NO_BTFARG = 63, - TP_ERR_NO_BTF_ENTRY = 64, - TP_ERR_BAD_VAR_ARGS = 65, - TP_ERR_NOFENTRY_ARGS = 66, - TP_ERR_DOUBLE_ARGS = 67, - TP_ERR_ARGS_2LONG = 68, - TP_ERR_ARGIDX_2BIG = 69, - TP_ERR_NO_PTR_STRCT = 70, - TP_ERR_NOSUP_DAT_ARG = 71, - TP_ERR_BAD_HYPHEN = 72, - TP_ERR_NO_BTF_FIELD = 73, - TP_ERR_BAD_BTF_TID = 74, - TP_ERR_BAD_TYPE4STR = 75, + TP_ERR_BAD_TP_NAME = 13, + TP_ERR_BAD_ADDR_SUFFIX = 14, + TP_ERR_NO_GROUP_NAME = 15, + TP_ERR_GROUP_TOO_LONG = 16, + TP_ERR_BAD_GROUP_NAME = 17, + TP_ERR_NO_EVENT_NAME = 18, + TP_ERR_EVENT_TOO_LONG = 19, + TP_ERR_BAD_EVENT_NAME = 20, + TP_ERR_EVENT_EXIST = 21, + TP_ERR_RETVAL_ON_PROBE = 22, + TP_ERR_NO_RETVAL = 23, + TP_ERR_BAD_STACK_NUM = 24, + TP_ERR_BAD_ARG_NUM = 25, + TP_ERR_BAD_VAR = 26, + TP_ERR_BAD_REG_NAME = 27, + TP_ERR_BAD_MEM_ADDR = 28, + TP_ERR_BAD_IMM = 29, + TP_ERR_IMMSTR_NO_CLOSE = 30, + TP_ERR_FILE_ON_KPROBE = 31, + TP_ERR_BAD_FILE_OFFS = 32, + TP_ERR_SYM_ON_UPROBE = 33, + TP_ERR_TOO_MANY_OPS = 34, + TP_ERR_DEREF_NEED_BRACE = 35, + TP_ERR_BAD_DEREF_OFFS = 36, + TP_ERR_DEREF_OPEN_BRACE = 37, + TP_ERR_COMM_CANT_DEREF = 38, + TP_ERR_BAD_FETCH_ARG = 39, + TP_ERR_ARRAY_NO_CLOSE = 40, + TP_ERR_BAD_ARRAY_SUFFIX = 41, + TP_ERR_BAD_ARRAY_NUM = 42, + TP_ERR_ARRAY_TOO_BIG = 43, + TP_ERR_BAD_TYPE = 44, + TP_ERR_BAD_STRING = 45, + TP_ERR_BAD_SYMSTRING = 46, + TP_ERR_BAD_BITFIELD = 47, + TP_ERR_ARG_NAME_TOO_LONG = 48, + TP_ERR_NO_ARG_NAME = 49, + TP_ERR_BAD_ARG_NAME = 50, + TP_ERR_USED_ARG_NAME = 51, + TP_ERR_ARG_TOO_LONG = 52, + TP_ERR_NO_ARG_BODY = 53, + TP_ERR_BAD_INSN_BNDRY = 54, + TP_ERR_FAIL_REG_PROBE = 55, + TP_ERR_DIFF_PROBE_TYPE = 56, + TP_ERR_DIFF_ARG_TYPE = 57, + TP_ERR_SAME_PROBE = 58, + TP_ERR_NO_EVENT_INFO = 59, + TP_ERR_BAD_ATTACH_EVENT = 60, + TP_ERR_BAD_ATTACH_ARG = 61, + TP_ERR_NO_EP_FILTER = 62, + TP_ERR_NOSUP_BTFARG = 63, + TP_ERR_NO_BTFARG = 64, + TP_ERR_NO_BTF_ENTRY = 65, + TP_ERR_BAD_VAR_ARGS = 66, + TP_ERR_NOFENTRY_ARGS = 67, + TP_ERR_DOUBLE_ARGS = 68, + TP_ERR_ARGS_2LONG = 69, + TP_ERR_ARGIDX_2BIG = 70, + TP_ERR_NO_PTR_STRCT = 71, + TP_ERR_NOSUP_DAT_ARG = 72, + TP_ERR_BAD_HYPHEN = 73, + TP_ERR_NO_BTF_FIELD = 74, + TP_ERR_BAD_BTF_TID = 75, + TP_ERR_BAD_TYPE4STR = 76, + TP_ERR_NEED_STRING_TYPE = 77, + TP_ERR_TOO_MANY_EARGS = 78, }; enum { TRACEFS_EVENT_INODE = 2, - TRACEFS_EVENT_TOP_INODE = 4, + TRACEFS_GID_PERM_SET = 4, + TRACEFS_UID_PERM_SET = 8, + TRACEFS_INSTANCE_INODE = 16, }; enum { TRACE_ARRAY_FL_GLOBAL = 1, + TRACE_ARRAY_FL_BOOT = 2, + TRACE_ARRAY_FL_MOD_INIT = 4, }; enum { @@ -4740,31 +5183,31 @@ enum { }; enum { - TRACE_EVENT_FL_FILTERED = 1, - TRACE_EVENT_FL_CAP_ANY = 2, - TRACE_EVENT_FL_NO_SET_FILTER = 4, - TRACE_EVENT_FL_IGNORE_ENABLE = 8, - TRACE_EVENT_FL_TRACEPOINT = 16, - TRACE_EVENT_FL_DYNAMIC = 32, - TRACE_EVENT_FL_KPROBE = 64, - TRACE_EVENT_FL_UPROBE = 128, - TRACE_EVENT_FL_EPROBE = 256, - TRACE_EVENT_FL_FPROBE = 512, - TRACE_EVENT_FL_CUSTOM = 1024, + TRACE_EVENT_FL_CAP_ANY = 1, + TRACE_EVENT_FL_NO_SET_FILTER = 2, + TRACE_EVENT_FL_IGNORE_ENABLE = 4, + TRACE_EVENT_FL_TRACEPOINT = 8, + TRACE_EVENT_FL_DYNAMIC = 16, + TRACE_EVENT_FL_KPROBE = 32, + TRACE_EVENT_FL_UPROBE = 64, + TRACE_EVENT_FL_EPROBE = 128, + TRACE_EVENT_FL_FPROBE = 256, + TRACE_EVENT_FL_CUSTOM = 512, + TRACE_EVENT_FL_TEST_STR = 1024, }; enum { - TRACE_EVENT_FL_FILTERED_BIT = 0, - TRACE_EVENT_FL_CAP_ANY_BIT = 1, - TRACE_EVENT_FL_NO_SET_FILTER_BIT = 2, - TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 3, - TRACE_EVENT_FL_TRACEPOINT_BIT = 4, - TRACE_EVENT_FL_DYNAMIC_BIT = 5, - TRACE_EVENT_FL_KPROBE_BIT = 6, - TRACE_EVENT_FL_UPROBE_BIT = 7, - TRACE_EVENT_FL_EPROBE_BIT = 8, - TRACE_EVENT_FL_FPROBE_BIT = 9, - TRACE_EVENT_FL_CUSTOM_BIT = 10, + TRACE_EVENT_FL_CAP_ANY_BIT = 0, + TRACE_EVENT_FL_NO_SET_FILTER_BIT = 1, + TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 2, + TRACE_EVENT_FL_TRACEPOINT_BIT = 3, + TRACE_EVENT_FL_DYNAMIC_BIT = 4, + TRACE_EVENT_FL_KPROBE_BIT = 5, + TRACE_EVENT_FL_UPROBE_BIT = 6, + TRACE_EVENT_FL_EPROBE_BIT = 7, + TRACE_EVENT_FL_FPROBE_BIT = 8, + TRACE_EVENT_FL_CUSTOM_BIT = 9, + TRACE_EVENT_FL_TEST_STR_BIT = 10, }; enum { @@ -4780,11 +5223,7 @@ enum { TRACE_INTERNAL_TRANSITION_BIT = 9, TRACE_BRANCH_BIT = 10, TRACE_IRQ_BIT = 11, - TRACE_GRAPH_BIT = 12, - TRACE_GRAPH_DEPTH_START_BIT = 13, - TRACE_GRAPH_DEPTH_END_BIT = 14, - TRACE_GRAPH_NOTRACE_BIT = 15, - TRACE_RECORD_RECURSION_BIT = 16, + TRACE_RECORD_RECURSION_BIT = 12, }; enum { @@ -4794,6 +5233,13 @@ enum { TRACE_FUNC_OPT_HIGHEST_BIT = 4, }; +enum { + TRACE_GRAPH_FL = 1, + TRACE_GRAPH_DEPTH_START_BIT = 2, + TRACE_GRAPH_DEPTH_END_BIT = 3, + TRACE_GRAPH_NOTRACE_BIT = 4, +}; + enum { TRACE_NOP_OPT_ACCEPT = 1, TRACE_NOP_OPT_REFUSE = 2, @@ -4818,6 +5264,18 @@ enum { UDP_BPF_NUM_PROTS = 2, }; +enum { + UDP_FLAGS_CORK = 0, + UDP_FLAGS_NO_CHECK6_TX = 1, + UDP_FLAGS_NO_CHECK6_RX = 2, + UDP_FLAGS_GRO_ENABLED = 3, + UDP_FLAGS_ACCEPT_FRAGLIST = 4, + UDP_FLAGS_ACCEPT_L4 = 5, + UDP_FLAGS_ENCAP_ENABLED = 6, + UDP_FLAGS_UDPLITE_SEND_CC = 7, + UDP_FLAGS_UDPLITE_RECV_CC = 8, +}; + enum { UDP_MIB_NUM = 0, UDP_MIB_INDATAGRAMS = 1, @@ -4852,50 +5310,6 @@ enum { WALK_NOFOLLOW = 4, }; -enum { - WORK_STRUCT_PENDING_BIT = 0, - WORK_STRUCT_INACTIVE_BIT = 1, - WORK_STRUCT_PWQ_BIT = 2, - WORK_STRUCT_LINKED_BIT = 3, - WORK_STRUCT_COLOR_SHIFT = 4, - WORK_STRUCT_COLOR_BITS = 4, - WORK_STRUCT_PENDING = 1, - WORK_STRUCT_INACTIVE = 2, - WORK_STRUCT_PWQ = 4, - WORK_STRUCT_LINKED = 8, - WORK_STRUCT_STATIC = 0, - WORK_NR_COLORS = 16, - WORK_CPU_UNBOUND = 64, - WORK_STRUCT_FLAG_BITS = 8, - WORK_OFFQ_FLAG_BASE = 4, - __WORK_OFFQ_CANCELING = 4, - WORK_OFFQ_FLAG_BITS = 1, - WORK_OFFQ_POOL_SHIFT = 5, - WORK_OFFQ_LEFT = 59, - WORK_OFFQ_POOL_BITS = 31, - WORK_BUSY_PENDING = 1, - WORK_BUSY_RUNNING = 2, - WORKER_DESC_LEN = 24, -}; - -enum { - WQ_UNBOUND = 2, - WQ_FREEZABLE = 4, - WQ_MEM_RECLAIM = 8, - WQ_HIGHPRI = 16, - WQ_CPU_INTENSIVE = 32, - WQ_SYSFS = 64, - WQ_POWER_EFFICIENT = 128, - __WQ_DESTROYING = 32768, - __WQ_DRAINING = 65536, - __WQ_ORDERED = 131072, - __WQ_LEGACY = 262144, - __WQ_ORDERED_EXPLICIT = 524288, - WQ_MAX_ACTIVE = 512, - WQ_UNBOUND_MAX_ACTIVE = 512, - WQ_DFL_ACTIVE = 256, -}; - enum { XA_CHECK_SCHED = 4096, }; @@ -4908,12 +5322,6 @@ enum { XDP_ATTACHED_MULTI = 4, }; -enum { - XDP_METADATA_KFUNC_RX_TIMESTAMP = 0, - XDP_METADATA_KFUNC_RX_HASH = 1, - MAX_XDP_METADATA_KFUNC = 2, -}; - enum { XFRM_LOOKUP_ICMP = 1, XFRM_LOOKUP_QUEUE = 2, @@ -4971,14 +5379,13 @@ enum { }; enum { - _IRQ_DEFAULT_INIT_FLAGS = 0, + _IRQ_DEFAULT_INIT_FLAGS = 1024, _IRQ_PER_CPU = 512, _IRQ_LEVEL = 256, _IRQ_NOPROBE = 1024, _IRQ_NOREQUEST = 2048, _IRQ_NOTHREAD = 65536, _IRQ_NOAUTOEN = 4096, - _IRQ_MOVE_PCNTXT = 16384, _IRQ_NO_BALANCING = 8192, _IRQ_NESTED_THREAD = 32768, _IRQ_PER_CPU_DEVID = 131072, @@ -4986,7 +5393,7 @@ enum { _IRQ_DISABLE_UNLAZY = 524288, _IRQ_HIDDEN = 1048576, _IRQ_NO_DEBUG = 2097152, - _IRQF_MODIFY_MASK = 2096911, + _IRQF_MODIFY_MASK = 2080527, }; enum { @@ -5017,48 +5424,58 @@ enum { enum { __SCHED_FEAT_PLACE_LAG = 0, __SCHED_FEAT_PLACE_DEADLINE_INITIAL = 1, - __SCHED_FEAT_RUN_TO_PARITY = 2, - __SCHED_FEAT_NEXT_BUDDY = 3, - __SCHED_FEAT_CACHE_HOT_BUDDY = 4, - __SCHED_FEAT_WAKEUP_PREEMPTION = 5, - __SCHED_FEAT_HRTICK = 6, - __SCHED_FEAT_HRTICK_DL = 7, - __SCHED_FEAT_DOUBLE_TICK = 8, - __SCHED_FEAT_NONTASK_CAPACITY = 9, - __SCHED_FEAT_TTWU_QUEUE = 10, - __SCHED_FEAT_SIS_PROP = 11, - __SCHED_FEAT_SIS_UTIL = 12, - __SCHED_FEAT_WARN_DOUBLE_CLOCK = 13, - __SCHED_FEAT_RT_PUSH_IPI = 14, - __SCHED_FEAT_RT_RUNTIME_SHARE = 15, - __SCHED_FEAT_LB_MIN = 16, - __SCHED_FEAT_ATTACH_AGE_LOAD = 17, - __SCHED_FEAT_WA_IDLE = 18, - __SCHED_FEAT_WA_WEIGHT = 19, - __SCHED_FEAT_WA_BIAS = 20, - __SCHED_FEAT_UTIL_EST = 21, - __SCHED_FEAT_UTIL_EST_FASTUP = 22, - __SCHED_FEAT_LATENCY_WARN = 23, - __SCHED_FEAT_HZ_BW = 24, + __SCHED_FEAT_PLACE_REL_DEADLINE = 2, + __SCHED_FEAT_RUN_TO_PARITY = 3, + __SCHED_FEAT_PREEMPT_SHORT = 4, + __SCHED_FEAT_NEXT_BUDDY = 5, + __SCHED_FEAT_PICK_BUDDY = 6, + __SCHED_FEAT_CACHE_HOT_BUDDY = 7, + __SCHED_FEAT_DELAY_DEQUEUE = 8, + __SCHED_FEAT_DELAY_ZERO = 9, + __SCHED_FEAT_WAKEUP_PREEMPTION = 10, + __SCHED_FEAT_HRTICK = 11, + __SCHED_FEAT_HRTICK_DL = 12, + __SCHED_FEAT_NONTASK_CAPACITY = 13, + __SCHED_FEAT_TTWU_QUEUE = 14, + __SCHED_FEAT_SIS_UTIL = 15, + __SCHED_FEAT_WARN_DOUBLE_CLOCK = 16, + __SCHED_FEAT_RT_RUNTIME_SHARE = 17, + __SCHED_FEAT_LB_MIN = 18, + __SCHED_FEAT_ATTACH_AGE_LOAD = 19, + __SCHED_FEAT_WA_IDLE = 20, + __SCHED_FEAT_WA_WEIGHT = 21, + __SCHED_FEAT_WA_BIAS = 22, + __SCHED_FEAT_UTIL_EST = 23, + __SCHED_FEAT_LATENCY_WARN = 24, __SCHED_FEAT_NR = 25, }; enum { - __SD_BALANCE_NEWIDLE = 0, - __SD_BALANCE_EXEC = 1, - __SD_BALANCE_FORK = 2, - __SD_BALANCE_WAKE = 3, - __SD_WAKE_AFFINE = 4, - __SD_ASYM_CPUCAPACITY = 5, - __SD_ASYM_CPUCAPACITY_FULL = 6, - __SD_SHARE_CPUCAPACITY = 7, - __SD_SHARE_PKG_RESOURCES = 8, - __SD_SERIALIZE = 9, - __SD_ASYM_PACKING = 10, - __SD_PREFER_SIBLING = 11, - __SD_OVERLAP = 12, - __SD_NUMA = 13, - __SD_FLAG_CNT = 14, + ___GFP_DMA_BIT = 0, + ___GFP_HIGHMEM_BIT = 1, + ___GFP_DMA32_BIT = 2, + ___GFP_MOVABLE_BIT = 3, + ___GFP_RECLAIMABLE_BIT = 4, + ___GFP_HIGH_BIT = 5, + ___GFP_IO_BIT = 6, + ___GFP_FS_BIT = 7, + ___GFP_ZERO_BIT = 8, + ___GFP_UNUSED_BIT = 9, + ___GFP_DIRECT_RECLAIM_BIT = 10, + ___GFP_KSWAPD_RECLAIM_BIT = 11, + ___GFP_WRITE_BIT = 12, + ___GFP_NOWARN_BIT = 13, + ___GFP_RETRY_MAYFAIL_BIT = 14, + ___GFP_NOFAIL_BIT = 15, + ___GFP_NORETRY_BIT = 16, + ___GFP_MEMALLOC_BIT = 17, + ___GFP_COMP_BIT = 18, + ___GFP_NOMEMALLOC_BIT = 19, + ___GFP_HARDWALL_BIT = 20, + ___GFP_THISNODE_BIT = 21, + ___GFP_ACCOUNT_BIT = 22, + ___GFP_ZEROTAGS_BIT = 23, + ___GFP_LAST_BIT = 24, }; enum { @@ -5085,14 +5502,7 @@ enum { __ctx_convertBPF_PROG_TYPE_STRUCT_OPS = 20, __ctx_convertBPF_PROG_TYPE_EXT = 21, __ctx_convertBPF_PROG_TYPE_SYSCALL = 22, - __ctx_convertBPF_PROG_TYPE_NETFILTER = 23, - __ctx_convert_unused = 24, -}; - -enum { - cpuset = 0, - possible = 1, - fail = 2, + __ctx_convert_unused = 23, }; enum { @@ -5169,7 +5579,8 @@ typedef enum { PHY_INTERFACE_MODE_10GKR = 30, PHY_INTERFACE_MODE_QUSGMII = 31, PHY_INTERFACE_MODE_1000BASEKX = 32, - PHY_INTERFACE_MODE_MAX = 33, + PHY_INTERFACE_MODE_10G_QXGMII = 33, + PHY_INTERFACE_MODE_MAX = 34, } phy_interface_t; typedef enum { @@ -5193,6 +5604,26 @@ enum __sk_action { __SK_NONE = 3, }; +enum _slab_flag_bits { + _SLAB_CONSISTENCY_CHECKS = 0, + _SLAB_RED_ZONE = 1, + _SLAB_POISON = 2, + _SLAB_KMALLOC = 3, + _SLAB_HWCACHE_ALIGN = 4, + _SLAB_CACHE_DMA = 5, + _SLAB_CACHE_DMA32 = 6, + _SLAB_STORE_USER = 7, + _SLAB_PANIC = 8, + _SLAB_TYPESAFE_BY_RCU = 9, + _SLAB_TRACE = 10, + _SLAB_NOLEAKTRACE = 11, + _SLAB_NO_MERGE = 12, + _SLAB_NO_USER_FLAGS = 13, + _SLAB_OBJECT_POISON = 14, + _SLAB_CMPXCHG_DOUBLE = 15, + _SLAB_FLAGS_LAST_BIT = 16, +}; + enum acpi_attr_enum { ACPI_ATTR_LABEL_SHOW = 0, ACPI_ATTR_INDEX_SHOW = 1, @@ -5214,6 +5645,16 @@ enum acpi_bus_device_type { ACPI_BUS_DEVICE_TYPE_COUNT = 7, }; +enum acpi_cdat_type { + ACPI_CDAT_TYPE_DSMAS = 0, + ACPI_CDAT_TYPE_DSLBIS = 1, + ACPI_CDAT_TYPE_DSMSCIS = 2, + ACPI_CDAT_TYPE_DSIS = 3, + ACPI_CDAT_TYPE_DSEMTS = 4, + ACPI_CDAT_TYPE_SSLBIS = 5, + ACPI_CDAT_TYPE_RESERVED = 6, +}; + enum acpi_cedt_type { ACPI_CEDT_TYPE_CHBS = 0, ACPI_CEDT_TYPE_CFMWS = 1, @@ -5222,10 +5663,32 @@ enum acpi_cedt_type { ACPI_CEDT_TYPE_RESERVED = 4, }; -enum acpi_ec_event_state { - EC_EVENT_READY = 0, - EC_EVENT_IN_PROGRESS = 1, - EC_EVENT_COMPLETE = 2, +enum acpi_device_swnode_dev_props { + ACPI_DEVICE_SWNODE_DEV_ROTATION = 0, + ACPI_DEVICE_SWNODE_DEV_CLOCK_FREQUENCY = 1, + ACPI_DEVICE_SWNODE_DEV_LED_MAX_MICROAMP = 2, + ACPI_DEVICE_SWNODE_DEV_FLASH_MAX_MICROAMP = 3, + ACPI_DEVICE_SWNODE_DEV_FLASH_MAX_TIMEOUT_US = 4, + ACPI_DEVICE_SWNODE_DEV_NUM_OF = 5, + ACPI_DEVICE_SWNODE_DEV_NUM_ENTRIES = 6, +}; + +enum acpi_device_swnode_ep_props { + ACPI_DEVICE_SWNODE_EP_REMOTE_EP = 0, + ACPI_DEVICE_SWNODE_EP_BUS_TYPE = 1, + ACPI_DEVICE_SWNODE_EP_REG = 2, + ACPI_DEVICE_SWNODE_EP_CLOCK_LANES = 3, + ACPI_DEVICE_SWNODE_EP_DATA_LANES = 4, + ACPI_DEVICE_SWNODE_EP_LANE_POLARITIES = 5, + ACPI_DEVICE_SWNODE_EP_LINK_FREQUENCIES = 6, + ACPI_DEVICE_SWNODE_EP_NUM_OF = 7, + ACPI_DEVICE_SWNODE_EP_NUM_ENTRIES = 8, +}; + +enum acpi_device_swnode_port_props { + ACPI_DEVICE_SWNODE_PORT_REG = 0, + ACPI_DEVICE_SWNODE_PORT_NUM_OF = 1, + ACPI_DEVICE_SWNODE_PORT_NUM_ENTRIES = 2, }; enum acpi_irq_model_id { @@ -5235,7 +5698,8 @@ enum acpi_irq_model_id { ACPI_IRQ_MODEL_PLATFORM = 3, ACPI_IRQ_MODEL_GIC = 4, ACPI_IRQ_MODEL_LPIC = 5, - ACPI_IRQ_MODEL_COUNT = 6, + ACPI_IRQ_MODEL_RINTC = 6, + ACPI_IRQ_MODEL_COUNT = 7, }; enum acpi_madt_core_pic_version { @@ -5244,6 +5708,12 @@ enum acpi_madt_core_pic_version { ACPI_MADT_CORE_PIC_VERSION_RESERVED = 2, }; +enum acpi_madt_multiproc_wakeup_version { + ACPI_MADT_MP_WAKEUP_VERSION_NONE = 0, + ACPI_MADT_MP_WAKEUP_VERSION_V1 = 1, + ACPI_MADT_MP_WAKEUP_VERSION_RESERVED = 2, +}; + enum acpi_madt_type { ACPI_MADT_TYPE_LOCAL_APIC = 0, ACPI_MADT_TYPE_IO_APIC = 1, @@ -5317,6 +5787,7 @@ enum acpi_subtable_type { ACPI_SUBTABLE_HMAT = 1, ACPI_SUBTABLE_PRMT = 2, ACPI_SUBTABLE_CEDT = 3, + CDAT_SUBTABLE = 4, }; enum addr_type_t { @@ -5325,11 +5796,6 @@ enum addr_type_t { ANYCAST_ADDR = 2, }; -enum alarmtimer_restart { - ALARMTIMER_NORESTART = 0, - ALARMTIMER_RESTART = 1, -}; - enum alarmtimer_type { ALARM_REALTIME = 0, ALARM_BOOTTIME = 1, @@ -5338,6 +5804,41 @@ enum alarmtimer_type { ALARM_BOOTTIME_FREEZER = 4, }; +enum ata_quirks { + __ATA_QUIRK_DIAGNOSTIC = 0, + __ATA_QUIRK_NODMA = 1, + __ATA_QUIRK_NONCQ = 2, + __ATA_QUIRK_MAX_SEC_128 = 3, + __ATA_QUIRK_BROKEN_HPA = 4, + __ATA_QUIRK_DISABLE = 5, + __ATA_QUIRK_HPA_SIZE = 6, + __ATA_QUIRK_IVB = 7, + __ATA_QUIRK_STUCK_ERR = 8, + __ATA_QUIRK_BRIDGE_OK = 9, + __ATA_QUIRK_ATAPI_MOD16_DMA = 10, + __ATA_QUIRK_FIRMWARE_WARN = 11, + __ATA_QUIRK_1_5_GBPS = 12, + __ATA_QUIRK_NOSETXFER = 13, + __ATA_QUIRK_BROKEN_FPDMA_AA = 14, + __ATA_QUIRK_DUMP_ID = 15, + __ATA_QUIRK_MAX_SEC_LBA48 = 16, + __ATA_QUIRK_ATAPI_DMADIR = 17, + __ATA_QUIRK_NO_NCQ_TRIM = 18, + __ATA_QUIRK_NOLPM = 19, + __ATA_QUIRK_WD_BROKEN_LPM = 20, + __ATA_QUIRK_ZERO_AFTER_TRIM = 21, + __ATA_QUIRK_NO_DMA_LOG = 22, + __ATA_QUIRK_NOTRIM = 23, + __ATA_QUIRK_MAX_SEC_1024 = 24, + __ATA_QUIRK_MAX_TRIM_128M = 25, + __ATA_QUIRK_NO_NCQ_ON_ATI = 26, + __ATA_QUIRK_NO_LPM_ON_ATI = 27, + __ATA_QUIRK_NO_ID_DEV_LOG = 28, + __ATA_QUIRK_NO_LOG_DIR = 29, + __ATA_QUIRK_NO_FUA = 30, + __ATA_QUIRK_MAX = 31, +}; + enum audit_ntp_type { AUDIT_NTP_OFFSET = 0, AUDIT_NTP_FREQ = 1, @@ -5389,28 +5890,24 @@ enum blake2s_lengths { BLAKE2S_256_HASH_SIZE = 32, }; -enum blk_bounce { - BLK_BOUNCE_NONE = 0, - BLK_BOUNCE_HIGH = 1, -}; - enum blk_eh_timer_return { BLK_EH_DONE = 0, BLK_EH_RESET_TIMER = 1, }; +enum blk_integrity_checksum { + BLK_INTEGRITY_CSUM_NONE = 0, + BLK_INTEGRITY_CSUM_IP = 1, + BLK_INTEGRITY_CSUM_CRC = 2, + BLK_INTEGRITY_CSUM_CRC64 = 3, +} __attribute__((mode(byte))); + enum blk_unique_id { BLK_UID_T10 = 1, BLK_UID_EUI64 = 2, BLK_UID_NAA = 3, }; -enum blk_zoned_model { - BLK_ZONED_NONE = 0, - BLK_ZONED_HA = 1, - BLK_ZONED_HM = 2, -}; - enum bp_type_idx { TYPE_INST = 0, TYPE_DATA = 1, @@ -5427,6 +5924,10 @@ enum bpf_access_type { BPF_WRITE = 2, }; +enum bpf_addr_space_cast { + BPF_ADDR_SPACE_CAST = 1, +}; + enum bpf_adj_room_mode { BPF_ADJ_ROOM_NET = 0, BPF_ADJ_ROOM_MAC = 1, @@ -5438,36 +5939,40 @@ enum bpf_arg_type { ARG_PTR_TO_MAP_KEY = 2, ARG_PTR_TO_MAP_VALUE = 3, ARG_PTR_TO_MEM = 4, - ARG_CONST_SIZE = 5, - ARG_CONST_SIZE_OR_ZERO = 6, - ARG_PTR_TO_CTX = 7, - ARG_ANYTHING = 8, - ARG_PTR_TO_SPIN_LOCK = 9, - ARG_PTR_TO_SOCK_COMMON = 10, - ARG_PTR_TO_INT = 11, - ARG_PTR_TO_LONG = 12, - ARG_PTR_TO_SOCKET = 13, - ARG_PTR_TO_BTF_ID = 14, - ARG_PTR_TO_RINGBUF_MEM = 15, - ARG_CONST_ALLOC_SIZE_OR_ZERO = 16, - ARG_PTR_TO_BTF_ID_SOCK_COMMON = 17, - ARG_PTR_TO_PERCPU_BTF_ID = 18, - ARG_PTR_TO_FUNC = 19, - ARG_PTR_TO_STACK = 20, - ARG_PTR_TO_CONST_STR = 21, - ARG_PTR_TO_TIMER = 22, - ARG_PTR_TO_KPTR = 23, - ARG_PTR_TO_DYNPTR = 24, - __BPF_ARG_TYPE_MAX = 25, + ARG_PTR_TO_ARENA = 5, + ARG_CONST_SIZE = 6, + ARG_CONST_SIZE_OR_ZERO = 7, + ARG_PTR_TO_CTX = 8, + ARG_ANYTHING = 9, + ARG_PTR_TO_SPIN_LOCK = 10, + ARG_PTR_TO_SOCK_COMMON = 11, + ARG_PTR_TO_SOCKET = 12, + ARG_PTR_TO_BTF_ID = 13, + ARG_PTR_TO_RINGBUF_MEM = 14, + ARG_CONST_ALLOC_SIZE_OR_ZERO = 15, + ARG_PTR_TO_BTF_ID_SOCK_COMMON = 16, + ARG_PTR_TO_PERCPU_BTF_ID = 17, + ARG_PTR_TO_FUNC = 18, + ARG_PTR_TO_STACK = 19, + ARG_PTR_TO_CONST_STR = 20, + ARG_PTR_TO_TIMER = 21, + ARG_KPTR_XCHG_DEST = 22, + ARG_PTR_TO_DYNPTR = 23, + __BPF_ARG_TYPE_MAX = 24, ARG_PTR_TO_MAP_VALUE_OR_NULL = 259, ARG_PTR_TO_MEM_OR_NULL = 260, - ARG_PTR_TO_CTX_OR_NULL = 263, - ARG_PTR_TO_SOCKET_OR_NULL = 269, - ARG_PTR_TO_STACK_OR_NULL = 276, - ARG_PTR_TO_BTF_ID_OR_NULL = 270, - ARG_PTR_TO_UNINIT_MEM = 32772, + ARG_PTR_TO_CTX_OR_NULL = 264, + ARG_PTR_TO_SOCKET_OR_NULL = 268, + ARG_PTR_TO_STACK_OR_NULL = 275, + ARG_PTR_TO_BTF_ID_OR_NULL = 269, + ARG_PTR_TO_UNINIT_MEM = 67141636, ARG_PTR_TO_FIXED_SIZE_MEM = 262148, - __BPF_ARG_TYPE_LIMIT = 33554431, + __BPF_ARG_TYPE_LIMIT = 134217727, +}; + +enum bpf_async_type { + BPF_ASYNC_TYPE_TIMER = 0, + BPF_ASYNC_TYPE_WQ = 1, }; enum bpf_attach_type { @@ -5520,7 +6025,16 @@ enum bpf_attach_type { BPF_TCX_INGRESS = 46, BPF_TCX_EGRESS = 47, BPF_TRACE_UPROBE_MULTI = 48, - __MAX_BPF_ATTACH_TYPE = 49, + BPF_CGROUP_UNIX_CONNECT = 49, + BPF_CGROUP_UNIX_SENDMSG = 50, + BPF_CGROUP_UNIX_RECVMSG = 51, + BPF_CGROUP_UNIX_GETPEERNAME = 52, + BPF_CGROUP_UNIX_GETSOCKNAME = 53, + BPF_NETKIT_PRIMARY = 54, + BPF_NETKIT_PEER = 55, + BPF_TRACE_KPROBE_SESSION = 56, + BPF_TRACE_UPROBE_SESSION = 57, + __MAX_BPF_ATTACH_TYPE = 58, }; enum bpf_audit { @@ -5591,6 +6105,12 @@ enum bpf_cmd { BPF_ITER_CREATE = 33, BPF_LINK_DETACH = 34, BPF_PROG_BIND_MAP = 35, + BPF_TOKEN_CREATE = 36, + __MAX_BPF_CMD = 37, +}; + +enum bpf_cond_pseudo_jmp { + BPF_MAY_GOTO = 0, }; enum bpf_core_relo_kind { @@ -5858,6 +6378,10 @@ enum bpf_jit_poke_reason { BPF_POKE_REASON_TAIL_CALL = 0, }; +enum bpf_kfunc_flags { + BPF_F_PAD_ZEROS = 1, +}; + enum bpf_link_type { BPF_LINK_TYPE_UNSPEC = 0, BPF_LINK_TYPE_RAW_TRACEPOINT = 1, @@ -5872,7 +6396,9 @@ enum bpf_link_type { BPF_LINK_TYPE_NETFILTER = 10, BPF_LINK_TYPE_TCX = 11, BPF_LINK_TYPE_UPROBE_MULTI = 12, - MAX_BPF_LINK_TYPE = 13, + BPF_LINK_TYPE_NETKIT = 13, + BPF_LINK_TYPE_SOCKMAP = 14, + __MAX_BPF_LINK_TYPE = 15, }; enum bpf_lru_list_type { @@ -5906,6 +6432,7 @@ enum bpf_map_type { BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED = 19, BPF_MAP_TYPE_CGROUP_STORAGE = 19, BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 20, + BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE_DEPRECATED = 21, BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 21, BPF_MAP_TYPE_QUEUE = 22, BPF_MAP_TYPE_STACK = 23, @@ -5918,6 +6445,8 @@ enum bpf_map_type { BPF_MAP_TYPE_BLOOM_FILTER = 30, BPF_MAP_TYPE_USER_RINGBUF = 31, BPF_MAP_TYPE_CGRP_STORAGE = 32, + BPF_MAP_TYPE_ARENA = 33, + __MAX_BPF_MAP_TYPE = 34, }; enum bpf_netdev_command { @@ -5972,6 +6501,7 @@ enum bpf_prog_type { BPF_PROG_TYPE_SK_LOOKUP = 30, BPF_PROG_TYPE_SYSCALL = 31, BPF_PROG_TYPE_NETFILTER = 32, + __MAX_BPF_PROG_TYPE = 33, }; enum bpf_reg_liveness { @@ -6002,16 +6532,17 @@ enum bpf_reg_type { PTR_TO_XDP_SOCK = 15, PTR_TO_BTF_ID = 16, PTR_TO_MEM = 17, - PTR_TO_BUF = 18, - PTR_TO_FUNC = 19, - CONST_PTR_TO_DYNPTR = 20, - __BPF_REG_TYPE_MAX = 21, + PTR_TO_ARENA = 18, + PTR_TO_BUF = 19, + PTR_TO_FUNC = 20, + CONST_PTR_TO_DYNPTR = 21, + __BPF_REG_TYPE_MAX = 22, PTR_TO_MAP_VALUE_OR_NULL = 260, PTR_TO_SOCKET_OR_NULL = 267, PTR_TO_SOCK_COMMON_OR_NULL = 268, PTR_TO_TCP_SOCK_OR_NULL = 269, PTR_TO_BTF_ID_OR_NULL = 272, - __BPF_REG_TYPE_LIMIT = 33554431, + __BPF_REG_TYPE_LIMIT = 134217727, }; enum bpf_ret_code { @@ -6041,7 +6572,7 @@ enum bpf_return_type { RET_PTR_TO_DYNPTR_MEM_OR_NULL = 262, RET_PTR_TO_BTF_ID_OR_NULL = 264, RET_PTR_TO_BTF_ID_TRUSTED = 1048584, - __BPF_RET_TYPE_LIMIT = 33554431, + __BPF_RET_TYPE_LIMIT = 134217727, }; enum bpf_stack_build_id_status { @@ -6057,6 +6588,7 @@ enum bpf_stack_slot_type { STACK_ZERO = 3, STACK_DYNPTR = 4, STACK_ITER = 5, + STACK_IRQ_FLAG = 6, }; enum bpf_stats_type { @@ -6129,8 +6661,10 @@ enum bpf_type_flag { NON_OWN_REF = 4194304, DYNPTR_TYPE_SKB = 8388608, DYNPTR_TYPE_XDP = 16777216, - __BPF_TYPE_FLAG_MAX = 16777217, - __BPF_TYPE_LAST_FLAG = 16777216, + MEM_ALIGNED = 33554432, + MEM_WRITE = 67108864, + __BPF_TYPE_FLAG_MAX = 67108865, + __BPF_TYPE_LAST_FLAG = 67108864, }; enum bpf_xdp_mode { @@ -6140,18 +6674,35 @@ enum bpf_xdp_mode { __MAX_XDP_MODE = 3, }; +enum btf_arg_tag { + ARG_TAG_CTX = 1, + ARG_TAG_NONNULL = 2, + ARG_TAG_TRUSTED = 4, + ARG_TAG_NULLABLE = 8, + ARG_TAG_ARENA = 16, +}; + +enum btf_field_iter_kind { + BTF_FIELD_ITER_IDS = 0, + BTF_FIELD_ITER_STRS = 1, +}; + enum btf_field_type { BPF_SPIN_LOCK = 1, BPF_TIMER = 2, BPF_KPTR_UNREF = 4, BPF_KPTR_REF = 8, - BPF_KPTR = 12, - BPF_LIST_HEAD = 16, - BPF_LIST_NODE = 32, - BPF_RB_ROOT = 64, - BPF_RB_NODE = 128, - BPF_GRAPH_NODE_OR_ROOT = 240, - BPF_REFCOUNT = 256, + BPF_KPTR_PERCPU = 16, + BPF_KPTR = 28, + BPF_LIST_HEAD = 32, + BPF_LIST_NODE = 64, + BPF_RB_ROOT = 128, + BPF_RB_NODE = 256, + BPF_GRAPH_NODE = 320, + BPF_GRAPH_ROOT = 160, + BPF_REFCOUNT = 512, + BPF_WORKQUEUE = 1024, + BPF_UPTR = 2048, }; enum btf_func_linkage { @@ -6168,13 +6719,14 @@ enum btf_kfunc_hook { BTF_KFUNC_HOOK_TRACING = 4, BTF_KFUNC_HOOK_SYSCALL = 5, BTF_KFUNC_HOOK_FMODRET = 6, - BTF_KFUNC_HOOK_CGROUP_SKB = 7, + BTF_KFUNC_HOOK_CGROUP = 7, BTF_KFUNC_HOOK_SCHED_ACT = 8, BTF_KFUNC_HOOK_SK_SKB = 9, BTF_KFUNC_HOOK_SOCKET_FILTER = 10, BTF_KFUNC_HOOK_LWT = 11, BTF_KFUNC_HOOK_NETFILTER = 12, - BTF_KFUNC_HOOK_MAX = 13, + BTF_KFUNC_HOOK_KPROBE = 13, + BTF_KFUNC_HOOK_MAX = 14, }; enum bug_trap_type { @@ -6209,7 +6761,8 @@ enum cc_attr { CC_ATTR_GUEST_STATE_ENCRYPT = 3, CC_ATTR_GUEST_UNROLL_STRING_IO = 4, CC_ATTR_GUEST_SEV_SNP = 5, - CC_ATTR_HOTPLUG_DISABLED = 6, + CC_ATTR_GUEST_SNP_SECURE_TSC = 6, + CC_ATTR_HOST_SEV_SNP = 7, }; enum chacha_constants { @@ -6236,7 +6789,19 @@ enum clock_event_state { enum clocksource_ids { CSID_GENERIC = 0, CSID_ARM_ARCH_COUNTER = 1, - CSID_MAX = 2, + CSID_S390_TOD = 2, + CSID_X86_TSC_EARLY = 3, + CSID_X86_TSC = 4, + CSID_X86_KVM_CLK = 5, + CSID_X86_ART = 6, + CSID_MAX = 7, +}; + +enum cmis_cdb_fw_write_mechanism { + CMIS_CDB_FW_WRITE_MECHANISM_NONE = 0, + CMIS_CDB_FW_WRITE_MECHANISM_LPL = 1, + CMIS_CDB_FW_WRITE_MECHANISM_EPL = 16, + CMIS_CDB_FW_WRITE_MECHANISM_BOTH = 17, }; enum compact_priority { @@ -6280,6 +6845,7 @@ enum cons_flags { CON_BRL = 32, CON_EXTENDED = 64, CON_SUSPENDED = 128, + CON_NBCON = 256, }; enum cpio_fields { @@ -6300,13 +6866,6 @@ enum cpio_fields { C_NFIELDS = 14, }; -enum cpu_idle_type { - CPU_IDLE = 0, - CPU_NOT_IDLE = 1, - CPU_NEWLY_IDLE = 2, - CPU_MAX_IDLE_TYPES = 3, -}; - enum cpu_mitigations { CPU_MITIGATIONS_OFF = 0, CPU_MITIGATIONS_AUTO = 1, @@ -6343,11 +6902,6 @@ enum cpu_usage_stat { NR_STATS = 10, }; -enum cpu_util_type { - FREQUENCY_UTIL = 0, - ENERGY_UTIL = 1, -}; - enum cpufreq_table_sorting { CPUFREQ_TABLE_UNSORTED = 0, CPUFREQ_TABLE_SORTED_ASCENDING = 1, @@ -6364,204 +6918,194 @@ enum cpuhp_state { CPUHP_PERF_POWER = 5, CPUHP_PERF_SUPERH = 6, CPUHP_X86_HPET_DEAD = 7, - CPUHP_X86_APB_DEAD = 8, - CPUHP_X86_MCE_DEAD = 9, - CPUHP_VIRT_NET_DEAD = 10, - CPUHP_IBMVNIC_DEAD = 11, - CPUHP_SLUB_DEAD = 12, - CPUHP_DEBUG_OBJ_DEAD = 13, - CPUHP_MM_WRITEBACK_DEAD = 14, - CPUHP_MM_DEMOTION_DEAD = 15, - CPUHP_MM_VMSTAT_DEAD = 16, - CPUHP_SOFTIRQ_DEAD = 17, - CPUHP_NET_MVNETA_DEAD = 18, - CPUHP_CPUIDLE_DEAD = 19, - CPUHP_ARM64_FPSIMD_DEAD = 20, - CPUHP_ARM_OMAP_WAKE_DEAD = 21, - CPUHP_IRQ_POLL_DEAD = 22, - CPUHP_BLOCK_SOFTIRQ_DEAD = 23, - CPUHP_BIO_DEAD = 24, - CPUHP_ACPI_CPUDRV_DEAD = 25, - CPUHP_S390_PFAULT_DEAD = 26, - CPUHP_BLK_MQ_DEAD = 27, - CPUHP_FS_BUFF_DEAD = 28, - CPUHP_PRINTK_DEAD = 29, - CPUHP_MM_MEMCQ_DEAD = 30, - CPUHP_PERCPU_CNT_DEAD = 31, - CPUHP_RADIX_DEAD = 32, - CPUHP_PAGE_ALLOC = 33, - CPUHP_NET_DEV_DEAD = 34, - CPUHP_PCI_XGENE_DEAD = 35, - CPUHP_IOMMU_IOVA_DEAD = 36, - CPUHP_LUSTRE_CFS_DEAD = 37, - CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 38, - CPUHP_PADATA_DEAD = 39, - CPUHP_AP_DTPM_CPU_DEAD = 40, - CPUHP_RANDOM_PREPARE = 41, - CPUHP_WORKQUEUE_PREP = 42, - CPUHP_POWER_NUMA_PREPARE = 43, - CPUHP_HRTIMERS_PREPARE = 44, - CPUHP_PROFILE_PREPARE = 45, - CPUHP_X2APIC_PREPARE = 46, - CPUHP_SMPCFD_PREPARE = 47, - CPUHP_RELAY_PREPARE = 48, - CPUHP_SLAB_PREPARE = 49, - CPUHP_MD_RAID5_PREPARE = 50, - CPUHP_RCUTREE_PREP = 51, - CPUHP_CPUIDLE_COUPLED_PREPARE = 52, - CPUHP_POWERPC_PMAC_PREPARE = 53, - CPUHP_POWERPC_MMU_CTX_PREPARE = 54, - CPUHP_XEN_PREPARE = 55, - CPUHP_XEN_EVTCHN_PREPARE = 56, - CPUHP_ARM_SHMOBILE_SCU_PREPARE = 57, - CPUHP_SH_SH3X_PREPARE = 58, - CPUHP_NET_FLOW_PREPARE = 59, - CPUHP_TOPOLOGY_PREPARE = 60, - CPUHP_NET_IUCV_PREPARE = 61, - CPUHP_ARM_BL_PREPARE = 62, - CPUHP_TRACE_RB_PREPARE = 63, - CPUHP_MM_ZS_PREPARE = 64, - CPUHP_MM_ZSWP_MEM_PREPARE = 65, - CPUHP_MM_ZSWP_POOL_PREPARE = 66, - CPUHP_KVM_PPC_BOOK3S_PREPARE = 67, - CPUHP_ZCOMP_PREPARE = 68, - CPUHP_TIMERS_PREPARE = 69, - CPUHP_MIPS_SOC_PREPARE = 70, - CPUHP_BP_PREPARE_DYN = 71, - CPUHP_BP_PREPARE_DYN_END = 91, - CPUHP_BP_KICK_AP = 92, - CPUHP_BRINGUP_CPU = 93, - CPUHP_AP_IDLE_DEAD = 94, - CPUHP_AP_OFFLINE = 95, - CPUHP_AP_CACHECTRL_STARTING = 96, - CPUHP_AP_SCHED_STARTING = 97, - CPUHP_AP_RCUTREE_DYING = 98, - CPUHP_AP_CPU_PM_STARTING = 99, - CPUHP_AP_IRQ_GIC_STARTING = 100, - CPUHP_AP_IRQ_HIP04_STARTING = 101, - CPUHP_AP_IRQ_APPLE_AIC_STARTING = 102, - CPUHP_AP_IRQ_ARMADA_XP_STARTING = 103, - CPUHP_AP_IRQ_BCM2836_STARTING = 104, - CPUHP_AP_IRQ_MIPS_GIC_STARTING = 105, - CPUHP_AP_IRQ_RISCV_STARTING = 106, - CPUHP_AP_IRQ_LOONGARCH_STARTING = 107, - CPUHP_AP_IRQ_SIFIVE_PLIC_STARTING = 108, - CPUHP_AP_ARM_MVEBU_COHERENCY = 109, - CPUHP_AP_MICROCODE_LOADER = 110, - CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 111, - CPUHP_AP_PERF_X86_STARTING = 112, - CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 113, - CPUHP_AP_PERF_X86_CQM_STARTING = 114, - CPUHP_AP_PERF_X86_CSTATE_STARTING = 115, - CPUHP_AP_PERF_XTENSA_STARTING = 116, - CPUHP_AP_MIPS_OP_LOONGSON3_STARTING = 117, - CPUHP_AP_ARM_VFP_STARTING = 118, - CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 119, - CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 120, - CPUHP_AP_PERF_ARM_ACPI_STARTING = 121, - CPUHP_AP_PERF_ARM_STARTING = 122, - CPUHP_AP_PERF_RISCV_STARTING = 123, - CPUHP_AP_ARM_L2X0_STARTING = 124, - CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 125, - CPUHP_AP_ARM_ARCH_TIMER_STARTING = 126, - CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 127, - CPUHP_AP_JCORE_TIMER_STARTING = 128, - CPUHP_AP_ARM_TWD_STARTING = 129, - CPUHP_AP_QCOM_TIMER_STARTING = 130, - CPUHP_AP_TEGRA_TIMER_STARTING = 131, - CPUHP_AP_ARMADA_TIMER_STARTING = 132, - CPUHP_AP_MARCO_TIMER_STARTING = 133, - CPUHP_AP_MIPS_GIC_TIMER_STARTING = 134, - CPUHP_AP_ARC_TIMER_STARTING = 135, - CPUHP_AP_RISCV_TIMER_STARTING = 136, - CPUHP_AP_CLINT_TIMER_STARTING = 137, - CPUHP_AP_CSKY_TIMER_STARTING = 138, - CPUHP_AP_TI_GP_TIMER_STARTING = 139, - CPUHP_AP_HYPERV_TIMER_STARTING = 140, - CPUHP_AP_DUMMY_TIMER_STARTING = 141, - CPUHP_AP_ARM_XEN_STARTING = 142, - CPUHP_AP_ARM_CORESIGHT_STARTING = 143, - CPUHP_AP_ARM_CORESIGHT_CTI_STARTING = 144, - CPUHP_AP_ARM64_ISNDEP_STARTING = 145, - CPUHP_AP_SMPCFD_DYING = 146, - CPUHP_AP_X86_TBOOT_DYING = 147, - CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 148, - CPUHP_AP_ONLINE = 149, - CPUHP_TEARDOWN_CPU = 150, - CPUHP_AP_ONLINE_IDLE = 151, - CPUHP_AP_HYPERV_ONLINE = 152, - CPUHP_AP_KVM_ONLINE = 153, - CPUHP_AP_SCHED_WAIT_EMPTY = 154, - CPUHP_AP_SMPBOOT_THREADS = 155, - CPUHP_AP_X86_VDSO_VMA_ONLINE = 156, - CPUHP_AP_IRQ_AFFINITY_ONLINE = 157, - CPUHP_AP_BLK_MQ_ONLINE = 158, - CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 159, - CPUHP_AP_X86_INTEL_EPB_ONLINE = 160, - CPUHP_AP_PERF_ONLINE = 161, - CPUHP_AP_PERF_X86_ONLINE = 162, - CPUHP_AP_PERF_X86_UNCORE_ONLINE = 163, - CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 164, - CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 165, - CPUHP_AP_PERF_X86_RAPL_ONLINE = 166, - CPUHP_AP_PERF_X86_CQM_ONLINE = 167, - CPUHP_AP_PERF_X86_CSTATE_ONLINE = 168, - CPUHP_AP_PERF_X86_IDXD_ONLINE = 169, - CPUHP_AP_PERF_S390_CF_ONLINE = 170, - CPUHP_AP_PERF_S390_SF_ONLINE = 171, - CPUHP_AP_PERF_ARM_CCI_ONLINE = 172, - CPUHP_AP_PERF_ARM_CCN_ONLINE = 173, - CPUHP_AP_PERF_ARM_HISI_CPA_ONLINE = 174, - CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 175, - CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 176, - CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 177, - CPUHP_AP_PERF_ARM_HISI_PA_ONLINE = 178, - CPUHP_AP_PERF_ARM_HISI_SLLC_ONLINE = 179, - CPUHP_AP_PERF_ARM_HISI_PCIE_PMU_ONLINE = 180, - CPUHP_AP_PERF_ARM_HNS3_PMU_ONLINE = 181, - CPUHP_AP_PERF_ARM_L2X0_ONLINE = 182, - CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 183, - CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 184, - CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 185, - CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 186, - CPUHP_AP_PERF_ARM_MARVELL_CN10K_DDR_ONLINE = 187, - CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 188, - CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 189, - CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 190, - CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 191, - CPUHP_AP_PERF_POWERPC_HV_24x7_ONLINE = 192, - CPUHP_AP_PERF_POWERPC_HV_GPCI_ONLINE = 193, - CPUHP_AP_PERF_CSKY_ONLINE = 194, - CPUHP_AP_WATCHDOG_ONLINE = 195, - CPUHP_AP_WORKQUEUE_ONLINE = 196, - CPUHP_AP_RANDOM_ONLINE = 197, - CPUHP_AP_RCUTREE_ONLINE = 198, - CPUHP_AP_BASE_CACHEINFO_ONLINE = 199, - CPUHP_AP_ONLINE_DYN = 200, - CPUHP_AP_ONLINE_DYN_END = 230, - CPUHP_AP_MM_DEMOTION_ONLINE = 231, - CPUHP_AP_X86_HPET_ONLINE = 232, - CPUHP_AP_X86_KVM_CLK_ONLINE = 233, - CPUHP_AP_ACTIVE = 234, - CPUHP_ONLINE = 235, -}; - -enum cpuhp_sync_state { - SYNC_STATE_DEAD = 0, - SYNC_STATE_KICKED = 1, - SYNC_STATE_SHOULD_DIE = 2, - SYNC_STATE_ALIVE = 3, - SYNC_STATE_SHOULD_ONLINE = 4, - SYNC_STATE_ONLINE = 5, + CPUHP_X86_MCE_DEAD = 8, + CPUHP_VIRT_NET_DEAD = 9, + CPUHP_IBMVNIC_DEAD = 10, + CPUHP_SLUB_DEAD = 11, + CPUHP_DEBUG_OBJ_DEAD = 12, + CPUHP_MM_WRITEBACK_DEAD = 13, + CPUHP_MM_VMSTAT_DEAD = 14, + CPUHP_SOFTIRQ_DEAD = 15, + CPUHP_NET_MVNETA_DEAD = 16, + CPUHP_CPUIDLE_DEAD = 17, + CPUHP_ARM64_FPSIMD_DEAD = 18, + CPUHP_ARM_OMAP_WAKE_DEAD = 19, + CPUHP_IRQ_POLL_DEAD = 20, + CPUHP_BLOCK_SOFTIRQ_DEAD = 21, + CPUHP_BIO_DEAD = 22, + CPUHP_ACPI_CPUDRV_DEAD = 23, + CPUHP_S390_PFAULT_DEAD = 24, + CPUHP_BLK_MQ_DEAD = 25, + CPUHP_FS_BUFF_DEAD = 26, + CPUHP_PRINTK_DEAD = 27, + CPUHP_MM_MEMCQ_DEAD = 28, + CPUHP_PERCPU_CNT_DEAD = 29, + CPUHP_RADIX_DEAD = 30, + CPUHP_PAGE_ALLOC = 31, + CPUHP_NET_DEV_DEAD = 32, + CPUHP_PCI_XGENE_DEAD = 33, + CPUHP_IOMMU_IOVA_DEAD = 34, + CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 35, + CPUHP_PADATA_DEAD = 36, + CPUHP_AP_DTPM_CPU_DEAD = 37, + CPUHP_RANDOM_PREPARE = 38, + CPUHP_WORKQUEUE_PREP = 39, + CPUHP_POWER_NUMA_PREPARE = 40, + CPUHP_HRTIMERS_PREPARE = 41, + CPUHP_X2APIC_PREPARE = 42, + CPUHP_SMPCFD_PREPARE = 43, + CPUHP_RELAY_PREPARE = 44, + CPUHP_MD_RAID5_PREPARE = 45, + CPUHP_RCUTREE_PREP = 46, + CPUHP_CPUIDLE_COUPLED_PREPARE = 47, + CPUHP_POWERPC_PMAC_PREPARE = 48, + CPUHP_POWERPC_MMU_CTX_PREPARE = 49, + CPUHP_XEN_PREPARE = 50, + CPUHP_XEN_EVTCHN_PREPARE = 51, + CPUHP_ARM_SHMOBILE_SCU_PREPARE = 52, + CPUHP_SH_SH3X_PREPARE = 53, + CPUHP_TOPOLOGY_PREPARE = 54, + CPUHP_NET_IUCV_PREPARE = 55, + CPUHP_ARM_BL_PREPARE = 56, + CPUHP_TRACE_RB_PREPARE = 57, + CPUHP_MM_ZS_PREPARE = 58, + CPUHP_MM_ZSWP_POOL_PREPARE = 59, + CPUHP_KVM_PPC_BOOK3S_PREPARE = 60, + CPUHP_ZCOMP_PREPARE = 61, + CPUHP_TIMERS_PREPARE = 62, + CPUHP_TMIGR_PREPARE = 63, + CPUHP_MIPS_SOC_PREPARE = 64, + CPUHP_BP_PREPARE_DYN = 65, + CPUHP_BP_PREPARE_DYN_END = 85, + CPUHP_BP_KICK_AP = 86, + CPUHP_BRINGUP_CPU = 87, + CPUHP_AP_IDLE_DEAD = 88, + CPUHP_AP_OFFLINE = 89, + CPUHP_AP_CACHECTRL_STARTING = 90, + CPUHP_AP_SCHED_STARTING = 91, + CPUHP_AP_RCUTREE_DYING = 92, + CPUHP_AP_CPU_PM_STARTING = 93, + CPUHP_AP_IRQ_GIC_STARTING = 94, + CPUHP_AP_IRQ_HIP04_STARTING = 95, + CPUHP_AP_IRQ_APPLE_AIC_STARTING = 96, + CPUHP_AP_IRQ_ARMADA_XP_STARTING = 97, + CPUHP_AP_IRQ_BCM2836_STARTING = 98, + CPUHP_AP_IRQ_MIPS_GIC_STARTING = 99, + CPUHP_AP_IRQ_EIOINTC_STARTING = 100, + CPUHP_AP_IRQ_AVECINTC_STARTING = 101, + CPUHP_AP_IRQ_SIFIVE_PLIC_STARTING = 102, + CPUHP_AP_IRQ_THEAD_ACLINT_SSWI_STARTING = 103, + CPUHP_AP_IRQ_RISCV_IMSIC_STARTING = 104, + CPUHP_AP_IRQ_RISCV_SBI_IPI_STARTING = 105, + CPUHP_AP_ARM_MVEBU_COHERENCY = 106, + CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 107, + CPUHP_AP_PERF_X86_STARTING = 108, + CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 109, + CPUHP_AP_PERF_XTENSA_STARTING = 110, + CPUHP_AP_ARM_VFP_STARTING = 111, + CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 112, + CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 113, + CPUHP_AP_PERF_ARM_ACPI_STARTING = 114, + CPUHP_AP_PERF_ARM_STARTING = 115, + CPUHP_AP_PERF_RISCV_STARTING = 116, + CPUHP_AP_ARM_L2X0_STARTING = 117, + CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 118, + CPUHP_AP_ARM_ARCH_TIMER_STARTING = 119, + CPUHP_AP_ARM_ARCH_TIMER_EVTSTRM_STARTING = 120, + CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 121, + CPUHP_AP_JCORE_TIMER_STARTING = 122, + CPUHP_AP_ARM_TWD_STARTING = 123, + CPUHP_AP_QCOM_TIMER_STARTING = 124, + CPUHP_AP_TEGRA_TIMER_STARTING = 125, + CPUHP_AP_ARMADA_TIMER_STARTING = 126, + CPUHP_AP_MIPS_GIC_TIMER_STARTING = 127, + CPUHP_AP_ARC_TIMER_STARTING = 128, + CPUHP_AP_REALTEK_TIMER_STARTING = 129, + CPUHP_AP_RISCV_TIMER_STARTING = 130, + CPUHP_AP_CLINT_TIMER_STARTING = 131, + CPUHP_AP_CSKY_TIMER_STARTING = 132, + CPUHP_AP_TI_GP_TIMER_STARTING = 133, + CPUHP_AP_HYPERV_TIMER_STARTING = 134, + CPUHP_AP_DUMMY_TIMER_STARTING = 135, + CPUHP_AP_ARM_XEN_STARTING = 136, + CPUHP_AP_ARM_XEN_RUNSTATE_STARTING = 137, + CPUHP_AP_ARM_CORESIGHT_STARTING = 138, + CPUHP_AP_ARM_CORESIGHT_CTI_STARTING = 139, + CPUHP_AP_ARM64_ISNDEP_STARTING = 140, + CPUHP_AP_SMPCFD_DYING = 141, + CPUHP_AP_HRTIMERS_DYING = 142, + CPUHP_AP_TICK_DYING = 143, + CPUHP_AP_X86_TBOOT_DYING = 144, + CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 145, + CPUHP_AP_ONLINE = 146, + CPUHP_TEARDOWN_CPU = 147, + CPUHP_AP_ONLINE_IDLE = 148, + CPUHP_AP_HYPERV_ONLINE = 149, + CPUHP_AP_KVM_ONLINE = 150, + CPUHP_AP_SCHED_WAIT_EMPTY = 151, + CPUHP_AP_SMPBOOT_THREADS = 152, + CPUHP_AP_IRQ_AFFINITY_ONLINE = 153, + CPUHP_AP_BLK_MQ_ONLINE = 154, + CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 155, + CPUHP_AP_X86_INTEL_EPB_ONLINE = 156, + CPUHP_AP_PERF_ONLINE = 157, + CPUHP_AP_PERF_X86_ONLINE = 158, + CPUHP_AP_PERF_X86_UNCORE_ONLINE = 159, + CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 160, + CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 161, + CPUHP_AP_PERF_S390_CF_ONLINE = 162, + CPUHP_AP_PERF_S390_SF_ONLINE = 163, + CPUHP_AP_PERF_ARM_CCI_ONLINE = 164, + CPUHP_AP_PERF_ARM_CCN_ONLINE = 165, + CPUHP_AP_PERF_ARM_HISI_CPA_ONLINE = 166, + CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 167, + CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 168, + CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 169, + CPUHP_AP_PERF_ARM_HISI_PA_ONLINE = 170, + CPUHP_AP_PERF_ARM_HISI_SLLC_ONLINE = 171, + CPUHP_AP_PERF_ARM_HISI_PCIE_PMU_ONLINE = 172, + CPUHP_AP_PERF_ARM_HNS3_PMU_ONLINE = 173, + CPUHP_AP_PERF_ARM_L2X0_ONLINE = 174, + CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 175, + CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 176, + CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 177, + CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 178, + CPUHP_AP_PERF_ARM_MARVELL_CN10K_DDR_ONLINE = 179, + CPUHP_AP_PERF_ARM_MRVL_PEM_ONLINE = 180, + CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 181, + CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 182, + CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 183, + CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 184, + CPUHP_AP_PERF_POWERPC_HV_24x7_ONLINE = 185, + CPUHP_AP_PERF_POWERPC_HV_GPCI_ONLINE = 186, + CPUHP_AP_PERF_CSKY_ONLINE = 187, + CPUHP_AP_TMIGR_ONLINE = 188, + CPUHP_AP_WATCHDOG_ONLINE = 189, + CPUHP_AP_WORKQUEUE_ONLINE = 190, + CPUHP_AP_RANDOM_ONLINE = 191, + CPUHP_AP_RCUTREE_ONLINE = 192, + CPUHP_AP_KTHREADS_ONLINE = 193, + CPUHP_AP_BASE_CACHEINFO_ONLINE = 194, + CPUHP_AP_ONLINE_DYN = 195, + CPUHP_AP_ONLINE_DYN_END = 235, + CPUHP_AP_X86_HPET_ONLINE = 236, + CPUHP_AP_X86_KVM_CLK_ONLINE = 237, + CPUHP_AP_ACTIVE = 238, + CPUHP_ONLINE = 239, }; enum ctx_state { - CONTEXT_DISABLED = -1, - CONTEXT_KERNEL = 0, - CONTEXT_IDLE = 1, - CONTEXT_USER = 2, - CONTEXT_GUEST = 3, - CONTEXT_MAX = 4, + CT_STATE_DISABLED = -1, + CT_STATE_KERNEL = 0, + CT_STATE_IDLE = 1, + CT_STATE_USER = 2, + CT_STATE_GUEST = 3, + CT_STATE_MAX = 4, +}; + +enum d_real_type { + D_REAL_DATA = 0, + D_REAL_METADATA = 1, }; enum d_walk_ret { @@ -6582,9 +7126,9 @@ enum dccp_state { DCCP_TIME_WAIT = 6, DCCP_CLOSED = 7, DCCP_NEW_SYN_RECV = 12, - DCCP_PARTOPEN = 13, - DCCP_PASSIVE_CLOSEREQ = 14, - DCCP_MAX_STATES = 15, + DCCP_PARTOPEN = 14, + DCCP_PASSIVE_CLOSEREQ = 15, + DCCP_MAX_STATES = 16, }; enum dentry_d_lock_class { @@ -6713,10 +7257,35 @@ enum die_val { DIE_TRAP = 5, }; -enum dl_bw_request { - dl_bw_req_check_overflow = 0, - dl_bw_req_alloc = 1, - dl_bw_req_free = 2, +enum dim_cq_period_mode { + DIM_CQ_PERIOD_MODE_START_FROM_EQE = 0, + DIM_CQ_PERIOD_MODE_START_FROM_CQE = 1, + DIM_CQ_PERIOD_NUM_MODES = 2, +}; + +enum dim_state { + DIM_START_MEASURE = 0, + DIM_MEASURE_IN_PROGRESS = 1, + DIM_APPLY_NEW_PROFILE = 2, +}; + +enum dim_stats_state { + DIM_STATS_WORSE = 0, + DIM_STATS_SAME = 1, + DIM_STATS_BETTER = 2, +}; + +enum dim_step_result { + DIM_STEPPED = 0, + DIM_TOO_TIRED = 1, + DIM_ON_EDGE = 2, +}; + +enum dim_tune_state { + DIM_PARKING_ON_TOP = 0, + DIM_PARKING_TIRED = 1, + DIM_GOING_RIGHT = 2, + DIM_GOING_LEFT = 3, }; enum dl_dev_state { @@ -6794,14 +7363,6 @@ enum dynevent_type { DYNEVENT_TYPE_NONE = 3, }; -enum ec_command { - ACPI_EC_COMMAND_READ = 128, - ACPI_EC_COMMAND_WRITE = 129, - ACPI_EC_BURST_ENABLE = 130, - ACPI_EC_BURST_DISABLE = 131, - ACPI_EC_COMMAND_QUERY = 132, -}; - enum efi_rts_ids { EFI_NONE = 0, EFI_GET_TIME = 1, @@ -6833,6 +7394,92 @@ enum error_detector { ERROR_DETECTOR_WARN = 2, }; +enum ethnl_sock_type { + ETHTOOL_SOCK_TYPE_MODULE_FW_FLASH = 0, +}; + +enum ethtool_c33_pse_admin_state { + ETHTOOL_C33_PSE_ADMIN_STATE_UNKNOWN = 1, + ETHTOOL_C33_PSE_ADMIN_STATE_DISABLED = 2, + ETHTOOL_C33_PSE_ADMIN_STATE_ENABLED = 3, +}; + +enum ethtool_c33_pse_ext_state { + ETHTOOL_C33_PSE_EXT_STATE_ERROR_CONDITION = 1, + ETHTOOL_C33_PSE_EXT_STATE_MR_MPS_VALID = 2, + ETHTOOL_C33_PSE_EXT_STATE_MR_PSE_ENABLE = 3, + ETHTOOL_C33_PSE_EXT_STATE_OPTION_DETECT_TED = 4, + ETHTOOL_C33_PSE_EXT_STATE_OPTION_VPORT_LIM = 5, + ETHTOOL_C33_PSE_EXT_STATE_OVLD_DETECTED = 6, + ETHTOOL_C33_PSE_EXT_STATE_PD_DLL_POWER_TYPE = 7, + ETHTOOL_C33_PSE_EXT_STATE_POWER_NOT_AVAILABLE = 8, + ETHTOOL_C33_PSE_EXT_STATE_SHORT_DETECTED = 9, +}; + +enum ethtool_c33_pse_ext_substate_error_condition { + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_NON_EXISTING_PORT = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_UNDEFINED_PORT = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_INTERNAL_HW_FAULT = 3, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_COMM_ERROR_AFTER_FORCE_ON = 4, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_UNKNOWN_PORT_STATUS = 5, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_HOST_CRASH_TURN_OFF = 6, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_HOST_CRASH_FORCE_SHUTDOWN = 7, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_CONFIG_CHANGE = 8, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_DETECTED_OVER_TEMP = 9, +}; + +enum ethtool_c33_pse_ext_substate_mr_pse_enable { + ETHTOOL_C33_PSE_EXT_SUBSTATE_MR_PSE_ENABLE_DISABLE_PIN_ACTIVE = 1, +}; + +enum ethtool_c33_pse_ext_substate_option_detect_ted { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_DETECT_TED_DET_IN_PROCESS = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_DETECT_TED_CONNECTION_CHECK_ERROR = 2, +}; + +enum ethtool_c33_pse_ext_substate_option_vport_lim { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_HIGH_VOLTAGE = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_LOW_VOLTAGE = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_VOLTAGE_INJECTION = 3, +}; + +enum ethtool_c33_pse_ext_substate_ovld_detected { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OVLD_DETECTED_OVERLOAD = 1, +}; + +enum ethtool_c33_pse_ext_substate_power_not_available { + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_BUDGET_EXCEEDED = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_PORT_PW_LIMIT_EXCEEDS_CONTROLLER_BUDGET = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_PD_REQUEST_EXCEEDS_PORT_LIMIT = 3, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_HW_PW_LIMIT = 4, +}; + +enum ethtool_c33_pse_ext_substate_short_detected { + ETHTOOL_C33_PSE_EXT_SUBSTATE_SHORT_DETECTED_SHORT_CONDITION = 1, +}; + +enum ethtool_c33_pse_pw_d_status { + ETHTOOL_C33_PSE_PW_D_STATUS_UNKNOWN = 1, + ETHTOOL_C33_PSE_PW_D_STATUS_DISABLED = 2, + ETHTOOL_C33_PSE_PW_D_STATUS_SEARCHING = 3, + ETHTOOL_C33_PSE_PW_D_STATUS_DELIVERING = 4, + ETHTOOL_C33_PSE_PW_D_STATUS_TEST = 5, + ETHTOOL_C33_PSE_PW_D_STATUS_FAULT = 6, + ETHTOOL_C33_PSE_PW_D_STATUS_OTHERFAULT = 7, +}; + +enum ethtool_cmis_cdb_cmd_id { + ETHTOOL_CMIS_CDB_CMD_QUERY_STATUS = 0, + ETHTOOL_CMIS_CDB_CMD_MODULE_FEATURES = 64, + ETHTOOL_CMIS_CDB_CMD_FW_MANAGMENT_FEATURES = 65, + ETHTOOL_CMIS_CDB_CMD_START_FW_DOWNLOAD = 257, + ETHTOOL_CMIS_CDB_CMD_WRITE_FW_BLOCK_LPL = 259, + ETHTOOL_CMIS_CDB_CMD_WRITE_FW_BLOCK_EPL = 260, + ETHTOOL_CMIS_CDB_CMD_COMPLETE_FW_DOWNLOAD = 263, + ETHTOOL_CMIS_CDB_CMD_RUN_FW_IMAGE = 265, + ETHTOOL_CMIS_CDB_CMD_COMMIT_FW_IMAGE = 266, +}; + enum ethtool_fec_config_bits { ETHTOOL_FEC_NONE_BIT = 0, ETHTOOL_FEC_AUTO_BIT = 1, @@ -6850,6 +7497,12 @@ enum ethtool_flags { ETH_FLAG_RXHASH = 268435456, }; +enum ethtool_header_flags { + ETHTOOL_FLAG_COMPACT_BITSETS = 1, + ETHTOOL_FLAG_OMIT_REPLY = 2, + ETHTOOL_FLAG_STATS = 4, +}; + enum ethtool_link_ext_state { ETHTOOL_LINK_EXT_STATE_AUTONEG = 0, ETHTOOL_LINK_EXT_STATE_LINK_TRAINING_FAILURE = 1, @@ -7007,7 +7660,8 @@ enum ethtool_link_mode_bit_indices { ETHTOOL_LINK_MODE_10baseT1S_Full_BIT = 99, ETHTOOL_LINK_MODE_10baseT1S_Half_BIT = 100, ETHTOOL_LINK_MODE_10baseT1S_P2MP_Half_BIT = 101, - __ETHTOOL_LINK_MODE_MASK_NBITS = 102, + ETHTOOL_LINK_MODE_10baseT1BRR_Full_BIT = 102, + __ETHTOOL_LINK_MODE_MASK_NBITS = 103, }; enum ethtool_mac_stats_src { @@ -7025,6 +7679,13 @@ enum ethtool_mm_verify_status { ETHTOOL_MM_VERIFY_STATUS_DISABLED = 5, }; +enum ethtool_module_fw_flash_status { + ETHTOOL_MODULE_FW_FLASH_STATUS_STARTED = 1, + ETHTOOL_MODULE_FW_FLASH_STATUS_IN_PROGRESS = 2, + ETHTOOL_MODULE_FW_FLASH_STATUS_COMPLETED = 3, + ETHTOOL_MODULE_FW_FLASH_STATUS_ERROR = 4, +}; + enum ethtool_module_power_mode { ETHTOOL_MODULE_POWER_MODE_LOW = 1, ETHTOOL_MODULE_POWER_MODE_HIGH = 2, @@ -7062,6 +7723,20 @@ enum ethtool_podl_pse_pw_d_status { ETHTOOL_PODL_PSE_PW_D_STATUS_ERROR = 7, }; +enum ethtool_reset_flags { + ETH_RESET_MGMT = 1, + ETH_RESET_IRQ = 2, + ETH_RESET_DMA = 4, + ETH_RESET_FILTER = 8, + ETH_RESET_OFFLOAD = 16, + ETH_RESET_MAC = 32, + ETH_RESET_PHY = 64, + ETH_RESET_RAM = 128, + ETH_RESET_AP = 256, + ETH_RESET_DEDICATED = 65535, + ETH_RESET_ALL = 4294967295, +}; + enum ethtool_sfeatures_retval_bits { ETHTOOL_F_UNSUPPORTED__BIT = 0, ETHTOOL_F_WISH__BIT = 1, @@ -7090,7 +7765,9 @@ enum ethtool_stringset { ETH_SS_STATS_ETH_MAC = 18, ETH_SS_STATS_ETH_CTRL = 19, ETH_SS_STATS_RMON = 20, - ETH_SS_COUNT = 21, + ETH_SS_STATS_PHY = 21, + ETH_SS_TS_FLAGS = 22, + ETH_SS_COUNT = 23, }; enum ethtool_supported_ring_param { @@ -7099,6 +7776,14 @@ enum ethtool_supported_ring_param { ETHTOOL_RING_USE_TX_PUSH = 4, ETHTOOL_RING_USE_RX_PUSH = 8, ETHTOOL_RING_USE_TX_PUSH_BUF_LEN = 16, + ETHTOOL_RING_USE_TCP_DATA_SPLIT = 32, + ETHTOOL_RING_USE_HDS_THRS = 64, +}; + +enum ethtool_tcp_data_split { + ETHTOOL_TCP_DATA_SPLIT_UNKNOWN = 0, + ETHTOOL_TCP_DATA_SPLIT_DISABLED = 1, + ETHTOOL_TCP_DATA_SPLIT_ENABLED = 2, }; enum event_command_flags { @@ -7121,8 +7806,32 @@ enum event_type_t { EVENT_FLEXIBLE = 1, EVENT_PINNED = 2, EVENT_TIME = 4, - EVENT_CPU = 8, + EVENT_FROZEN = 8, + EVENT_CPU = 16, + EVENT_CGROUP = 32, EVENT_ALL = 3, + EVENT_TIME_FROZEN = 12, +}; + +enum exact_level { + NOT_EXACT = 0, + EXACT = 1, + RANGE_WITHIN = 2, +}; + +enum execmem_range_flags { + EXECMEM_KASAN_SHADOW = 1, + EXECMEM_ROX_CACHE = 2, +}; + +enum execmem_type { + EXECMEM_DEFAULT = 0, + EXECMEM_MODULE_TEXT = 0, + EXECMEM_KPROBES = 1, + EXECMEM_FTRACE = 2, + EXECMEM_BPF = 3, + EXECMEM_MODULE_DATA = 4, + EXECMEM_TYPE_MAX = 5, }; enum fail_dup_mod_reason { @@ -7146,12 +7855,6 @@ enum fault_flag { FAULT_FLAG_VMA_LOCK = 4096, }; -enum fbq_type { - regular = 0, - remote = 1, - all = 2, -}; - enum fetch_op { FETCH_OP_NOP = 0, FETCH_OP_REG = 1, @@ -7163,19 +7866,21 @@ enum fetch_op { FETCH_OP_ARG = 7, FETCH_OP_FOFFS = 8, FETCH_OP_DATA = 9, - FETCH_OP_DEREF = 10, - FETCH_OP_UDEREF = 11, - FETCH_OP_ST_RAW = 12, - FETCH_OP_ST_MEM = 13, - FETCH_OP_ST_UMEM = 14, - FETCH_OP_ST_STRING = 15, - FETCH_OP_ST_USTRING = 16, - FETCH_OP_ST_SYMSTR = 17, - FETCH_OP_MOD_BF = 18, - FETCH_OP_LP_ARRAY = 19, - FETCH_OP_TP_ARG = 20, - FETCH_OP_END = 21, - FETCH_NOP_SYMBOL = 22, + FETCH_OP_EDATA = 10, + FETCH_OP_DEREF = 11, + FETCH_OP_UDEREF = 12, + FETCH_OP_ST_RAW = 13, + FETCH_OP_ST_MEM = 14, + FETCH_OP_ST_UMEM = 15, + FETCH_OP_ST_STRING = 16, + FETCH_OP_ST_USTRING = 17, + FETCH_OP_ST_SYMSTR = 18, + FETCH_OP_ST_EDATA = 19, + FETCH_OP_MOD_BF = 20, + FETCH_OP_LP_ARRAY = 21, + FETCH_OP_TP_ARG = 22, + FETCH_OP_END = 23, + FETCH_NOP_SYMBOL = 24, }; enum fib6_walk_state { @@ -7211,7 +7916,11 @@ enum fid_type { FILEID_NILFS_WITH_PARENT = 98, FILEID_FAT_WITHOUT_PARENT = 113, FILEID_FAT_WITH_PARENT = 114, + FILEID_INO64_GEN = 129, + FILEID_INO64_GEN_PARENT = 130, FILEID_LUSTRE = 151, + FILEID_BCACHEFS_WITHOUT_PARENT = 177, + FILEID_BCACHEFS_WITH_PARENT = 178, FILEID_KERNFS = 254, FILEID_INVALID = 255, }; @@ -7367,6 +8076,16 @@ enum flow_dissect_ret { FLOW_DISSECT_RET_CONTINUE = 4, }; +enum flow_dissector_ctrl_flags { + FLOW_DIS_IS_FRAGMENT = 1, + FLOW_DIS_FIRST_FRAG = 2, + FLOW_DIS_F_TUNNEL_CSUM = 4, + FLOW_DIS_F_TUNNEL_DONT_FRAGMENT = 8, + FLOW_DIS_F_TUNNEL_OAM = 16, + FLOW_DIS_F_TUNNEL_CRIT_OPT = 32, + FLOW_DIS_ENCAPSULATION = 64, +}; + enum flow_dissector_key_id { FLOW_DISSECTOR_KEY_CONTROL = 0, FLOW_DISSECTOR_KEY_BASIC = 1, @@ -7417,31 +8136,28 @@ enum folio_references { FOLIOREF_ACTIVATE = 3, }; -enum format_type { - FORMAT_TYPE_NONE = 0, - FORMAT_TYPE_WIDTH = 1, - FORMAT_TYPE_PRECISION = 2, - FORMAT_TYPE_CHAR = 3, - FORMAT_TYPE_STR = 4, - FORMAT_TYPE_PTR = 5, - FORMAT_TYPE_PERCENT_CHAR = 6, - FORMAT_TYPE_INVALID = 7, - FORMAT_TYPE_LONG_LONG = 8, - FORMAT_TYPE_ULONG = 9, - FORMAT_TYPE_LONG = 10, - FORMAT_TYPE_UBYTE = 11, - FORMAT_TYPE_BYTE = 12, - FORMAT_TYPE_USHORT = 13, - FORMAT_TYPE_SHORT = 14, - FORMAT_TYPE_UINT = 15, - FORMAT_TYPE_INT = 16, - FORMAT_TYPE_SIZE_T = 17, - FORMAT_TYPE_PTRDIFF = 18, +enum folio_walk_level { + FW_LEVEL_PTE = 0, + FW_LEVEL_PMD = 1, + FW_LEVEL_PUD = 2, +}; + +enum format_state { + FORMAT_STATE_NONE = 0, + FORMAT_STATE_NUM = 1, + FORMAT_STATE_WIDTH = 2, + FORMAT_STATE_PRECISION = 3, + FORMAT_STATE_CHAR = 4, + FORMAT_STATE_STR = 5, + FORMAT_STATE_PTR = 6, + FORMAT_STATE_PERCENT_CHAR = 7, + FORMAT_STATE_INVALID = 8, }; enum freeze_holder { FREEZE_HOLDER_KERNEL = 1, FREEZE_HOLDER_USERSPACE = 2, + FREEZE_MAY_NEST = 4, }; enum freq_qos_req_type { @@ -7488,10 +8204,18 @@ enum fsconfig_command { enum fsnotify_data_type { FSNOTIFY_EVENT_NONE = 0, - FSNOTIFY_EVENT_PATH = 1, - FSNOTIFY_EVENT_INODE = 2, - FSNOTIFY_EVENT_DENTRY = 3, - FSNOTIFY_EVENT_ERROR = 4, + FSNOTIFY_EVENT_FILE_RANGE = 1, + FSNOTIFY_EVENT_PATH = 2, + FSNOTIFY_EVENT_INODE = 3, + FSNOTIFY_EVENT_DENTRY = 4, + FSNOTIFY_EVENT_ERROR = 5, +}; + +enum fsnotify_group_prio { + FSNOTIFY_PRIO_NORMAL = 0, + FSNOTIFY_PRIO_CONTENT = 1, + FSNOTIFY_PRIO_PRE_CONTENT = 2, + __FSNOTIFY_PRIO_NUM = 3, }; enum fsnotify_iter_type { @@ -7515,6 +8239,7 @@ enum ftrace_dump_mode { DUMP_NONE = 0, DUMP_ALL = 1, DUMP_ORIG = 2, + DUMP_PARAM = 3, }; enum ftrace_ops_cmd { @@ -7542,6 +8267,12 @@ enum gpio_lookup_flags { GPIO_LOOKUP_FLAGS_DEFAULT = 0, }; +enum gpio_v2_line_changed_type { + GPIO_V2_LINE_CHANGED_REQUESTED = 1, + GPIO_V2_LINE_CHANGED_RELEASED = 2, + GPIO_V2_LINE_CHANGED_CONFIG = 3, +}; + enum gpiod_flags { GPIOD_ASIS = 0, GPIOD_IN = 1, @@ -7566,14 +8297,9 @@ enum gro_result { typedef enum gro_result gro_result_t; -enum group_type { - group_has_spare = 0, - group_fully_busy = 1, - group_misfit_task = 2, - group_smt_balance = 3, - group_asym_packing = 4, - group_imbalanced = 5, - group_overloaded = 6, +enum handle_to_path_flags { + HANDLE_CHECK_PERMS = 1, + HANDLE_CHECK_SUBTREE = 2, }; enum hash_algo { @@ -7597,7 +8323,10 @@ enum hash_algo { HASH_ALGO_SM3_256 = 17, HASH_ALGO_STREEBOG_256 = 18, HASH_ALGO_STREEBOG_512 = 19, - HASH_ALGO__LAST = 20, + HASH_ALGO_SHA3_256 = 20, + HASH_ALGO_SHA3_384 = 21, + HASH_ALGO_SHA3_512 = 22, + HASH_ALGO__LAST = 23, }; enum hctx_type { @@ -7608,16 +8337,23 @@ enum hctx_type { }; enum hk_type { - HK_TYPE_TIMER = 0, - HK_TYPE_RCU = 1, + HK_TYPE_DOMAIN = 0, + HK_TYPE_MANAGED_IRQ = 1, + HK_TYPE_KERNEL_NOISE = 2, + HK_TYPE_MAX = 3, + HK_TYPE_TICK = 2, + HK_TYPE_TIMER = 2, + HK_TYPE_RCU = 2, HK_TYPE_MISC = 2, - HK_TYPE_SCHED = 3, - HK_TYPE_TICK = 4, - HK_TYPE_DOMAIN = 5, - HK_TYPE_WQ = 6, - HK_TYPE_MANAGED_IRQ = 7, - HK_TYPE_KTHREAD = 8, - HK_TYPE_MAX = 9, + HK_TYPE_WQ = 2, + HK_TYPE_KTHREAD = 2, +}; + +enum hprobe_state { + HPROBE_LEASED = 0, + HPROBE_STABLE = 1, + HPROBE_GONE = 2, + HPROBE_CONSUMED = 3, }; enum hpx_type3_cfg_loc { @@ -7693,6 +8429,12 @@ enum hwtstamp_flags { HWTSTAMP_FLAG_MASK = 1, }; +enum hwtstamp_provider_qualifier { + HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, + HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, + HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +}; + enum hwtstamp_rx_filters { HWTSTAMP_FILTER_NONE = 0, HWTSTAMP_FILTER_ALL = 1, @@ -7714,8 +8456,9 @@ enum hwtstamp_rx_filters { }; enum hwtstamp_source { - HWTSTAMP_SOURCE_NETDEV = 0, - HWTSTAMP_SOURCE_PHYLIB = 1, + HWTSTAMP_SOURCE_UNSPEC = 0, + HWTSTAMP_SOURCE_NETDEV = 1, + HWTSTAMP_SOURCE_PHYLIB = 2, }; enum hwtstamp_tx_types { @@ -7831,7 +8574,79 @@ enum io_uring_op { IORING_OP_URING_CMD = 46, IORING_OP_SEND_ZC = 47, IORING_OP_SENDMSG_ZC = 48, - IORING_OP_LAST = 49, + IORING_OP_READ_MULTISHOT = 49, + IORING_OP_WAITID = 50, + IORING_OP_FUTEX_WAIT = 51, + IORING_OP_FUTEX_WAKE = 52, + IORING_OP_FUTEX_WAITV = 53, + IORING_OP_FIXED_FD_INSTALL = 54, + IORING_OP_FTRUNCATE = 55, + IORING_OP_BIND = 56, + IORING_OP_LISTEN = 57, + IORING_OP_LAST = 58, +}; + +enum io_uring_register_op { + IORING_REGISTER_BUFFERS = 0, + IORING_UNREGISTER_BUFFERS = 1, + IORING_REGISTER_FILES = 2, + IORING_UNREGISTER_FILES = 3, + IORING_REGISTER_EVENTFD = 4, + IORING_UNREGISTER_EVENTFD = 5, + IORING_REGISTER_FILES_UPDATE = 6, + IORING_REGISTER_EVENTFD_ASYNC = 7, + IORING_REGISTER_PROBE = 8, + IORING_REGISTER_PERSONALITY = 9, + IORING_UNREGISTER_PERSONALITY = 10, + IORING_REGISTER_RESTRICTIONS = 11, + IORING_REGISTER_ENABLE_RINGS = 12, + IORING_REGISTER_FILES2 = 13, + IORING_REGISTER_FILES_UPDATE2 = 14, + IORING_REGISTER_BUFFERS2 = 15, + IORING_REGISTER_BUFFERS_UPDATE = 16, + IORING_REGISTER_IOWQ_AFF = 17, + IORING_UNREGISTER_IOWQ_AFF = 18, + IORING_REGISTER_IOWQ_MAX_WORKERS = 19, + IORING_REGISTER_RING_FDS = 20, + IORING_UNREGISTER_RING_FDS = 21, + IORING_REGISTER_PBUF_RING = 22, + IORING_UNREGISTER_PBUF_RING = 23, + IORING_REGISTER_SYNC_CANCEL = 24, + IORING_REGISTER_FILE_ALLOC_RANGE = 25, + IORING_REGISTER_PBUF_STATUS = 26, + IORING_REGISTER_NAPI = 27, + IORING_UNREGISTER_NAPI = 28, + IORING_REGISTER_CLOCK = 29, + IORING_REGISTER_CLONE_BUFFERS = 30, + IORING_REGISTER_SEND_MSG_RING = 31, + IORING_REGISTER_RESIZE_RINGS = 33, + IORING_REGISTER_MEM_REGION = 34, + IORING_REGISTER_LAST = 35, + IORING_REGISTER_USE_REGISTERED_RING = 2147483648, +}; + +enum io_uring_sqe_flags_bit { + IOSQE_FIXED_FILE_BIT = 0, + IOSQE_IO_DRAIN_BIT = 1, + IOSQE_IO_LINK_BIT = 2, + IOSQE_IO_HARDLINK_BIT = 3, + IOSQE_ASYNC_BIT = 4, + IOSQE_BUFFER_SELECT_BIT = 5, + IOSQE_CQE_SKIP_SUCCESS_BIT = 6, +}; + +enum ioam6_event_attr { + IOAM6_EVENT_ATTR_UNSPEC = 0, + IOAM6_EVENT_ATTR_TRACE_NAMESPACE = 1, + IOAM6_EVENT_ATTR_TRACE_NODELEN = 2, + IOAM6_EVENT_ATTR_TRACE_TYPE = 3, + IOAM6_EVENT_ATTR_TRACE_DATA = 4, + __IOAM6_EVENT_ATTR_MAX = 5, +}; + +enum ioam6_event_type { + IOAM6_EVENT_UNSPEC = 0, + IOAM6_EVENT_TRACE = 1, }; enum ip6_defrag_users { @@ -7850,8 +8665,6 @@ enum ip_conntrack_dir { IP_CT_DIR_MAX = 2, }; -enum ip_conntrack_info; - enum ip_defrag_users { IP_DEFRAG_LOCAL_DELIVER = 0, IP_DEFRAG_CALL_RA_CHAIN = 1, @@ -7868,11 +8681,6 @@ enum ip_defrag_users { IP_DEFRAG_MACVLAN = 196614, }; -enum ipi_msg_type { - IPI_RESCHEDULE = 0, - IPI_CALL_FUNCTION = 1, -}; - enum irq_domain_bus_token { DOMAIN_BUS_ANY = 0, DOMAIN_BUS_WIRED = 1, @@ -7889,7 +8697,8 @@ enum irq_domain_bus_token { DOMAIN_BUS_PCI_DEVICE_MSIX = 12, DOMAIN_BUS_DMAR = 13, DOMAIN_BUS_AMDVI = 14, - DOMAIN_BUS_PCI_DEVICE_IMS = 15, + DOMAIN_BUS_DEVICE_MSI = 15, + DOMAIN_BUS_WIRED_TO_MSI = 16, }; enum irq_gc_flags { @@ -7916,12 +8725,13 @@ enum irqreturn { typedef enum irqreturn irqreturn_t; enum iter_type { - ITER_IOVEC = 0, - ITER_KVEC = 1, + ITER_UBUF = 0, + ITER_IOVEC = 1, ITER_BVEC = 2, - ITER_XARRAY = 3, - ITER_DISCARD = 4, - ITER_UBUF = 5, + ITER_KVEC = 3, + ITER_FOLIOQ = 4, + ITER_XARRAY = 5, + ITER_DISCARD = 6, }; enum kernel_load_data_id { @@ -7946,16 +8756,6 @@ enum kernel_read_file_id { READING_MAX_ID = 7, }; -enum key_being_used_for { - VERIFYING_MODULE_SIGNATURE = 0, - VERIFYING_FIRMWARE_SIGNATURE = 1, - VERIFYING_KEXEC_PE_SIGNATURE = 2, - VERIFYING_KEY_SIGNATURE = 3, - VERIFYING_KEY_SELF_SIGNATURE = 4, - VERIFYING_UNSPECIFIED_SIGNATURE = 5, - NR__KEY_BEING_USED_FOR = 6, -}; - enum kfunc_ptr_arg_type { KF_ARG_PTR_TO_CTX = 0, KF_ARG_PTR_TO_ALLOC_BTF_ID = 1, @@ -7970,6 +8770,11 @@ enum kfunc_ptr_arg_type { KF_ARG_PTR_TO_CALLBACK = 10, KF_ARG_PTR_TO_RB_ROOT = 11, KF_ARG_PTR_TO_RB_NODE = 12, + KF_ARG_PTR_TO_NULL = 13, + KF_ARG_PTR_TO_CONST_STR = 14, + KF_ARG_PTR_TO_MAP = 15, + KF_ARG_PTR_TO_WORKQUEUE = 16, + KF_ARG_PTR_TO_IRQ_FLAG = 17, }; enum kmalloc_cache_type { @@ -8132,6 +8937,7 @@ enum lru_status { LRU_ROTATE = 2, LRU_SKIP = 3, LRU_RETRY = 4, + LRU_STOP = 5, }; enum lruvec_flags { @@ -8184,6 +8990,17 @@ enum lwtunnel_ip_t { __LWTUNNEL_IP_MAX = 9, }; +enum maple_status { + ma_active = 0, + ma_start = 1, + ma_root = 2, + ma_none = 3, + ma_pause = 4, + ma_overflow = 5, + ma_underflow = 6, + ma_error = 7, +}; + enum maple_type { maple_dense = 0, maple_leaf_64 = 1, @@ -8198,8 +9015,12 @@ enum mapping_flags { AS_UNEVICTABLE = 3, AS_EXITING = 4, AS_NO_WRITEBACK_TAGS = 5, - AS_LARGE_FOLIO_SUPPORT = 6, - AS_RELEASE_ALWAYS = 7, + AS_RELEASE_ALWAYS = 6, + AS_STABLE_WRITES = 7, + AS_INACCESSIBLE = 8, + AS_FOLIO_ORDER_BITS = 5, + AS_FOLIO_ORDER_MIN = 16, + AS_FOLIO_ORDER_MAX = 21, }; enum memblock_flags { @@ -8208,6 +9029,7 @@ enum memblock_flags { MEMBLOCK_MIRROR = 2, MEMBLOCK_NOMAP = 4, MEMBLOCK_DRIVER_MANAGED = 8, + MEMBLOCK_RSRV_NOINIT = 16, }; enum memcg_memory_event { @@ -8224,14 +9046,14 @@ enum memcg_memory_event { }; enum memcg_stat_item { - MEMCG_SWAP = 40, - MEMCG_SOCK = 41, - MEMCG_PERCPU_B = 42, - MEMCG_VMALLOC = 43, - MEMCG_KMEM = 44, - MEMCG_ZSWAP_B = 45, - MEMCG_ZSWAPPED = 46, - MEMCG_NR_STAT = 47, + MEMCG_SWAP = 43, + MEMCG_SOCK = 44, + MEMCG_PERCPU_B = 45, + MEMCG_VMALLOC = 46, + MEMCG_KMEM = 47, + MEMCG_ZSWAP_B = 48, + MEMCG_ZSWAPPED = 49, + MEMCG_NR_STAT = 50, }; enum meminit_context { @@ -8258,7 +9080,6 @@ enum migrate_mode { MIGRATE_ASYNC = 0, MIGRATE_SYNC_LIGHT = 1, MIGRATE_SYNC = 2, - MIGRATE_SYNC_NO_COPY = 3, }; enum migrate_reason { @@ -8271,7 +9092,8 @@ enum migrate_reason { MR_CONTIG_RANGE = 6, MR_LONGTERM_PIN = 7, MR_DEMOTION = 8, - MR_TYPES = 9, + MR_DAMON = 9, + MR_TYPES = 10, }; enum migratetype { @@ -8283,13 +9105,6 @@ enum migratetype { MIGRATE_TYPES = 4, }; -enum migration_type { - migrate_load = 0, - migrate_util = 1, - migrate_task = 2, - migrate_misfit = 3, -}; - enum mmap_allocation_direction { UP = 0, DOWN = 1, @@ -8344,16 +9159,36 @@ enum msi_desc_filter { enum msi_domain_ids { MSI_DEFAULT_DOMAIN = 0, - MSI_SECONDARY_DOMAIN = 1, - MSI_MAX_DEVICE_IRQDOMAINS = 2, -}; - -enum multi_stop_state { - MULTI_STOP_NONE = 0, - MULTI_STOP_PREPARE = 1, - MULTI_STOP_DISABLE_IRQ = 2, - MULTI_STOP_RUN = 3, - MULTI_STOP_EXIT = 4, + MSI_MAX_DEVICE_IRQDOMAINS = 1, +}; + +enum mthp_stat_item { + MTHP_STAT_ANON_FAULT_ALLOC = 0, + MTHP_STAT_ANON_FAULT_FALLBACK = 1, + MTHP_STAT_ANON_FAULT_FALLBACK_CHARGE = 2, + MTHP_STAT_ZSWPOUT = 3, + MTHP_STAT_SWPIN = 4, + MTHP_STAT_SWPIN_FALLBACK = 5, + MTHP_STAT_SWPIN_FALLBACK_CHARGE = 6, + MTHP_STAT_SWPOUT = 7, + MTHP_STAT_SWPOUT_FALLBACK = 8, + MTHP_STAT_SHMEM_ALLOC = 9, + MTHP_STAT_SHMEM_FALLBACK = 10, + MTHP_STAT_SHMEM_FALLBACK_CHARGE = 11, + MTHP_STAT_SPLIT = 12, + MTHP_STAT_SPLIT_FAILED = 13, + MTHP_STAT_SPLIT_DEFERRED = 14, + MTHP_STAT_NR_ANON = 15, + MTHP_STAT_NR_ANON_PARTIALLY_MAPPED = 16, + __MTHP_STAT_COUNT = 17, +}; + +enum nbcon_prio { + NBCON_PRIO_NONE = 0, + NBCON_PRIO_NORMAL = 1, + NBCON_PRIO_EMERGENCY = 2, + NBCON_PRIO_PANIC = 3, + NBCON_PRIO_MAX = 4, }; enum net_device_flags { @@ -8440,40 +9275,42 @@ enum netdev_offload_xstats_type { }; enum netdev_priv_flags { - IFF_802_1Q_VLAN = 1ULL, - IFF_EBRIDGE = 2ULL, - IFF_BONDING = 4ULL, - IFF_ISATAP = 8ULL, - IFF_WAN_HDLC = 16ULL, - IFF_XMIT_DST_RELEASE = 32ULL, - IFF_DONT_BRIDGE = 64ULL, - IFF_DISABLE_NETPOLL = 128ULL, - IFF_MACVLAN_PORT = 256ULL, - IFF_BRIDGE_PORT = 512ULL, - IFF_OVS_DATAPATH = 1024ULL, - IFF_TX_SKB_SHARING = 2048ULL, - IFF_UNICAST_FLT = 4096ULL, - IFF_TEAM_PORT = 8192ULL, - IFF_SUPP_NOFCS = 16384ULL, - IFF_LIVE_ADDR_CHANGE = 32768ULL, - IFF_MACVLAN = 65536ULL, - IFF_XMIT_DST_RELEASE_PERM = 131072ULL, - IFF_L3MDEV_MASTER = 262144ULL, - IFF_NO_QUEUE = 524288ULL, - IFF_OPENVSWITCH = 1048576ULL, - IFF_L3MDEV_SLAVE = 2097152ULL, - IFF_TEAM = 4194304ULL, - IFF_RXFH_CONFIGURED = 8388608ULL, - IFF_PHONY_HEADROOM = 16777216ULL, - IFF_MACSEC = 33554432ULL, - IFF_NO_RX_HANDLER = 67108864ULL, - IFF_FAILOVER = 134217728ULL, - IFF_FAILOVER_SLAVE = 268435456ULL, - IFF_L3MDEV_RX_HANDLER = 536870912ULL, - IFF_NO_ADDRCONF = 1073741824ULL, - IFF_TX_SKB_NO_LINEAR = 2147483648ULL, - IFF_CHANGE_PROTO_DOWN = 4294967296ULL, - IFF_SEE_ALL_HWTSTAMP_REQUESTS = 8589934592ULL, + IFF_802_1Q_VLAN = 1, + IFF_EBRIDGE = 2, + IFF_BONDING = 4, + IFF_ISATAP = 8, + IFF_WAN_HDLC = 16, + IFF_XMIT_DST_RELEASE = 32, + IFF_DONT_BRIDGE = 64, + IFF_DISABLE_NETPOLL = 128, + IFF_MACVLAN_PORT = 256, + IFF_BRIDGE_PORT = 512, + IFF_OVS_DATAPATH = 1024, + IFF_TX_SKB_SHARING = 2048, + IFF_UNICAST_FLT = 4096, + IFF_TEAM_PORT = 8192, + IFF_SUPP_NOFCS = 16384, + IFF_LIVE_ADDR_CHANGE = 32768, + IFF_MACVLAN = 65536, + IFF_XMIT_DST_RELEASE_PERM = 131072, + IFF_L3MDEV_MASTER = 262144, + IFF_NO_QUEUE = 524288, + IFF_OPENVSWITCH = 1048576, + IFF_L3MDEV_SLAVE = 2097152, + IFF_TEAM = 4194304, + IFF_RXFH_CONFIGURED = 8388608, + IFF_PHONY_HEADROOM = 16777216, + IFF_MACSEC = 33554432, + IFF_NO_RX_HANDLER = 67108864, + IFF_FAILOVER = 134217728, + IFF_FAILOVER_SLAVE = 268435456, + IFF_L3MDEV_RX_HANDLER = 536870912, + IFF_NO_ADDRCONF = 1073741824, + IFF_TX_SKB_NO_LINEAR = 2147483648, +}; + +enum netdev_qstats_scope { + NETDEV_QSTATS_SCOPE_QUEUE = 1, }; enum netdev_queue_state_t { @@ -8482,6 +9319,27 @@ enum netdev_queue_state_t { __QUEUE_STATE_FROZEN = 2, }; +enum netdev_queue_type { + NETDEV_QUEUE_TYPE_RX = 0, + NETDEV_QUEUE_TYPE_TX = 1, +}; + +enum netdev_reg_state { + NETREG_UNINITIALIZED = 0, + NETREG_REGISTERED = 1, + NETREG_UNREGISTERING = 2, + NETREG_UNREGISTERED = 3, + NETREG_RELEASED = 4, + NETREG_DUMMY = 5, +}; + +enum netdev_stat_type { + NETDEV_PCPU_STAT_NONE = 0, + NETDEV_PCPU_STAT_LSTATS = 1, + NETDEV_PCPU_STAT_TSTATS = 2, + NETDEV_PCPU_STAT_DSTATS = 3, +}; + enum netdev_state_t { __LINK_STATE_START = 0, __LINK_STATE_PRESENT = 1, @@ -8510,6 +9368,17 @@ enum netdev_xdp_act { NETDEV_XDP_ACT_MASK = 127, }; +enum netdev_xdp_rx_metadata { + NETDEV_XDP_RX_METADATA_TIMESTAMP = 1, + NETDEV_XDP_RX_METADATA_HASH = 2, + NETDEV_XDP_RX_METADATA_VLAN_TAG = 4, +}; + +enum netdev_xsk_flags { + NETDEV_XSK_FLAGS_TX_TIMESTAMP = 1, + NETDEV_XSK_FLAGS_TX_CHECKSUM = 2, +}; + enum netevent_notif_type { NETEVENT_NEIGH_UPDATE = 1, NETEVENT_REDIRECT = 2, @@ -8536,6 +9405,8 @@ enum netlink_attribute_type { NL_ATTR_TYPE_NESTED = 13, NL_ATTR_TYPE_NESTED_ARRAY = 14, NL_ATTR_TYPE_BITFIELD32 = 15, + NL_ATTR_TYPE_SINT = 16, + NL_ATTR_TYPE_UINT = 17, }; enum netlink_policy_type_attr { @@ -8581,18 +9452,7 @@ enum nexthop_event_type { NEXTHOP_EVENT_REPLACE = 1, NEXTHOP_EVENT_RES_TABLE_PRE_REPLACE = 2, NEXTHOP_EVENT_BUCKET_REPLACE = 3, -}; - -enum nf_dev_hooks { - NF_NETDEV_INGRESS = 0, - NF_NETDEV_EGRESS = 1, - NF_NETDEV_NUMHOOKS = 2, -}; - -enum nf_hook_ops_type { - NF_HOOK_OP_UNDEFINED = 0, - NF_HOOK_OP_NF_TABLES = 1, - NF_HOOK_OP_BPF = 2, + NEXTHOP_EVENT_HW_STATS_REPORT_DELTA = 4, }; enum nf_inet_hooks { @@ -8605,30 +9465,6 @@ enum nf_inet_hooks { NF_INET_INGRESS = 5, }; -enum nf_ip_hook_priorities { - NF_IP_PRI_FIRST = -2147483648, - NF_IP_PRI_RAW_BEFORE_DEFRAG = -450, - NF_IP_PRI_CONNTRACK_DEFRAG = -400, - NF_IP_PRI_RAW = -300, - NF_IP_PRI_SELINUX_FIRST = -225, - NF_IP_PRI_CONNTRACK = -200, - NF_IP_PRI_MANGLE = -150, - NF_IP_PRI_NAT_DST = -100, - NF_IP_PRI_FILTER = 0, - NF_IP_PRI_SECURITY = 50, - NF_IP_PRI_NAT_SRC = 100, - NF_IP_PRI_SELINUX_LAST = 225, - NF_IP_PRI_CONNTRACK_HELPER = 300, - NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, - NF_IP_PRI_LAST = 2147483647, -}; - -enum nf_log_type { - NF_LOG_TYPE_LOG = 0, - NF_LOG_TYPE_ULOG = 1, - NF_LOG_TYPE_MAX = 2, -}; - enum nfs_opnum4 { OP_ACCESS = 3, OP_CLOSE = 4, @@ -8711,6 +9547,7 @@ enum nh_notifier_info_type { NH_NOTIFIER_INFO_TYPE_GRP = 1, NH_NOTIFIER_INFO_TYPE_RES_TABLE = 2, NH_NOTIFIER_INFO_TYPE_RES_BUCKET = 3, + NH_NOTIFIER_INFO_TYPE_GRP_HW_STATS = 4, }; enum nla_policy_validation { @@ -8781,7 +9618,10 @@ enum node_stat_item { NR_KERNEL_STACK_KB = 37, NR_PAGETABLE = 38, NR_SECONDARY_PAGETABLE = 39, - NR_VM_NODE_STAT_ITEMS = 40, + PGDEMOTE_KSWAPD = 40, + PGDEMOTE_DIRECT = 41, + PGDEMOTE_KHUGEPAGED = 42, + NR_VM_NODE_STAT_ITEMS = 43, }; enum node_states { @@ -8825,6 +9665,10 @@ enum owner_state { OWNER_NONSPINNABLE = 8, }; +enum page_size_enum { + __PAGE_SIZE = 16384, +}; + enum page_walk_action { ACTION_SUBTREE = 0, ACTION_CONTINUE = 1, @@ -8855,33 +9699,45 @@ enum pageflags { PG_waiters = 7, PG_active = 8, PG_workingset = 9, - PG_error = 10, - PG_slab = 11, - PG_owner_priv_1 = 12, - PG_arch_1 = 13, - PG_reserved = 14, - PG_private = 15, - PG_private_2 = 16, - PG_mappedtodisk = 17, - PG_reclaim = 18, - PG_swapbacked = 19, - PG_unevictable = 20, - PG_mlocked = 21, - __NR_PAGEFLAGS = 22, - PG_readahead = 18, - PG_anon_exclusive = 17, - PG_checked = 12, - PG_swapcache = 12, - PG_fscache = 16, - PG_pinned = 12, + PG_owner_priv_1 = 10, + PG_owner_2 = 11, + PG_arch_1 = 12, + PG_reserved = 13, + PG_private = 14, + PG_private_2 = 15, + PG_reclaim = 16, + PG_swapbacked = 17, + PG_unevictable = 18, + PG_dropbehind = 19, + PG_mlocked = 20, + __NR_PAGEFLAGS = 21, + PG_readahead = 16, + PG_swapcache = 10, + PG_checked = 10, + PG_anon_exclusive = 11, + PG_mappedtodisk = 11, + PG_fscache = 15, + PG_pinned = 10, PG_savepinned = 4, - PG_foreign = 12, - PG_xen_remapped = 12, - PG_isolated = 18, + PG_foreign = 10, + PG_xen_remapped = 10, + PG_isolated = 16, PG_reported = 3, - PG_has_hwpoisoned = 10, - PG_hugetlb = 8, + PG_has_hwpoisoned = 8, PG_large_rmappable = 9, + PG_partially_mapped = 16, +}; + +enum pagetype { + PGTY_buddy = 240, + PGTY_offline = 241, + PGTY_table = 242, + PGTY_guard = 243, + PGTY_hugetlb = 244, + PGTY_slab = 245, + PGTY_zsmalloc = 246, + PGTY_unaccepted = 247, + PGTY_mapcount_underflow = 255, }; enum pci_bar_type { @@ -8953,11 +9809,6 @@ enum pci_fixup_pass { pci_fixup_suspend_late = 7, }; -enum pci_mmap_api { - PCI_MMAP_SYSFS = 0, - PCI_MMAP_PROCFS = 1, -}; - enum pci_mmap_state { pci_mmap_io = 0, pci_mmap_mem = 1, @@ -8996,6 +9847,13 @@ enum pcie_reset_state { pcie_hot_reset = 3, }; +enum pcim_addr_devres_type { + PCIM_ADDR_DEVRES_TYPE_INVALID = 0, + PCIM_ADDR_DEVRES_TYPE_REGION = 1, + PCIM_ADDR_DEVRES_TYPE_REGION_MAPPING = 2, + PCIM_ADDR_DEVRES_TYPE_MAPPING = 3, +}; + enum pcpu_fc { PCPU_FC_AUTO = 0, PCPU_FC_EMBED = 1, @@ -9036,7 +9894,8 @@ enum perf_branch_sample_type { PERF_SAMPLE_BRANCH_TYPE_SAVE = 65536, PERF_SAMPLE_BRANCH_HW_INDEX = 131072, PERF_SAMPLE_BRANCH_PRIV_SAVE = 262144, - PERF_SAMPLE_BRANCH_MAX = 524288, + PERF_SAMPLE_BRANCH_COUNTERS = 524288, + PERF_SAMPLE_BRANCH_MAX = 1048576, }; enum perf_branch_sample_type_shift { @@ -9059,7 +9918,8 @@ enum perf_branch_sample_type_shift { PERF_SAMPLE_BRANCH_TYPE_SAVE_SHIFT = 16, PERF_SAMPLE_BRANCH_HW_INDEX_SHIFT = 17, PERF_SAMPLE_BRANCH_PRIV_SAVE_SHIFT = 18, - PERF_SAMPLE_BRANCH_MAX_SHIFT = 19, + PERF_SAMPLE_BRANCH_COUNTERS_SHIFT = 19, + PERF_SAMPLE_BRANCH_MAX_SHIFT = 20, }; enum perf_callchain_context { @@ -9229,6 +10089,16 @@ enum perf_hw_id { PERF_COUNT_HW_MAX = 10, }; +enum perf_pmu_scope { + PERF_PMU_SCOPE_NONE = 0, + PERF_PMU_SCOPE_CORE = 1, + PERF_PMU_SCOPE_DIE = 2, + PERF_PMU_SCOPE_CLUSTER = 3, + PERF_PMU_SCOPE_PKG = 4, + PERF_PMU_SCOPE_SYS_WIDE = 5, + PERF_PMU_MAX_SCOPE = 6, +}; + enum perf_probe_config { PERF_PROBE_CONFIG_IS_RETPROBE = 1, PERF_UPROBE_REF_CTR_OFFSET_BITS = 32, @@ -9306,6 +10176,11 @@ enum phy_tunable_id { __ETHTOOL_PHY_TUNABLE_COUNT = 4, }; +enum phy_upstream { + PHY_UPSTREAM_MAC = 0, + PHY_UPSTREAM_PHY = 1, +}; + enum pid_type { PIDTYPE_PID = 0, PIDTYPE_TGID = 1, @@ -9330,16 +10205,17 @@ enum pin_config_param { PIN_CONFIG_INPUT_ENABLE = 12, PIN_CONFIG_INPUT_SCHMITT = 13, PIN_CONFIG_INPUT_SCHMITT_ENABLE = 14, - PIN_CONFIG_MODE_LOW_POWER = 15, - PIN_CONFIG_MODE_PWM = 16, - PIN_CONFIG_OUTPUT = 17, - PIN_CONFIG_OUTPUT_ENABLE = 18, - PIN_CONFIG_OUTPUT_IMPEDANCE_OHMS = 19, - PIN_CONFIG_PERSIST_STATE = 20, - PIN_CONFIG_POWER_SOURCE = 21, - PIN_CONFIG_SKEW_DELAY = 22, - PIN_CONFIG_SLEEP_HARDWARE_STATE = 23, - PIN_CONFIG_SLEW_RATE = 24, + PIN_CONFIG_INPUT_SCHMITT_UV = 15, + PIN_CONFIG_MODE_LOW_POWER = 16, + PIN_CONFIG_MODE_PWM = 17, + PIN_CONFIG_OUTPUT = 18, + PIN_CONFIG_OUTPUT_ENABLE = 19, + PIN_CONFIG_OUTPUT_IMPEDANCE_OHMS = 20, + PIN_CONFIG_PERSIST_STATE = 21, + PIN_CONFIG_POWER_SOURCE = 22, + PIN_CONFIG_SKEW_DELAY = 23, + PIN_CONFIG_SLEEP_HARDWARE_STATE = 24, + PIN_CONFIG_SLEW_RATE = 25, PIN_CONFIG_END = 127, PIN_CONFIG_MAX = 255, }; @@ -9401,6 +10277,12 @@ enum print_line_t { TRACE_TYPE_NO_CONSUME = 3, }; +enum priv_stack_mode { + PRIV_STACK_UNKNOWN = 0, + NO_PRIV_STACK = 1, + PRIV_STACK_ADAPTIVE = 2, +}; + enum probe_print_type { PROBE_PRINT_NORMAL = 0, PROBE_PRINT_RETURN = 1, @@ -9448,16 +10330,6 @@ enum ramfs_param { Opt_mode___2 = 0, }; -enum rcutorture_type { - RCU_FLAVOR = 0, - RCU_TASKS_FLAVOR = 1, - RCU_TASKS_RUDE_FLAVOR = 2, - RCU_TASKS_TRACING_FLAVOR = 3, - RCU_TRIVIAL_FLAVOR = 4, - SRCU_FLAVOR = 5, - INVALID_RCU_FLAVOR = 6, -}; - enum reboot_mode { REBOOT_UNDEFINED = -1, REBOOT_COLD = 0, @@ -9477,6 +10349,12 @@ enum reboot_type { BOOT_CF9_SAFE = 113, }; +enum ref_state_type { + REF_TYPE_PTR = 1, + REF_TYPE_IRQ = 2, + REF_TYPE_LOCK = 3, +}; + enum refcount_saturation_type { REFCOUNT_ADD_NOT_ZERO_OVF = 0, REFCOUNT_ADD_OVF = 1, @@ -9517,6 +10395,17 @@ enum reg2_op { revbd_op = 15, revh2w_op = 16, revhd_op = 17, + extwh_op = 22, + extwb_op = 23, + cpucfg_op = 27, + iocsrrdb_op = 102912, + iocsrrdh_op = 102913, + iocsrrdw_op = 102914, + iocsrrdd_op = 102915, + iocsrwrb_op = 102916, + iocsrwrh_op = 102917, + iocsrwrw_op = 102918, + iocsrwrd_op = 102919, }; enum reg2bstrd_op { @@ -9742,6 +10631,11 @@ enum rlimit_type { UCOUNT_RLIMIT_COUNTS = 4, }; +enum rmap_level { + RMAP_LEVEL_PTE = 0, + RMAP_LEVEL_PMD = 1, +}; + enum rp_check { RP_CHECK_CALL = 0, RP_CHECK_CHAIN_CALL = 1, @@ -9771,12 +10665,6 @@ enum rq_end_io_ret { RQ_END_IO_FREE = 1, }; -enum rseq_cs_flags_bit { - RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT_BIT = 0, - RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL_BIT = 1, - RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE_BIT = 2, -}; - enum rt6_nud_state { RT6_NUD_FAIL_HARD = -3, RT6_NUD_FAIL_PROBE = -2, @@ -9833,7 +10721,8 @@ enum rtattr_type_t { RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, - __RTA_MAX = 31, + RTA_FLOWLABEL = 31, + __RTA_MAX = 32, }; enum rtnetlink_groups { @@ -9874,7 +10763,10 @@ enum rtnetlink_groups { RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, - __RTNLGRP_MAX = 37, + RTNLGRP_IPV4_MCADDR = 37, + RTNLGRP_IPV6_MCADDR = 38, + RTNLGRP_IPV6_ACADDR = 39, + __RTNLGRP_MAX = 40, }; enum rtnl_kinds { @@ -9887,6 +10779,8 @@ enum rtnl_kinds { enum rtnl_link_flags { RTNL_FLAG_DOIT_UNLOCKED = 1, RTNL_FLAG_BULK_DEL_SUPPORTED = 2, + RTNL_FLAG_DUMP_UNLOCKED = 4, + RTNL_FLAG_DUMP_SPLIT_NLM_DONE = 8, }; enum rw_hint { @@ -9896,7 +10790,7 @@ enum rw_hint { WRITE_LIFE_MEDIUM = 3, WRITE_LIFE_LONG = 4, WRITE_LIFE_EXTREME = 5, -}; +} __attribute__((mode(byte))); enum rwsem_waiter_type { RWSEM_WAITING_FOR_WRITE = 0, @@ -9918,13 +10812,6 @@ enum rx_handler_result { typedef enum rx_handler_result rx_handler_result_t; -enum s_alloc { - sa_rootdomain = 0, - sa_sd = 1, - sa_sd_storage = 2, - sa_none = 3, -}; - enum scan_balance { SCAN_EQUAL = 0, SCAN_FRACT = 1, @@ -9943,6 +10830,11 @@ enum sctp_msg_flags { MSG_NOTIFICATION = 32768, }; +enum set_event_iter_type { + SET_EVENT_FILE = 0, + SET_EVENT_MOD = 1, +}; + enum sig_handler { HANDLER_CURRENT = 0, HANDLER_SIG_DFL = 1, @@ -9980,86 +10872,152 @@ enum sk_psock_state_bits { SK_PSOCK_RX_STRP_ENABLED = 1, }; +enum sk_rst_reason { + SK_RST_REASON_NOT_SPECIFIED = 0, + SK_RST_REASON_NO_SOCKET = 1, + SK_RST_REASON_TCP_INVALID_ACK_SEQUENCE = 2, + SK_RST_REASON_TCP_RFC7323_PAWS = 3, + SK_RST_REASON_TCP_TOO_OLD_ACK = 4, + SK_RST_REASON_TCP_ACK_UNSENT_DATA = 5, + SK_RST_REASON_TCP_FLAGS = 6, + SK_RST_REASON_TCP_OLD_ACK = 7, + SK_RST_REASON_TCP_ABORT_ON_DATA = 8, + SK_RST_REASON_TCP_TIMEWAIT_SOCKET = 9, + SK_RST_REASON_INVALID_SYN = 10, + SK_RST_REASON_TCP_ABORT_ON_CLOSE = 11, + SK_RST_REASON_TCP_ABORT_ON_LINGER = 12, + SK_RST_REASON_TCP_ABORT_ON_MEMORY = 13, + SK_RST_REASON_TCP_STATE = 14, + SK_RST_REASON_TCP_KEEPALIVE_TIMEOUT = 15, + SK_RST_REASON_TCP_DISCONNECT_WITH_DATA = 16, + SK_RST_REASON_MPTCP_RST_EUNSPEC = 17, + SK_RST_REASON_MPTCP_RST_EMPTCP = 18, + SK_RST_REASON_MPTCP_RST_ERESOURCE = 19, + SK_RST_REASON_MPTCP_RST_EPROHIBIT = 20, + SK_RST_REASON_MPTCP_RST_EWQ2BIG = 21, + SK_RST_REASON_MPTCP_RST_EBADPERF = 22, + SK_RST_REASON_MPTCP_RST_EMIDDLEBOX = 23, + SK_RST_REASON_ERROR = 24, + SK_RST_REASON_MAX = 25, +}; + enum skb_drop_reason { SKB_NOT_DROPPED_YET = 0, SKB_CONSUMED = 1, SKB_DROP_REASON_NOT_SPECIFIED = 2, SKB_DROP_REASON_NO_SOCKET = 3, - SKB_DROP_REASON_PKT_TOO_SMALL = 4, - SKB_DROP_REASON_TCP_CSUM = 5, - SKB_DROP_REASON_SOCKET_FILTER = 6, - SKB_DROP_REASON_UDP_CSUM = 7, - SKB_DROP_REASON_NETFILTER_DROP = 8, - SKB_DROP_REASON_OTHERHOST = 9, - SKB_DROP_REASON_IP_CSUM = 10, - SKB_DROP_REASON_IP_INHDR = 11, - SKB_DROP_REASON_IP_RPFILTER = 12, - SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST = 13, - SKB_DROP_REASON_XFRM_POLICY = 14, - SKB_DROP_REASON_IP_NOPROTO = 15, - SKB_DROP_REASON_SOCKET_RCVBUFF = 16, - SKB_DROP_REASON_PROTO_MEM = 17, - SKB_DROP_REASON_TCP_MD5NOTFOUND = 18, - SKB_DROP_REASON_TCP_MD5UNEXPECTED = 19, - SKB_DROP_REASON_TCP_MD5FAILURE = 20, - SKB_DROP_REASON_SOCKET_BACKLOG = 21, - SKB_DROP_REASON_TCP_FLAGS = 22, - SKB_DROP_REASON_TCP_ZEROWINDOW = 23, - SKB_DROP_REASON_TCP_OLD_DATA = 24, - SKB_DROP_REASON_TCP_OVERWINDOW = 25, - SKB_DROP_REASON_TCP_OFOMERGE = 26, - SKB_DROP_REASON_TCP_RFC7323_PAWS = 27, - SKB_DROP_REASON_TCP_OLD_SEQUENCE = 28, - SKB_DROP_REASON_TCP_INVALID_SEQUENCE = 29, - SKB_DROP_REASON_TCP_RESET = 30, - SKB_DROP_REASON_TCP_INVALID_SYN = 31, - SKB_DROP_REASON_TCP_CLOSE = 32, - SKB_DROP_REASON_TCP_FASTOPEN = 33, - SKB_DROP_REASON_TCP_OLD_ACK = 34, - SKB_DROP_REASON_TCP_TOO_OLD_ACK = 35, - SKB_DROP_REASON_TCP_ACK_UNSENT_DATA = 36, - SKB_DROP_REASON_TCP_OFO_QUEUE_PRUNE = 37, - SKB_DROP_REASON_TCP_OFO_DROP = 38, - SKB_DROP_REASON_IP_OUTNOROUTES = 39, - SKB_DROP_REASON_BPF_CGROUP_EGRESS = 40, - SKB_DROP_REASON_IPV6DISABLED = 41, - SKB_DROP_REASON_NEIGH_CREATEFAIL = 42, - SKB_DROP_REASON_NEIGH_FAILED = 43, - SKB_DROP_REASON_NEIGH_QUEUEFULL = 44, - SKB_DROP_REASON_NEIGH_DEAD = 45, - SKB_DROP_REASON_TC_EGRESS = 46, - SKB_DROP_REASON_QDISC_DROP = 47, - SKB_DROP_REASON_CPU_BACKLOG = 48, - SKB_DROP_REASON_XDP = 49, - SKB_DROP_REASON_TC_INGRESS = 50, - SKB_DROP_REASON_UNHANDLED_PROTO = 51, - SKB_DROP_REASON_SKB_CSUM = 52, - SKB_DROP_REASON_SKB_GSO_SEG = 53, - SKB_DROP_REASON_SKB_UCOPY_FAULT = 54, - SKB_DROP_REASON_DEV_HDR = 55, - SKB_DROP_REASON_DEV_READY = 56, - SKB_DROP_REASON_FULL_RING = 57, - SKB_DROP_REASON_NOMEM = 58, - SKB_DROP_REASON_HDR_TRUNC = 59, - SKB_DROP_REASON_TAP_FILTER = 60, - SKB_DROP_REASON_TAP_TXFILTER = 61, - SKB_DROP_REASON_ICMP_CSUM = 62, - SKB_DROP_REASON_INVALID_PROTO = 63, - SKB_DROP_REASON_IP_INADDRERRORS = 64, - SKB_DROP_REASON_IP_INNOROUTES = 65, - SKB_DROP_REASON_PKT_TOO_BIG = 66, - SKB_DROP_REASON_DUP_FRAG = 67, - SKB_DROP_REASON_FRAG_REASM_TIMEOUT = 68, - SKB_DROP_REASON_FRAG_TOO_FAR = 69, - SKB_DROP_REASON_TCP_MINTTL = 70, - SKB_DROP_REASON_IPV6_BAD_EXTHDR = 71, - SKB_DROP_REASON_IPV6_NDISC_FRAG = 72, - SKB_DROP_REASON_IPV6_NDISC_HOP_LIMIT = 73, - SKB_DROP_REASON_IPV6_NDISC_BAD_CODE = 74, - SKB_DROP_REASON_IPV6_NDISC_BAD_OPTIONS = 75, - SKB_DROP_REASON_IPV6_NDISC_NS_OTHERHOST = 76, - SKB_DROP_REASON_QUEUE_PURGE = 77, - SKB_DROP_REASON_MAX = 78, + SKB_DROP_REASON_SOCKET_CLOSE = 4, + SKB_DROP_REASON_SOCKET_FILTER = 5, + SKB_DROP_REASON_SOCKET_RCVBUFF = 6, + SKB_DROP_REASON_UNIX_DISCONNECT = 7, + SKB_DROP_REASON_UNIX_SKIP_OOB = 8, + SKB_DROP_REASON_PKT_TOO_SMALL = 9, + SKB_DROP_REASON_TCP_CSUM = 10, + SKB_DROP_REASON_UDP_CSUM = 11, + SKB_DROP_REASON_NETFILTER_DROP = 12, + SKB_DROP_REASON_OTHERHOST = 13, + SKB_DROP_REASON_IP_CSUM = 14, + SKB_DROP_REASON_IP_INHDR = 15, + SKB_DROP_REASON_IP_RPFILTER = 16, + SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST = 17, + SKB_DROP_REASON_XFRM_POLICY = 18, + SKB_DROP_REASON_IP_NOPROTO = 19, + SKB_DROP_REASON_PROTO_MEM = 20, + SKB_DROP_REASON_TCP_AUTH_HDR = 21, + SKB_DROP_REASON_TCP_MD5NOTFOUND = 22, + SKB_DROP_REASON_TCP_MD5UNEXPECTED = 23, + SKB_DROP_REASON_TCP_MD5FAILURE = 24, + SKB_DROP_REASON_TCP_AONOTFOUND = 25, + SKB_DROP_REASON_TCP_AOUNEXPECTED = 26, + SKB_DROP_REASON_TCP_AOKEYNOTFOUND = 27, + SKB_DROP_REASON_TCP_AOFAILURE = 28, + SKB_DROP_REASON_SOCKET_BACKLOG = 29, + SKB_DROP_REASON_TCP_FLAGS = 30, + SKB_DROP_REASON_TCP_ABORT_ON_DATA = 31, + SKB_DROP_REASON_TCP_ZEROWINDOW = 32, + SKB_DROP_REASON_TCP_OLD_DATA = 33, + SKB_DROP_REASON_TCP_OVERWINDOW = 34, + SKB_DROP_REASON_TCP_OFOMERGE = 35, + SKB_DROP_REASON_TCP_RFC7323_PAWS = 36, + SKB_DROP_REASON_TCP_RFC7323_PAWS_ACK = 37, + SKB_DROP_REASON_TCP_OLD_SEQUENCE = 38, + SKB_DROP_REASON_TCP_INVALID_SEQUENCE = 39, + SKB_DROP_REASON_TCP_INVALID_ACK_SEQUENCE = 40, + SKB_DROP_REASON_TCP_RESET = 41, + SKB_DROP_REASON_TCP_INVALID_SYN = 42, + SKB_DROP_REASON_TCP_CLOSE = 43, + SKB_DROP_REASON_TCP_FASTOPEN = 44, + SKB_DROP_REASON_TCP_OLD_ACK = 45, + SKB_DROP_REASON_TCP_TOO_OLD_ACK = 46, + SKB_DROP_REASON_TCP_ACK_UNSENT_DATA = 47, + SKB_DROP_REASON_TCP_OFO_QUEUE_PRUNE = 48, + SKB_DROP_REASON_TCP_OFO_DROP = 49, + SKB_DROP_REASON_IP_OUTNOROUTES = 50, + SKB_DROP_REASON_BPF_CGROUP_EGRESS = 51, + SKB_DROP_REASON_IPV6DISABLED = 52, + SKB_DROP_REASON_NEIGH_CREATEFAIL = 53, + SKB_DROP_REASON_NEIGH_FAILED = 54, + SKB_DROP_REASON_NEIGH_QUEUEFULL = 55, + SKB_DROP_REASON_NEIGH_DEAD = 56, + SKB_DROP_REASON_TC_EGRESS = 57, + SKB_DROP_REASON_SECURITY_HOOK = 58, + SKB_DROP_REASON_QDISC_DROP = 59, + SKB_DROP_REASON_QDISC_OVERLIMIT = 60, + SKB_DROP_REASON_QDISC_CONGESTED = 61, + SKB_DROP_REASON_CAKE_FLOOD = 62, + SKB_DROP_REASON_FQ_BAND_LIMIT = 63, + SKB_DROP_REASON_FQ_HORIZON_LIMIT = 64, + SKB_DROP_REASON_FQ_FLOW_LIMIT = 65, + SKB_DROP_REASON_CPU_BACKLOG = 66, + SKB_DROP_REASON_XDP = 67, + SKB_DROP_REASON_TC_INGRESS = 68, + SKB_DROP_REASON_UNHANDLED_PROTO = 69, + SKB_DROP_REASON_SKB_CSUM = 70, + SKB_DROP_REASON_SKB_GSO_SEG = 71, + SKB_DROP_REASON_SKB_UCOPY_FAULT = 72, + SKB_DROP_REASON_DEV_HDR = 73, + SKB_DROP_REASON_DEV_READY = 74, + SKB_DROP_REASON_FULL_RING = 75, + SKB_DROP_REASON_NOMEM = 76, + SKB_DROP_REASON_HDR_TRUNC = 77, + SKB_DROP_REASON_TAP_FILTER = 78, + SKB_DROP_REASON_TAP_TXFILTER = 79, + SKB_DROP_REASON_ICMP_CSUM = 80, + SKB_DROP_REASON_INVALID_PROTO = 81, + SKB_DROP_REASON_IP_INADDRERRORS = 82, + SKB_DROP_REASON_IP_INNOROUTES = 83, + SKB_DROP_REASON_IP_LOCAL_SOURCE = 84, + SKB_DROP_REASON_IP_INVALID_SOURCE = 85, + SKB_DROP_REASON_IP_LOCALNET = 86, + SKB_DROP_REASON_IP_INVALID_DEST = 87, + SKB_DROP_REASON_PKT_TOO_BIG = 88, + SKB_DROP_REASON_DUP_FRAG = 89, + SKB_DROP_REASON_FRAG_REASM_TIMEOUT = 90, + SKB_DROP_REASON_FRAG_TOO_FAR = 91, + SKB_DROP_REASON_TCP_MINTTL = 92, + SKB_DROP_REASON_IPV6_BAD_EXTHDR = 93, + SKB_DROP_REASON_IPV6_NDISC_FRAG = 94, + SKB_DROP_REASON_IPV6_NDISC_HOP_LIMIT = 95, + SKB_DROP_REASON_IPV6_NDISC_BAD_CODE = 96, + SKB_DROP_REASON_IPV6_NDISC_BAD_OPTIONS = 97, + SKB_DROP_REASON_IPV6_NDISC_NS_OTHERHOST = 98, + SKB_DROP_REASON_QUEUE_PURGE = 99, + SKB_DROP_REASON_TC_COOKIE_ERROR = 100, + SKB_DROP_REASON_PACKET_SOCK_ERROR = 101, + SKB_DROP_REASON_TC_CHAIN_NOTFOUND = 102, + SKB_DROP_REASON_TC_RECLASSIFY_LOOP = 103, + SKB_DROP_REASON_VXLAN_INVALID_HDR = 104, + SKB_DROP_REASON_VXLAN_VNI_NOT_FOUND = 105, + SKB_DROP_REASON_MAC_INVALID_SOURCE = 106, + SKB_DROP_REASON_VXLAN_ENTRY_EXISTS = 107, + SKB_DROP_REASON_NO_TX_TARGET = 108, + SKB_DROP_REASON_IP_TUNNEL_ECN = 109, + SKB_DROP_REASON_TUNNEL_TXINFO = 110, + SKB_DROP_REASON_LOCAL_MAC = 111, + SKB_DROP_REASON_ARP_PVLAN_DISABLE = 112, + SKB_DROP_REASON_MAC_IEEE_MAC_CONTROL = 113, + SKB_DROP_REASON_BRIDGE_INGRESS_STP_STATE = 114, + SKB_DROP_REASON_MAX = 115, SKB_DROP_REASON_SUBSYS_MASK = 4294901760, }; @@ -10071,6 +11029,13 @@ enum skb_drop_reason_subsys { SKB_DROP_REASON_SUBSYS_NUM = 4, }; +enum skb_tstamp_type { + SKB_CLOCK_REALTIME = 0, + SKB_CLOCK_MONOTONIC = 1, + SKB_CLOCK_TAI = 2, + __SKB_CLOCK_MAX = 2, +}; + enum sknetlink_groups { SKNLGRP_NONE = 0, SKNLGRP_INET_TCP_DESTROY = 1, @@ -10083,9 +11048,8 @@ enum sknetlink_groups { enum slab_state { DOWN___2 = 0, PARTIAL = 1, - PARTIAL_NODE = 2, - UP___2 = 3, - FULL = 4, + UP___2 = 2, + FULL = 3, }; enum sock_flags { @@ -10117,6 +11081,7 @@ enum sock_flags { SOCK_XDP = 25, SOCK_TSTAMP_NEW = 26, SOCK_RCVMARK = 27, + SOCK_RCVPRIORITY = 28, }; enum sock_shutdown_cmd { @@ -10155,6 +11120,20 @@ enum special_kfunc_type { KF_bpf_dynptr_slice = 16, KF_bpf_dynptr_slice_rdwr = 17, KF_bpf_dynptr_clone = 18, + KF_bpf_percpu_obj_new_impl = 19, + KF_bpf_percpu_obj_drop_impl = 20, + KF_bpf_throw = 21, + KF_bpf_wq_set_callback_impl = 22, + KF_bpf_preempt_disable = 23, + KF_bpf_preempt_enable = 24, + KF_bpf_iter_css_task_new = 25, + KF_bpf_session_cookie = 26, + KF_bpf_get_kmem_cache = 27, + KF_bpf_local_irq_save = 28, + KF_bpf_local_irq_restore = 29, + KF_bpf_iter_num_new = 30, + KF_bpf_iter_num_next = 31, + KF_bpf_iter_num_destroy = 32, }; enum stack_type { @@ -10193,9 +11172,25 @@ enum stat_item { NR_SLUB_STAT_ITEMS = 26, }; +enum store_type { + wr_invalid = 0, + wr_new_root = 1, + wr_store_root = 2, + wr_exact_fit = 3, + wr_spanning_store = 4, + wr_split_store = 5, + wr_rebalance = 6, + wr_append = 7, + wr_node_store = 8, + wr_slot_store = 9, +}; + enum string_size_units { STRING_UNITS_10 = 0, STRING_UNITS_2 = 1, + STRING_UNITS_MASK = 1, + STRING_UNITS_NO_SPACE = 1073741824, + STRING_UNITS_NO_BYTES = 2147483648, }; enum sum_check_bits { @@ -10241,6 +11236,7 @@ enum task_work_notify_mode { TWA_RESUME = 1, TWA_SIGNAL = 2, TWA_SIGNAL_NO_IPI = 3, + TWA_NMI_CURRENT = 4, }; enum tc_mq_command { @@ -10328,6 +11324,16 @@ enum tcp_queue { TCP_FRAG_IN_RTX_QUEUE = 1, }; +enum tcp_skb_cb_sacked_flags { + TCPCB_SACKED_ACKED = 1, + TCPCB_SACKED_RETRANS = 2, + TCPCB_LOST = 4, + TCPCB_TAGBITS = 7, + TCPCB_REPAIRED = 16, + TCPCB_EVER_RETRANS = 128, + TCPCB_RETRANS = 146, +}; + enum tcp_synack_type { TCP_SYNACK_NORMAL = 0, TCP_SYNACK_FASTOPEN = 1, @@ -10412,7 +11418,8 @@ enum tlb_flush_reason { TLB_LOCAL_SHOOTDOWN = 2, TLB_LOCAL_MM_SHOOTDOWN = 3, TLB_REMOTE_SEND_IPI = 4, - NR_TLB_FLUSH_REASONS = 5, + TLB_REMOTE_WRONG_CPU = 5, + NR_TLB_FLUSH_REASONS = 6, }; enum tp_func_state { @@ -10439,7 +11446,7 @@ enum tpm_duration { enum trace_flag_type { TRACE_FLAG_IRQS_OFF = 1, - TRACE_FLAG_IRQS_NOSUPPORT = 2, + TRACE_FLAG_NEED_RESCHED_LAZY = 2, TRACE_FLAG_NEED_RESCHED = 4, TRACE_FLAG_HARDIRQ = 8, TRACE_FLAG_SOFTIRQ = 16, @@ -10478,13 +11485,14 @@ enum trace_iterator_bits { TRACE_ITER_IRQ_INFO_BIT = 20, TRACE_ITER_MARKERS_BIT = 21, TRACE_ITER_EVENT_FORK_BIT = 22, - TRACE_ITER_PAUSE_ON_TRACE_BIT = 23, - TRACE_ITER_HASH_PTR_BIT = 24, - TRACE_ITER_FUNCTION_BIT = 25, - TRACE_ITER_FUNC_FORK_BIT = 26, - TRACE_ITER_DISPLAY_GRAPH_BIT = 27, - TRACE_ITER_STACKTRACE_BIT = 28, - TRACE_ITER_LAST_BIT = 29, + TRACE_ITER_TRACE_PRINTK_BIT = 23, + TRACE_ITER_PAUSE_ON_TRACE_BIT = 24, + TRACE_ITER_HASH_PTR_BIT = 25, + TRACE_ITER_FUNCTION_BIT = 26, + TRACE_ITER_FUNC_FORK_BIT = 27, + TRACE_ITER_DISPLAY_GRAPH_BIT = 28, + TRACE_ITER_STACKTRACE_BIT = 29, + TRACE_ITER_LAST_BIT = 30, }; enum trace_iterator_flags { @@ -10511,12 +11519,13 @@ enum trace_iterator_flags { TRACE_ITER_IRQ_INFO = 1048576, TRACE_ITER_MARKERS = 2097152, TRACE_ITER_EVENT_FORK = 4194304, - TRACE_ITER_PAUSE_ON_TRACE = 8388608, - TRACE_ITER_HASH_PTR = 16777216, - TRACE_ITER_FUNCTION = 33554432, - TRACE_ITER_FUNC_FORK = 67108864, - TRACE_ITER_DISPLAY_GRAPH = 134217728, - TRACE_ITER_STACKTRACE = 268435456, + TRACE_ITER_TRACE_PRINTK = 8388608, + TRACE_ITER_PAUSE_ON_TRACE = 16777216, + TRACE_ITER_HASH_PTR = 33554432, + TRACE_ITER_FUNCTION = 67108864, + TRACE_ITER_FUNC_FORK = 134217728, + TRACE_ITER_DISPLAY_GRAPH = 268435456, + TRACE_ITER_STACKTRACE = 536870912, }; enum trace_reg { @@ -10543,15 +11552,16 @@ enum trace_type { TRACE_BRANCH = 9, TRACE_GRAPH_RET = 10, TRACE_GRAPH_ENT = 11, - TRACE_USER_STACK = 12, - TRACE_BLK = 13, - TRACE_BPUTS = 14, - TRACE_HWLAT = 15, - TRACE_OSNOISE = 16, - TRACE_TIMERLAT = 17, - TRACE_RAW_DATA = 18, - TRACE_FUNC_REPEATS = 19, - __TRACE_LAST_TYPE = 20, + TRACE_GRAPH_RETADDR_ENT = 12, + TRACE_USER_STACK = 13, + TRACE_BLK = 14, + TRACE_BPUTS = 15, + TRACE_HWLAT = 16, + TRACE_OSNOISE = 17, + TRACE_TIMERLAT = 18, + TRACE_RAW_DATA = 19, + TRACE_FUNC_REPEATS = 20, + __TRACE_LAST_TYPE = 21, }; enum tsq_enum { @@ -10561,6 +11571,7 @@ enum tsq_enum { TCP_WRITE_TIMER_DEFERRED = 3, TCP_DELACK_TIMER_DEFERRED = 4, TCP_MTU_REDUCED_DEFERRED = 5, + TCP_ACK_DEFERRED = 6, }; enum tsq_flags { @@ -10570,6 +11581,7 @@ enum tsq_flags { TCPF_WRITE_TIMER_DEFERRED = 8, TCPF_DELACK_TIMER_DEFERRED = 16, TCPF_MTU_REDUCED_DEFERRED = 32, + TCPF_ACK_DEFERRED = 64, }; enum ttu_flags { @@ -10617,12 +11629,6 @@ enum txtime_flags { SOF_TXTIME_FLAGS_MASK = 3, }; -enum uclamp_id { - UCLAMP_MIN = 0, - UCLAMP_MAX = 1, - UCLAMP_CNT = 2, -}; - enum ucount_type { UCOUNT_USER_NAMESPACES = 0, UCOUNT_PID_NAMESPACES = 1, @@ -10660,12 +11666,6 @@ enum umount_tree_flags { UMOUNT_CONNECTED = 4, }; -enum uprobe_filter_ctx { - UPROBE_FILTER_REGISTER = 0, - UPROBE_FILTER_UNREGISTER = 1, - UPROBE_FILTER_MMAP = 2, -}; - enum uprobe_task_state { UTASK_RUNNING = 0, UTASK_SSTEP = 1, @@ -10694,6 +11694,33 @@ enum uts_proc { UTS_PROC_DOMAINNAME = 5, }; +enum v4l2_av1_segment_feature { + V4L2_AV1_SEG_LVL_ALT_Q = 0, + V4L2_AV1_SEG_LVL_ALT_LF_Y_V = 1, + V4L2_AV1_SEG_LVL_REF_FRAME = 5, + V4L2_AV1_SEG_LVL_REF_SKIP = 6, + V4L2_AV1_SEG_LVL_REF_GLOBALMV = 7, + V4L2_AV1_SEG_LVL_MAX = 8, +}; + +enum v4l2_fwnode_bus_type { + V4L2_FWNODE_BUS_TYPE_GUESS = 0, + V4L2_FWNODE_BUS_TYPE_CSI2_CPHY = 1, + V4L2_FWNODE_BUS_TYPE_CSI1 = 2, + V4L2_FWNODE_BUS_TYPE_CCP2 = 3, + V4L2_FWNODE_BUS_TYPE_CSI2_DPHY = 4, + V4L2_FWNODE_BUS_TYPE_PARALLEL = 5, + V4L2_FWNODE_BUS_TYPE_BT656 = 6, + V4L2_FWNODE_BUS_TYPE_DPI = 7, + NR_OF_V4L2_FWNODE_BUS_TYPE = 8, +}; + +enum v4l2_preemphasis { + V4L2_PREEMPHASIS_DISABLED = 0, + V4L2_PREEMPHASIS_50_uS = 1, + V4L2_PREEMPHASIS_75_uS = 2, +}; + enum vdso_clock_mode { VDSO_CLOCKMODE_NONE = 0, VDSO_CLOCKMODE_CPU = 1, @@ -10706,6 +11733,14 @@ enum verifier_phase { CHECK_TYPE = 1, }; +enum vesa_blank_mode { + VESA_NO_BLANKING = 0, + VESA_VSYNC_SUSPEND = 1, + VESA_HSYNC_SUSPEND = 2, + VESA_POWERDOWN = 3, + VESA_BLANK_MAX = 3, +}; + enum visit_state { NOT_VISITED = 0, VISITED = 1, @@ -10738,35 +11773,32 @@ enum vm_event_item { PGSTEAL_KSWAPD = 22, PGSTEAL_DIRECT = 23, PGSTEAL_KHUGEPAGED = 24, - PGDEMOTE_KSWAPD = 25, - PGDEMOTE_DIRECT = 26, - PGDEMOTE_KHUGEPAGED = 27, - PGSCAN_KSWAPD = 28, - PGSCAN_DIRECT = 29, - PGSCAN_KHUGEPAGED = 30, - PGSCAN_DIRECT_THROTTLE = 31, - PGSCAN_ANON = 32, - PGSCAN_FILE = 33, - PGSTEAL_ANON = 34, - PGSTEAL_FILE = 35, - PGINODESTEAL = 36, - SLABS_SCANNED = 37, - KSWAPD_INODESTEAL = 38, - KSWAPD_LOW_WMARK_HIT_QUICKLY = 39, - KSWAPD_HIGH_WMARK_HIT_QUICKLY = 40, - PAGEOUTRUN = 41, - PGROTATED = 42, - DROP_PAGECACHE = 43, - DROP_SLAB = 44, - OOM_KILL = 45, - UNEVICTABLE_PGCULLED = 46, - UNEVICTABLE_PGSCANNED = 47, - UNEVICTABLE_PGRESCUED = 48, - UNEVICTABLE_PGMLOCKED = 49, - UNEVICTABLE_PGMUNLOCKED = 50, - UNEVICTABLE_PGCLEARED = 51, - UNEVICTABLE_PGSTRANDED = 52, - NR_VM_EVENT_ITEMS = 53, + PGSCAN_KSWAPD = 25, + PGSCAN_DIRECT = 26, + PGSCAN_KHUGEPAGED = 27, + PGSCAN_DIRECT_THROTTLE = 28, + PGSCAN_ANON = 29, + PGSCAN_FILE = 30, + PGSTEAL_ANON = 31, + PGSTEAL_FILE = 32, + PGINODESTEAL = 33, + SLABS_SCANNED = 34, + KSWAPD_INODESTEAL = 35, + KSWAPD_LOW_WMARK_HIT_QUICKLY = 36, + KSWAPD_HIGH_WMARK_HIT_QUICKLY = 37, + PAGEOUTRUN = 38, + PGROTATED = 39, + DROP_PAGECACHE = 40, + DROP_SLAB = 41, + OOM_KILL = 42, + UNEVICTABLE_PGCULLED = 43, + UNEVICTABLE_PGSCANNED = 44, + UNEVICTABLE_PGRESCUED = 45, + UNEVICTABLE_PGMLOCKED = 46, + UNEVICTABLE_PGMUNLOCKED = 47, + UNEVICTABLE_PGCLEARED = 48, + UNEVICTABLE_PGSTRANDED = 49, + NR_VM_EVENT_ITEMS = 50, }; enum vm_fault_reason { @@ -10786,6 +11818,18 @@ enum vm_fault_reason { VM_FAULT_HINDEX_MASK = 983040, }; +enum vma_merge_flags { + VMG_FLAG_DEFAULT = 0, + VMG_FLAG_JUST_EXPAND = 1, +}; + +enum vma_merge_state { + VMA_MERGE_START = 0, + VMA_MERGE_ERROR_NOMEM = 1, + VMA_MERGE_NOMERGE = 2, + VMA_MERGE_SUCCESS = 3, +}; + enum vmscan_throttle_state { VMSCAN_THROTTLE_WRITEBACK = 0, VMSCAN_THROTTLE_ISOLATED = 1, @@ -10829,6 +11873,56 @@ enum wb_state { WB_start_all = 3, }; +enum work_bits { + WORK_STRUCT_PENDING_BIT = 0, + WORK_STRUCT_INACTIVE_BIT = 1, + WORK_STRUCT_PWQ_BIT = 2, + WORK_STRUCT_LINKED_BIT = 3, + WORK_STRUCT_FLAG_BITS = 4, + WORK_STRUCT_COLOR_SHIFT = 4, + WORK_STRUCT_COLOR_BITS = 4, + WORK_STRUCT_PWQ_SHIFT = 8, + WORK_OFFQ_FLAG_SHIFT = 4, + WORK_OFFQ_BH_BIT = 4, + WORK_OFFQ_FLAG_END = 5, + WORK_OFFQ_FLAG_BITS = 1, + WORK_OFFQ_DISABLE_SHIFT = 5, + WORK_OFFQ_DISABLE_BITS = 16, + WORK_OFFQ_POOL_SHIFT = 21, + WORK_OFFQ_LEFT = 43, + WORK_OFFQ_POOL_BITS = 31, +}; + +enum work_cancel_flags { + WORK_CANCEL_DELAYED = 1, + WORK_CANCEL_DISABLE = 2, +}; + +enum work_flags { + WORK_STRUCT_PENDING = 1, + WORK_STRUCT_INACTIVE = 2, + WORK_STRUCT_PWQ = 4, + WORK_STRUCT_LINKED = 8, + WORK_STRUCT_STATIC = 0, +}; + +enum worker_flags { + WORKER_DIE = 2, + WORKER_IDLE = 4, + WORKER_PREP = 8, + WORKER_CPU_INTENSIVE = 64, + WORKER_UNBOUND = 128, + WORKER_REBOUND = 256, + WORKER_NOT_RUNNING = 456, +}; + +enum worker_pool_flags { + POOL_BH = 1, + POOL_MANAGER_ACTIVE = 2, + POOL_DISASSOCIATED = 4, + POOL_BH_DRAINING = 8, +}; + enum wq_affn_scope { WQ_AFFN_DFL = 0, WQ_AFFN_CPU = 1, @@ -10839,6 +11933,52 @@ enum wq_affn_scope { WQ_AFFN_NR_TYPES = 6, }; +enum wq_consts { + WQ_MAX_ACTIVE = 2048, + WQ_UNBOUND_MAX_ACTIVE = 2048, + WQ_DFL_ACTIVE = 1024, + WQ_DFL_MIN_ACTIVE = 8, +}; + +enum wq_flags { + WQ_BH = 1, + WQ_UNBOUND = 2, + WQ_FREEZABLE = 4, + WQ_MEM_RECLAIM = 8, + WQ_HIGHPRI = 16, + WQ_CPU_INTENSIVE = 32, + WQ_SYSFS = 64, + WQ_POWER_EFFICIENT = 128, + __WQ_DESTROYING = 32768, + __WQ_DRAINING = 65536, + __WQ_ORDERED = 131072, + __WQ_LEGACY = 262144, + __WQ_BH_ALLOWS = 17, +}; + +enum wq_internal_consts { + NR_STD_WORKER_POOLS = 2, + UNBOUND_POOL_HASH_ORDER = 6, + BUSY_WORKER_HASH_ORDER = 6, + MAX_IDLE_WORKERS_RATIO = 4, + IDLE_WORKER_TIMEOUT = 75000, + MAYDAY_INITIAL_TIMEOUT = 2, + MAYDAY_INTERVAL = 25, + CREATE_COOLDOWN = 250, + RESCUER_NICE_LEVEL = -20, + HIGHPRI_NICE_LEVEL = -20, + WQ_NAME_LEN = 32, + WORKER_ID_LEN = 42, +}; + +enum wq_misc_consts { + WORK_NR_COLORS = 16, + WORK_CPU_UNBOUND = 1, + WORK_BUSY_PENDING = 1, + WORK_BUSY_RUNNING = 2, + WORKER_DESC_LEN = 32, +}; + enum writeback_sync_modes { WB_SYNC_NONE = 0, WB_SYNC_ALL = 1, @@ -10879,6 +12019,7 @@ enum xdp_rss_hash_type { XDP_RSS_L4_UDP = 32, XDP_RSS_L4_SCTP = 64, XDP_RSS_L4_IPSEC = 128, + XDP_RSS_L4_ICMP = 256, XDP_RSS_TYPE_NONE = 0, XDP_RSS_TYPE_L2 = 0, XDP_RSS_TYPE_L3_IPV4 = 1, @@ -10890,15 +12031,24 @@ enum xdp_rss_hash_type { XDP_RSS_TYPE_L4_IPV4_UDP = 41, XDP_RSS_TYPE_L4_IPV4_SCTP = 73, XDP_RSS_TYPE_L4_IPV4_IPSEC = 137, + XDP_RSS_TYPE_L4_IPV4_ICMP = 265, XDP_RSS_TYPE_L4_IPV6_TCP = 26, XDP_RSS_TYPE_L4_IPV6_UDP = 42, XDP_RSS_TYPE_L4_IPV6_SCTP = 74, XDP_RSS_TYPE_L4_IPV6_IPSEC = 138, + XDP_RSS_TYPE_L4_IPV6_ICMP = 266, XDP_RSS_TYPE_L4_IPV6_TCP_EX = 30, XDP_RSS_TYPE_L4_IPV6_UDP_EX = 46, XDP_RSS_TYPE_L4_IPV6_SCTP_EX = 78, }; +enum xdp_rx_metadata { + XDP_METADATA_KFUNC_RX_TIMESTAMP = 0, + XDP_METADATA_KFUNC_RX_HASH = 1, + XDP_METADATA_KFUNC_RX_VLAN_TAG = 2, + MAX_XDP_METADATA_KFUNC = 3, +}; + enum xfrm_attr_type_t { XFRMA_UNSPEC = 0, XFRMA_ALG_AUTH = 1, @@ -10933,7 +12083,16 @@ enum xfrm_attr_type_t { XFRMA_SET_MARK_MASK = 30, XFRMA_IF_ID = 31, XFRMA_MTIMER_THRESH = 32, - __XFRMA_MAX = 33, + XFRMA_SA_DIR = 33, + XFRMA_NAT_KEEPALIVE_INTERVAL = 34, + XFRMA_SA_PCPU = 35, + XFRMA_IPTFS_DROP_TIME = 36, + XFRMA_IPTFS_REORDER_WINDOW = 37, + XFRMA_IPTFS_DONT_FRAG = 38, + XFRMA_IPTFS_INIT_DELAY = 39, + XFRMA_IPTFS_MAX_QSIZE = 40, + XFRMA_IPTFS_PKT_SIZE = 41, + __XFRMA_MAX = 42, }; enum xfrm_replay_mode { @@ -10942,15 +12101,10 @@ enum xfrm_replay_mode { XFRM_REPLAY_MODE_ESN = 2, }; -enum xps_map_type { - XPS_CPUS = 0, - XPS_RXQS = 1, - XPS_MAPS_MAX = 2, -}; - enum zone_flags { ZONE_BOOSTED_WATERMARK = 0, ZONE_RECLAIM_ACTIVE = 1, + ZONE_BELOW_HIGH = 2, }; enum zone_stat_item { @@ -10985,6 +12139,10 @@ enum zone_watermarks { typedef _Bool bool; +typedef __int128 unsigned __u128; + +typedef __u128 u128; + typedef char acpi_bus_id[8]; typedef char acpi_device_class[20]; @@ -10999,8 +12157,6 @@ typedef int __kernel_clockid_t; typedef int __kernel_daddr_t; -typedef int __kernel_ipc_pid_t; - typedef int __kernel_key_t; typedef int __kernel_mqd_t; @@ -11013,6 +12169,8 @@ typedef int __kernel_timer_t; typedef int __s32; +typedef int class_get_unused_fd_t; + typedef __kernel_clockid_t clockid_t; typedef __s32 s32; @@ -11021,6 +12179,10 @@ typedef s32 compat_int_t; typedef s32 compat_ssize_t; +typedef int folio_walk_flags_t; + +typedef int fpb_t; + typedef int fpi_t; typedef s32 int32_t; @@ -11121,6 +12283,8 @@ typedef u64 dma_addr_t; typedef __be64 fdt64_t; +typedef u64 io_req_flags_t; + typedef u64 netdev_features_t; typedef u64 pci_bus_addr_t; @@ -11153,6 +12317,8 @@ typedef long unsigned int irq_hw_number_t; typedef long unsigned int kernel_ulong_t; +typedef long unsigned int netmem_ref; + typedef long unsigned int perf_trace_t[1024]; typedef long unsigned int pte_marker; @@ -11197,16 +12363,12 @@ typedef short unsigned int pci_dev_flags_t; typedef __kernel_sa_family_t sa_family_t; -typedef u16 u_int16_t; - typedef u16 ucs2_char_t; typedef u16 uint16_t; typedef short unsigned int umode_t; -typedef short unsigned int ushort; - typedef u16 wchar_t; typedef signed char __s8; @@ -11249,14 +12411,8 @@ typedef u32 __kernel_dev_t; typedef unsigned int __kernel_gid32_t; -typedef unsigned int __kernel_gid_t; - -typedef unsigned int __kernel_mode_t; - typedef unsigned int __kernel_uid32_t; -typedef unsigned int __kernel_uid_t; - typedef __u32 __le32; typedef unsigned int __poll_t; @@ -11277,6 +12433,10 @@ typedef u32 acpi_rsdesc_size; typedef u32 acpi_status; +typedef unsigned int blk_features_t; + +typedef unsigned int blk_flags_t; + typedef unsigned int blk_mode_t; typedef __u32 blk_mq_req_flags_t; @@ -11307,14 +12467,14 @@ typedef unsigned int fgf_t; typedef unsigned int fmode_t; +typedef unsigned int fop_flags_t; + typedef unsigned int gfp_t; typedef __kernel_gid32_t gid_t; typedef unsigned int iov_iter_extraction_t; -typedef unsigned int isolate_mode_t; - typedef unsigned int kasan_vmalloc_flags_t; typedef u32 kprobe_opcode_t; @@ -11323,14 +12483,14 @@ typedef unsigned int pci_channel_state_t; typedef unsigned int pci_ers_result_t; -typedef unsigned int pcie_reset_state_t; - typedef unsigned int pgtbl_mod_mask; typedef u32 phandle; typedef u32 phys_cpuid_t; +typedef unsigned int pipe_index_t; + typedef __kernel_uid32_t projid_t; typedef __kernel_uid32_t qid_t; @@ -11347,8 +12507,6 @@ typedef unsigned int t_key; typedef unsigned int tcflag_t; -typedef u32 u_int32_t; - typedef __kernel_uid32_t uid_t; typedef unsigned int uint; @@ -11385,6 +12543,10 @@ typedef struct { int val[2]; } __kernel_fsid_t; +typedef struct {} arch_rwlock_t; + +typedef struct {} arch_spinlock_t; + typedef struct { s64 counter; } atomic64_t; @@ -11410,6 +12572,30 @@ typedef struct { unsigned int timeout; } cisco_proto; +typedef struct { + void *lock; +} class_cpus_read_lock_t; + +struct rq; + +typedef struct { + struct rq *lock; + struct rq *lock2; +} class_double_rq_lock_t; + +typedef struct { + void *lock; + long unsigned int flags; +} class_irqsave_t; + +typedef struct { + void *lock; +} class_jump_label_lock_t; + +typedef struct { + void *lock; +} class_preempt_notrace_t; + typedef struct { void *lock; } class_preempt_t; @@ -11418,15 +12604,36 @@ struct raw_spinlock; typedef struct raw_spinlock raw_spinlock_t; +typedef struct { + raw_spinlock_t *lock; +} class_raw_spinlock_irq_t; + typedef struct { raw_spinlock_t *lock; long unsigned int flags; } class_raw_spinlock_irqsave_t; +typedef struct { + raw_spinlock_t *lock; +} class_raw_spinlock_t; + typedef struct { void *lock; } class_rcu_t; +typedef struct { + void *lock; +} class_rcu_tasks_trace_t; + +typedef struct { + arch_rwlock_t raw_lock; +} rwlock_t; + +typedef struct { + rwlock_t *lock; + long unsigned int flags; +} class_read_lock_irqsave_t; + struct pin_cookie {}; struct rq_flags { @@ -11434,12 +12641,42 @@ struct rq_flags { struct pin_cookie cookie; }; -struct rq; - typedef struct { struct rq *lock; struct rq_flags rf; -} class_rq_lock_irqsave_t; +} class_rq_lock_t; + +struct spinlock; + +typedef struct spinlock spinlock_t; + +typedef struct { + spinlock_t *lock; + long unsigned int flags; +} class_spinlock_irqsave_t; + +typedef struct { + spinlock_t *lock; +} class_spinlock_t; + +struct srcu_struct; + +typedef struct { + struct srcu_struct *lock; + int idx; +} class_srcu_t; + +struct task_struct; + +typedef struct { + struct task_struct *lock; + struct rq *rq; + struct rq_flags rf; +} class_task_rq_lock_t; + +typedef struct { + rwlock_t *lock; +} class_write_lock_irq_t; typedef struct { __u8 b[16]; @@ -11652,6 +12889,10 @@ typedef struct { long unsigned int *res_ex; } fd_set_bits; +typedef struct { + atomic64_t refcnt; +} file_ref_t; + typedef struct { unsigned int t391; unsigned int t392; @@ -11680,13 +12921,9 @@ typedef struct { } hsiphash_key_t; typedef struct { - long unsigned int pd; -} hugepd_t; - -typedef struct { - unsigned int ipi_irqs[2]; + unsigned int ipi_irqs[4]; unsigned int __softirq_pending; - long: 64; + atomic_t message; long: 64; long: 64; long: 64; @@ -11723,7 +12960,7 @@ typedef struct {} local_lock_t; typedef struct {} lockdep_map_p; typedef struct { - u64 asid[64]; + u64 asid[1]; void *vdso; } mm_context_t; @@ -11791,39 +13028,6 @@ typedef struct { typedef union { } release_pages_arg; -struct qspinlock { - union { - atomic_t val; - struct { - u8 locked; - u8 pending; - }; - struct { - u16 locked_pending; - u16 tail; - }; - }; -}; - -typedef struct qspinlock arch_spinlock_t; - -struct qrwlock { - union { - atomic_t cnts; - struct { - u8 wlocked; - u8 __lstate[3]; - }; - }; - arch_spinlock_t wait_lock; -}; - -typedef struct qrwlock arch_rwlock_t; - -typedef struct { - arch_rwlock_t raw_lock; -} rwlock_t; - struct seqcount { unsigned int sequence; }; @@ -11850,8 +13054,6 @@ struct spinlock { }; }; -typedef struct spinlock spinlock_t; - typedef struct { seqcount_spinlock_t seqcount; spinlock_t lock; @@ -12002,6 +13204,8 @@ struct callback_head { void (*func)(struct callback_head *); }; +struct lock_class_key {}; + struct Qdisc_ops; struct qdisc_size_table; @@ -12026,28 +13230,23 @@ struct Qdisc { struct gnet_stats_queue *cpu_qstats; int pad; refcount_t refcnt; - long: 64; - long: 64; - long: 64; struct sk_buff_head gso_skb; struct qdisc_skb_head q; + long: 64; struct gnet_stats_basic_sync bstats; struct gnet_stats_queue qstats; + int owner; long unsigned int state; long unsigned int state2; struct Qdisc *next_sched; struct sk_buff_head skb_bad_txq; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; spinlock_t busylock; spinlock_t seqlock; struct callback_head rcu; netdevice_tracker dev_tracker; + struct lock_class_key root_lock_key; + long: 64; + long: 64; long: 64; long: 64; long: 64; @@ -12112,6 +13311,23 @@ struct Qdisc_ops { struct module *owner; }; +struct pt_regs { + long unsigned int regs[32]; + long unsigned int orig_a0; + long unsigned int csr_era; + long unsigned int csr_badvaddr; + long unsigned int csr_crmd; + long unsigned int csr_prmd; + long unsigned int csr_euen; + long unsigned int csr_ecfg; + long unsigned int csr_estat; + long unsigned int __last[0]; +}; + +struct __arch_ftrace_regs { + struct pt_regs regs; +}; + struct llist_node { struct llist_node *next; }; @@ -12141,6 +13357,14 @@ struct tracepoint; struct __find_tracepoint_cb_data { const char *tp_name; struct tracepoint *tpoint; + struct module *mod; +}; + +struct fprobe; + +struct __fprobe_header { + struct fprobe *fp; + long unsigned int size_words; }; struct genradix_root; @@ -12479,6 +13703,12 @@ struct acpi_bus_type { void (*setup)(struct device *); }; +struct acpi_cdat_header { + u8 type; + u8 reserved; + u16 length; +}; + struct acpi_cedt_header { u8 type; u8 reserved; @@ -12559,10 +13789,13 @@ struct bin_attribute { struct attribute attr; size_t size; void *private; - struct address_space * (*f_mapping)(); + struct address_space * (*f_mapping)(void); ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t); + ssize_t (*read_new)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t); ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t); - int (*mmap)(struct file *, struct kobject *, struct bin_attribute *, struct vm_area_struct *); + ssize_t (*write_new)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t); + loff_t (*llseek)(struct file *, struct kobject *, const struct bin_attribute *, loff_t, int); + int (*mmap)(struct file *, struct kobject *, const struct bin_attribute *, struct vm_area_struct *); }; struct acpi_data_attr { @@ -12628,12 +13861,12 @@ struct completion { }; struct acpi_data_node { + struct list_head sibling; const char *name; acpi_handle handle; struct fwnode_handle fwnode; struct fwnode_handle *parent; struct acpi_device_data data; - struct list_head sibling; struct kobject kobj; struct completion kobj_done; }; @@ -13224,7 +14457,6 @@ struct acpi_device_pnp { struct list_head ids; acpi_device_name device_name; acpi_device_class device_class; - union acpi_object *str_obj; }; struct acpi_device_power_flags { @@ -13238,6 +14470,7 @@ struct acpi_device_power_flags { }; struct acpi_device_power_state { + struct list_head resources; struct { u8 valid: 1; u8 explicit_set: 1; @@ -13245,7 +14478,6 @@ struct acpi_device_power_state { } flags; int power; int latency; - struct list_head resources; }; struct acpi_device_power { @@ -13298,14 +14530,9 @@ struct acpi_device_dir { struct proc_dir_entry *entry; }; -struct optimistic_spin_queue { - atomic_t tail; -}; - struct mutex { atomic_long_t owner; raw_spinlock_t wait_lock; - struct optimistic_spin_queue osq; struct list_head wait_list; }; @@ -13328,8 +14555,8 @@ struct dev_pm_qos; struct dev_pm_info { pm_message_t power_state; - unsigned int can_wakeup: 1; - unsigned int async_suspend: 1; + bool can_wakeup: 1; + bool async_suspend: 1; bool in_dpm_list: 1; bool is_prepared: 1; bool is_suspended: 1; @@ -13340,7 +14567,7 @@ struct dev_pm_info { bool direct_complete: 1; u32 driver_flags; spinlock_t lock; - unsigned int should_wakeup: 1; + bool should_wakeup: 1; struct pm_subsys_data *subsys_data; void (*set_latency_tolerance)(struct device *, s32); struct dev_pm_qos *qos; @@ -13429,12 +14656,15 @@ struct device { bool of_node_reused: 1; bool state_synced: 1; bool can_match: 1; + bool dma_skip_sync: 1; }; struct acpi_scan_handler; struct acpi_hotplug_context; +struct acpi_device_software_nodes; + struct acpi_gpio_mapping; struct acpi_device { @@ -13454,6 +14684,7 @@ struct acpi_device { struct acpi_device_data data; struct acpi_scan_handler *handler; struct acpi_hotplug_context *hp; + struct acpi_device_software_nodes *swnodes; const struct acpi_gpio_mapping *driver_gpios; void *driver_data; struct device dev; @@ -13530,19 +14761,64 @@ struct acpi_device_perf_state { }; struct acpi_device_physical_node { - unsigned int node_id; struct list_head node; struct device *dev; + unsigned int node_id; bool put_online: 1; }; struct acpi_device_properties { + struct list_head list; const guid_t *guid; union acpi_object *properties; - struct list_head list; void **bufs; }; +struct property_entry { + const char *name; + size_t length; + bool is_inline; + enum dev_prop_type type; + union { + const void *pointer; + union { + u8 u8_data[8]; + u16 u16_data[4]; + u32 u32_data[2]; + u64 u64_data[1]; + const char *str[1]; + } value; + }; +}; + +struct software_node; + +struct software_node_ref_args { + const struct software_node *node; + unsigned int nargs; + u64 args[8]; +}; + +struct acpi_device_software_node_port { + char port_name[9]; + u32 data_lanes[8]; + u32 lane_polarities[9]; + u64 link_frequencies[8]; + unsigned int port_nr; + bool crs_csi2_local; + struct property_entry port_props[2]; + struct property_entry ep_props[8]; + struct software_node_ref_args remote_ep[1]; +}; + +struct acpi_device_software_nodes { + struct property_entry dev_props[6]; + struct software_node *nodes; + const struct software_node **nodeptrs; + struct acpi_device_software_node_port *ports; + unsigned int num_ports; +}; + struct acpi_table_desc; struct acpi_evaluate_info; @@ -13590,76 +14866,6 @@ struct acpi_driver { unsigned int flags; struct acpi_device_ops ops; struct device_driver drv; - struct module *owner; -}; - -struct work_struct; - -typedef void (*work_func_t)(struct work_struct *); - -struct work_struct { - atomic_long_t data; - struct list_head entry; - work_func_t func; -}; - -struct transaction; - -struct acpi_ec { - acpi_handle handle; - acpi_handle address_space_handler_holder; - int gpe; - int irq; - long unsigned int command_addr; - long unsigned int data_addr; - bool global_lock; - long unsigned int flags; - long unsigned int reference_count; - struct mutex mutex; - wait_queue_head_t wait; - struct list_head list; - struct transaction *curr; - spinlock_t lock; - struct work_struct work; - long unsigned int timestamp; - enum acpi_ec_event_state event_state; - unsigned int events_to_process; - unsigned int events_in_progress; - unsigned int queries_in_progress; - bool busy_polling; - unsigned int polling_guard; -}; - -struct transaction { - const u8 *wdata; - u8 *rdata; - short unsigned int irq_count; - u8 command; - u8 wi; - u8 ri; - u8 wlen; - u8 rlen; - u8 flags; -}; - -struct acpi_ec_query_handler; - -struct acpi_ec_query { - struct transaction transaction; - struct work_struct work; - struct acpi_ec_query_handler *handler; - struct acpi_ec *ec; -}; - -typedef int (*acpi_ec_query_func)(void *); - -struct acpi_ec_query_handler { - struct list_head node; - acpi_ec_query_func func; - acpi_handle handle; - void *data; - u8 query_bit; - struct kref kref; }; union acpi_predefined_info; @@ -14037,7 +15243,7 @@ struct acpi_gpiolib_dmi_quirk { struct acpi_handle_list { u32 count; - acpi_handle handles[10]; + acpi_handle *handles; }; struct acpi_hardware_id { @@ -14051,11 +15257,17 @@ struct acpi_hmat_structure { u32 length; }; +typedef int (*acpi_hp_notify)(struct acpi_device *, u32); + +typedef void (*acpi_hp_uevent)(struct acpi_device *, u32); + +typedef void (*acpi_hp_fixup)(struct acpi_device *); + struct acpi_hotplug_context { struct acpi_device *self; - int (*notify)(struct acpi_device *, u32); - void (*uevent)(struct acpi_device *, u32); - void (*fixup)(struct acpi_device *); + acpi_hp_notify notify; + acpi_hp_uevent uevent; + acpi_hp_fixup fixup; }; struct acpi_hotplug_profile { @@ -14066,6 +15278,16 @@ struct acpi_hotplug_profile { bool demand_offline: 1; }; +struct work_struct; + +typedef void (*work_func_t)(struct work_struct *); + +struct work_struct { + atomic_long_t data; + struct list_head entry; + work_func_t func; +}; + struct acpi_hp_work { struct work_struct work; struct acpi_device *adev; @@ -14332,6 +15554,14 @@ struct acpi_madt_msi_pic { u32 count; } __attribute__((packed)); +struct acpi_madt_multiproc_wakeup { + struct acpi_subtable_header header; + u16 version; + u32 reserved; + u64 mailbox_address; + u64 reset_vector; +}; + struct acpi_madt_nmi_source { struct acpi_subtable_header header; u16 inti_flags; @@ -14789,7 +16019,7 @@ struct acpi_processor_flags { u8 has_lpi: 1; u8 power_setup_done: 1; u8 bm_rld_set: 1; - u8 need_hotplug_init: 1; + u8 previously_online: 1; }; struct acpi_processor_cx { @@ -15391,11 +16621,12 @@ struct acpi_scan_clear_dep_work { }; struct acpi_scan_handler { - const struct acpi_device_id *ids; struct list_head list_node; + const struct acpi_device_id *ids; bool (*match)(const char *, const struct acpi_device_id **); int (*attach)(struct acpi_device *, const struct acpi_device_id *); void (*detach)(struct acpi_device *); + void (*post_eject)(struct acpi_device *); void (*bind)(struct device *); void (*unbind)(struct device *); struct acpi_hotplug_profile hotplug; @@ -15434,6 +16665,7 @@ union acpi_subtable_headers { struct acpi_hmat_structure hmat; struct acpi_prmt_module_header prmt; struct acpi_cedt_header cedt; + struct acpi_cdat_header cdat; }; typedef int (*acpi_tbl_entry_handler_arg)(union acpi_subtable_headers *, void *, const long unsigned int); @@ -15499,15 +16731,6 @@ struct acpi_table_desc { u16 validation_count; }; -struct acpi_table_ecdt { - struct acpi_table_header header; - struct acpi_generic_address control; - struct acpi_generic_address data; - u32 uid; - u8 gpe; - u8 id[0]; -} __attribute__((packed)); - struct acpi_table_facs { char signature[4]; u32 length; @@ -15624,7 +16847,7 @@ struct acpi_table_spcr { u8 stop_bits; u8 flow_control; u8 terminal_type; - u8 reserved1; + u8 language; u16 pci_device_id; u16 pci_vendor_id; u8 pci_bus; @@ -15632,7 +16855,11 @@ struct acpi_table_spcr { u8 pci_function; u32 pci_flags; u8 pci_segment; - u32 reserved2; + u32 uart_clk_freq; + u32 precise_baudrate; + u16 name_space_string_length; + u16 name_space_string_offset; + char name_space_string[0]; } __attribute__((packed)); struct acpi_table_stao { @@ -15737,7 +16964,6 @@ struct action_devres { struct rw_semaphore { atomic_long_t count; atomic_long_t owner; - struct optimistic_spin_queue osq; raw_spinlock_t wait_lock; struct list_head wait_list; }; @@ -15766,11 +16992,11 @@ struct address_space { long unsigned int writeback_index; const struct address_space_operations *a_ops; long unsigned int flags; - struct rw_semaphore i_mmap_rwsem; errseq_t wb_err; - spinlock_t private_lock; - struct list_head private_list; - void *private_data; + spinlock_t i_private_lock; + struct list_head i_private_list; + struct rw_semaphore i_mmap_rwsem; + void *i_private_data; }; struct page; @@ -15793,8 +17019,8 @@ struct address_space_operations { int (*writepages)(struct address_space *, struct writeback_control *); bool (*dirty_folio)(struct address_space *, struct folio *); void (*readahead)(struct readahead_control *); - int (*write_begin)(struct file *, struct address_space *, loff_t, unsigned int, struct page **, void **); - int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct page *, void *); + int (*write_begin)(struct file *, struct address_space *, loff_t, unsigned int, struct folio **, void **); + int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct folio *, void *); sector_t (*bmap)(struct address_space *, sector_t); void (*invalidate_folio)(struct folio *, size_t, size_t); bool (*release_folio)(struct folio *, gfp_t); @@ -15804,7 +17030,7 @@ struct address_space_operations { int (*launder_folio)(struct folio *); bool (*is_partially_uptodate)(struct folio *, size_t, size_t); void (*is_dirty_writeback)(struct folio *, bool *, bool *); - int (*error_remove_page)(struct address_space *, struct page *); + int (*error_remove_folio)(struct address_space *, struct folio *); int (*swap_activate)(struct swap_info_struct *, struct file *, sector_t *); void (*swap_deactivate)(struct file *); int (*swap_rw)(struct kiocb *, struct iov_iter *); @@ -15828,6 +17054,29 @@ struct aggregate_device { struct component_match *match; }; +typedef void (*crypto_completion_t)(void *, int); + +struct crypto_tfm; + +struct crypto_async_request { + struct list_head list; + crypto_completion_t complete; + void *data; + struct crypto_tfm *tfm; + u32 flags; +}; + +struct scatterlist; + +struct ahash_request { + struct crypto_async_request base; + unsigned int nbytes; + struct scatterlist *src; + u8 *result; + void *priv; + void *__ctx[0]; +}; + struct rb_node { long unsigned int __rb_parent_color; struct rb_node *rb_right; @@ -15855,7 +17104,7 @@ struct hrtimer { struct alarm { struct timerqueue_node node; struct hrtimer timer; - enum alarmtimer_restart (*function)(struct alarm *, ktime_t); + void (*function)(struct alarm *, ktime_t); enum alarmtimer_type type; int state; void *data; @@ -15870,7 +17119,7 @@ struct timespec64; struct alarm_base { spinlock_t lock; struct timerqueue_head timerqueue; - ktime_t (*get_ktime)(); + ktime_t (*get_ktime)(void); void (*get_timespec)(struct timespec64 *); clockid_t base_clockid; }; @@ -15896,6 +17145,26 @@ struct alloc_context { bool spread_dirty_pages; }; +struct codetag { + unsigned int flags; + unsigned int lineno; + const char *modname; + const char *function; + const char *filename; +}; + +struct alloc_tag_counters; + +struct alloc_tag { + struct codetag ct; + struct alloc_tag_counters *counters; +}; + +struct alloc_tag_counters { + u64 bytes; + u64 calls; +}; + struct alt_instr { s32 instr_offset; s32 replace_offset; @@ -16395,8 +17664,6 @@ struct anon_vma_name { char name[0]; }; -struct property_entry; - struct apd_private_data; struct apd_device_desc { @@ -16479,7 +17746,7 @@ struct arch_uprobe_task { long unsigned int saved_trap_nr; }; -struct arch_vdso_data {}; +struct arch_vdso_time_data {}; struct net; @@ -16537,12 +17804,6 @@ struct array_buffer { int cpu; }; -struct asym_cap_data { - struct list_head link; - long unsigned int capacity; - long unsigned int cpus[0]; -}; - struct async_domain { struct list_head pending; unsigned int registered: 1; @@ -16570,17 +17831,38 @@ struct atomic_notifier_head { struct attribute_group { const char *name; umode_t (*is_visible)(struct kobject *, struct attribute *, int); - umode_t (*is_bin_visible)(struct kobject *, struct bin_attribute *, int); + umode_t (*is_bin_visible)(struct kobject *, const struct bin_attribute *, int); + size_t (*bin_size)(struct kobject *, const struct bin_attribute *, int); struct attribute **attrs; - struct bin_attribute **bin_attrs; + union { + struct bin_attribute **bin_attrs; + const struct bin_attribute * const *bin_attrs_new; + }; }; struct audit_ntp_data {}; -struct percpu_counter { +struct irq_matrix; + +struct avecintc_chip { raw_spinlock_t lock; + struct fwnode_handle *fwnode; + struct irq_domain *domain; + struct irq_matrix *vector_matrix; + phys_addr_t msi_base_addr; +}; + +struct avecintc_data { + struct list_head entry; + unsigned int cpu; + unsigned int vec; + unsigned int prev_cpu; + unsigned int prev_vec; + unsigned int moving; +}; + +struct percpu_counter { s64 count; - s32 *counters; }; struct fprop_local_percpu { @@ -16630,7 +17912,6 @@ struct bdi_writeback { struct list_head work_list; struct delayed_work dwork; struct delayed_work bw_dwork; - long unsigned int dirty_sleep; struct list_head bdi_node; }; @@ -16646,6 +17927,7 @@ struct backing_dev_info { unsigned int max_ratio; unsigned int max_prop_frac; atomic_long_t tot_write_bandwidth; + long unsigned int last_bdp_sleep; struct bdi_writeback wb; struct list_head wb_list; wait_queue_head_t wb_waitq; @@ -16655,15 +17937,13 @@ struct backing_dev_info { struct timer_list laptop_mode_wb_timer; }; -struct pid; +struct vfsmount; -struct fown_struct { - rwlock_t lock; - struct pid *pid; - enum pid_type pid_type; - kuid_t uid; - kuid_t euid; - int signum; +struct dentry; + +struct path { + struct vfsmount *mnt; + struct dentry *dentry; }; struct file_ra_state { @@ -16675,47 +17955,46 @@ struct file_ra_state { loff_t prev_pos; }; -struct vfsmount; - -struct dentry; - -struct path { - struct vfsmount *mnt; - struct dentry *dentry; -}; +struct file_operations; struct cred; -struct file_operations; +struct fown_struct; struct file { - union { - struct llist_node f_llist; - struct callback_head f_rcuhead; - unsigned int f_iocb_flags; - }; + file_ref_t f_ref; spinlock_t f_lock; fmode_t f_mode; - atomic_long_t f_count; - struct mutex f_pos_lock; - loff_t f_pos; + const struct file_operations *f_op; + struct address_space *f_mapping; + void *private_data; + struct inode *f_inode; unsigned int f_flags; - struct fown_struct f_owner; + unsigned int f_iocb_flags; const struct cred *f_cred; - struct file_ra_state f_ra; struct path f_path; - struct inode *f_inode; - const struct file_operations *f_op; - u64 f_version; - void *private_data; - struct address_space *f_mapping; + union { + struct mutex f_pos_lock; + u64 f_pipe; + }; + loff_t f_pos; + struct fown_struct *f_owner; errseq_t f_wb_err; errseq_t f_sb_err; + union { + struct callback_head f_task_work; + struct llist_node f_llist; + struct file_ra_state f_ra; + freeptr_t f_freeptr; + }; }; struct backing_file { struct file file; - struct path real_path; + union { + struct path user_path; + freeptr_t bf_freeptr; + }; }; struct bpf_verifier_env; @@ -16815,13 +18094,16 @@ struct bio { blk_opf_t bi_opf; short unsigned int bi_flags; short unsigned int bi_ioprio; + enum rw_hint bi_write_hint; blk_status_t bi_status; atomic_t __bi_remaining; struct bvec_iter bi_iter; - blk_qc_t bi_cookie; + union { + blk_qc_t bi_cookie; + unsigned int __bi_nr_segments; + }; bio_end_io_t *bi_end_io; void *bi_private; - union {}; short unsigned int bi_vcnt; short unsigned int bi_max_vecs; atomic_t __bi_cnt; @@ -16870,8 +18152,6 @@ struct bio_set { struct hlist_node cpuhp_dead; }; -typedef struct bio_vec skb_frag_t; - struct blacklist_entry { struct list_head next; char *buf; @@ -16889,6 +18169,8 @@ struct blake2s_state { struct blk_holder_ops { void (*mark_dead)(struct block_device *, bool); void (*sync)(struct block_device *); + int (*freeze)(struct block_device *); + int (*thaw)(struct block_device *); }; struct blk_independent_access_range { @@ -16904,6 +18186,15 @@ struct blk_independent_access_ranges { struct blk_independent_access_range ia_range[0]; }; +struct blk_integrity { + unsigned char flags; + enum blk_integrity_checksum csum_type; + unsigned char tuple_size; + unsigned char pi_offset; + unsigned char interval_exp; + unsigned char tag_size; +}; + struct blk_flush_queue; struct sbitmap_word; @@ -16941,10 +18232,6 @@ struct blk_mq_hw_ctx { spinlock_t lock; struct list_head dispatch; long unsigned int state; - long: 64; - long: 64; - long: 64; - long: 64; }; struct delayed_work run_work; cpumask_var_t cpumask; @@ -16966,7 +18253,6 @@ struct blk_mq_hw_ctx { atomic_t wait_index; struct blk_mq_tags *tags; struct blk_mq_tags *sched_tags; - long unsigned int run; unsigned int numa_node; unsigned int queue_num; atomic_t nr_active; @@ -16974,15 +18260,12 @@ struct blk_mq_hw_ctx { struct hlist_node cpuhp_dead; struct kobject kobj; struct list_head hctx_list; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct blk_mq_queue_data; +struct rq_list; + struct request; struct io_comp_batch; @@ -16992,7 +18275,7 @@ struct blk_mq_tag_set; struct blk_mq_ops { blk_status_t (*queue_rq)(struct blk_mq_hw_ctx *, const struct blk_mq_queue_data *); void (*commit_rqs)(struct blk_mq_hw_ctx *); - void (*queue_rqs)(struct request **); + void (*queue_rqs)(struct rq_list *); int (*get_budget)(struct request_queue *); void (*put_budget)(struct request_queue *, int); void (*set_rq_budget_token)(struct request *, int); @@ -17020,8 +18303,6 @@ struct blk_mq_queue_map { unsigned int queue_offset; }; -struct srcu_struct; - struct blk_mq_tag_set { const struct blk_mq_ops *ops; struct blk_mq_queue_map map[3]; @@ -17085,8 +18366,6 @@ struct disk_stats; struct gendisk; -struct super_block; - struct partition_meta_info; struct block_device { @@ -17096,24 +18375,21 @@ struct block_device { struct request_queue *bd_queue; struct disk_stats *bd_stats; long unsigned int bd_stamp; - bool bd_read_only; - u8 bd_partno; - bool bd_write_holder; - bool bd_has_submit_bio; + atomic_t __bd_flags; dev_t bd_dev; + struct address_space *bd_mapping; atomic_t bd_openers; spinlock_t bd_size_lock; - struct inode *bd_inode; void *bd_claiming; void *bd_holder; const struct blk_holder_ops *bd_holder_ops; struct mutex bd_holder_lock; - int bd_fsfreeze_count; int bd_holders; struct kobject *bd_holder_dir; + atomic_t bd_fsfreeze_count; struct mutex bd_fsfreeze_mutex; - struct super_block *bd_fsfreeze_sb; struct partition_meta_info *bd_meta_info; + int bd_writers; struct device bd_device; }; @@ -17163,17 +18439,14 @@ struct bp_cpuinfo { struct bp_slots_histogram tsk_pinned; }; -struct bpf_active_lock { - void *ptr; - u32 id; -}; - struct bpf_map_ops; struct btf_record; struct btf; +struct btf_type; + struct bpf_map { const struct bpf_map_ops *ops; struct bpf_map *inner_map_meta; @@ -17191,16 +18464,16 @@ struct bpf_map { u32 btf_vmlinux_value_type_id; struct btf *btf; char name[16]; - long: 64; - long: 64; - long: 64; - long: 64; + struct mutex freeze_mutex; atomic64_t refcnt; atomic64_t usercnt; - struct work_struct work; - struct mutex freeze_mutex; + union { + struct work_struct work; + struct callback_head rcu; + }; atomic64_t writecnt; struct { + const struct btf_type *attach_func_proto; spinlock_t lock; enum bpf_prog_type type; bool jited; @@ -17208,9 +18481,27 @@ struct bpf_map { } owner; bool bypass_spec_v1; bool frozen; + bool free_after_mult_rcu_gp; + bool free_after_rcu_gp; + atomic64_t sleepable_refcnt; s64 *elem_count; - long: 64; - long: 64; +}; + +struct range_tree { + struct rb_root_cached it_root; + struct rb_root_cached range_size_root; +}; + +struct vm_struct; + +struct bpf_arena { + struct bpf_map map; + u64 user_vm_start; + u64 user_vm_end; + struct vm_struct *kern_vm; + struct range_tree rt; + struct list_head vma_list; + struct mutex lock; }; struct bpf_array_aux; @@ -17234,12 +18525,6 @@ struct bpf_array { void *pptrs[0]; }; }; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_array_aux { @@ -17249,6 +18534,37 @@ struct bpf_array_aux { struct work_struct work; }; +struct bpf_prog; + +struct bpf_async_cb { + struct bpf_map *map; + struct bpf_prog *prog; + void *callback_fn; + void *value; + union { + struct callback_head rcu; + struct work_struct delete_work; + }; + u64 flags; +}; + +struct bpf_spin_lock { + __u32 val; +}; + +struct bpf_hrtimer; + +struct bpf_work; + +struct bpf_async_kern { + union { + struct bpf_async_cb *cb; + struct bpf_hrtimer *timer; + struct bpf_work *work; + }; + struct bpf_spin_lock lock; +}; + struct btf_func_model { u8 ret_size; u8 ret_flags; @@ -17257,8 +18573,6 @@ struct btf_func_model { u8 arg_flags[12]; }; -struct btf_type; - struct bpf_attach_target_info { struct btf_func_model fmodel; long int tgt_addr; @@ -17283,6 +18597,8 @@ union bpf_attr { __u32 btf_value_type_id; __u32 btf_vmlinux_value_type_id; __u64 map_extra; + __s32 value_type_btf_obj_fd; + __s32 map_token_fd; }; struct { __u32 map_fd; @@ -17333,6 +18649,8 @@ union bpf_attr { __u64 core_relos; __u32 core_relo_rec_size; __u32 log_true_size; + __s32 prog_token_fd; + __u32 fd_array_cnt; }; struct { __u64 pathname; @@ -17409,6 +18727,7 @@ union bpf_attr { struct { __u64 name; __u32 prog_fd; + __u64 cookie; } raw_tracepoint; struct { __u64 btf; @@ -17417,6 +18736,8 @@ union bpf_attr { __u32 btf_log_size; __u32 btf_log_level; __u32 btf_log_true_size; + __u32 btf_flags; + __s32 btf_token_fd; }; struct { __u32 pid; @@ -17482,6 +18803,13 @@ union bpf_attr { __u32 flags; __u32 pid; } uprobe_multi; + struct { + union { + __u32 relative_fd; + __u32 relative_id; + }; + __u64 expected_revision; + } netkit; }; } link_create; struct { @@ -17511,6 +18839,10 @@ union bpf_attr { __u32 map_fd; __u32 flags; } prog_bind_map; + struct { + __u32 flags; + __u32 bpffs_fd; + } token_create; }; struct bpf_binary_header { @@ -17525,12 +18857,6 @@ struct bpf_bloom_filter { u32 hash_seed; u32 nr_hash_funcs; long unsigned int bitset[0]; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_bprintf_buffers { @@ -17575,6 +18901,7 @@ struct bpf_call_arg_meta { u32 ret_btf_id; u32 subprogno; struct btf_field *kptr_field; + s64 const_map_key; }; struct bpf_cand_cache { @@ -17603,13 +18930,6 @@ struct bpf_lru_list { unsigned int counts[2]; struct list_head *next_inactive_rotation; raw_spinlock_t lock; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_lru_locallist; @@ -17617,13 +18937,6 @@ struct bpf_lru_locallist; struct bpf_common_lru { struct bpf_lru_list lru_list; struct bpf_lru_locallist *local_list; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_core_accessor { @@ -17684,13 +18997,6 @@ struct bpf_cpu_map_entry; struct bpf_cpu_map { struct bpf_map map; struct bpf_cpu_map_entry **cpu_map; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_cpumap_val { @@ -17705,10 +19011,6 @@ struct xdp_bulk_queue; struct ptr_ring; -struct task_struct; - -struct bpf_prog; - struct bpf_cpu_map_entry { u32 cpu; int map_id; @@ -17731,6 +19033,7 @@ struct bpf_cpumask { struct bpf_ctx_arg_aux { u32 offset; enum bpf_reg_type reg_type; + struct btf *btf; u32 btf_id; }; @@ -17750,10 +19053,7 @@ struct sk_buff { struct list_head list; struct llist_node ll_node; }; - union { - struct sock *sk; - int ip_defrag_offset; - }; + struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; @@ -17789,7 +19089,7 @@ struct sk_buff { __u8 ip_summed: 2; __u8 ooo_okay: 1; __u8 __mono_tc_offset[0]; - __u8 mono_delivery_time: 1; + __u8 tstamp_type: 2; __u8 tc_at_ingress: 1; __u8 tc_skip_classify: 1; __u8 remcsum_offload: 1; @@ -17807,6 +19107,7 @@ struct sk_buff { __u8 ndisc_nodetype: 2; __u8 redirected: 1; __u8 slow_gro: 1; + __u8 unreadable: 1; __u16 tc_index; u16 alloc_cpu; union { @@ -17854,7 +19155,7 @@ struct sk_buff { __u8 ip_summed: 2; __u8 ooo_okay: 1; __u8 __mono_tc_offset[0]; - __u8 mono_delivery_time: 1; + __u8 tstamp_type: 2; __u8 tc_at_ingress: 1; __u8 tc_skip_classify: 1; __u8 remcsum_offload: 1; @@ -17872,6 +19173,7 @@ struct sk_buff { __u8 ndisc_nodetype: 2; __u8 redirected: 1; __u8 slow_gro: 1; + __u8 unreadable: 1; __u16 tc_index; u16 alloc_cpu; union { @@ -18081,19 +19383,6 @@ struct user_pt_regs { typedef struct user_pt_regs bpf_user_pt_regs_t; -struct pt_regs { - long unsigned int regs[32]; - long unsigned int orig_a0; - long unsigned int csr_era; - long unsigned int csr_badvaddr; - long unsigned int csr_crmd; - long unsigned int csr_prmd; - long unsigned int csr_euen; - long unsigned int csr_ecfg; - long unsigned int csr_estat; - long unsigned int __last[0]; -}; - struct bpf_perf_event_data { bpf_user_pt_regs_t regs; __u64 sample_period; @@ -18181,13 +19470,6 @@ struct bpf_sk_lookup_kern { bool no_reuseport; }; -struct nf_hook_state; - -struct bpf_nf_ctx { - const struct nf_hook_state *state; - struct sk_buff *skb; -}; - struct bpf_ctx_convert { struct __sk_buff BPF_PROG_TYPE_SOCKET_FILTER_prog; struct sk_buff BPF_PROG_TYPE_SOCKET_FILTER_kern; @@ -18235,8 +19517,6 @@ struct bpf_ctx_convert { void *BPF_PROG_TYPE_EXT_kern; void *BPF_PROG_TYPE_SYSCALL_prog; void *BPF_PROG_TYPE_SYSCALL_kern; - struct bpf_nf_ctx BPF_PROG_TYPE_NETFILTER_prog; - struct bpf_nf_ctx BPF_PROG_TYPE_NETFILTER_kern; }; struct bpf_devmap_val { @@ -18288,8 +19568,6 @@ struct bpf_dtab { spinlock_t index_lock; unsigned int items; u32 n_buckets; - long: 64; - long: 64; }; struct bpf_dtab_netdev { @@ -18319,8 +19597,7 @@ struct bpf_dummy_ops_test_args { }; struct bpf_dynptr { - long: 64; - long: 64; + __u64 __opaque[2]; }; struct bpf_dynptr_kern { @@ -18390,8 +19667,15 @@ struct bpf_fib_lookup { }; __u32 tbid; }; - __u8 smac[6]; - __u8 dmac[6]; + union { + struct { + __u32 mark; + }; + struct { + __u8 smac[6]; + __u8 dmac[6]; + }; + }; }; struct bpf_flow_keys { @@ -18427,6 +19711,8 @@ struct bpf_func_info { struct bpf_func_info_aux { u16 linkage; bool unreliable; + bool called: 1; + bool verified: 1; }; struct bpf_func_proto { @@ -18434,6 +19720,7 @@ struct bpf_func_proto { bool gpl_only; bool pkt_access; bool might_sleep; + bool allow_fastcall; enum bpf_return_type ret_type; union { struct { @@ -18523,7 +19810,10 @@ struct bpf_reg_state { bool precise; }; -struct bpf_reference_state; +struct bpf_retval_range { + s32 minval; + s32 maxval; +}; struct bpf_stack_state; @@ -18533,23 +19823,23 @@ struct bpf_func_state { u32 frameno; u32 subprogno; u32 async_entry_cnt; + struct bpf_retval_range callback_ret_range; bool in_callback_fn; - struct tnum callback_ret_range; bool in_async_callback_fn; - int acquired_refs; - struct bpf_reference_state *refs; - int allocated_stack; + bool in_exception_callback_fn; + u32 callback_depth; struct bpf_stack_state *stack; + int allocated_stack; }; struct bpf_hrtimer { + struct bpf_async_cb cb; struct hrtimer timer; - struct bpf_map *map; - struct bpf_prog *prog; - void *callback_fn; - void *value; + atomic_t cancelling; }; +struct obj_cgroup; + struct bpf_mem_caches; struct bpf_mem_cache; @@ -18557,6 +19847,8 @@ struct bpf_mem_cache; struct bpf_mem_alloc { struct bpf_mem_caches *caches; struct bpf_mem_cache *cache; + struct obj_cgroup *objcg; + bool percpu; struct work_struct work; }; @@ -18586,14 +19878,8 @@ struct bpf_lru { unsigned int hash_offset; unsigned int nr_scans; bool percpu; - long: 64; - long: 64; - long: 64; - long: 64; }; -struct lock_class_key {}; - struct bucket; struct htab_elem; @@ -18604,8 +19890,6 @@ struct bpf_htab { struct bpf_mem_alloc pcpu_ma; struct bucket *buckets; void *elems; - long: 64; - long: 64; union { struct pcpu_freelist freelist; struct bpf_lru lru; @@ -18619,7 +19903,6 @@ struct bpf_htab { u32 hashrnd; struct lock_class_key lockdep_key; int *map_locked[8]; - long: 64; }; struct bpf_id_pair { @@ -18637,11 +19920,6 @@ struct bpf_idset { u32 ids[600]; }; -struct bpf_idx_pair { - u32 prev_idx; - u32 idx; -}; - struct bpf_insn { __u8 code; __u8 dst_reg: 4; @@ -18652,6 +19930,7 @@ struct bpf_insn { struct bpf_insn_access_aux { enum bpf_reg_type reg_type; + bool is_ldsx; union { int ctx_field_size; struct { @@ -18660,6 +19939,13 @@ struct bpf_insn_access_aux { }; }; struct bpf_verifier_log *log; + bool is_retval; +}; + +struct bpf_map_ptr_state { + struct bpf_map *map_ptr; + bool poison; + bool unpriv; }; struct bpf_loop_inline_state { @@ -18673,7 +19959,7 @@ struct btf_struct_meta; struct bpf_insn_aux_data { union { enum bpf_reg_type ptr_type; - long unsigned int map_ptr_state; + struct bpf_map_ptr_state map_ptr_state; s32 call_imm; u32 alu_limit; struct { @@ -18702,13 +19988,18 @@ struct bpf_insn_aux_data { u32 seen; bool sanitize_stack_spill; bool zext_dst; + bool needs_zext; bool storage_get_func_atomic; bool is_iter_next; + bool call_with_percpu_alloc_ptr; u8 alu_state; + u8 fastcall_pattern: 1; + u8 fastcall_spills_num: 3; unsigned int orig_idx; bool jmp_point; bool prune_point; bool force_checkpoint; + bool calls_callback; }; typedef void (*bpf_insn_print_t)(void *, const char *, ...); @@ -18724,6 +20015,13 @@ struct bpf_insn_cbs { void *private_data; }; +struct bpf_insn_hist_entry { + u32 idx; + u32 prev_idx: 22; + u32 flags: 10; + u64 linked_regs; +}; + struct bpf_iter_meta; struct bpf_link; @@ -18785,6 +20083,15 @@ struct bpf_iter__bpf_sk_storage_map { }; }; +struct bpf_iter__kmem_cache { + union { + struct bpf_iter_meta *meta; + }; + union { + struct kmem_cache *s; + }; +}; + struct kallsym_iter; struct bpf_iter__ksym { @@ -18862,6 +20169,27 @@ struct bpf_iter_aux_info { } task; }; +struct bpf_iter_bits { + __u64 __opaque[2]; +}; + +struct bpf_iter_bits_kern { + union { + __u64 *bits; + __u64 bits_copy; + }; + int nr_bits; + int bit; +}; + +struct bpf_iter_kmem_cache { + __u64 __opaque[1]; +}; + +struct bpf_iter_kmem_cache_kern { + struct kmem_cache *pos; +}; + struct bpf_link_ops; struct bpf_link { @@ -18870,7 +20198,11 @@ struct bpf_link { enum bpf_link_type type; const struct bpf_link_ops *ops; struct bpf_prog *prog; - struct work_struct work; + bool sleepable; + union { + struct callback_head rcu; + struct work_struct work; + }; }; struct bpf_iter_target_info; @@ -19042,6 +20374,61 @@ struct bpf_iter_target_info { u32 btf_id; }; +struct bpf_iter_task { + __u64 __opaque[3]; +}; + +struct bpf_iter_task_kern { + struct task_struct *task; + struct task_struct *pos; + unsigned int flags; +}; + +struct bpf_iter_task_vma { + __u64 __opaque[1]; +}; + +struct bpf_iter_task_vma_kern_data; + +struct bpf_iter_task_vma_kern { + struct bpf_iter_task_vma_kern_data *data; +}; + +struct maple_enode; + +struct maple_tree; + +struct maple_alloc; + +struct ma_state { + struct maple_tree *tree; + long unsigned int index; + long unsigned int last; + struct maple_enode *node; + long unsigned int min; + long unsigned int max; + struct maple_alloc *alloc; + enum maple_status status; + unsigned char depth; + unsigned char offset; + unsigned char mas_flags; + unsigned char end; + enum store_type store_type; +}; + +struct vma_iterator { + struct ma_state mas; +}; + +struct mmap_unlock_irq_work; + +struct bpf_iter_task_vma_kern_data { + struct task_struct *task; + struct mm_struct *mm; + struct mmap_unlock_irq_work *work; + struct vma_iterator vmi; +}; + struct bpf_jit_poke_descriptor { void *tailcall_target; void *tailcall_bypass; @@ -19104,6 +20491,10 @@ struct bpf_kfunc_call_arg_meta { u8 spi; u8 frameno; } iter; + struct { + struct bpf_map *ptr; + int uid; + } map; u64 mem_size; }; @@ -19120,49 +20511,21 @@ struct bpf_kfunc_desc_tab { u32 nr_descs; }; -struct ftrace_ops; - struct ftrace_regs; -typedef void (*ftrace_func_t)(long unsigned int, long unsigned int, struct ftrace_ops *, struct ftrace_regs *); +typedef int (*fprobe_entry_cb)(struct fprobe *, long unsigned int, long unsigned int, struct ftrace_regs *, void *); -struct ftrace_hash; +typedef void (*fprobe_exit_cb)(struct fprobe *, long unsigned int, long unsigned int, struct ftrace_regs *, void *); -struct ftrace_ops_hash { - struct ftrace_hash *notrace_hash; - struct ftrace_hash *filter_hash; - struct mutex regex_lock; -}; - -typedef int (*ftrace_ops_func_t)(struct ftrace_ops *, enum ftrace_ops_cmd); - -struct ftrace_ops { - ftrace_func_t func; - struct ftrace_ops *next; - long unsigned int flags; - void *private; - ftrace_func_t saved_func; - struct ftrace_ops_hash local_hash; - struct ftrace_ops_hash *func_hash; - struct ftrace_ops_hash old_hash; - long unsigned int trampoline; - long unsigned int trampoline_size; - struct list_head list; - ftrace_ops_func_t ops_func; - long unsigned int direct_call; -}; - -struct rethook; +struct fprobe_hlist; struct fprobe { - struct ftrace_ops ops; long unsigned int nmissed; unsigned int flags; - struct rethook *rethook; size_t entry_data_size; - int nr_maxactive; - int (*entry_handler)(struct fprobe *, long unsigned int, long unsigned int, struct pt_regs *, void *); - void (*exit_handler)(struct fprobe *, long unsigned int, long unsigned int, struct pt_regs *, void *); + fprobe_entry_cb entry_handler; + fprobe_exit_cb exit_handler; + struct fprobe_hlist *hlist_array; }; struct bpf_kprobe_multi_link { @@ -19176,8 +20539,14 @@ struct bpf_kprobe_multi_link { u32 flags; }; -struct bpf_kprobe_multi_run_ctx { +struct bpf_session_run_ctx { struct bpf_run_ctx run_ctx; + bool is_return; + void *data; +}; + +struct bpf_kprobe_multi_run_ctx { + struct bpf_session_run_ctx session_ctx; struct bpf_kprobe_multi_link *link; long unsigned int entry_ip; }; @@ -19246,7 +20615,19 @@ struct bpf_link_info { __u64 addrs; __u32 count; __u32 flags; + __u64 missed; + __u64 cookies; } kprobe_multi; + struct { + __u64 path; + __u64 offsets; + __u64 ref_ctr_offsets; + __u64 cookies; + __u32 path_size; + __u32 count; + __u32 flags; + __u32 pid; + } uprobe_multi; struct { __u32 type; union { @@ -19254,20 +20635,25 @@ struct bpf_link_info { __u64 file_name; __u32 name_len; __u32 offset; + __u64 cookie; } uprobe; struct { __u64 func_name; __u32 name_len; __u32 offset; __u64 addr; + __u64 missed; + __u64 cookie; } kprobe; struct { __u64 tp_name; __u32 name_len; + __u64 cookie; } tracepoint; struct { __u64 config; __u32 type; + __u64 cookie; } event; }; } perf_event; @@ -19275,17 +20661,29 @@ struct bpf_link_info { __u32 ifindex; __u32 attach_type; } tcx; + struct { + __u32 ifindex; + __u32 attach_type; + } netkit; + struct { + __u32 map_id; + __u32 attach_type; + } sockmap; }; }; +struct poll_table_struct; + struct bpf_link_ops { void (*release)(struct bpf_link *); void (*dealloc)(struct bpf_link *); + void (*dealloc_deferred)(struct bpf_link *); int (*detach)(struct bpf_link *); int (*update_prog)(struct bpf_link *, struct bpf_prog *, struct bpf_prog *); void (*show_fdinfo)(const struct bpf_link *, struct seq_file *); int (*fill_link_info)(const struct bpf_link *, struct bpf_link_info *); int (*update_map)(struct bpf_link *, struct bpf_map *, struct bpf_map *); + __poll_t (*poll)(struct file *, struct poll_table_struct *); }; struct bpf_link_primer { @@ -19296,14 +20694,11 @@ struct bpf_link_primer { }; struct bpf_list_head { - long: 64; - long: 64; + __u64 __opaque[2]; }; struct bpf_list_node { - long: 64; - long: 64; - long: 64; + __u64 __opaque[3]; }; struct bpf_list_node_kern { @@ -19342,7 +20737,10 @@ struct bpf_local_storage_elem { struct hlist_node map_node; struct hlist_node snode; struct bpf_local_storage *local_storage; - struct callback_head rcu; + union { + struct callback_head rcu; + struct hlist_node free_node; + }; long: 64; struct bpf_local_storage_data sdata; long: 64; @@ -19365,7 +20763,6 @@ struct bpf_local_storage_map { struct bpf_mem_alloc selem_ma; struct bpf_mem_alloc storage_ma; bool bpf_ma; - long: 64; }; struct bpf_local_storage_map_bucket { @@ -19373,8 +20770,15 @@ struct bpf_local_storage_map_bucket { raw_spinlock_t lock; }; -struct bpf_lpm_trie_key { +struct bpf_lpm_trie_key_hdr { __u32 prefixlen; +}; + +struct bpf_lpm_trie_key_u8 { + union { + struct bpf_lpm_trie_key_hdr hdr; + __u32 prefixlen; + }; __u8 data[0]; }; @@ -19415,6 +20819,7 @@ struct bpf_map_info { __u32 btf_id; __u32 btf_key_type_id; __u32 btf_value_type_id; + __u32 btf_vmlinux_id; __u64 map_extra; }; @@ -19422,8 +20827,6 @@ typedef u64 (*bpf_callback_t)(u64, u64, u64, u64, u64); struct bpf_prog_aux; -struct poll_table_struct; - struct bpf_map_ops { int (*map_alloc_check)(union bpf_attr *); struct bpf_map * (*map_alloc)(union bpf_attr *); @@ -19445,7 +20848,7 @@ struct bpf_map_ops { long int (*map_peek_elem)(struct bpf_map *, void *); void * (*map_lookup_percpu_elem)(struct bpf_map *, void *, u32); void * (*map_fd_get_ptr)(struct bpf_map *, struct file *, int); - void (*map_fd_put_ptr)(void *); + void (*map_fd_put_ptr)(struct bpf_map *, void *, bool); int (*map_gen_lookup)(struct bpf_map *, struct bpf_insn *); u32 (*map_fd_sys_lookup_elem)(void *); void (*map_seq_show_elem)(struct bpf_map *, void *, struct seq_file *); @@ -19457,6 +20860,7 @@ struct bpf_map_ops { int (*map_direct_value_meta)(const struct bpf_map *, u64, u32 *); int (*map_mmap)(struct bpf_map *, struct vm_area_struct *); __poll_t (*map_poll)(struct bpf_map *, struct file *, struct poll_table_struct *); + long unsigned int (*map_get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); int (*map_local_storage_charge)(struct bpf_local_storage_map *, void *, u32); void (*map_local_storage_uncharge)(struct bpf_local_storage_map *, void *, u32); struct bpf_local_storage ** (*map_owner_storage_ptr)(void *); @@ -19483,8 +20887,6 @@ struct irq_work { struct rcuwait irqwait; }; -struct obj_cgroup; - struct bpf_mem_cache { struct llist_head free_llist; local_t active; @@ -19517,7 +20919,13 @@ struct bpf_mem_caches { }; struct bpf_mount_opts { + kuid_t uid; + kgid_t gid; umode_t mode; + u64 delegate_cmds; + u64 delegate_maps; + u64 delegate_progs; + u64 delegate_attachs; }; struct bpf_mprog_fp { @@ -19548,42 +20956,45 @@ struct bpf_nested_pt_regs { struct pt_regs regs[3]; }; -struct bpf_netns_link { - struct bpf_link link; - enum bpf_attach_type type; - enum netns_bpf_attach_type netns_type; - struct net *net; - struct list_head node; +struct bpf_nh_params { + u32 nh_family; + union { + u32 ipv4_nh; + struct in6_addr ipv6_nh; + }; }; -typedef unsigned int nf_hookfn(void *, struct sk_buff *, const struct nf_hook_state *); - -struct nf_hook_ops { - nf_hookfn *hook; - struct net_device *dev; - void *priv; - u8 pf; - enum nf_hook_ops_type hook_ops_type: 8; - unsigned int hooknum; - int priority; +struct bpf_redirect_info { + u64 tgt_index; + void *tgt_value; + struct bpf_map *map; + u32 flags; + u32 map_id; + enum bpf_map_type map_type; + struct bpf_nh_params nh; + u32 kern_flags; }; -struct nf_defrag_hook; +struct bpf_net_context { + struct bpf_redirect_info ri; + struct list_head cpu_map_flush_list; + struct list_head dev_map_flush_list; + struct list_head xskmap_map_flush_list; +}; -struct bpf_nf_link { +struct bpf_netns_link { struct bpf_link link; - struct nf_hook_ops hook_ops; + enum bpf_attach_type type; + enum netns_bpf_attach_type netns_type; struct net *net; - u32 dead; - const struct nf_defrag_hook *defrag_hook; + struct list_head node; }; -struct bpf_nh_params { - u32 nh_family; - union { - u32 ipv4_nh; - struct in6_addr ipv6_nh; - }; +struct nf_hook_state; + +struct bpf_nf_ctx { + const struct nf_hook_state *state; + struct sk_buff *skb; }; struct bpf_prog_offload_ops; @@ -19613,9 +21024,6 @@ struct bpf_offloaded_map { const struct bpf_map_dev_ops *dev_ops; void *dev_priv; struct list_head offloads; - long: 64; - long: 64; - long: 64; }; struct bpf_perf_event_value { @@ -19671,6 +21079,7 @@ struct bpf_prog { u16 call_get_stack: 1; u16 call_get_func_ip: 1; u16 tstamp_type_access: 1; + u16 sleepable: 1; enum bpf_prog_type type; enum bpf_attach_type expected_attach_type; u32 len; @@ -19701,6 +21110,8 @@ struct btf_mod_pair; struct user_struct; +struct bpf_token; + struct bpf_prog_offload; struct exception_table_entry; @@ -19715,6 +21126,7 @@ struct bpf_prog_aux { u32 stack_depth; u32 id; u32 func_cnt; + u32 real_func_cnt; u32 func_idx; u32 attach_btf_id; u32 ctx_arg_info_size; @@ -19722,6 +21134,7 @@ struct bpf_prog_aux { u32 max_rdwr_access; struct btf *attach_btf; const struct bpf_ctx_arg_aux *ctx_arg_info; + void *priv_stack_ptr; struct mutex dst_mutex; struct bpf_prog *dst_prog; struct bpf_trampoline *dst_trampoline; @@ -19731,10 +21144,20 @@ struct bpf_prog_aux { bool dev_bound; bool offload_requested; bool attach_btf_trace; + bool attach_tracing_prog; bool func_proto_unreliable; - bool sleepable; bool tail_call_reachable; bool xdp_has_frags; + bool exception_cb; + bool exception_boundary; + bool is_extended; + bool jits_use_priv_stack; + bool priv_stack_requested; + bool changes_pkt_data; + u64 prog_array_member_cnt; + struct mutex ext_mutex; + struct bpf_arena *arena; + void (*recursion_detected)(struct bpf_prog *); const struct btf_type *attach_func_proto; const char *attach_func_name; struct bpf_prog **func; @@ -19755,6 +21178,8 @@ struct bpf_prog_aux { int cgroup_atype; struct bpf_map *cgroup_storage[2]; char name[16]; + u64 (*bpf_exception_cb)(u64, u64, u64, u64, u64); + struct bpf_token *token; struct bpf_prog_offload *offload; struct btf *btf; struct bpf_func_info *func_info; @@ -19870,13 +21295,8 @@ struct bpf_queue_stack { u32 head; u32 tail; u32 size; + long: 0; char elements[0]; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_raw_event_map { @@ -19890,6 +21310,12 @@ struct bpf_raw_event_map { struct bpf_raw_tp_link { struct bpf_link link; struct bpf_raw_event_map *btp; + u64 cookie; +}; + +struct bpf_raw_tp_null_args { + const char *func; + u64 mask; }; struct bpf_raw_tp_regs { @@ -19903,10 +21329,7 @@ struct bpf_raw_tp_test_run_info { }; struct bpf_rb_node { - long: 64; - long: 64; - long: 64; - long: 64; + __u64 __opaque[4]; }; struct bpf_rb_node_kern { @@ -19915,8 +21338,7 @@ struct bpf_rb_node_kern { }; struct bpf_rb_root { - long: 64; - long: 64; + __u64 __opaque[2]; }; struct bpf_redir_neigh { @@ -19927,25 +21349,15 @@ struct bpf_redir_neigh { }; }; -struct bpf_redirect_info { - u64 tgt_index; - void *tgt_value; - struct bpf_map *map; - u32 flags; - u32 kern_flags; - u32 map_id; - enum bpf_map_type map_type; - struct bpf_nh_params nh; -}; - struct bpf_refcount { - int: 32; + __u32 __opaque[1]; }; struct bpf_reference_state { + enum ref_state_type type; int id; int insn_idx; - int callback_ref; + void *ptr; }; struct bpf_reg_types { @@ -19959,20 +21371,7 @@ struct bpf_ringbuf { u64 mask; struct page **pages; int nr_pages; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - spinlock_t spinlock; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; + raw_spinlock_t spinlock; atomic_t busy; long: 64; long: 64; @@ -21997,51 +23396,6 @@ struct bpf_ringbuf { long: 64; long: 64; long: 64; - long unsigned int consumer_pos; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; long: 64; long: 64; long: 64; @@ -22058,6 +23412,7 @@ struct bpf_ringbuf { long: 64; long: 64; long: 64; + long unsigned int consumer_pos; long: 64; long: 64; long: 64; @@ -24045,7 +25400,6 @@ struct bpf_ringbuf { long: 64; long: 64; long: 64; - long unsigned int producer_pos; long: 64; long: 64; long: 64; @@ -24106,6 +25460,67 @@ struct bpf_ringbuf { long: 64; long: 64; long: 64; + long unsigned int producer_pos; + long unsigned int pending_pos; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; long: 64; long: 64; long: 64; @@ -26104,13 +27519,6 @@ struct bpf_ringbuf_hdr { struct bpf_ringbuf_map { struct bpf_map map; struct bpf_ringbuf *rb; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_sanitize_info { @@ -26118,18 +27526,15 @@ struct bpf_sanitize_info { bool mask_to_left; }; -struct bpf_scratchpad { - union { - __be32 diff[128]; - u8 buff[512]; - }; -}; - struct sk_psock_progs { struct bpf_prog *msg_parser; struct bpf_prog *stream_parser; struct bpf_prog *stream_verdict; struct bpf_prog *skb_verdict; + struct bpf_link *msg_parser_link; + struct bpf_link *stream_parser_link; + struct bpf_link *stream_verdict_link; + struct bpf_link *skb_verdict_link; }; struct bpf_shtab_bucket; @@ -26141,7 +27546,6 @@ struct bpf_shtab { u32 elem_size; struct sk_psock_progs progs; atomic_t count; - long: 64; }; struct bpf_shtab_bucket { @@ -26214,6 +27618,7 @@ struct bpf_sock_addr_kern { struct sockaddr *uaddr; u64 tmp_reg; void *t_ctx; + u32 uaddrlen; }; struct bpf_sock_tuple { @@ -26233,17 +27638,11 @@ struct bpf_sock_tuple { }; }; -struct bpf_spin_lock { - __u32 val; -}; - struct bpf_stab { struct bpf_map map; struct sock **sks; struct sk_psock_progs progs; spinlock_t lock; - long: 64; - long: 64; }; struct bpf_stack_build_id { @@ -26263,9 +27662,6 @@ struct bpf_stack_map { struct pcpu_freelist freelist; u32 n_buckets; struct stack_map_bucket *buckets[0]; - long: 64; - long: 64; - long: 64; }; struct bpf_stack_state { @@ -26282,68 +27678,62 @@ struct bpf_struct_ops { int (*init)(struct btf *); int (*check_member)(const struct btf_type *, const struct btf_member *, const struct bpf_prog *); int (*init_member)(const struct btf_type *, const struct btf_member *, void *, const void *); - int (*reg)(void *); - void (*unreg)(void *); - int (*update)(void *, void *); + int (*reg)(void *, struct bpf_link *); + void (*unreg)(void *, struct bpf_link *); + int (*update)(void *, void *, struct bpf_link *); int (*validate)(void *); - const struct btf_type *type; - const struct btf_type *value_type; + void *cfi_stubs; + struct module *owner; const char *name; struct btf_func_model func_models[64]; - u32 type_id; - u32 value_id; }; -struct bpf_struct_ops_bpf_dummy_ops { +struct bpf_struct_ops_arg_info { + struct bpf_ctx_arg_aux *info; + u32 cnt; +}; + +struct bpf_struct_ops_common_value { refcount_t refcnt; enum bpf_struct_ops_state state; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; +}; + +struct bpf_struct_ops_bpf_dummy_ops { + struct bpf_struct_ops_common_value common; struct bpf_dummy_ops data; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; +}; + +struct bpf_struct_ops_desc { + struct bpf_struct_ops *st_ops; + const struct btf_type *type; + const struct btf_type *value_type; + u32 type_id; + u32 value_id; + struct bpf_struct_ops_arg_info *arg_info; }; struct bpf_struct_ops_link { struct bpf_link link; struct bpf_map *map; + wait_queue_head_t wait_hup; }; struct bpf_struct_ops_value { - refcount_t refcnt; - enum bpf_struct_ops_state state; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; + struct bpf_struct_ops_common_value common; char data[0]; }; struct bpf_struct_ops_map { struct bpf_map map; - struct callback_head rcu; - const struct bpf_struct_ops *st_ops; + const struct bpf_struct_ops_desc *st_ops_desc; struct mutex lock; struct bpf_link **links; - void *image; + struct bpf_ksym **ksyms; + u32 funcs_cnt; + u32 image_pages_cnt; + void *image_pages[8]; + struct btf *btf; struct bpf_struct_ops_value *uvalue; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; struct bpf_struct_ops_value kvalue; }; @@ -26359,7 +27749,7 @@ struct tcp_congestion_ops { void (*in_ack_event)(struct sock *, u32); void (*pkts_acked)(struct sock *, const struct ack_sample *); u32 (*min_tso_segs)(struct sock *); - void (*cong_control)(struct sock *, const struct rate_sample *); + void (*cong_control)(struct sock *, u32, int, const struct rate_sample *); u32 (*undo_cwnd)(struct sock *); u32 (*sndbuf_expand)(struct sock *); size_t (*get_info)(struct sock *, u32, int *, union tcp_cc_info *); @@ -26370,34 +27760,53 @@ struct tcp_congestion_ops { u32 flags; void (*init)(struct sock *); void (*release)(struct sock *); - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_struct_ops_tcp_congestion_ops { - refcount_t refcnt; - enum bpf_struct_ops_state state; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; + struct bpf_struct_ops_common_value common; struct tcp_congestion_ops data; }; +struct bpf_subprog_arg_info { + enum bpf_arg_type arg_type; + union { + u32 mem_size; + u32 btf_id; + }; +}; + struct bpf_subprog_info { u32 start; u32 linfo_idx; u16 stack_depth; - bool has_tail_call; - bool tail_call_reachable; - bool has_ld_abs; - bool is_async_cb; + u16 stack_extra; + s16 fastcall_stack_off; + bool has_tail_call: 1; + bool tail_call_reachable: 1; + bool has_ld_abs: 1; + bool is_cb: 1; + bool is_async_cb: 1; + bool is_exception_cb: 1; + bool args_cached: 1; + bool keep_fastcall_stack: 1; + bool changes_pkt_data: 1; + enum priv_stack_mode priv_stack_mode; + u8 arg_cnt; + struct bpf_subprog_arg_info args[5]; +}; + +struct bpf_tcp_req_attrs { + u32 rcv_tsval; + u32 rcv_tsecr; + u16 mss; + u8 rcv_wscale; + u8 snd_wscale; + u8 ecn_ok; + u8 wscale_ok; + u8 sack_ok; + u8 tstamp_ok; + u8 usec_ts_ok; + u8 reserved[3]; }; struct bpf_tcp_sock { @@ -26439,14 +27848,27 @@ struct bpf_test_timer { u64 time_spent; }; +struct bpf_throw_ctx { + struct bpf_prog_aux *aux; + u64 sp; + u64 bp; + int cnt; +}; + struct bpf_timer { - long: 64; - long: 64; + __u64 __opaque[2]; }; -struct bpf_timer_kern { - struct bpf_hrtimer *timer; - struct bpf_spin_lock lock; +struct user_namespace; + +struct bpf_token { + struct work_struct work; + atomic64_t refcnt; + struct user_namespace *userns; + u64 allowed_cmds; + u64 allowed_maps; + u64 allowed_progs; + u64 allowed_attachs; }; struct bpf_trace_module { @@ -26516,6 +27938,7 @@ struct perf_sample_data { struct perf_callchain_entry *callchain; struct perf_raw_record *raw; struct perf_branch_stack *br_stack; + u64 *br_stack_cntr; union perf_sample_weight weight; union perf_mem_data_src data_src; u64 txn; @@ -26533,7 +27956,6 @@ struct perf_sample_data { long: 64; long: 64; long: 64; - long: 64; }; struct bpf_trace_sample_data { @@ -26562,6 +27984,7 @@ struct percpu_ref { struct bpf_tramp_image { void *image; + int size; struct bpf_ksym ksym; struct percpu_ref pcref; void *ip_after_call; @@ -26583,6 +28006,8 @@ struct bpf_tramp_run_ctx { struct bpf_run_ctx *saved_run_ctx; }; +struct ftrace_ops; + struct bpf_trampoline { struct hlist_node hlist; struct ftrace_ops *fops; @@ -26599,7 +28024,6 @@ struct bpf_trampoline { struct hlist_head progs_hlist[3]; int progs_cnt[3]; struct bpf_tramp_image *cur_image; - struct module *mod; }; struct bpf_tunnel_key { @@ -26627,31 +28051,38 @@ struct bpf_tuple { }; struct uprobe_consumer { - int (*handler)(struct uprobe_consumer *, struct pt_regs *); - int (*ret_handler)(struct uprobe_consumer *, long unsigned int, struct pt_regs *); - bool (*filter)(struct uprobe_consumer *, enum uprobe_filter_ctx, struct mm_struct *); - struct uprobe_consumer *next; + int (*handler)(struct uprobe_consumer *, struct pt_regs *, __u64 *); + int (*ret_handler)(struct uprobe_consumer *, long unsigned int, struct pt_regs *, __u64 *); + bool (*filter)(struct uprobe_consumer *, struct mm_struct *); + struct list_head cons_node; + __u64 id; }; struct bpf_uprobe_multi_link; +struct uprobe; + struct bpf_uprobe { struct bpf_uprobe_multi_link *link; loff_t offset; + long unsigned int ref_ctr_offset; u64 cookie; + struct uprobe *uprobe; struct uprobe_consumer consumer; + bool session; }; struct bpf_uprobe_multi_link { struct path path; struct bpf_link link; u32 cnt; + u32 flags; struct bpf_uprobe *uprobes; struct task_struct *task; }; struct bpf_uprobe_multi_run_ctx { - struct bpf_run_ctx run_ctx; + struct bpf_session_run_ctx session_ctx; long unsigned int entry_ip; struct bpf_uprobe *uprobe; }; @@ -26682,10 +28113,12 @@ struct bpf_verifier_env { u32 prev_insn_idx; struct bpf_prog *prog; const struct bpf_verifier_ops *ops; + struct module *attach_btf_mod; struct bpf_verifier_stack_elem *head; int stack_size; bool strict_alignment; bool test_state_freq; + bool test_reg_invariants; struct bpf_verifier_state *cur_state; struct bpf_verifier_state_list **explored_states; struct bpf_verifier_state_list *free_list; @@ -26694,6 +28127,8 @@ struct bpf_verifier_env { u32 used_map_cnt; u32 used_btf_cnt; u32 id_gen; + u32 hidden_subprog_cnt; + int exception_callback_subprog; bool explore_alu_limits; bool allow_ptr_leaks; bool allow_uninit_stack; @@ -26701,10 +28136,11 @@ struct bpf_verifier_env { bool bypass_spec_v1; bool bypass_spec_v4; bool seen_direct_write; + bool seen_exception; struct bpf_insn_aux_data *insn_aux_data; const struct bpf_line_info *prev_linfo; struct bpf_verifier_log log; - struct bpf_subprog_info subprog_info[257]; + struct bpf_subprog_info subprog_info[258]; union { struct bpf_idmap idmap_scratch; struct bpf_idset idset_scratch; @@ -26715,6 +28151,9 @@ struct bpf_verifier_env { int cur_stack; } cfg; struct backtrack_state bt; + struct bpf_insn_hist_entry *insn_hist; + struct bpf_insn_hist_entry *cur_hist_ent; + u32 insn_hist_cap; u32 pass_cnt; u32 subprog_cnt; u32 prev_insn_processed; @@ -26731,13 +28170,17 @@ struct bpf_verifier_env { u64 scratched_stack_slots; u64 prev_log_pos; u64 prev_insn_print_pos; + struct bpf_reg_state fake_reg[2]; char tmp_str_buf[320]; + struct bpf_insn insn_buf[32]; + struct bpf_insn epilogue_buf[32]; }; struct bpf_verifier_ops { const struct bpf_func_proto * (*get_func_proto)(enum bpf_func_id, const struct bpf_prog *); bool (*is_valid_access)(int, int, enum bpf_access_type, const struct bpf_prog *, struct bpf_insn_access_aux *); int (*gen_prologue)(struct bpf_insn *, bool, const struct bpf_prog *); + int (*gen_epilogue)(struct bpf_insn *, const struct bpf_prog *, s16); int (*gen_ld_abs)(const struct bpf_insn *, struct bpf_insn *); u32 (*convert_ctx_access)(enum bpf_access_type, const struct bpf_insn *, struct bpf_insn *, struct bpf_prog *, u32 *); int (*btf_struct_access)(struct bpf_verifier_log *, const struct bpf_reg_state *, int, int); @@ -26746,16 +28189,26 @@ struct bpf_verifier_ops { struct bpf_verifier_state { struct bpf_func_state *frame[8]; struct bpf_verifier_state *parent; + struct bpf_reference_state *refs; u32 branches; u32 insn_idx; u32 curframe; - struct bpf_active_lock active_lock; - bool speculative; + u32 acquired_refs; + u32 active_locks; + u32 active_preempt_locks; + u32 active_irq_id; bool active_rcu_lock; + bool speculative; + bool used_as_loop_entry; + bool in_sleepable; u32 first_insn_idx; u32 last_insn_idx; - struct bpf_idx_pair *jmp_history; - u32 jmp_history_cnt; + struct bpf_verifier_state *loop_entry; + u32 insn_hist_start; + u32 insn_hist_end; + u32 dfs_depth; + u32 callback_unroll_depth; + u32 may_goto_depth; }; struct bpf_verifier_stack_elem { @@ -26773,6 +28226,16 @@ struct bpf_verifier_state_list { int hit_cnt; }; +struct bpf_work { + struct bpf_async_cb cb; + struct work_struct work; + struct work_struct delete_work; +}; + +struct bpf_wq { + __u64 __opaque[2]; +}; + struct bpf_xdp_link; struct bpf_xdp_entity { @@ -26790,6 +28253,14 @@ struct bpf_xdp_sock { __u32 queue_id; }; +struct bpffs_btf_enums { + const struct btf *btf; + const struct btf_type *cmd_t; + const struct btf_type *map_t; + const struct btf_type *prog_t; + const struct btf_type *attach_t; +}; + struct trace_entry { short unsigned int type; unsigned char flags; @@ -26810,14 +28281,6 @@ struct bputs_entry { const char *str; }; -struct br_input_skb_cb { - struct net_device *brdev; - u16 frag_max_size; - u8 proxyarp_replied: 1; - u8 src_port_isolated: 1; - u32 backup_nhid; -}; - struct br_mdb_entry { __u32 ifindex; __u8 state; @@ -26860,6 +28323,8 @@ struct btf_id_dtor_kfunc_tab; struct btf_struct_metas; +struct btf_struct_ops_tab; + struct btf { void *data; struct btf_type **types; @@ -26877,11 +28342,13 @@ struct btf { struct btf_kfunc_set_tab *kfunc_set_tab; struct btf_id_dtor_kfunc_tab *dtor_kfunc_tab; struct btf_struct_metas *struct_meta_tab; + struct btf_struct_ops_tab *struct_ops_tab; struct btf *base_btf; u32 start_id; u32 start_str_off; char name[56]; bool kernel_btf; + __u32 *base_id_map; }; struct btf_anon_stack { @@ -26936,6 +28403,14 @@ struct btf_field { }; }; +struct btf_field_desc { + int t_off_cnt; + int t_offs[2]; + int m_sz; + int m_off_cnt; + int m_offs[1]; +}; + struct btf_field_info { enum btf_field_type type; u32 off; @@ -26950,6 +28425,14 @@ struct btf_field_info { }; }; +struct btf_field_iter { + struct btf_field_desc desc; + void *p; + int m_idx; + int off_idx; + int vlen; +}; + struct btf_id_dtor_kfunc { u32 btf_id; u32 kfunc_btf_id; @@ -26988,8 +28471,8 @@ struct btf_kfunc_id_set { }; struct btf_kfunc_set_tab { - struct btf_id_set8 *sets[13]; - struct btf_kfunc_hook_filter hook_filters[13]; + struct btf_id_set8 *sets[14]; + struct btf_kfunc_hook_filter hook_filters[14]; }; struct btf_verifier_env; @@ -27021,6 +28504,13 @@ struct btf_module { int flags; }; +struct btf_name_info { + const char *name; + bool needs_size: 1; + unsigned int size: 31; + __u32 id; +}; + struct btf_param { __u32 name_off; __u32 type; @@ -27037,10 +28527,24 @@ struct btf_record { u32 field_mask; int spin_lock_off; int timer_off; + int wq_off; int refcount_off; struct btf_field fields[0]; }; +struct btf_relocate { + struct btf *btf; + const struct btf *base_btf; + const struct btf *dist_base_btf; + unsigned int nr_base_types; + unsigned int nr_split_types; + unsigned int nr_dist_base_types; + int dist_str_len; + int base_str_len; + __u32 *id_map; + __u32 *str_map; +}; + struct btf_sec_info { u32 off; u32 len; @@ -27090,6 +28594,12 @@ struct btf_struct_metas { struct btf_struct_meta types[0]; }; +struct btf_struct_ops_tab { + u32 cnt; + u32 capacity; + struct bpf_struct_ops_desc ops[0]; +}; + struct btf_type { __u32 name_off; __u32 info; @@ -27149,7 +28659,6 @@ struct bucket_table { struct callback_head rcu; struct bucket_table *future_tbl; struct lockdep_map dep_map; - long: 64; struct rhash_lock_head *buckets[0]; }; @@ -27159,12 +28668,20 @@ struct buffer_data_page { unsigned char data[0]; }; +struct buffer_data_read_page { + unsigned int order; + struct buffer_data_page *data; +}; + struct buffer_page { struct list_head list; local_t write; unsigned int read; local_t entries; long unsigned int real_end; + unsigned int order; + u32 id: 30; + u32 range: 1; struct buffer_data_page *page; }; @@ -27185,23 +28702,21 @@ struct bus_dma_region { phys_addr_t cpu_start; dma_addr_t dma_start; u64 size; - u64 offset; }; -struct iommu_ops; - struct bus_type { const char *name; const char *dev_name; const struct attribute_group **bus_groups; const struct attribute_group **dev_groups; const struct attribute_group **drv_groups; - int (*match)(struct device *, struct device_driver *); + int (*match)(struct device *, const struct device_driver *); int (*uevent)(const struct device *, struct kobj_uevent_env *); int (*probe)(struct device *); void (*sync_state)(struct device *); void (*remove)(struct device *); void (*shutdown)(struct device *); + const struct cpumask * (*irq_get_affinity)(struct device *, unsigned int); int (*online)(struct device *); int (*offline)(struct device *); int (*suspend)(struct device *, pm_message_t); @@ -27210,7 +28725,6 @@ struct bus_type { int (*dma_configure)(struct device *); void (*dma_cleanup)(struct device *); const struct dev_pm_ops *pm; - const struct iommu_ops *iommu_ops; bool need_parent_lock; }; @@ -27245,16 +28759,6 @@ struct cacheinfo { void *priv; }; -struct cacheline_padding { - char x[0]; -}; - -struct call_function_data { - call_single_data_t *csd; - cpumask_var_t cpumask; - cpumask_var_t cpumask_ipi; -}; - struct callchain_cpus_entries { struct callback_head callback_head; struct perf_callchain_entry *cpu_entries[0]; @@ -27281,54 +28785,20 @@ struct load_weight { u32 inv_weight; }; -struct util_est { - unsigned int enqueued; - unsigned int ewma; -}; - -struct sched_avg { - u64 last_update_time; - u64 load_sum; - u64 runnable_sum; - u32 util_sum; - u32 period_contrib; - long unsigned int load_avg; - long unsigned int runnable_avg; - long unsigned int util_avg; - struct util_est util_est; -}; - struct sched_entity; struct cfs_rq { struct load_weight load; - unsigned int nr_running; - unsigned int h_nr_running; - unsigned int idle_nr_running; - unsigned int idle_h_nr_running; + unsigned int nr_queued; + unsigned int h_nr_queued; + unsigned int h_nr_runnable; + unsigned int h_nr_idle; s64 avg_vruntime; u64 avg_load; - u64 exec_clock; u64 min_vruntime; struct rb_root_cached tasks_timeline; struct sched_entity *curr; struct sched_entity *next; - long: 64; - long: 64; - long: 64; - long: 64; - struct sched_avg avg; - struct { - raw_spinlock_t lock; - int nr; - long unsigned int load_avg; - long unsigned int util_avg; - long unsigned int runnable_avg; - long: 64; - long: 64; - long: 64; - long: 64; - } removed; }; struct cgroup__safe_rcu { @@ -27338,7 +28808,7 @@ struct cgroup__safe_rcu { struct proc_ns_operations; struct ns_common { - atomic_long_t stashed; + struct dentry *stashed; const struct proc_ns_operations *ops; unsigned int inum; refcount_t count; @@ -27346,8 +28816,6 @@ struct ns_common { struct css_set; -struct user_namespace; - struct ucounts; struct cgroup_namespace { @@ -27392,8 +28860,6 @@ struct check_mount { unsigned int mounted; }; -struct crypto_tfm; - struct cipher_alg { unsigned int cia_min_keysize; unsigned int cia_max_keysize; @@ -27403,8 +28869,8 @@ struct cipher_alg { }; struct cipher_context { - char *iv; - char *rec_seq; + char iv[20]; + char rec_seq[8]; }; struct class_attribute { @@ -27534,6 +29000,7 @@ struct clk_core { struct clk_hw *hw; struct module *owner; struct device *dev; + struct hlist_node rpm_node; struct device_node *of_node; struct clk_core *parent; struct clk_parent_map *parents; @@ -27572,7 +29039,7 @@ struct clk_divider { void *reg; u8 shift; u8 width; - u8 flags; + u16 flags; const struct clk_div_table *table; spinlock_t *lock; }; @@ -27581,6 +29048,8 @@ struct clk_fixed_factor { struct clk_hw hw; unsigned int mult; unsigned int div; + long unsigned int acc; + unsigned int flags; }; struct clk_fixed_rate { @@ -27615,6 +29084,14 @@ struct clk_gpio { struct gpio_desc *gpiod; }; +struct regulator; + +struct clk_gated_fixed { + struct clk_gpio clk_gpio; + struct regulator *supply; + long unsigned int rate; +}; + struct clk_hw_onecell_data { unsigned int num; struct clk_hw *hws[0]; @@ -27642,7 +29119,7 @@ struct clk_lookup { struct clk_lookup_alloc { struct clk_lookup cl; - char dev_id[20]; + char dev_id[24]; char con_id[16]; }; @@ -27665,41 +29142,18 @@ struct clk_mux { spinlock_t *lock; }; -struct srcu_node; - -struct srcu_usage { - struct srcu_node *node; - struct srcu_node *level[3]; - int srcu_size_state; - struct mutex srcu_cb_mutex; - spinlock_t lock; - struct mutex srcu_gp_mutex; - long unsigned int srcu_gp_seq; - long unsigned int srcu_gp_seq_needed; - long unsigned int srcu_gp_seq_needed_exp; - long unsigned int srcu_gp_start; - long unsigned int srcu_last_gp_end; - long unsigned int srcu_size_jiffies; - long unsigned int srcu_n_lock_retries; - long unsigned int srcu_n_exp_nodelay; - bool sda_is_static; - long unsigned int srcu_barrier_seq; - struct mutex srcu_barrier_mutex; - struct completion srcu_barrier_completion; - atomic_t srcu_barrier_cpu_cnt; - long unsigned int reschedule_jiffies; - long unsigned int reschedule_count; - struct delayed_work work; - struct srcu_struct *srcu_ssp; -}; - -struct srcu_data; +struct srcu_usage {}; struct srcu_struct { - unsigned int srcu_idx; - struct srcu_data *sda; - struct lockdep_map dep_map; - struct srcu_usage *srcu_sup; + short int srcu_lock_nesting[2]; + u8 srcu_gp_running; + u8 srcu_gp_waiting; + long unsigned int srcu_idx; + long unsigned int srcu_idx_max; + struct swait_queue_head srcu_wq; + struct callback_head *srcu_cb_head; + struct callback_head **srcu_cb_tail; + struct work_struct srcu_work; }; struct srcu_notifier_head { @@ -27759,7 +29213,7 @@ struct clock_read_data { u64 epoch_ns; u64 epoch_cyc; u64 sched_clock_mask; - u64 (*read_sched_clock)(); + u64 (*read_sched_clock)(void); u32 mult; u32 shift; }; @@ -27769,7 +29223,7 @@ struct clock_data { struct clock_read_data read_data[2]; ktime_t wrap_kt; long unsigned int rate; - u64 (*actual_read_sched_clock)(); + u64 (*actual_read_sched_clock)(void); }; struct clock_event_device { @@ -27819,6 +29273,8 @@ struct clock_provider { struct list_head node; }; +struct clocksource_base; + struct clocksource { u64 (*read)(struct clocksource *); u64 mask; @@ -27828,12 +29284,15 @@ struct clocksource { u32 maxadj; u32 uncertainty_margin; u64 max_cycles; + u64 max_raw_delta; const char *name; struct list_head list; + u32 freq_khz; int rating; enum clocksource_ids id; enum vdso_clock_mode vdso_clock_mode; long unsigned int flags; + struct clocksource_base *base; int (*enable)(struct clocksource *); void (*disable)(struct clocksource *); void (*suspend)(struct clocksource *); @@ -27843,6 +29302,14 @@ struct clocksource { struct module *owner; }; +struct clocksource_base { + enum clocksource_ids id; + u32 freq_khz; + u64 offset; + u32 numerator; + u32 denominator; +}; + struct clone_args { __u64 flags; __u64 pidfd; @@ -27857,6 +29324,94 @@ struct clone_args { __u64 cgroup; }; +struct cmis_cdb_advert_rpl { + u8 inst_supported; + u8 read_write_len_ext; + u8 resv1; + u8 resv2; +}; + +struct cmis_cdb_fw_mng_features_rpl { + u8 resv1; + u8 resv2; + u8 start_cmd_payload_size; + u8 resv3; + u8 read_write_len_ext; + u8 write_mechanism; + u8 resv4; + u8 resv5; + __be16 max_duration_start; + __be16 resv6; + __be16 max_duration_write; + __be16 max_duration_complete; + __be16 resv7; +}; + +struct cmis_cdb_module_features_rpl { + u8 resv1[34]; + __be16 max_completion_time; +}; + +struct cmis_cdb_query_status_pl { + u16 response_delay; +}; + +struct cmis_cdb_query_status_rpl { + u8 length; + u8 status; +}; + +struct cmis_cdb_run_fw_image_pl { + u8 resv1; + u8 image_to_run; + u16 delay_to_reset; +}; + +struct cmis_cdb_start_fw_download_pl_h { + __be32 image_size; + __be32 resv1; +}; + +struct cmis_cdb_start_fw_download_pl { + union { + struct { + __be32 image_size; + __be32 resv1; + }; + struct cmis_cdb_start_fw_download_pl_h head; + }; + u8 vendor_data[112]; +}; + +struct cmis_cdb_write_fw_block_epl_pl { + u8 fw_block[2048]; +}; + +struct cmis_cdb_write_fw_block_lpl_pl { + __be32 block_address; + u8 fw_block[116]; +}; + +struct cmis_fw_update_fw_mng_features { + u8 start_cmd_payload_size; + u8 write_mechanism; + u16 max_duration_start; + u16 max_duration_write; + u16 max_duration_complete; +}; + +struct cmis_password_entry_pl { + __be32 password; +}; + +struct cmis_rev_rpl { + u8 rev; +}; + +struct cmis_wait_for_cond_rpl { + u8 state; +}; + struct cmsghdr { __kernel_size_t cmsg_len; int cmsg_level; @@ -28051,14 +29606,30 @@ struct compress_format { decompress_fn decompressor; }; +struct console; + +struct printk_buffers; + +struct nbcon_context { + struct console *console; + unsigned int spinwait_max_us; + enum nbcon_prio prio; + unsigned int allow_unsafe_takeover: 1; + unsigned int backlog: 1; + struct printk_buffers *pbufs; + u64 seq; +}; + struct tty_driver; +struct nbcon_write_context; + struct console { char name[16]; void (*write)(struct console *, const char *, unsigned int); int (*read)(struct console *, char *, unsigned int); struct tty_driver * (*device)(struct console *, int *); - void (*unblank)(); + void (*unblank)(void); int (*setup)(struct console *, char *); int (*exit)(struct console *); int (*match)(struct console *, char *, int, char *); @@ -28071,15 +29642,35 @@ struct console { long unsigned int dropped; void *data; struct hlist_node node; + void (*write_atomic)(struct console *, struct nbcon_write_context *); + void (*write_thread)(struct console *, struct nbcon_write_context *); + void (*device_lock)(struct console *, long unsigned int *); + void (*device_unlock)(struct console *, long unsigned int); + atomic_t nbcon_state; + atomic_long_t nbcon_seq; + struct nbcon_context nbcon_device_ctxt; + atomic_long_t nbcon_prev_seq; + struct printk_buffers *pbufs; + struct task_struct *kthread; + struct rcuwait rcuwait; + struct irq_work irq_work; }; struct console_cmdline { char name[16]; int index; + char devname[32]; bool user_specified; char *options; }; +struct console_flush_type { + bool nbcon_atomic; + bool nbcon_offload; + bool legacy_direct; + bool legacy_offload; +}; + struct constant_table { const char *name; int value; @@ -28090,12 +29681,6 @@ struct container_dev { int (*offline)(struct container_dev *); }; -struct context_tracking { - atomic_t state; - long int dynticks_nesting; - long int dynticks_nmi_nesting; -}; - struct core_thread { struct task_struct *task; struct core_thread *next; @@ -28132,6 +29717,7 @@ struct cpu_attr { struct cpu_cacheinfo { struct cacheinfo *info_list; + unsigned int per_cpu_data_slice_size; unsigned int num_levels; unsigned int num_leaves; bool cpu_map_populated; @@ -28140,8 +29726,9 @@ struct cpu_cacheinfo { struct folio_batch { unsigned char nr; + unsigned char i; bool percpu_pvec_drained; - struct folio *folios[15]; + struct folio *folios[31]; }; struct cpu_fbatches { @@ -28150,7 +29737,8 @@ struct cpu_fbatches { struct folio_batch lru_deactivate_file; struct folio_batch lru_deactivate; struct folio_batch lru_lazyfree; - struct folio_batch activate; + local_lock_t lock_irq; + struct folio_batch lru_move_tail; }; struct cpu_hw_events { @@ -28159,30 +29747,12 @@ struct cpu_hw_events { unsigned int saved_ctrl[32]; }; -struct cpu_stop_done { - atomic_t nr_todo; - int ret; - struct completion completion; -}; - typedef int (*cpu_stop_fn_t)(void *); struct cpu_stop_work { - struct list_head list; + struct work_struct work; cpu_stop_fn_t fn; - long unsigned int caller; void *arg; - struct cpu_stop_done *done; -}; - -struct cpu_stopper { - struct task_struct *thread; - raw_spinlock_t lock; - bool enabled; - struct list_head works; - struct cpu_stop_work stop_work; - long unsigned int caller; - cpu_stop_fn_t fn; }; struct cpu_vfs_cap_data { @@ -28192,21 +29762,6 @@ struct cpu_vfs_cap_data { kernel_cap_t inheritable; }; -struct cpudl_item; - -struct cpudl { - raw_spinlock_t lock; - int size; - cpumask_var_t free_cpus; - struct cpudl_item *elements; -}; - -struct cpudl_item { - u64 dl; - int cpu; - int idx; -}; - struct cpufreq_cpuinfo { unsigned int max_freq; unsigned int min_freq; @@ -28316,18 +29871,6 @@ struct cpuhp_cpu_state { enum cpuhp_state state; enum cpuhp_state target; enum cpuhp_state fail; - struct task_struct *thread; - bool should_run; - bool rollback; - bool single; - bool bringup; - struct hlist_node *node; - struct hlist_node *last; - enum cpuhp_state cb_state; - int result; - atomic_t ap_sync_state; - struct completion done_up; - struct completion done_down; }; struct cpuhp_step { @@ -28389,7 +29932,7 @@ struct cpuidle_state { int power_usage; unsigned int target_residency; int (*enter)(struct cpuidle_device *, struct cpuidle_driver *, int); - int (*enter_dead)(struct cpuidle_device *, int); + void (*enter_dead)(struct cpuidle_device *, int); int (*enter_s2idle)(struct cpuidle_device *, struct cpuidle_driver *, int); }; @@ -28425,6 +29968,7 @@ struct cpuinfo_loongarch { int global_id; int vabits; int pabits; + int timerbits; unsigned int ksave_mask; unsigned int watch_dreg_count; unsigned int watch_ireg_count; @@ -28433,28 +29977,23 @@ struct cpuinfo_loongarch { long: 64; long: 64; long: 64; - long: 64; -}; - -union cpumask_rcuhead { - cpumask_t cpumask; - struct callback_head rcu; }; -struct cpupri_vec { - atomic_t count; - cpumask_var_t mask; -}; - -struct cpupri { - struct cpupri_vec pri_to_cpu[101]; - int *cpu_to_pri; +struct cpumap { + unsigned int available; + unsigned int allocated; + unsigned int managed; + unsigned int managed_allocated; + bool initialized; + bool online; + long unsigned int *managed_map; + long unsigned int alloc_map[0]; }; struct group_info; struct cred { - atomic_t usage; + atomic_long_t usage; kuid_t uid; kgid_t gid; kuid_t suid; @@ -28485,6 +30024,21 @@ struct crng { local_lock_t lock; }; +struct crs_csi2 { + struct list_head entry; + acpi_handle handle; + struct acpi_device_software_nodes *swnodes; + struct list_head connections; + u32 port_count; +}; + +struct crs_csi2_connection { + struct list_head entry; + struct acpi_resource_csi2_serialbus csi2_data; + acpi_handle remote_handle; + char remote_name[0]; +}; + struct crypto_alg; struct crypto_tfm { @@ -28531,6 +30085,11 @@ struct crypto_wait { int err; }; +struct csi2_resources_walk_data { + acpi_handle handle; + struct list_head connections; +}; + struct css_set__safe_rcu { struct cgroup *dfl_cgrp; }; @@ -28553,7 +30112,7 @@ struct ctl_node; struct ctl_table_header { union { struct { - struct ctl_table *ctl_table; + const struct ctl_table *ctl_table; int ctl_table_size; int used; int count; @@ -28562,12 +30121,16 @@ struct ctl_table_header { struct callback_head rcu; }; struct completion *unregistering; - struct ctl_table *ctl_table_arg; + const struct ctl_table *ctl_table_arg; struct ctl_table_root *root; struct ctl_table_set *set; struct ctl_dir *parent; struct ctl_node *node; struct hlist_head inodes; + enum { + SYSCTL_TABLE_TYPE_DEFAULT = 0, + SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY = 1, + } type; }; struct ctl_dir { @@ -28580,7 +30143,7 @@ struct ctl_node { struct ctl_table_header *header; }; -typedef int proc_handler(struct ctl_table *, int, void *, size_t *, loff_t *); +typedef int proc_handler(const struct ctl_table *, int, void *, size_t *, loff_t *); struct ctl_table_poll; @@ -28589,10 +30152,6 @@ struct ctl_table { void *data; int maxlen; umode_t mode; - enum { - SYSCTL_TABLE_TYPE_DEFAULT = 0, - SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY = 1, - } type; proc_handler *proc_handler; struct ctl_table_poll *poll; void *extra1; @@ -28612,8 +30171,8 @@ struct ctl_table_set { struct ctl_table_root { struct ctl_table_set default_set; struct ctl_table_set * (*lookup)(struct ctl_table_root *); - void (*set_ownership)(struct ctl_table_header *, struct ctl_table *, kuid_t *, kgid_t *); - int (*permissions)(struct ctl_table_header *, struct ctl_table *); + void (*set_ownership)(struct ctl_table_header *, kuid_t *, kgid_t *); + int (*permissions)(struct ctl_table_header *, const struct ctl_table *); }; struct netlink_policy_dump_state; @@ -28643,11 +30202,6 @@ struct ctx_switch_entry { unsigned char next_state; }; -struct cwt_wait { - wait_queue_entry_t wait; - struct work_struct *work; -}; - struct cyclecounter { u64 (*read)(const struct cyclecounter *); u64 mask; @@ -28665,8 +30219,6 @@ struct delayed_call { void *arg; }; -struct uprobe; - struct delayed_uprobe { struct list_head list; struct uprobe *uprobe; @@ -28689,9 +30241,13 @@ struct qstr { const unsigned char *name; }; +union shortname_store { + unsigned char string[40]; + long unsigned int words[5]; +}; + struct lockref { union { - __u64 lock_count; struct { spinlock_t lock; int count; @@ -28701,6 +30257,8 @@ struct lockref { struct dentry_operations; +struct super_block; + struct dentry { unsigned int d_flags; seqcount_spinlock_t d_seq; @@ -28708,18 +30266,18 @@ struct dentry { struct dentry *d_parent; struct qstr d_name; struct inode *d_inode; - unsigned char d_iname[32]; - struct lockref d_lockref; + union shortname_store d_shortname; const struct dentry_operations *d_op; struct super_block *d_sb; long unsigned int d_time; void *d_fsdata; + struct lockref d_lockref; union { struct list_head d_lru; wait_queue_head_t *d_wait; }; - struct list_head d_child; - struct list_head d_subdirs; + struct hlist_node d_sib; + struct hlist_head d_children; union { struct hlist_node d_alias; struct hlist_bl_node d_in_lookup_hash; @@ -28731,13 +30289,8 @@ struct dentry__safe_trusted { struct inode *d_inode; }; -struct dentry_list { - void *cursor; - struct dentry **dentries; -}; - struct dentry_operations { - int (*d_revalidate)(struct dentry *, unsigned int); + int (*d_revalidate)(struct inode *, const struct qstr *, struct dentry *, unsigned int); int (*d_weak_revalidate)(struct dentry *, unsigned int); int (*d_hash)(const struct dentry *, struct qstr *); int (*d_compare)(const struct dentry *, unsigned int, const char *, const struct qstr *); @@ -28749,9 +30302,9 @@ struct dentry_operations { char * (*d_dname)(struct dentry *, char *, int); struct vfsmount * (*d_automount)(struct path *); int (*d_manage)(const struct path *, bool); - struct dentry * (*d_real)(struct dentry *, const struct inode *); - long: 64; - long: 64; + struct dentry * (*d_real)(struct dentry *, enum d_real_type); + bool (*d_unalias_trylock)(const struct dentry *); + void (*d_unalias_unlock)(const struct dentry *); long: 64; }; @@ -28786,6 +30339,7 @@ struct vmem_altmap { long unsigned int free; long unsigned int align; long unsigned int alloc; + bool inaccessible; }; struct range { @@ -28855,6 +30409,7 @@ struct dev_pm_domain { int (*activate)(struct device *); void (*sync)(struct device *); void (*dismiss)(struct device *); + int (*set_performance_state)(struct device *, unsigned int); }; struct pm_qos_flags { @@ -28889,11 +30444,6 @@ struct dev_pm_qos_request { struct device *dev; }; -struct dev_printk_info { - char subsystem[16]; - char device[48]; -}; - struct device_attach_data { struct device *dev; bool check_async; @@ -28957,7 +30507,7 @@ struct device_private { struct klist_node knode_bus; struct klist_node knode_class; struct list_head deferred_probe; - struct device_driver *async_driver; + const struct device_driver *async_driver; char *deferred_probe_reason; struct device *device; u8 dead: 1; @@ -29054,6 +30604,7 @@ struct devlink_port { struct list_head reporter_list; struct devlink_rate *devlink_rate; struct devlink_linecard *linecard; + u32 rel_index; }; struct devlink_port_ops { @@ -29073,6 +30624,8 @@ struct devlink_port_ops { int (*port_fn_ipsec_crypto_set)(struct devlink_port *, bool, struct netlink_ext_ack *); int (*port_fn_ipsec_packet_get)(struct devlink_port *, bool *, struct netlink_ext_ack *); int (*port_fn_ipsec_packet_set)(struct devlink_port *, bool, struct netlink_ext_ack *); + int (*port_fn_max_io_eqs_get)(struct devlink_port *, u32 *, struct netlink_ext_ack *); + int (*port_fn_max_io_eqs_set)(struct devlink_port *, u32, struct netlink_ext_ack *); }; struct devlink_rate { @@ -29127,6 +30680,56 @@ struct die_args { int signr; }; +struct dim_stats { + int ppms; + int bpms; + int epms; + int cpms; + int cpe_ratio; +}; + +struct dim_sample { + ktime_t time; + u32 pkt_ctr; + u32 byte_ctr; + u16 event_ctr; + u32 comp_ctr; +}; + +struct dim { + u8 state; + struct dim_stats prev_stats; + struct dim_sample start_sample; + struct dim_sample measuring_sample; + struct work_struct work; + void *priv; + u8 profile_ix; + u8 mode; + u8 tune_state; + u8 steps_right; + u8 steps_left; + u8 tired; +}; + +struct dim_cq_moder { + u16 usec; + u16 pkts; + u16 comps; + u8 cq_period_mode; + struct callback_head rcu; +}; + +struct dim_irq_moder { + u8 profile_flags; + u8 coal_flags; + u8 dim_rx_mode; + u8 dim_tx_mode; + struct dim_cq_moder *rx_profile; + struct dim_cq_moder *tx_profile; + void (*rx_dim_work)(struct work_struct *); + void (*tx_dim_work)(struct work_struct *); +}; + struct dir_context; typedef bool (*filldir_t)(struct dir_context *, const char *, int, loff_t, u64, unsigned int); @@ -29147,6 +30750,8 @@ struct dirty_throttle_control { long unsigned int wb_thresh; long unsigned int wb_bg_thresh; long unsigned int pos_ratio; + bool freerun; + bool dirty_exceeded; }; struct dl_bw { @@ -29158,13 +30763,7 @@ struct dl_bw { struct dl_rq { struct rb_root_cached root; unsigned int dl_nr_running; - struct { - u64 curr; - u64 next; - } earliest_dl; - unsigned int dl_nr_migratory; - int overloaded; - struct rb_root_cached pushable_dl_tasks_root; + struct dl_bw dl_bw; u64 running_bw; u64 this_bw; u64 extra_bw; @@ -29197,13 +30796,10 @@ struct dma_devres { struct sg_table; struct dma_map_ops { - unsigned int flags; void * (*alloc)(struct device *, size_t, dma_addr_t *, gfp_t, long unsigned int); void (*free)(struct device *, size_t, void *, dma_addr_t, long unsigned int); - struct page * (*alloc_pages)(struct device *, size_t, dma_addr_t *, enum dma_data_direction, gfp_t); + struct page * (*alloc_pages_op)(struct device *, size_t, dma_addr_t *, enum dma_data_direction, gfp_t); void (*free_pages)(struct device *, size_t, struct page *, dma_addr_t, enum dma_data_direction); - struct sg_table * (*alloc_noncontiguous)(struct device *, size_t, enum dma_data_direction, gfp_t, long unsigned int); - void (*free_noncontiguous)(struct device *, size_t, struct sg_table *, enum dma_data_direction); int (*mmap)(struct device *, struct vm_area_struct *, void *, dma_addr_t, size_t, long unsigned int); int (*get_sgtable)(struct device *, struct sg_table *, void *, dma_addr_t, size_t, long unsigned int); dma_addr_t (*map_page)(struct device *, struct page *, long unsigned int, size_t, enum dma_data_direction, long unsigned int); @@ -29220,7 +30816,7 @@ struct dma_map_ops { int (*dma_supported)(struct device *, u64); u64 (*get_required_mask)(struct device *); size_t (*max_mapping_size)(struct device *); - size_t (*opt_mapping_size)(); + size_t (*opt_mapping_size)(void); long unsigned int (*get_merge_boundary)(struct device *); }; @@ -29245,15 +30841,17 @@ struct dma_pool { struct list_head pools; }; -struct sg_table { - struct scatterlist *sgl; - unsigned int nents; - unsigned int orig_nents; +struct dmabuf_cmsg { + __u64 frag_offset; + __u32 frag_size; + __u32 frag_token; + __u32 dmabuf_id; + __u32 flags; }; -struct dma_sgt_handle { - struct sg_table sgt; - struct page **pages; +struct dmabuf_token { + __u32 token_start; + __u32 token_count; }; struct dmi_header { @@ -29429,7 +31027,7 @@ struct dst_ops { u32 * (*cow_metrics)(struct dst_entry *, long unsigned int); void (*destroy)(struct dst_entry *); void (*ifdown)(struct dst_entry *, struct net_device *); - struct dst_entry * (*negative_advice)(struct dst_entry *); + void (*negative_advice)(struct sock *, struct dst_entry *); void (*link_failure)(struct sk_buff *); void (*update_pmtu)(struct dst_entry *, struct sock *, struct sk_buff *, u32, bool); void (*redirect)(struct dst_entry *, struct sock *, struct sk_buff *); @@ -29438,11 +31036,6 @@ struct dst_ops { void (*confirm_neigh)(const struct dst_entry *, const void *); struct kmem_cache *kmem_cachep; struct percpu_counter pcpuc_entries; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct dyn_arch_ftrace {}; @@ -29485,7 +31078,6 @@ struct seq_buf { char *buffer; size_t size; size_t len; - loff_t readpos; }; struct dynevent_cmd; @@ -29501,21 +31093,25 @@ struct dynevent_cmd { void *private_data; }; -struct ethtool_eee { - __u32 cmd; - __u32 supported; - __u32 advertised; - __u32 lp_advertised; - __u32 eee_active; - __u32 eee_enabled; - __u32 tx_lpi_enabled; - __u32 tx_lpi_timer; - __u32 reserved[2]; +struct eee_config { + u32 tx_lpi_timer; + bool tx_lpi_enabled; + bool eee_enabled; +}; + +struct ethtool_keee { + long unsigned int supported[2]; + long unsigned int advertised[2]; + long unsigned int lp_advertised[2]; + u32 tx_lpi_timer; + bool tx_lpi_enabled; + bool eee_active; + bool eee_enabled; }; struct eee_reply_data { struct ethnl_reply_data base; - struct ethtool_eee eee; + struct ethtool_keee eee; }; struct eeprom_reply_data { @@ -29528,6 +31124,7 @@ struct ethnl_req_info { struct net_device *dev; netdevice_tracker dev_tracker; u32 flags; + u32 phy_index; }; struct eeprom_req_info { @@ -29724,6 +31321,7 @@ struct eiointc_priv { cpumask_t cpuspan_map; struct fwnode_handle *domain_handle; struct irq_domain *eiointc_domain; + int flags; }; struct elf32_hdr { @@ -29832,22 +31430,6 @@ struct elf64_sym { typedef struct elf64_sym Elf64_Sym; -struct em_perf_state; - -struct em_perf_domain { - struct em_perf_state *table; - int nr_perf_states; - long unsigned int flags; - long unsigned int cpus[0]; -}; - -struct em_perf_state { - long unsigned int frequency; - long unsigned int power; - long unsigned int cost; - long unsigned int flags; -}; - struct trace_event_file; struct enable_trigger_data { @@ -29856,13 +31438,6 @@ struct enable_trigger_data { bool hist; }; -struct energy_env { - long unsigned int task_busy_time; - long unsigned int pd_busy_time; - long unsigned int cpu_cap; - long unsigned int pd_cap; -}; - struct entropy_timer_state { long unsigned int entropy; struct timer_list timer; @@ -29918,7 +31493,6 @@ struct esre_entry; struct esre_attribute { struct attribute attr; ssize_t (*show)(struct esre_entry *, char *); - ssize_t (*store)(struct esre_entry *, const char *, size_t); }; struct esre_entry { @@ -29944,6 +31518,20 @@ struct ethnl_dump_ctx { long unsigned int pos_ifindex; }; +struct ethnl_module_fw_flash_ntf_params { + u32 portid; + u32 seq; + bool closed_sock; +}; + +struct phy_req_info; + +struct ethnl_phy_dump_ctx { + struct phy_req_info *phy_req_info; + long unsigned int ifindex; + long unsigned int phy_index; +}; + struct genl_info; struct ethnl_request_ops { @@ -29963,6 +31551,25 @@ struct ethnl_request_ops { int (*set)(struct ethnl_req_info *, struct genl_info *); }; +struct ethnl_sock_priv { + struct net_device *dev; + u32 portid; + enum ethnl_sock_type type; +}; + +struct tsinfo_req_info; + +struct tsinfo_reply_data; + +struct ethnl_tsinfo_dump_ctx { + struct tsinfo_req_info *req_info; + struct tsinfo_reply_data *reply_data; + long unsigned int pos_ifindex; + bool netdev_dump_done; + long unsigned int pos_phyindex; + enum hwtstamp_provider_qualifier pos_phcqualifier; +}; + struct ethnl_tunnel_info_dump_ctx { struct ethnl_req_info req_info; long unsigned int ifindex; @@ -29982,6 +31589,25 @@ struct ethtool_ah_espip6_spec { __u8 tclass; }; +struct ethtool_c33_pse_ext_state_info { + enum ethtool_c33_pse_ext_state c33_pse_ext_state; + union { + enum ethtool_c33_pse_ext_substate_error_condition error_condition; + enum ethtool_c33_pse_ext_substate_mr_pse_enable mr_pse_enable; + enum ethtool_c33_pse_ext_substate_option_detect_ted option_detect_ted; + enum ethtool_c33_pse_ext_substate_option_vport_lim option_vport_lim; + enum ethtool_c33_pse_ext_substate_ovld_detected ovld_detected; + enum ethtool_c33_pse_ext_substate_power_not_available power_not_available; + enum ethtool_c33_pse_ext_substate_short_detected short_detected; + u32 __c33_pse_ext_substate; + }; +}; + +struct ethtool_c33_pse_pw_limit_range { + u32 min; + u32 max; +}; + struct ethtool_cmd { __u32 cmd; __u32 supported; @@ -30002,6 +31628,69 @@ struct ethtool_cmd { __u32 reserved[2]; }; +struct ethtool_cmis_cdb { + u8 cmis_rev; + u8 read_write_len_ext; + u16 max_completion_time; +}; + +struct ethtool_cmis_cdb_request { + __be16 id; + union { + struct { + __be16 epl_len; + u8 lpl_len; + u8 chk_code; + u8 resv1; + u8 resv2; + u8 payload[120]; + }; + struct { + __be16 epl_len; + u8 lpl_len; + u8 chk_code; + u8 resv1; + u8 resv2; + u8 payload[120]; + } body; + }; + u8 *epl; +}; + +struct ethtool_cmis_cdb_cmd_args { + struct ethtool_cmis_cdb_request req; + u16 max_duration; + u8 read_write_len_ext; + u8 msleep_pre_rpl; + u8 rpl_exp_len; + u8 flags; + char *err_msg; +}; + +struct ethtool_cmis_cdb_rpl_hdr { + u8 rpl_len; + u8 rpl_chk_code; +}; + +struct ethtool_cmis_cdb_rpl { + struct ethtool_cmis_cdb_rpl_hdr hdr; + u8 payload[120]; +}; + +struct ethtool_module_fw_flash_params { + __be32 password; + u8 password_valid: 1; +}; + +struct firmware; + +struct ethtool_cmis_fw_update_params { + struct net_device *dev; + struct ethtool_module_fw_flash_params params; + struct ethnl_module_fw_flash_ntf_params ntf_params; + const struct firmware *fw; +}; + struct ethtool_flash { __u32 cmd; __u32 region; @@ -30039,6 +31728,18 @@ struct ethtool_dump { __u8 data[0]; }; +struct ethtool_eee { + __u32 cmd; + __u32 supported; + __u32 advertised; + __u32 lp_advertised; + __u32 eee_active; + __u32 eee_enabled; + __u32 tx_lpi_enabled; + __u32 tx_lpi_timer; + __u32 reserved[2]; +}; + struct ethtool_eeprom { __u32 cmd; __u32 magic; @@ -30205,6 +31906,13 @@ union ethtool_flow_union { __u8 hdata[52]; }; +struct ethtool_forced_speed_map { + u32 speed; + long unsigned int caps[2]; + const u32 *cap_arr; + u32 arr_size; +}; + struct ethtool_get_features_block { __u32 available; __u32 requested; @@ -30258,7 +31966,6 @@ struct ethtool_link_settings { __u8 master_slave_state; __u8 rate_matching; __u32 reserved[7]; - __u32 link_mode_masks[0]; }; struct ethtool_link_ksettings { @@ -30325,11 +32032,25 @@ struct ethtool_module_eeprom { u8 *data; }; +struct ethtool_module_fw_flash { + struct list_head list; + netdevice_tracker dev_tracker; + struct work_struct work; + struct ethtool_cmis_fw_update_params fw_update; +}; + struct ethtool_module_power_mode_params { enum ethtool_module_power_mode_policy policy; enum ethtool_module_power_mode mode; }; +struct ethtool_netdev_state { + struct xarray rss_ctx; + struct mutex rss_lock; + unsigned int wol_enabled: 1; + unsigned int module_fw_flash_in_progress: 1; +}; + struct ethtool_regs; struct ethtool_wolinfo; @@ -30348,7 +32069,13 @@ struct ethtool_stats; struct ethtool_rxnfc; -struct ethtool_ts_info; +struct ethtool_rxfh_param; + +struct ethtool_rxfh_context; + +struct kernel_ethtool_ts_info; + +struct ethtool_ts_stats; struct ethtool_tunable; @@ -30358,8 +32085,17 @@ struct ethtool_rmon_hist_range; struct ethtool_ops { u32 cap_link_lanes_supported: 1; + u32 cap_rss_ctx_supported: 1; + u32 cap_rss_sym_xor_supported: 1; + u32 rxfh_per_ctx_key: 1; + u32 cap_rss_rxnfc_adds: 1; + u32 rxfh_indir_space; + u16 rxfh_key_space; + u16 rxfh_priv_size; + u32 rxfh_max_num_contexts; u32 supported_coalesce_params; u32 supported_ring_params; + u32 supported_hwtstamp_qualifiers; void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *); int (*get_regs_len)(struct net_device *); void (*get_regs)(struct net_device *, struct ethtool_regs *, void *); @@ -30396,20 +32132,22 @@ struct ethtool_ops { int (*reset)(struct net_device *, u32 *); u32 (*get_rxfh_key_size)(struct net_device *); u32 (*get_rxfh_indir_size)(struct net_device *); - int (*get_rxfh)(struct net_device *, u32 *, u8 *, u8 *); - int (*set_rxfh)(struct net_device *, const u32 *, const u8 *, const u8); - int (*get_rxfh_context)(struct net_device *, u32 *, u8 *, u8 *, u32); - int (*set_rxfh_context)(struct net_device *, const u32 *, const u8 *, const u8, u32 *, bool); + int (*get_rxfh)(struct net_device *, struct ethtool_rxfh_param *); + int (*set_rxfh)(struct net_device *, struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*create_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, const struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*modify_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, const struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*remove_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, u32, struct netlink_ext_ack *); void (*get_channels)(struct net_device *, struct ethtool_channels *); int (*set_channels)(struct net_device *, struct ethtool_channels *); int (*get_dump_flag)(struct net_device *, struct ethtool_dump *); int (*get_dump_data)(struct net_device *, struct ethtool_dump *, void *); int (*set_dump)(struct net_device *, struct ethtool_dump *); - int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *); + int (*get_ts_info)(struct net_device *, struct kernel_ethtool_ts_info *); + void (*get_ts_stats)(struct net_device *, struct ethtool_ts_stats *); int (*get_module_info)(struct net_device *, struct ethtool_modinfo *); int (*get_module_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *); - int (*get_eee)(struct net_device *, struct ethtool_eee *); - int (*set_eee)(struct net_device *, struct ethtool_eee *); + int (*get_eee)(struct net_device *, struct ethtool_keee *); + int (*set_eee)(struct net_device *, struct ethtool_keee *); int (*get_tunable)(struct net_device *, const struct ethtool_tunable *, void *); int (*set_tunable)(struct net_device *, const struct ethtool_tunable *, const void *); int (*get_per_queue_coalesce)(struct net_device *, u32, struct ethtool_coalesce *); @@ -30423,6 +32161,7 @@ struct ethtool_ops { int (*get_phy_tunable)(struct net_device *, const struct ethtool_tunable *, void *); int (*set_phy_tunable)(struct net_device *, const struct ethtool_tunable *, const void *); int (*get_module_eeprom_by_page)(struct net_device *, const struct ethtool_module_eeprom *, struct netlink_ext_ack *); + int (*set_module_eeprom_by_page)(struct net_device *, const struct ethtool_module_eeprom *, struct netlink_ext_ack *); void (*get_eth_phy_stats)(struct net_device *, struct ethtool_eth_phy_stats *); void (*get_eth_mac_stats)(struct net_device *, struct ethtool_eth_mac_stats *); void (*get_eth_ctrl_stats)(struct net_device *, struct ethtool_eth_ctrl_stats *); @@ -30487,6 +32226,28 @@ struct ethtool_phy_ops { int (*start_cable_test_tdr)(struct phy_device *, struct netlink_ext_ack *, const struct phy_tdr_config *); }; +struct ethtool_phy_stats { + u64 rx_packets; + u64 rx_bytes; + u64 rx_errors; + u64 tx_packets; + u64 tx_bytes; + u64 tx_errors; +}; + +struct ethtool_pse_control_status { + enum ethtool_podl_pse_admin_state podl_admin_state; + enum ethtool_podl_pse_pw_d_status podl_pw_status; + enum ethtool_c33_pse_admin_state c33_admin_state; + enum ethtool_c33_pse_pw_d_status c33_pw_status; + u32 c33_pw_class; + u32 c33_actual_pw; + struct ethtool_c33_pse_ext_state_info c33_ext_state_info; + u32 c33_avail_pw_limit; + struct ethtool_c33_pse_pw_limit_range *c33_pw_limit_ranges; + u32 c33_pw_limit_nb_ranges; +}; + struct ethtool_regs { __u32 cmd; __u32 version; @@ -30634,11 +32395,36 @@ struct ethtool_rxfh { __u32 indir_size; __u32 key_size; __u8 hfunc; - __u8 rsvd8[3]; + __u8 input_xfrm; + __u8 rsvd8[2]; __u32 rsvd32; __u32 rss_config[0]; }; +struct ethtool_rxfh_context { + u32 indir_size; + u32 key_size; + u16 priv_size; + u8 hfunc; + u8 input_xfrm; + u8 indir_configured: 1; + u8 key_configured: 1; + u32 key_off; + long: 0; + u8 data[0]; +}; + +struct ethtool_rxfh_param { + u8 hfunc; + u32 indir_size; + u32 *indir; + u32 key_size; + u8 *key; + u32 rss_context; + u8 rss_delete; + u8 input_xfrm; +}; + struct ethtool_rxnfc { __u32 cmd; __u32 flow_type; @@ -30693,6 +32479,23 @@ struct ethtool_ts_info { __u32 rx_reserved[3]; }; +struct ethtool_ts_stats { + union { + struct { + u64 pkts; + u64 onestep_pkts_unconfirmed; + u64 lost; + u64 err; + }; + struct { + u64 pkts; + u64 onestep_pkts_unconfirmed; + u64 lost; + u64 err; + } tx_stats; + }; +}; + struct ethtool_tunable { __u32 cmd; __u32 id; @@ -30759,6 +32562,14 @@ struct event_function_struct { void *data; }; +struct event_mod_load { + struct list_head list; + char *module; + char *match; + char *system; + char *event; +}; + struct event_probe_data { struct trace_event_file *file; long unsigned int count; @@ -30799,29 +32610,43 @@ struct event_trigger_ops { int (*print)(struct seq_file *, struct event_trigger_data *); }; -struct eventfs_inode; +struct eventfs_attr { + int mode; + kuid_t uid; + kgid_t gid; +}; + +typedef int (*eventfs_callback)(const char *, umode_t *, void **, const struct file_operations **); -struct inode_operations; +typedef void (*eventfs_release)(const char *, void *); -struct eventfs_file { +struct eventfs_entry { const char *name; - struct dentry *d_parent; - struct dentry *dentry; - struct list_head list; - struct eventfs_inode *ei; - const struct file_operations *fop; - const struct inode_operations *iop; + eventfs_callback callback; + eventfs_release release; +}; + +struct eventfs_inode { union { - struct list_head del_list; + struct list_head list; struct callback_head rcu; - long unsigned int is_freed; }; + struct list_head children; + const struct eventfs_entry *entries; + const char *name; + struct eventfs_attr *entry_attrs; void *data; - umode_t mode; + struct eventfs_attr attr; + struct kref kref; + unsigned int is_freed: 1; + unsigned int is_events: 1; + unsigned int nr_entries: 30; + unsigned int ino; }; -struct eventfs_inode { - struct list_head e_top_files; +struct eventfs_root_inode { + struct eventfs_inode ei; + struct dentry *events_dir; }; struct exception_table_entry { @@ -30831,6 +32656,20 @@ struct exception_table_entry { short int data; }; +struct execmem_range { + long unsigned int start; + long unsigned int end; + long unsigned int fallback_start; + long unsigned int fallback_end; + pgprot_t pgprot; + unsigned int alignment; + enum execmem_range_flags flags; +}; + +struct execmem_info { + struct execmem_range ranges[5]; +}; + struct execute_work { struct work_struct work; }; @@ -30841,6 +32680,8 @@ struct fid; struct iattr; +struct handle_to_path_ctx; + struct export_operations { int (*encode_fh)(struct inode *, __u32 *, int *, struct inode *); struct dentry * (*fh_to_dentry)(struct super_block *, struct fid *, int, int); @@ -30851,6 +32692,8 @@ struct export_operations { int (*get_uuid)(struct super_block *, u8 *, u32 *, u64 *); int (*map_blocks)(struct inode *, loff_t, u64, struct iomap *, bool, u32 *); int (*commit_blocks)(struct inode *, struct iomap *, int, struct iattr *); + int (*permission)(struct handle_to_path_ctx *, unsigned int); + struct file * (*open)(struct path *, unsigned int); long unsigned int flags; }; @@ -30865,10 +32708,8 @@ struct extctx_layout { }; struct external_name { - union { - atomic_t count; - struct callback_head head; - } u; + atomic_t count; + struct callback_head head; unsigned char name[0]; }; @@ -30906,6 +32747,20 @@ struct fasync_struct { struct callback_head fa_rcu; }; +struct faux_device { + struct device dev; +}; + +struct faux_device_ops { + int (*probe)(struct faux_device *); + void (*remove)(struct faux_device *); +}; + +struct faux_object { + struct faux_device faux_dev; + const struct faux_device_ops *faux_ops; +}; + struct fc_log { refcount_t usage; u8 head; @@ -30916,8 +32771,18 @@ struct fc_log { }; struct fd { - struct file *file; - unsigned int flags; + long unsigned int word; +}; + +typedef struct fd class_fd_pos_t; + +typedef struct fd class_fd_raw_t; + +typedef struct fd class_fd_t; + +struct fd_range { + unsigned int from; + unsigned int to; }; struct fdt_errtabent { @@ -31052,37 +32917,75 @@ struct ftrace_graph_ret { long unsigned int func; int depth; unsigned int overrun; - long long unsigned int calltime; - long long unsigned int rettime; }; struct ftrace_graph_ret_entry { struct trace_entry ent; struct ftrace_graph_ret ret; + long long unsigned int calltime; + long long unsigned int rettime; }; struct fgraph_data { struct fgraph_cpu_data *cpu_data; - struct ftrace_graph_ent_entry ent; + union { + struct ftrace_graph_ent_entry ent; + struct ftrace_graph_ent_entry rent; + } ent; struct ftrace_graph_ret_entry ret; int failed; int cpu; long: 0; } __attribute__((packed)); -typedef int (*trace_func_graph_ent_t)(struct ftrace_graph_ent *); +struct fgraph_ops; + +typedef int (*trace_func_graph_ent_t)(struct ftrace_graph_ent *, struct fgraph_ops *, struct ftrace_regs *); + +typedef void (*trace_func_graph_ret_t)(struct ftrace_graph_ret *, struct fgraph_ops *, struct ftrace_regs *); + +typedef void (*ftrace_func_t)(long unsigned int, long unsigned int, struct ftrace_ops *, struct ftrace_regs *); + +struct ftrace_hash; + +struct ftrace_ops_hash { + struct ftrace_hash *notrace_hash; + struct ftrace_hash *filter_hash; + struct mutex regex_lock; +}; + +typedef int (*ftrace_ops_func_t)(struct ftrace_ops *, enum ftrace_ops_cmd); -typedef void (*trace_func_graph_ret_t)(struct ftrace_graph_ret *); +struct ftrace_ops { + ftrace_func_t func; + struct ftrace_ops *next; + long unsigned int flags; + void *private; + ftrace_func_t saved_func; + struct ftrace_ops_hash local_hash; + struct ftrace_ops_hash *func_hash; + struct ftrace_ops_hash old_hash; + long unsigned int trampoline; + long unsigned int trampoline_size; + struct list_head list; + struct list_head subop_list; + ftrace_ops_func_t ops_func; + struct ftrace_ops *managed; + long unsigned int direct_call; +}; struct fgraph_ops { trace_func_graph_ent_t entryfunc; trace_func_graph_ret_t retfunc; + struct ftrace_ops ops; + void *private; + trace_func_graph_ent_t saved_func; + int idx; }; -struct fgraph_ret_regs { - long unsigned int regs[2]; - long unsigned int fp; - long unsigned int __unused; +struct fgraph_times { + long long unsigned int calltime; + long long unsigned int sleeptime; }; struct fib6_node; @@ -31401,6 +33304,7 @@ struct fib_dump_filter { bool filter_set; bool dump_routes; bool dump_exceptions; + bool rtnl_held; unsigned char protocol; unsigned char rt_type; unsigned int flags; @@ -31477,7 +33381,7 @@ struct fib_notifier_net { struct fib_notifier_ops { int family; struct list_head list; - unsigned int (*fib_seq_read)(struct net *); + unsigned int (*fib_seq_read)(const struct net *); int (*fib_dump)(struct net *, struct notifier_block *, struct netlink_ext_ack *); struct module *owner; struct callback_head rcu; @@ -31497,6 +33401,7 @@ struct fib_result { unsigned char type; unsigned char scope; u32 tclassid; + dscp_t dscp; struct fib_nh_common *nhc; struct fib_info *fi; struct fib_table *table; @@ -31547,6 +33452,10 @@ struct fid { u32 parent_ino; u32 parent_gen; } i32; + struct { + u64 ino; + u32 gen; + } __attribute__((packed)) i64; struct { u32 block; u16 partref; @@ -31624,6 +33533,31 @@ struct file_handle { typedef void *fl_owner_t; +struct file_lock_core { + struct file_lock_core *flc_blocker; + struct list_head flc_list; + struct hlist_node flc_link; + struct list_head flc_blocked_requests; + struct list_head flc_blocked_member; + fl_owner_t flc_owner; + unsigned int flc_flags; + unsigned char flc_type; + pid_t flc_pid; + int flc_link_cpu; + wait_queue_head_t flc_wait; + struct file *flc_file; +}; + +struct lease_manager_operations; + +struct file_lease { + struct file_lock_core c; + struct fasync_struct *fl_fasync; + long unsigned int fl_break_time; + long unsigned int fl_downgrade_time; + const struct lease_manager_operations *fl_lmops; +}; + struct nlm_lockowner; struct nfs_lock_info { @@ -31643,23 +33577,9 @@ struct file_lock_operations; struct lock_manager_operations; struct file_lock { - struct file_lock *fl_blocker; - struct list_head fl_list; - struct hlist_node fl_link; - struct list_head fl_blocked_requests; - struct list_head fl_blocked_member; - fl_owner_t fl_owner; - unsigned int fl_flags; - unsigned char fl_type; - unsigned int fl_pid; - int fl_link_cpu; - wait_queue_head_t fl_wait; - struct file *fl_file; + struct file_lock_core c; loff_t fl_start; loff_t fl_end; - struct fasync_struct *fl_fasync; - long unsigned int fl_break_time; - long unsigned int fl_downgrade_time; const struct file_lock_operations *fl_ops; const struct lock_manager_operations *fl_lmops; union { @@ -31688,12 +33608,13 @@ struct file_lock_operations { void (*fl_release_private)(struct file_lock *); }; -struct pipe_inode_info; - struct io_uring_cmd; +struct pipe_inode_info; + struct file_operations { struct module *owner; + fop_flags_t fop_flags; loff_t (*llseek)(struct file *, loff_t, int); ssize_t (*read)(struct file *, char *, size_t, loff_t *); ssize_t (*write)(struct file *, const char *, size_t, loff_t *); @@ -31705,7 +33626,6 @@ struct file_operations { long int (*unlocked_ioctl)(struct file *, unsigned int, long unsigned int); long int (*compat_ioctl)(struct file *, unsigned int, long unsigned int); int (*mmap)(struct file *, struct vm_area_struct *); - long unsigned int mmap_supported_flags; int (*open)(struct inode *, struct file *); int (*flush)(struct file *, fl_owner_t); int (*release)(struct inode *, struct file *); @@ -31718,7 +33638,7 @@ struct file_operations { ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int); ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int); void (*splice_eof)(struct file *); - int (*setlease)(struct file *, int, struct file_lock **, void **); + int (*setlease)(struct file *, int, struct file_lease **, void **); long int (*fallocate)(struct file *, int, loff_t, loff_t); void (*show_fdinfo)(struct seq_file *, struct file *); ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t, size_t, unsigned int); @@ -31785,20 +33705,12 @@ struct files_struct { wait_queue_head_t resize_wait; struct fdtable *fdt; struct fdtable fdtab; - long: 64; - long: 64; - long: 64; - long: 64; spinlock_t file_lock; unsigned int next_fd; long unsigned int close_on_exec_init[1]; long unsigned int open_fds_init[1]; long unsigned int full_fds_bits_init[1]; struct file *fd_array[64]; - long: 64; - long: 64; - long: 64; - long: 64; }; struct filter_list { @@ -31806,6 +33718,14 @@ struct filter_list { struct event_filter *filter; }; +struct filter_match_data { + const char *filter; + const char *notfilter; + size_t index; + size_t size; + long unsigned int *addrs; +}; + struct filter_parse_error { int lasterr; int lasterr_pos; @@ -31843,11 +33763,17 @@ struct find_symbol_arg { bool gplok; bool warn; struct module *owner; - const s32 *crc; + const u32 *crc; const struct kernel_symbol *sym; enum mod_license license; }; +struct firmware { + size_t size; + const u8 *data; + void *priv; +}; + struct flock { short int l_type; short int l_whence; @@ -32070,7 +33996,7 @@ struct flow_dissector_key_ct { struct flow_dissector_key_enc_opts { u8 data[255]; u8 len; - __be16 dst_opt_type; + u32 dst_opt_type; }; struct flow_dissector_key_hash { @@ -32331,8 +34257,8 @@ struct flowi_common { __u8 flowic_flags; __u32 flowic_secid; kuid_t flowic_uid; - struct flowi_tunnel flowic_tun_key; __u32 flowic_multipath_hash; + struct flowi_tunnel flowic_tun_key; }; union flowi_uli { @@ -32374,10 +34300,15 @@ struct flowi { } u; }; -struct flush_tlb_data { - struct vm_area_struct *vma; - long unsigned int addr1; - long unsigned int addr2; +struct flush_backlogs { + cpumask_t flush_cpus; + struct work_struct w[0]; +}; + +struct fmt { + const char *str; + unsigned char state; + unsigned char size; }; struct fnhe_hash_bucket { @@ -32411,10 +34342,7 @@ struct page { struct page_pool *pp; long unsigned int _pp_mapping_pad; long unsigned int dma_addr; - union { - long unsigned int dma_addr_upper; - atomic_long_t pp_frag_count; - }; + atomic_long_t pp_ref_count; }; struct { long unsigned int compound_head; @@ -32426,8 +34354,8 @@ struct page { struct callback_head callback_head; }; union { - atomic_t _mapcount; unsigned int page_type; + atomic_t _mapcount; }; atomic_t _refcount; }; @@ -32458,7 +34386,7 @@ struct folio { struct { long unsigned int _flags_1; long unsigned int _head_1; - long unsigned int _folio_avail; + atomic_t _large_mapcount; atomic_t _entire_mapcount; atomic_t _nr_pages_mapped; atomic_t _pincount; @@ -32484,6 +34412,18 @@ struct folio { }; }; +struct folio_queue { + struct folio_batch vec; + u8 orders[31]; + struct folio_queue *next; + struct folio_queue *prev; + long unsigned int marks; + long unsigned int marks2; + long unsigned int marks3; + unsigned int rreq_id; + unsigned int debug_id; +}; + struct mem_cgroup; struct folio_referenced_arg { @@ -32493,32 +34433,70 @@ struct folio_referenced_arg { struct mem_cgroup *memcg; }; +struct folio_walk { + struct page *page; + enum folio_walk_level level; + union { + pte_t *ptep; + pud_t *pudp; + pmd_t *pmdp; + }; + union { + pte_t pte; + pud_t pud; + pmd_t pmd; + }; + struct vm_area_struct *vma; + spinlock_t *ptl; +}; + struct follow_page_context { struct dev_pagemap *pgmap; unsigned int page_mask; }; -struct freelist_node { - atomic_t refs; - struct freelist_node *next; +struct follow_pfnmap_args { + struct vm_area_struct *vma; + long unsigned int address; + spinlock_t *lock; + pte_t *ptep; + long unsigned int pfn; + pgprot_t pgprot; + bool writable; + bool special; }; -struct rethook_node { - union { - struct freelist_node freelist; - struct callback_head rcu; - }; - struct llist_node llist; - struct rethook *rethook; - long unsigned int ret_addr; - long unsigned int frame; +struct format_state___2 { + unsigned char state; + unsigned char size; + unsigned char flags_or_double_size; + unsigned char base; }; -struct fprobe_rethook_node { - struct rethook_node node; - long unsigned int entry_ip; - long unsigned int entry_parent_ip; - char data[0]; +struct pid; + +struct fown_struct { + struct file *file; + rwlock_t lock; + struct pid *pid; + enum pid_type pid_type; + kuid_t uid; + kuid_t euid; + int signum; +}; + +struct fprobe_hlist_node { + struct hlist_node hlist; + long unsigned int addr; + struct fprobe *fp; +}; + +struct fprobe_hlist { + struct hlist_node hlist; + struct callback_head rcu; + struct fprobe *fp; + int size; + struct fprobe_hlist_node array[0]; }; struct fprop_global { @@ -32527,12 +34505,6 @@ struct fprop_global { seqcount_t sequence; }; -struct fprop_local_single { - long unsigned int events; - unsigned int period; - raw_spinlock_t lock; -}; - struct fpu_context { __u64 regs[32]; __u64 fcc; @@ -32587,21 +34559,10 @@ struct fqdir { struct inet_frags *f; struct net *net; bool dead; - long: 64; - long: 64; struct rhashtable rhashtable; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; atomic_long_t mem; struct work_struct destroy_work; struct llist_node free_list; - long: 64; - long: 64; }; struct frag_hdr { @@ -32643,7 +34604,7 @@ struct inet_frag_queue { ktime_t stamp; int len; int meat; - u8 mono_delivery_time; + u8 tstamp_type; __u8 flags; u16 max_size; struct fqdir *fqdir; @@ -32657,15 +34618,30 @@ struct frag_queue { u8 ecn; }; +struct freader { + void *buf; + u32 buf_sz; + int err; + union { + struct { + struct file *file; + struct folio *folio; + void *addr; + loff_t folio_off; + bool may_fault; + }; + struct { + const char *data; + u64 data_sz; + }; + }; +}; + struct free_area { struct list_head free_list[4]; long unsigned int nr_free; }; -struct freelist_head { - struct freelist_node *head; -}; - struct p_log { const char *prefix; struct fc_log *log; @@ -32741,6 +34717,8 @@ struct fs_parse_result { int int_32; unsigned int uint_32; u64 uint_64; + kuid_t uid; + kgid_t gid; }; }; @@ -32762,6 +34740,33 @@ struct fs_struct { struct path pwd; }; +struct fs_sysfs_path { + __u8 len; + __u8 name[128]; +}; + +struct fsnotify_mark_connector { + spinlock_t lock; + unsigned char type; + unsigned char prio; + short unsigned int flags; + union { + void *obj; + struct fsnotify_mark_connector *destroy_next; + }; + struct hlist_head list; +}; + +struct fsnotify_sb_info { + struct fsnotify_mark_connector *sb_marks; + atomic_long_t watched_objects[3]; +}; + +struct fsuuid2 { + __u8 len; + __u8 uuid[16]; +}; + struct fsxattr { __u32 fsx_xflags; __u32 fsx_extsize; @@ -32772,8 +34777,9 @@ struct fsxattr { }; struct trace_seq { - char buffer[16384]; + char buffer[8156]; struct seq_buf seq; + size_t readpos; int full; }; @@ -32794,9 +34800,10 @@ struct trace_iterator { unsigned int temp_size; char *fmt; unsigned int fmt_size; - long int wait_index; + atomic_t wait_index; struct trace_seq tmp_seq; cpumask_var_t started; + bool closed; bool snapshot; struct trace_seq seq; struct trace_entry *ent; @@ -32813,6 +34820,7 @@ struct ftrace_buffer_info { struct trace_iterator iter; void *spare; unsigned int spare_cpu; + unsigned int spare_size; unsigned int read; }; @@ -32829,7 +34837,8 @@ struct ftrace_event_field { int filter_type; int offset; int size; - int is_signed; + unsigned int is_signed: 1; + unsigned int needs_test: 1; int len; }; @@ -32964,19 +34973,16 @@ struct ftrace_rec_iter { int index; }; -struct ftrace_regs { - struct pt_regs regs; -}; +struct ftrace_regs {}; struct ftrace_ret_stack { long unsigned int ret; long unsigned int func; - long long unsigned int calltime; long unsigned int *retp; }; struct ftrace_stack { - long unsigned int calls[4096]; + long unsigned int calls[1024]; }; struct ftrace_stacks { @@ -32998,6 +35004,11 @@ struct function_filter_data { int first_notrace; }; +union fw_table_header { + struct acpi_table_header acpi; + struct acpi_table_cdat cdat; +}; + union fwnet_hwaddr { u8 u[16]; struct { @@ -33032,6 +35043,7 @@ struct fwnode_operations { bool (*device_dma_supported)(const struct fwnode_handle *); enum dev_dma_attr (*device_get_dma_attr)(const struct fwnode_handle *); bool (*property_present)(const struct fwnode_handle *, const char *); + bool (*property_read_bool)(const struct fwnode_handle *, const char *); int (*property_read_int_array)(const struct fwnode_handle *, const char *, unsigned int, void *, size_t); int (*property_read_string_array)(const struct fwnode_handle *, const char *, const char **, size_t); const char * (*get_name)(const struct fwnode_handle *); @@ -33059,21 +35071,8 @@ struct pcpu_gen_cookie; struct gen_cookie { struct pcpu_gen_cookie *local; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; atomic64_t forward_last; atomic64_t reverse_last; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct disk_events; @@ -33158,7 +35157,10 @@ struct genl_info { struct genlmsghdr *genlhdr; struct nlattr **attrs; possible_net_t _net; - void *user_ptr[2]; + union { + u8 ctx[48]; + void *user_ptr[2]; + }; struct netlink_ext_ack *extack; }; @@ -33188,13 +35190,19 @@ struct genl_family { const struct nla_policy *policy; int (*pre_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); void (*post_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); + int (*bind)(int); + void (*unbind)(int); const struct genl_ops *ops; const struct genl_small_ops *small_ops; const struct genl_split_ops *split_ops; const struct genl_multicast_group *mcgrps; struct module *module; + size_t sock_priv_size; + void (*sock_priv_init)(void *); + void (*sock_priv_destroy)(void *); int id; unsigned int mcgrp_offset; + struct xarray *sock_privs; }; struct genl_multicast_group { @@ -33255,8 +35263,8 @@ struct genradix_iter { struct genradix_node { union { - struct genradix_node *children[2048]; - u8 data[16384]; + struct genradix_node *children[64]; + u8 data[512]; }; }; @@ -33331,23 +35339,17 @@ struct got_entry { Elf64_Addr symbol_addr; }; -struct gpio { - unsigned int gpio; - long unsigned int flags; - const char *label; -}; +struct gpio_device; struct gpio_array { struct gpio_desc **desc; unsigned int size; - struct gpio_chip *chip; + struct gpio_device *gdev; long unsigned int *get_mask; long unsigned int *set_mask; long unsigned int invert_mask[0]; }; -struct gpio_device; - struct of_phandle_args; struct gpio_chip { @@ -33382,19 +35384,38 @@ struct gpio_chip { int (*of_xlate)(struct gpio_chip *, const struct of_phandle_args *, u32 *); }; +struct gpio_chip_guard { + struct gpio_device *gdev; + struct gpio_chip *gc; + int idx; +}; + +typedef struct gpio_chip_guard class_gpio_chip_guard_t; + +struct gpio_desc_label; + struct gpio_desc { struct gpio_device *gdev; long unsigned int flags; - const char *label; + struct gpio_desc_label *label; const char *name; }; +struct gpio_desc_label { + struct callback_head rh; + char str[0]; +}; + struct gpio_descs { struct gpio_array *info; unsigned int ndescs; struct gpio_desc *desc[0]; }; +struct raw_notifier_head { + struct notifier_block *head; +}; + struct gpio_device { struct device dev; struct cdev chrdev; @@ -33403,14 +35424,18 @@ struct gpio_device { struct module *owner; struct gpio_chip *chip; struct gpio_desc *descs; - int base; + struct srcu_struct desc_srcu; + unsigned int base; u16 ngpio; + bool can_sleep; const char *label; void *data; struct list_head list; - struct blocking_notifier_head line_state_notifier; + struct raw_notifier_head line_state_notifier; + rwlock_t line_state_lock; + struct workqueue_struct *line_state_wq; struct blocking_notifier_head device_notifier; - struct rw_semaphore sem; + struct srcu_struct srcu; }; struct gpiod_hog { @@ -33454,11 +35479,13 @@ struct gro_list { int count; }; +struct napi_config; + struct napi_struct { struct list_head poll_list; long unsigned int state; int weight; - int defer_hard_irqs_count; + u32 defer_hard_irqs_count; long unsigned int gro_bitmask; int (*poll)(struct napi_struct *, int); int list_owner; @@ -33470,8 +35497,14 @@ struct napi_struct { unsigned int napi_id; struct hrtimer timer; struct task_struct *thread; + long unsigned int gro_flush_timeout; + long unsigned int irq_suspend_timeout; + u32 defer_hard_irqs; struct list_head dev_list; struct hlist_node napi_hash_node; + int irq; + int index; + struct napi_config *config; }; struct gro_cell { @@ -33503,7 +35536,7 @@ struct group_filter { }; struct group_info { - atomic_t usage; + refcount_t usage; int ngroups; kgid_t gid[0]; }; @@ -33519,6 +35552,12 @@ struct group_source_req { struct __kernel_sockaddr_storage gsr_source; }; +struct handle_to_path_ctx { + struct path root; + enum handle_to_path_flags flags; + unsigned int fh_flags; +}; + struct hh_cache; struct header_ops { @@ -33577,6 +35616,12 @@ struct hotplug_slot_ops { int (*reset_slot)(struct hotplug_slot *, bool); }; +struct hprobe { + enum hprobe_state state; + int srcu_idx; + struct uprobe *uprobe; +}; + struct hpx_type0 { u32 revision; u8 cache_line_size; @@ -33644,7 +35689,7 @@ struct hrtimer_clock_base { seqcount_raw_spinlock_t seq; struct hrtimer *running; struct timerqueue_head active; - ktime_t (*get_time)(); + ktime_t (*get_time)(void); ktime_t offset; }; @@ -33657,12 +35702,19 @@ struct hrtimer_cpu_base { unsigned int in_hrtirq: 1; unsigned int hang_detected: 1; unsigned int softirq_activated: 1; + unsigned int online: 1; ktime_t expires_next; struct hrtimer *next_timer; ktime_t softirq_expires_next; struct hrtimer *softirq_next_timer; long: 64; + long: 64; struct hrtimer_clock_base clock_base[8]; + call_single_data_t csd; + long: 64; + long: 64; + long: 64; + long: 64; }; struct hrtimer_sleeper { @@ -33736,6 +35788,10 @@ struct hw_perf_event { struct hw_perf_event_extra extra_reg; struct hw_perf_event_extra branch_reg; }; + struct { + u64 aux_config; + unsigned int aux_paused; + }; struct { struct hrtimer hrtimer; }; @@ -33807,6 +35863,18 @@ struct hwtstamp_config { int rx_filter; }; +struct hwtstamp_provider_desc { + int index; + enum hwtstamp_provider_qualifier qualifier; +}; + +struct hwtstamp_provider { + struct callback_head callback_head; + enum hwtstamp_source source; + struct phy_device *phydev; + struct hwtstamp_provider_desc desc; +}; + struct iattr { unsigned int ia_valid; umode_t ia_mode; @@ -34367,7 +36435,7 @@ struct in_device { }; struct in_ifaddr { - struct hlist_node hash; + struct hlist_node addr_lst; struct in_ifaddr *ifa_next; struct in_device *ifa_dev; struct callback_head callback_head; @@ -34413,9 +36481,14 @@ struct ipv6_stable_secret { }; struct ipv6_devconf { - __s32 forwarding; + __u8 __cacheline_group_begin__ipv6_devconf_read_txrx[0]; + __s32 disable_ipv6; __s32 hop_limit; __s32 mtu6; + __s32 forwarding; + __s32 disable_policy; + __s32 proxy_ndp; + __u8 __cacheline_group_end__ipv6_devconf_read_txrx[0]; __s32 accept_ra; __s32 accept_redirects; __s32 autoconf; @@ -34430,6 +36503,7 @@ struct ipv6_devconf { __s32 use_tempaddr; __s32 temp_valid_lft; __s32 temp_prefered_lft; + __s32 regen_min_advance; __s32 regen_max_retry; __s32 max_desync_factor; __s32 max_addresses; @@ -34439,10 +36513,8 @@ struct ipv6_devconf { __s32 accept_ra_min_lft; __s32 accept_ra_pinfo; __s32 ignore_routes_with_linkdown; - __s32 proxy_ndp; __s32 accept_source_route; __s32 accept_ra_from_local; - __s32 disable_ipv6; __s32 drop_unicast_in_l2_multicast; __s32 accept_dad; __s32 force_tllao; @@ -34457,13 +36529,14 @@ struct ipv6_devconf { __s32 seg6_enabled; __u32 enhanced_dad; __u32 addr_gen_mode; - __s32 disable_policy; __s32 ndisc_tclass; __s32 rpl_seg_enabled; __u32 ioam6_id; __u32 ioam6_id_wide; __u8 ioam6_enabled; __u8 ndisc_evict_nocarrier; + __u8 ra_honor_pio_life; + __u8 ra_honor_pio_pflag; struct ctl_table_header *sysctl_header; }; @@ -34527,6 +36600,7 @@ struct inet6_fill_args { int netnsid; int ifindex; enum addr_type_t type; + bool force_rt_scope_universe; }; struct inet6_ifaddr { @@ -34566,6 +36640,7 @@ struct inet6_protocol { int (*handler)(struct sk_buff *); int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int, __be32); unsigned int flags; + u32 secret; }; struct inet6_skb_parm { @@ -34585,14 +36660,11 @@ struct inet_bind2_bucket { possible_net_t ib_net; int l3mdev; short unsigned int port; - short unsigned int family; - union { - struct in6_addr v6_rcv_saddr; - __be32 rcv_saddr; - }; + short unsigned int addr_type; + struct in6_addr v6_rcv_saddr; struct hlist_node node; + struct hlist_node bhash_node; struct hlist_head owners; - struct hlist_head deathrow; }; struct inet_bind_bucket { @@ -34607,7 +36679,7 @@ struct inet_bind_bucket { short unsigned int fast_sk_family; bool fast_ipv6_only; struct hlist_node node; - struct hlist_head owners; + struct hlist_head bhash2; }; struct inet_bind_hashbucket { @@ -34665,7 +36737,6 @@ struct sock_common { struct hlist_nulls_node skc_nulls_node; }; short unsigned int skc_tx_queue_mapping; - short unsigned int skc_rx_queue_mapping; union { int skc_incoming_cpu; u32 skc_rcv_wnd; @@ -34698,12 +36769,9 @@ struct sock_reuseport; struct sock { struct sock_common __sk_common; - struct dst_entry *sk_rx_dst; - int sk_rx_dst_ifindex; - u32 sk_rx_dst_cookie; - socket_lock_t sk_lock; + __u8 __cacheline_group_begin__sock_write_rx[0]; atomic_t sk_drops; - int sk_rcvlowat; + __s32 sk_peek_off; struct sk_buff_head sk_error_queue; struct sk_buff_head sk_receive_queue; struct { @@ -34712,18 +36780,39 @@ struct sock { struct sk_buff *head; struct sk_buff *tail; } sk_backlog; - int sk_forward_alloc; - u32 sk_reserved_mem; + __u8 __cacheline_group_end__sock_write_rx[0]; + __u8 __cacheline_group_begin__sock_read_rx[0]; + struct dst_entry *sk_rx_dst; + int sk_rx_dst_ifindex; + u32 sk_rx_dst_cookie; unsigned int sk_ll_usec; unsigned int sk_napi_id; + u16 sk_busy_poll_budget; + u8 sk_prefer_busy_poll; + u8 sk_userlocks; int sk_rcvbuf; - int sk_disconnects; struct sk_filter *sk_filter; union { struct socket_wq *sk_wq; struct socket_wq *sk_wq_raw; }; - struct dst_entry *sk_dst_cache; + void (*sk_data_ready)(struct sock *); + long int sk_rcvtimeo; + int sk_rcvlowat; + __u8 __cacheline_group_end__sock_read_rx[0]; + __u8 __cacheline_group_begin__sock_read_rxtx[0]; + int sk_err; + struct socket *sk_socket; + struct mem_cgroup *sk_memcg; + __u8 __cacheline_group_end__sock_read_rxtx[0]; + __u8 __cacheline_group_begin__sock_write_rxtx[0]; + socket_lock_t sk_lock; + u32 sk_reserved_mem; + int sk_forward_alloc; + u32 sk_tsflags; + __u8 __cacheline_group_end__sock_write_rxtx[0]; + __u8 __cacheline_group_begin__sock_write_tx[0]; + int sk_write_pending; atomic_t sk_omem_alloc; int sk_sndbuf; int sk_wmem_queued; @@ -34734,63 +36823,57 @@ struct sock { struct rb_root tcp_rtx_queue; }; struct sk_buff_head sk_write_queue; - __s32 sk_peek_off; - int sk_write_pending; - __u32 sk_dst_pending_confirm; + u32 sk_dst_pending_confirm; u32 sk_pacing_status; - long int sk_sndtimeo; + struct page_frag sk_frag; struct timer_list sk_timer; - __u32 sk_priority; - __u32 sk_mark; long unsigned int sk_pacing_rate; + atomic_t sk_zckey; + atomic_t sk_tskey; + __u8 __cacheline_group_end__sock_write_tx[0]; + __u8 __cacheline_group_begin__sock_read_tx[0]; long unsigned int sk_max_pacing_rate; - struct page_frag sk_frag; + long int sk_sndtimeo; + u32 sk_priority; + u32 sk_mark; + struct dst_entry *sk_dst_cache; netdev_features_t sk_route_caps; - int sk_gso_type; + u16 sk_gso_type; + u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; - __u32 sk_txhash; + u32 sk_txhash; + u8 sk_pacing_shift; + bool sk_use_task_frag; + __u8 __cacheline_group_end__sock_read_tx[0]; u8 sk_gso_disabled: 1; u8 sk_kern_sock: 1; u8 sk_no_check_tx: 1; u8 sk_no_check_rx: 1; - u8 sk_userlocks: 4; - u8 sk_pacing_shift; + u8 sk_shutdown; u16 sk_type; u16 sk_protocol; - u16 sk_gso_max_segs; long unsigned int sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; - int sk_err; int sk_err_soft; u32 sk_ack_backlog; u32 sk_max_ack_backlog; kuid_t sk_uid; - u8 sk_txrehash; - u8 sk_prefer_busy_poll; - u16 sk_busy_poll_budget; spinlock_t sk_peer_lock; int sk_bind_phc; struct pid *sk_peer_pid; const struct cred *sk_peer_cred; - long int sk_rcvtimeo; ktime_t sk_stamp; - atomic_t sk_tskey; - atomic_t sk_zckey; - u32 sk_tsflags; - u8 sk_shutdown; + int sk_disconnects; + u8 sk_txrehash; u8 sk_clockid; u8 sk_txtime_deadline_mode: 1; u8 sk_txtime_report_errors: 1; u8 sk_txtime_unused: 6; - bool sk_use_task_frag; - struct socket *sk_socket; void *sk_user_data; struct sock_cgroup_data sk_cgrp_data; - struct mem_cgroup *sk_memcg; void (*sk_state_change)(struct sock *); - void (*sk_data_ready)(struct sock *); void (*sk_write_space)(struct sock *); void (*sk_error_report)(struct sock *); int (*sk_backlog_rcv)(struct sock *, struct sk_buff *); @@ -34799,7 +36882,7 @@ struct sock { struct bpf_local_storage *sk_bpf_storage; struct callback_head sk_rcu; netns_tracker ns_tracker; - struct hlist_node sk_bind2_node; + struct xarray sk_user_frags; }; struct inet_cork { @@ -34812,8 +36895,9 @@ struct inet_cork { u8 tx_flags; __u8 ttl; __s16 tos; - char priority; + u32 priority; __u16 gso_size; + u32 ts_opt_id; u64 transmit_time; u32 mark; }; @@ -34845,10 +36929,7 @@ struct inet_sock { int uc_index; int mc_index; __be32 mc_addr; - struct { - __u16 lo; - __u16 hi; - } local_port_range; + u32 local_port_range; struct ip_mc_socklist *mc_list; struct inet_cork_full cork; }; @@ -34901,7 +36982,9 @@ struct inet_connection_sock { __u8 quick; __u8 pingpong; __u8 retry; - __u32 ato; + __u32 ato: 8; + __u32 lrcv_flowlabel: 20; + __u32 unused: 4; long unsigned int timeout; __u32 lrcvtime; __u16 last_seg_size; @@ -34927,7 +37010,6 @@ struct inet_connection_sock_af_ops { int (*conn_request)(struct sock *, struct sk_buff *); struct sock * (*syn_recv_sock)(const struct sock *, struct sk_buff *, struct request_sock *, struct dst_entry *, struct request_sock *, bool *); u16 net_header_len; - u16 net_frag_header_len; u16 sockaddr_len; int (*setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); int (*getsockopt)(struct sock *, int, int, char *, int *); @@ -34962,6 +37044,7 @@ struct inet_diag_req_v2; struct inet_diag_msg; struct inet_diag_handler { + struct module *owner; void (*dump)(struct sk_buff *, struct netlink_callback *, const struct inet_diag_req_v2 *); int (*dump_one)(struct netlink_callback *, const struct inet_diag_req_v2 *); void (*idiag_get_info)(struct sock *, struct inet_diag_msg *, void *); @@ -35087,12 +37170,6 @@ struct inet_hashinfo { unsigned int lhash2_mask; struct inet_listen_hashbucket *lhash2; bool pernet; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct inet_listen_hashbucket { @@ -35193,41 +37270,31 @@ struct inet_skb_parm { struct inet_timewait_death_row { refcount_t tw_refcount; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; struct inet_hashinfo *hashinfo; int sysctl_max_tw_buckets; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct inet_timewait_sock { struct sock_common __tw_common; __u32 tw_mark; - volatile unsigned char tw_substate; + unsigned char tw_substate; unsigned char tw_rcv_wscale; __be16 tw_sport; unsigned int tw_transparent: 1; unsigned int tw_flowlabel: 20; - unsigned int tw_pad: 3; + unsigned int tw_usec_ts: 1; + unsigned int tw_pad: 2; unsigned int tw_tos: 8; u32 tw_txhash; u32 tw_priority; + u32 tw_entry_stamp; struct timer_list tw_timer; struct inet_bind_bucket *tw_tb; struct inet_bind2_bucket *tw_tb2; - struct hlist_node tw_bind2_node; }; +struct inode_operations; + struct inode { umode_t i_mode; short unsigned int i_opflags; @@ -35244,15 +37311,19 @@ struct inode { }; dev_t i_rdev; loff_t i_size; - struct timespec64 i_atime; - struct timespec64 i_mtime; - struct timespec64 __i_ctime; + time64_t i_atime_sec; + time64_t i_mtime_sec; + time64_t i_ctime_sec; + u32 i_atime_nsec; + u32 i_mtime_nsec; + u32 i_ctime_nsec; + u32 i_generation; spinlock_t i_lock; short unsigned int i_bytes; u8 i_blkbits; - u8 i_write_hint; + enum rw_hint i_write_hint; blkcnt_t i_blocks; - long unsigned int i_state; + u32 i_state; struct rw_semaphore i_rwsem; long unsigned int dirtied_when; long unsigned int dirtied_time_when; @@ -35276,14 +37347,16 @@ struct inode { }; struct file_lock_context *i_flctx; struct address_space i_data; - struct list_head i_devices; + union { + struct list_head i_devices; + int i_linklen; + }; union { struct pipe_inode_info *i_pipe; struct cdev *i_cdev; char *i_link; unsigned int i_dir_seq; }; - __u32 i_generation; void *i_private; }; @@ -35336,8 +37409,13 @@ struct internal_container { struct device classdev; }; +struct rq_list { + struct request *head; + struct request *tail; +}; + struct io_comp_batch { - struct request *req_list; + struct rq_list req_list; bool need_ts; void (*complete)(struct io_comp_batch *); }; @@ -35400,83 +37478,8 @@ struct io_tlb_mem { struct io_tlb_slot { phys_addr_t orig_addr; size_t alloc_size; - unsigned int list; -}; - -struct io_uring_sqe; - -struct io_uring_cmd { - struct file *file; - const struct io_uring_sqe *sqe; - union { - void (*task_work_cb)(struct io_uring_cmd *, unsigned int); - void *cookie; - }; - u32 cmd_op; - u32 flags; - u8 pdu[32]; -}; - -struct io_uring_sqe { - __u8 opcode; - __u8 flags; - __u16 ioprio; - __s32 fd; - union { - __u64 off; - __u64 addr2; - struct { - __u32 cmd_op; - __u32 __pad1; - }; - }; - union { - __u64 addr; - __u64 splice_off_in; - }; - __u32 len; - union { - __kernel_rwf_t rw_flags; - __u32 fsync_flags; - __u16 poll_events; - __u32 poll32_events; - __u32 sync_range_flags; - __u32 msg_flags; - __u32 timeout_flags; - __u32 accept_flags; - __u32 cancel_flags; - __u32 open_flags; - __u32 statx_flags; - __u32 fadvise_advice; - __u32 splice_flags; - __u32 rename_flags; - __u32 unlink_flags; - __u32 hardlink_flags; - __u32 xattr_flags; - __u32 msg_ring_flags; - __u32 uring_cmd_flags; - }; - __u64 user_data; - union { - __u16 buf_index; - __u16 buf_group; - }; - __u16 personality; - union { - __s32 splice_fd_in; - __u32 file_index; - struct { - __u16 addr_len; - __u16 __pad3[1]; - }; - }; - union { - struct { - __u64 addr3; - __u64 __pad2[1]; - }; - __u8 cmd[0]; - }; + short unsigned int list; + short unsigned int pad_slots; }; struct ioam6_hdr { @@ -35568,8 +37571,6 @@ struct iocb { struct iommu_group {}; -struct iommu_ops {}; - struct iovec { void *iov_base; __kernel_size_t iov_len; @@ -35579,14 +37580,9 @@ struct kvec; struct iov_iter { u8 iter_type; - bool copy_mc; bool nofault; bool data_source; - bool user_backed; - union { - size_t iov_offset; - int last_offset; - }; + size_t iov_offset; union { struct iovec __ubuf_iovec; struct { @@ -35594,6 +37590,7 @@ struct iov_iter { const struct iovec *__iov; const struct kvec *kvec; const struct bio_vec *bvec; + const struct folio_queue *folioq; struct xarray *xarray; void *ubuf; }; @@ -35602,6 +37599,7 @@ struct iov_iter { }; union { long unsigned int nr_segs; + u8 folioq_slot; loff_t xarray_start; }; }; @@ -35674,12 +37672,6 @@ struct ip6_ra_chain { void (*destructor)(struct sock *); }; -struct ip6_rt_info { - struct in6_addr daddr; - struct in6_addr saddr; - u_int32_t mark; -}; - struct ip6_sf_list { struct ip6_sf_list *sf_next; struct in6_addr sf_addr; @@ -35785,6 +37777,8 @@ struct ip_mc_list { char loaded; unsigned char gsquery; unsigned char crcount; + long unsigned int mca_cstamp; + long unsigned int mca_tstamp; struct callback_head rcu; }; @@ -35849,13 +37843,6 @@ struct ip_reply_arg { kuid_t uid; }; -struct ip_rt_info { - __be32 daddr; - __be32 saddr; - u_int8_t tos; - u_int32_t mark; -}; - struct ip_sf_list { struct ip_sf_list *sf_next; long unsigned int sf_count[2]; @@ -35894,13 +37881,13 @@ struct iphdr { }; }; -struct ip_tunnel_parm { +struct ip_tunnel_parm_kern { char name[16]; - int link; - __be16 i_flags; - __be16 o_flags; + long unsigned int i_flags[1]; + long unsigned int o_flags[1]; __be32 i_key; __be32 o_key; + int link; struct iphdr iph; }; @@ -35929,7 +37916,7 @@ struct ip_tunnel { u8 dir; u16 hwid; struct dst_cache dst_cache; - struct ip_tunnel_parm parms; + struct ip_tunnel_parm_kern parms; int mlink; int encap_hlen; int hlen; @@ -35961,11 +37948,11 @@ struct ip_tunnel_key { struct in6_addr dst; } ipv6; } u; - __be16 tun_flags; - u8 tos; - u8 ttl; + long unsigned int tun_flags[1]; __be32 label; u32 nhid; + u8 tos; + u8 ttl; __be16 tp_src; __be16 tp_dst; __u8 flow_flags; @@ -35989,6 +37976,16 @@ struct ip_tunnel_net { int type; }; +struct ip_tunnel_parm { + char name[16]; + int link; + __be16 i_flags; + __be16 o_flags; + __be32 i_key; + __be32 o_key; + struct iphdr iph; +}; + struct ip_tunnel_prl { __be32 addr; __u16 flags; @@ -36046,20 +38043,12 @@ struct ipc_namespace { struct ns_common ns; }; -struct ipc_perm { - __kernel_key_t key; - __kernel_uid_t uid; - __kernel_gid_t gid; - __kernel_uid_t cuid; - __kernel_gid_t cgid; - __kernel_mode_t mode; - short unsigned int seq; -}; - struct sockcm_cookie { u64 transmit_time; u32 mark; u32 tsflags; + u32 ts_opt_id; + u32 priority; }; struct ipcm6_cookie { @@ -36079,7 +38068,6 @@ struct ipcm_cookie { __u8 protocol; __u8 ttl; __s16 tos; - char priority; __u16 gso_size; }; @@ -36090,6 +38078,7 @@ struct ipfrag_skb_cb { }; struct sk_buff *next_frag; int frag_run_len; + int ip_defrag_offset; }; struct ipq { @@ -36102,7 +38091,7 @@ struct ipq { }; struct ipstats_mib { - u64 mibs[37]; + u64 mibs[38]; struct u64_stats_sync syncp; }; @@ -36116,9 +38105,10 @@ struct udp_table; struct ipv6_bpf_stub { int (*inet6_bind)(struct sock *, struct sockaddr *, int, u32); - struct sock * (*udp6_lib_lookup)(struct net *, const struct in6_addr *, __be16, const struct in6_addr *, __be16, int, int, struct udp_table *, struct sk_buff *); + struct sock * (*udp6_lib_lookup)(const struct net *, const struct in6_addr *, __be16, const struct in6_addr *, __be16, int, int, struct udp_table *, struct sk_buff *); int (*ipv6_setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); int (*ipv6_getsockopt)(struct sock *, int, int, sockptr_t, sockptr_t); + int (*ipv6_dev_get_saddr)(struct net *, const struct net_device *, const struct in6_addr *, unsigned int, struct in6_addr *); }; struct ipv6_fl_socklist { @@ -36157,11 +38147,8 @@ struct ipv6_pinfo { const struct in6_addr *daddr_cache; __be32 flow_label; __u32 frag_size; - __u16 __unused_1: 7; - __s16 hop_limit: 9; - __u16 mc_loop: 1; - __u16 __unused_2: 6; - __s16 mcast_hops: 9; + s16 hop_limit; + u8 mcast_hops; int ucast_oif; int mcast_oif; union { @@ -36184,18 +38171,8 @@ struct ipv6_pinfo { } bits; __u16 all; } rxopt; - __u16 recverr: 1; - __u16 sndflow: 1; - __u16 repflow: 1; - __u16 pmtudisc: 3; - __u16 padding: 1; - __u16 srcprefs: 3; - __u16 dontfrag: 1; - __u16 autoflowlabel: 1; - __u16 autoflowlabel_set: 1; - __u16 mc_all: 1; - __u16 recverr_rfc4884: 1; - __u16 rtalert_isolate: 1; + __u8 srcprefs; + __u8 pmtudisc; __u8 min_hopcount; __u8 tclass; __be32 rcv_flowinfo; @@ -36284,11 +38261,12 @@ struct ipv6_stub { void (*fib6_update_sernum)(struct net *, struct fib6_info *); int (*ip6_del_rt)(struct net *, struct fib6_info *, bool); void (*fib6_rt_update)(struct net *, struct fib6_info *, struct nl_info *); - void (*udpv6_encap_enable)(); + void (*udpv6_encap_enable)(void); void (*ndisc_send_na)(struct net_device *, const struct in6_addr *, const struct in6_addr *, bool, bool, bool, bool); struct neigh_table *nd_tbl; int (*ipv6_fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *)); struct net_device * (*ipv6_dev_find)(struct net *, const struct in6_addr *, struct net_device *); + int (*ip6_xmit)(const struct sock *, struct sk_buff *, struct flowi6 *, __u32, struct ipv6_txoptions *, int, u32); }; struct ipv6_txoptions { @@ -36341,14 +38319,6 @@ struct irq_affinity_devres { unsigned int irq[0]; }; -struct irq_affinity_notify { - unsigned int irq; - struct kref kref; - struct work_struct work; - void (*notify)(struct irq_affinity_notify *, const cpumask_t *); - void (*release)(struct kref *); -}; - struct irq_data; struct msi_msg; @@ -36396,7 +38366,6 @@ struct irq_chip_regs { long unsigned int ack; long unsigned int eoi; long unsigned int type; - long unsigned int polarity; }; struct irq_desc; @@ -36422,8 +38391,6 @@ struct irq_chip_generic { unsigned int irq_base; unsigned int irq_cnt; u32 mask_cache; - u32 type_cache; - u32 polarity_cache; u32 wake_enabled; u32 wake_active; unsigned int num_ct; @@ -36441,14 +38408,12 @@ struct irq_common_data { unsigned int state_use_accessors; void *handler_data; struct msi_desc *msi_desc; - cpumask_var_t affinity; - cpumask_var_t effective_affinity; }; struct irq_data { u32 mask; unsigned int irq; - long unsigned int hwirq; + irq_hw_number_t hwirq; struct irq_common_data *common; struct irq_chip *chip; struct irq_domain *domain; @@ -36456,12 +38421,14 @@ struct irq_data { void *chip_data; }; +struct irqstat; + struct irqaction; struct irq_desc { struct irq_common_data irq_common_data; struct irq_data irq_data; - unsigned int *kstat_irqs; + struct irqstat *kstat_irqs; irq_flow_handler_t handle_irq; struct irqaction *action; unsigned int status_use_accessors; @@ -36477,8 +38444,6 @@ struct irq_desc { raw_spinlock_t lock; struct cpumask *percpu_enabled; const struct cpumask *percpu_affinity; - const struct cpumask *affinity_hint; - struct irq_affinity_notify *affinity_notify; long unsigned int threads_oneshot; atomic_t threads_active; wait_queue_head_t wait_for_threads; @@ -36488,7 +38453,6 @@ struct irq_desc { int parent_irq; struct module *owner; const char *name; - long: 64; }; struct irq_desc_devres { @@ -36523,6 +38487,7 @@ struct irq_domain { struct device *pm_dev; struct irq_domain *parent; const struct msi_parent_ops *msi_parent_ops; + void (*exit)(struct irq_domain *); irq_hw_number_t hwirq_max; unsigned int revmap_size; struct xarray revmap_tree; @@ -36535,9 +38500,40 @@ struct irq_domain_chip_generic { unsigned int irq_flags_to_clear; unsigned int irq_flags_to_set; enum irq_gc_flags gc_flags; + void (*exit)(struct irq_chip_generic *); struct irq_chip_generic *gc[0]; }; +struct irq_domain_chip_generic_info { + const char *name; + irq_flow_handler_t handler; + unsigned int irqs_per_chip; + unsigned int num_ct; + unsigned int irq_flags_to_clear; + unsigned int irq_flags_to_set; + enum irq_gc_flags gc_flags; + int (*init)(struct irq_chip_generic *); + void (*exit)(struct irq_chip_generic *); +}; + +struct irq_domain_info { + struct fwnode_handle *fwnode; + unsigned int domain_flags; + unsigned int size; + irq_hw_number_t hwirq_max; + int direct_max; + unsigned int hwirq_base; + unsigned int virq_base; + enum irq_domain_bus_token bus_token; + const char *name_suffix; + const struct irq_domain_ops *ops; + void *host_data; + struct irq_domain *parent; + struct irq_domain_chip_generic_info *dgc_info; + int (*init)(struct irq_domain *); + void (*exit)(struct irq_domain *); +}; + struct irq_domain_ops { int (*match)(struct irq_domain *, struct device_node *, enum irq_domain_bus_token); int (*select)(struct irq_domain *, struct irq_fwspec *, enum irq_domain_bus_token); @@ -36564,6 +38560,21 @@ struct irq_generic_chip_devres { unsigned int set; }; +struct irq_matrix { + unsigned int matrix_bits; + unsigned int alloc_start; + unsigned int alloc_end; + unsigned int alloc_size; + unsigned int global_available; + unsigned int global_reserved; + unsigned int systembits_inalloc; + unsigned int total_allocated; + unsigned int online_maps; + struct cpumap *maps; + long unsigned int *system_map; + long unsigned int scratch_map[0]; +}; + struct irq_override_cmp { const struct dmi_system_id *system; unsigned char irq; @@ -36587,10 +38598,6 @@ struct irqaction { long unsigned int thread_mask; const char *name; struct proc_dir_entry *dir; - long: 64; - long: 64; - long: 64; - long: 64; }; struct irqchip_fwid { @@ -36609,6 +38616,10 @@ struct irqentry_state { typedef struct irqentry_state irqentry_state_t; +struct irqstat { + unsigned int cnt; +}; + struct itimerspec64 { struct timespec64 it_interval; struct timespec64 it_value; @@ -36690,6 +38701,7 @@ struct kernel_clone_args { void *fn_arg; struct cgroup *cgrp; struct css_set *cset; + unsigned int kill_seq; }; struct kernel_cpustat { @@ -36704,6 +38716,17 @@ struct kernel_ethtool_ringparam { u32 cqe_size; u32 tx_push_buf_len; u32 tx_push_buf_max_len; + u32 hds_thresh; + u32 hds_thresh_max; +}; + +struct kernel_ethtool_ts_info { + u32 cmd; + u32 so_timestamping; + int phc_index; + enum hwtstamp_provider_qualifier phc_qualifier; + enum hwtstamp_tx_types tx_types; + enum hwtstamp_rx_filters rx_filters; }; struct kernel_hwtstamp_config { @@ -36713,6 +38736,7 @@ struct kernel_hwtstamp_config { struct ifreq *ifr; bool copied_to_user; enum hwtstamp_source source; + enum hwtstamp_provider_qualifier qualifier; }; struct kernel_param_ops; @@ -36764,6 +38788,19 @@ struct kernel_symbol { const char *namespace; }; +struct xattr_name; + +struct kernel_xattr_ctx { + union { + const void *cvalue; + void *value; + }; + void *kvalue; + size_t size; + struct xattr_name *kname; + unsigned int flags; +}; + struct kernfs_open_node; struct kernfs_ops; @@ -36798,16 +38835,17 @@ struct kernfs_node { struct rb_node rb; const void *ns; unsigned int hash; + short unsigned int flags; + umode_t mode; union { struct kernfs_elem_dir dir; struct kernfs_elem_symlink symlink; struct kernfs_elem_attr attr; }; - void *priv; u64 id; - short unsigned int flags; - umode_t mode; + void *priv; struct kernfs_iattrs *iattr; + struct callback_head rcu; }; struct vm_operations_struct; @@ -36841,6 +38879,7 @@ struct kernfs_ops { ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t); __poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *); int (*mmap)(struct kernfs_open_file *, struct vm_area_struct *); + loff_t (*llseek)(struct kernfs_open_file *, loff_t, int); }; struct key_vector { @@ -36859,7 +38898,6 @@ struct key_vector { struct rcu_gp_oldstate { long unsigned int rgos_norm; - long unsigned int rgos_exp; }; struct kfree_rcu_cpu; @@ -36924,6 +38962,8 @@ struct kmalloced_param { struct kmap_ctrl {}; +typedef struct kmem_cache *kmem_buckets[16]; + struct reciprocal_value { u32 m; u8 sh1; @@ -36956,6 +38996,20 @@ struct kmem_cache { struct kmem_cache_node *node[1]; }; +struct kmem_cache_args { + unsigned int align; + unsigned int useroffset; + unsigned int usersize; + unsigned int freeptr_offset; + bool use_freeptr_offset; + void (*ctor)(void *); +}; + +union kmem_cache_iter_priv { + struct bpf_iter_kmem_cache it; + struct bpf_iter_kmem_cache_kern kit; +}; + struct kmem_cache_node { spinlock_t list_lock; long unsigned int nr_partial; @@ -36977,10 +39031,10 @@ struct kobj_map { struct kobj_ns_type_operations { enum kobj_ns_type type; - bool (*current_may_mount)(); - void * (*grab_current_ns)(); + bool (*current_may_mount)(void); + void * (*grab_current_ns)(void); const void * (*netlink_ns)(struct sock *); - const void * (*initial_ns)(); + const void * (*initial_ns)(void); void (*drop_ns)(void *); }; @@ -37055,7 +39109,7 @@ struct kprobe_ctlblk { struct kprobe_insn_cache { struct mutex mutex; - void * (*alloc)(); + void * (*alloc)(void); void (*free)(void *); const char *sym; struct list_head pages; @@ -37081,6 +39135,8 @@ struct kretprobe_instance; typedef int (*kretprobe_handler_t)(struct kretprobe_instance *, struct pt_regs *); +struct rethook; + struct kretprobe { struct kprobe kp; kretprobe_handler_t handler; @@ -37091,6 +39147,14 @@ struct kretprobe { struct rethook *rh; }; +struct rethook_node { + struct callback_head rcu; + struct llist_node llist; + struct rethook *rethook; + long unsigned int ret_addr; + long unsigned int frame; +}; + struct kretprobe_instance { struct rethook_node node; char data[0]; @@ -37142,9 +39206,14 @@ struct kstat { struct timespec64 btime; u64 blocks; u64 mnt_id; + u64 change_cookie; + u64 subvol; u32 dio_mem_align; u32 dio_offset_align; - u64 change_cookie; + u32 dio_read_offset_align; + u32 atomic_write_unit_min; + u32 atomic_write_unit_max; + u32 atomic_write_segments_max; }; struct kstatfs { @@ -37162,6 +39231,62 @@ struct kstatfs { long int f_spare[4]; }; +struct statmount { + __u32 size; + __u32 mnt_opts; + __u64 mask; + __u32 sb_dev_major; + __u32 sb_dev_minor; + __u64 sb_magic; + __u32 sb_flags; + __u32 fs_type; + __u64 mnt_id; + __u64 mnt_parent_id; + __u32 mnt_id_old; + __u32 mnt_parent_id_old; + __u64 mnt_attr; + __u64 mnt_propagation; + __u64 mnt_peer_group; + __u64 mnt_master; + __u64 propagate_from; + __u32 mnt_root; + __u32 mnt_point; + __u64 mnt_ns_id; + __u32 fs_subtype; + __u32 sb_source; + __u32 opt_num; + __u32 opt_array; + __u32 opt_sec_num; + __u32 opt_sec_array; + __u64 __spare2[46]; + char str[0]; +}; + +struct seq_file { + char *buf; + size_t size; + size_t from; + size_t count; + size_t pad_until; + loff_t index; + loff_t read_pos; + struct mutex lock; + const struct seq_operations *op; + int poll_event; + const struct file *file; + void *private; +}; + +struct kstatmount { + struct statmount *buf; + size_t bufsize; + struct vfsmount *mnt; + u64 mask; + struct path root; + struct statmount sm; + struct seq_file seq; +}; + struct ktermios { tcflag_t c_iflag; tcflag_t c_oflag; @@ -37176,12 +39301,17 @@ struct ktermios { struct kthread { long unsigned int flags; unsigned int cpu; + unsigned int node; + int started; int result; int (*threadfn)(void *); void *data; struct completion parked; struct completion exited; char *full_name; + struct task_struct *task; + struct list_head hotplug_node; + struct cpumask *preferred_affinity; }; struct kthread_create_info { @@ -37226,12 +39356,6 @@ struct kthread_worker { struct kthread_work *current_work; }; -struct ktime_timestamps { - u64 mono; - u64 boot; - u64 real; -}; - struct kvfree_rcu_bulk_data { struct list_head list; struct rcu_gp_oldstate gp_snap; @@ -37255,28 +39379,6 @@ struct latch_tree_root { struct rb_root tree[2]; }; -struct sched_domain; - -struct lb_env { - struct sched_domain *sd; - struct rq *src_rq; - int src_cpu; - int dst_cpu; - struct rq *dst_rq; - struct cpumask *dst_grpmask; - int new_dst_cpu; - enum cpu_idle_type idle; - long int imbalance; - struct cpumask *cpus; - unsigned int flags; - unsigned int loop; - unsigned int loop_break; - unsigned int loop_max; - enum fbq_type fbq_type; - enum migration_type migration_type; - struct list_head tasks; -}; - struct ld_semaphore { atomic_long_t count; raw_spinlock_t wait_lock; @@ -37285,6 +39387,13 @@ struct ld_semaphore { struct list_head write_wait; }; +struct lease_manager_operations { + bool (*lm_break)(struct file_lease *); + int (*lm_change)(struct file_lease *, int, struct list_head *); + void (*lm_setup)(struct file_lease *, void **); + bool (*lm_breaker_owns_lease)(struct file_lease *); +}; + struct legacy_fs_context { char *legacy_data; size_t data_size; @@ -37302,6 +39411,20 @@ struct link_mode_info { u8 duplex; }; +struct linked_reg { + u8 frameno; + union { + u8 spi; + u8 regno; + }; + bool is_reg; +}; + +struct linked_regs { + int cnt; + struct linked_reg entries[6]; +}; + struct linkinfo_reply_data { struct ethnl_reply_data base; struct ethtool_link_ksettings ksettings; @@ -37342,13 +39465,15 @@ struct rlimit { struct linux_binprm { struct vm_area_struct *vma; long unsigned int vma_pages; + long unsigned int argmin; struct mm_struct *mm; long unsigned int p; - long unsigned int argmin; unsigned int have_execfd: 1; unsigned int execfd_creds: 1; unsigned int secureexec: 1; unsigned int point_of_no_return: 1; + unsigned int comm_from_dentry: 1; + unsigned int is_check: 1; struct file *executable; struct file *interpreter; struct file *file; @@ -37415,7 +39540,7 @@ struct linux_efi_tpm_eventlog { }; struct linux_mib { - long unsigned int mibs[127]; + long unsigned int mibs[133]; }; struct liointc_priv; @@ -37444,15 +39569,12 @@ struct list_lru { struct list_lru_one { struct list_head list; long int nr_items; + spinlock_t lock; }; struct list_lru_node { - spinlock_t lock; struct list_lru_one lru; - long int nr_items; - long: 64; - long: 64; - long: 64; + atomic_long_t nr_items; }; struct listeners { @@ -37481,12 +39603,13 @@ struct load_info { unsigned int vers; unsigned int info; unsigned int pcpu; + unsigned int vers_ext_crc; + unsigned int vers_ext_name; } index; }; struct local_ports { - seqlock_t lock; - int range[2]; + u32 range; bool warned; }; @@ -37496,12 +39619,8 @@ struct lock_manager_operations { void (*lm_put_owner)(fl_owner_t); void (*lm_notify)(struct file_lock *); int (*lm_grant)(struct file_lock *, int); - bool (*lm_break)(struct file_lock *); - int (*lm_change)(struct file_lock *, int, struct list_head *); - void (*lm_setup)(struct file_lock *, void **); - bool (*lm_breaker_owns_lease)(struct file_lock *); bool (*lm_lock_expirable)(struct file_lock *); - void (*lm_expire_lock)(); + void (*lm_expire_lock)(void); }; struct logic_pio_host_ops { @@ -37513,7 +39632,7 @@ struct logic_pio_host_ops { struct logic_pio_hwaddr { struct list_head list; - struct fwnode_handle *fwnode; + const struct fwnode_handle *fwnode; resource_size_t hw_start; resource_size_t io_start; resource_size_t size; @@ -37607,6 +39726,13 @@ struct reg2bstrd_format { unsigned int opcode: 10; }; +struct reg2csr_format { + unsigned int rd: 5; + unsigned int rj: 5; + unsigned int csr: 14; + unsigned int opcode: 8; +}; + struct reg3_format { unsigned int rd: 5; unsigned int rj: 5; @@ -37635,6 +39761,7 @@ union loongarch_instruction { struct reg2i14_format reg2i14_format; struct reg2i16_format reg2i16_format; struct reg2bstrd_format reg2bstrd_format; + struct reg2csr_format reg2csr_format; struct reg3_format reg3_format; struct reg3sa2_format reg3sa2_format; }; @@ -37666,17 +39793,16 @@ struct loongarch_pmu { struct vdso_pcpu_data { u32 node; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; +}; + +struct vdso_rng_data { + u64 generation; + u8 is_ready; }; struct loongarch_vdso_data { - struct vdso_pcpu_data pdata[64]; + struct vdso_pcpu_data pdata[1]; + struct vdso_rng_data rng_data; }; struct vm_special_mapping { @@ -37684,6 +39810,7 @@ struct vm_special_mapping { struct page **pages; vm_fault_t (*fault)(const struct vm_special_mapping *, struct vm_area_struct *, struct vm_fault *); int (*mremap)(const struct vm_special_mapping *, struct vm_area_struct *); + void (*close)(const struct vm_special_mapping *, struct vm_area_struct *); }; struct loongarch_vdso_info { @@ -37725,7 +39852,7 @@ struct loongson_system_configuration { int boot_cpu_id; int cores_per_node; int cores_per_package; - long unsigned int cores_io_master; + long unsigned int cores_io_master[1]; long unsigned int suspend_addr; const char *cpuname; }; @@ -37740,27 +39867,21 @@ struct lpm_trie_node; struct lpm_trie { struct bpf_map map; struct lpm_trie_node *root; + struct bpf_mem_alloc ma; size_t n_entries; size_t max_prefixlen; size_t data_size; - spinlock_t lock; - long: 64; - long: 64; - long: 64; + raw_spinlock_t lock; }; struct lpm_trie_node { - struct callback_head rcu; struct lpm_trie_node *child[2]; u32 prefixlen; u32 flags; u8 data[0]; }; -struct lru_rotate { - local_lock_t lock; - struct folio_batch fbatch; -}; +struct zswap_lruvec_state {}; struct lruvec { struct list_head lists[5]; @@ -37770,6 +39891,21 @@ struct lruvec { atomic_long_t nonresident_age; long unsigned int refaults[2]; long unsigned int flags; + struct zswap_lruvec_state zswap_lruvec_state; +}; + +struct lsm_context { + char *context; + u32 len; + int id; +}; + +struct lsm_ctx { + __u64 id; + __u64 flags; + __u64 len; + __u64 ctx_len; + __u8 ctx[0]; }; struct lsx_context { @@ -37778,6 +39914,12 @@ struct lsx_context { __u32 fcsr; }; +struct lwq { + spinlock_t lock; + struct llist_node *ready; + struct llist_head new; +}; + struct lwtunnel_encap_ops { int (*build_state)(struct net *, struct nlattr *, unsigned int, const void *, struct lwtunnel_state **, struct netlink_ext_ack *); void (*destroy_state)(struct lwtunnel_state *); @@ -37801,25 +39943,6 @@ struct lwtunnel_state { __u8 data[0]; }; -struct maple_enode; - -struct maple_tree; - -struct maple_alloc; - -struct ma_state { - struct maple_tree *tree; - long unsigned int index; - long unsigned int last; - struct maple_enode *node; - long unsigned int min; - long unsigned int max; - struct maple_alloc *alloc; - unsigned char depth; - unsigned char offset; - unsigned char mas_flags; -}; - struct ma_topiary { struct maple_enode *head; struct maple_enode *tail; @@ -37835,7 +39958,6 @@ struct ma_wr_state { long unsigned int r_max; enum maple_type type; unsigned char offset_end; - unsigned char node_end; long unsigned int *pivots; long unsigned int end_piv; void **slots; @@ -37881,7 +40003,6 @@ struct maple_arange_64 { }; struct maple_big_node { - struct maple_pnode *parent; long unsigned int pivot[33]; union { struct maple_enode *slot[34]; @@ -37977,12 +40098,6 @@ struct mcfg_fixup { struct resource cfgres; }; -struct mcs_spinlock { - struct mcs_spinlock *next; - int locked; - int count; -}; - struct mdio_bus_stats { u64_stats_t transfers; u64_stats_t errors; @@ -37999,11 +40114,12 @@ struct mdio_device { struct device dev; struct mii_bus *bus; char modalias[32]; - int (*bus_match)(struct device *, struct device_driver *); + int (*bus_match)(struct device *, const struct device_driver *); void (*device_free)(struct mdio_device *); void (*device_remove)(struct mdio_device *); int addr; int flags; + int reset_state; struct gpio_desc *reset_gpio; struct reset_control *reset_ctrl; unsigned int reset_assert_delay; @@ -38021,7 +40137,7 @@ typedef struct pglist_data pg_data_t; struct mem_cgroup_reclaim_cookie { pg_data_t *pgdat; - unsigned int generation; + int generation; }; struct quota_format_type; @@ -38074,6 +40190,8 @@ struct memdev { }; struct memory_notify { + long unsigned int altmap_start_pfn; + long unsigned int altmap_nr_pages; long unsigned int start_pfn; long unsigned int nr_pages; int status_change_nid_normal; @@ -38099,18 +40217,11 @@ struct metadata_dst { } u; }; -struct set_affinity_pending; - -struct migration_arg { - struct task_struct *task; - int dest_cpu; - struct set_affinity_pending *pending; -}; - struct migration_target_control { int nid; nodemask_t *nmask; gfp_t gfp_mask; + enum migrate_reason reason; }; struct phy_package_shared; @@ -38149,24 +40260,26 @@ struct mii_bus { struct mii_timestamper { bool (*rxtstamp)(struct mii_timestamper *, struct sk_buff *, int); void (*txtstamp)(struct mii_timestamper *, struct sk_buff *, int); - int (*hwtstamp)(struct mii_timestamper *, struct ifreq *); + int (*hwtstamp)(struct mii_timestamper *, struct kernel_hwtstamp_config *, struct netlink_ext_ack *); void (*link_state)(struct mii_timestamper *, struct phy_device *); - int (*ts_info)(struct mii_timestamper *, struct ethtool_ts_info *); + int (*ts_info)(struct mii_timestamper *, struct kernel_ethtool_ts_info *); struct device *device; }; -struct min_heap { - void *data; - int nr; - int size; +struct min_heap_callbacks { + bool (*less)(const void *, const void *, void *); + void (*swp)(void *, void *, void *); }; -struct min_heap_callbacks { - int elem_size; - bool (*less)(const void *, const void *); - void (*swp)(void *, void *); +struct min_heap_char { + size_t nr; + size_t size; + char *data; + char preallocated[0]; }; +typedef struct min_heap_char min_heap_char; + struct tcf_proto; struct mini_Qdisc { @@ -38254,16 +40367,8 @@ struct mm_struct { struct { struct { atomic_t mm_count; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct maple_tree mm_mt; - long unsigned int (*get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); long unsigned int mmap_base; long unsigned int mmap_legacy_base; long unsigned int task_size; @@ -38306,9 +40411,6 @@ struct mm_struct { atomic_t tlb_flush_pending; struct uprobes_state uprobes_state; struct work_struct async_put_work; - long: 64; - long: 64; - long: 64; }; long unsigned int cpu_bitmap[0]; }; @@ -38340,9 +40442,49 @@ struct mm_walk_ops { int (*test_walk)(long unsigned int, long unsigned int, struct mm_walk *); int (*pre_vma)(long unsigned int, long unsigned int, struct mm_walk *); void (*post_vma)(struct mm_walk *); + int (*install_pte)(long unsigned int, long unsigned int, pte_t *, struct mm_walk *); enum page_walk_lock walk_lock; }; +struct vma_munmap_struct { + struct vma_iterator *vmi; + struct vm_area_struct *vma; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct list_head *uf; + long unsigned int start; + long unsigned int end; + long unsigned int unmap_start; + long unsigned int unmap_end; + int vma_count; + bool unlock; + bool clear_ptes; + long unsigned int nr_pages; + long unsigned int locked_vm; + long unsigned int nr_accounted; + long unsigned int exec_vm; + long unsigned int stack_vm; + long unsigned int data_vm; +}; + +struct mmap_state { + struct mm_struct *mm; + struct vma_iterator *vmi; + long unsigned int addr; + long unsigned int end; + long unsigned int pgoff; + long unsigned int pglen; + long unsigned int flags; + struct file *file; + long unsigned int charged; + bool retry_merge; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct vma_munmap_struct vms; + struct ma_state mas_detach; + struct maple_tree mt_detach; +}; + struct mmap_unlock_irq_work { struct irq_work irq_work; struct mm_struct *mm; @@ -38403,8 +40545,36 @@ struct mmu_notifier_range { long unsigned int end; }; +struct mnt_id_req { + __u32 size; + __u32 spare; + __u64 mnt_id; + __u64 param; + __u64 mnt_ns_id; +}; + +struct uid_gid_extent { + u32 first; + u32 lower_first; + u32 count; +}; + +struct uid_gid_map { + union { + struct { + struct uid_gid_extent extent[5]; + u32 nr_extents; + }; + struct { + struct uid_gid_extent *forward; + struct uid_gid_extent *reverse; + }; + }; +}; + struct mnt_idmap { - struct user_namespace *owner; + struct uid_gid_map uid_map; + struct uid_gid_map gid_map; refcount_t count; }; @@ -38413,20 +40583,30 @@ struct mount; struct mnt_namespace { struct ns_common ns; struct mount *root; - struct list_head list; - spinlock_t ns_lock; + struct { + struct rb_root mounts; + struct rb_node *mnt_last_node; + struct rb_node *mnt_first_node; + }; struct user_namespace *user_ns; struct ucounts *ucounts; u64 seq; - wait_queue_head_t poll; + union { + wait_queue_head_t poll; + struct callback_head mnt_ns_rcu; + }; u64 event; - unsigned int mounts; + unsigned int nr_mounts; unsigned int pending_mounts; + struct rb_node mnt_ns_tree_node; + struct list_head mnt_ns_list; + refcount_t passive; }; -struct mnt_pcp { - int mnt_count; - int mnt_writers; +struct mnt_ns_info { + __u32 size; + __u32 nr_mounts; + __u64 mnt_ns_id; }; struct mod_section { @@ -38481,6 +40661,8 @@ struct module_kobject { struct module_memory { void *base; + void *rw_copy; + bool is_rox; unsigned int size; struct mod_tree_node mtn; }; @@ -38507,18 +40689,18 @@ struct module { const char *srcversion; struct kobject *holders_dir; const struct kernel_symbol *syms; - const s32 *crcs; + const u32 *crcs; unsigned int num_syms; struct kernel_param *kp; unsigned int num_kp; unsigned int num_gpl_syms; const struct kernel_symbol *gpl_syms; - const s32 *gpl_crcs; + const u32 *gpl_crcs; bool using_gplonly_symbols; bool async_probe_requested; unsigned int num_exentries; struct exception_table_entry *extable; - int (*init)(); + int (*init)(void); long: 64; long: 64; long: 64; @@ -38531,18 +40713,16 @@ struct module { struct module_sect_attrs *sect_attrs; struct module_notes_attrs *notes_attrs; char *args; - void *percpu; - unsigned int percpu_size; void *noinstr_text_start; unsigned int noinstr_text_size; unsigned int num_tracepoints; tracepoint_ptr_t *tracepoints_ptrs; - unsigned int num_srcu_structs; - struct srcu_struct **srcu_struct_ptrs; unsigned int num_bpf_raw_events; struct bpf_raw_event_map *bpf_raw_events; unsigned int btf_data_size; + unsigned int btf_base_data_size; void *btf_data; + void *btf_base_data; unsigned int num_trace_bprintk_fmt; const char **trace_bprintk_fmt_start; struct trace_event_call **trace_events; @@ -38555,16 +40735,12 @@ struct module { unsigned int kprobes_text_size; long unsigned int *kprobe_blacklist; unsigned int num_kprobe_blacklist; - long: 64; - long: 64; - long: 64; - long: 64; }; struct module_attribute { struct attribute attr; - ssize_t (*show)(struct module_attribute *, struct module_kobject *, char *); - ssize_t (*store)(struct module_attribute *, struct module_kobject *, const char *, size_t); + ssize_t (*show)(const struct module_attribute *, struct module_kobject *, char *); + ssize_t (*store)(const struct module_attribute *, struct module_kobject *, const char *, size_t); void (*setup)(struct module *, const char *); int (*test)(struct module *); void (*free)(struct module *); @@ -38613,10 +40789,12 @@ struct mount { struct dentry *mnt_mountpoint; struct vfsmount mnt; union { + struct rb_node mnt_node; struct callback_head mnt_rcu; struct llist_node mnt_llist; }; - struct mnt_pcp *mnt_pcp; + int mnt_count; + int mnt_writers; struct list_head mnt_mounts; struct list_head mnt_child; struct list_head mnt_instance; @@ -38635,6 +40813,7 @@ struct mount { }; struct list_head mnt_umounting; int mnt_id; + u64 mnt_id_unique; int mnt_group_id; int mnt_expiry_mark; struct hlist_head mnt_pins; @@ -38698,7 +40877,7 @@ struct msghdr { __kernel_size_t msg_controllen; struct kiocb *msg_iocb; struct ubuf_info *msg_ubuf; - int (*sg_from_iter)(struct sock *, struct sk_buff *, struct iov_iter *, size_t); + int (*sg_from_iter)(struct sk_buff *, struct iov_iter *, size_t); }; struct msi_alloc_info { @@ -38791,13 +40970,10 @@ struct msi_dev_domain { struct irq_domain *domain; }; -struct platform_msi_priv_data; - struct msi_device_data { long unsigned int properties; - struct platform_msi_priv_data *platform_data; struct mutex mutex; - struct msi_dev_domain __domains[2]; + struct msi_dev_domain __domains[1]; long unsigned int __iter_idx; }; @@ -38826,6 +41002,7 @@ struct msi_domain_ops { int (*domain_alloc_irqs)(struct irq_domain *, struct device *, int); void (*domain_free_irqs)(struct irq_domain *, struct device *); void (*msi_post_free)(struct irq_domain *, struct device *); + int (*msi_translate)(struct irq_domain *, struct irq_fwspec *, irq_hw_number_t *, unsigned int *); }; struct msi_domain_template { @@ -38842,6 +41019,9 @@ struct msi_map { struct msi_parent_ops { u32 supported_flags; + u32 required_flags; + u32 bus_select_token; + u32 bus_select_mask; const char *prefix; bool (*init_dev_msi_info)(struct device *, struct irq_domain *, struct irq_domain *, struct msi_domain_info *); }; @@ -38851,15 +41031,6 @@ struct msix_entry { u16 entry; }; -struct multi_stop_data { - cpu_stop_fn_t fn; - void *data; - unsigned int num_threads; - const struct cpumask *active_cpus; - enum multi_stop_state state; - atomic_t thread_ack; -}; - struct multi_symbols_sort { const char **funcs; u64 *cookies; @@ -38870,6 +41041,10 @@ struct multiprocess_signals { struct hlist_node node; }; +typedef struct mutex *class_mutex_t; + +typedef class_mutex_t class_mutex_intr_t; + struct ww_acquire_ctx; struct mutex_waiter { @@ -38880,7 +41055,7 @@ struct mutex_waiter { struct name_snapshot { struct qstr name; - unsigned char inline_name[32]; + union shortname_store inline_name; }; struct saved { @@ -38907,6 +41082,7 @@ struct nameidata { struct saved *stack; struct saved internal[2]; struct filename *name; + const char *pathname; struct nameidata *saved; unsigned int root_seq; int dfd; @@ -38915,22 +41091,25 @@ struct nameidata { }; struct page_frag_cache { - void *va; - __u16 offset; - __u16 size; - unsigned int pagecnt_bias; - bool pfmemalloc; + long unsigned int encoded_page; + __u32 offset; + __u32 pagecnt_bias; }; -struct page_frag_1k {}; - struct napi_alloc_cache { + local_lock_t bh_lock; struct page_frag_cache page; - struct page_frag_1k page_small; unsigned int skb_count; void *skb_cache[64]; }; +struct napi_config { + u64 gro_flush_timeout; + u64 irq_suspend_timeout; + u32 defer_hard_irqs; + unsigned int napi_id; +}; + struct napi_gro_cb { union { struct { @@ -38944,9 +41123,9 @@ struct napi_gro_cb { }; int data_offset; u16 flush; - u16 flush_id; u16 count; u16 proto; + u16 pad; union { struct { u16 gro_remcsum_start; @@ -38957,7 +41136,7 @@ struct napi_gro_cb { u8 free: 2; u8 is_ipv6: 1; u8 is_fou: 1; - u8 is_atomic: 1; + u8 ip_fixedid: 1; u8 recursion_counter: 4; u8 is_flist: 1; }; @@ -38970,12 +41149,26 @@ struct napi_gro_cb { u8 free: 2; u8 is_ipv6: 1; u8 is_fou: 1; - u8 is_atomic: 1; + u8 ip_fixedid: 1; u8 recursion_counter: 4; u8 is_flist: 1; } zeroed; }; __wsum csum; + union { + struct { + u16 network_offset; + u16 inner_network_offset; + }; + u16 network_offsets[2]; + }; +}; + +struct nbcon_write_context { + struct nbcon_context ctxt; + char *outbuf; + unsigned int len; + bool unsafe_takeover; }; struct nd_msg { @@ -39001,7 +41194,6 @@ struct ndisc_options; struct prefix_info; struct ndisc_ops { - int (*is_useropt)(u8); int (*parse_options)(const struct net_device *, struct nd_opt_hdr *, struct ndisc_options *); void (*update)(const struct net_device *, struct neighbour *, u32, u8, const struct ndisc_options *); int (*opt_addr_space)(const struct net_device *, u8, struct neighbour *, u8 *, u8 **); @@ -39025,6 +41217,11 @@ struct ndmsg { __u8 ndm_type; }; +struct ndo_fdb_dump_context { + long unsigned int ifindex; + long unsigned int fdb_idx; +}; + struct ndt_config { __u16 ndtc_key_len; __u16 ndtc_entry_size; @@ -39074,7 +41271,7 @@ struct neigh_dump_filter { }; struct neigh_hash_table { - struct neighbour **hash_buckets; + struct hlist_head *hash_heads; unsigned int hash_shift; __u32 hash_rnd[4]; struct callback_head rcu; @@ -39159,7 +41356,8 @@ struct neigh_table { }; struct neighbour { - struct neighbour *next; + struct hlist_node hash; + struct hlist_node dev_list; struct neigh_table *tbl; struct neigh_parms *parms; long unsigned int confirmed; @@ -39177,7 +41375,6 @@ struct neighbour { u8 protocol; u32 flags; seqlock_t ha_lock; - long: 0; unsigned char ha[32]; struct hh_cache hh; int (*output)(struct neighbour *, struct sk_buff *); @@ -39202,14 +41399,12 @@ union nested_table { struct ref_tracker_dir {}; -struct raw_notifier_head { - struct notifier_block *head; -}; - struct netns_core { struct ctl_table_header *sysctl_hdr; int sysctl_somaxconn; + int sysctl_optmem_max; u8 sysctl_txrehash; + u8 sysctl_tstamp_allow_data; }; struct tcp_mib; @@ -39251,6 +41446,28 @@ struct ping_group_range { }; struct netns_ipv4 { + __u8 __cacheline_group_begin__netns_ipv4_read_tx[0]; + u8 sysctl_tcp_early_retrans; + u8 sysctl_tcp_tso_win_divisor; + u8 sysctl_tcp_tso_rtt_log; + u8 sysctl_tcp_autocorking; + int sysctl_tcp_min_snd_mss; + unsigned int sysctl_tcp_notsent_lowat; + int sysctl_tcp_limit_output_bytes; + int sysctl_tcp_min_rtt_wlen; + int sysctl_tcp_wmem[3]; + u8 sysctl_ip_fwd_use_pmtu; + __u8 __cacheline_group_end__netns_ipv4_read_tx[0]; + __u8 __cacheline_group_begin__netns_ipv4_read_txrx[0]; + u8 sysctl_tcp_moderate_rcvbuf; + __u8 __cacheline_group_end__netns_ipv4_read_txrx[0]; + __u8 __cacheline_group_begin__netns_ipv4_read_rx[0]; + u8 sysctl_ip_early_demux; + u8 sysctl_tcp_early_demux; + u8 sysctl_tcp_l3mdev_accept; + int sysctl_tcp_reordering; + int sysctl_tcp_rmem[3]; + __u8 __cacheline_group_end__netns_ipv4_read_rx[0]; struct inet_timewait_death_row tcp_death_row; struct udp_table *udp_table; struct ipv4_devconf *devconf_all; @@ -39272,6 +41489,10 @@ struct netns_ipv4 { u8 sysctl_icmp_errors_use_inbound_ifaddr; int sysctl_icmp_ratelimit; int sysctl_icmp_ratemask; + int sysctl_icmp_msgs_per_sec; + int sysctl_icmp_msgs_burst; + atomic_t icmp_global_credit; + u32 icmp_global_stamp; u32 ip_rt_min_pmtu; int ip_rt_mtu_expires; int ip_rt_min_advmss; @@ -39280,13 +41501,10 @@ struct netns_ipv4 { u8 sysctl_tcp_ecn_fallback; u8 sysctl_ip_default_ttl; u8 sysctl_ip_no_pmtu_disc; - u8 sysctl_ip_fwd_use_pmtu; u8 sysctl_ip_fwd_update_priority; u8 sysctl_ip_nonlocal_bind; u8 sysctl_ip_autobind_reuse; u8 sysctl_ip_dynaddr; - u8 sysctl_ip_early_demux; - u8 sysctl_tcp_early_demux; u8 sysctl_udp_early_demux; u8 sysctl_nexthop_compat_mode; u8 sysctl_fwmark_reflect; @@ -39294,7 +41512,6 @@ struct netns_ipv4 { u8 sysctl_tcp_mtu_probing; int sysctl_tcp_mtu_probe_floor; int sysctl_tcp_base_mss; - int sysctl_tcp_min_snd_mss; int sysctl_tcp_probe_threshold; u32 sysctl_tcp_probe_interval; int sysctl_tcp_keepalive_time; @@ -39305,17 +41522,18 @@ struct netns_ipv4 { u8 sysctl_tcp_syncookies; u8 sysctl_tcp_migrate_req; u8 sysctl_tcp_comp_sack_nr; - int sysctl_tcp_reordering; + u8 sysctl_tcp_backlog_ack_defer; + u8 sysctl_tcp_pingpong_thresh; u8 sysctl_tcp_retries1; u8 sysctl_tcp_retries2; u8 sysctl_tcp_orphan_retries; u8 sysctl_tcp_tw_reuse; + unsigned int sysctl_tcp_tw_reuse_delay; int sysctl_tcp_fin_timeout; - unsigned int sysctl_tcp_notsent_lowat; u8 sysctl_tcp_sack; u8 sysctl_tcp_window_scaling; u8 sysctl_tcp_timestamps; - u8 sysctl_tcp_early_retrans; + int sysctl_tcp_rto_min_us; u8 sysctl_tcp_recovery; u8 sysctl_tcp_thin_linear_timeouts; u8 sysctl_tcp_slow_start_after_idle; @@ -39331,21 +41549,13 @@ struct netns_ipv4 { u8 sysctl_tcp_frto; u8 sysctl_tcp_nometrics_save; u8 sysctl_tcp_no_ssthresh_metrics_save; - u8 sysctl_tcp_moderate_rcvbuf; - u8 sysctl_tcp_tso_win_divisor; u8 sysctl_tcp_workaround_signed_windows; - int sysctl_tcp_limit_output_bytes; int sysctl_tcp_challenge_ack_limit; - int sysctl_tcp_min_rtt_wlen; u8 sysctl_tcp_min_tso_segs; - u8 sysctl_tcp_tso_rtt_log; - u8 sysctl_tcp_autocorking; u8 sysctl_tcp_reflect_tos; int sysctl_tcp_invalid_ratelimit; int sysctl_tcp_pacing_ss_ratio; int sysctl_tcp_pacing_ca_ratio; - int sysctl_tcp_wmem[3]; - int sysctl_tcp_rmem[3]; unsigned int sysctl_tcp_child_ehash_entries; long unsigned int sysctl_tcp_comp_sack_delay_ns; long unsigned int sysctl_tcp_comp_sack_slack_ns; @@ -39380,10 +41590,8 @@ struct netns_ipv4 { unsigned int ipmr_seq; atomic_t rt_genid; siphash_key_t ip_id_key; - long: 64; - long: 64; - long: 64; - long: 64; + struct hlist_head *inet_addr_lst; + struct delayed_work addr_chk_work; }; struct netns_sysctl_ipv6 { @@ -39467,17 +41675,6 @@ struct netns_ipv6 { u32 seq; } ip6addrlbl_table; struct ioam6_pernet_data *ioam6_data; - long: 64; -}; - -struct nf_logger; - -struct nf_hook_entries; - -struct netns_nf { - const struct nf_logger *nf_loggers[11]; - struct nf_hook_entries *hooks_ipv4[5]; - struct nf_hook_entries *hooks_ipv6[5]; }; struct netns_bpf { @@ -39493,13 +41690,13 @@ struct net_generic; struct net { refcount_t passive; spinlock_t rules_mod_lock; - atomic_t dev_unreg_count; unsigned int dev_base_seq; u32 ifindex; spinlock_t nsid_lock; atomic_t fnhe_genid; struct list_head list; struct list_head exit_list; + struct llist_node defer_free_list; struct llist_node cleanup_list; struct user_namespace *user_ns; struct ucounts *ucounts; @@ -39524,17 +41721,21 @@ struct net { struct netns_mib mib; struct netns_packet packet; struct netns_nexthop nexthop; - long: 64; - long: 64; struct netns_ipv4 ipv4; struct netns_ipv6 ipv6; - struct netns_nf nf; struct net_generic *gen; struct netns_bpf bpf; u64 net_cookie; struct sock *diag_nlsk; }; +struct netdev_tc_txq { + u16 count; + u16 offset; +}; + +typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **); + struct net_device_stats { union { long unsigned int rx_packets; @@ -39636,77 +41837,118 @@ struct netdev_hw_addr_list { struct rb_root tree; }; -typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **); +struct sfp_bus; -struct pcpu_dstats; +struct udp_tunnel_nic; -struct netdev_tc_txq { - u16 count; - u16 offset; -}; +struct net_device_ops; -struct sfp_bus; +struct pcpu_lstats; -struct udp_tunnel_nic; +struct pcpu_sw_netstats; -struct netdev_name_node; +struct pcpu_dstats; -struct net_device_ops; +struct netdev_rx_queue; + +struct netdev_name_node; struct xdp_metadata_ops; -struct net_device_core_stats; +struct xsk_tx_metadata_ops; -struct netdev_rx_queue; +struct net_device_core_stats; struct xdp_dev_bulk_queue; -struct xps_dev_maps; +struct netdev_stat_ops; -struct pcpu_lstats; +struct netdev_queue_mgmt_ops; -struct pcpu_sw_netstats; +struct phy_link_topology; struct udp_tunnel_nic_info; +struct netdev_config; + struct rtnl_hw_stats64; struct net_device { + __u8 __cacheline_group_begin__net_device_read_tx[0]; + union { + struct { + long unsigned int priv_flags: 32; + long unsigned int lltx: 1; + }; + struct { + long unsigned int priv_flags: 32; + long unsigned int lltx: 1; + } priv_flags_fast; + }; + const struct net_device_ops *netdev_ops; + const struct header_ops *header_ops; + struct netdev_queue *_tx; + netdev_features_t gso_partial_features; + unsigned int real_num_tx_queues; + unsigned int gso_max_size; + unsigned int gso_ipv4_max_size; + u16 gso_max_segs; + s16 num_tc; + unsigned int mtu; + short unsigned int needed_headroom; + struct netdev_tc_txq tc_to_txq[16]; + struct bpf_mprog_entry *tcx_egress; + __u8 __cacheline_group_end__net_device_read_tx[0]; + __u8 __cacheline_group_begin__net_device_read_txrx[0]; + union { + struct pcpu_lstats *lstats; + struct pcpu_sw_netstats *tstats; + struct pcpu_dstats *dstats; + }; + long unsigned int state; + unsigned int flags; + short unsigned int hard_header_len; + netdev_features_t features; + struct inet6_dev *ip6_ptr; + __u8 __cacheline_group_end__net_device_read_txrx[0]; + __u8 __cacheline_group_begin__net_device_read_rx[0]; + struct bpf_prog *xdp_prog; + struct list_head ptype_specific; + int ifindex; + unsigned int real_num_rx_queues; + struct netdev_rx_queue *_rx; + unsigned int gro_max_size; + unsigned int gro_ipv4_max_size; + rx_handler_func_t *rx_handler; + void *rx_handler_data; + possible_net_t nd_net; + struct bpf_mprog_entry *tcx_ingress; + __u8 __cacheline_group_end__net_device_read_rx[0]; char name[16]; struct netdev_name_node *name_node; struct dev_ifalias *ifalias; long unsigned int mem_end; long unsigned int mem_start; long unsigned int base_addr; - long unsigned int state; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; - struct list_head ptype_specific; struct { struct list_head upper; struct list_head lower; } adj_list; - unsigned int flags; xdp_features_t xdp_features; - long long unsigned int priv_flags; - const struct net_device_ops *netdev_ops; const struct xdp_metadata_ops *xdp_metadata_ops; - int ifindex; + const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; short unsigned int gflags; - short unsigned int hard_header_len; - unsigned int mtu; - short unsigned int needed_headroom; short unsigned int needed_tailroom; - netdev_features_t features; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; - netdev_features_t gso_partial_features; unsigned int min_mtu; unsigned int max_mtu; short unsigned int type; @@ -39719,8 +41961,7 @@ struct net_device { atomic_t carrier_down_count; const struct ethtool_ops *ethtool_ops; const struct ndisc_ops *ndisc_ops; - const struct header_ops *header_ops; - unsigned char operstate; + unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; @@ -39732,9 +41973,9 @@ struct net_device { short unsigned int neigh_priv_len; short unsigned int dev_id; short unsigned int dev_port; - short unsigned int padded; - spinlock_t addr_list_lock; int irq; + u32 priv_len; + spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; @@ -39742,53 +41983,26 @@ struct net_device { unsigned int allmulti; bool uc_promisc; struct in_device *ip_ptr; - struct inet6_dev *ip6_ptr; + struct hlist_head fib_nh_head; const unsigned char *dev_addr; - struct netdev_rx_queue *_rx; unsigned int num_rx_queues; - unsigned int real_num_rx_queues; - struct bpf_prog *xdp_prog; - long unsigned int gro_flush_timeout; - int napi_defer_hard_irqs; - unsigned int gro_max_size; - unsigned int gro_ipv4_max_size; unsigned int xdp_zc_max_segs; - rx_handler_func_t *rx_handler; - void *rx_handler_data; - struct bpf_mprog_entry *tcx_ingress; struct netdev_queue *ingress_queue; - struct nf_hook_entries *nf_hooks_ingress; unsigned char broadcast[32]; struct hlist_node index_hlist; - long: 64; - long: 64; - long: 64; - long: 64; - struct netdev_queue *_tx; unsigned int num_tx_queues; - unsigned int real_num_tx_queues; struct Qdisc *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue *xdp_bulkq; - struct xps_dev_maps *xps_maps[2]; - struct bpf_mprog_entry *tcx_egress; - struct nf_hook_entries *nf_hooks_egress; struct timer_list watchdog_timer; int watchdog_timeo; u32 proto_down_reason; struct list_head todo_list; - int *pcpu_refcnt; + refcount_t dev_refcnt; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; - enum { - NETREG_UNINITIALIZED = 0, - NETREG_REGISTERED = 1, - NETREG_UNREGISTERING = 2, - NETREG_UNREGISTERED = 3, - NETREG_RELEASED = 4, - NETREG_DUMMY = 5, - } reg_state: 8; + u8 reg_state; bool dismantle; enum { RTNL_LINK_INITIALIZED = 0, @@ -39796,35 +42010,34 @@ struct net_device { } rtnl_link_state: 16; bool needs_free_netdev; void (*priv_destructor)(struct net_device *); - possible_net_t nd_net; void *ml_priv; enum netdev_ml_priv_type ml_priv_type; - union { - struct pcpu_lstats *lstats; - struct pcpu_sw_netstats *tstats; - struct pcpu_dstats *dstats; - }; + enum netdev_stat_type pcpu_stat_type: 8; struct device dev; const struct attribute_group *sysfs_groups[4]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; - unsigned int gso_max_size; + const struct netdev_stat_ops *stat_ops; + const struct netdev_queue_mgmt_ops *queue_mgmt_ops; unsigned int tso_max_size; - u16 gso_max_segs; u16 tso_max_segs; - unsigned int gso_ipv4_max_size; - s16 num_tc; - struct netdev_tc_txq tc_to_txq[16]; u8 prio_tc_map[16]; + struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; - unsigned int wol_enabled: 1; - unsigned int threaded: 1; + bool threaded; + long unsigned int see_all_hwtstamp_requests: 1; + long unsigned int change_proto_down: 1; + long unsigned int netns_local: 1; + long unsigned int fcoe_mtu: 1; struct list_head net_notifier_list; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; + struct netdev_config *cfg; + struct netdev_config *cfg_pending; + struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[3]; u8 dev_addr_shadow[32]; netdevice_tracker linkwatch_dev_tracker; @@ -39832,12 +42045,21 @@ struct net_device { netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; + struct hlist_head page_pools; + struct dim_irq_moder *irq_moder; + u64 max_pacing_offload_horizon; + struct napi_config *napi_config; + long unsigned int gro_flush_timeout; + u32 napi_defer_hard_irqs; + bool up; + struct mutex lock; + struct hlist_head neighbours[2]; + struct hwtstamp_provider *hwprov; long: 64; long: 64; long: 64; long: 64; - long: 64; - long: 64; + u8 priv[0]; }; struct net_device_core_stats { @@ -39912,14 +42134,16 @@ struct net_device_ops { int (*ndo_set_features)(struct net_device *, netdev_features_t); int (*ndo_neigh_construct)(struct net_device *, struct neighbour *); void (*ndo_neigh_destroy)(struct net_device *, struct neighbour *); - int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, struct netlink_ext_ack *); - int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, struct netlink_ext_ack *); - int (*ndo_fdb_del_bulk)(struct ndmsg *, struct nlattr **, struct net_device *, u16, struct netlink_ext_ack *); + int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, bool *, struct netlink_ext_ack *); + int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, bool *, struct netlink_ext_ack *); + int (*ndo_fdb_del_bulk)(struct nlmsghdr *, struct net_device *, struct netlink_ext_ack *); int (*ndo_fdb_dump)(struct sk_buff *, struct netlink_callback *, struct net_device *, struct net_device *, int *); int (*ndo_fdb_get)(struct sk_buff *, struct nlattr **, struct net_device *, const unsigned char *, u16, u32, u32, struct netlink_ext_ack *); int (*ndo_mdb_add)(struct net_device *, struct nlattr **, u16, struct netlink_ext_ack *); int (*ndo_mdb_del)(struct net_device *, struct nlattr **, struct netlink_ext_ack *); + int (*ndo_mdb_del_bulk)(struct net_device *, struct nlattr **, struct netlink_ext_ack *); int (*ndo_mdb_dump)(struct net_device *, struct sk_buff *, struct netlink_callback *); + int (*ndo_mdb_get)(struct net_device *, struct nlattr **, u32, u32, struct netlink_ext_ack *); int (*ndo_bridge_setlink)(struct net_device *, struct nlmsghdr *, u16, struct netlink_ext_ack *); int (*ndo_bridge_getlink)(struct sk_buff *, u32, u32, struct net_device *, u32, int); int (*ndo_bridge_dellink)(struct net_device *, struct nlmsghdr *, u16); @@ -39937,7 +42161,7 @@ struct net_device_ops { int (*ndo_xdp_xmit)(struct net_device *, int, struct xdp_frame **, u32); struct net_device * (*ndo_xdp_get_xmit_slave)(struct net_device *, struct xdp_buff *); int (*ndo_xsk_wakeup)(struct net_device *, u32, u32); - int (*ndo_tunnel_ctl)(struct net_device *, struct ip_tunnel_parm *, int); + int (*ndo_tunnel_ctl)(struct net_device *, struct ip_tunnel_parm_kern *, int); struct net_device * (*ndo_get_peer_dev)(struct net_device *); int (*ndo_fill_forward_path)(struct net_device_path_ctx *, struct net_device_path *); ktime_t (*ndo_get_tstamp)(struct net_device *, const struct skb_shared_hwtstamps *, bool); @@ -39973,6 +42197,7 @@ struct net_device_path { u8 queue; u16 wcid; u8 bss; + u8 amsdu; } mtk_wdma; }; }; @@ -39992,6 +42217,24 @@ struct net_device_path_stack { struct net_device_path path[5]; }; +struct dma_buf; + +struct dma_buf_attachment; + +struct gen_pool; + +struct net_devmem_dmabuf_binding { + struct dma_buf *dmabuf; + struct dma_buf_attachment *attachment; + struct sg_table *sgt; + struct net_device *dev; + struct gen_pool *chunk_pool; + refcount_t ref; + struct list_head list; + struct xarray bound_rxqs; + u32 id; +}; + struct net_fill_args { u32 portid; u32 seq; @@ -40021,15 +42264,17 @@ struct offload_callbacks { int (*gro_complete)(struct sk_buff *, int); }; -struct net_offload { +struct packet_offload { + __be16 type; + u16 priority; struct offload_callbacks callbacks; - unsigned int flags; + struct list_head list; }; -struct net_proto_family { - int family; - int (*create)(struct net *, struct socket *, int, int); - struct module *owner; +struct net_offload { + struct offload_callbacks callbacks; + unsigned int flags; + u32 secret; }; struct net_protocol { @@ -40037,6 +42282,52 @@ struct net_protocol { int (*err_handler)(struct sk_buff *, u32); unsigned int no_policy: 1; unsigned int icmp_strict_tag_validation: 1; + u32 secret; +}; + +struct net_hotdata { + struct packet_offload ip_packet_offload; + struct net_offload tcpv4_offload; + struct net_protocol tcp_protocol; + struct net_offload udpv4_offload; + struct net_protocol udp_protocol; + struct packet_offload ipv6_packet_offload; + struct net_offload tcpv6_offload; + struct inet6_protocol tcpv6_protocol; + struct inet6_protocol udpv6_protocol; + struct net_offload udpv6_offload; + struct list_head offload_base; + struct list_head ptype_all; + struct kmem_cache *skbuff_cache; + struct kmem_cache *skbuff_fclone_cache; + struct kmem_cache *skb_small_head_cache; + int gro_normal_batch; + int netdev_budget; + int netdev_budget_usecs; + int tstamp_prequeue; + int max_backlog; + int dev_tx_weight; + int dev_rx_weight; + int sysctl_max_skb_frags; + int sysctl_skb_defer_max; + int sysctl_mem_pcpu_rsv; +}; + +struct dmabuf_genpool_chunk_owner; + +struct net_iov { + long unsigned int __unused_padding; + long unsigned int pp_magic; + struct page_pool *pp; + struct dmabuf_genpool_chunk_owner *owner; + long unsigned int dma_addr; + atomic_long_t pp_ref_count; +}; + +struct net_proto_family { + int family; + int (*create)(struct net *, struct socket *, int, int); + struct module *owner; }; struct net_rate_estimator { @@ -40096,6 +42387,11 @@ struct netdev_bpf { }; }; +struct netdev_config { + u32 hds_thresh; + u8 hds_config; +}; + struct netdev_hw_addr { struct list_head list; struct rb_node node; @@ -40113,6 +42409,7 @@ struct netdev_name_node { struct list_head list; struct net_device *dev; const char *name; + struct callback_head rcu; }; struct netdev_nested_priv { @@ -40125,6 +42422,13 @@ struct netdev_net_notifier { struct notifier_block *nb; }; +struct netdev_nl_dump_ctx { + long unsigned int ifindex; + unsigned int rxq_idx; + unsigned int txq_idx; + unsigned int napi_id; +}; + struct netdev_notifier_info { struct net_device *dev; struct netlink_ext_ack *extack; @@ -40207,17 +42511,51 @@ struct netdev_queue { long unsigned int tx_maxrate; atomic_long_t trans_timeout; struct net_device *sb_dev; - long: 64; - long: 64; spinlock_t _xmit_lock; int xmit_lock_owner; long unsigned int trans_start; long unsigned int state; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; + struct napi_struct *napi; +}; + +struct netdev_queue_mgmt_ops { + size_t ndo_queue_mem_size; + int (*ndo_queue_mem_alloc)(struct net_device *, void *, int); + void (*ndo_queue_mem_free)(struct net_device *, void *); + int (*ndo_queue_start)(struct net_device *, void *, int); + int (*ndo_queue_stop)(struct net_device *, void *, int); +}; + +struct netdev_queue_stats_rx { + u64 bytes; + u64 packets; + u64 alloc_fail; + u64 hw_drops; + u64 hw_drop_overruns; + u64 csum_unnecessary; + u64 csum_none; + u64 csum_bad; + u64 hw_gro_packets; + u64 hw_gro_bytes; + u64 hw_gro_wire_packets; + u64 hw_gro_wire_bytes; + u64 hw_drop_ratelimits; +}; + +struct netdev_queue_stats_tx { + u64 bytes; + u64 packets; + u64 hw_drops; + u64 hw_drop_errors; + u64 csum_none; + u64 needs_csum; + u64 hw_gso_packets; + u64 hw_gso_bytes; + u64 hw_gso_wire_packets; + u64 hw_gso_wire_bytes; + u64 hw_drop_ratelimits; + u64 stop; + u64 wake; }; struct xdp_mem_info { @@ -40230,7 +42568,6 @@ struct xdp_rxq_info { u32 queue_index; u32 reg_state; struct xdp_mem_info mem; - unsigned int napi_id; u32 frag_size; long: 64; long: 64; @@ -40238,18 +42575,34 @@ struct xdp_rxq_info { long: 64; }; +struct pp_memory_provider_params { + void *mp_priv; +}; + struct netdev_rx_queue { struct xdp_rxq_info xdp_rxq; struct kobject kobj; struct net_device *dev; netdevice_tracker dev_tracker; + struct napi_struct *napi; + struct pp_memory_provider_params mp_params; long: 64; long: 64; long: 64; long: 64; long: 64; - long: 64; - long: 64; +}; + +struct netdev_stat_ops { + void (*get_queue_stats_rx)(struct net_device *, int, struct netdev_queue_stats_rx *); + void (*get_queue_stats_tx)(struct net_device *, int, struct netdev_queue_stats_tx *); + void (*get_base_stats)(struct net_device *, struct netdev_queue_stats_rx *, struct netdev_queue_stats_tx *); +}; + +struct netdev_xmit { + u16 recursion; + u8 more; + u8 skip_txqueue; }; struct netevent_redirect { @@ -40288,6 +42641,7 @@ struct netlink_callback { u32 min_dump_alloc; unsigned int prev_seq; unsigned int seq; + int flags; bool strict_check; union { u8 ctx[48]; @@ -40308,6 +42662,7 @@ struct netlink_dump_control { void *data; struct module *module; u32 min_dump_alloc; + int flags; }; struct netlink_ext_ack { @@ -40325,7 +42680,6 @@ struct netlink_kernel_cfg { unsigned int groups; unsigned int flags; void (*input)(struct sk_buff *); - struct mutex *cb_mutex; int (*bind)(struct net *, int); void (*unbind)(struct net *, int); void (*release)(struct sock *, long unsigned int *); @@ -40396,8 +42750,7 @@ struct netlink_sock { bool cb_running; int dump_done_errno; struct netlink_callback cb; - struct mutex *cb_mutex; - struct mutex cb_def_mutex; + struct mutex nl_cb_mutex; void (*netlink_rcv)(struct sk_buff *); int (*netlink_bind)(struct net *, int); void (*netlink_unbind)(struct net *, int); @@ -40405,7 +42758,6 @@ struct netlink_sock { struct module *module; struct rhash_head node; struct callback_head rcu; - struct work_struct work; }; struct netlink_table { @@ -40468,43 +42820,10 @@ struct nexthop { struct nexthop_grp { __u32 id; __u8 weight; - __u8 resvd1; + __u8 weight_high; __u16 resvd2; }; -struct nf_conntrack; - -struct nf_conntrack_tuple; - -struct nf_ct_hook { - int (*update)(struct net *, struct sk_buff *); - void (*destroy)(struct nf_conntrack *); - bool (*get_tuple_skb)(struct nf_conntrack_tuple *, const struct sk_buff *); - void (*attach)(struct sk_buff *, const struct sk_buff *); - void (*set_closing)(struct nf_conntrack *); -}; - -struct nf_defrag_hook { - struct module *owner; - int (*enable)(struct net *); - void (*disable)(struct net *); -}; - -struct nf_hook_entry { - nf_hookfn *hook; - void *priv; -}; - -struct nf_hook_entries { - u16 num_hook_entries; - struct nf_hook_entry hooks[0]; -}; - -struct nf_hook_entries_rcu_head { - struct callback_head head; - void *allocation; -}; - struct nf_hook_state { u8 hook; u8 pf; @@ -40515,82 +42834,6 @@ struct nf_hook_state { int (*okfn)(struct net *, struct sock *, struct sk_buff *); }; -struct nf_queue_entry; - -struct nf_ipv6_ops { - void (*route_input)(struct sk_buff *); - int (*fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *)); - int (*reroute)(struct sk_buff *, const struct nf_queue_entry *); -}; - -struct nf_log_buf { - unsigned int count; - char buf[1020]; -}; - -struct nf_loginfo; - -typedef void nf_logfn(struct net *, u_int8_t, unsigned int, const struct sk_buff *, const struct net_device *, const struct net_device *, const struct nf_loginfo *, const char *); - -struct nf_logger { - char *name; - enum nf_log_type type; - nf_logfn *logfn; - struct module *me; -}; - -struct nf_loginfo { - u_int8_t type; - union { - struct { - u_int32_t copy_len; - u_int16_t group; - u_int16_t qthreshold; - u_int16_t flags; - } ulog; - struct { - u_int8_t level; - u_int8_t logflags; - } log; - } u; -}; - -struct nf_queue_entry { - struct list_head list; - struct sk_buff *skb; - unsigned int id; - unsigned int hook_index; - struct nf_hook_state state; - u16 size; -}; - -struct nf_queue_handler { - int (*outfn)(struct nf_queue_entry *, unsigned int); - void (*nf_hook_drop)(struct net *); -}; - -struct nf_sockopt_ops { - struct list_head list; - u_int8_t pf; - int set_optmin; - int set_optmax; - int (*set)(struct sock *, int, sockptr_t, unsigned int); - int get_optmin; - int get_optmax; - int (*get)(struct sock *, int, void *, int *); - struct module *owner; -}; - -struct nf_conn; - -struct nfnl_ct_hook { - size_t (*build_size)(const struct nf_conn *); - int (*build)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, u_int16_t, u_int16_t); - int (*parse)(const struct nlattr *, struct nf_conn *); - int (*attach_expect)(const struct nlattr *, struct nf_conn *, u32, u32); - void (*seq_adjust)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, s32); -}; - struct nh_config { u32 nh_id; u8 nh_family; @@ -40612,6 +42855,7 @@ struct nh_config { bool nh_grp_res_has_num_buckets; bool nh_grp_res_has_idle_timer; bool nh_grp_res_has_unbalanced_timer; + bool nh_hw_stats; struct nlattr *nh_encap; u16 nh_encap_type; u32 nlflags; @@ -40625,11 +42869,15 @@ struct nh_dump_filter { bool group_filter; bool fdb_filter; u32 res_bucket_nh_id; + u32 op_flags; }; +struct nh_grp_entry_stats; + struct nh_grp_entry { struct nexthop *nh; - u8 weight; + struct nh_grp_entry_stats *stats; + u16 weight; union { struct { atomic_t upper_bound; @@ -40642,6 +42890,7 @@ struct nh_grp_entry { }; struct list_head nh_list; struct nexthop *nh_parent; + u64 packets_hw; }; struct nh_res_table; @@ -40654,10 +42903,16 @@ struct nh_group { bool resilient; bool fdb_nh; bool has_v4; + bool hw_stats; struct nh_res_table *res_table; struct nh_grp_entry nh_entries[0]; }; +struct nh_grp_entry_stats { + u64_stats_t packets; + struct u64_stats_sync syncp; +}; + struct nh_info { struct hlist_node dev_hash; struct nexthop *nh_parent; @@ -40678,20 +42933,32 @@ struct nh_notifier_single_info { __be32 ipv4; struct in6_addr ipv6; }; + u32 id; u8 is_reject: 1; u8 is_fdb: 1; u8 has_encap: 1; }; struct nh_notifier_grp_entry_info { - u8 weight; - u32 id; + u16 weight; struct nh_notifier_single_info nh; }; +struct nh_notifier_grp_hw_stats_entry_info { + u32 id; + u64 packets; +}; + +struct nh_notifier_grp_hw_stats_info { + u16 num_nh; + bool hw_stats_used; + struct nh_notifier_grp_hw_stats_entry_info stats[0]; +}; + struct nh_notifier_grp_info { u16 num_nh; bool is_fdb; + bool hw_stats; struct nh_notifier_grp_entry_info nh_entries[0]; }; @@ -40709,6 +42976,7 @@ struct nh_notifier_info { struct nh_notifier_grp_info *nh_grp; struct nh_notifier_res_table_info *nh_res_table; struct nh_notifier_res_bucket_info *nh_res_bucket; + struct nh_notifier_grp_hw_stats_info *nh_grp_hw_stats; }; }; @@ -40722,6 +42990,7 @@ struct nh_notifier_res_bucket_info { struct nh_notifier_res_table_info { u16 num_nh_buckets; + bool hw_stats; struct nh_notifier_single_info nhs[0]; }; @@ -40772,8 +43041,8 @@ struct nla_policy { const u32 mask; const char *reject_message; const struct nla_policy *nested_policy; - struct netlink_range_validation *range; - struct netlink_range_validation_signed *range_signed; + const struct netlink_range_validation *range; + const struct netlink_range_validation_signed *range_signed; struct { s16 min; s16 max; @@ -40811,14 +43080,6 @@ struct nls_table { struct nls_table *next; }; -struct node_groups { - unsigned int id; - union { - unsigned int ngroups; - unsigned int ncpus; - }; -}; - struct ns_get_path_bpf_map_args { struct bpf_offloaded_map *offmap; struct bpf_map_info *info; @@ -40903,12 +43164,56 @@ struct ntb_info_regs { struct nt_partition_info ntp_info[48]; } __attribute__((packed)); +struct ntp_data { + long unsigned int tick_usec; + u64 tick_length; + u64 tick_length_base; + int time_state; + int time_status; + s64 time_offset; + long int time_constant; + long int time_maxerror; + long int time_esterror; + s64 time_freq; + time64_t time_reftime; + long int time_adjust; + s64 ntp_tick_adj; + time64_t ntp_next_leap_sec; +}; + struct nvs_region { __u64 phys_start; __u64 size; struct list_head node; }; +struct objpool_head; + +typedef int (*objpool_fini_cb)(struct objpool_head *, void *); + +struct objpool_slot; + +struct objpool_head { + int obj_size; + int nr_objs; + int nr_possible_cpus; + int capacity; + gfp_t gfp; + refcount_t ref; + long unsigned int flags; + struct objpool_slot **cpu_slots; + objpool_fini_cb release; + void *context; +}; + +struct objpool_slot { + uint32_t head; + uint32_t tail; + uint32_t last; + uint32_t mask; + void *entries[0]; +}; + struct obs_kernel_param { const char *str; int (*setup_func)(char *); @@ -40926,9 +43231,9 @@ struct of_bus___2 { const char *addresses; int (*match)(struct device_node *); void (*count_cells)(struct device_node *, int *, int *); - u64 (*map)(__be32 *, const __be32 *, int, int, int); + u64 (*map)(__be32 *, const __be32 *, int, int, int, int); int (*translate)(__be32 *, u64, int); - bool has_flags; + int flag_cells; unsigned int (*get_flags)(const __be32 *); }; @@ -40975,13 +43280,14 @@ struct of_pci_range { u64 bus_addr; }; u64 cpu_addr; + u64 parent_bus_addr; u64 size; u32 flags; }; struct of_pci_range_parser { struct device_node *node; - struct of_bus___2 *bus; + const struct of_bus___2 *bus; const __be32 *range; const __be32 *end; int na; @@ -41015,8 +43321,8 @@ struct of_rename_gpio { }; struct offset_ctx { - struct xarray xa; - u32 next_offset; + struct maple_tree mt; + long unsigned int next_offset; }; struct old_timespec32 { @@ -41068,13 +43374,6 @@ struct open_how { __u64 resolve; }; -struct optimistic_spin_node { - struct optimistic_spin_node *next; - struct optimistic_spin_node *prev; - int locked; - int cpu; -}; - struct osnoise_entry { struct trace_entry ent; u64 noise; @@ -41087,13 +43386,6 @@ struct osnoise_entry { unsigned int thread_count; }; -struct packet_offload { - __be16 type; - u16 priority; - struct offload_callbacks callbacks; - struct list_head list; -}; - struct packet_type { __be16 type; bool ignore_outgoing; @@ -41119,8 +43411,7 @@ struct page_flags_fields { const char *name; }; -struct page_pool_params { - unsigned int flags; +struct page_pool_params_fast { unsigned int order; unsigned int pool_size; int nid; @@ -41129,82 +43420,100 @@ struct page_pool_params { enum dma_data_direction dma_dir; unsigned int max_len; unsigned int offset; - void (*init_callback)(struct page *, void *); - void *init_arg; }; struct pp_alloc_cache { u32 count; - struct page *cache[128]; + netmem_ref cache[128]; }; struct ptr_ring { int producer; spinlock_t producer_lock; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; int consumer_head; int consumer_tail; spinlock_t consumer_lock; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; int size; int batch; void **queue; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; +}; + +struct page_pool_params_slow { + struct net_device *netdev; + unsigned int queue_idx; + unsigned int flags; + void (*init_callback)(netmem_ref, void *); + void *init_arg; }; struct page_pool { - struct page_pool_params p; + struct page_pool_params_fast p; + int cpuid; + u32 pages_state_hold_cnt; + bool has_init_callback: 1; + bool dma_map: 1; + bool dma_sync: 1; + bool dma_sync_for_cpu: 1; + long: 0; + __u8 __cacheline_group_begin__frag[0]; long int frag_users; - struct page *frag_page; + netmem_ref frag_page; unsigned int frag_offset; - u32 pages_state_hold_cnt; + long: 0; + __u8 __cacheline_group_end__frag[0]; + long: 64; + struct {} __cacheline_group_pad__frag; struct delayed_work release_dw; void (*disconnect)(void *); long unsigned int defer_start; long unsigned int defer_warn; u32 xdp_mem_id; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; struct pp_alloc_cache alloc; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; struct ptr_ring ring; + void *mp_priv; atomic_t pages_state_release_cnt; refcount_t user_cnt; u64 destroy_cnt; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; + struct page_pool_params_slow slow; + struct { + struct hlist_node list; + u64 detach_time; + u32 id; + } user; long: 64; }; +struct page_pool_dump_cb { + long unsigned int ifindex; + u32 pp_id; +}; + +struct page_pool_params { + union { + struct { + unsigned int order; + unsigned int pool_size; + int nid; + struct device *dev; + struct napi_struct *napi; + enum dma_data_direction dma_dir; + unsigned int max_len; + unsigned int offset; + }; + struct page_pool_params_fast fast; + }; + union { + struct { + struct net_device *netdev; + unsigned int queue_idx; + unsigned int flags; + void (*init_callback)(netmem_ref, void *); + void *init_arg; + }; + struct page_pool_params_slow slow; + }; +}; + struct page_vma_mapped_walk { long unsigned int pfn; long unsigned int nr_pages; @@ -41217,15 +43526,20 @@ struct page_vma_mapped_walk { unsigned int flags; }; +struct pageattr_masks { + pgprot_t set_mask; + pgprot_t clear_mask; +}; + struct pages_devres { long unsigned int addr; unsigned int order; }; struct partial_context { - struct slab **slab; gfp_t flags; unsigned int orig_size; + void *object; }; struct partial_page { @@ -41277,6 +43591,14 @@ struct pch_pic { u32 saved_vec_en[2]; u32 saved_vec_pol[2]; u32 saved_vec_edge[2]; + u8 table[64]; + int inuse; +}; + +struct pci_acs { + u16 cap; + u16 ctrl; + u16 fw_ctrl; }; struct pci_bus { @@ -41316,7 +43638,6 @@ struct pci_bus_region { struct pci_bus_resource { struct list_head list; struct resource *res; - unsigned int flags; }; struct pci_cap_saved_data { @@ -41350,6 +43671,8 @@ struct pci_vpd { u8 cap; }; +struct pcie_bwctrl_data; + struct pci_dev { struct list_head bus_list; struct pci_bus *bus; @@ -41379,9 +43702,11 @@ struct pci_dev { struct device_dma_parameters dma_parms; pci_power_t current_state; u8 pm_cap; - unsigned int imm_ready: 1; unsigned int pme_support: 5; unsigned int pme_poll: 1; + unsigned int pinned: 1; + unsigned int config_rrs_sv: 1; + unsigned int imm_ready: 1; unsigned int d1_support: 1; unsigned int d2_support: 1; unsigned int no_d1d2: 1; @@ -41396,8 +43721,9 @@ struct pci_dev { unsigned int clear_retrain_link: 1; unsigned int d3hot_delay; unsigned int d3cold_delay; + u16 l1ss; unsigned int pasid_no_tlp: 1; - unsigned int eetlp_prefix_path: 1; + unsigned int eetlp_prefix_max: 3; pci_channel_state_t error_state; struct device dev; int cfg_size; @@ -41422,6 +43748,7 @@ struct pci_dev { unsigned int ats_enabled: 1; unsigned int pasid_enabled: 1; unsigned int pri_enabled: 1; + unsigned int tph_enabled: 1; unsigned int is_managed: 1; unsigned int is_msi_managed: 1; unsigned int needs_freset: 1; @@ -41453,12 +43780,14 @@ struct pci_dev { void *msix_base; raw_spinlock_t msi_lock; struct pci_vpd vpd; + struct pcie_bwctrl_data *link_bwctrl; u16 acs_cap; + u8 supported_speeds; phys_addr_t rom; size_t romlen; const char *driver_override; long unsigned int priv_flags; - u8 reset_methods[7]; + u8 reset_methods[8]; }; struct pci_dev_acs_enabled { @@ -41502,15 +43831,6 @@ struct pci_device_id { __u32 override_only; }; -struct pci_devres { - unsigned int enabled: 1; - unsigned int pinned: 1; - unsigned int orig_intx: 1; - unsigned int restore_intx: 1; - unsigned int mwi: 1; - u32 region_mask; -}; - struct pci_domain_busn_res { struct list_head list; struct resource res; @@ -41525,7 +43845,6 @@ struct pci_dynids { struct pci_error_handlers; struct pci_driver { - struct list_head node; const char *name; const struct pci_device_id *id_table; int (*probe)(struct pci_dev *, const struct pci_device_id *); @@ -41557,10 +43876,14 @@ struct pci_ops { int (*write)(struct pci_bus *, unsigned int, int, int, u32); }; +struct pci_host_bridge; + struct pci_ecam_ops { unsigned int bus_shift; struct pci_ops pci_ops; int (*init)(struct pci_config_window *); + int (*enable_device)(struct pci_host_bridge *, struct pci_dev *); + void (*disable_device)(struct pci_host_bridge *, struct pci_dev *); }; struct pci_error_handlers { @@ -41594,6 +43917,8 @@ struct pci_host_bridge { u8 (*swizzle_irq)(struct pci_dev *, u8 *); int (*map_irq)(const struct pci_dev *, u8, u8); void (*release_fn)(struct pci_host_bridge *); + int (*enable_device)(struct pci_host_bridge *, struct pci_dev *); + void (*disable_device)(struct pci_host_bridge *, struct pci_dev *); void *release_data; unsigned int ignore_reset_delay: 1; unsigned int no_ext_tags: 1; @@ -41609,13 +43934,6 @@ struct pci_host_bridge { unsigned int size_windows: 1; unsigned int msi_domain: 1; resource_size_t (*align_resource)(struct pci_dev *, const struct resource *, resource_size_t, resource_size_t, resource_size_t); - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; long unsigned int private[0]; }; @@ -41658,6 +43976,18 @@ struct pci_slot { struct kobject kobj; }; +struct pcim_addr_devres { + enum pcim_addr_devres_type type; + void *baseaddr; + long unsigned int offset; + long unsigned int len; + int bar; +}; + +struct pcim_intx_devres { + int orig_intx; +}; + struct pcim_iomap_devres { void *table[6]; }; @@ -41708,6 +44038,17 @@ struct pcpu_chunk { int nr_populated; int nr_empty_pop_pages; long unsigned int populated[0]; +}; + +struct pcpu_dstats { + u64_stats_t rx_packets; + u64_stats_t rx_bytes; + u64_stats_t tx_packets; + u64_stats_t tx_bytes; + u64_stats_t rx_drops; + u64_stats_t tx_drops; + struct u64_stats_sync syncp; + long: 64; long: 64; }; @@ -41734,37 +44075,27 @@ struct pdev_archdata {}; struct per_cpu_nodestat { s8 stat_threshold; - s8 vm_node_stat_diff[40]; + s8 vm_node_stat_diff[43]; }; struct per_cpu_pages { spinlock_t lock; int count; int high; + int high_min; + int high_max; int batch; - short int free_factor; + u8 flags; + u8 alloc_factor; + short int free_count; struct list_head lists[12]; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; -}; - -struct per_cpu_zonestat { - s8 vm_stat_diff[10]; - s8 stat_threshold; }; -struct swap_cluster_info { - spinlock_t lock; - unsigned int data: 24; - unsigned int flags: 8; -}; +struct per_cpu_zonestat {}; struct percpu_cluster { - struct swap_cluster_info index; - unsigned int next; + local_lock_t lock; + unsigned int next[1]; }; struct percpu_free_defer { @@ -41897,6 +44228,7 @@ struct perf_buffer { atomic_t mmap_count; long unsigned int mmap_locked; struct user_struct *mmap_user; + struct mutex aux_mutex; long int aux_head; unsigned int aux_nest; long int aux_wakeup; @@ -41908,6 +44240,7 @@ struct perf_buffer { void (*free_aux)(void *); refcount_t aux_refcount; int aux_in_sampling; + int aux_in_pause_resume; void **aux_pages; void *aux_priv; struct perf_event_mmap_page *user_page; @@ -41967,7 +44300,7 @@ struct perf_event_context { u64 generation; int pin_count; struct callback_head callback_head; - local_t nr_pending; + local_t nr_no_switch_fast; }; struct perf_cpu_context { @@ -41987,6 +44320,8 @@ struct perf_event_pmu_context { struct list_head flexible_active; unsigned int embedded: 1; unsigned int nr_events; + unsigned int nr_cgroups; + unsigned int nr_freq; atomic_t refcount; struct callback_head callback_head; void *task_ctx_data; @@ -42006,12 +44341,6 @@ struct perf_cpu_pmu_context { unsigned int hrtimer_active; }; -struct perf_domain { - struct em_perf_domain *em_pd; - struct perf_domain *next; - struct callback_head rcu; -}; - struct perf_event_attr { __u32 type; __u32 size; @@ -42086,7 +44415,15 @@ struct perf_event_attr { __u16 sample_max_stack; __u16 __reserved_2; __u32 aux_sample_size; - __u32 __reserved_3; + union { + __u32 aux_action; + struct { + __u32 aux_start_paused: 1; + __u32 aux_pause: 1; + __u32 aux_resume: 1; + __u32 __reserved_3: 29; + }; + }; __u64 sig_data; __u64 config3; }; @@ -42144,11 +44481,12 @@ struct perf_event { unsigned int pending_wakeup; unsigned int pending_kill; unsigned int pending_disable; - unsigned int pending_sigtrap; long unsigned int pending_addr; struct irq_work pending_irq; + struct irq_work pending_disable_irq; struct callback_head pending_task; unsigned int pending_work; + struct rcuwait pending_work_wait; atomic_t event_limit; struct perf_addr_filters_head addr_filters; struct perf_addr_filter_range *addr_filter_ranges; @@ -42159,10 +44497,9 @@ struct perf_event { struct pid_namespace *ns; u64 id; atomic64_t lost_samples; - u64 (*clock)(); + u64 (*clock)(void); perf_overflow_handler_t overflow_handler; void *overflow_handler_context; - perf_overflow_handler_t orig_overflow_handler; struct bpf_prog *prog; u64 bpf_cookie; struct trace_event_call *tp_event; @@ -42172,6 +44509,13 @@ struct perf_event { __u32 orig_type; }; +struct perf_event_min_heap { + size_t nr; + size_t size; + struct perf_event **data; + struct perf_event *preallocated[0]; +}; + struct perf_event_mmap_page { __u32 version; __u32 compat_version; @@ -42357,8 +44701,9 @@ struct pernet_operations { void (*pre_exit)(struct net *); void (*exit)(struct net *); void (*exit_batch)(struct list_head *); - unsigned int *id; - size_t size; + void (*exit_batch_rtnl)(struct list_head *, struct list_head *); + unsigned int * const id; + const size_t size; }; struct skb_array { @@ -42373,11 +44718,13 @@ struct zone { long unsigned int _watermark[4]; long unsigned int watermark_boost; long unsigned int nr_reserved_highatomic; + long unsigned int nr_free_highatomic; long int lowmem_reserve[3]; struct pglist_data *zone_pgdat; struct per_cpu_pages *per_cpu_pageset; struct per_cpu_zonestat *per_cpu_zonestats; - int pageset_high; + int pageset_high_min; + int pageset_high_max; int pageset_batch; long unsigned int *pageblock_flags; long unsigned int zone_start_pfn; @@ -42386,34 +44733,13 @@ struct zone { long unsigned int present_pages; const char *name; int initialized; - long: 64; - long: 64; - long: 64; - long: 64; - struct cacheline_padding _pad1_; struct free_area free_area[12]; long unsigned int flags; spinlock_t lock; - long: 64; - long: 64; - struct cacheline_padding _pad2_; long unsigned int percpu_drift_mark; bool contiguous; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - struct cacheline_padding _pad3_; atomic_long_t vm_stat[10]; atomic_long_t vm_numa_event[0]; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct zoneref { @@ -42444,27 +44770,10 @@ struct pglist_data { enum zone_type kswapd_highest_zoneidx; int kswapd_failures; long unsigned int totalreserve_pages; - long: 64; - long: 64; - struct cacheline_padding _pad1_; struct lruvec __lruvec; long unsigned int flags; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - struct cacheline_padding _pad2_; struct per_cpu_nodestat *per_cpu_nodestats; - atomic_long_t vm_stat[40]; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; + atomic_long_t vm_stat[43]; }; struct phc_vclocks_reply_data { @@ -42487,8 +44796,9 @@ struct phy_driver; struct phy_device { struct mdio_device mdio; - struct phy_driver *drv; + const struct phy_driver *drv; struct device_link *devlink; + u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned int is_c45: 1; @@ -42510,10 +44820,12 @@ struct phy_device { unsigned int interrupts: 1; unsigned int irq_suspended: 1; unsigned int irq_rerun: 1; + unsigned int default_timestamp: 1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; + long unsigned int possible_interfaces[1]; int speed; int duplex; int port; @@ -42528,9 +44840,11 @@ struct phy_device { long unsigned int adv_old[2]; long unsigned int supported_eee[2]; long unsigned int advertising_eee[2]; - bool eee_enabled; + long unsigned int eee_broken_modes[2]; + bool enable_tx_lpi; + bool eee_active; + struct eee_config eee_cfg; long unsigned int host_interfaces[1]; - u32 eee_broken_modes; struct list_head leds; int irq; void *priv; @@ -42554,6 +44868,16 @@ struct phy_device { void (*adjust_link)(struct net_device *); }; +struct phy_device_node { + enum phy_upstream upstream_type; + union { + struct net_device *netdev; + struct phy_device *phydev; + } upstream; + struct sfp_bus *parent_sfp_bus; + struct phy_device *phy; +}; + struct phy_driver { struct mdio_driver_common mdiodrv; u32 phy_id; @@ -42566,6 +44890,8 @@ struct phy_driver { int (*config_init)(struct phy_device *); int (*probe)(struct phy_device *); int (*get_features)(struct phy_device *); + unsigned int (*inband_caps)(struct phy_device *, phy_interface_t); + int (*config_inband)(struct phy_device *, unsigned int); int (*get_rate_matching)(struct phy_device *, phy_interface_t); int (*suspend)(struct phy_device *); int (*resume)(struct phy_device *); @@ -42588,6 +44914,9 @@ struct phy_driver { int (*cable_test_start)(struct phy_device *); int (*cable_test_tdr_start)(struct phy_device *, const struct phy_tdr_config *); int (*cable_test_get_status)(struct phy_device *, bool *); + void (*get_phy_stats)(struct phy_device *, struct ethtool_eth_phy_stats *, struct ethtool_phy_stats *); + void (*get_link_stats)(struct phy_device *, struct ethtool_link_ext_stats *); + int (*update_stats)(struct phy_device *); int (*get_sset_count)(struct phy_device *); void (*get_strings)(struct phy_device *, u8 *); void (*get_stats)(struct phy_device *, struct ethtool_stats *, u64 *); @@ -42604,10 +44933,17 @@ struct phy_driver { int (*led_hw_is_supported)(struct phy_device *, u8, long unsigned int); int (*led_hw_control_set)(struct phy_device *, u8, long unsigned int); int (*led_hw_control_get)(struct phy_device *, u8, long unsigned int *); + int (*led_polarity_set)(struct phy_device *, int, long unsigned int); +}; + +struct phy_link_topology { + struct xarray phys; + u32 next_phy_index; }; struct phy_package_shared { - int addr; + u8 base_addr; + struct device_node *np; refcount_t refcnt; long unsigned int flags; size_t priv_size; @@ -42628,6 +44964,11 @@ struct phy_plca_status { bool pst; }; +struct phy_req_info { + struct ethnl_req_info base; + struct phy_device_node *pdn; +}; + struct phy_tdr_config { u32 first; u32 last; @@ -42644,6 +44985,9 @@ struct pid { refcount_t count; unsigned int level; spinlock_t lock; + struct dentry *stashed; + u64 ino; + struct rb_node pidfs_node; struct hlist_head tasks[4]; struct hlist_head inodes; wait_queue_head_t wait_pidfd; @@ -42658,11 +45002,30 @@ struct pid_namespace { struct task_struct *child_reaper; struct kmem_cache *pid_cachep; unsigned int level; + int pid_max; struct pid_namespace *parent; struct user_namespace *user_ns; struct ucounts *ucounts; int reboot; struct ns_common ns; + struct work_struct work; +}; + +struct pidfd_info { + __u64 mask; + __u64 cgroupid; + __u32 pid; + __u32 tgid; + __u32 ppid; + __u32 ruid; + __u32 rgid; + __u32 euid; + __u32 egid; + __u32 suid; + __u32 sgid; + __u32 fsuid; + __u32 fsgid; + __u32 spare0[1]; }; struct ping_table { @@ -42704,12 +45067,25 @@ struct pipe_buffer { long unsigned int private; }; +union pipe_index { + long unsigned int head_tail; + struct { + pipe_index_t head; + pipe_index_t tail; + }; +}; + struct pipe_inode_info { struct mutex mutex; wait_queue_head_t rd_wait; wait_queue_head_t wr_wait; - unsigned int head; - unsigned int tail; + union { + long unsigned int head_tail; + struct { + pipe_index_t head; + pipe_index_t tail; + }; + }; unsigned int max_usage; unsigned int ring_size; unsigned int nr_accounted; @@ -42726,6 +45102,11 @@ struct pipe_inode_info { struct user_struct *user; }; +struct pipe_wait { + struct trace_iterator *iter; + int wait_index; +}; + struct mfd_cell; struct platform_device_id; @@ -42766,8 +45147,7 @@ struct platform_device_info { struct platform_driver { int (*probe)(struct platform_device *); - int (*remove)(struct platform_device *); - void (*remove_new)(struct platform_device *); + void (*remove)(struct platform_device *); void (*shutdown)(struct platform_device *); int (*suspend)(struct platform_device *, pm_message_t); int (*resume)(struct platform_device *); @@ -42777,16 +45157,6 @@ struct platform_driver { bool driver_managed_dma; }; -typedef void (*irq_write_msi_msg_t)(struct msi_desc *, struct msi_msg *); - -struct platform_msi_priv_data { - struct device *dev; - void *host_data; - msi_alloc_info_t arg; - irq_write_msi_msg_t write_msg; - int devid; -}; - struct platform_object { struct platform_device pdev; char name[0]; @@ -42830,6 +45200,7 @@ struct pmu { const char *name; int type; int capabilities; + unsigned int scope; int *pmu_disable_count; struct perf_cpu_pmu_context *cpu_pmu_context; atomic_t exclusive_cnt; @@ -43058,7 +45429,7 @@ struct pollfd { struct poll_list { struct poll_list *next; - int len; + unsigned int len; struct pollfd entries[0]; }; @@ -43103,9 +45474,10 @@ struct pool_workqueue { int flush_color; int refcnt; int nr_in_flight[16]; + bool plugged; int nr_active; - int max_active; struct list_head inactive_works; + struct list_head pending_node; struct list_head pwqs_node; struct list_head mayday_node; u64 stats[8]; @@ -43139,8 +45511,6 @@ struct pool_workqueue { long: 64; long: 64; long: 64; - long: 64; - long: 64; }; struct port_identity { @@ -43159,8 +45529,8 @@ struct posix_acl_entry { struct posix_acl { refcount_t a_refcount; - struct callback_head a_rcu; unsigned int a_count; + struct callback_head a_rcu; struct posix_acl_entry a_entries[0]; }; @@ -43221,9 +45591,16 @@ struct prefix_info { __u8 type; __u8 length; __u8 prefix_len; - __u8 reserved: 6; - __u8 autoconf: 1; - __u8 onlink: 1; + union { + __u8 flags; + struct { + __u8 reserved: 4; + __u8 preferpd: 1; + __u8 routeraddr: 1; + __u8 autoconf: 1; + __u8 onlink: 1; + }; + }; __be32 valid; __be32 prefered; __be32 reserved2; @@ -43259,11 +45636,10 @@ struct print_entry { }; struct printf_spec { - unsigned int type: 8; - int field_width: 24; - unsigned int flags: 8; - unsigned int base: 8; - int precision: 16; + unsigned char flags; + unsigned char base; + short int precision; + int field_width; }; struct printk_buffers { @@ -43271,30 +45647,6 @@ struct printk_buffers { char scratchbuf[0]; }; -struct printk_info { - u64 seq; - u64 ts_nsec; - u16 text_len; - u8 facility; - u8 flags: 5; - u8 level: 3; - u32 caller_id; - struct dev_printk_info dev_info; -}; - -struct printk_message { - struct printk_buffers *pbufs; - unsigned int outbuf_len; - u64 seq; - long unsigned int dropped; -}; - -struct printk_record { - struct printk_info *info; - char *text_buf; - unsigned int text_buf_size; -}; - struct privflags_reply_data { struct ethnl_reply_data base; const char (*priv_flag_names)[32]; @@ -43325,6 +45677,11 @@ struct probe_arg { const struct fetch_type *type; }; +struct probe_entry_arg { + struct fetch_insn *code; + unsigned int size; +}; + struct proc_ns_operations { const char *name; const char *real_ns_name; @@ -43390,25 +45747,10 @@ struct property { struct property *next; }; -struct property_entry { - const char *name; - size_t length; - bool is_inline; - enum dev_prop_type type; - union { - const void *pointer; - union { - u8 u8_data[8]; - u16 u16_data[4]; - u32 u32_data[2]; - u64 u64_data[1]; - const char *str[1]; - } value; - }; -}; - struct smc_hashinfo; +struct proto_accept_arg; + struct sk_psock; struct timewait_sock_ops; @@ -43420,7 +45762,7 @@ struct proto { int (*pre_connect)(struct sock *, struct sockaddr *, int); int (*connect)(struct sock *, struct sockaddr *, int); int (*disconnect)(struct sock *, int); - struct sock * (*accept)(struct sock *, int, int *, bool); + struct sock * (*accept)(struct sock *, struct proto_accept_arg *); int (*ioctl)(struct sock *, int, int *); int (*init)(struct sock *); void (*destroy)(struct sock *); @@ -43478,6 +45820,13 @@ struct proto { int (*diag_destroy)(struct sock *, int); }; +struct proto_accept_arg { + int flags; + int err; + int is_empty; + bool kern; +}; + typedef int (*sk_read_actor_t)(read_descriptor_t *, struct sk_buff *, unsigned int, size_t); typedef int (*skb_read_actor_t)(struct sock *, struct sk_buff *); @@ -43489,7 +45838,7 @@ struct proto_ops { int (*bind)(struct socket *, struct sockaddr *, int); int (*connect)(struct socket *, struct sockaddr *, int, int); int (*socketpair)(struct socket *, struct socket *); - int (*accept)(struct socket *, struct socket *, int, bool); + int (*accept)(struct socket *, struct socket *, struct proto_accept_arg *); int (*getname)(struct socket *, struct sockaddr *, int); __poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *); int (*ioctl)(struct socket *, unsigned int, long unsigned int); @@ -43538,17 +45887,13 @@ struct psched_ratecfg { }; struct pse_control_config { - enum ethtool_podl_pse_admin_state admin_cotrol; -}; - -struct pse_control_status { - enum ethtool_podl_pse_admin_state podl_admin_state; - enum ethtool_podl_pse_pw_d_status podl_pw_status; + enum ethtool_podl_pse_admin_state podl_admin_control; + enum ethtool_c33_pse_admin_state c33_admin_control; }; struct pse_reply_data { struct ethnl_reply_data base; - struct pse_control_status status; + struct ethtool_pse_control_status status; }; struct super_operations; @@ -43557,7 +45902,8 @@ struct xattr_handler; struct pseudo_fs_context { const struct super_operations *ops; - const struct xattr_handler **xattr; + const struct export_operations *eops; + const struct xattr_handler * const *xattr; const struct dentry_operations *dops; long unsigned int magic; }; @@ -43579,6 +45925,7 @@ struct ptdesc { }; long unsigned int __page_mapping; union { + long unsigned int pt_index; struct mm_struct *pt_mm; atomic_t pt_frag_refcount; }; @@ -43587,7 +45934,7 @@ struct ptdesc { spinlock_t ptl; }; unsigned int __page_type; - atomic_t _refcount; + atomic_t __page_refcount; }; struct ptp_header { @@ -43715,12 +46062,9 @@ struct qdisc_walker { int (*fn)(struct Qdisc *, long unsigned int, struct qdisc_walker *); }; -struct qnode { - struct mcs_spinlock mcs; -}; - struct queue_limits { - enum blk_bounce bounce; + blk_features_t features; + blk_flags_t flags; long unsigned int seg_boundary_mask; long unsigned int virt_boundary_mask; unsigned int max_hw_sectors; @@ -43729,6 +46073,7 @@ struct queue_limits { unsigned int max_sectors; unsigned int max_user_sectors; unsigned int max_segment_size; + unsigned int min_segment_size; unsigned int physical_block_size; unsigned int logical_block_size; unsigned int alignment_offset; @@ -43736,20 +46081,30 @@ struct queue_limits { unsigned int io_opt; unsigned int max_discard_sectors; unsigned int max_hw_discard_sectors; + unsigned int max_user_discard_sectors; unsigned int max_secure_erase_sectors; unsigned int max_write_zeroes_sectors; + unsigned int max_hw_zone_append_sectors; unsigned int max_zone_append_sectors; unsigned int discard_granularity; unsigned int discard_alignment; unsigned int zone_write_granularity; + unsigned int atomic_write_hw_max; + unsigned int atomic_write_max_sectors; + unsigned int atomic_write_hw_boundary; + unsigned int atomic_write_boundary_sectors; + unsigned int atomic_write_hw_unit_min; + unsigned int atomic_write_unit_min; + unsigned int atomic_write_hw_unit_max; + unsigned int atomic_write_unit_max; short unsigned int max_segments; short unsigned int max_integrity_segments; short unsigned int max_discard_segments; - unsigned char misaligned; - unsigned char discard_misaligned; - unsigned char raid_partial_stripes_expensive; - enum blk_zoned_model zoned; + unsigned int max_open_zones; + unsigned int max_active_zones; unsigned int dma_alignment; + unsigned int dma_pad_mask; + struct blk_integrity integrity; }; struct quota_format_ops { @@ -43821,6 +46176,14 @@ struct ramfs_fs_info { struct ramfs_mount_opts mount_opts; }; +struct range_node { + struct rb_node rn_rbnode; + struct rb_node rb_range_size; + u32 rn_start; + u32 rn_last; + u32 __rn_subtree_last; +}; + struct rate_sample { u64 prior_mstamp; u32 prior_delivered; @@ -43846,8 +46209,8 @@ struct ratelimit_state { int burst; int printed; int missed; + unsigned int flags; long unsigned int begin; - long unsigned int flags; }; struct raw6_frag_vec { @@ -43882,13 +46245,6 @@ struct raw_frag_vec { struct raw_hashinfo { spinlock_t lock; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; struct hlist_head ht[256]; }; @@ -43918,30 +46274,40 @@ struct rb_irq_work { struct irq_work work; wait_queue_head_t waiters; wait_queue_head_t full_waiters; - long int wait_index; + atomic_t seq; bool waiters_pending; bool full_waiters_pending; bool wakeup_full; }; +struct rb_list { + struct rb_root root; + struct list_head head; + spinlock_t lock; +}; + struct rb_time_struct { local64_t time; }; typedef struct rb_time_struct rb_time_t; +struct rb_wait_data { + struct rb_irq_work *irq_work; + int seq; +}; + struct rcu_cblist { struct callback_head *head; struct callback_head **tail; long int len; }; -union rcu_noqs { - struct { - u8 norm; - u8 exp; - } b; - u16 s; +struct rcu_ctrlblk { + struct callback_head *rcucblist; + struct callback_head **donetail; + struct callback_head **curtail; + long unsigned int gp_seq; }; struct rcu_segcblist { @@ -43953,142 +46319,6 @@ struct rcu_segcblist { u8 flags; }; -struct rcu_snap_record { - long unsigned int gp_seq; - u64 cputime_irq; - u64 cputime_softirq; - u64 cputime_system; - long unsigned int nr_hardirqs; - unsigned int nr_softirqs; - long long unsigned int nr_csw; - long unsigned int jiffies; -}; - -struct rcu_node; - -struct rcu_data { - long unsigned int gp_seq; - long unsigned int gp_seq_needed; - union rcu_noqs cpu_no_qs; - bool core_needs_qs; - bool beenonline; - bool gpwrap; - bool cpu_started; - struct rcu_node *mynode; - long unsigned int grpmask; - long unsigned int ticks_this_gp; - struct irq_work defer_qs_iw; - bool defer_qs_iw_pending; - struct work_struct strict_work; - struct rcu_segcblist cblist; - long int qlen_last_fqs_check; - long unsigned int n_cbs_invoked; - long unsigned int n_force_qs_snap; - long int blimit; - int dynticks_snap; - bool rcu_need_heavy_qs; - bool rcu_urgent_qs; - bool rcu_forced_tick; - bool rcu_forced_tick_exp; - long unsigned int barrier_seq_snap; - struct callback_head barrier_head; - int exp_dynticks_snap; - struct task_struct *rcu_cpu_kthread_task; - unsigned int rcu_cpu_kthread_status; - char rcu_cpu_has_work; - long unsigned int rcuc_activity; - unsigned int softirq_snap; - struct irq_work rcu_iw; - bool rcu_iw_pending; - long unsigned int rcu_iw_gp_seq; - long unsigned int rcu_ofl_gp_seq; - short int rcu_ofl_gp_flags; - long unsigned int rcu_onl_gp_seq; - short int rcu_onl_gp_flags; - long unsigned int last_fqs_resched; - long unsigned int last_sched_clock; - struct rcu_snap_record snap_record; - long int lazy_len; - int cpu; -}; - -struct rcu_exp_work { - long unsigned int rew_s; - struct work_struct rew_work; -}; - -struct rt_mutex_base { - raw_spinlock_t wait_lock; - struct rb_root_cached waiters; - struct task_struct *owner; -}; - -struct rt_mutex { - struct rt_mutex_base rtmutex; -}; - -struct rcu_node { - raw_spinlock_t lock; - long unsigned int gp_seq; - long unsigned int gp_seq_needed; - long unsigned int completedqs; - long unsigned int qsmask; - long unsigned int rcu_gp_init_mask; - long unsigned int qsmaskinit; - long unsigned int qsmaskinitnext; - long unsigned int expmask; - long unsigned int expmaskinit; - long unsigned int expmaskinitnext; - long unsigned int cbovldmask; - long unsigned int ffmask; - long unsigned int grpmask; - int grplo; - int grphi; - u8 grpnum; - u8 level; - bool wait_blkd_tasks; - struct rcu_node *parent; - struct list_head blkd_tasks; - struct list_head *gp_tasks; - struct list_head *exp_tasks; - struct list_head *boost_tasks; - struct rt_mutex boost_mtx; - long unsigned int boost_time; - struct mutex boost_kthread_mutex; - struct task_struct *boost_kthread_task; - unsigned int boost_kthread_status; - long unsigned int n_boosts; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - raw_spinlock_t fqslock; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - spinlock_t exp_lock; - long unsigned int exp_seq_rq; - wait_queue_head_t exp_wq[4]; - struct rcu_exp_work rew; - bool exp_need_flush; - raw_spinlock_t exp_poll_lock; - long unsigned int exp_seq_poll_rq; - struct work_struct exp_poll_wq; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; -}; - union rcu_special { struct { u8 blocked; @@ -44099,69 +46329,6 @@ union rcu_special { u32 s; }; -struct rcu_state { - struct rcu_node node[5]; - struct rcu_node *level[3]; - int ncpus; - int n_online_cpus; - long: 64; - long: 64; - long: 64; - long: 64; - long unsigned int gp_seq; - long unsigned int gp_max; - struct task_struct *gp_kthread; - struct swait_queue_head gp_wq; - short int gp_flags; - short int gp_state; - long unsigned int gp_wake_time; - long unsigned int gp_wake_seq; - long unsigned int gp_seq_polled; - long unsigned int gp_seq_polled_snap; - long unsigned int gp_seq_polled_exp_snap; - struct mutex barrier_mutex; - atomic_t barrier_cpu_count; - struct completion barrier_completion; - long unsigned int barrier_sequence; - raw_spinlock_t barrier_lock; - struct mutex exp_mutex; - struct mutex exp_wake_mutex; - long unsigned int expedited_sequence; - atomic_t expedited_need_qs; - struct swait_queue_head expedited_wq; - int ncpus_snap; - u8 cbovld; - u8 cbovldnext; - long unsigned int jiffies_force_qs; - long unsigned int jiffies_kick_kthreads; - long unsigned int n_force_qs; - long unsigned int gp_start; - long unsigned int gp_end; - long unsigned int gp_activity; - long unsigned int gp_req_activity; - long unsigned int jiffies_stall; - long unsigned int jiffies_resched; - long unsigned int n_force_qs_gpstart; - const char *name; - char abbr; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - arch_spinlock_t ofl_lock; - int nocb_is_setup; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; -}; - struct rcu_synchronize { struct callback_head head; struct completion completion; @@ -44208,7 +46375,9 @@ struct rcu_tasks { holdouts_func_t holdouts_func; postgp_func_t postgp_func; call_rcu_func_t call_func; + unsigned int wait_state; struct rcu_tasks_percpu *rtpcpu; + struct rcu_tasks_percpu **rtpcp_array; int percpu_enqueue_shift; int percpu_enqueue_lim; int percpu_dequeue_lim; @@ -44217,6 +46386,7 @@ struct rcu_tasks { atomic_t barrier_q_count; struct completion barrier_q_completion; long unsigned int barrier_q_seq; + long unsigned int barrier_q_start; char *name; char *kname; }; @@ -44232,7 +46402,9 @@ struct rcu_tasks_percpu { struct irq_work rtp_irq_work; struct callback_head barrier_q_head; struct list_head rtp_blkd_tasks; + struct list_head rtp_exit_list; int cpu; + int index; struct rcu_tasks *rtpp; }; @@ -44250,6 +46422,7 @@ struct readahead_control { long unsigned int _index; unsigned int _nr_pages; unsigned int _batch_count; + bool dropbehind; bool _workingset; long unsigned int _pflags; }; @@ -44272,6 +46445,7 @@ struct reclaim_stat { unsigned int nr_ref_keep; unsigned int nr_unmap_fail; unsigned int nr_lazyfree_fail; + unsigned int nr_demoted; }; struct reclaim_state { @@ -44350,7 +46524,7 @@ struct request { u64 io_start_time_ns; short unsigned int stats_sectors; short unsigned int nr_phys_segments; - short unsigned int ioprio; + short unsigned int nr_integrity_segments; enum mq_rq_state state; atomic_t ref; long unsigned int deadline; @@ -44382,57 +46556,58 @@ struct blk_queue_stats; struct rq_qos; struct request_queue { - struct request *last_merge; + void *queuedata; struct elevator_queue *elevator; - struct percpu_ref q_usage_counter; - struct blk_queue_stats *stats; - struct rq_qos *rq_qos; - struct mutex rq_qos_mutex; const struct blk_mq_ops *mq_ops; struct blk_mq_ctx *queue_ctx; + long unsigned int queue_flags; + unsigned int rq_timeout; unsigned int queue_depth; - struct xarray hctx_table; + refcount_t refs; unsigned int nr_hw_queues; - void *queuedata; - long unsigned int queue_flags; - atomic_t pm_only; - int id; + struct xarray hctx_table; + struct percpu_ref q_usage_counter; + struct lock_class_key io_lock_cls_key; + struct lockdep_map io_lockdep_map; + struct lock_class_key q_lock_cls_key; + struct lockdep_map q_lockdep_map; + struct request *last_merge; spinlock_t queue_lock; + int quiesce_depth; struct gendisk *disk; - refcount_t refs; struct kobject *mq_kobj; + struct queue_limits limits; + atomic_t pm_only; + struct blk_queue_stats *stats; + struct rq_qos *rq_qos; + struct mutex rq_qos_mutex; + int id; long unsigned int nr_requests; - unsigned int dma_pad_mask; - unsigned int rq_timeout; struct timer_list timeout; struct work_struct timeout_work; atomic_t nr_active_requests_shared_tags; struct blk_mq_tags *sched_shared_tags; struct list_head icq_list; - struct queue_limits limits; - unsigned int required_elevator_features; int node; - struct blk_flush_queue *fq; - struct list_head flush_list; - struct list_head requeue_list; spinlock_t requeue_lock; + struct list_head requeue_list; struct delayed_work requeue_work; + struct blk_flush_queue *fq; + struct list_head flush_list; struct mutex sysfs_lock; - struct mutex sysfs_dir_lock; + struct mutex limits_lock; struct list_head unused_hctx_list; spinlock_t unused_hctx_lock; int mq_freeze_depth; struct callback_head callback_head; wait_queue_head_t mq_freeze_wq; struct mutex mq_freeze_lock; - int quiesce_depth; struct blk_mq_tag_set *tag_set; struct list_head tag_set_list; struct dentry *debugfs_dir; struct dentry *sched_debugfs_dir; struct dentry *rqos_debugfs_dir; struct mutex debugfs_mutex; - bool mq_sysfs_init_done; }; struct request_sock__safe_rcu_or_null { @@ -44446,7 +46621,7 @@ struct request_sock_ops { char *slab_name; int (*rtx_syn_ack)(const struct sock *, struct request_sock *); void (*send_ack)(const struct sock *, struct sk_buff *, struct request_sock *); - void (*send_reset)(const struct sock *, struct sk_buff *); + void (*send_reset)(const struct sock *, struct sk_buff *, enum sk_rst_reason); void (*destructor)(struct request_sock *); void (*syn_ack_timeout)(const struct request_sock *); }; @@ -44459,12 +46634,17 @@ struct res_proc_context { int error; }; +struct reserve_mem_table { + char name[16]; + phys_addr_t start; + phys_addr_t size; +}; + struct reserved_mem_ops; struct reserved_mem { const char *name; long unsigned int fdt_node; - long unsigned int phandle; const struct reserved_mem_ops *ops; phys_addr_t base; phys_addr_t size; @@ -44476,11 +46656,13 @@ struct reserved_mem_ops { void (*device_release)(struct reserved_mem *, struct device *); }; +typedef resource_size_t (*resource_alignf)(void *, const struct resource *, resource_size_t, resource_size_t); + struct resource_constraint { resource_size_t min; resource_size_t max; resource_size_t align; - resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t); + resource_alignf alignf; void *alignf_data; }; @@ -44527,23 +46709,33 @@ struct restart_block { }; }; -typedef void (*rethook_handler_t)(struct rethook_node *, void *, long unsigned int, struct pt_regs *); - struct rethook { void *data; - rethook_handler_t handler; - struct freelist_head pool; - refcount_t ref; + void (*handler)(struct rethook_node *, void *, long unsigned int, struct pt_regs *); + struct objpool_head pool; struct callback_head rcu; }; +struct return_consumer { + __u64 cookie; + __u64 id; +}; + struct return_instance { - struct uprobe *uprobe; + struct hprobe hprobe; long unsigned int func; long unsigned int stack; long unsigned int orig_ret_vaddr; bool chained; + int cons_cnt; struct return_instance *next; + struct callback_head rcu; + struct return_consumer consumer; + struct return_consumer *extra_consumers; + long: 64; + long: 64; + long: 64; + long: 64; }; struct reuseport_array { @@ -44596,9 +46788,25 @@ struct ring_buffer_iter { u64 read_stamp; u64 page_stamp; struct ring_buffer_event *event; + size_t event_size; int missed_events; }; +struct ring_buffer_meta { + int magic; + int struct_size; + long unsigned int text_addr; + long unsigned int data_addr; + long unsigned int first_buffer; + long unsigned int head_buffer; + long unsigned int commit_buffer; + __u32 subbuf_size; + __u32 nr_subbufs; + int buffers[0]; +}; + +struct trace_buffer_meta; + struct ring_buffer_per_cpu { int cpu; atomic_t record_disabled; @@ -44611,6 +46819,7 @@ struct ring_buffer_per_cpu { long unsigned int nr_pages; unsigned int current_context; struct list_head *pages; + long unsigned int cnt; struct buffer_page *head_page; struct buffer_page *tail_page; struct buffer_page *commit_page; @@ -44637,6 +46846,12 @@ struct ring_buffer_per_cpu { u64 event_stamp[5]; u64 read_stamp; long unsigned int pages_removed; + unsigned int mapped; + unsigned int user_mapped; + struct mutex mapping_lock; + long unsigned int *subbuf_ids; + struct trace_buffer_meta *meta_page; + struct ring_buffer_meta *ring_meta; long int nr_pages_to_update; struct list_head new_pages; struct work_struct update_pages_work; @@ -44662,7 +46877,7 @@ struct rmap_walk_control { bool contended; bool (*rmap_one)(struct folio *, struct vm_area_struct *, long unsigned int, void *); int (*done)(struct folio *); - struct anon_vma * (*anon_lock)(struct folio *, struct rmap_walk_control *); + struct anon_vma * (*anon_lock)(const struct folio *, struct rmap_walk_control *); bool (*invalid_vma)(struct vm_area_struct *, void *); }; @@ -44684,31 +46899,6 @@ struct root_device { struct module *owner; }; -struct root_domain { - atomic_t refcount; - atomic_t rto_count; - struct callback_head rcu; - cpumask_var_t span; - cpumask_var_t online; - int overload; - int overutilized; - cpumask_var_t dlo_mask; - atomic_t dlo_count; - struct dl_bw dl_bw; - struct cpudl cpudl; - u64 visit_gen; - struct irq_work rto_push_work; - raw_spinlock_t rto_lock; - int rto_loop; - int rto_cpu; - atomic_t rto_loop_next; - atomic_t rto_loop_start; - cpumask_var_t rto_mask; - struct cpupri cpupri; - long unsigned int max_cpu_capacity; - struct perf_domain *pd; -}; - struct rt_prio_array { long unsigned int bitmap[2]; struct list_head queue[100]; @@ -44718,36 +46908,55 @@ struct rt_rq { struct rt_prio_array active; unsigned int rt_nr_running; unsigned int rr_nr_running; - struct { - int curr; - int next; - } highest_prio; - unsigned int rt_nr_migratory; - unsigned int rt_nr_total; - int overloaded; - struct plist_head pushable_tasks; int rt_queued; - int rt_throttled; - u64 rt_time; - u64 rt_runtime; - raw_spinlock_t rt_runtime_lock; +}; + +struct sched_dl_entity; + +typedef bool (*dl_server_has_tasks_f)(struct sched_dl_entity *); + +typedef struct task_struct * (*dl_server_pick_f)(struct sched_dl_entity *); + +struct sched_dl_entity { + struct rb_node rb_node; + u64 dl_runtime; + u64 dl_deadline; + u64 dl_period; + u64 dl_bw; + u64 dl_density; + s64 runtime; + u64 deadline; + unsigned int flags; + unsigned int dl_throttled: 1; + unsigned int dl_yielded: 1; + unsigned int dl_non_contending: 1; + unsigned int dl_overrun: 1; + unsigned int dl_server: 1; + unsigned int dl_server_active: 1; + unsigned int dl_defer: 1; + unsigned int dl_defer_armed: 1; + unsigned int dl_defer_running: 1; + struct hrtimer dl_timer; + struct hrtimer inactive_timer; + struct rq *rq; + dl_server_has_tasks_f server_has_tasks; + dl_server_pick_f server_pick_task; }; struct rq { raw_spinlock_t __lock; unsigned int nr_running; - unsigned int ttwu_pending; u64 nr_switches; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; struct cfs_rq cfs; struct rt_rq rt; struct dl_rq dl; + struct sched_dl_entity fair_server; unsigned int nr_uninterruptible; - struct task_struct *curr; + union { + struct task_struct *donor; + struct task_struct *curr; + }; + struct sched_dl_entity *dl_server; struct task_struct *idle; struct task_struct *stop; long unsigned int next_balance; @@ -44760,42 +46969,17 @@ struct rq { long: 64; long: 64; long: 64; - long: 64; u64 clock_task; u64 clock_pelt; long unsigned int lost_idle_time; u64 clock_pelt_idle; u64 clock_idle; atomic_t nr_iowait; - struct root_domain *rd; - struct sched_domain *sd; - long unsigned int cpu_capacity; - long unsigned int cpu_capacity_orig; - struct balance_callback *balance_callback; - unsigned char nohz_idle_balance; - unsigned char idle_balance; - long unsigned int misfit_task_load; - int active_balance; - int push_cpu; - struct cpu_stop_work active_balance_work; - int cpu; - int online; - struct list_head cfs_tasks; - long: 64; - struct sched_avg avg_rt; - struct sched_avg avg_dl; - u64 idle_stamp; - u64 avg_idle; - long unsigned int wake_stamp; - u64 wake_avg_idle; - u64 max_idle_balance_cost; long unsigned int calc_load_update; long int calc_load_active; - unsigned int nr_pinned; unsigned int push_busy; struct cpu_stop_work push_work; cpumask_var_t scratch_mask; - long: 64; }; struct rs_msg { @@ -44813,11 +46997,20 @@ struct rseq { char end[0]; }; +struct rss_nl_dump_ctx { + long unsigned int ifindex; + long unsigned int ctx_idx; + unsigned int match_ifindex; + unsigned int start_ctx; +}; + struct rss_reply_data { struct ethnl_reply_data base; + bool no_key_fields; u32 indir_size; u32 hkey_size; u32 hfunc; + u32 input_xfrm; u32 *indir_table; u8 *hkey; }; @@ -44885,14 +47078,6 @@ struct rt6_statistics { atomic_t fib_rt_alloc; }; -struct rt_bandwidth { - raw_spinlock_t rt_runtime_lock; - ktime_t rt_period; - u64 rt_runtime; - struct hrtimer rt_period_timer; - unsigned int rt_period_active; -}; - struct rt_cache_stat { unsigned int in_slow_tot; unsigned int in_slow_mc; @@ -44904,8 +47089,6 @@ struct rt_cache_stat { unsigned int out_slow_mc; }; -typedef struct rt_rq *rt_rq_iter_t; - struct siginfo { union { struct { @@ -45045,6 +47228,7 @@ struct rtnexthop { struct rtnl_af_ops { struct list_head list; + struct srcu_struct srcu; int family; int (*fill_link_af)(struct sk_buff *, const struct net_device *, u32); size_t (*get_link_af_size)(const struct net_device *, u32); @@ -45077,11 +47261,13 @@ struct rtnl_link_ifmap { struct rtnl_link_ops { struct list_head list; + struct srcu_struct srcu; const char *kind; size_t priv_size; struct net_device * (*alloc)(struct nlattr **, const char *, unsigned char, unsigned int, unsigned int); void (*setup)(struct net_device *); bool netns_refund; + const u16 peer_type; unsigned int maxtype; const struct nla_policy *policy; int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *); @@ -45092,8 +47278,8 @@ struct rtnl_link_ops { int (*fill_info)(struct sk_buff *, const struct net_device *); size_t (*get_xstats_size)(const struct net_device *); int (*fill_xstats)(struct sk_buff *, const struct net_device *); - unsigned int (*get_num_tx_queues)(); - unsigned int (*get_num_rx_queues)(); + unsigned int (*get_num_tx_queues)(void); + unsigned int (*get_num_rx_queues)(void); unsigned int slave_maxtype; const struct nla_policy *slave_policy; int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *); @@ -45163,6 +47349,15 @@ struct rtnl_mdb_dump_ctx { long int idx; }; +struct rtnl_msg_handler { + struct module *owner; + int protocol; + int msgtype; + rtnl_doit_func doit; + rtnl_dumpit_func dumpit; + int flags; +}; + struct rtnl_net_dump_cb { struct net *tgt_net; struct net *ref_net; @@ -45172,8 +47367,14 @@ struct rtnl_net_dump_cb { int s_idx; }; +struct rtnl_nets { + struct net *net[3]; + unsigned char len; +}; + struct rtnl_newlink_tbs { - struct nlattr *tb[65]; + struct nlattr *tb[67]; + struct nlattr *linkinfo[6]; struct nlattr *attr[51]; struct nlattr *slave_attr[45]; }; @@ -45211,6 +47412,8 @@ struct rusage { __kernel_long_t ru_nivcsw; }; +typedef struct rw_semaphore *class_rwsem_read_t; + struct rwsem_waiter { struct list_head list; struct task_struct *task; @@ -45219,17 +47422,12 @@ struct rwsem_waiter { bool handoff_set; }; -struct s_data { - struct sched_domain **sd; - struct root_domain *rd; -}; - struct saved_cmdlines_buffer { - unsigned int map_pid_to_cmdline[4097]; + unsigned int map_pid_to_cmdline[32769]; unsigned int *map_cmdline_to_pid; unsigned int cmdline_num; int cmdline_idx; - char *saved_cmdlines; + char saved_cmdlines[0]; }; struct saved_syn { @@ -45241,36 +47439,19 @@ struct saved_syn { struct sb_writers { short unsigned int frozen; - short unsigned int freeze_holders; + int freeze_kcount; + int freeze_ucount; struct percpu_rw_semaphore rw_sem[3]; }; struct sbitmap_word { long unsigned int word; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; long unsigned int cleared; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; + raw_spinlock_t swap_lock; }; struct sbq_wait_state { wait_queue_head_t wait; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct scan_control { @@ -45285,9 +47466,12 @@ struct scan_control { unsigned int may_writepage: 1; unsigned int may_unmap: 1; unsigned int may_swap: 1; + unsigned int no_cache_trim_mode: 1; + unsigned int cache_trim_mode_failed: 1; unsigned int proactive: 1; unsigned int memcg_low_reclaim: 1; unsigned int memcg_low_skipped: 1; + unsigned int memcg_full_walk: 1; unsigned int hibernation_mode: 1; unsigned int compaction_ready: 1; unsigned int cache_trim_mode: 1; @@ -45337,121 +47521,38 @@ struct sched_attr { struct sched_class { void (*enqueue_task)(struct rq *, struct task_struct *, int); - void (*dequeue_task)(struct rq *, struct task_struct *, int); + bool (*dequeue_task)(struct rq *, struct task_struct *, int); void (*yield_task)(struct rq *); bool (*yield_to_task)(struct rq *, struct task_struct *); - void (*check_preempt_curr)(struct rq *, struct task_struct *, int); - struct task_struct * (*pick_next_task)(struct rq *); - void (*put_prev_task)(struct rq *, struct task_struct *); - void (*set_next_task)(struct rq *, struct task_struct *, bool); + void (*wakeup_preempt)(struct rq *, struct task_struct *, int); int (*balance)(struct rq *, struct task_struct *, struct rq_flags *); - int (*select_task_rq)(struct task_struct *, int, int); struct task_struct * (*pick_task)(struct rq *); - void (*migrate_task_rq)(struct task_struct *, int); - void (*task_woken)(struct rq *, struct task_struct *); - void (*set_cpus_allowed)(struct task_struct *, struct affinity_context *); - void (*rq_online)(struct rq *); - void (*rq_offline)(struct rq *); - struct rq * (*find_lock_rq)(struct task_struct *, struct rq *); + struct task_struct * (*pick_next_task)(struct rq *, struct task_struct *); + void (*put_prev_task)(struct rq *, struct task_struct *, struct task_struct *); + void (*set_next_task)(struct rq *, struct task_struct *, bool); void (*task_tick)(struct rq *, struct task_struct *, int); void (*task_fork)(struct task_struct *); void (*task_dead)(struct task_struct *); + void (*switching_to)(struct rq *, struct task_struct *); void (*switched_from)(struct rq *, struct task_struct *); void (*switched_to)(struct rq *, struct task_struct *); + void (*reweight_task)(struct rq *, struct task_struct *, const struct load_weight *); void (*prio_changed)(struct rq *, struct task_struct *, int); unsigned int (*get_rr_interval)(struct rq *, struct task_struct *); void (*update_curr)(struct rq *); }; -struct sched_dl_entity { - struct rb_node rb_node; - u64 dl_runtime; - u64 dl_deadline; - u64 dl_period; - u64 dl_bw; - u64 dl_density; - s64 runtime; - u64 deadline; - unsigned int flags; - unsigned int dl_throttled: 1; - unsigned int dl_yielded: 1; - unsigned int dl_non_contending: 1; - unsigned int dl_overrun: 1; - struct hrtimer dl_timer; - struct hrtimer inactive_timer; -}; - -struct sched_group; - -struct sched_domain_shared; - -struct sched_domain { - struct sched_domain *parent; - struct sched_domain *child; - struct sched_group *groups; - long unsigned int min_interval; - long unsigned int max_interval; - unsigned int busy_factor; - unsigned int imbalance_pct; - unsigned int cache_nice_tries; - unsigned int imb_numa_nr; - int nohz_idle; - int flags; - int level; - long unsigned int last_balance; - unsigned int balance_interval; - unsigned int nr_balance_failed; - u64 max_newidle_lb_cost; - long unsigned int last_decay_max_lb_cost; - u64 avg_scan_cost; - union { - void *private; - struct callback_head rcu; - }; - struct sched_domain_shared *shared; - unsigned int span_weight; - long unsigned int span[0]; -}; - -struct sched_domain_attr { - int relax_domain_level; -}; - -struct sched_domain_shared { - atomic_t ref; - atomic_t nr_busy_cpus; - int has_idle_cores; - int nr_idle_scan; -}; - -typedef const struct cpumask * (*sched_domain_mask_f)(int); - -typedef int (*sched_domain_flags_f)(); - -struct sched_group_capacity; - -struct sd_data { - struct sched_domain **sd; - struct sched_domain_shared **sds; - struct sched_group **sg; - struct sched_group_capacity **sgc; -}; - -struct sched_domain_topology_level { - sched_domain_mask_f mask; - sched_domain_flags_f sd_flags; - int flags; - int numa_level; - struct sd_data data; -}; - struct sched_entity { struct load_weight load; struct rb_node run_node; u64 deadline; - u64 min_deadline; + u64 min_vruntime; + u64 min_slice; struct list_head group_node; - unsigned int on_rq; + unsigned char on_rq; + unsigned char sched_delayed; + unsigned char rel_deadline; + unsigned char custom_slice; u64 exec_start; u64 sum_exec_runtime; u64 prev_sum_exec_runtime; @@ -45459,35 +47560,6 @@ struct sched_entity { s64 vlag; u64 slice; u64 nr_migrations; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - struct sched_avg avg; -}; - -struct sched_group { - struct sched_group *next; - atomic_t ref; - unsigned int group_weight; - unsigned int cores; - struct sched_group_capacity *sgc; - int asym_prefer_cpu; - int flags; - long unsigned int cpumask[0]; -}; - -struct sched_group_capacity { - atomic_t ref; - long unsigned int capacity; - long unsigned int min_capacity; - long unsigned int max_capacity; - long unsigned int next_update; - int imbalance; - long unsigned int cpumask[0]; }; struct sched_info {}; @@ -45518,11 +47590,17 @@ struct scm_cookie { struct scm_fp_list { short int count; + short int count_unix; short int max; struct user_struct *user; struct file *fp[253]; }; +struct scm_stat { + atomic_t nr_fds; + long unsigned int nr_unix_fds; +}; + struct scm_timestamping { struct __kernel_old_timespec ts[3]; }; @@ -45541,78 +47619,12 @@ struct scm_ts_pktinfo { __u32 reserved[2]; }; -struct screen_info { - __u8 orig_x; - __u8 orig_y; - __u16 ext_mem_k; - __u16 orig_video_page; - __u8 orig_video_mode; - __u8 orig_video_cols; - __u8 flags; - __u8 unused2; - __u16 orig_video_ega_bx; - __u16 unused3; - __u8 orig_video_lines; - __u8 orig_video_isVGA; - __u16 orig_video_points; - __u16 lfb_width; - __u16 lfb_height; - __u16 lfb_depth; - __u32 lfb_base; - __u32 lfb_size; - __u16 cl_magic; - __u16 cl_offset; - __u16 lfb_linelength; - __u8 red_size; - __u8 red_pos; - __u8 green_size; - __u8 green_pos; - __u8 blue_size; - __u8 blue_pos; - __u8 rsvd_size; - __u8 rsvd_pos; - __u16 vesapm_seg; - __u16 vesapm_off; - __u16 pages; - __u16 vesa_attributes; - __u32 capabilities; - __u32 ext_lfb_base; - __u8 _reserved[2]; -} __attribute__((packed)); - struct sctx_info { __u32 magic; __u32 size; __u64 padding; }; -struct sg_lb_stats { - long unsigned int avg_load; - long unsigned int group_load; - long unsigned int group_capacity; - long unsigned int group_util; - long unsigned int group_runnable; - unsigned int sum_nr_running; - unsigned int sum_h_nr_running; - unsigned int idle_cpus; - unsigned int group_weight; - enum group_type group_type; - unsigned int group_asym_packing; - unsigned int group_smt_balance; - long unsigned int group_misfit_task_load; -}; - -struct sd_lb_stats { - struct sched_group *busiest; - struct sched_group *local; - long unsigned int total_load; - long unsigned int total_capacity; - long unsigned int avg_load; - unsigned int prefer_sibling; - struct sg_lb_stats busiest_stat; - struct sg_lb_stats local_stat; -}; - struct xfrm_offload { struct { __u32 low; @@ -45620,6 +47632,7 @@ struct xfrm_offload { } seq; __u32 flags; __u32 status; + __u32 orig_mac_len; __u8 proto; __u8 inner_ipproto; }; @@ -45643,11 +47656,6 @@ struct seccomp_data { __u64 args[6]; }; -struct secondary_data { - long unsigned int stack; - long unsigned int thread_info; -}; - struct seg6_pernet_data { struct mutex lock; struct in6_addr *tun_src; @@ -45685,21 +47693,8 @@ struct send_signal_irq_work { struct task_struct *task; u32 sig; enum pid_type type; -}; - -struct seq_file { - char *buf; - size_t size; - size_t from; - size_t count; - size_t pad_until; - loff_t index; - loff_t read_pos; - struct mutex lock; - const struct seq_operations *op; - int poll_event; - const struct file *file; - void *private; + bool has_siginfo; + struct kernel_siginfo info; }; struct seq_operations { @@ -45709,6 +47704,12 @@ struct seq_operations { int (*show)(struct seq_file *, void *); }; +struct seqcount_rwlock { + seqcount_t seqcount; +}; + +typedef struct seqcount_rwlock seqcount_rwlock_t; + struct serial_icounter_struct { int cts; int dsr; @@ -45745,12 +47746,18 @@ struct serial_struct { long unsigned int iomap_base; }; -struct set_affinity_pending { - refcount_t refs; - unsigned int stop_pending; - struct completion done; - struct cpu_stop_work stop_work; - struct migration_arg arg; +struct set_event_iter { + enum set_event_iter_type type; + union { + struct trace_event_file *file; + struct event_mod_load *event_mod; + }; +}; + +struct sg_table { + struct scatterlist *sgl; + unsigned int nents; + unsigned int orig_nents; }; struct sg_append_table { @@ -45781,20 +47788,6 @@ struct sg_mapping_iter { unsigned int __flags; }; -struct shmid_ds { - struct ipc_perm shm_perm; - int shm_segsz; - __kernel_old_time_t shm_atime; - __kernel_old_time_t shm_dtime; - __kernel_old_time_t shm_ctime; - __kernel_ipc_pid_t shm_cpid; - __kernel_ipc_pid_t shm_lpid; - short unsigned int shm_nattch; - short unsigned int shm_unused; - void *shm_unused2; - void *shm_unused3; -}; - struct shrink_control { gfp_t gfp_mask; int nid; @@ -45809,6 +47802,10 @@ struct shrinker { long int batch; int seeks; unsigned int flags; + refcount_t refcount; + struct completion done; + struct callback_head rcu; + void *private_data; struct list_head list; atomic_long_t *nr_deferred; }; @@ -46001,6 +47998,7 @@ struct sk_psock { struct mutex work_mutex; struct sk_psock_work_state work_state; struct delayed_work work; + struct sock *sk_pair; struct rcu_work rwork; }; @@ -46027,6 +48025,14 @@ struct skb_checksum_ops { __wsum (*combine)(__wsum, __wsum, int, int); }; +struct skb_frag { + netmem_ref netmem; + unsigned int len; + unsigned int offset; +}; + +typedef struct skb_frag skb_frag_t; + struct skb_free_array { unsigned int skb_count; void *skb_array[16]; @@ -46060,6 +48066,10 @@ struct skb_shared_hwtstamps { }; }; +struct xsk_tx_metadata_compl { + __u64 *tx_timestamp; +}; + struct skb_shared_info { __u8 flags; __u8 meta_len; @@ -46068,12 +48078,20 @@ struct skb_shared_info { short unsigned int gso_size; short unsigned int gso_segs; struct sk_buff *frag_list; - struct skb_shared_hwtstamps hwtstamps; + union { + struct skb_shared_hwtstamps hwtstamps; + struct xsk_tx_metadata_compl xsk_meta; + }; unsigned int gso_type; u32 tskey; atomic_t dataref; - unsigned int xdp_frags_size; - void *destructor_arg; + union { + struct { + u32 xdp_frags_size; + u32 xdp_frags_truesize; + }; + void *destructor_arg; + }; skb_frag_t frags[17]; }; @@ -46101,19 +48119,10 @@ struct slab { }; struct callback_head callback_head; }; - unsigned int __unused; + unsigned int __page_type; atomic_t __page_refcount; }; -struct smp_call_on_cpu_struct { - struct work_struct work; - struct completion done; - int (*func)(void *); - void *data; - int ret; - int cpu; -}; - struct smp_hotplug_thread { struct task_struct **store; struct list_head list; @@ -46139,13 +48148,24 @@ struct so_timestamping { int bind_phc; }; +struct sock_bh_locked { + struct sock *sock; + local_lock_t bh_lock; +}; + struct sock_diag_handler { + struct module *owner; __u8 family; int (*dump)(struct sk_buff *, struct nlmsghdr *); int (*get_info)(struct sk_buff *, struct sock *); int (*destroy)(struct sk_buff *, struct nlmsghdr *); }; +struct sock_diag_inet_compat { + struct module *owner; + int (*fn)(struct sk_buff *, struct nlmsghdr *); +}; + struct sock_diag_req { __u8 sdiag_family; __u8 sdiag_protocol; @@ -46241,12 +48261,16 @@ struct sockaddr_nl { __u32 nl_groups; }; +struct sockaddr_un { + __kernel_sa_family_t sun_family; + char sun_path[108]; +}; + struct socket_wq { wait_queue_head_t wait; struct fasync_struct *fasync_list; long unsigned int flags; struct callback_head rcu; - long: 64; }; struct socket { @@ -46256,45 +48280,44 @@ struct socket { struct file *file; struct sock *sk; const struct proto_ops *ops; - long: 64; - long: 64; - long: 64; struct socket_wq wq; }; -struct socket__safe_trusted { +struct socket__safe_trusted_or_null { struct sock *sk; }; struct socket_alloc { struct socket socket; struct inode vfs_inode; - long: 64; +}; + +struct sockmap_link { + struct bpf_link link; + struct bpf_map *map; + enum bpf_attach_type attach_type; }; struct softirq_action { - void (*action)(struct softirq_action *); + void (*action)(void); }; struct softnet_data { struct list_head poll_list; struct sk_buff_head process_queue; + local_lock_t process_queue_bh_lock; unsigned int processed; unsigned int time_squeeze; + unsigned int received_rps; bool in_net_rx_action; bool in_napi_threaded_poll; struct Qdisc *output_queue; struct Qdisc **output_queue_tailp; struct sk_buff *completion_queue; - struct { - u16 recursion; - u8 more; - u8 skip_txqueue; - } xmit; - unsigned int received_rps; - unsigned int dropped; + struct netdev_xmit xmit; struct sk_buff_head input_pkt_queue; struct napi_struct backlog; + atomic_t dropped; spinlock_t defer_lock; int defer_count; int defer_ipi_scheduled; @@ -46309,12 +48332,6 @@ struct software_node { const struct property_entry *properties; }; -struct software_node_ref_args { - const struct software_node *node; - unsigned int nargs; - u64 args[8]; -}; - struct space_resv { __s16 l_type; __s16 l_whence; @@ -46356,43 +48373,6 @@ struct sr6_tlv { __u8 data[0]; }; -struct srcu_data { - atomic_long_t srcu_lock_count[2]; - atomic_long_t srcu_unlock_count[2]; - int srcu_nmi_safety; - long: 64; - long: 64; - long: 64; - spinlock_t lock; - struct rcu_segcblist srcu_cblist; - long unsigned int srcu_gp_seq_needed; - long unsigned int srcu_gp_seq_needed_exp; - bool srcu_cblist_invoking; - struct timer_list delay_work; - struct work_struct work; - struct callback_head srcu_barrier_head; - struct srcu_node *mynode; - long unsigned int grpmask; - int cpu; - struct srcu_struct *ssp; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; -}; - -struct srcu_node { - spinlock_t lock; - long unsigned int srcu_have_cbs[4]; - long unsigned int srcu_data_have_cbs[4]; - long unsigned int srcu_gp_seq_needed_exp; - struct srcu_node *srcu_parent; - int grplo; - int grphi; -}; - struct stack_entry { struct trace_entry ent; int size; @@ -46425,6 +48405,34 @@ struct stacktrace_cookie { unsigned int len; }; +struct stashed_operations { + void (*put_data)(void *); + int (*init_inode)(struct inode *, void *); +}; + +struct stat { + long unsigned int st_dev; + long unsigned int st_ino; + unsigned int st_mode; + unsigned int st_nlink; + unsigned int st_uid; + unsigned int st_gid; + long unsigned int st_rdev; + long unsigned int __pad1; + long int st_size; + int st_blksize; + int __pad2; + long int st_blocks; + long int st_atime; + long unsigned int st_atime_nsec; + long int st_mtime; + long unsigned int st_mtime_nsec; + long int st_ctime; + long unsigned int st_ctime_nsec; + unsigned int __unused4; + unsigned int __unused5; +}; + struct stat_node { struct rb_node node; void *stat; @@ -46498,12 +48506,14 @@ struct stats_reply_data { struct ethtool_eth_mac_stats mac_stats; struct ethtool_eth_ctrl_stats ctrl_stats; struct ethtool_rmon_stats rmon_stats; + struct ethtool_phy_stats phydev_stats; }; struct { struct ethtool_eth_phy_stats phy_stats; struct ethtool_eth_mac_stats mac_stats; struct ethtool_eth_ctrl_stats ctrl_stats; struct ethtool_rmon_stats rmon_stats; + struct ethtool_phy_stats phydev_stats; } stats; }; const struct ethtool_rmon_hist_range *rmon_ranges; @@ -46545,7 +48555,12 @@ struct statx { __u64 stx_mnt_id; __u32 stx_dio_mem_align; __u32 stx_dio_offset_align; - __u64 __spare3[12]; + __u64 stx_subvol; + __u32 stx_atomic_write_unit_min; + __u32 stx_atomic_write_unit_max; + __u32 stx_atomic_write_segments_max; + __u32 stx_dio_read_offset_align; + __u64 __spare3[9]; }; struct stop_event_data { @@ -46567,7 +48582,7 @@ struct strset_info { struct strset_reply_data { struct ethnl_reply_data base; - struct strset_info sets[21]; + struct strset_info sets[23]; }; struct strset_req_info { @@ -46596,7 +48611,7 @@ struct subsys_dev_iter { struct subsys_interface { const char *name; - struct bus_type *subsys; + const struct bus_type *subsys; struct list_head node; int (*add_dev)(struct device *, struct subsys_interface *); void (*remove_dev)(struct device *, struct subsys_interface *); @@ -46639,10 +48654,11 @@ struct super_block { struct rw_semaphore s_umount; int s_count; atomic_t s_active; - const struct xattr_handler **s_xattr; + const struct xattr_handler * const *s_xattr; struct hlist_bl_head s_roots; struct list_head s_mounts; struct block_device *s_bdev; + struct file *s_bdev_file; struct backing_dev_info *s_bdi; struct mtd_info *s_mtd; struct hlist_node s_instances; @@ -46655,13 +48671,14 @@ struct super_block { time64_t s_time_max; char s_id[32]; uuid_t s_uuid; + u8 s_uuid_len; + char s_sysfs_name[37]; unsigned int s_max_links; struct mutex s_vfs_rename_mutex; const char *s_subtype; const struct dentry_operations *s_d_op; - struct shrinker s_shrink; + struct shrinker *s_shrink; atomic_long_t s_remove_count; - atomic_long_t s_fsnotify_connectors; int s_readonly_remount; errseq_t s_wb_err; struct workqueue_struct *s_dio_done_wq; @@ -46673,15 +48690,10 @@ struct super_block { struct work_struct destroy_work; struct mutex s_sync_lock; int s_stack_depth; - long: 64; - long: 64; - long: 64; spinlock_t s_inode_list_lock; struct list_head s_inodes; spinlock_t s_inode_wblist_lock; struct list_head s_inodes_wb; - long: 64; - long: 64; }; struct super_operations { @@ -46712,8 +48724,9 @@ struct super_operations { struct supplier_bindings { struct device_node * (*parse_prop)(struct device_node *, const char *, int); + struct device_node * (*get_con_dev)(struct device_node *); bool optional; - bool node_not_dev; + u8 fwlink_flags; }; struct swait_queue { @@ -46721,9 +48734,12 @@ struct swait_queue { struct list_head task_list; }; -struct swap_cluster_list { - struct swap_cluster_info head; - struct swap_cluster_info tail; +struct swap_cluster_info { + spinlock_t lock; + u16 count; + u8 flags; + u8 order; + struct list_head list; }; struct swap_info_struct { @@ -46734,25 +48750,27 @@ struct swap_info_struct { signed char type; unsigned int max; unsigned char *swap_map; + long unsigned int *zeromap; struct swap_cluster_info *cluster_info; - struct swap_cluster_list free_clusters; - unsigned int lowest_bit; - unsigned int highest_bit; + struct list_head free_clusters; + struct list_head full_clusters; + struct list_head nonfull_clusters[1]; + struct list_head frag_clusters[1]; + atomic_long_t frag_cluster_nr[1]; unsigned int pages; - unsigned int inuse_pages; - unsigned int cluster_next; - unsigned int cluster_nr; - unsigned int *cluster_next_cpu; + atomic_long_t inuse_pages; struct percpu_cluster *percpu_cluster; + struct percpu_cluster *global_cluster; + spinlock_t global_cluster_lock; struct rb_root swap_extent_root; struct block_device *bdev; struct file *swap_file; - unsigned int old_block_size; struct completion comp; spinlock_t lock; spinlock_t cont_lock; struct work_struct discard_work; - struct swap_cluster_list discard_clusters; + struct work_struct reclaim_work; + struct list_head discard_clusters; struct plist_node avail_lists[0]; }; @@ -46765,7 +48783,6 @@ struct swevent_htable { struct swevent_hlist *swevent_hlist; struct mutex hlist_mutex; int hlist_refcount; - int recursion[4]; }; struct swnode { @@ -46789,7 +48806,7 @@ struct sym_count_ctx { struct symsearch { const struct kernel_symbol *start; const struct kernel_symbol *stop; - const s32 *crcs; + const u32 *crcs; enum mod_license license; }; @@ -46797,6 +48814,7 @@ struct sys_off_data { int mode; void *cb_data; const char *cmd; + struct device *dev; }; struct sys_off_handler { @@ -46806,6 +48824,7 @@ struct sys_off_handler { enum sys_off_mode mode; bool blocking; void *list; + struct device *dev; }; struct syscall_info { @@ -46822,9 +48841,9 @@ struct syscall_user_dispatch { struct syscore_ops { struct list_head node; - int (*suspend)(); - void (*resume)(); - void (*shutdown)(); + int (*suspend)(void); + void (*resume)(void); + void (*shutdown)(void); }; struct sysfs_ops { @@ -46849,16 +48868,10 @@ struct sysinfo { char _f[0]; }; -struct sysrq_key_op { - void (* const handler)(u8); - const char * const help_msg; - const char * const action_msg; - const int enable_mask; -}; - struct system_counterval_t { u64 cycles; - struct clocksource *cs; + enum clocksource_ids cs_id; + bool use_nsecs; }; struct system_device_crosststamp { @@ -46870,6 +48883,7 @@ struct system_device_crosststamp { struct system_time_snapshot { u64 cycles; ktime_t real; + ktime_t boot; ktime_t raw; enum clocksource_ids cs_id; unsigned int clock_was_set_seq; @@ -46880,6 +48894,7 @@ struct taint_flag { char c_true; char c_false; bool module; + const char *desc; }; struct task_cputime { @@ -46894,6 +48909,10 @@ struct task_cputime_atomic { atomic64_t sum_exec_runtime; }; +typedef struct task_struct *class_find_get_task_t; + +typedef struct task_struct *class_task_lock_t; + struct wake_q_node { struct wake_q_node *next; }; @@ -46927,8 +48946,8 @@ struct thread_struct { long: 64; struct loongarch_fpu fpu; struct loongarch_lbt lbt; - struct perf_event *hbp_break[8]; - struct perf_event *hbp_watch[8]; + struct perf_event *hbp_break[14]; + struct perf_event *hbp_watch[14]; long: 64; }; @@ -46936,43 +48955,31 @@ struct uprobe_task; struct task_struct { unsigned int __state; + unsigned int saved_state; void *stack; refcount_t usage; unsigned int flags; unsigned int ptrace; - int on_cpu; - struct __call_single_node wake_entry; - unsigned int wakee_flips; - long unsigned int wakee_flip_decay_ts; - struct task_struct *last_wakee; - int recent_used_cpu; - int wake_cpu; int on_rq; int prio; int static_prio; int normal_prio; unsigned int rt_priority; - long: 64; - long: 64; - long: 64; struct sched_entity se; struct sched_rt_entity rt; struct sched_dl_entity dl; + struct sched_dl_entity *dl_server; const struct sched_class *sched_class; long: 64; long: 64; - long: 64; - long: 64; - long: 64; - long: 64; struct sched_statistics stats; unsigned int policy; + long unsigned int max_allowed_capacity; int nr_cpus_allowed; const cpumask_t *cpus_ptr; cpumask_t *user_cpus_ptr; cpumask_t cpus_mask; void *migration_pending; - short unsigned int migration_disabled; short unsigned int migration_flags; int trc_reader_nesting; int trc_ipi_to_cpu; @@ -46982,10 +48989,9 @@ struct task_struct { int trc_blkd_cpu; struct sched_info sched_info; struct list_head tasks; - struct plist_node pushable_tasks; - struct rb_node pushable_dl_tasks; struct mm_struct *mm; struct mm_struct *active_mm; + struct address_space *faults_disabled_mapping; int exit_state; int exit_code; int exit_signal; @@ -46995,7 +49001,8 @@ struct task_struct { unsigned int sched_reset_on_fork: 1; unsigned int sched_contributes_to_load: 1; unsigned int sched_migrated: 1; - long: 29; + unsigned int sched_task_hot: 1; + long: 28; unsigned int sched_remote_wakeup: 1; unsigned int in_execve: 1; unsigned int in_iowait: 1; @@ -47012,7 +49019,6 @@ struct task_struct { struct list_head ptrace_entry; struct pid *thread_pid; struct hlist_node pid_links[4]; - struct list_head thread_group; struct list_head thread_node; struct completion *vfork_done; int *set_child_tid; @@ -47062,6 +49068,7 @@ struct task_struct { long unsigned int ptrace_message; kernel_siginfo_t *last_siginfo; struct task_io_accounting ioac; + u8 perf_recursion[4]; struct perf_event_context *perf_event_ctxp; struct mutex perf_event_mutex; struct list_head perf_event_list; @@ -47075,8 +49082,9 @@ struct task_struct { u64 default_timer_slack_ns; int curr_ret_stack; int curr_ret_depth; - struct ftrace_ret_stack *ret_stack; + long unsigned int *ret_stack; long long unsigned int ftrace_timestamp; + long long unsigned int ftrace_sleeptime; atomic_t trace_overrun; atomic_t tracing_graph_pause; long unsigned int trace_recursion; @@ -47089,14 +49097,10 @@ struct task_struct { struct timer_list oom_reaper_timer; struct bpf_local_storage *bpf_storage; struct bpf_run_ctx *bpf_ctx; + struct bpf_net_context *bpf_net_context; struct llist_head kretprobe_instances; struct llist_head rethooks; - long: 64; struct thread_struct thread; - long: 64; - long: 64; - long: 64; - long: 64; }; struct task_struct__safe_rcu { @@ -47160,16 +49164,18 @@ struct tc_ratespec { struct tc_skb_cb { struct qdisc_skb_cb qdisc_cb; + u32 drop_reason; + u16 zone; u16 mru; u8 post_ct: 1; u8 post_ct_snat: 1; u8 post_ct_dnat: 1; - u16 zone; }; struct tcf_chain; struct tcf_block { + struct xarray ports; struct mutex lock; struct list_head chain_list; u32 index; @@ -47181,6 +49187,7 @@ struct tcf_block { struct flow_block flow_block; struct list_head owner_list; bool keep_dst; + atomic_t useswcnt; atomic_t offloadcnt; unsigned int nooffloaddevcnt; unsigned int lockeddevcnt; @@ -47228,6 +49235,8 @@ struct tcf_proto { struct tcf_chain *chain; spinlock_t lock; bool deleting; + bool counted; + bool usesw; refcount_t refcnt; struct callback_head rcu; struct hlist_node destroy_ht_node; @@ -47253,6 +49262,7 @@ struct tcf_proto_ops { void (*bind_class)(void *, u32, long unsigned int, void *, long unsigned int); void * (*tmplt_create)(struct net *, struct tcf_chain *, struct nlattr **, struct netlink_ext_ack *); void (*tmplt_destroy)(void *); + void (*tmplt_reoffload)(struct tcf_chain *, bool, flow_setup_cb_t *, void *); struct tcf_exts * (*get_exts)(const struct tcf_proto *, u32); int (*dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool); int (*terse_dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool); @@ -47331,17 +49341,6 @@ struct tcmsg { __u32 tcm_info; }; -struct tcp_rack { - u64 mstamp; - u32 rtt_us; - u32 end_seq; - u32 last_delivered; - u8 reo_wnd_steps; - u8 reo_wnd_persist: 5; - u8 dsack_seen: 1; - u8 advanced: 1; -}; - struct tcp_options_received { int ts_recent_stamp; u32 ts_recent; @@ -47362,6 +49361,17 @@ struct tcp_options_received { u16 mss_clamp; }; +struct tcp_rack { + u64 mstamp; + u32 rtt_us; + u32 end_seq; + u32 last_delivered; + u8 reo_wnd_steps; + u8 reo_wnd_persist: 5; + u8 dsack_seen: 1; + u8 advanced: 1; +}; + struct tcp_sack_block { u32 start_seq; u32 end_seq; @@ -47371,55 +49381,120 @@ struct tcp_fastopen_request; struct tcp_sock { struct inet_connection_sock inet_conn; - u16 tcp_header_len; + __u8 __cacheline_group_begin__tcp_sock_read_tx[0]; + u32 max_window; + u32 rcv_ssthresh; + u32 reordering; + u32 notsent_lowat; u16 gso_segs; + struct sk_buff *lost_skb_hint; + struct sk_buff *retransmit_skb_hint; + __u8 __cacheline_group_end__tcp_sock_read_tx[0]; + __u8 __cacheline_group_begin__tcp_sock_read_txrx[0]; + u32 tsoffset; + u32 snd_wnd; + u32 mss_cache; + u32 snd_cwnd; + u32 prr_out; + u32 lost_out; + u32 sacked_out; + u16 tcp_header_len; + u8 scaling_ratio; + u8 chrono_type: 2; + u8 repair: 1; + u8 tcp_usec_ts: 1; + u8 is_sack_reneg: 1; + u8 is_cwnd_limited: 1; + __u8 __cacheline_group_end__tcp_sock_read_txrx[0]; + __u8 __cacheline_group_begin__tcp_sock_read_rx[0]; + u32 copied_seq; + u32 rcv_tstamp; + u32 snd_wl1; + u32 tlp_high_seq; + u32 rttvar_us; + u32 retrans_out; + u16 advmss; + u16 urg_data; + u32 lost; + struct minmax rtt_min; + struct rb_root out_of_order_queue; + u32 snd_ssthresh; + u8 recvmsg_inq: 1; + __u8 __cacheline_group_end__tcp_sock_read_rx[0]; + long: 64; + __u8 __cacheline_group_begin__tcp_sock_write_tx[0]; + u32 segs_out; + u32 data_segs_out; + u64 bytes_sent; + u32 snd_sml; + u32 chrono_start; + u32 chrono_stat[3]; + u32 write_seq; + u32 pushed_seq; + u32 lsndtime; + u32 mdev_us; + u32 rtt_seq; + u64 tcp_wstamp_ns; + struct list_head tsorted_sent_queue; + struct sk_buff *highest_sack; + u8 ecn_flags; + __u8 __cacheline_group_end__tcp_sock_write_tx[0]; + __u8 __cacheline_group_begin__tcp_sock_write_txrx[0]; __be32 pred_flags; + u64 tcp_clock_cache; + u64 tcp_mstamp; + u32 rcv_nxt; + u32 snd_nxt; + u32 snd_una; + u32 window_clamp; + u32 srtt_us; + u32 packets_out; + u32 snd_up; + u32 delivered; + u32 delivered_ce; + u32 app_limited; + u32 rcv_wnd; + struct tcp_options_received rx_opt; + u8 nonagle: 4; + u8 rate_app_limited: 1; + __u8 __cacheline_group_end__tcp_sock_write_txrx[0]; + long: 0; + __u8 __cacheline_group_begin__tcp_sock_write_rx[0]; u64 bytes_received; u32 segs_in; u32 data_segs_in; - u32 rcv_nxt; - u32 copied_seq; u32 rcv_wup; - u32 snd_nxt; - u32 segs_out; - u32 data_segs_out; - u64 bytes_sent; + u32 max_packets_out; + u32 cwnd_usage_seq; + u32 rate_delivered; + u32 rate_interval_us; + u32 rcv_rtt_last_tsecr; + u64 first_tx_mstamp; + u64 delivered_mstamp; u64 bytes_acked; + struct { + u32 rtt_us; + u32 seq; + u64 time; + } rcv_rtt_est; + struct { + u32 space; + u32 seq; + u64 time; + } rcvq_space; + __u8 __cacheline_group_end__tcp_sock_write_rx[0]; u32 dsack_dups; - u32 snd_una; - u32 snd_sml; - u32 rcv_tstamp; - u32 lsndtime; - u32 last_oow_ack_time; u32 compressed_ack_rcv_nxt; - u32 tsoffset; struct list_head tsq_node; - struct list_head tsorted_sent_queue; - u32 snd_wl1; - u32 snd_wnd; - u32 max_window; - u32 mss_cache; - u32 window_clamp; - u32 rcv_ssthresh; - u8 scaling_ratio; struct tcp_rack rack; - u16 advmss; u8 compressed_ack; u8 dup_ack_counter: 2; u8 tlp_retrans: 1; u8 unused: 5; - u32 chrono_start; - u32 chrono_stat[3]; - u8 chrono_type: 2; - u8 rate_app_limited: 1; + u8 thin_lto: 1; u8 fastopen_connect: 1; u8 fastopen_no_cookie: 1; - u8 is_sack_reneg: 1; u8 fastopen_client_fail: 2; - u8 nonagle: 4; - u8 thin_lto: 1; - u8 recvmsg_inq: 1; - u8 repair: 1; u8 frto: 1; u8 repair_queue; u8 save_syn: 2; @@ -47428,62 +49503,23 @@ struct tcp_sock { u8 syn_fastopen_exp: 1; u8 syn_fastopen_ch: 1; u8 syn_data_acked: 1; - u8 is_cwnd_limited: 1; - u32 tlp_high_seq; + u8 keepalive_probes; u32 tcp_tx_delay; - u64 tcp_wstamp_ns; - u64 tcp_clock_cache; - u64 tcp_mstamp; - u32 srtt_us; - u32 mdev_us; u32 mdev_max_us; - u32 rttvar_us; - u32 rtt_seq; - struct minmax rtt_min; - u32 packets_out; - u32 retrans_out; - u32 max_packets_out; - u32 cwnd_usage_seq; - u16 urg_data; - u8 ecn_flags; - u8 keepalive_probes; - u32 reordering; u32 reord_seen; - u32 snd_up; - struct tcp_options_received rx_opt; - u32 snd_ssthresh; - u32 snd_cwnd; u32 snd_cwnd_cnt; u32 snd_cwnd_clamp; u32 snd_cwnd_used; u32 snd_cwnd_stamp; u32 prior_cwnd; u32 prr_delivered; - u32 prr_out; - u32 delivered; - u32 delivered_ce; - u32 lost; - u32 app_limited; - u64 first_tx_mstamp; - u64 delivered_mstamp; - u32 rate_delivered; - u32 rate_interval_us; - u32 rcv_wnd; - u32 write_seq; - u32 notsent_lowat; - u32 pushed_seq; - u32 lost_out; - u32 sacked_out; + u32 last_oow_ack_time; struct hrtimer pacing_timer; struct hrtimer compressed_ack_timer; - struct sk_buff *lost_skb_hint; - struct sk_buff *retransmit_skb_hint; - struct rb_root out_of_order_queue; struct sk_buff *ooo_last_skb; struct tcp_sack_block duplicate_sack[1]; struct tcp_sack_block selective_acks[4]; struct tcp_sack_block recv_sack_cache[4]; - struct sk_buff *highest_sack; int lost_cnt_hint; u32 prior_ssthresh; u32 high_seq; @@ -47492,6 +49528,10 @@ struct tcp_sock { int undo_retrans; u64 bytes_retrans; u32 total_retrans; + u32 rto_stamp; + u16 total_rto; + u16 total_rto_recoveries; + u32 total_rto_time; u32 urg_seq; unsigned int keepalive_time; unsigned int keepalive_intvl; @@ -47500,17 +49540,6 @@ struct tcp_sock { u8 bpf_chg_cc_inprogress: 1; u16 timeout_rehash; u32 rcv_ooopack; - u32 rcv_rtt_last_tsecr; - struct { - u32 rtt_us; - u32 seq; - u64 time; - } rcv_rtt_est; - struct { - u32 space; - u32 seq; - u64 time; - } rcvq_space; struct { u32 probe_seq_start; u32 probe_seq_end; @@ -47520,11 +49549,49 @@ struct tcp_sock { struct tcp_fastopen_request *fastopen_req; struct request_sock *fastopen_rsk; struct saved_syn *saved_syn; + long: 64; }; struct tcp6_sock { struct tcp_sock tcp; struct ipv6_pinfo inet6; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; +}; + +union tcp_ao_addr { + struct in_addr a4; + struct in6_addr a6; +}; + +struct tcp_ao_hdr { + u8 kind; + u8 length; + u8 keyid; + u8 rnext_keyid; +}; + +struct tcp_ao_key { + struct hlist_node node; + union tcp_ao_addr addr; + u8 key[80]; + unsigned int tcp_sigpool_id; + unsigned int digest_size; + int l3index; + u8 prefixlen; + u8 family; + u8 keylen; + u8 keyflags; + u8 sndid; + u8 rcvid; + u8 maclen; + struct callback_head rcu; + atomic64_t pkt_good; + atomic64_t pkt_bad; + u8 traffic_keys[0]; }; struct tcp_bbr_info { @@ -47643,11 +49710,28 @@ struct tcp_info { __u32 tcpi_snd_wnd; __u32 tcpi_rcv_wnd; __u32 tcpi_rehash; + __u16 tcpi_total_rto; + __u16 tcpi_total_rto_recoveries; + __u32 tcpi_total_rto_time; }; -union tcp_md5_addr { - struct in_addr a4; - struct in6_addr a6; +struct tcp_md5sig_key; + +struct tcp_key { + union { + struct { + struct tcp_ao_key *ao_key; + char *traffic_key; + u32 sne; + u8 rcv_next; + }; + struct tcp_md5sig_key *md5_key; + }; + enum { + TCP_KEY_NONE = 0, + TCP_KEY_MD5 = 1, + TCP_KEY_AO = 2, + } type; }; struct tcp_md5sig_key { @@ -47656,7 +49740,7 @@ struct tcp_md5sig_key { u8 family; u8 prefixlen; u8 flags; - union tcp_md5_addr addr; + union tcp_ao_addr addr; int l3index; u8 key[80]; struct callback_head rcu; @@ -47719,6 +49803,7 @@ struct tcp_request_sock { u64 snt_synack; bool tfo_listener; bool is_mptcp; + bool req_usec_ts; u32 txhash; u32 rcv_isn; u32 snt_isn; @@ -47730,7 +49815,7 @@ struct tcp_request_sock { struct tcp_request_sock_ops { u16 mss_clamp; - struct dst_entry * (*route_req)(const struct sock *, struct sk_buff *, struct flowi *, struct request_sock *); + struct dst_entry * (*route_req)(const struct sock *, struct sk_buff *, struct flowi *, struct request_sock *, u32); u32 (*init_seq)(const struct sk_buff *); u32 (*init_ts_off)(const struct net *, const struct sk_buff *); int (*send_synack)(const struct sock *, struct dst_entry *, struct flowi *, struct request_sock *, struct tcp_fastopen_cookie *, enum tcp_synack_type, struct sk_buff *); @@ -47755,7 +49840,6 @@ struct tcp_skb_cb { __u32 seq; __u32 end_seq; union { - __u32 tcp_tw_isn; struct { u16 tcp_gso_segs; u16 tcp_gso_size; @@ -47806,7 +49890,7 @@ struct tcp_ulp_ops { int (*init)(struct sock *); void (*update)(struct sock *, struct proto *, void (*)(struct sock *)); void (*release)(struct sock *); - int (*get_info)(const struct sock *, struct sk_buff *); + int (*get_info)(struct sock *, struct sk_buff *); size_t (*get_info_size)(const struct sock *); void (*clone)(const struct request_sock *, struct sock *, const gfp_t); char name[16]; @@ -47838,6 +49922,13 @@ union tcp_word_hdr { __be32 words[5]; }; +struct tcp_xa_pool { + u8 max; + u8 idx; + __u32 tokens[17]; + netmem_ref netmems[17]; +}; + struct tcp_zerocopy_receive { __u64 address; __u32 length; @@ -47860,7 +49951,7 @@ struct tcpm_hash_bucket { struct tcx_entry { struct mini_Qdisc *miniq; struct bpf_mprog_bundle bundle; - bool miniq_active; + u32 miniq_active; struct callback_head rcu; }; @@ -47874,7 +49965,7 @@ struct thermal_cooling_device_ops; struct thermal_cooling_device { int id; - char *type; + const char *type; long unsigned int max_state; struct device device; struct device_node *np; @@ -47951,7 +50042,6 @@ struct tk_read_base { struct timekeeper { struct tk_read_base tkr_mono; - struct tk_read_base tkr_raw; u64 xtime_sec; long unsigned int ktime_sec; struct timespec64 wall_to_monotonic; @@ -47959,15 +50049,16 @@ struct timekeeper { ktime_t offs_boot; ktime_t offs_tai; s32 tai_offset; + struct tk_read_base tkr_raw; + u64 raw_sec; unsigned int clock_was_set_seq; u8 cs_was_changed_seq; - ktime_t next_leap_ktime; - u64 raw_sec; struct timespec64 monotonic_to_boot; u64 cycle_interval; u64 xtime_interval; s64 xtime_remainder; u64 raw_interval; + ktime_t next_leap_ktime; u64 ntp_tick; s64 ntp_error; u32 ntp_error_shift; @@ -47993,6 +50084,7 @@ struct timer_base { struct hlist_head vectors[576]; long: 64; long: 64; + long: 64; }; struct timer_rand_state { @@ -48012,7 +50104,6 @@ struct timewait_sock_ops { struct kmem_cache *twsk_slab; char *twsk_slab_name; unsigned int twsk_obj_size; - int (*twsk_unique)(struct sock *, struct sock *, void *); void (*twsk_destructor)(struct sock *); }; @@ -48025,6 +50116,14 @@ struct tipc_basic_hdr { __be32 w[4]; }; +struct tk_data { + seqcount_raw_spinlock_t seq; + struct timekeeper timekeeper; + struct timekeeper shadow_timekeeper; + raw_spinlock_t lock; + long: 64; +}; + struct tk_fast { seqcount_latch_t seq; struct tk_read_base base[2]; @@ -48134,7 +50233,7 @@ struct tls_strparser { u32 stopped: 1; u32 copy_mode: 1; u32 mixed_decrypted: 1; - u32 msg_ready: 1; + bool msg_ready; struct strp_msg stm; struct sk_buff *anchor; struct work_struct work; @@ -48149,9 +50248,9 @@ struct tls_sw_context_rx { u8 async_capable: 1; u8 zc_capable: 1; u8 reader_contended: 1; + bool key_update_pending; struct tls_strparser strp; atomic_t decrypt_pending; - spinlock_t decrypt_compl_lock; struct sk_buff_head async_hold; struct wait_queue_head wq; }; @@ -48170,8 +50269,6 @@ struct tls_sw_context_tx { struct tls_rec *open_rec; struct list_head tx_list; atomic_t encrypt_pending; - spinlock_t encrypt_compl_lock; - int async_notify; u8 async_capable: 1; long unsigned int tx_bitmask; }; @@ -48195,7 +50292,7 @@ struct tms { }; struct tnl_ptk_info { - __be16 flags; + long unsigned int flags[1]; __be16 proto; __be32 key; __be32 seq; @@ -48228,7 +50325,6 @@ struct tp_probes { struct tp_transition_snapshot { long unsigned int rcu; - long unsigned int srcu; bool ongoing; }; @@ -48242,6 +50338,11 @@ struct trace_array { struct list_head list; char *name; struct array_buffer array_buffer; + unsigned int mapped; + long unsigned int range_addr_start; + long unsigned int range_addr_size; + long int text_delta; + long int data_delta; struct trace_pid_list *filtered_pids; struct trace_pid_list *filtered_no_pids; arch_spinlock_t max_lock; @@ -48257,11 +50358,12 @@ struct trace_array { unsigned char trace_flags_index[32]; unsigned int flags; raw_spinlock_t start_lock; + const char *system_names; struct list_head err_log; struct dentry *dir; struct dentry *options; struct dentry *percpu_dir; - struct dentry *event_dir; + struct eventfs_inode *event_dir; struct trace_options *topts; struct list_head systems; struct list_head events; @@ -48270,9 +50372,11 @@ struct trace_array { cpumask_var_t pipe_cpumask; int ref; int trace_ref; + struct list_head mod_events; struct ftrace_ops *ops; struct trace_pid_list *function_pids; struct trace_pid_list *function_no_pids; + struct fgraph_ops *gops; struct list_head func_probes; struct list_head mod_trace; struct list_head mod_notrace; @@ -48280,6 +50384,7 @@ struct trace_array { int no_filter_buffering_ref; struct list_head hist_vars; struct trace_func_repeats *last_func_repeats; + bool ring_buffer_expanded; }; struct trace_array_cpu { @@ -48317,9 +50422,34 @@ struct trace_buffer { struct mutex mutex; struct ring_buffer_per_cpu **buffers; struct hlist_node node; - u64 (*clock)(); + u64 (*clock)(void); struct rb_irq_work irq_work; bool time_stamp_abs; + long unsigned int range_addr_start; + long unsigned int range_addr_end; + long int last_text_delta; + long int last_data_delta; + unsigned int subbuf_size; + unsigned int subbuf_order; + unsigned int max_data_size; +}; + +struct trace_buffer_meta { + __u32 meta_page_size; + __u32 meta_struct_len; + __u32 subbuf_size; + __u32 nr_subbufs; + struct { + __u64 lost_events; + __u32 id; + __u32 read; + } reader; + __u64 flags; + __u64 entries; + __u64 overrun; + __u64 read; + __u64 Reserved1; + __u64 Reserved2; }; struct trace_buffer_struct { @@ -48334,6 +50464,7 @@ struct trace_probe { struct trace_probe_event *event; ssize_t size; unsigned int nr_args; + struct probe_entry_arg *entry_arg; struct probe_arg args[0]; }; @@ -48375,12 +50506,11 @@ struct trace_event_call { struct list_head list; struct trace_event_class *class; union { - char *name; + const char *name; struct tracepoint *tp; }; struct trace_event event; char *print_fmt; - struct event_filter *filter; union { void *module; atomic_t refcnt; @@ -48420,48 +50550,65 @@ struct trace_event_data_offsets_bpf_test_finish {}; struct trace_event_data_offsets_bpf_trace_printk { u32 bpf_string; + const void *bpf_string_ptr_; }; +struct trace_event_data_offsets_bpf_trigger_tp {}; + struct trace_event_data_offsets_bpf_xdp_link_attach_failed { u32 msg; + const void *msg_ptr_; }; +struct trace_event_data_offsets_cap_capable {}; + struct trace_event_data_offsets_clk { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_clk_duty_cycle { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_clk_parent { u32 name; + const void *name_ptr_; u32 pname; + const void *pname_ptr_; }; struct trace_event_data_offsets_clk_phase { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_clk_rate { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_clk_rate_range { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_clk_rate_request { u32 name; + const void *name_ptr_; u32 pname; + const void *pname_ptr_; }; struct trace_event_data_offsets_clock { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_console { u32 msg; + const void *msg_ptr_; }; struct trace_event_data_offsets_consume_skb {}; @@ -48484,30 +50631,115 @@ struct trace_event_data_offsets_cpuhp_exit {}; struct trace_event_data_offsets_cpuhp_multi_enter {}; -struct trace_event_data_offsets_csd_function {}; +struct trace_event_data_offsets_ctime {}; -struct trace_event_data_offsets_csd_queue_cpu {}; +struct trace_event_data_offsets_ctime_ns_xchg {}; struct trace_event_data_offsets_dev_pm_qos_request { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_device_pm_callback_end { u32 device; + const void *device_ptr_; u32 driver; + const void *driver_ptr_; }; struct trace_event_data_offsets_device_pm_callback_start { u32 device; + const void *device_ptr_; u32 driver; + const void *driver_ptr_; u32 parent; + const void *parent_ptr_; u32 pm_ops; + const void *pm_ops_ptr_; }; struct trace_event_data_offsets_devres { u32 devname; + const void *devname_ptr_; + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_dma_alloc_class { + u32 device; + const void *device_ptr_; }; +struct trace_event_data_offsets_dma_alloc_sgt { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_free_class { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_free_sgt { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_map { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_map_sg { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; + u32 dma_addrs; + const void *dma_addrs_ptr_; + u32 lengths; + const void *lengths_ptr_; +}; + +struct trace_event_data_offsets_dma_map_sg_err { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_sync_sg { + u32 device; + const void *device_ptr_; + u32 dma_addrs; + const void *dma_addrs_ptr_; + u32 lengths; + const void *lengths_ptr_; +}; + +struct trace_event_data_offsets_dma_sync_single { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_unmap { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_unmap_sg { + u32 device; + const void *device_ptr_; + u32 addrs; + const void *addrs_ptr_; +}; + +struct trace_event_data_offsets_dql_stall_detected {}; + struct trace_event_data_offsets_error_report_template {}; struct trace_event_data_offsets_exit_mmap {}; @@ -48520,6 +50752,8 @@ struct trace_event_data_offsets_file_check_and_advance_wb_err {}; struct trace_event_data_offsets_filemap_set_wb_err {}; +struct trace_event_data_offsets_fill_mg_cmtime {}; + struct trace_event_data_offsets_finish_task_reaping {}; struct trace_event_data_offsets_free_vmap_area_noflush {}; @@ -48540,6 +50774,8 @@ struct trace_event_data_offsets_hrtimer_init {}; struct trace_event_data_offsets_hrtimer_start {}; +struct trace_event_data_offsets_icmp_send {}; + struct trace_event_data_offsets_inet_sk_error_report {}; struct trace_event_data_offsets_inet_sock_set_state {}; @@ -48548,6 +50784,7 @@ struct trace_event_data_offsets_initcall_finish {}; struct trace_event_data_offsets_initcall_level { u32 level; + const void *level_ptr_; }; struct trace_event_data_offsets_initcall_start {}; @@ -48556,20 +50793,29 @@ struct trace_event_data_offsets_ipi_handler {}; struct trace_event_data_offsets_ipi_raise { u32 target_cpus; + const void *target_cpus_ptr_; }; struct trace_event_data_offsets_ipi_send_cpu {}; struct trace_event_data_offsets_ipi_send_cpumask { u32 cpumask; + const void *cpumask_ptr_; }; struct trace_event_data_offsets_irq_handler_entry { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_irq_handler_exit {}; +struct trace_event_data_offsets_irq_matrix_cpu {}; + +struct trace_event_data_offsets_irq_matrix_global {}; + +struct trace_event_data_offsets_irq_matrix_global_update {}; + struct trace_event_data_offsets_itimer_expire {}; struct trace_event_data_offsets_itimer_state {}; @@ -48584,6 +50830,7 @@ struct trace_event_data_offsets_kmem_cache_alloc {}; struct trace_event_data_offsets_kmem_cache_free { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_ma_op {}; @@ -48592,7 +50839,10 @@ struct trace_event_data_offsets_ma_read {}; struct trace_event_data_offsets_ma_write {}; -struct trace_event_data_offsets_mark_victim {}; +struct trace_event_data_offsets_mark_victim { + u32 comm; + const void *comm_ptr_; +}; struct trace_event_data_offsets_mem_connect {}; @@ -48602,8 +50852,14 @@ struct trace_event_data_offsets_mem_return_failed {}; struct trace_event_data_offsets_migration_pte {}; +struct trace_event_data_offsets_mm_alloc_contig_migrate_range_info {}; + +struct trace_event_data_offsets_mm_filemap_fault {}; + struct trace_event_data_offsets_mm_filemap_op_page_cache {}; +struct trace_event_data_offsets_mm_filemap_op_page_cache_range {}; + struct trace_event_data_offsets_mm_lru_activate {}; struct trace_event_data_offsets_mm_lru_insertion {}; @@ -48644,73 +50900,85 @@ struct trace_event_data_offsets_mm_vmscan_lru_shrink_inactive {}; struct trace_event_data_offsets_mm_vmscan_node_reclaim_begin {}; +struct trace_event_data_offsets_mm_vmscan_reclaim_pages {}; + struct trace_event_data_offsets_mm_vmscan_throttled {}; struct trace_event_data_offsets_mm_vmscan_wakeup_kswapd {}; struct trace_event_data_offsets_mm_vmscan_write_folio {}; -struct trace_event_data_offsets_mmap_lock { - u32 memcg_path; -}; +struct trace_event_data_offsets_mmap_lock {}; -struct trace_event_data_offsets_mmap_lock_acquire_returned { - u32 memcg_path; -}; +struct trace_event_data_offsets_mmap_lock_acquire_returned {}; struct trace_event_data_offsets_module_free { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_module_load { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_module_request { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_napi_poll { u32 dev_name; + const void *dev_name_ptr_; }; struct trace_event_data_offsets_neigh__update { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_neigh_create { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_neigh_update { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_net_dev_rx_exit_template {}; struct trace_event_data_offsets_net_dev_rx_verbose_template { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_start_xmit { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_template { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_xmit { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_xmit_timeout { u32 name; + const void *name_ptr_; u32 driver; + const void *driver_ptr_; }; struct trace_event_data_offsets_netlink_extack { u32 msg; + const void *msg_ptr_; }; struct trace_event_data_offsets_notifier_info {}; @@ -48739,10 +51007,12 @@ struct trace_event_data_offsets_pm_qos_update {}; struct trace_event_data_offsets_power_domain { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_powernv_throttle { u32 reason; + const void *reason_ptr_; }; struct trace_event_data_offsets_pstate_sample {}; @@ -48751,25 +51021,29 @@ struct trace_event_data_offsets_purge_vmap_area_lazy {}; struct trace_event_data_offsets_qdisc_create { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_qdisc_dequeue {}; struct trace_event_data_offsets_qdisc_destroy { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_qdisc_enqueue {}; struct trace_event_data_offsets_qdisc_reset { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; -struct trace_event_data_offsets_rcu_stall_warning {}; - struct trace_event_data_offsets_rcu_utilization {}; struct trace_event_data_offsets_reclaim_retry_zone {}; @@ -48794,8 +51068,18 @@ struct trace_event_data_offsets_sched_numa_pair_template {}; struct trace_event_data_offsets_sched_pi_setprio {}; +struct trace_event_data_offsets_sched_prepare_exec { + u32 interp; + const void *interp_ptr_; + u32 filename; + const void *filename_ptr_; + u32 comm; + const void *comm_ptr_; +}; + struct trace_event_data_offsets_sched_process_exec { u32 filename; + const void *filename_ptr_; }; struct trace_event_data_offsets_sched_process_fork {}; @@ -48836,6 +51120,7 @@ struct trace_event_data_offsets_suspend_resume {}; struct trace_event_data_offsets_swiotlb_bounced { u32 dev_name; + const void *dev_name_ptr_; }; struct trace_event_data_offsets_sys_enter {}; @@ -48844,10 +51129,18 @@ struct trace_event_data_offsets_sys_exit {}; struct trace_event_data_offsets_task_newtask {}; +struct trace_event_data_offsets_task_prctl_unknown {}; + struct trace_event_data_offsets_task_rename {}; struct trace_event_data_offsets_tasklet {}; +struct trace_event_data_offsets_tcp_ao_event {}; + +struct trace_event_data_offsets_tcp_ao_event_sk {}; + +struct trace_event_data_offsets_tcp_ao_event_sne {}; + struct trace_event_data_offsets_tcp_cong_state_set {}; struct trace_event_data_offsets_tcp_event_sk {}; @@ -48856,10 +51149,16 @@ struct trace_event_data_offsets_tcp_event_sk_skb {}; struct trace_event_data_offsets_tcp_event_skb {}; +struct trace_event_data_offsets_tcp_hash_event {}; + struct trace_event_data_offsets_tcp_probe {}; struct trace_event_data_offsets_tcp_retransmit_synack {}; +struct trace_event_data_offsets_tcp_send_reset {}; + +struct trace_event_data_offsets_timer_base_idle {}; + struct trace_event_data_offsets_timer_class {}; struct trace_event_data_offsets_timer_expire_entry {}; @@ -48880,6 +51179,7 @@ struct trace_event_data_offsets_wake_reaper {}; struct trace_event_data_offsets_wakeup_source { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_wbc_class {}; @@ -48892,6 +51192,7 @@ struct trace_event_data_offsets_workqueue_execute_start {}; struct trace_event_data_offsets_workqueue_queue_work { u32 workqueue; + const void *workqueue_ptr_; }; struct trace_event_data_offsets_writeback_bdi_register {}; @@ -48935,7 +51236,8 @@ struct trace_event_fields { const char *name; const int size; const int align; - const int is_signed; + const unsigned int is_signed: 1; + unsigned int needs_test: 1; const int filter_type; const int len; }; @@ -48949,11 +51251,12 @@ struct trace_event_file { struct list_head list; struct trace_event_call *event_call; struct event_filter *filter; - struct eventfs_file *ef; + struct eventfs_inode *ei; struct trace_array *tr; struct trace_subsystem_dir *system; struct list_head triggers; long unsigned int flags; + refcount_t ref; atomic_t sm_ref; atomic_t tm_ref; }; @@ -49039,12 +51342,28 @@ struct trace_event_raw_bpf_trace_printk { char __data[0]; }; +struct trace_event_raw_bpf_trigger_tp { + struct trace_entry ent; + int nonce; + char __data[0]; +}; + struct trace_event_raw_bpf_xdp_link_attach_failed { struct trace_entry ent; u32 __data_loc_msg; char __data[0]; }; +struct trace_event_raw_cap_capable { + struct trace_entry ent; + const struct cred *cred; + struct user_namespace *target_ns; + const struct user_namespace *capable_ns; + int cap; + int ret; + char __data[0]; +}; + struct trace_event_raw_clk { struct trace_entry ent; u32 __data_loc_name; @@ -49189,19 +51508,24 @@ struct trace_event_raw_cpuhp_multi_enter { char __data[0]; }; -struct trace_event_raw_csd_function { +struct trace_event_raw_ctime { struct trace_entry ent; - void *func; - void *csd; + dev_t dev; + ino_t ino; + time64_t ctime_s; + u32 ctime_ns; + u32 gen; char __data[0]; }; -struct trace_event_raw_csd_queue_cpu { +struct trace_event_raw_ctime_ns_xchg { struct trace_entry ent; - unsigned int cpu; - void *callsite; - void *func; - void *csd; + dev_t dev; + ino_t ino; + u32 gen; + u32 old; + u32 new; + u32 cur; char __data[0]; }; @@ -49237,8 +51561,133 @@ struct trace_event_raw_devres { struct device *dev; const char *op; void *node; - const char *name; + u32 __data_loc_name; + size_t size; + char __data[0]; +}; + +struct trace_event_raw_dma_alloc_class { + struct trace_entry ent; + u32 __data_loc_device; + void *virt_addr; + u64 dma_addr; + size_t size; + gfp_t flags; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_alloc_sgt { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u64 dma_addr; size_t size; + enum dma_data_direction dir; + gfp_t flags; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_free_class { + struct trace_entry ent; + u32 __data_loc_device; + void *virt_addr; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_free_sgt { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_map { + struct trace_entry ent; + u32 __data_loc_device; + u64 phys_addr; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_map_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u32 __data_loc_dma_addrs; + u32 __data_loc_lengths; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_map_sg_err { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + int err; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_sync_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_dma_addrs; + u32 __data_loc_lengths; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_sync_single { + struct trace_entry ent; + u32 __data_loc_device; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_unmap { + struct trace_entry ent; + u32 __data_loc_device; + u64 addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_unmap_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_addrs; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dql_stall_detected { + struct trace_entry ent; + short unsigned int thrs; + unsigned int len; + long unsigned int last_reap; + long unsigned int hist_head; + long unsigned int now; + long unsigned int hist[4]; char __data[0]; }; @@ -49262,6 +51711,7 @@ struct trace_event_raw_fib6_table_lookup { int err; int oif; int iif; + u32 flowlabel; __u8 tos; __u8 scope; __u8 flags; @@ -49314,6 +51764,18 @@ struct trace_event_raw_filemap_set_wb_err { char __data[0]; }; +struct trace_event_raw_fill_mg_cmtime { + struct trace_entry ent; + dev_t dev; + ino_t ino; + time64_t ctime_s; + time64_t mtime_s; + u32 ctime_ns; + u32 mtime_ns; + u32 gen; + char __data[0]; +}; + struct trace_event_raw_finish_task_reaping { struct trace_entry ent; int pid; @@ -49396,6 +51858,19 @@ struct trace_event_raw_hrtimer_start { char __data[0]; }; +struct trace_event_raw_icmp_send { + struct trace_entry ent; + const void *skbaddr; + int type; + int code; + __u8 saddr[4]; + __u8 daddr[4]; + __u16 sport; + __u16 dport; + short unsigned int ulen; + char __data[0]; +}; + struct trace_event_raw_inet_sk_error_report { struct trace_entry ent; int error; @@ -49426,7 +51901,7 @@ struct trace_event_raw_inet_sock_set_state { char __data[0]; }; -typedef int (*initcall_t)(); +typedef int (*initcall_t)(void); struct trace_event_raw_initcall_finish { struct trace_entry ent; @@ -49490,6 +51965,40 @@ struct trace_event_raw_irq_handler_exit { char __data[0]; }; +struct trace_event_raw_irq_matrix_cpu { + struct trace_entry ent; + int bit; + unsigned int cpu; + bool online; + unsigned int available; + unsigned int allocated; + unsigned int managed; + unsigned int online_maps; + unsigned int global_available; + unsigned int global_reserved; + unsigned int total_allocated; + char __data[0]; +}; + +struct trace_event_raw_irq_matrix_global { + struct trace_entry ent; + unsigned int online_maps; + unsigned int global_available; + unsigned int global_reserved; + unsigned int total_allocated; + char __data[0]; +}; + +struct trace_event_raw_irq_matrix_global_update { + struct trace_entry ent; + int bit; + unsigned int online_maps; + unsigned int global_available; + unsigned int global_reserved; + unsigned int total_allocated; + char __data[0]; +}; + struct trace_event_raw_itimer_expire { struct trace_entry ent; int which; @@ -49520,6 +52029,7 @@ struct trace_event_raw_kfree_skb { struct trace_entry ent; void *skbaddr; void *location; + void *rx_sk; short unsigned int protocol; enum skb_drop_reason reason; char __data[0]; @@ -49594,6 +52104,14 @@ struct trace_event_raw_ma_write { struct trace_event_raw_mark_victim { struct trace_entry ent; int pid; + u32 __data_loc_comm; + long unsigned int total_vm; + long unsigned int anon_rss; + long unsigned int file_rss; + long unsigned int shmem_rss; + uid_t uid; + long unsigned int pgtables; + short int oom_score_adj; char __data[0]; }; @@ -49635,6 +52153,25 @@ struct trace_event_raw_migration_pte { char __data[0]; }; +struct trace_event_raw_mm_alloc_contig_migrate_range_info { + struct trace_entry ent; + long unsigned int start; + long unsigned int end; + long unsigned int nr_migrated; + long unsigned int nr_reclaimed; + long unsigned int nr_mapped; + int migratetype; + char __data[0]; +}; + +struct trace_event_raw_mm_filemap_fault { + struct trace_entry ent; + long unsigned int i_ino; + dev_t s_dev; + long unsigned int index; + char __data[0]; +}; + struct trace_event_raw_mm_filemap_op_page_cache { struct trace_entry ent; long unsigned int pfn; @@ -49645,6 +52182,15 @@ struct trace_event_raw_mm_filemap_op_page_cache { char __data[0]; }; +struct trace_event_raw_mm_filemap_op_page_cache_range { + struct trace_entry ent; + long unsigned int i_ino; + dev_t s_dev; + long unsigned int index; + long unsigned int last_index; + char __data[0]; +}; + struct trace_event_raw_mm_lru_activate { struct trace_entry ent; struct folio *folio; @@ -49668,6 +52214,7 @@ struct trace_event_raw_mm_migrate_pages { long unsigned int thp_succeeded; long unsigned int thp_failed; long unsigned int thp_split; + long unsigned int large_folio_split; enum migrate_mode mode; int reason; char __data[0]; @@ -49791,7 +52338,6 @@ struct trace_event_raw_mm_vmscan_lru_isolate { long unsigned int nr_scanned; long unsigned int nr_skipped; long unsigned int nr_taken; - unsigned int isolate_mode; int lru; char __data[0]; }; @@ -49834,6 +52380,22 @@ struct trace_event_raw_mm_vmscan_node_reclaim_begin { char __data[0]; }; +struct trace_event_raw_mm_vmscan_reclaim_pages { + struct trace_entry ent; + int nid; + long unsigned int nr_scanned; + long unsigned int nr_reclaimed; + long unsigned int nr_dirty; + long unsigned int nr_writeback; + long unsigned int nr_congested; + long unsigned int nr_immediate; + unsigned int nr_activate0; + unsigned int nr_activate1; + long unsigned int nr_ref_keep; + long unsigned int nr_unmap_fail; + char __data[0]; +}; + struct trace_event_raw_mm_vmscan_throttled { struct trace_entry ent; int nid; @@ -49862,7 +52424,7 @@ struct trace_event_raw_mm_vmscan_write_folio { struct trace_event_raw_mmap_lock { struct trace_entry ent; struct mm_struct *mm; - u32 __data_loc_memcg_path; + u64 memcg_id; bool write; char __data[0]; }; @@ -49870,7 +52432,7 @@ struct trace_event_raw_mmap_lock { struct trace_event_raw_mmap_lock_acquire_returned { struct trace_entry ent; struct mm_struct *mm; - u32 __data_loc_memcg_path; + u64 memcg_id; bool write; bool success; char __data[0]; @@ -50071,7 +52633,7 @@ struct trace_event_raw_page_pool_release { struct trace_event_raw_page_pool_state_hold { struct trace_entry ent; const struct page_pool *pool; - const struct page *page; + long unsigned int netmem; u32 hold; long unsigned int pfn; char __data[0]; @@ -50080,7 +52642,7 @@ struct trace_event_raw_page_pool_state_hold { struct trace_event_raw_page_pool_state_release { struct trace_entry ent; const struct page_pool *pool; - const struct page *page; + long unsigned int netmem; u32 release; long unsigned int pfn; char __data[0]; @@ -50234,13 +52796,6 @@ struct trace_event_raw_qdisc_reset { char __data[0]; }; -struct trace_event_raw_rcu_stall_warning { - struct trace_entry ent; - const char *rcuname; - const char *msg; - char __data[0]; -}; - struct trace_event_raw_rcu_utilization { struct trace_entry ent; const char *s; @@ -50350,6 +52905,15 @@ struct trace_event_raw_sched_pi_setprio { char __data[0]; }; +struct trace_event_raw_sched_prepare_exec { + struct trace_entry ent; + u32 __data_loc_interp; + u32 __data_loc_filename; + pid_t pid; + u32 __data_loc_comm; + char __data[0]; +}; + struct trace_event_raw_sched_process_exec { struct trace_entry ent; u32 __data_loc_filename; @@ -50388,7 +52952,6 @@ struct trace_event_raw_sched_stat_runtime { char comm[16]; pid_t pid; u64 runtime; - u64 vruntime; char __data[0]; }; @@ -50548,9 +53111,18 @@ struct trace_event_raw_task_newtask { char __data[0]; }; +struct trace_event_raw_task_prctl_unknown { + struct trace_entry ent; + int option; + long unsigned int arg2; + long unsigned int arg3; + long unsigned int arg4; + long unsigned int arg5; + char __data[0]; +}; + struct trace_event_raw_task_rename { struct trace_entry ent; - pid_t pid; char oldcomm[16]; char newcomm[16]; short int oom_score_adj; @@ -50564,6 +53136,58 @@ struct trace_event_raw_tasklet { char __data[0]; }; +struct trace_event_raw_tcp_ao_event { + struct trace_entry ent; + __u64 net_cookie; + const void *skbaddr; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + int l3index; + __u16 sport; + __u16 dport; + __u16 family; + bool fin; + bool syn; + bool rst; + bool psh; + bool ack; + __u8 keyid; + __u8 rnext; + __u8 maclen; + char __data[0]; +}; + +struct trace_event_raw_tcp_ao_event_sk { + struct trace_entry ent; + __u64 net_cookie; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + __u16 sport; + __u16 dport; + __u16 family; + __u8 keyid; + __u8 rnext; + char __data[0]; +}; + +struct trace_event_raw_tcp_ao_event_sne { + struct trace_entry ent; + __u64 net_cookie; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + __u16 sport; + __u16 dport; + __u16 family; + __u32 new_sne; + char __data[0]; +}; + struct trace_event_raw_tcp_cong_state_set { struct trace_entry ent; const void *skaddr; @@ -50615,6 +53239,26 @@ struct trace_event_raw_tcp_event_skb { char __data[0]; }; +struct trace_event_raw_tcp_hash_event { + struct trace_entry ent; + __u64 net_cookie; + const void *skbaddr; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + int l3index; + __u16 sport; + __u16 dport; + __u16 family; + bool fin; + bool syn; + bool rst; + bool psh; + bool ack; + char __data[0]; +}; + struct trace_event_raw_tcp_probe { struct trace_entry ent; __u8 saddr[28]; @@ -50632,6 +53276,8 @@ struct trace_event_raw_tcp_probe { __u32 srtt; __u32 rcv_wnd; __u64 sock_cookie; + const void *skbaddr; + const void *skaddr; char __data[0]; }; @@ -50649,6 +53295,24 @@ struct trace_event_raw_tcp_retransmit_synack { char __data[0]; }; +struct trace_event_raw_tcp_send_reset { + struct trace_entry ent; + const void *skbaddr; + const void *skaddr; + int state; + enum sk_rst_reason reason; + __u8 saddr[28]; + __u8 daddr[28]; + char __data[0]; +}; + +struct trace_event_raw_timer_base_idle { + struct trace_entry ent; + bool is_idle; + unsigned int cpu; + char __data[0]; +}; + struct trace_event_raw_timer_class { struct trace_entry ent; void *timer; @@ -50669,6 +53333,7 @@ struct trace_event_raw_timer_start { void *timer; void *function; long unsigned int expires; + long unsigned int bucket_expiry; long unsigned int now; unsigned int flags; char __data[0]; @@ -50684,7 +53349,11 @@ struct trace_event_raw_tlb_flush { struct trace_event_raw_udp_fail_queue_rcv_skb { struct trace_entry ent; int rc; - __u16 lport; + __u16 sport; + __u16 dport; + __u16 family; + __u8 saddr[28]; + __u8 daddr[28]; char __data[0]; }; @@ -50750,6 +53419,7 @@ struct trace_event_raw_wbc_class { struct trace_event_raw_workqueue_activate_work { struct trace_entry ent; void *work; + void *function; char __data[0]; }; @@ -51047,7 +53717,7 @@ struct trace_subsystem_dir { struct list_head list; struct event_subsystem *subsystem; struct trace_array *tr; - struct eventfs_file *ef; + struct eventfs_inode *ei; int ref_count; int nr_events; }; @@ -51056,11 +53726,11 @@ struct trace_uprobe { struct dyn_event devent; struct uprobe_consumer consumer; struct path path; - struct inode *inode; char *filename; + struct uprobe *uprobe; long unsigned int offset; long unsigned int ref_ctr_offset; - long unsigned int nhit; + long unsigned int *nhits; struct trace_probe tp; }; @@ -51069,33 +53739,37 @@ struct tracefs_dir_ops { int (*rmdir)(const char *); }; -struct tracefs_mount_opts { +struct tracefs_fs_info { kuid_t uid; kgid_t gid; umode_t mode; unsigned int opts; }; -struct tracefs_fs_info { - struct tracefs_mount_opts mount_opts; -}; - struct tracefs_inode { + struct inode vfs_inode; + struct list_head list; long unsigned int flags; void *private; - struct inode vfs_inode; }; +struct tracepoint_ext; + struct tracepoint { const char *name; - struct static_key key; + struct static_key_false key; struct static_call_key *static_call_key; void *static_call_tramp; void *iterator; void *probestub; - int (*regfunc)(); - void (*unregfunc)(); struct tracepoint_func *funcs; + struct tracepoint_ext *ext; +}; + +struct tracepoint_ext { + int (*regfunc)(void); + void (*unregfunc)(void); + unsigned int faultable: 1; }; struct traceprobe_parse_context { @@ -51108,6 +53782,7 @@ struct traceprobe_parse_context { const struct btf_type *last_type; u32 last_bitoffs; u32 last_bitsize; + struct trace_probe *tp; unsigned int flags; int offset; }; @@ -51215,9 +53890,29 @@ struct ts_state { char cb[48]; }; +struct tsconfig_reply_data { + struct ethnl_reply_data base; + struct hwtstamp_provider_desc hwprov_desc; + struct { + u32 tx_type; + u32 rx_filter; + u32 flags; + } hwtst_config; +}; + +struct tsconfig_req_info { + struct ethnl_req_info base; +}; + struct tsinfo_reply_data { struct ethnl_reply_data base; - struct ethtool_ts_info ts_info; + struct kernel_ethtool_ts_info ts_info; + struct ethtool_ts_stats stats; +}; + +struct tsinfo_req_info { + struct ethnl_req_info base; + struct hwtstamp_provider_desc hwprov_desc; }; struct tso_t { @@ -51343,9 +54038,10 @@ struct tty_operations { void (*hangup)(struct tty_struct *); int (*break_ctl)(struct tty_struct *, int); void (*flush_buffer)(struct tty_struct *); + int (*ldisc_ok)(struct tty_struct *, int); void (*set_ldisc)(struct tty_struct *); void (*wait_until_sent)(struct tty_struct *, int); - void (*send_xchar)(struct tty_struct *, char); + void (*send_xchar)(struct tty_struct *, u8); int (*tiocmget)(struct tty_struct *); int (*tiocmset)(struct tty_struct *, unsigned int, unsigned int); int (*resize)(struct tty_struct *, struct winsize *); @@ -51376,17 +54072,17 @@ struct tty_port { unsigned char console: 1; struct mutex mutex; struct mutex buf_mutex; - unsigned char *xmit_buf; + u8 *xmit_buf; struct { union { struct __kfifo kfifo; - unsigned char *type; - const unsigned char *const_type; + u8 *type; + const u8 *const_type; char (*rectype)[0]; - unsigned char *ptr; - const unsigned char *ptr_const; + u8 *ptr; + const u8 *ptr_const; }; - unsigned char buf[0]; + u8 buf[0]; } xmit_fifo; unsigned int close_delay; unsigned int closing_wait; @@ -51441,7 +54137,6 @@ struct tty_struct { spinlock_t lock; bool stopped; bool tco_stopped; - long unsigned int unused[0]; } flow; struct { struct pid *pgrp; @@ -51449,7 +54144,6 @@ struct tty_struct { spinlock_t lock; unsigned char pktstatus; bool packet; - long unsigned int unused[0]; } ctrl; bool hw_stopped; bool closing; @@ -51463,7 +54157,7 @@ struct tty_struct { void *driver_data; spinlock_t files_lock; int write_cnt; - unsigned char *write_buf; + u8 *write_buf; struct list_head tty_files; struct work_struct SAK_work; }; @@ -51473,8 +54167,10 @@ struct u32_fract { __u32 denominator; }; +struct ubuf_info_ops; + struct ubuf_info { - void (*callback)(struct sk_buff *, struct ubuf_info *, bool); + const struct ubuf_info_ops *ops; refcount_t refcnt; u8 flags; }; @@ -51496,6 +54192,11 @@ struct ubuf_info_msgzc { struct mmpin mmp; }; +struct ubuf_info_ops { + void (*complete)(struct sk_buff *, struct ubuf_info *, bool); + int (*link_skb)(struct sk_buff *, struct ubuf_info *); +}; + struct ucounts { struct hlist_node node; struct user_namespace *ns; @@ -51513,45 +54214,30 @@ struct ucred { struct udp_sock { struct inet_sock inet; + long unsigned int udp_flags; int pending; - unsigned int corkflag; __u8 encap_type; - unsigned char no_check6_tx: 1; - unsigned char no_check6_rx: 1; - unsigned char encap_enabled: 1; - unsigned char gro_enabled: 1; - unsigned char accept_udp_l4: 1; - unsigned char accept_udp_fraglist: 1; + __u16 udp_lrpa_hash; + struct hlist_nulls_node udp_lrpa_node; __u16 len; __u16 gso_size; __u16 pcslen; __u16 pcrlen; - __u8 pcflag; - __u8 unused[3]; int (*encap_rcv)(struct sock *, struct sk_buff *); void (*encap_err_rcv)(struct sock *, struct sk_buff *, int, __be16, u32, u8 *); int (*encap_err_lookup)(struct sock *, struct sk_buff *); void (*encap_destroy)(struct sock *); struct sk_buff * (*gro_receive)(struct sock *, struct list_head *, struct sk_buff *); int (*gro_complete)(struct sock *, struct sk_buff *, int); - long: 64; struct sk_buff_head reader_queue; int forward_deficit; int forward_threshold; - long: 64; - long: 64; - long: 64; - long: 64; + bool peeking_with_offset; }; struct udp6_sock { struct udp_sock udp; struct ipv6_pinfo inet6; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct udp_dev_scratch { @@ -51562,11 +54248,20 @@ struct udp_dev_scratch { }; struct udp_hslot { - struct hlist_head head; + union { + struct hlist_head head; + struct hlist_nulls_head nulls_head; + }; int count; spinlock_t lock; }; +struct udp_hslot_main { + struct udp_hslot hslot; + u32 hash4_cnt; + long: 64; +}; + struct udp_mib { long unsigned int mibs[10]; }; @@ -51582,7 +54277,8 @@ struct udp_skb_cb { struct udp_table { struct udp_hslot *hash; - struct udp_hslot *hash2; + struct udp_hslot_main *hash2; + struct udp_hslot *hash4; unsigned int mask; unsigned int log; }; @@ -51637,27 +54333,46 @@ struct uevent_sock { struct sock *sk; }; -struct uid_gid_extent { - u32 first; - u32 lower_first; - u32 count; +struct uncached_list { + spinlock_t lock; + struct list_head head; }; -struct uid_gid_map { - u32 nr_extents; - union { - struct uid_gid_extent extent[5]; - struct { - struct uid_gid_extent *forward; - struct uid_gid_extent *reverse; - }; - }; +struct unix_address { + refcount_t refcnt; + int len; + struct sockaddr_un name[0]; }; -struct uncached_list { +struct unix_vertex; + +struct unix_sock { + struct sock sk; + struct unix_address *addr; + struct path path; + struct mutex iolock; + struct mutex bindlock; + struct sock *peer; + struct sock *listener; + struct unix_vertex *vertex; spinlock_t lock; - struct list_head head; - struct list_head quarantine; + struct socket_wq peer_wq; + wait_queue_entry_t peer_wake; + struct scm_stat scm_stat; +}; + +struct unix_vertex { + struct list_head edges; + struct list_head entry; + struct list_head scc_entry; + long unsigned int out_degree; + long unsigned int index; + long unsigned int scc_index; +}; + +struct unlink_vma_file_batch { + int count; + struct vm_area_struct *vmas[8]; }; struct unwind_state { @@ -51669,6 +54384,7 @@ struct unwind_state { bool reset; int graph_idx; long unsigned int sp; + long unsigned int fp; long unsigned int pc; long unsigned int ra; }; @@ -51684,8 +54400,12 @@ struct uprobe { struct rw_semaphore register_rwsem; struct rw_semaphore consumer_rwsem; struct list_head pending_list; - struct uprobe_consumer *consumers; + struct list_head consumers; struct inode *inode; + union { + struct callback_head rcu; + struct work_struct work; + }; loff_t offset; loff_t ref_ctr_offset; long unsigned int flags; @@ -51695,6 +54415,7 @@ struct uprobe { struct uprobe_cpu_buffer { struct mutex mutex; void *buf; + int dsize; }; struct uprobe_dispatch_data { @@ -51704,6 +54425,11 @@ struct uprobe_dispatch_data { struct uprobe_task { enum uprobe_task_state state; + unsigned int depth; + struct return_instance *return_instances; + struct return_instance *ri_pool; + struct timer_list ri_timer; + seqcount_t ri_seqcount; union { struct { struct arch_uprobe_task autask; @@ -51716,8 +54442,7 @@ struct uprobe_task { }; struct uprobe *active_uprobe; long unsigned int xol_vaddr; - struct return_instance *return_instances; - unsigned int depth; + struct arch_uprobe *auprobe; }; struct uprobe_trace_entry_head { @@ -51856,7 +54581,12 @@ struct vdso_data { s32 tz_dsttime; u32 hrtimer_res; u32 __unused; - struct arch_vdso_data arch_data; + struct arch_vdso_time_data arch_data; +}; + +union vdso_data_store { + struct vdso_data data[2]; + u8 page[16384]; }; struct vfree_deferred { @@ -51987,10 +54717,32 @@ struct vm_unmapped_area_info { long unsigned int high_limit; long unsigned int align_mask; long unsigned int align_offset; + long unsigned int start_gap; }; -struct vma_iterator { - struct ma_state mas; +struct vma_list { + struct vm_area_struct *vma; + struct list_head head; + refcount_t mmap_count; +}; + +struct vma_merge_struct { + struct mm_struct *mm; + struct vma_iterator *vmi; + long unsigned int pgoff; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct vm_area_struct *vma; + long unsigned int start; + long unsigned int end; + long unsigned int flags; + struct file *file; + struct anon_vma *anon_vma; + struct mempolicy *policy; + struct vm_userfaultfd_ctx uffd_ctx; + struct anon_vma_name *anon_name; + enum vma_merge_flags merge_flags; + enum vma_merge_state state; }; struct vma_prepare { @@ -52027,6 +54779,7 @@ struct vmap_block { struct list_head free_list; struct callback_head callback_head; struct list_head purge; + unsigned int cpu; }; struct vmap_block_queue { @@ -52035,12 +54788,28 @@ struct vmap_block_queue { struct xarray vmap_blocks; }; +struct vmap_pool { + struct list_head head; + long unsigned int len; +}; + +struct vmap_node { + struct vmap_pool pool[256]; + spinlock_t pool_lock; + bool skip_populate; + struct rb_list busy; + struct rb_list lazy; + struct list_head purge_list; + struct work_struct purge_work; + long unsigned int nr_purged; +}; + struct vxlan_metadata { u32 gbp; }; struct wait_bit_key { - void *flags; + long unsigned int *flags; int bit_nr; long unsigned int timeout; }; @@ -52162,11 +54931,10 @@ struct word_at_a_time { const long unsigned int high_bits; }; -struct work_for_cpu { - struct work_struct work; - long int (*fn)(void *); - void *arg; - long int ret; +struct work_offq_data { + u32 pool_id; + u32 disable; + u32 flags; }; struct worker { @@ -52188,7 +54956,7 @@ struct worker { long unsigned int last_active; unsigned int flags; int id; - char desc[24]; + char desc[32]; struct workqueue_struct *rescue_wq; }; @@ -52211,8 +54979,6 @@ struct worker_pool { struct hlist_head busy_hash[64]; struct worker *manager; struct list_head workers; - struct list_head dying_workers; - struct completion *detach_completion; struct ida worker_ida; struct workqueue_attrs *attrs; struct hlist_node hash_node; @@ -52231,6 +54997,8 @@ struct workqueue_attrs { struct wq_flusher; +struct wq_node_nr_active; + struct workqueue_struct { struct list_head pwqs; struct list_head list; @@ -52244,19 +55012,21 @@ struct workqueue_struct { struct list_head maydays; struct worker *rescuer; int nr_drainers; + int max_active; + int min_active; int saved_max_active; + int saved_min_active; struct workqueue_attrs *unbound_attrs; struct pool_workqueue *dfl_pwq; - char name[24]; + char name[32]; struct callback_head rcu; long: 64; long: 64; long: 64; long: 64; - long: 64; - long: 64; unsigned int flags; struct pool_workqueue **cpu_pwq; + struct wq_node_nr_active *node_nr_active[0]; long: 64; long: 64; long: 64; @@ -52271,12 +55041,25 @@ struct wq_barrier { struct task_struct *task; }; +struct wq_drain_dead_softirq_work { + struct work_struct work; + struct worker_pool *pool; + struct completion done; +}; + struct wq_flusher { struct list_head list; int flush_color; struct completion done; }; +struct wq_node_nr_active { + int max; + atomic_t nr; + raw_spinlock_t lock; + struct list_head pending_pwqs; +}; + struct wq_pod_type { int nr_pods; cpumask_var_t *pod_cpus; @@ -52305,9 +55088,13 @@ struct writeback_control { unsigned int for_reclaim: 1; unsigned int range_cyclic: 1; unsigned int for_sync: 1; - unsigned int unpinned_fscache_wb: 1; + unsigned int unpinned_netfs_wb: 1; unsigned int no_cgroup_owner: 1; struct swap_iocb **swap_plug; + struct list_head *list; + struct folio_batch fbatch; + long unsigned int index; + int saved_err; }; struct ww_acquire_ctx { @@ -52339,7 +55126,7 @@ struct xa_node { struct list_head private_list; struct callback_head callback_head; }; - void *slots[16]; + void *slots[64]; union { long unsigned int tags[3]; long unsigned int marks[3]; @@ -52361,17 +55148,10 @@ struct xa_state { struct list_lru *xa_lru; }; -struct xattr_name; - -struct xattr_ctx { - union { - const void *cvalue; - void *value; - }; - void *kvalue; - size_t size; - struct xattr_name *kname; - unsigned int flags; +struct xattr_args { + __u64 value; + __u32 size; + __u32 flags; }; struct xattr_handler { @@ -52398,9 +55178,8 @@ struct xdp_buff_xsk { dma_addr_t dma; dma_addr_t frame_dma; struct xsk_buff_pool *pool; - u64 orig_addr; - struct list_head free_list_node; - struct list_head xskb_list_node; + struct list_head list_node; + long: 64; }; struct xdp_bulk_queue { @@ -52433,10 +55212,10 @@ struct xdp_dev_bulk_queue { struct xdp_frame { void *data; - u16 len; - u16 headroom; + u32 len; + u32 headroom; u32 metasize; - struct xdp_mem_info mem; + enum xdp_mem_type mem_type: 32; struct net_device *dev_rx; u32 frame_sz; u32 flags; @@ -52444,8 +55223,7 @@ struct xdp_frame { struct xdp_frame_bulk { int count; - void *xa; - void *q[16]; + netmem_ref q[16]; }; struct xdp_mem_allocator { @@ -52461,6 +55239,7 @@ struct xdp_mem_allocator { struct xdp_metadata_ops { int (*xmo_rx_timestamp)(const struct xdp_md *, u64 *); int (*xmo_rx_hash)(const struct xdp_md *, u32 *, enum xdp_rss_hash_type *); + int (*xmo_rx_vlan_tag)(const struct xdp_md *, __be16 *, u16 *); }; struct xdp_page_head { @@ -52484,12 +55263,6 @@ struct xdp_umem; struct xdp_sock { struct sock sk; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; struct xsk_queue *rx; struct net_device *dev; struct xdp_umem *umem; @@ -52503,9 +55276,9 @@ struct xdp_sock { XSK_BOUND = 1, XSK_UNBOUND = 2, } state; - long: 64; struct xsk_queue *tx; struct list_head tx_list; + u32 tx_budget_spent; spinlock_t rx_lock; u64 rx_dropped; u64 rx_queue_full; @@ -52552,6 +55325,7 @@ struct xdp_umem { struct user_struct *user; refcount_t users; u8 flags; + u8 tx_metadata_len; bool zc; struct page **pgs; int id; @@ -52639,6 +55413,20 @@ struct xfrm_mode { u8 flags; }; +struct xfrm_mode_cbs { + struct module *owner; + int (*init_state)(struct xfrm_state *); + int (*clone_state)(struct xfrm_state *, struct xfrm_state *); + void (*destroy_state)(struct xfrm_state *); + int (*user_init)(struct net *, struct xfrm_state *, struct nlattr **, struct netlink_ext_ack *); + int (*copy_to_user)(struct xfrm_state *, struct sk_buff *); + unsigned int (*sa_len)(const struct xfrm_state *); + u32 (*get_inner_mtu)(struct xfrm_state *, int); + int (*input)(struct xfrm_state *, struct sk_buff *); + int (*output)(struct net *, struct sock *, struct sk_buff *); + int (*prepare_output)(struct xfrm_state *, struct sk_buff *); +}; + struct xfrm_replay_state { __u32 oseq; __u32 seq; @@ -52703,11 +55491,17 @@ struct xfrm_state { struct hlist_node gclist; struct hlist_node bydst; }; - struct hlist_node bysrc; + union { + struct hlist_node dev_gclist; + struct hlist_node bysrc; + }; struct hlist_node byspi; struct hlist_node byseq; + struct hlist_node state_cache; + struct hlist_node state_cache_input; refcount_t refcnt; spinlock_t lock; + u32 pcpu_num; struct xfrm_id id; struct xfrm_selector sel; struct xfrm_mark mark; @@ -52726,6 +55520,7 @@ struct xfrm_state { u16 family; xfrm_address_t saddr; int header_len; + int enc_hdr_len; int trailer_len; u32 extra_flags; struct xfrm_mark smark; @@ -52741,6 +55536,8 @@ struct xfrm_state { u32 mapping_maxage; struct xfrm_encap_tmpl *encap; struct sock *encap_sk; + u32 nat_keepalive_interval; + time64_t nat_keepalive_expiration; xfrm_address_t *coaddr; struct xfrm_state *tunnel; atomic_t tunnel_users; @@ -52767,6 +55564,9 @@ struct xfrm_state { const struct xfrm_type_offload *type_offload; struct xfrm_sec_ctx *security; void *data; + u8 dir; + const struct xfrm_mode_cbs *mode_cbs; + void *mode_data; }; struct xfrm_tunnel { @@ -52798,29 +55598,11 @@ struct xfrm_type_offload { struct xol_area { wait_queue_head_t wq; - atomic_t slot_count; long unsigned int *bitmap; - struct vm_special_mapping xol_mapping; - struct page *pages[2]; + struct page *page; long unsigned int vaddr; }; -struct xps_map; - -struct xps_dev_maps { - struct callback_head rcu; - unsigned int nr_ids; - s16 num_tc; - struct xps_map *attr_map[0]; -}; - -struct xps_map { - unsigned int len; - unsigned int alloc_len; - struct callback_head rcu; - u16 queues[0]; -}; - struct xsk_buff_pool { struct device *dev; struct net_device *netdev; @@ -52833,7 +55615,6 @@ struct xsk_buff_pool { struct list_head xskb_list; u32 heads_cnt; u16 queue_id; - long: 64; struct xsk_queue *fq; struct xsk_queue *cq; dma_addr_t *dma_pages; @@ -52848,21 +55629,27 @@ struct xsk_buff_pool { u32 chunk_size; u32 chunk_shift; u32 frame_len; + u32 xdp_zc_max_segs; + u8 tx_metadata_len; u8 cached_need_wakeup; bool uses_need_wakeup; - bool dma_need_sync; bool unaligned; + bool tx_sw_csum; void *addrs; spinlock_t cq_lock; struct xdp_buff_xsk *free_heads[0]; - long: 64; - long: 64; - long: 64; +}; + +struct xsk_tx_metadata_ops { + void (*tmo_request_timestamp)(void *); + u64 (*tmo_fill_timestamp)(void *); + void (*tmo_request_checksum)(u16, u16, void *); }; struct zap_details { struct folio *single_folio; bool even_cows; + bool reclaim_pt; zap_flags_t zap_flags; }; @@ -52926,8 +55713,6 @@ typedef u64 (*btf_bpf_csum_level)(struct sk_buff *, u64); typedef u64 (*btf_bpf_csum_update)(struct sk_buff *, __wsum); -typedef u64 (*btf_bpf_current_task_under_cgroup)(struct bpf_map *, u32); - typedef u64 (*btf_bpf_d_path)(struct path *, char *, u32); typedef u64 (*btf_bpf_dynptr_data)(const struct bpf_dynptr_kern *, u32, u32); @@ -52962,13 +55747,13 @@ typedef u64 (*btf_bpf_get_cgroup_classid)(const struct sk_buff *); typedef u64 (*btf_bpf_get_current_comm)(char *, u32); -typedef u64 (*btf_bpf_get_current_pid_tgid)(); +typedef u64 (*btf_bpf_get_current_pid_tgid)(void); -typedef u64 (*btf_bpf_get_current_task)(); +typedef u64 (*btf_bpf_get_current_task)(void); -typedef u64 (*btf_bpf_get_current_task_btf)(); +typedef u64 (*btf_bpf_get_current_task_btf)(void); -typedef u64 (*btf_bpf_get_current_uid_gid)(); +typedef u64 (*btf_bpf_get_current_uid_gid)(void); typedef u64 (*btf_bpf_get_func_ip_kprobe)(struct pt_regs *); @@ -52982,6 +55767,8 @@ typedef u64 (*btf_bpf_get_hash_recalc)(struct sk_buff *); typedef u64 (*btf_bpf_get_listener_sock)(struct sock *); +typedef u64 (*btf_bpf_get_netns_cookie)(struct sk_buff *); + typedef u64 (*btf_bpf_get_netns_cookie_sk_msg)(struct sk_msg *); typedef u64 (*btf_bpf_get_netns_cookie_sock)(struct sock *); @@ -52992,13 +55779,13 @@ typedef u64 (*btf_bpf_get_netns_cookie_sock_ops)(struct bpf_sock_ops_kern *); typedef u64 (*btf_bpf_get_ns_current_pid_tgid)(u64, u64, struct bpf_pidns_info *, u32); -typedef u64 (*btf_bpf_get_numa_node_id)(); +typedef u64 (*btf_bpf_get_numa_node_id)(void); -typedef u64 (*btf_bpf_get_raw_cpu_id)(); +typedef u64 (*btf_bpf_get_raw_cpu_id)(void); typedef u64 (*btf_bpf_get_route_realm)(const struct sk_buff *); -typedef u64 (*btf_bpf_get_smp_processor_id)(); +typedef u64 (*btf_bpf_get_smp_processor_id)(void); typedef u64 (*btf_bpf_get_socket_cookie)(struct sk_buff *); @@ -53018,6 +55805,8 @@ typedef u64 (*btf_bpf_get_stack_pe)(struct bpf_perf_event_data_kern *, void *, u typedef u64 (*btf_bpf_get_stack_raw_tp)(struct bpf_raw_tracepoint_args *, void *, u32, u64); +typedef u64 (*btf_bpf_get_stack_sleepable)(struct pt_regs *, void *, u32, u64); + typedef u64 (*btf_bpf_get_stack_tp)(void *, void *, u32, u64); typedef u64 (*btf_bpf_get_stackid)(struct pt_regs *, struct bpf_map *, u64); @@ -53030,19 +55819,21 @@ typedef u64 (*btf_bpf_get_stackid_tp)(void *, struct bpf_map *, u64); typedef u64 (*btf_bpf_get_task_stack)(struct task_struct *, void *, u32, u64); -typedef u64 (*btf_bpf_jiffies64)(); +typedef u64 (*btf_bpf_get_task_stack_sleepable)(struct task_struct *, void *, u32, u64); + +typedef u64 (*btf_bpf_jiffies64)(void); typedef u64 (*btf_bpf_kallsyms_lookup_name)(const char *, int, int, u64 *); typedef u64 (*btf_bpf_kptr_xchg)(void *, void *); -typedef u64 (*btf_bpf_ktime_get_boot_ns)(); +typedef u64 (*btf_bpf_ktime_get_boot_ns)(void); -typedef u64 (*btf_bpf_ktime_get_coarse_ns)(); +typedef u64 (*btf_bpf_ktime_get_coarse_ns)(void); -typedef u64 (*btf_bpf_ktime_get_ns)(); +typedef u64 (*btf_bpf_ktime_get_ns)(void); -typedef u64 (*btf_bpf_ktime_get_tai_ns)(); +typedef u64 (*btf_bpf_ktime_get_tai_ns)(void); typedef u64 (*btf_bpf_l3_csum_replace)(struct sk_buff *, u32, u64, u64, u64); @@ -53290,9 +56081,9 @@ typedef u64 (*btf_bpf_spin_unlock)(struct bpf_spin_lock *); typedef u64 (*btf_bpf_strncmp)(const char *, u32, const char *); -typedef u64 (*btf_bpf_strtol)(const char *, size_t, u64, long int *); +typedef u64 (*btf_bpf_strtol)(const char *, size_t, u64, s64 *); -typedef u64 (*btf_bpf_strtoul)(const char *, size_t, u64, long unsigned int *); +typedef u64 (*btf_bpf_strtoul)(const char *, size_t, u64, u64 *); typedef u64 (*btf_bpf_sys_bpf)(int, union bpf_attr *, u32); @@ -53324,13 +56115,13 @@ typedef u64 (*btf_bpf_tcp_sock)(struct sock *); typedef u64 (*btf_bpf_this_cpu_ptr)(const void *); -typedef u64 (*btf_bpf_timer_cancel)(struct bpf_timer_kern *); +typedef u64 (*btf_bpf_timer_cancel)(struct bpf_async_kern *); -typedef u64 (*btf_bpf_timer_init)(struct bpf_timer_kern *, struct bpf_map *, u64); +typedef u64 (*btf_bpf_timer_init)(struct bpf_async_kern *, struct bpf_map *, u64); -typedef u64 (*btf_bpf_timer_set_callback)(struct bpf_timer_kern *, void *, struct bpf_prog_aux *); +typedef u64 (*btf_bpf_timer_set_callback)(struct bpf_async_kern *, void *, struct bpf_prog_aux *); -typedef u64 (*btf_bpf_timer_start)(struct bpf_timer_kern *, u64, u64); +typedef u64 (*btf_bpf_timer_start)(struct bpf_async_kern *, u64, u64); typedef u64 (*btf_bpf_trace_printk)(char *, u32, u64, u64, u64); @@ -53342,7 +56133,7 @@ typedef u64 (*btf_bpf_unlocked_sk_setsockopt)(struct sock *, int, int, char *, i typedef u64 (*btf_bpf_user_ringbuf_drain)(struct bpf_map *, void *, void *, u64); -typedef u64 (*btf_bpf_user_rnd_u32)(); +typedef u64 (*btf_bpf_user_rnd_u32)(void); typedef u64 (*btf_bpf_xdp_adjust_head)(struct xdp_buff *, int); @@ -53410,8 +56201,12 @@ typedef void (*btf_trace_bpf_test_finish)(void *, int *); typedef void (*btf_trace_bpf_trace_printk)(void *, const char *); +typedef void (*btf_trace_bpf_trigger_tp)(void *, int); + typedef void (*btf_trace_bpf_xdp_link_attach_failed)(void *, const char *); +typedef void (*btf_trace_cap_capable)(void *, const struct cred *, struct user_namespace *, const struct user_namespace *, int, int); + typedef void (*btf_trace_clk_disable)(void *, struct clk_core *); typedef void (*btf_trace_clk_disable_complete)(void *, struct clk_core *); @@ -53482,11 +56277,9 @@ typedef void (*btf_trace_cpuhp_exit)(void *, unsigned int, int, int, int); typedef void (*btf_trace_cpuhp_multi_enter)(void *, unsigned int, int, int, int (*)(unsigned int, struct hlist_node *), struct hlist_node *); -typedef void (*btf_trace_csd_function_entry)(void *, smp_call_func_t, struct __call_single_data *); - -typedef void (*btf_trace_csd_function_exit)(void *, smp_call_func_t, struct __call_single_data *); +typedef void (*btf_trace_ctime_ns_xchg)(void *, struct inode *, u32, u32, u32); -typedef void (*btf_trace_csd_queue_cpu)(void *, const unsigned int, long unsigned int, smp_call_func_t, struct __call_single_data *); +typedef void (*btf_trace_ctime_xchg_skip)(void *, struct inode *, struct timespec64 *); typedef void (*btf_trace_dev_pm_qos_add_request)(void *, const char *, enum dev_pm_qos_req_type, s32); @@ -53500,6 +56293,44 @@ typedef void (*btf_trace_device_pm_callback_start)(void *, struct device *, cons typedef void (*btf_trace_devres_log)(void *, struct device *, const char *, void *, const char *, size_t); +typedef void (*btf_trace_dma_alloc)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_pages)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_sgt)(void *, struct device *, struct sg_table *, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_sgt_err)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_free)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_free_pages)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_free_sgt)(void *, struct device *, struct sg_table *, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_map_page)(void *, struct device *, phys_addr_t, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_resource)(void *, struct device *, phys_addr_t, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_sg)(void *, struct device *, struct scatterlist *, int, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_sg_err)(void *, struct device *, struct scatterlist *, int, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_sync_sg_for_cpu)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_sg_for_device)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_single_for_cpu)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_single_for_device)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_unmap_page)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_unmap_resource)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_unmap_sg)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dql_stall_detected)(void *, short unsigned int, unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int *); + typedef void (*btf_trace_error_report_end)(void *, enum error_detector, long unsigned int); typedef void (*btf_trace_exit_mmap)(void *, struct mm_struct *); @@ -53512,6 +56343,8 @@ typedef void (*btf_trace_file_check_and_advance_wb_err)(void *, struct file *, e typedef void (*btf_trace_filemap_set_wb_err)(void *, struct address_space *, errseq_t); +typedef void (*btf_trace_fill_mg_cmtime)(void *, struct inode *, struct timespec64 *, struct timespec64 *); + typedef void (*btf_trace_finish_task_reaping)(void *, int); typedef void (*btf_trace_folio_wait_writeback)(void *, struct folio *, struct address_space *); @@ -53536,6 +56369,8 @@ typedef void (*btf_trace_hrtimer_init)(void *, struct hrtimer *, clockid_t, enum typedef void (*btf_trace_hrtimer_start)(void *, struct hrtimer *, enum hrtimer_mode); +typedef void (*btf_trace_icmp_send)(void *, const struct sk_buff *, int, int); + typedef void (*btf_trace_inet_sk_error_report)(void *, const struct sock *); typedef void (*btf_trace_inet_sock_set_state)(void *, const struct sock *, const int, const int); @@ -53546,6 +56381,8 @@ typedef void (*btf_trace_initcall_level)(void *, const char *); typedef void (*btf_trace_initcall_start)(void *, initcall_t); +typedef void (*btf_trace_inode_set_ctime_to_ts)(void *, struct inode *, struct timespec64 *); + typedef void (*btf_trace_ipi_entry)(void *, const char *); typedef void (*btf_trace_ipi_exit)(void *, const char *); @@ -53560,13 +56397,37 @@ typedef void (*btf_trace_irq_handler_entry)(void *, int, struct irqaction *); typedef void (*btf_trace_irq_handler_exit)(void *, int, struct irqaction *, int); +typedef void (*btf_trace_irq_matrix_alloc)(void *, int, unsigned int, struct irq_matrix *, struct cpumap *); + +typedef void (*btf_trace_irq_matrix_alloc_managed)(void *, int, unsigned int, struct irq_matrix *, struct cpumap *); + +typedef void (*btf_trace_irq_matrix_alloc_reserved)(void *, int, unsigned int, struct irq_matrix *, struct cpumap *); + +typedef void (*btf_trace_irq_matrix_assign)(void *, int, unsigned int, struct irq_matrix *, struct cpumap *); + +typedef void (*btf_trace_irq_matrix_assign_system)(void *, int, struct irq_matrix *); + +typedef void (*btf_trace_irq_matrix_free)(void *, int, unsigned int, struct irq_matrix *, struct cpumap *); + +typedef void (*btf_trace_irq_matrix_offline)(void *, struct irq_matrix *); + +typedef void (*btf_trace_irq_matrix_online)(void *, struct irq_matrix *); + +typedef void (*btf_trace_irq_matrix_remove_managed)(void *, int, unsigned int, struct irq_matrix *, struct cpumap *); + +typedef void (*btf_trace_irq_matrix_remove_reserved)(void *, struct irq_matrix *); + +typedef void (*btf_trace_irq_matrix_reserve)(void *, struct irq_matrix *); + +typedef void (*btf_trace_irq_matrix_reserve_managed)(void *, int, unsigned int, struct irq_matrix *, struct cpumap *); + typedef void (*btf_trace_itimer_expire)(void *, int, struct pid *, long long unsigned int); typedef void (*btf_trace_itimer_state)(void *, int, const struct itimerspec64 * const, long long unsigned int); typedef void (*btf_trace_kfree)(void *, long unsigned int, const void *); -typedef void (*btf_trace_kfree_skb)(void *, struct sk_buff *, void *, enum skb_drop_reason); +typedef void (*btf_trace_kfree_skb)(void *, struct sk_buff *, void *, enum skb_drop_reason, struct sock *); typedef void (*btf_trace_kmalloc)(void *, long unsigned int, const void *, size_t, size_t, gfp_t, int); @@ -53580,7 +56441,7 @@ typedef void (*btf_trace_ma_read)(void *, const char *, struct ma_state *); typedef void (*btf_trace_ma_write)(void *, const char *, struct ma_state *, long unsigned int, void *); -typedef void (*btf_trace_mark_victim)(void *, int); +typedef void (*btf_trace_mark_victim)(void *, struct task_struct *, uid_t); typedef void (*btf_trace_mem_connect)(void *, const struct xdp_mem_allocator *, const struct xdp_rxq_info *); @@ -53588,15 +56449,23 @@ typedef void (*btf_trace_mem_disconnect)(void *, const struct xdp_mem_allocator typedef void (*btf_trace_mem_return_failed)(void *, const struct xdp_mem_info *, const struct page *); +typedef void (*btf_trace_mm_alloc_contig_migrate_range_info)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int); + typedef void (*btf_trace_mm_filemap_add_to_page_cache)(void *, struct folio *); typedef void (*btf_trace_mm_filemap_delete_from_page_cache)(void *, struct folio *); +typedef void (*btf_trace_mm_filemap_fault)(void *, struct address_space *, long unsigned int); + +typedef void (*btf_trace_mm_filemap_get_pages)(void *, struct address_space *, long unsigned int, long unsigned int); + +typedef void (*btf_trace_mm_filemap_map_pages)(void *, struct address_space *, long unsigned int, long unsigned int); + typedef void (*btf_trace_mm_lru_activate)(void *, struct folio *); typedef void (*btf_trace_mm_lru_insertion)(void *, struct folio *); -typedef void (*btf_trace_mm_migrate_pages)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, enum migrate_mode, int); +typedef void (*btf_trace_mm_migrate_pages)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, enum migrate_mode, int); typedef void (*btf_trace_mm_migrate_pages_start)(void *, enum migrate_mode, int); @@ -53624,7 +56493,7 @@ typedef void (*btf_trace_mm_vmscan_kswapd_sleep)(void *, int); typedef void (*btf_trace_mm_vmscan_kswapd_wake)(void *, int, int, int); -typedef void (*btf_trace_mm_vmscan_lru_isolate)(void *, int, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, isolate_mode_t, int); +typedef void (*btf_trace_mm_vmscan_lru_isolate)(void *, int, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int); typedef void (*btf_trace_mm_vmscan_lru_shrink_active)(void *, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int, int); @@ -53634,17 +56503,19 @@ typedef void (*btf_trace_mm_vmscan_node_reclaim_begin)(void *, int, int, gfp_t); typedef void (*btf_trace_mm_vmscan_node_reclaim_end)(void *, long unsigned int); +typedef void (*btf_trace_mm_vmscan_reclaim_pages)(void *, int, long unsigned int, long unsigned int, struct reclaim_stat *); + typedef void (*btf_trace_mm_vmscan_throttled)(void *, int, int, int, int); typedef void (*btf_trace_mm_vmscan_wakeup_kswapd)(void *, int, int, int, gfp_t); typedef void (*btf_trace_mm_vmscan_write_folio)(void *, struct folio *); -typedef void (*btf_trace_mmap_lock_acquire_returned)(void *, struct mm_struct *, const char *, bool, bool); +typedef void (*btf_trace_mmap_lock_acquire_returned)(void *, struct mm_struct *, bool, bool); -typedef void (*btf_trace_mmap_lock_released)(void *, struct mm_struct *, const char *, bool); +typedef void (*btf_trace_mmap_lock_released)(void *, struct mm_struct *, bool); -typedef void (*btf_trace_mmap_lock_start_locking)(void *, struct mm_struct *, const char *, bool); +typedef void (*btf_trace_mmap_lock_start_locking)(void *, struct mm_struct *, bool); typedef void (*btf_trace_module_free)(void *, struct module *); @@ -53712,9 +56583,9 @@ typedef void (*btf_trace_oom_score_adj_update)(void *, struct task_struct *); typedef void (*btf_trace_page_pool_release)(void *, const struct page_pool *, s32, u32, u32); -typedef void (*btf_trace_page_pool_state_hold)(void *, const struct page_pool *, const struct page *, u32); +typedef void (*btf_trace_page_pool_state_hold)(void *, const struct page_pool *, netmem_ref, u32); -typedef void (*btf_trace_page_pool_state_release)(void *, const struct page_pool *, const struct page *, u32); +typedef void (*btf_trace_page_pool_state_release)(void *, const struct page_pool *, netmem_ref, u32); typedef void (*btf_trace_page_pool_update_nid)(void *, const struct page_pool *, int); @@ -53722,14 +56593,14 @@ typedef void (*btf_trace_pelt_cfs_tp)(void *, struct cfs_rq *); typedef void (*btf_trace_pelt_dl_tp)(void *, struct rq *); +typedef void (*btf_trace_pelt_hw_tp)(void *, struct rq *); + typedef void (*btf_trace_pelt_irq_tp)(void *, struct rq *); typedef void (*btf_trace_pelt_rt_tp)(void *, struct rq *); typedef void (*btf_trace_pelt_se_tp)(void *, struct sched_entity *); -typedef void (*btf_trace_pelt_thermal_tp)(void *, struct rq *); - typedef void (*btf_trace_percpu_alloc_percpu)(void *, long unsigned int, bool, bool, size_t, size_t, void *, int, void *, size_t, gfp_t); typedef void (*btf_trace_percpu_alloc_percpu_fail)(void *, bool, bool, size_t, size_t); @@ -53768,8 +56639,6 @@ typedef void (*btf_trace_qdisc_enqueue)(void *, struct Qdisc *, const struct net typedef void (*btf_trace_qdisc_reset)(void *, struct Qdisc *); -typedef void (*btf_trace_rcu_stall_warning)(void *, const char *, const char *); - typedef void (*btf_trace_rcu_utilization)(void *, const char *); typedef void (*btf_trace_reclaim_retry_zone)(void *, struct zoneref *, int, long unsigned int, long unsigned int, long unsigned int, int, bool); @@ -53782,6 +56651,8 @@ typedef void (*btf_trace_sb_clear_inode_writeback)(void *, struct inode *); typedef void (*btf_trace_sb_mark_inode_writeback)(void *, struct inode *); +typedef void (*btf_trace_sched_compute_energy_tp)(void *, struct task_struct *, int, long unsigned int, long unsigned int, long unsigned int); + typedef void (*btf_trace_sched_cpu_capacity_tp)(void *, struct rq *); typedef void (*btf_trace_sched_kthread_stop)(void *, struct task_struct *); @@ -53798,10 +56669,14 @@ typedef void (*btf_trace_sched_migrate_task)(void *, struct task_struct *, int); typedef void (*btf_trace_sched_move_numa)(void *, struct task_struct *, int, int); +struct root_domain; + typedef void (*btf_trace_sched_overutilized_tp)(void *, struct root_domain *, bool); typedef void (*btf_trace_sched_pi_setprio)(void *, struct task_struct *, struct task_struct *); +typedef void (*btf_trace_sched_prepare_exec)(void *, struct task_struct *, struct linux_binprm *); + typedef void (*btf_trace_sched_process_exec)(void *, struct task_struct *, pid_t, struct linux_binprm *); typedef void (*btf_trace_sched_process_exit)(void *, struct task_struct *); @@ -53812,7 +56687,7 @@ typedef void (*btf_trace_sched_process_free)(void *, struct task_struct *); typedef void (*btf_trace_sched_process_wait)(void *, struct pid *); -typedef void (*btf_trace_sched_stat_runtime)(void *, struct task_struct *, u64, u64); +typedef void (*btf_trace_sched_stat_runtime)(void *, struct task_struct *, u64); typedef void (*btf_trace_sched_stick_numa)(void *, struct task_struct *, int, struct task_struct *, int); @@ -53874,18 +56749,46 @@ typedef void (*btf_trace_sys_exit)(void *, struct pt_regs *, long int); typedef void (*btf_trace_task_newtask)(void *, struct task_struct *, long unsigned int); +typedef void (*btf_trace_task_prctl_unknown)(void *, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int); + typedef void (*btf_trace_task_rename)(void *, struct task_struct *, const char *); typedef void (*btf_trace_tasklet_entry)(void *, struct tasklet_struct *, void *); typedef void (*btf_trace_tasklet_exit)(void *, struct tasklet_struct *, void *); +typedef void (*btf_trace_tcp_ao_handshake_failure)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_key_not_found)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_mismatch)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_rcv_sne_update)(void *, const struct sock *, __u32); + +typedef void (*btf_trace_tcp_ao_rnext_request)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_snd_sne_update)(void *, const struct sock *, __u32); + +typedef void (*btf_trace_tcp_ao_synack_no_key)(void *, const struct sock *, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_wrong_maclen)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + typedef void (*btf_trace_tcp_bad_csum)(void *, const struct sk_buff *); typedef void (*btf_trace_tcp_cong_state_set)(void *, struct sock *, const u8); typedef void (*btf_trace_tcp_destroy_sock)(void *, struct sock *); +typedef void (*btf_trace_tcp_hash_ao_required)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_bad_header)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_mismatch)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_required)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_unexpected)(void *, const struct sock *, const struct sk_buff *); + typedef void (*btf_trace_tcp_probe)(void *, struct sock *, struct sk_buff *); typedef void (*btf_trace_tcp_rcv_space_adjust)(void *, struct sock *); @@ -53896,7 +56799,9 @@ typedef void (*btf_trace_tcp_retransmit_skb)(void *, const struct sock *, const typedef void (*btf_trace_tcp_retransmit_synack)(void *, const struct sock *, const struct request_sock *); -typedef void (*btf_trace_tcp_send_reset)(void *, const struct sock *, const struct sk_buff *); +typedef void (*btf_trace_tcp_send_reset)(void *, const struct sock *, const struct sk_buff *, const enum sk_rst_reason); + +typedef void (*btf_trace_timer_base_idle)(void *, bool, unsigned int); typedef void (*btf_trace_timer_cancel)(void *, struct timer_list *); @@ -53906,11 +56811,11 @@ typedef void (*btf_trace_timer_expire_exit)(void *, struct timer_list *); typedef void (*btf_trace_timer_init)(void *, struct timer_list *); -typedef void (*btf_trace_timer_start)(void *, struct timer_list *, long unsigned int, unsigned int); +typedef void (*btf_trace_timer_start)(void *, struct timer_list *, long unsigned int); typedef void (*btf_trace_tlb_flush)(void *, int, long unsigned int); -typedef void (*btf_trace_udp_fail_queue_rcv_skb)(void *, int, struct sock *); +typedef void (*btf_trace_udp_fail_queue_rcv_skb)(void *, int, struct sock *, struct sk_buff *); typedef void (*btf_trace_vm_unmapped_area)(void *, long unsigned int, struct vm_unmapped_area_info *); @@ -54002,6 +56907,10 @@ typedef struct vfsmount * (*debugfs_automount_t)(struct dentry *, void *); typedef void * (*devcon_match_fn_t)(const struct fwnode_handle *, const char *, void *); +typedef int (*device_iter_t)(struct device *, void *); + +typedef int (*device_match_t)(struct device *, const void *); + typedef int (*dr_match_t)(struct device *, void *, void *); typedef int (*dummy_ops_test_ret_fn)(struct bpf_dummy_ops_state *, ...); @@ -54012,11 +56921,11 @@ typedef int (*efi_memattr_perm_setter)(struct mm_struct *, efi_memory_desc_t *, typedef void (*ethnl_notify_handler_t)(struct net_device *, unsigned int, const void *); -typedef void (*exitcall_t)(); +typedef void (*exitcall_t)(void); typedef int filler_t(struct file *, struct folio *); -typedef bool (*filter_func_t)(struct uprobe_consumer *, enum uprobe_filter_ctx, struct mm_struct *); +typedef bool (*filter_func_t)(struct uprobe_consumer *, struct mm_struct *); typedef void free_folio_t(struct folio *, long unsigned int); @@ -54032,18 +56941,32 @@ typedef u32 inet_ehashfn_t(const struct net *, const __be32, const __u16, const typedef initcall_t initcall_entry_t; +struct xattr; + +typedef int (*initxattrs)(struct inode *, const struct xattr *, void *); + +typedef size_t (*iov_step_f)(void *, size_t, size_t, void *, void *); + +typedef size_t (*iov_ustep_f)(void *, size_t, size_t, void *, void *); + typedef void ip6_icmp_send_t(struct sk_buff *, u8, u8, __u32, const struct in6_addr *, const struct inet6_skb_parm *); +typedef void (*irq_write_msi_msg_t)(struct msi_desc *, struct msi_msg *); + typedef int (*list_cmp_func_t)(void *, const struct list_head *, const struct list_head *); -typedef enum lru_status (*list_lru_walk_cb)(struct list_head *, struct list_lru_one *, spinlock_t *, void *); +typedef enum lru_status (*list_lru_walk_cb)(struct list_head *, struct list_lru_one *, void *); typedef void (*move_fn_t)(struct lruvec *, struct folio *); +typedef int (*netlink_filter_fn)(struct sock *, struct sk_buff *, void *); + typedef struct folio *new_folio_t(struct folio *, long unsigned int); typedef struct ns_common *ns_get_path_helper_t(void *); +typedef int (*objpool_init_obj_cb)(void *, void *); + typedef struct gpio_desc * (*of_find_gpio_quirk)(struct device_node *, const char *, unsigned int, enum of_gpio_flags *); typedef void (*of_init_fn_1)(struct device_node *); @@ -54052,14 +56975,16 @@ typedef int (*of_init_fn_2)(struct device_node *, struct device_node *); typedef int (*parse_pred_fn)(const char *, void *, int, struct filter_parse_error *, struct filter_pred **); -typedef int pcpu_fc_cpu_distance_fn_t(unsigned int, unsigned int); - -typedef int pcpu_fc_cpu_to_node_fn_t(int); +typedef int (*parse_unknown_fn)(char *, char *, const char *, void *); typedef void perf_iterate_f(struct perf_event *, void *); +typedef int perf_snapshot_branch_stack_t(struct perf_branch_entry *, unsigned int); + typedef struct rt6_info * (*pol_lookup_t)(struct net *, struct fib6_table *, struct flowi6 *, const struct sk_buff *, int); +typedef int (*pp_nl_fill_cb)(struct sk_buff *, const struct page_pool *, const struct genl_info *); + typedef int (*proc_visitor)(struct task_struct *, void *); typedef int (*pte_fn_t)(pte_t *, long unsigned int, void *); @@ -54068,6 +56993,10 @@ typedef int (*reloc_rela_handler)(struct module *, u32 *, Elf64_Addr, s64 *, siz typedef int (*reservedmem_of_init_fn)(struct reserved_mem *); +typedef void (*rethook_handler_t)(struct rethook_node *, void *, long unsigned int, struct pt_regs *); + +typedef bool (*ring_buffer_cond_fn)(void *); + typedef int (*sendmsg_func)(struct sock *, struct msghdr *); typedef int (*set_callee_state_fn)(struct bpf_verifier_env *, struct bpf_func_state *, struct bpf_func_state *, int); @@ -54100,13 +57029,9 @@ typedef int (*writepage_t)(struct folio *, struct writeback_control *, void *); struct net_bridge; -struct task_group; - struct iomap_ops; -struct ahash_request; - -struct nf_bridge_frag_data; +struct task_group; struct __aio_sigset; @@ -54116,16 +57041,12 @@ struct audit_context; struct bpf_iter; -struct btf_iter_num; - struct cachestat; struct cachestat_range; struct capture_control; -struct eiointc; - struct futex_waitv; struct io_uring_params; @@ -54144,11 +57065,119 @@ struct nvmem_cell; struct robust_list_head; -struct unix_sock; +struct shmid_ds; /* BPF kfuncs */ #ifndef BPF_NO_KFUNC_PROTOTYPES +extern void *bpf_arena_alloc_pages(void *p__map, void *addr__ign, u32 page_cnt, int node_id, u64 flags) __weak __ksym; +extern void bpf_arena_free_pages(void *p__map, void *ptr__ign, u32 page_cnt) __weak __ksym; +extern __bpf_fastcall void *bpf_cast_to_kern_ctx(void *obj) __weak __ksym; +extern int bpf_copy_from_user_str(void *dst, u32 dst__sz, const void *unsafe_ptr__ign, u64 flags) __weak __ksym; +extern struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_and(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_any_and_distribute(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_any_distribute(const struct cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_clear(struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_copy(struct bpf_cpumask *dst, const struct cpumask *src) __weak __ksym; +extern struct bpf_cpumask *bpf_cpumask_create(void) __weak __ksym; +extern bool bpf_cpumask_empty(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_first(const struct cpumask *cpumask) __weak __ksym; +extern u32 bpf_cpumask_first_and(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_full(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_intersects(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern void bpf_cpumask_or(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern void bpf_cpumask_release(struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_setall(struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_subset(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern bool bpf_cpumask_test_and_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_test_and_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __weak __ksym; +extern u32 bpf_cpumask_weight(const struct cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_xor(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern int bpf_dynptr_adjust(const struct bpf_dynptr *p, u32 start, u32 end) __weak __ksym; +extern int bpf_dynptr_clone(const struct bpf_dynptr *p, struct bpf_dynptr *clone__uninit) __weak __ksym; +extern int bpf_dynptr_from_skb(struct __sk_buff *s, u64 flags, struct bpf_dynptr *ptr__uninit) __weak __ksym; +extern int bpf_dynptr_from_xdp(struct xdp_md *x, u64 flags, struct bpf_dynptr *ptr__uninit) __weak __ksym; +extern bool bpf_dynptr_is_null(const struct bpf_dynptr *p) __weak __ksym; +extern bool bpf_dynptr_is_rdonly(const struct bpf_dynptr *p) __weak __ksym; +extern __u32 bpf_dynptr_size(const struct bpf_dynptr *p) __weak __ksym; +extern void *bpf_dynptr_slice(const struct bpf_dynptr *p, u32 offset, void *buffer__opt, u32 buffer__szk) __weak __ksym; +extern void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *p, u32 offset, void *buffer__opt, u32 buffer__szk) __weak __ksym; +extern int bpf_fentry_test1(int a) __weak __ksym; +extern struct kmem_cache *bpf_get_kmem_cache(u64 addr) __weak __ksym; +extern void bpf_iter_bits_destroy(struct bpf_iter_bits *it) __weak __ksym; +extern int bpf_iter_bits_new(struct bpf_iter_bits *it, const u64 *unsafe_ptr__ign, u32 nr_words) __weak __ksym; +extern int *bpf_iter_bits_next(struct bpf_iter_bits *it) __weak __ksym; +extern void bpf_iter_kmem_cache_destroy(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern int bpf_iter_kmem_cache_new(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern struct kmem_cache *bpf_iter_kmem_cache_next(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern void bpf_iter_num_destroy(struct bpf_iter_num *it) __weak __ksym; +extern int bpf_iter_num_new(struct bpf_iter_num *it, int start, int end) __weak __ksym; +extern int *bpf_iter_num_next(struct bpf_iter_num *it) __weak __ksym; +extern void bpf_iter_task_destroy(struct bpf_iter_task *it) __weak __ksym; +extern int bpf_iter_task_new(struct bpf_iter_task *it, struct task_struct *task__nullable, unsigned int flags) __weak __ksym; +extern struct task_struct *bpf_iter_task_next(struct bpf_iter_task *it) __weak __ksym; +extern void bpf_iter_task_vma_destroy(struct bpf_iter_task_vma *it) __weak __ksym; +extern int bpf_iter_task_vma_new(struct bpf_iter_task_vma *it, struct task_struct *task, u64 addr) __weak __ksym; +extern struct vm_area_struct *bpf_iter_task_vma_next(struct bpf_iter_task_vma *it) __weak __ksym; +extern void bpf_kfunc_call_memb_release(struct prog_test_member *p) __weak __ksym; +extern void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) __weak __ksym; +extern struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) __weak __ksym; +extern struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) __weak __ksym; +extern int bpf_list_push_back_impl(struct bpf_list_head *head, struct bpf_list_node *node, void *meta__ign, u64 off) __weak __ksym; +extern int bpf_list_push_front_impl(struct bpf_list_head *head, struct bpf_list_node *node, void *meta__ign, u64 off) __weak __ksym; +extern void bpf_local_irq_restore(long unsigned int *flags__irq_flag) __weak __ksym; +extern void bpf_local_irq_save(long unsigned int *flags__irq_flag) __weak __ksym; +extern s64 bpf_map_sum_elem_count(const struct bpf_map *map) __weak __ksym; +extern int bpf_modify_return_test(int a, int *b) __weak __ksym; +extern int bpf_modify_return_test2(int a, int *b, short int c, int d, void *e, char f, int g) __weak __ksym; +extern int bpf_modify_return_test_tp(int nonce) __weak __ksym; +extern void bpf_obj_drop_impl(void *p__alloc, void *meta__ign) __weak __ksym; +extern void *bpf_obj_new_impl(u64 local_type_id__k, void *meta__ign) __weak __ksym; +extern void bpf_percpu_obj_drop_impl(void *p__alloc, void *meta__ign) __weak __ksym; +extern void *bpf_percpu_obj_new_impl(u64 local_type_id__k, void *meta__ign) __weak __ksym; +extern void bpf_preempt_disable(void) __weak __ksym; +extern void bpf_preempt_enable(void) __weak __ksym; +extern int bpf_rbtree_add_impl(struct bpf_rb_root *root, struct bpf_rb_node *node, bool (*less)(struct bpf_rb_node *, const struct bpf_rb_node *), void *meta__ign, u64 off) __weak __ksym; +extern struct bpf_rb_node *bpf_rbtree_first(struct bpf_rb_root *root) __weak __ksym; +extern struct bpf_rb_node *bpf_rbtree_remove(struct bpf_rb_root *root, struct bpf_rb_node *node) __weak __ksym; +extern void bpf_rcu_read_lock(void) __weak __ksym; +extern void bpf_rcu_read_unlock(void) __weak __ksym; +extern __bpf_fastcall void *bpf_rdonly_cast(const void *obj__ign, u32 btf_id__k) __weak __ksym; +extern void *bpf_refcount_acquire_impl(void *p__refcounted_kptr, void *meta__ign) __weak __ksym; +extern int bpf_send_signal_task(struct task_struct *task, int sig, enum pid_type type, u64 value) __weak __ksym; +extern __u64 *bpf_session_cookie(void) __weak __ksym; +extern bool bpf_session_is_return(void) __weak __ksym; +extern int bpf_sk_assign_tcp_reqsk(struct __sk_buff *s, struct sock *sk, struct bpf_tcp_req_attrs *attrs, int attrs__sz) __weak __ksym; +extern int bpf_sock_addr_set_sun_path(struct bpf_sock_addr_kern *sa_kern, const u8 *sun_path, u32 sun_path__sz) __weak __ksym; +extern int bpf_sock_destroy(struct sock_common *sock) __weak __ksym; +extern struct task_struct *bpf_task_acquire(struct task_struct *p) __weak __ksym; +extern struct task_struct *bpf_task_from_pid(s32 pid) __weak __ksym; +extern struct task_struct *bpf_task_from_vpid(s32 vpid) __weak __ksym; +extern void bpf_task_release(struct task_struct *p) __weak __ksym; +extern void bpf_throw(u64 cookie) __weak __ksym; +extern int bpf_wq_init(struct bpf_wq *wq, void *p__map, unsigned int flags) __weak __ksym; +extern int bpf_wq_set_callback_impl(struct bpf_wq *wq, int (*callback_fn)(void *, int *, void *), unsigned int flags, void *aux__ign) __weak __ksym; +extern int bpf_wq_start(struct bpf_wq *wq, unsigned int flags) __weak __ksym; +extern int bpf_xdp_metadata_rx_hash(const struct xdp_md *ctx, u32 *hash, enum xdp_rss_hash_type *rss_type) __weak __ksym; +extern int bpf_xdp_metadata_rx_timestamp(const struct xdp_md *ctx, u64 *timestamp) __weak __ksym; +extern int bpf_xdp_metadata_rx_vlan_tag(const struct xdp_md *ctx, __be16 *vlan_proto, u16 *vlan_tci) __weak __ksym; +extern void cubictcp_acked(struct sock *sk, const struct ack_sample *sample) __weak __ksym; +extern void cubictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) __weak __ksym; +extern void cubictcp_cwnd_event(struct sock *sk, enum tcp_ca_event event) __weak __ksym; +extern void cubictcp_init(struct sock *sk) __weak __ksym; +extern u32 cubictcp_recalc_ssthresh(struct sock *sk) __weak __ksym; +extern void cubictcp_state(struct sock *sk, u8 new_state) __weak __ksym; +extern void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked) __weak __ksym; +extern void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked) __weak __ksym; +extern u32 tcp_reno_ssthresh(struct sock *sk) __weak __ksym; +extern u32 tcp_reno_undo_cwnd(struct sock *sk) __weak __ksym; +extern u32 tcp_slow_start(struct tcp_sock *tp, u32 acked) __weak __ksym; #endif #ifndef BPF_NO_PRESERVE_ACCESS_INDEX diff --git a/include/powerpc/vmlinux.h b/include/powerpc/vmlinux.h index 0a07c47..f254767 120000 --- a/include/powerpc/vmlinux.h +++ b/include/powerpc/vmlinux.h @@ -1 +1 @@ -vmlinux_6.6.h \ No newline at end of file +vmlinux_6.14.h \ No newline at end of file diff --git a/include/powerpc/vmlinux_6.6.h b/include/powerpc/vmlinux_6.14.h similarity index 82% rename from include/powerpc/vmlinux_6.6.h rename to include/powerpc/vmlinux_6.14.h index bcb248b..a3d1893 100644 --- a/include/powerpc/vmlinux_6.6.h +++ b/include/powerpc/vmlinux_6.14.h @@ -13,6 +13,14 @@ #define __weak __attribute__((weak)) #endif +#ifndef __bpf_fastcall +#if __has_attribute(bpf_fastcall) +#define __bpf_fastcall __attribute__((bpf_fastcall)) +#else +#define __bpf_fastcall +#endif +#endif + enum { AT_PKT_END = -1, BEYOND_PKT_END = -2, @@ -32,8 +40,7 @@ enum { AX25_VALUES_N2 = 10, AX25_VALUES_PACLEN = 11, AX25_VALUES_PROTOCOL = 12, - AX25_VALUES_DS_TIMEOUT = 13, - AX25_MAX_VALUES = 14, + AX25_MAX_VALUES = 13, }; enum { @@ -65,6 +72,7 @@ enum { BPF_FIB_LKUP_RET_UNSUPP_LWT = 6, BPF_FIB_LKUP_RET_NO_NEIGH = 7, BPF_FIB_LKUP_RET_FRAG_NEEDED = 8, + BPF_FIB_LKUP_RET_NO_SRC_ADDR = 9, }; enum { @@ -72,6 +80,8 @@ enum { BPF_FIB_LOOKUP_OUTPUT = 2, BPF_FIB_LOOKUP_SKIP_NEIGH = 4, BPF_FIB_LOOKUP_TBID = 8, + BPF_FIB_LOOKUP_SRC = 16, + BPF_FIB_LOOKUP_MARK = 32, }; enum { @@ -92,11 +102,6 @@ enum { BPF_F_ADJ_ROOM_DECAP_L3_IPV6 = 256, }; -enum { - BPF_F_BROADCAST = 8, - BPF_F_EXCLUDE_INGRESS = 16, -}; - enum { BPF_F_GET_BRANCH_RECORDS_SIZE = 1, }; @@ -113,12 +118,14 @@ enum { enum { BPF_F_INGRESS = 1, + BPF_F_BROADCAST = 8, + BPF_F_EXCLUDE_INGRESS = 16, }; enum { - BPF_F_NEIGH = 2, - BPF_F_PEER = 4, - BPF_F_NEXTHOP = 8, + BPF_F_NEIGH = 65536, + BPF_F_PEER = 131072, + BPF_F_NEXTHOP = 262144, }; enum { @@ -137,6 +144,10 @@ enum { BPF_F_INNER_MAP = 4096, BPF_F_LINK = 8192, BPF_F_PATH_FD = 16384, + BPF_F_VTYPE_BTF_OBJ_FD = 32768, + BPF_F_TOKEN_FD = 65536, + BPF_F_SEGV_ON_FAULT = 131072, + BPF_F_NO_USER_CONV = 262144, }; enum { @@ -160,6 +171,7 @@ enum { enum { BPF_F_TIMER_ABS = 1, + BPF_F_TIMER_CPU_PIN = 2, }; enum { @@ -234,6 +246,9 @@ enum { enum { BPF_SKB_TSTAMP_UNSPEC = 0, BPF_SKB_TSTAMP_DELIVERY_MONO = 1, + BPF_SKB_CLOCK_REALTIME = 0, + BPF_SKB_CLOCK_MONOTONIC = 1, + BPF_SKB_CLOCK_TAI = 2, }; enum { @@ -272,9 +287,9 @@ enum { }; enum { - BPF_STRUCT_OPS_TYPE_bpf_dummy_ops = 0, - BPF_STRUCT_OPS_TYPE_tcp_congestion_ops = 1, - __NR_BPF_STRUCT_OPS_TYPE = 2, + BPF_TASK_ITER_ALL_PROCS = 0, + BPF_TASK_ITER_ALL_THREADS = 1, + BPF_TASK_ITER_PROC_THREADS = 2, }; enum { @@ -290,7 +305,8 @@ enum { BPF_TCP_LISTEN = 10, BPF_TCP_CLOSING = 11, BPF_TCP_NEW_SYN_RECV = 12, - BPF_TCP_MAX_STATES = 13, + BPF_TCP_BOUND_INACTIVE = 13, + BPF_TCP_MAX_STATES = 14, }; enum { @@ -300,7 +316,7 @@ enum { }; enum { - BTF_FIELDS_MAX = 10, + BTF_FIELDS_MAX = 11, }; enum { @@ -383,6 +399,11 @@ enum { BTF_VAR_GLOBAL_EXTERN = 2, }; +enum { + CMIS_MODULE_LOW_PWR = 1, + CMIS_MODULE_READY = 3, +}; + enum { CPU_FTRS_ALWAYS = 0, }; @@ -537,6 +558,16 @@ enum { DEVCONF_MAX = 59, }; +enum { + DIR_OFFSET_FIRST = 2, + DIR_OFFSET_EOD = 2147483647, +}; + +enum { + DIR_OFFSET_MIN = 3, + DIR_OFFSET_MAX = 2147483646, +}; + enum { DISCOVERED = 16, EXPLORED = 32, @@ -600,6 +631,14 @@ enum { ETHTOOL_A_BITSET_MAX = 5, }; +enum { + ETHTOOL_A_C33_PSE_PW_LIMIT_UNSPEC = 0, + ETHTOOL_A_C33_PSE_PW_LIMIT_MIN = 1, + ETHTOOL_A_C33_PSE_PW_LIMIT_MAX = 2, + __ETHTOOL_A_C33_PSE_PW_LIMIT_CNT = 3, + __ETHTOOL_A_C33_PSE_PW_LIMIT_MAX = 2, +}; + enum { ETHTOOL_A_CABLE_AMPLITUDE_UNSPEC = 0, ETHTOOL_A_CABLE_AMPLITUDE_PAIR = 1, @@ -612,8 +651,15 @@ enum { ETHTOOL_A_CABLE_FAULT_LENGTH_UNSPEC = 0, ETHTOOL_A_CABLE_FAULT_LENGTH_PAIR = 1, ETHTOOL_A_CABLE_FAULT_LENGTH_CM = 2, - __ETHTOOL_A_CABLE_FAULT_LENGTH_CNT = 3, - ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 2, + ETHTOOL_A_CABLE_FAULT_LENGTH_SRC = 3, + __ETHTOOL_A_CABLE_FAULT_LENGTH_CNT = 4, + ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 3, +}; + +enum { + ETHTOOL_A_CABLE_INF_SRC_UNSPEC = 0, + ETHTOOL_A_CABLE_INF_SRC_TDR = 1, + ETHTOOL_A_CABLE_INF_SRC_ALCD = 2, }; enum { @@ -642,8 +688,9 @@ enum { ETHTOOL_A_CABLE_RESULT_UNSPEC = 0, ETHTOOL_A_CABLE_RESULT_PAIR = 1, ETHTOOL_A_CABLE_RESULT_CODE = 2, - __ETHTOOL_A_CABLE_RESULT_CNT = 3, - ETHTOOL_A_CABLE_RESULT_MAX = 2, + ETHTOOL_A_CABLE_RESULT_SRC = 3, + __ETHTOOL_A_CABLE_RESULT_CNT = 4, + ETHTOOL_A_CABLE_RESULT_MAX = 3, }; enum { @@ -749,8 +796,10 @@ enum { ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES = 26, ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES = 27, ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS = 28, - __ETHTOOL_A_COALESCE_CNT = 29, - ETHTOOL_A_COALESCE_MAX = 28, + ETHTOOL_A_COALESCE_RX_PROFILE = 29, + ETHTOOL_A_COALESCE_TX_PROFILE = 30, + __ETHTOOL_A_COALESCE_CNT = 31, + ETHTOOL_A_COALESCE_MAX = 30, }; enum { @@ -811,8 +860,18 @@ enum { ETHTOOL_A_HEADER_DEV_INDEX = 1, ETHTOOL_A_HEADER_DEV_NAME = 2, ETHTOOL_A_HEADER_FLAGS = 3, - __ETHTOOL_A_HEADER_CNT = 4, - ETHTOOL_A_HEADER_MAX = 3, + ETHTOOL_A_HEADER_PHY_INDEX = 4, + __ETHTOOL_A_HEADER_CNT = 5, + ETHTOOL_A_HEADER_MAX = 4, +}; + +enum { + ETHTOOL_A_IRQ_MODERATION_UNSPEC = 0, + ETHTOOL_A_IRQ_MODERATION_USEC = 1, + ETHTOOL_A_IRQ_MODERATION_PKTS = 2, + ETHTOOL_A_IRQ_MODERATION_COMPS = 3, + __ETHTOOL_A_IRQ_MODERATION_CNT = 4, + ETHTOOL_A_IRQ_MODERATION_MAX = 3, }; enum { @@ -899,6 +958,19 @@ enum { ETHTOOL_A_MODULE_EEPROM_MAX = 7, }; +enum { + ETHTOOL_A_MODULE_FW_FLASH_UNSPEC = 0, + ETHTOOL_A_MODULE_FW_FLASH_HEADER = 1, + ETHTOOL_A_MODULE_FW_FLASH_FILE_NAME = 2, + ETHTOOL_A_MODULE_FW_FLASH_PASSWORD = 3, + ETHTOOL_A_MODULE_FW_FLASH_STATUS = 4, + ETHTOOL_A_MODULE_FW_FLASH_STATUS_MSG = 5, + ETHTOOL_A_MODULE_FW_FLASH_DONE = 6, + ETHTOOL_A_MODULE_FW_FLASH_TOTAL = 7, + __ETHTOOL_A_MODULE_FW_FLASH_CNT = 8, + ETHTOOL_A_MODULE_FW_FLASH_MAX = 7, +}; + enum { ETHTOOL_A_MODULE_UNSPEC = 0, ETHTOOL_A_MODULE_HEADER = 1, @@ -938,6 +1010,20 @@ enum { ETHTOOL_A_PHC_VCLOCKS_MAX = 3, }; +enum { + ETHTOOL_A_PHY_UNSPEC = 0, + ETHTOOL_A_PHY_HEADER = 1, + ETHTOOL_A_PHY_INDEX = 2, + ETHTOOL_A_PHY_DRVNAME = 3, + ETHTOOL_A_PHY_NAME = 4, + ETHTOOL_A_PHY_UPSTREAM_TYPE = 5, + ETHTOOL_A_PHY_UPSTREAM_INDEX = 6, + ETHTOOL_A_PHY_UPSTREAM_SFP_NAME = 7, + ETHTOOL_A_PHY_DOWNSTREAM_SFP_NAME = 8, + __ETHTOOL_A_PHY_CNT = 9, + ETHTOOL_A_PHY_MAX = 8, +}; + enum { ETHTOOL_A_PLCA_UNSPEC = 0, ETHTOOL_A_PLCA_HEADER = 1, @@ -961,14 +1047,30 @@ enum { ETHTOOL_A_PRIVFLAGS_MAX = 2, }; +enum { + ETHTOOL_A_PROFILE_UNSPEC = 0, + ETHTOOL_A_PROFILE_IRQ_MODERATION = 1, + __ETHTOOL_A_PROFILE_CNT = 2, + ETHTOOL_A_PROFILE_MAX = 1, +}; + enum { ETHTOOL_A_PSE_UNSPEC = 0, ETHTOOL_A_PSE_HEADER = 1, ETHTOOL_A_PODL_PSE_ADMIN_STATE = 2, ETHTOOL_A_PODL_PSE_ADMIN_CONTROL = 3, ETHTOOL_A_PODL_PSE_PW_D_STATUS = 4, - __ETHTOOL_A_PSE_CNT = 5, - ETHTOOL_A_PSE_MAX = 4, + ETHTOOL_A_C33_PSE_ADMIN_STATE = 5, + ETHTOOL_A_C33_PSE_ADMIN_CONTROL = 6, + ETHTOOL_A_C33_PSE_PW_D_STATUS = 7, + ETHTOOL_A_C33_PSE_PW_CLASS = 8, + ETHTOOL_A_C33_PSE_ACTUAL_PW = 9, + ETHTOOL_A_C33_PSE_EXT_STATE = 10, + ETHTOOL_A_C33_PSE_EXT_SUBSTATE = 11, + ETHTOOL_A_C33_PSE_AVAIL_PW_LIMIT = 12, + ETHTOOL_A_C33_PSE_PW_LIMIT_RANGES = 13, + __ETHTOOL_A_PSE_CNT = 14, + ETHTOOL_A_PSE_MAX = 13, }; enum { @@ -989,8 +1091,10 @@ enum { ETHTOOL_A_RINGS_RX_PUSH = 14, ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN = 15, ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN_MAX = 16, - __ETHTOOL_A_RINGS_CNT = 17, - ETHTOOL_A_RINGS_MAX = 16, + ETHTOOL_A_RINGS_HDS_THRESH = 17, + ETHTOOL_A_RINGS_HDS_THRESH_MAX = 18, + __ETHTOOL_A_RINGS_CNT = 19, + ETHTOOL_A_RINGS_MAX = 18, }; enum { @@ -1000,8 +1104,10 @@ enum { ETHTOOL_A_RSS_HFUNC = 3, ETHTOOL_A_RSS_INDIR = 4, ETHTOOL_A_RSS_HKEY = 5, - __ETHTOOL_A_RSS_CNT = 6, - ETHTOOL_A_RSS_MAX = 5, + ETHTOOL_A_RSS_INPUT_XFRM = 6, + ETHTOOL_A_RSS_START_CONTEXT = 7, + __ETHTOOL_A_RSS_CNT = 8, + ETHTOOL_A_RSS_MAX = 7, }; enum { @@ -1060,6 +1166,17 @@ enum { ETHTOOL_A_STATS_GRP_MAX = 9, }; +enum { + ETHTOOL_A_STATS_PHY_RX_PKTS = 0, + ETHTOOL_A_STATS_PHY_RX_BYTES = 1, + ETHTOOL_A_STATS_PHY_RX_ERRORS = 2, + ETHTOOL_A_STATS_PHY_TX_PKTS = 3, + ETHTOOL_A_STATS_PHY_TX_BYTES = 4, + ETHTOOL_A_STATS_PHY_TX_ERRORS = 5, + __ETHTOOL_A_STATS_PHY_CNT = 6, + ETHTOOL_A_STATS_PHY_MAX = 5, +}; + enum { ETHTOOL_A_STATS_RMON_UNDERSIZE = 0, ETHTOOL_A_STATS_RMON_OVERSIZE = 1, @@ -1120,6 +1237,17 @@ enum { ETHTOOL_A_STRSET_MAX = 3, }; +enum { + ETHTOOL_A_TSCONFIG_UNSPEC = 0, + ETHTOOL_A_TSCONFIG_HEADER = 1, + ETHTOOL_A_TSCONFIG_HWTSTAMP_PROVIDER = 2, + ETHTOOL_A_TSCONFIG_TX_TYPES = 3, + ETHTOOL_A_TSCONFIG_RX_FILTERS = 4, + ETHTOOL_A_TSCONFIG_HWTSTAMP_FLAGS = 5, + __ETHTOOL_A_TSCONFIG_CNT = 6, + ETHTOOL_A_TSCONFIG_MAX = 5, +}; + enum { ETHTOOL_A_TSINFO_UNSPEC = 0, ETHTOOL_A_TSINFO_HEADER = 1, @@ -1127,8 +1255,28 @@ enum { ETHTOOL_A_TSINFO_TX_TYPES = 3, ETHTOOL_A_TSINFO_RX_FILTERS = 4, ETHTOOL_A_TSINFO_PHC_INDEX = 5, - __ETHTOOL_A_TSINFO_CNT = 6, - ETHTOOL_A_TSINFO_MAX = 5, + ETHTOOL_A_TSINFO_STATS = 6, + ETHTOOL_A_TSINFO_HWTSTAMP_PROVIDER = 7, + __ETHTOOL_A_TSINFO_CNT = 8, + ETHTOOL_A_TSINFO_MAX = 7, +}; + +enum { + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_UNSPEC = 0, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_INDEX = 1, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_QUALIFIER = 2, + __ETHTOOL_A_TS_HWTSTAMP_PROVIDER_CNT = 3, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_MAX = 2, +}; + +enum { + ETHTOOL_A_TS_STAT_UNSPEC = 0, + ETHTOOL_A_TS_STAT_TX_PKTS = 1, + ETHTOOL_A_TS_STAT_TX_LOST = 2, + ETHTOOL_A_TS_STAT_TX_ERR = 3, + ETHTOOL_A_TS_STAT_TX_ONESTEP_PKTS_UNCONFIRMED = 4, + __ETHTOOL_A_TS_STAT_CNT = 5, + ETHTOOL_A_TS_STAT_MAX = 4, }; enum { @@ -1217,8 +1365,13 @@ enum { ETHTOOL_MSG_PLCA_NTF = 41, ETHTOOL_MSG_MM_GET_REPLY = 42, ETHTOOL_MSG_MM_NTF = 43, - __ETHTOOL_MSG_KERNEL_CNT = 44, - ETHTOOL_MSG_KERNEL_MAX = 43, + ETHTOOL_MSG_MODULE_FW_FLASH_NTF = 44, + ETHTOOL_MSG_PHY_GET_REPLY = 45, + ETHTOOL_MSG_PHY_NTF = 46, + ETHTOOL_MSG_TSCONFIG_GET_REPLY = 47, + ETHTOOL_MSG_TSCONFIG_SET_REPLY = 48, + __ETHTOOL_MSG_KERNEL_CNT = 49, + ETHTOOL_MSG_KERNEL_MAX = 48, }; enum { @@ -1266,8 +1419,12 @@ enum { ETHTOOL_MSG_PLCA_GET_STATUS = 41, ETHTOOL_MSG_MM_GET = 42, ETHTOOL_MSG_MM_SET = 43, - __ETHTOOL_MSG_USER_CNT = 44, - ETHTOOL_MSG_USER_MAX = 43, + ETHTOOL_MSG_MODULE_FW_FLASH_ACT = 44, + ETHTOOL_MSG_PHY_GET = 45, + ETHTOOL_MSG_TSCONFIG_GET = 46, + ETHTOOL_MSG_TSCONFIG_SET = 47, + __ETHTOOL_MSG_USER_CNT = 48, + ETHTOOL_MSG_USER_MAX = 47, }; enum { @@ -1275,13 +1432,8 @@ enum { ETHTOOL_STATS_ETH_MAC = 1, ETHTOOL_STATS_ETH_CTRL = 2, ETHTOOL_STATS_RMON = 3, - __ETHTOOL_STATS_CNT = 4, -}; - -enum { - ETHTOOL_TCP_DATA_SPLIT_UNKNOWN = 0, - ETHTOOL_TCP_DATA_SPLIT_DISABLED = 1, - ETHTOOL_TCP_DATA_SPLIT_ENABLED = 2, + ETHTOOL_STATS_PHY = 4, + __ETHTOOL_STATS_CNT = 5, }; enum { @@ -1289,6 +1441,7 @@ enum { ETHTOOL_UDP_TUNNEL_TYPE_GENEVE = 1, ETHTOOL_UDP_TUNNEL_TYPE_VXLAN_GPE = 2, __ETHTOOL_UDP_TUNNEL_TYPE_CNT = 3, + ETHTOOL_UDP_TUNNEL_TYPE_MAX = 2, }; enum { @@ -1298,6 +1451,12 @@ enum { ETH_RSS_HASH_FUNCS_COUNT = 3, }; +enum { + EVENTFS_SAVE_MODE = 65536, + EVENTFS_SAVE_UID = 131072, + EVENTFS_SAVE_GID = 262144, +}; + enum { EVENT_FILE_FL_ENABLED = 1, EVENT_FILE_FL_RECORDED_CMD = 2, @@ -1310,6 +1469,7 @@ enum { EVENT_FILE_FL_TRIGGER_COND = 256, EVENT_FILE_FL_PID_FILTER = 512, EVENT_FILE_FL_WAS_ENABLED = 1024, + EVENT_FILE_FL_FREED = 2048, }; enum { @@ -1324,12 +1484,19 @@ enum { EVENT_FILE_FL_TRIGGER_COND_BIT = 8, EVENT_FILE_FL_PID_FILTER_BIT = 9, EVENT_FILE_FL_WAS_ENABLED_BIT = 10, + EVENT_FILE_FL_FREED_BIT = 11, }; enum { EVENT_TRIGGER_FL_PROBE = 1, }; +enum { + FGRAPH_TYPE_RESERVED = 0, + FGRAPH_TYPE_BITMAP = 1, + FGRAPH_TYPE_DATA = 2, +}; + enum { FIB6_NO_SERNUM_CHANGE = 0, }; @@ -1385,6 +1552,7 @@ enum { FOLL_PIN = 524288, FOLL_FAST_ONLY = 1048576, FOLL_UNLOCKABLE = 2097152, + FOLL_MADV_POPULATE = 4194304, }; enum { @@ -1465,6 +1633,7 @@ enum { FTRACE_OPS_FL_TRACE_ARRAY = 32768, FTRACE_OPS_FL_PERMANENT = 65536, FTRACE_OPS_FL_DIRECT = 131072, + FTRACE_OPS_FL_SUBOP = 262144, }; enum { @@ -1575,6 +1744,11 @@ enum { __ICMP_MIB_MAX = 30, }; +enum { + IDX_MODULE_ID = 0, + IDX_ST_OPS_COMMON_VALUE_ID = 1, +}; + enum { IFAL_ADDRESS = 1, IFAL_LABEL = 2, @@ -1841,7 +2015,9 @@ enum { IFLA_DEVLINK_PORT = 62, IFLA_GSO_IPV4_MAX_SIZE = 63, IFLA_GRO_IPV4_MAX_SIZE = 64, - __IFLA_MAX = 65, + IFLA_DPLL_PIN = 65, + IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, + __IFLA_MAX = 67, }; enum { @@ -2028,6 +2204,17 @@ enum { INET_FLAGS_NODEFRAG = 17, INET_FLAGS_BIND_ADDRESS_NO_PORT = 18, INET_FLAGS_DEFER_CONNECT = 19, + INET_FLAGS_MC6_LOOP = 20, + INET_FLAGS_RECVERR6_RFC4884 = 21, + INET_FLAGS_MC6_ALL = 22, + INET_FLAGS_AUTOFLOWLABEL_SET = 23, + INET_FLAGS_AUTOFLOWLABEL = 24, + INET_FLAGS_DONTFRAG = 25, + INET_FLAGS_RECVERR6 = 26, + INET_FLAGS_REPFLOW = 27, + INET_FLAGS_RTALERT_ISOLATE = 28, + INET_FLAGS_SNDFLOW = 29, + INET_FLAGS_RTALERT = 30, }; enum { @@ -2046,6 +2233,13 @@ enum { __INET_ULP_INFO_MAX = 4, }; +enum { + INSN_F_FRAMENO_MASK = 7, + INSN_F_SPI_MASK = 63, + INSN_F_SPI_SHIFT = 3, + INSN_F_STACK_ACCESS = 512, +}; + enum { INVERT = 1, PROCESS_AND = 2, @@ -2108,47 +2302,6 @@ enum { IORES_DESC_CXL = 9, }; -enum { - IORING_REGISTER_BUFFERS = 0, - IORING_UNREGISTER_BUFFERS = 1, - IORING_REGISTER_FILES = 2, - IORING_UNREGISTER_FILES = 3, - IORING_REGISTER_EVENTFD = 4, - IORING_UNREGISTER_EVENTFD = 5, - IORING_REGISTER_FILES_UPDATE = 6, - IORING_REGISTER_EVENTFD_ASYNC = 7, - IORING_REGISTER_PROBE = 8, - IORING_REGISTER_PERSONALITY = 9, - IORING_UNREGISTER_PERSONALITY = 10, - IORING_REGISTER_RESTRICTIONS = 11, - IORING_REGISTER_ENABLE_RINGS = 12, - IORING_REGISTER_FILES2 = 13, - IORING_REGISTER_FILES_UPDATE2 = 14, - IORING_REGISTER_BUFFERS2 = 15, - IORING_REGISTER_BUFFERS_UPDATE = 16, - IORING_REGISTER_IOWQ_AFF = 17, - IORING_UNREGISTER_IOWQ_AFF = 18, - IORING_REGISTER_IOWQ_MAX_WORKERS = 19, - IORING_REGISTER_RING_FDS = 20, - IORING_UNREGISTER_RING_FDS = 21, - IORING_REGISTER_PBUF_RING = 22, - IORING_UNREGISTER_PBUF_RING = 23, - IORING_REGISTER_SYNC_CANCEL = 24, - IORING_REGISTER_FILE_ALLOC_RANGE = 25, - IORING_REGISTER_LAST = 26, - IORING_REGISTER_USE_REGISTERED_RING = 2147483648, -}; - -enum { - IOSQE_FIXED_FILE_BIT = 0, - IOSQE_IO_DRAIN_BIT = 1, - IOSQE_IO_LINK_BIT = 2, - IOSQE_IO_HARDLINK_BIT = 3, - IOSQE_ASYNC_BIT = 4, - IOSQE_BUFFER_SELECT_BIT = 5, - IOSQE_CQE_SKIP_SUCCESS_BIT = 6, -}; - enum { IP6_FH_F_FRAG = 1, IP6_FH_F_AUTH = 2, @@ -2182,7 +2335,9 @@ enum { IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, + IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, + IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, IPPROTO_MAX = 263, }; @@ -2193,7 +2348,7 @@ enum { IPSTATS_MIB_INOCTETS = 2, IPSTATS_MIB_INDELIVERS = 3, IPSTATS_MIB_OUTFORWDATAGRAMS = 4, - IPSTATS_MIB_OUTPKTS = 5, + IPSTATS_MIB_OUTREQUESTS = 5, IPSTATS_MIB_OUTOCTETS = 6, IPSTATS_MIB_INHDRERRORS = 7, IPSTATS_MIB_INTOOBIGERRORS = 8, @@ -2225,7 +2380,8 @@ enum { IPSTATS_MIB_ECT0PKTS = 34, IPSTATS_MIB_CEPKTS = 35, IPSTATS_MIB_REASM_OVERLAPS = 36, - __IPSTATS_MIB_MAX = 37, + IPSTATS_MIB_OUTPKTS = 37, + __IPSTATS_MIB_MAX = 38, }; enum { @@ -2278,6 +2434,29 @@ enum { IPV6_SADDR_RULE_MAX = 9, }; +enum { + IP_TUNNEL_CSUM_BIT = 0, + IP_TUNNEL_ROUTING_BIT = 1, + IP_TUNNEL_KEY_BIT = 2, + IP_TUNNEL_SEQ_BIT = 3, + IP_TUNNEL_STRICT_BIT = 4, + IP_TUNNEL_REC_BIT = 5, + IP_TUNNEL_VERSION_BIT = 6, + IP_TUNNEL_NO_KEY_BIT = 7, + IP_TUNNEL_DONT_FRAGMENT_BIT = 8, + IP_TUNNEL_OAM_BIT = 9, + IP_TUNNEL_CRIT_OPT_BIT = 10, + IP_TUNNEL_GENEVE_OPT_BIT = 11, + IP_TUNNEL_VXLAN_OPT_BIT = 12, + IP_TUNNEL_NOCACHE_BIT = 13, + IP_TUNNEL_ERSPAN_OPT_BIT = 14, + IP_TUNNEL_GTP_OPT_BIT = 15, + IP_TUNNEL_VTI_BIT = 16, + IP_TUNNEL_SIT_ISATAP_BIT = 16, + IP_TUNNEL_PFCP_OPT_BIT = 17, + __IP_TUNNEL_FLAG_NUM = 18, +}; + enum { IRQCHIP_FWNODE_REAL = 0, IRQCHIP_FWNODE_NAMED = 1, @@ -2297,6 +2476,7 @@ enum { IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND = 512, IRQCHIP_AFFINITY_PRE_STARTUP = 1024, IRQCHIP_IMMUTABLE = 2048, + IRQCHIP_MOVE_DEFERRED = 4096, }; enum { @@ -2313,7 +2493,6 @@ enum { IRQD_AFFINITY_SET = 4096, IRQD_LEVEL = 8192, IRQD_WAKEUP_STATE = 16384, - IRQD_MOVE_PCNTXT = 32768, IRQD_IRQ_DISABLED = 65536, IRQD_IRQ_MASKED = 131072, IRQD_IRQ_INPROGRESS = 262144, @@ -2325,11 +2504,10 @@ enum { IRQD_SINGLE_TARGET = 16777216, IRQD_DEFAULT_TRIGGER_SET = 33554432, IRQD_CAN_RESERVE = 67108864, - IRQD_MSI_NOMASK_QUIRK = 134217728, - IRQD_HANDLE_ENFORCE_IRQCTX = 268435456, - IRQD_AFFINITY_ON_ACTIVATE = 536870912, - IRQD_IRQ_ENABLED_ON_SUSPEND = 1073741824, - IRQD_RESEND_WHEN_IN_PROGRESS = 2147483648, + IRQD_HANDLE_ENFORCE_IRQCTX = 134217728, + IRQD_AFFINITY_ON_ACTIVATE = 268435456, + IRQD_IRQ_ENABLED_ON_SUSPEND = 536870912, + IRQD_RESEND_WHEN_IN_PROGRESS = 1073741824, }; enum { @@ -2364,6 +2542,7 @@ enum { IRQ_DOMAIN_FLAG_NO_MAP = 64, IRQ_DOMAIN_FLAG_MSI_PARENT = 256, IRQ_DOMAIN_FLAG_MSI_DEVICE = 512, + IRQ_DOMAIN_FLAG_DESTROY_GC = 1024, IRQ_DOMAIN_FLAG_NONCORE = 65536, }; @@ -2396,7 +2575,6 @@ enum { IRQ_NOREQUEST = 2048, IRQ_NOAUTOEN = 4096, IRQ_NO_BALANCING = 8192, - IRQ_MOVE_PCNTXT = 16384, IRQ_NESTED_THREAD = 32768, IRQ_NOTHREAD = 65536, IRQ_PER_CPU_DEVID = 131072, @@ -2421,6 +2599,7 @@ enum { KF_ARG_LIST_NODE_ID = 2, KF_ARG_RB_ROOT_ID = 3, KF_ARG_RB_NODE_ID = 4, + KF_ARG_WORKQUEUE_ID = 5, }; enum { @@ -2451,118 +2630,124 @@ enum { LINUX_MIB_TIMEWAITKILLED = 13, LINUX_MIB_PAWSACTIVEREJECTED = 14, LINUX_MIB_PAWSESTABREJECTED = 15, - LINUX_MIB_DELAYEDACKS = 16, - LINUX_MIB_DELAYEDACKLOCKED = 17, - LINUX_MIB_DELAYEDACKLOST = 18, - LINUX_MIB_LISTENOVERFLOWS = 19, - LINUX_MIB_LISTENDROPS = 20, - LINUX_MIB_TCPHPHITS = 21, - LINUX_MIB_TCPPUREACKS = 22, - LINUX_MIB_TCPHPACKS = 23, - LINUX_MIB_TCPRENORECOVERY = 24, - LINUX_MIB_TCPSACKRECOVERY = 25, - LINUX_MIB_TCPSACKRENEGING = 26, - LINUX_MIB_TCPSACKREORDER = 27, - LINUX_MIB_TCPRENOREORDER = 28, - LINUX_MIB_TCPTSREORDER = 29, - LINUX_MIB_TCPFULLUNDO = 30, - LINUX_MIB_TCPPARTIALUNDO = 31, - LINUX_MIB_TCPDSACKUNDO = 32, - LINUX_MIB_TCPLOSSUNDO = 33, - LINUX_MIB_TCPLOSTRETRANSMIT = 34, - LINUX_MIB_TCPRENOFAILURES = 35, - LINUX_MIB_TCPSACKFAILURES = 36, - LINUX_MIB_TCPLOSSFAILURES = 37, - LINUX_MIB_TCPFASTRETRANS = 38, - LINUX_MIB_TCPSLOWSTARTRETRANS = 39, - LINUX_MIB_TCPTIMEOUTS = 40, - LINUX_MIB_TCPLOSSPROBES = 41, - LINUX_MIB_TCPLOSSPROBERECOVERY = 42, - LINUX_MIB_TCPRENORECOVERYFAIL = 43, - LINUX_MIB_TCPSACKRECOVERYFAIL = 44, - LINUX_MIB_TCPRCVCOLLAPSED = 45, - LINUX_MIB_TCPDSACKOLDSENT = 46, - LINUX_MIB_TCPDSACKOFOSENT = 47, - LINUX_MIB_TCPDSACKRECV = 48, - LINUX_MIB_TCPDSACKOFORECV = 49, - LINUX_MIB_TCPABORTONDATA = 50, - LINUX_MIB_TCPABORTONCLOSE = 51, - LINUX_MIB_TCPABORTONMEMORY = 52, - LINUX_MIB_TCPABORTONTIMEOUT = 53, - LINUX_MIB_TCPABORTONLINGER = 54, - LINUX_MIB_TCPABORTFAILED = 55, - LINUX_MIB_TCPMEMORYPRESSURES = 56, - LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 57, - LINUX_MIB_TCPSACKDISCARD = 58, - LINUX_MIB_TCPDSACKIGNOREDOLD = 59, - LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 60, - LINUX_MIB_TCPSPURIOUSRTOS = 61, - LINUX_MIB_TCPMD5NOTFOUND = 62, - LINUX_MIB_TCPMD5UNEXPECTED = 63, - LINUX_MIB_TCPMD5FAILURE = 64, - LINUX_MIB_SACKSHIFTED = 65, - LINUX_MIB_SACKMERGED = 66, - LINUX_MIB_SACKSHIFTFALLBACK = 67, - LINUX_MIB_TCPBACKLOGDROP = 68, - LINUX_MIB_PFMEMALLOCDROP = 69, - LINUX_MIB_TCPMINTTLDROP = 70, - LINUX_MIB_TCPDEFERACCEPTDROP = 71, - LINUX_MIB_IPRPFILTER = 72, - LINUX_MIB_TCPTIMEWAITOVERFLOW = 73, - LINUX_MIB_TCPREQQFULLDOCOOKIES = 74, - LINUX_MIB_TCPREQQFULLDROP = 75, - LINUX_MIB_TCPRETRANSFAIL = 76, - LINUX_MIB_TCPRCVCOALESCE = 77, - LINUX_MIB_TCPBACKLOGCOALESCE = 78, - LINUX_MIB_TCPOFOQUEUE = 79, - LINUX_MIB_TCPOFODROP = 80, - LINUX_MIB_TCPOFOMERGE = 81, - LINUX_MIB_TCPCHALLENGEACK = 82, - LINUX_MIB_TCPSYNCHALLENGE = 83, - LINUX_MIB_TCPFASTOPENACTIVE = 84, - LINUX_MIB_TCPFASTOPENACTIVEFAIL = 85, - LINUX_MIB_TCPFASTOPENPASSIVE = 86, - LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 87, - LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 88, - LINUX_MIB_TCPFASTOPENCOOKIEREQD = 89, - LINUX_MIB_TCPFASTOPENBLACKHOLE = 90, - LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 91, - LINUX_MIB_BUSYPOLLRXPACKETS = 92, - LINUX_MIB_TCPAUTOCORKING = 93, - LINUX_MIB_TCPFROMZEROWINDOWADV = 94, - LINUX_MIB_TCPTOZEROWINDOWADV = 95, - LINUX_MIB_TCPWANTZEROWINDOWADV = 96, - LINUX_MIB_TCPSYNRETRANS = 97, - LINUX_MIB_TCPORIGDATASENT = 98, - LINUX_MIB_TCPHYSTARTTRAINDETECT = 99, - LINUX_MIB_TCPHYSTARTTRAINCWND = 100, - LINUX_MIB_TCPHYSTARTDELAYDETECT = 101, - LINUX_MIB_TCPHYSTARTDELAYCWND = 102, - LINUX_MIB_TCPACKSKIPPEDSYNRECV = 103, - LINUX_MIB_TCPACKSKIPPEDPAWS = 104, - LINUX_MIB_TCPACKSKIPPEDSEQ = 105, - LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 106, - LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 107, - LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 108, - LINUX_MIB_TCPWINPROBE = 109, - LINUX_MIB_TCPKEEPALIVE = 110, - LINUX_MIB_TCPMTUPFAIL = 111, - LINUX_MIB_TCPMTUPSUCCESS = 112, - LINUX_MIB_TCPDELIVERED = 113, - LINUX_MIB_TCPDELIVEREDCE = 114, - LINUX_MIB_TCPACKCOMPRESSED = 115, - LINUX_MIB_TCPZEROWINDOWDROP = 116, - LINUX_MIB_TCPRCVQDROP = 117, - LINUX_MIB_TCPWQUEUETOOBIG = 118, - LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 119, - LINUX_MIB_TCPTIMEOUTREHASH = 120, - LINUX_MIB_TCPDUPLICATEDATAREHASH = 121, - LINUX_MIB_TCPDSACKRECVSEGS = 122, - LINUX_MIB_TCPDSACKIGNOREDDUBIOUS = 123, - LINUX_MIB_TCPMIGRATEREQSUCCESS = 124, - LINUX_MIB_TCPMIGRATEREQFAILURE = 125, - LINUX_MIB_TCPPLBREHASH = 126, - __LINUX_MIB_MAX = 127, + LINUX_MIB_PAWS_OLD_ACK = 16, + LINUX_MIB_DELAYEDACKS = 17, + LINUX_MIB_DELAYEDACKLOCKED = 18, + LINUX_MIB_DELAYEDACKLOST = 19, + LINUX_MIB_LISTENOVERFLOWS = 20, + LINUX_MIB_LISTENDROPS = 21, + LINUX_MIB_TCPHPHITS = 22, + LINUX_MIB_TCPPUREACKS = 23, + LINUX_MIB_TCPHPACKS = 24, + LINUX_MIB_TCPRENORECOVERY = 25, + LINUX_MIB_TCPSACKRECOVERY = 26, + LINUX_MIB_TCPSACKRENEGING = 27, + LINUX_MIB_TCPSACKREORDER = 28, + LINUX_MIB_TCPRENOREORDER = 29, + LINUX_MIB_TCPTSREORDER = 30, + LINUX_MIB_TCPFULLUNDO = 31, + LINUX_MIB_TCPPARTIALUNDO = 32, + LINUX_MIB_TCPDSACKUNDO = 33, + LINUX_MIB_TCPLOSSUNDO = 34, + LINUX_MIB_TCPLOSTRETRANSMIT = 35, + LINUX_MIB_TCPRENOFAILURES = 36, + LINUX_MIB_TCPSACKFAILURES = 37, + LINUX_MIB_TCPLOSSFAILURES = 38, + LINUX_MIB_TCPFASTRETRANS = 39, + LINUX_MIB_TCPSLOWSTARTRETRANS = 40, + LINUX_MIB_TCPTIMEOUTS = 41, + LINUX_MIB_TCPLOSSPROBES = 42, + LINUX_MIB_TCPLOSSPROBERECOVERY = 43, + LINUX_MIB_TCPRENORECOVERYFAIL = 44, + LINUX_MIB_TCPSACKRECOVERYFAIL = 45, + LINUX_MIB_TCPRCVCOLLAPSED = 46, + LINUX_MIB_TCPDSACKOLDSENT = 47, + LINUX_MIB_TCPDSACKOFOSENT = 48, + LINUX_MIB_TCPDSACKRECV = 49, + LINUX_MIB_TCPDSACKOFORECV = 50, + LINUX_MIB_TCPABORTONDATA = 51, + LINUX_MIB_TCPABORTONCLOSE = 52, + LINUX_MIB_TCPABORTONMEMORY = 53, + LINUX_MIB_TCPABORTONTIMEOUT = 54, + LINUX_MIB_TCPABORTONLINGER = 55, + LINUX_MIB_TCPABORTFAILED = 56, + LINUX_MIB_TCPMEMORYPRESSURES = 57, + LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 58, + LINUX_MIB_TCPSACKDISCARD = 59, + LINUX_MIB_TCPDSACKIGNOREDOLD = 60, + LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 61, + LINUX_MIB_TCPSPURIOUSRTOS = 62, + LINUX_MIB_TCPMD5NOTFOUND = 63, + LINUX_MIB_TCPMD5UNEXPECTED = 64, + LINUX_MIB_TCPMD5FAILURE = 65, + LINUX_MIB_SACKSHIFTED = 66, + LINUX_MIB_SACKMERGED = 67, + LINUX_MIB_SACKSHIFTFALLBACK = 68, + LINUX_MIB_TCPBACKLOGDROP = 69, + LINUX_MIB_PFMEMALLOCDROP = 70, + LINUX_MIB_TCPMINTTLDROP = 71, + LINUX_MIB_TCPDEFERACCEPTDROP = 72, + LINUX_MIB_IPRPFILTER = 73, + LINUX_MIB_TCPTIMEWAITOVERFLOW = 74, + LINUX_MIB_TCPREQQFULLDOCOOKIES = 75, + LINUX_MIB_TCPREQQFULLDROP = 76, + LINUX_MIB_TCPRETRANSFAIL = 77, + LINUX_MIB_TCPRCVCOALESCE = 78, + LINUX_MIB_TCPBACKLOGCOALESCE = 79, + LINUX_MIB_TCPOFOQUEUE = 80, + LINUX_MIB_TCPOFODROP = 81, + LINUX_MIB_TCPOFOMERGE = 82, + LINUX_MIB_TCPCHALLENGEACK = 83, + LINUX_MIB_TCPSYNCHALLENGE = 84, + LINUX_MIB_TCPFASTOPENACTIVE = 85, + LINUX_MIB_TCPFASTOPENACTIVEFAIL = 86, + LINUX_MIB_TCPFASTOPENPASSIVE = 87, + LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 88, + LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 89, + LINUX_MIB_TCPFASTOPENCOOKIEREQD = 90, + LINUX_MIB_TCPFASTOPENBLACKHOLE = 91, + LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 92, + LINUX_MIB_BUSYPOLLRXPACKETS = 93, + LINUX_MIB_TCPAUTOCORKING = 94, + LINUX_MIB_TCPFROMZEROWINDOWADV = 95, + LINUX_MIB_TCPTOZEROWINDOWADV = 96, + LINUX_MIB_TCPWANTZEROWINDOWADV = 97, + LINUX_MIB_TCPSYNRETRANS = 98, + LINUX_MIB_TCPORIGDATASENT = 99, + LINUX_MIB_TCPHYSTARTTRAINDETECT = 100, + LINUX_MIB_TCPHYSTARTTRAINCWND = 101, + LINUX_MIB_TCPHYSTARTDELAYDETECT = 102, + LINUX_MIB_TCPHYSTARTDELAYCWND = 103, + LINUX_MIB_TCPACKSKIPPEDSYNRECV = 104, + LINUX_MIB_TCPACKSKIPPEDPAWS = 105, + LINUX_MIB_TCPACKSKIPPEDSEQ = 106, + LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 107, + LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 108, + LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 109, + LINUX_MIB_TCPWINPROBE = 110, + LINUX_MIB_TCPKEEPALIVE = 111, + LINUX_MIB_TCPMTUPFAIL = 112, + LINUX_MIB_TCPMTUPSUCCESS = 113, + LINUX_MIB_TCPDELIVERED = 114, + LINUX_MIB_TCPDELIVEREDCE = 115, + LINUX_MIB_TCPACKCOMPRESSED = 116, + LINUX_MIB_TCPZEROWINDOWDROP = 117, + LINUX_MIB_TCPRCVQDROP = 118, + LINUX_MIB_TCPWQUEUETOOBIG = 119, + LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 120, + LINUX_MIB_TCPTIMEOUTREHASH = 121, + LINUX_MIB_TCPDUPLICATEDATAREHASH = 122, + LINUX_MIB_TCPDSACKRECVSEGS = 123, + LINUX_MIB_TCPDSACKIGNOREDDUBIOUS = 124, + LINUX_MIB_TCPMIGRATEREQSUCCESS = 125, + LINUX_MIB_TCPMIGRATEREQFAILURE = 126, + LINUX_MIB_TCPPLBREHASH = 127, + LINUX_MIB_TCPAOREQUIRED = 128, + LINUX_MIB_TCPAOBAD = 129, + LINUX_MIB_TCPAOKEYNOTFOUND = 130, + LINUX_MIB_TCPAOGOOD = 131, + LINUX_MIB_TCPAODROPPEDICMPS = 132, + __LINUX_MIB_MAX = 133, }; enum { @@ -2579,7 +2764,12 @@ enum { LINUX_MIB_TLSRXDEVICERESYNC = 10, LINUX_MIB_TLSDECRYPTRETRY = 11, LINUX_MIB_TLSRXNOPADVIOL = 12, - __LINUX_MIB_TLSMAX = 13, + LINUX_MIB_TLSRXREKEYOK = 13, + LINUX_MIB_TLSRXREKEYERROR = 14, + LINUX_MIB_TLSTXREKEYOK = 15, + LINUX_MIB_TLSTXREKEYERROR = 16, + LINUX_MIB_TLSRXREKEYRECEIVED = 17, + __LINUX_MIB_TLSMAX = 18, }; enum { @@ -2612,7 +2802,11 @@ enum { LINUX_MIB_XFRMFWDHDRERROR = 26, LINUX_MIB_XFRMOUTSTATEINVALID = 27, LINUX_MIB_XFRMACQUIREERROR = 28, - __LINUX_MIB_XFRMMAX = 29, + LINUX_MIB_XFRMOUTSTATEDIRERROR = 29, + LINUX_MIB_XFRMINSTATEDIRERROR = 30, + LINUX_MIB_XFRMINIPTFSERROR = 31, + LINUX_MIB_XFRMOUTNOQSPACE = 32, + __LINUX_MIB_XFRMMAX = 33, }; enum { @@ -2660,6 +2854,13 @@ enum { MAX_OPT_ARGS = 3, }; +enum { + MDBA_GET_ENTRY_UNSPEC = 0, + MDBA_GET_ENTRY = 1, + MDBA_GET_ENTRY_ATTRS = 2, + __MDBA_GET_ENTRY_MAX = 3, +}; + enum { MDBA_SET_ENTRY_UNSPEC = 0, MDBA_SET_ENTRY = 1, @@ -2704,6 +2905,11 @@ enum { NAPIF_STATE_SCHED_THREADED = 512, }; +enum { + NAPI_F_PREFER_BUSY_POLL = 1, + NAPI_F_END_ON_RESCHED = 2, +}; + enum { NAPI_STATE_SCHED = 0, NAPI_STATE_MISSED = 1, @@ -2806,9 +3012,8 @@ enum { enum { NEIGH_ARP_TABLE = 0, NEIGH_ND_TABLE = 1, - NEIGH_DN_TABLE = 2, - NEIGH_NR_TABLES = 3, - NEIGH_LINK_TABLE = 3, + NEIGH_NR_TABLES = 2, + NEIGH_LINK_TABLE = 2, }; enum { @@ -2859,8 +3064,106 @@ enum { NETDEV_A_DEV_PAD = 2, NETDEV_A_DEV_XDP_FEATURES = 3, NETDEV_A_DEV_XDP_ZC_MAX_SEGS = 4, - __NETDEV_A_DEV_MAX = 5, - NETDEV_A_DEV_MAX = 4, + NETDEV_A_DEV_XDP_RX_METADATA_FEATURES = 5, + NETDEV_A_DEV_XSK_FEATURES = 6, + __NETDEV_A_DEV_MAX = 7, + NETDEV_A_DEV_MAX = 6, +}; + +enum { + NETDEV_A_DMABUF_IFINDEX = 1, + NETDEV_A_DMABUF_QUEUES = 2, + NETDEV_A_DMABUF_FD = 3, + NETDEV_A_DMABUF_ID = 4, + __NETDEV_A_DMABUF_MAX = 5, + NETDEV_A_DMABUF_MAX = 4, +}; + +enum { + NETDEV_A_NAPI_IFINDEX = 1, + NETDEV_A_NAPI_ID = 2, + NETDEV_A_NAPI_IRQ = 3, + NETDEV_A_NAPI_PID = 4, + NETDEV_A_NAPI_DEFER_HARD_IRQS = 5, + NETDEV_A_NAPI_GRO_FLUSH_TIMEOUT = 6, + NETDEV_A_NAPI_IRQ_SUSPEND_TIMEOUT = 7, + __NETDEV_A_NAPI_MAX = 8, + NETDEV_A_NAPI_MAX = 7, +}; + +enum { + NETDEV_A_PAGE_POOL_ID = 1, + NETDEV_A_PAGE_POOL_IFINDEX = 2, + NETDEV_A_PAGE_POOL_NAPI_ID = 3, + NETDEV_A_PAGE_POOL_INFLIGHT = 4, + NETDEV_A_PAGE_POOL_INFLIGHT_MEM = 5, + NETDEV_A_PAGE_POOL_DETACH_TIME = 6, + NETDEV_A_PAGE_POOL_DMABUF = 7, + __NETDEV_A_PAGE_POOL_MAX = 8, + NETDEV_A_PAGE_POOL_MAX = 7, +}; + +enum { + NETDEV_A_PAGE_POOL_STATS_INFO = 1, + NETDEV_A_PAGE_POOL_STATS_ALLOC_FAST = 8, + NETDEV_A_PAGE_POOL_STATS_ALLOC_SLOW = 9, + NETDEV_A_PAGE_POOL_STATS_ALLOC_SLOW_HIGH_ORDER = 10, + NETDEV_A_PAGE_POOL_STATS_ALLOC_EMPTY = 11, + NETDEV_A_PAGE_POOL_STATS_ALLOC_REFILL = 12, + NETDEV_A_PAGE_POOL_STATS_ALLOC_WAIVE = 13, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_CACHED = 14, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_CACHE_FULL = 15, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RING = 16, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RING_FULL = 17, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RELEASED_REFCNT = 18, + __NETDEV_A_PAGE_POOL_STATS_MAX = 19, + NETDEV_A_PAGE_POOL_STATS_MAX = 18, +}; + +enum { + NETDEV_A_QSTATS_IFINDEX = 1, + NETDEV_A_QSTATS_QUEUE_TYPE = 2, + NETDEV_A_QSTATS_QUEUE_ID = 3, + NETDEV_A_QSTATS_SCOPE = 4, + NETDEV_A_QSTATS_RX_PACKETS = 8, + NETDEV_A_QSTATS_RX_BYTES = 9, + NETDEV_A_QSTATS_TX_PACKETS = 10, + NETDEV_A_QSTATS_TX_BYTES = 11, + NETDEV_A_QSTATS_RX_ALLOC_FAIL = 12, + NETDEV_A_QSTATS_RX_HW_DROPS = 13, + NETDEV_A_QSTATS_RX_HW_DROP_OVERRUNS = 14, + NETDEV_A_QSTATS_RX_CSUM_COMPLETE = 15, + NETDEV_A_QSTATS_RX_CSUM_UNNECESSARY = 16, + NETDEV_A_QSTATS_RX_CSUM_NONE = 17, + NETDEV_A_QSTATS_RX_CSUM_BAD = 18, + NETDEV_A_QSTATS_RX_HW_GRO_PACKETS = 19, + NETDEV_A_QSTATS_RX_HW_GRO_BYTES = 20, + NETDEV_A_QSTATS_RX_HW_GRO_WIRE_PACKETS = 21, + NETDEV_A_QSTATS_RX_HW_GRO_WIRE_BYTES = 22, + NETDEV_A_QSTATS_RX_HW_DROP_RATELIMITS = 23, + NETDEV_A_QSTATS_TX_HW_DROPS = 24, + NETDEV_A_QSTATS_TX_HW_DROP_ERRORS = 25, + NETDEV_A_QSTATS_TX_CSUM_NONE = 26, + NETDEV_A_QSTATS_TX_NEEDS_CSUM = 27, + NETDEV_A_QSTATS_TX_HW_GSO_PACKETS = 28, + NETDEV_A_QSTATS_TX_HW_GSO_BYTES = 29, + NETDEV_A_QSTATS_TX_HW_GSO_WIRE_PACKETS = 30, + NETDEV_A_QSTATS_TX_HW_GSO_WIRE_BYTES = 31, + NETDEV_A_QSTATS_TX_HW_DROP_RATELIMITS = 32, + NETDEV_A_QSTATS_TX_STOP = 33, + NETDEV_A_QSTATS_TX_WAKE = 34, + __NETDEV_A_QSTATS_MAX = 35, + NETDEV_A_QSTATS_MAX = 34, +}; + +enum { + NETDEV_A_QUEUE_ID = 1, + NETDEV_A_QUEUE_IFINDEX = 2, + NETDEV_A_QUEUE_TYPE = 3, + NETDEV_A_QUEUE_NAPI_ID = 4, + NETDEV_A_QUEUE_DMABUF = 5, + __NETDEV_A_QUEUE_MAX = 6, + NETDEV_A_QUEUE_MAX = 5, }; enum { @@ -2868,12 +3171,23 @@ enum { NETDEV_CMD_DEV_ADD_NTF = 2, NETDEV_CMD_DEV_DEL_NTF = 3, NETDEV_CMD_DEV_CHANGE_NTF = 4, - __NETDEV_CMD_MAX = 5, - NETDEV_CMD_MAX = 4, + NETDEV_CMD_PAGE_POOL_GET = 5, + NETDEV_CMD_PAGE_POOL_ADD_NTF = 6, + NETDEV_CMD_PAGE_POOL_DEL_NTF = 7, + NETDEV_CMD_PAGE_POOL_CHANGE_NTF = 8, + NETDEV_CMD_PAGE_POOL_STATS_GET = 9, + NETDEV_CMD_QUEUE_GET = 10, + NETDEV_CMD_NAPI_GET = 11, + NETDEV_CMD_QSTATS_GET = 12, + NETDEV_CMD_BIND_RX = 13, + NETDEV_CMD_NAPI_SET = 14, + __NETDEV_CMD_MAX = 15, + NETDEV_CMD_MAX = 14, }; enum { NETDEV_NLGRP_MGMT = 0, + NETDEV_NLGRP_PAGE_POOL = 1, }; enum { @@ -2889,8 +3203,8 @@ enum { NETIF_F_HW_VLAN_CTAG_FILTER_BIT = 9, NETIF_F_VLAN_CHALLENGED_BIT = 10, NETIF_F_GSO_BIT = 11, - NETIF_F_LLTX_BIT = 12, - NETIF_F_NETNS_LOCAL_BIT = 13, + __UNUSED_NETIF_F_12 = 12, + __UNUSED_NETIF_F_13 = 13, NETIF_F_GRO_BIT = 14, NETIF_F_LRO_BIT = 15, NETIF_F_GSO_SHIFT = 16, @@ -2916,7 +3230,7 @@ enum { NETIF_F_GSO_LAST = 34, NETIF_F_FCOE_CRC_BIT = 35, NETIF_F_SCTP_CRC_BIT = 36, - NETIF_F_FCOE_MTU_BIT = 37, + __UNUSED_NETIF_F_37 = 37, NETIF_F_NTUPLE_BIT = 38, NETIF_F_RXHASH_BIT = 39, NETIF_F_RXCSUM_BIT = 40, @@ -3019,6 +3333,20 @@ enum { NFPROTO_NUMPROTO = 11, }; +enum { + NHA_GROUP_STATS_ENTRY_UNSPEC = 0, + NHA_GROUP_STATS_ENTRY_ID = 1, + NHA_GROUP_STATS_ENTRY_PACKETS = 2, + NHA_GROUP_STATS_ENTRY_PACKETS_HW = 3, + __NHA_GROUP_STATS_ENTRY_MAX = 4, +}; + +enum { + NHA_GROUP_STATS_UNSPEC = 0, + NHA_GROUP_STATS_ENTRY = 1, + __NHA_GROUP_STATS_MAX = 2, +}; + enum { NHA_RES_BUCKET_UNSPEC = 0, NHA_RES_BUCKET_PAD = 0, @@ -3053,7 +3381,11 @@ enum { NHA_FDB = 11, NHA_RES_GROUP = 12, NHA_RES_BUCKET = 13, - __NHA_MAX = 14, + NHA_OP_FLAGS = 14, + NHA_GROUP_STATS = 15, + NHA_HW_STATS_ENABLE = 16, + NHA_HW_STATS_USED = 17, + __NHA_MAX = 18, }; enum { @@ -3077,7 +3409,9 @@ enum { NLA_REJECT = 17, NLA_BE16 = 18, NLA_BE32 = 19, - __NLA_TYPE_MAX = 20, + NLA_SINT = 20, + NLA_UINT = 21, + __NLA_TYPE_MAX = 22, }; enum { @@ -3092,14 +3426,19 @@ enum { }; enum { - OPT_MODE = 0, + OPT_UID = 0, + OPT_GID = 1, + OPT_MODE = 2, + OPT_DELEGATE_CMDS = 3, + OPT_DELEGATE_MAPS = 4, + OPT_DELEGATE_PROGS = 5, + OPT_DELEGATE_ATTACHS = 6, }; enum { Opt_uid = 0, Opt_gid = 1, Opt_mode = 2, - Opt_err = 3, }; enum { @@ -3150,29 +3489,6 @@ enum { POOL_EARLY_BITS = 128, }; -enum { - POOL_MANAGER_ACTIVE = 1, - POOL_DISASSOCIATED = 4, - WORKER_DIE = 2, - WORKER_IDLE = 4, - WORKER_PREP = 8, - WORKER_CPU_INTENSIVE = 64, - WORKER_UNBOUND = 128, - WORKER_REBOUND = 256, - WORKER_NOT_RUNNING = 456, - NR_STD_WORKER_POOLS = 2, - UNBOUND_POOL_HASH_ORDER = 6, - BUSY_WORKER_HASH_ORDER = 6, - MAX_IDLE_WORKERS_RATIO = 4, - IDLE_WORKER_TIMEOUT = 75000, - MAYDAY_INITIAL_TIMEOUT = 2, - MAYDAY_INTERVAL = 25, - CREATE_COOLDOWN = 250, - RESCUER_NICE_LEVEL = -20, - HIGHPRI_NICE_LEVEL = -20, - WQ_NAME_LEN = 24, -}; - enum { PREFIX_UNSPEC = 0, PREFIX_ADDRESS = 1, @@ -3231,12 +3547,6 @@ enum { REGION_MIXED = 2, }; -enum { - REG_OP_ISFREE = 0, - REG_OP_ALLOC = 1, - REG_OP_RELEASE = 2, -}; - enum { REQ_F_FIXED_FILE_BIT = 0, REQ_F_IO_DRAIN_BIT = 1, @@ -3252,23 +3562,29 @@ enum { REQ_F_LINK_TIMEOUT_BIT = 12, REQ_F_NEED_CLEANUP_BIT = 13, REQ_F_POLLED_BIT = 14, - REQ_F_BUFFER_SELECTED_BIT = 15, - REQ_F_BUFFER_RING_BIT = 16, - REQ_F_REISSUE_BIT = 17, - REQ_F_CREDS_BIT = 18, - REQ_F_REFCOUNT_BIT = 19, - REQ_F_ARM_LTIMEOUT_BIT = 20, - REQ_F_ASYNC_DATA_BIT = 21, - REQ_F_SKIP_LINK_CQES_BIT = 22, - REQ_F_SINGLE_POLL_BIT = 23, - REQ_F_DOUBLE_POLL_BIT = 24, - REQ_F_PARTIAL_IO_BIT = 25, + REQ_F_HYBRID_IOPOLL_STATE_BIT = 15, + REQ_F_BUFFER_SELECTED_BIT = 16, + REQ_F_BUFFER_RING_BIT = 17, + REQ_F_REISSUE_BIT = 18, + REQ_F_CREDS_BIT = 19, + REQ_F_REFCOUNT_BIT = 20, + REQ_F_ARM_LTIMEOUT_BIT = 21, + REQ_F_ASYNC_DATA_BIT = 22, + REQ_F_SKIP_LINK_CQES_BIT = 23, + REQ_F_SINGLE_POLL_BIT = 24, + REQ_F_DOUBLE_POLL_BIT = 25, REQ_F_APOLL_MULTISHOT_BIT = 26, REQ_F_CLEAR_POLLIN_BIT = 27, - REQ_F_HASH_LOCKED_BIT = 28, - REQ_F_SUPPORT_NOWAIT_BIT = 29, - REQ_F_ISREG_BIT = 30, - __REQ_F_LAST_BIT = 31, + REQ_F_SUPPORT_NOWAIT_BIT = 28, + REQ_F_ISREG_BIT = 29, + REQ_F_POLL_NO_LAZY_BIT = 30, + REQ_F_CAN_POLL_BIT = 31, + REQ_F_BL_EMPTY_BIT = 32, + REQ_F_BL_NO_RECYCLE_BIT = 33, + REQ_F_BUFFERS_COMMIT_BIT = 34, + REQ_F_BUF_NODE_BIT = 35, + REQ_F_HAS_METADATA_BIT = 36, + __REQ_F_LAST_BIT = 37, }; enum { @@ -3324,7 +3640,11 @@ enum { RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, + RTM_NEWMULTICAST = 56, + RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, + RTM_NEWANYCAST = 60, + RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -3427,6 +3747,136 @@ enum { __SEG6_CMD_MAX = 5, }; +enum { + SFF8024_ID_UNK = 0, + SFF8024_ID_SFF_8472 = 2, + SFF8024_ID_SFP = 3, + SFF8024_ID_DWDM_SFP = 11, + SFF8024_ID_QSFP_8438 = 12, + SFF8024_ID_QSFP_8436_8636 = 13, + SFF8024_ID_QSFP28_8636 = 17, + SFF8024_ID_QSFP_DD = 24, + SFF8024_ID_OSFP = 25, + SFF8024_ID_DSFP = 27, + SFF8024_ID_QSFP_PLUS_CMIS = 30, + SFF8024_ID_SFP_DD_CMIS = 31, + SFF8024_ID_SFP_PLUS_CMIS = 32, + SFF8024_ENCODING_UNSPEC = 0, + SFF8024_ENCODING_8B10B = 1, + SFF8024_ENCODING_4B5B = 2, + SFF8024_ENCODING_NRZ = 3, + SFF8024_ENCODING_8472_MANCHESTER = 4, + SFF8024_ENCODING_8472_SONET = 5, + SFF8024_ENCODING_8472_64B66B = 6, + SFF8024_ENCODING_8436_MANCHESTER = 6, + SFF8024_ENCODING_8436_SONET = 4, + SFF8024_ENCODING_8436_64B66B = 5, + SFF8024_ENCODING_256B257B = 7, + SFF8024_ENCODING_PAM4 = 8, + SFF8024_CONNECTOR_UNSPEC = 0, + SFF8024_CONNECTOR_SC = 1, + SFF8024_CONNECTOR_FIBERJACK = 6, + SFF8024_CONNECTOR_LC = 7, + SFF8024_CONNECTOR_MT_RJ = 8, + SFF8024_CONNECTOR_MU = 9, + SFF8024_CONNECTOR_SG = 10, + SFF8024_CONNECTOR_OPTICAL_PIGTAIL = 11, + SFF8024_CONNECTOR_MPO_1X12 = 12, + SFF8024_CONNECTOR_MPO_2X16 = 13, + SFF8024_CONNECTOR_HSSDC_II = 32, + SFF8024_CONNECTOR_COPPER_PIGTAIL = 33, + SFF8024_CONNECTOR_RJ45 = 34, + SFF8024_CONNECTOR_NOSEPARATE = 35, + SFF8024_CONNECTOR_MXC_2X16 = 36, + SFF8024_ECC_UNSPEC = 0, + SFF8024_ECC_100G_25GAUI_C2M_AOC = 1, + SFF8024_ECC_100GBASE_SR4_25GBASE_SR = 2, + SFF8024_ECC_100GBASE_LR4_25GBASE_LR = 3, + SFF8024_ECC_100GBASE_ER4_25GBASE_ER = 4, + SFF8024_ECC_100GBASE_SR10 = 5, + SFF8024_ECC_100GBASE_CR4 = 11, + SFF8024_ECC_25GBASE_CR_S = 12, + SFF8024_ECC_25GBASE_CR_N = 13, + SFF8024_ECC_10GBASE_T_SFI = 22, + SFF8024_ECC_10GBASE_T_SR = 28, + SFF8024_ECC_5GBASE_T = 29, + SFF8024_ECC_2_5GBASE_T = 30, +}; + +enum { + SFP_PHYS_ID = 0, + SFP_PHYS_EXT_ID = 1, + SFP_PHYS_EXT_ID_SFP = 4, + SFP_CONNECTOR = 2, + SFP_COMPLIANCE = 3, + SFP_ENCODING = 11, + SFP_BR_NOMINAL = 12, + SFP_RATE_ID = 13, + SFF_RID_8079 = 1, + SFF_RID_8431_RX_ONLY = 2, + SFF_RID_8431_TX_ONLY = 4, + SFF_RID_8431 = 6, + SFF_RID_10G8G = 14, + SFP_LINK_LEN_SM_KM = 14, + SFP_LINK_LEN_SM_100M = 15, + SFP_LINK_LEN_50UM_OM2_10M = 16, + SFP_LINK_LEN_62_5UM_OM1_10M = 17, + SFP_LINK_LEN_COPPER_1M = 18, + SFP_LINK_LEN_50UM_OM4_10M = 18, + SFP_LINK_LEN_50UM_OM3_10M = 19, + SFP_VENDOR_NAME = 20, + SFP_VENDOR_OUI = 37, + SFP_VENDOR_PN = 40, + SFP_VENDOR_REV = 56, + SFP_OPTICAL_WAVELENGTH_MSB = 60, + SFP_OPTICAL_WAVELENGTH_LSB = 61, + SFP_CABLE_SPEC = 60, + SFP_CC_BASE = 63, + SFP_OPTIONS = 64, + SFP_OPTIONS_HIGH_POWER_LEVEL = 8192, + SFP_OPTIONS_PAGING_A2 = 4096, + SFP_OPTIONS_RETIMER = 2048, + SFP_OPTIONS_COOLED_XCVR = 1024, + SFP_OPTIONS_POWER_DECL = 512, + SFP_OPTIONS_RX_LINEAR_OUT = 256, + SFP_OPTIONS_RX_DECISION_THRESH = 128, + SFP_OPTIONS_TUNABLE_TX = 64, + SFP_OPTIONS_RATE_SELECT = 32, + SFP_OPTIONS_TX_DISABLE = 16, + SFP_OPTIONS_TX_FAULT = 8, + SFP_OPTIONS_LOS_INVERTED = 4, + SFP_OPTIONS_LOS_NORMAL = 2, + SFP_BR_MAX = 66, + SFP_BR_MIN = 67, + SFP_VENDOR_SN = 68, + SFP_DATECODE = 84, + SFP_DIAGMON = 92, + SFP_DIAGMON_DDM = 64, + SFP_DIAGMON_INT_CAL = 32, + SFP_DIAGMON_EXT_CAL = 16, + SFP_DIAGMON_RXPWR_AVG = 8, + SFP_DIAGMON_ADDRMODE = 4, + SFP_ENHOPTS = 93, + SFP_ENHOPTS_ALARMWARN = 128, + SFP_ENHOPTS_SOFT_TX_DISABLE = 64, + SFP_ENHOPTS_SOFT_TX_FAULT = 32, + SFP_ENHOPTS_SOFT_RX_LOS = 16, + SFP_ENHOPTS_SOFT_RATE_SELECT = 8, + SFP_ENHOPTS_APP_SELECT_SFF8079 = 4, + SFP_ENHOPTS_SOFT_RATE_SFF8431 = 2, + SFP_SFF8472_COMPLIANCE = 94, + SFP_SFF8472_COMPLIANCE_NONE = 0, + SFP_SFF8472_COMPLIANCE_REV9_3 = 1, + SFP_SFF8472_COMPLIANCE_REV9_5 = 2, + SFP_SFF8472_COMPLIANCE_REV10_2 = 3, + SFP_SFF8472_COMPLIANCE_REV10_4 = 4, + SFP_SFF8472_COMPLIANCE_REV11_0 = 5, + SFP_SFF8472_COMPLIANCE_REV11_3 = 6, + SFP_SFF8472_COMPLIANCE_REV11_4 = 7, + SFP_SFF8472_COMPLIANCE_REV12_0 = 8, + SFP_CC_EXT = 95, +}; + enum { SKBFL_ZEROCOPY_ENABLE = 1, SKBFL_SHARED_FRAG = 2, @@ -3531,8 +3981,9 @@ enum { SOF_TIMESTAMPING_OPT_TX_SWHW = 16384, SOF_TIMESTAMPING_BIND_PHC = 32768, SOF_TIMESTAMPING_OPT_ID_TCP = 65536, - SOF_TIMESTAMPING_LAST = 65536, - SOF_TIMESTAMPING_MASK = 131071, + SOF_TIMESTAMPING_OPT_RX_FILTER = 131072, + SOF_TIMESTAMPING_LAST = 131072, + SOF_TIMESTAMPING_MASK = 262143, }; enum { @@ -3549,7 +4000,6 @@ enum { SWP_PAGE_DISCARD = 1024, SWP_STABLE_WRITES = 2048, SWP_SYNCHRONOUS_IO = 4096, - SWP_SCANNING = 16384, }; enum { @@ -3568,6 +4018,16 @@ enum { TASK_COMM_LEN = 16, }; +enum { + TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT = 1, + TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST = 2, + TCA_FLOWER_KEY_FLAGS_TUNNEL_CSUM = 4, + TCA_FLOWER_KEY_FLAGS_TUNNEL_DONT_FRAGMENT = 8, + TCA_FLOWER_KEY_FLAGS_TUNNEL_OAM = 16, + TCA_FLOWER_KEY_FLAGS_TUNNEL_CRIT_OPT = 32, + __TCA_FLOWER_KEY_FLAGS_MAX = 33, +}; + enum { TCA_STATS_UNSPEC = 0, TCA_STATS_BASIC = 1, @@ -3615,6 +4075,7 @@ enum { TCPF_LISTEN = 1024, TCPF_CLOSING = 2048, TCPF_NEW_SYN_RECV = 4096, + TCPF_BOUND_INACTIVE = 8192, }; enum { @@ -3639,6 +4100,7 @@ enum { TCP_BPF_SYN = 1005, TCP_BPF_SYN_IP = 1006, TCP_BPF_SYN_MAC = 1007, + TCP_BPF_SOCK_OPS_CB_FLAGS = 1008, }; enum { @@ -3659,7 +4121,8 @@ enum { TCP_LISTEN = 10, TCP_CLOSING = 11, TCP_NEW_SYN_RECV = 12, - TCP_MAX_STATES = 13, + TCP_BOUND_INACTIVE = 13, + TCP_MAX_STATES = 14, }; enum { @@ -3782,78 +4245,85 @@ enum { TP_ERR_NON_UNIQ_SYMBOL = 10, TP_ERR_BAD_RETPROBE = 11, TP_ERR_NO_TRACEPOINT = 12, - TP_ERR_BAD_ADDR_SUFFIX = 13, - TP_ERR_NO_GROUP_NAME = 14, - TP_ERR_GROUP_TOO_LONG = 15, - TP_ERR_BAD_GROUP_NAME = 16, - TP_ERR_NO_EVENT_NAME = 17, - TP_ERR_EVENT_TOO_LONG = 18, - TP_ERR_BAD_EVENT_NAME = 19, - TP_ERR_EVENT_EXIST = 20, - TP_ERR_RETVAL_ON_PROBE = 21, - TP_ERR_NO_RETVAL = 22, - TP_ERR_BAD_STACK_NUM = 23, - TP_ERR_BAD_ARG_NUM = 24, - TP_ERR_BAD_VAR = 25, - TP_ERR_BAD_REG_NAME = 26, - TP_ERR_BAD_MEM_ADDR = 27, - TP_ERR_BAD_IMM = 28, - TP_ERR_IMMSTR_NO_CLOSE = 29, - TP_ERR_FILE_ON_KPROBE = 30, - TP_ERR_BAD_FILE_OFFS = 31, - TP_ERR_SYM_ON_UPROBE = 32, - TP_ERR_TOO_MANY_OPS = 33, - TP_ERR_DEREF_NEED_BRACE = 34, - TP_ERR_BAD_DEREF_OFFS = 35, - TP_ERR_DEREF_OPEN_BRACE = 36, - TP_ERR_COMM_CANT_DEREF = 37, - TP_ERR_BAD_FETCH_ARG = 38, - TP_ERR_ARRAY_NO_CLOSE = 39, - TP_ERR_BAD_ARRAY_SUFFIX = 40, - TP_ERR_BAD_ARRAY_NUM = 41, - TP_ERR_ARRAY_TOO_BIG = 42, - TP_ERR_BAD_TYPE = 43, - TP_ERR_BAD_STRING = 44, - TP_ERR_BAD_SYMSTRING = 45, - TP_ERR_BAD_BITFIELD = 46, - TP_ERR_ARG_NAME_TOO_LONG = 47, - TP_ERR_NO_ARG_NAME = 48, - TP_ERR_BAD_ARG_NAME = 49, - TP_ERR_USED_ARG_NAME = 50, - TP_ERR_ARG_TOO_LONG = 51, - TP_ERR_NO_ARG_BODY = 52, - TP_ERR_BAD_INSN_BNDRY = 53, - TP_ERR_FAIL_REG_PROBE = 54, - TP_ERR_DIFF_PROBE_TYPE = 55, - TP_ERR_DIFF_ARG_TYPE = 56, - TP_ERR_SAME_PROBE = 57, - TP_ERR_NO_EVENT_INFO = 58, - TP_ERR_BAD_ATTACH_EVENT = 59, - TP_ERR_BAD_ATTACH_ARG = 60, - TP_ERR_NO_EP_FILTER = 61, - TP_ERR_NOSUP_BTFARG = 62, - TP_ERR_NO_BTFARG = 63, - TP_ERR_NO_BTF_ENTRY = 64, - TP_ERR_BAD_VAR_ARGS = 65, - TP_ERR_NOFENTRY_ARGS = 66, - TP_ERR_DOUBLE_ARGS = 67, - TP_ERR_ARGS_2LONG = 68, - TP_ERR_ARGIDX_2BIG = 69, - TP_ERR_NO_PTR_STRCT = 70, - TP_ERR_NOSUP_DAT_ARG = 71, - TP_ERR_BAD_HYPHEN = 72, - TP_ERR_NO_BTF_FIELD = 73, - TP_ERR_BAD_BTF_TID = 74, - TP_ERR_BAD_TYPE4STR = 75, + TP_ERR_BAD_TP_NAME = 13, + TP_ERR_BAD_ADDR_SUFFIX = 14, + TP_ERR_NO_GROUP_NAME = 15, + TP_ERR_GROUP_TOO_LONG = 16, + TP_ERR_BAD_GROUP_NAME = 17, + TP_ERR_NO_EVENT_NAME = 18, + TP_ERR_EVENT_TOO_LONG = 19, + TP_ERR_BAD_EVENT_NAME = 20, + TP_ERR_EVENT_EXIST = 21, + TP_ERR_RETVAL_ON_PROBE = 22, + TP_ERR_NO_RETVAL = 23, + TP_ERR_BAD_STACK_NUM = 24, + TP_ERR_BAD_ARG_NUM = 25, + TP_ERR_BAD_VAR = 26, + TP_ERR_BAD_REG_NAME = 27, + TP_ERR_BAD_MEM_ADDR = 28, + TP_ERR_BAD_IMM = 29, + TP_ERR_IMMSTR_NO_CLOSE = 30, + TP_ERR_FILE_ON_KPROBE = 31, + TP_ERR_BAD_FILE_OFFS = 32, + TP_ERR_SYM_ON_UPROBE = 33, + TP_ERR_TOO_MANY_OPS = 34, + TP_ERR_DEREF_NEED_BRACE = 35, + TP_ERR_BAD_DEREF_OFFS = 36, + TP_ERR_DEREF_OPEN_BRACE = 37, + TP_ERR_COMM_CANT_DEREF = 38, + TP_ERR_BAD_FETCH_ARG = 39, + TP_ERR_ARRAY_NO_CLOSE = 40, + TP_ERR_BAD_ARRAY_SUFFIX = 41, + TP_ERR_BAD_ARRAY_NUM = 42, + TP_ERR_ARRAY_TOO_BIG = 43, + TP_ERR_BAD_TYPE = 44, + TP_ERR_BAD_STRING = 45, + TP_ERR_BAD_SYMSTRING = 46, + TP_ERR_BAD_BITFIELD = 47, + TP_ERR_ARG_NAME_TOO_LONG = 48, + TP_ERR_NO_ARG_NAME = 49, + TP_ERR_BAD_ARG_NAME = 50, + TP_ERR_USED_ARG_NAME = 51, + TP_ERR_ARG_TOO_LONG = 52, + TP_ERR_NO_ARG_BODY = 53, + TP_ERR_BAD_INSN_BNDRY = 54, + TP_ERR_FAIL_REG_PROBE = 55, + TP_ERR_DIFF_PROBE_TYPE = 56, + TP_ERR_DIFF_ARG_TYPE = 57, + TP_ERR_SAME_PROBE = 58, + TP_ERR_NO_EVENT_INFO = 59, + TP_ERR_BAD_ATTACH_EVENT = 60, + TP_ERR_BAD_ATTACH_ARG = 61, + TP_ERR_NO_EP_FILTER = 62, + TP_ERR_NOSUP_BTFARG = 63, + TP_ERR_NO_BTFARG = 64, + TP_ERR_NO_BTF_ENTRY = 65, + TP_ERR_BAD_VAR_ARGS = 66, + TP_ERR_NOFENTRY_ARGS = 67, + TP_ERR_DOUBLE_ARGS = 68, + TP_ERR_ARGS_2LONG = 69, + TP_ERR_ARGIDX_2BIG = 70, + TP_ERR_NO_PTR_STRCT = 71, + TP_ERR_NOSUP_DAT_ARG = 72, + TP_ERR_BAD_HYPHEN = 73, + TP_ERR_NO_BTF_FIELD = 74, + TP_ERR_BAD_BTF_TID = 75, + TP_ERR_BAD_TYPE4STR = 76, + TP_ERR_NEED_STRING_TYPE = 77, + TP_ERR_TOO_MANY_EARGS = 78, }; enum { TRACEFS_EVENT_INODE = 2, - TRACEFS_EVENT_TOP_INODE = 4, + TRACEFS_GID_PERM_SET = 4, + TRACEFS_UID_PERM_SET = 8, + TRACEFS_INSTANCE_INODE = 16, }; enum { TRACE_ARRAY_FL_GLOBAL = 1, + TRACE_ARRAY_FL_BOOT = 2, + TRACE_ARRAY_FL_MOD_INIT = 4, }; enum { @@ -3865,31 +4335,31 @@ enum { }; enum { - TRACE_EVENT_FL_FILTERED = 1, - TRACE_EVENT_FL_CAP_ANY = 2, - TRACE_EVENT_FL_NO_SET_FILTER = 4, - TRACE_EVENT_FL_IGNORE_ENABLE = 8, - TRACE_EVENT_FL_TRACEPOINT = 16, - TRACE_EVENT_FL_DYNAMIC = 32, - TRACE_EVENT_FL_KPROBE = 64, - TRACE_EVENT_FL_UPROBE = 128, - TRACE_EVENT_FL_EPROBE = 256, - TRACE_EVENT_FL_FPROBE = 512, - TRACE_EVENT_FL_CUSTOM = 1024, + TRACE_EVENT_FL_CAP_ANY = 1, + TRACE_EVENT_FL_NO_SET_FILTER = 2, + TRACE_EVENT_FL_IGNORE_ENABLE = 4, + TRACE_EVENT_FL_TRACEPOINT = 8, + TRACE_EVENT_FL_DYNAMIC = 16, + TRACE_EVENT_FL_KPROBE = 32, + TRACE_EVENT_FL_UPROBE = 64, + TRACE_EVENT_FL_EPROBE = 128, + TRACE_EVENT_FL_FPROBE = 256, + TRACE_EVENT_FL_CUSTOM = 512, + TRACE_EVENT_FL_TEST_STR = 1024, }; enum { - TRACE_EVENT_FL_FILTERED_BIT = 0, - TRACE_EVENT_FL_CAP_ANY_BIT = 1, - TRACE_EVENT_FL_NO_SET_FILTER_BIT = 2, - TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 3, - TRACE_EVENT_FL_TRACEPOINT_BIT = 4, - TRACE_EVENT_FL_DYNAMIC_BIT = 5, - TRACE_EVENT_FL_KPROBE_BIT = 6, - TRACE_EVENT_FL_UPROBE_BIT = 7, - TRACE_EVENT_FL_EPROBE_BIT = 8, - TRACE_EVENT_FL_FPROBE_BIT = 9, - TRACE_EVENT_FL_CUSTOM_BIT = 10, + TRACE_EVENT_FL_CAP_ANY_BIT = 0, + TRACE_EVENT_FL_NO_SET_FILTER_BIT = 1, + TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 2, + TRACE_EVENT_FL_TRACEPOINT_BIT = 3, + TRACE_EVENT_FL_DYNAMIC_BIT = 4, + TRACE_EVENT_FL_KPROBE_BIT = 5, + TRACE_EVENT_FL_UPROBE_BIT = 6, + TRACE_EVENT_FL_EPROBE_BIT = 7, + TRACE_EVENT_FL_FPROBE_BIT = 8, + TRACE_EVENT_FL_CUSTOM_BIT = 9, + TRACE_EVENT_FL_TEST_STR_BIT = 10, }; enum { @@ -3905,11 +4375,7 @@ enum { TRACE_INTERNAL_TRANSITION_BIT = 9, TRACE_BRANCH_BIT = 10, TRACE_IRQ_BIT = 11, - TRACE_GRAPH_BIT = 12, - TRACE_GRAPH_DEPTH_START_BIT = 13, - TRACE_GRAPH_DEPTH_END_BIT = 14, - TRACE_GRAPH_NOTRACE_BIT = 15, - TRACE_RECORD_RECURSION_BIT = 16, + TRACE_RECORD_RECURSION_BIT = 12, }; enum { @@ -3919,6 +4385,13 @@ enum { TRACE_FUNC_OPT_HIGHEST_BIT = 4, }; +enum { + TRACE_GRAPH_FL = 1, + TRACE_GRAPH_DEPTH_START_BIT = 2, + TRACE_GRAPH_DEPTH_END_BIT = 3, + TRACE_GRAPH_NOTRACE_BIT = 4, +}; + enum { TRACE_NOP_OPT_ACCEPT = 1, TRACE_NOP_OPT_REFUSE = 2, @@ -3943,6 +4416,18 @@ enum { UDP_BPF_NUM_PROTS = 2, }; +enum { + UDP_FLAGS_CORK = 0, + UDP_FLAGS_NO_CHECK6_TX = 1, + UDP_FLAGS_NO_CHECK6_RX = 2, + UDP_FLAGS_GRO_ENABLED = 3, + UDP_FLAGS_ACCEPT_FRAGLIST = 4, + UDP_FLAGS_ACCEPT_L4 = 5, + UDP_FLAGS_ENCAP_ENABLED = 6, + UDP_FLAGS_UDPLITE_SEND_CC = 7, + UDP_FLAGS_UDPLITE_RECV_CC = 8, +}; + enum { UDP_MIB_NUM = 0, UDP_MIB_INDATAGRAMS = 1, @@ -3977,50 +4462,6 @@ enum { WALK_NOFOLLOW = 4, }; -enum { - WORK_STRUCT_PENDING_BIT = 0, - WORK_STRUCT_INACTIVE_BIT = 1, - WORK_STRUCT_PWQ_BIT = 2, - WORK_STRUCT_LINKED_BIT = 3, - WORK_STRUCT_COLOR_SHIFT = 4, - WORK_STRUCT_COLOR_BITS = 4, - WORK_STRUCT_PENDING = 1, - WORK_STRUCT_INACTIVE = 2, - WORK_STRUCT_PWQ = 4, - WORK_STRUCT_LINKED = 8, - WORK_STRUCT_STATIC = 0, - WORK_NR_COLORS = 16, - WORK_CPU_UNBOUND = 1, - WORK_STRUCT_FLAG_BITS = 8, - WORK_OFFQ_FLAG_BASE = 4, - __WORK_OFFQ_CANCELING = 4, - WORK_OFFQ_FLAG_BITS = 1, - WORK_OFFQ_POOL_SHIFT = 5, - WORK_OFFQ_LEFT = 27, - WORK_OFFQ_POOL_BITS = 27, - WORK_BUSY_PENDING = 1, - WORK_BUSY_RUNNING = 2, - WORKER_DESC_LEN = 24, -}; - -enum { - WQ_UNBOUND = 2, - WQ_FREEZABLE = 4, - WQ_MEM_RECLAIM = 8, - WQ_HIGHPRI = 16, - WQ_CPU_INTENSIVE = 32, - WQ_SYSFS = 64, - WQ_POWER_EFFICIENT = 128, - __WQ_DESTROYING = 32768, - __WQ_DRAINING = 65536, - __WQ_ORDERED = 131072, - __WQ_LEGACY = 262144, - __WQ_ORDERED_EXPLICIT = 524288, - WQ_MAX_ACTIVE = 512, - WQ_UNBOUND_MAX_ACTIVE = 512, - WQ_DFL_ACTIVE = 256, -}; - enum { XA_CHECK_SCHED = 4096, }; @@ -4033,12 +4474,6 @@ enum { XDP_ATTACHED_MULTI = 4, }; -enum { - XDP_METADATA_KFUNC_RX_TIMESTAMP = 0, - XDP_METADATA_KFUNC_RX_HASH = 1, - MAX_XDP_METADATA_KFUNC = 2, -}; - enum { XFRM_LOOKUP_ICMP = 1, XFRM_LOOKUP_QUEUE = 2, @@ -4103,7 +4538,6 @@ enum { _IRQ_NOREQUEST = 2048, _IRQ_NOTHREAD = 65536, _IRQ_NOAUTOEN = 4096, - _IRQ_MOVE_PCNTXT = 16384, _IRQ_NO_BALANCING = 8192, _IRQ_NESTED_THREAD = 32768, _IRQ_PER_CPU_DEVID = 131072, @@ -4111,7 +4545,7 @@ enum { _IRQ_DISABLE_UNLAZY = 524288, _IRQ_HIDDEN = 1048576, _IRQ_NO_DEBUG = 2097152, - _IRQF_MODIFY_MASK = 2096911, + _IRQF_MODIFY_MASK = 2080527, }; enum { @@ -4142,29 +4576,58 @@ enum { enum { __SCHED_FEAT_PLACE_LAG = 0, __SCHED_FEAT_PLACE_DEADLINE_INITIAL = 1, - __SCHED_FEAT_RUN_TO_PARITY = 2, - __SCHED_FEAT_NEXT_BUDDY = 3, - __SCHED_FEAT_CACHE_HOT_BUDDY = 4, - __SCHED_FEAT_WAKEUP_PREEMPTION = 5, - __SCHED_FEAT_HRTICK = 6, - __SCHED_FEAT_HRTICK_DL = 7, - __SCHED_FEAT_DOUBLE_TICK = 8, - __SCHED_FEAT_NONTASK_CAPACITY = 9, - __SCHED_FEAT_TTWU_QUEUE = 10, - __SCHED_FEAT_SIS_PROP = 11, - __SCHED_FEAT_SIS_UTIL = 12, - __SCHED_FEAT_WARN_DOUBLE_CLOCK = 13, - __SCHED_FEAT_RT_RUNTIME_SHARE = 14, - __SCHED_FEAT_LB_MIN = 15, - __SCHED_FEAT_ATTACH_AGE_LOAD = 16, - __SCHED_FEAT_WA_IDLE = 17, - __SCHED_FEAT_WA_WEIGHT = 18, - __SCHED_FEAT_WA_BIAS = 19, - __SCHED_FEAT_UTIL_EST = 20, - __SCHED_FEAT_UTIL_EST_FASTUP = 21, - __SCHED_FEAT_LATENCY_WARN = 22, - __SCHED_FEAT_HZ_BW = 23, - __SCHED_FEAT_NR = 24, + __SCHED_FEAT_PLACE_REL_DEADLINE = 2, + __SCHED_FEAT_RUN_TO_PARITY = 3, + __SCHED_FEAT_PREEMPT_SHORT = 4, + __SCHED_FEAT_NEXT_BUDDY = 5, + __SCHED_FEAT_PICK_BUDDY = 6, + __SCHED_FEAT_CACHE_HOT_BUDDY = 7, + __SCHED_FEAT_DELAY_DEQUEUE = 8, + __SCHED_FEAT_DELAY_ZERO = 9, + __SCHED_FEAT_WAKEUP_PREEMPTION = 10, + __SCHED_FEAT_HRTICK = 11, + __SCHED_FEAT_HRTICK_DL = 12, + __SCHED_FEAT_NONTASK_CAPACITY = 13, + __SCHED_FEAT_TTWU_QUEUE = 14, + __SCHED_FEAT_SIS_UTIL = 15, + __SCHED_FEAT_WARN_DOUBLE_CLOCK = 16, + __SCHED_FEAT_RT_RUNTIME_SHARE = 17, + __SCHED_FEAT_LB_MIN = 18, + __SCHED_FEAT_ATTACH_AGE_LOAD = 19, + __SCHED_FEAT_WA_IDLE = 20, + __SCHED_FEAT_WA_WEIGHT = 21, + __SCHED_FEAT_WA_BIAS = 22, + __SCHED_FEAT_UTIL_EST = 23, + __SCHED_FEAT_LATENCY_WARN = 24, + __SCHED_FEAT_NR = 25, +}; + +enum { + ___GFP_DMA_BIT = 0, + ___GFP_HIGHMEM_BIT = 1, + ___GFP_DMA32_BIT = 2, + ___GFP_MOVABLE_BIT = 3, + ___GFP_RECLAIMABLE_BIT = 4, + ___GFP_HIGH_BIT = 5, + ___GFP_IO_BIT = 6, + ___GFP_FS_BIT = 7, + ___GFP_ZERO_BIT = 8, + ___GFP_UNUSED_BIT = 9, + ___GFP_DIRECT_RECLAIM_BIT = 10, + ___GFP_KSWAPD_RECLAIM_BIT = 11, + ___GFP_WRITE_BIT = 12, + ___GFP_NOWARN_BIT = 13, + ___GFP_RETRY_MAYFAIL_BIT = 14, + ___GFP_NOFAIL_BIT = 15, + ___GFP_NORETRY_BIT = 16, + ___GFP_MEMALLOC_BIT = 17, + ___GFP_COMP_BIT = 18, + ___GFP_NOMEMALLOC_BIT = 19, + ___GFP_HARDWALL_BIT = 20, + ___GFP_THISNODE_BIT = 21, + ___GFP_ACCOUNT_BIT = 22, + ___GFP_ZEROTAGS_BIT = 23, + ___GFP_LAST_BIT = 24, }; enum { @@ -4191,8 +4654,7 @@ enum { __ctx_convertBPF_PROG_TYPE_STRUCT_OPS = 20, __ctx_convertBPF_PROG_TYPE_EXT = 21, __ctx_convertBPF_PROG_TYPE_SYSCALL = 22, - __ctx_convertBPF_PROG_TYPE_NETFILTER = 23, - __ctx_convert_unused = 24, + __ctx_convert_unused = 23, }; enum { @@ -4241,7 +4703,8 @@ typedef enum { PHY_INTERFACE_MODE_10GKR = 30, PHY_INTERFACE_MODE_QUSGMII = 31, PHY_INTERFACE_MODE_1000BASEKX = 32, - PHY_INTERFACE_MODE_MAX = 33, + PHY_INTERFACE_MODE_10G_QXGMII = 33, + PHY_INTERFACE_MODE_MAX = 34, } phy_interface_t; typedef enum { @@ -4265,17 +4728,32 @@ enum __sk_action { __SK_NONE = 3, }; +enum _slab_flag_bits { + _SLAB_CONSISTENCY_CHECKS = 0, + _SLAB_RED_ZONE = 1, + _SLAB_POISON = 2, + _SLAB_KMALLOC = 3, + _SLAB_HWCACHE_ALIGN = 4, + _SLAB_CACHE_DMA = 5, + _SLAB_CACHE_DMA32 = 6, + _SLAB_STORE_USER = 7, + _SLAB_PANIC = 8, + _SLAB_TYPESAFE_BY_RCU = 9, + _SLAB_TRACE = 10, + _SLAB_NOLEAKTRACE = 11, + _SLAB_NO_MERGE = 12, + _SLAB_NO_USER_FLAGS = 13, + _SLAB_OBJECT_POISON = 14, + _SLAB_CMPXCHG_DOUBLE = 15, + _SLAB_FLAGS_LAST_BIT = 16, +}; + enum addr_type_t { UNICAST_ADDR = 0, MULTICAST_ADDR = 1, ANYCAST_ADDR = 2, }; -enum alarmtimer_restart { - ALARMTIMER_NORESTART = 0, - ALARMTIMER_RESTART = 1, -}; - enum alarmtimer_type { ALARM_REALTIME = 0, ALARM_BOOTTIME = 1, @@ -4335,10 +4813,12 @@ enum blake2s_lengths { BLAKE2S_256_HASH_SIZE = 32, }; -enum blk_bounce { - BLK_BOUNCE_NONE = 0, - BLK_BOUNCE_HIGH = 1, -}; +enum blk_integrity_checksum { + BLK_INTEGRITY_CSUM_NONE = 0, + BLK_INTEGRITY_CSUM_IP = 1, + BLK_INTEGRITY_CSUM_CRC = 2, + BLK_INTEGRITY_CSUM_CRC64 = 3, +} __attribute__((mode(byte))); enum blk_unique_id { BLK_UID_T10 = 1, @@ -4346,12 +4826,6 @@ enum blk_unique_id { BLK_UID_NAA = 3, }; -enum blk_zoned_model { - BLK_ZONED_NONE = 0, - BLK_ZONED_HA = 1, - BLK_ZONED_HM = 2, -}; - enum bp_type_idx { TYPE_INST = 0, TYPE_DATA = 1, @@ -4368,6 +4842,10 @@ enum bpf_access_type { BPF_WRITE = 2, }; +enum bpf_addr_space_cast { + BPF_ADDR_SPACE_CAST = 1, +}; + enum bpf_adj_room_mode { BPF_ADJ_ROOM_NET = 0, BPF_ADJ_ROOM_MAC = 1, @@ -4379,36 +4857,40 @@ enum bpf_arg_type { ARG_PTR_TO_MAP_KEY = 2, ARG_PTR_TO_MAP_VALUE = 3, ARG_PTR_TO_MEM = 4, - ARG_CONST_SIZE = 5, - ARG_CONST_SIZE_OR_ZERO = 6, - ARG_PTR_TO_CTX = 7, - ARG_ANYTHING = 8, - ARG_PTR_TO_SPIN_LOCK = 9, - ARG_PTR_TO_SOCK_COMMON = 10, - ARG_PTR_TO_INT = 11, - ARG_PTR_TO_LONG = 12, - ARG_PTR_TO_SOCKET = 13, - ARG_PTR_TO_BTF_ID = 14, - ARG_PTR_TO_RINGBUF_MEM = 15, - ARG_CONST_ALLOC_SIZE_OR_ZERO = 16, - ARG_PTR_TO_BTF_ID_SOCK_COMMON = 17, - ARG_PTR_TO_PERCPU_BTF_ID = 18, - ARG_PTR_TO_FUNC = 19, - ARG_PTR_TO_STACK = 20, - ARG_PTR_TO_CONST_STR = 21, - ARG_PTR_TO_TIMER = 22, - ARG_PTR_TO_KPTR = 23, - ARG_PTR_TO_DYNPTR = 24, - __BPF_ARG_TYPE_MAX = 25, + ARG_PTR_TO_ARENA = 5, + ARG_CONST_SIZE = 6, + ARG_CONST_SIZE_OR_ZERO = 7, + ARG_PTR_TO_CTX = 8, + ARG_ANYTHING = 9, + ARG_PTR_TO_SPIN_LOCK = 10, + ARG_PTR_TO_SOCK_COMMON = 11, + ARG_PTR_TO_SOCKET = 12, + ARG_PTR_TO_BTF_ID = 13, + ARG_PTR_TO_RINGBUF_MEM = 14, + ARG_CONST_ALLOC_SIZE_OR_ZERO = 15, + ARG_PTR_TO_BTF_ID_SOCK_COMMON = 16, + ARG_PTR_TO_PERCPU_BTF_ID = 17, + ARG_PTR_TO_FUNC = 18, + ARG_PTR_TO_STACK = 19, + ARG_PTR_TO_CONST_STR = 20, + ARG_PTR_TO_TIMER = 21, + ARG_KPTR_XCHG_DEST = 22, + ARG_PTR_TO_DYNPTR = 23, + __BPF_ARG_TYPE_MAX = 24, ARG_PTR_TO_MAP_VALUE_OR_NULL = 259, ARG_PTR_TO_MEM_OR_NULL = 260, - ARG_PTR_TO_CTX_OR_NULL = 263, - ARG_PTR_TO_SOCKET_OR_NULL = 269, - ARG_PTR_TO_STACK_OR_NULL = 276, - ARG_PTR_TO_BTF_ID_OR_NULL = 270, - ARG_PTR_TO_UNINIT_MEM = 32772, + ARG_PTR_TO_CTX_OR_NULL = 264, + ARG_PTR_TO_SOCKET_OR_NULL = 268, + ARG_PTR_TO_STACK_OR_NULL = 275, + ARG_PTR_TO_BTF_ID_OR_NULL = 269, + ARG_PTR_TO_UNINIT_MEM = 67141636, ARG_PTR_TO_FIXED_SIZE_MEM = 262148, - __BPF_ARG_TYPE_LIMIT = 33554431, + __BPF_ARG_TYPE_LIMIT = 134217727, +}; + +enum bpf_async_type { + BPF_ASYNC_TYPE_TIMER = 0, + BPF_ASYNC_TYPE_WQ = 1, }; enum bpf_attach_type { @@ -4461,7 +4943,16 @@ enum bpf_attach_type { BPF_TCX_INGRESS = 46, BPF_TCX_EGRESS = 47, BPF_TRACE_UPROBE_MULTI = 48, - __MAX_BPF_ATTACH_TYPE = 49, + BPF_CGROUP_UNIX_CONNECT = 49, + BPF_CGROUP_UNIX_SENDMSG = 50, + BPF_CGROUP_UNIX_RECVMSG = 51, + BPF_CGROUP_UNIX_GETPEERNAME = 52, + BPF_CGROUP_UNIX_GETSOCKNAME = 53, + BPF_NETKIT_PRIMARY = 54, + BPF_NETKIT_PEER = 55, + BPF_TRACE_KPROBE_SESSION = 56, + BPF_TRACE_UPROBE_SESSION = 57, + __MAX_BPF_ATTACH_TYPE = 58, }; enum bpf_audit { @@ -4532,6 +5023,12 @@ enum bpf_cmd { BPF_ITER_CREATE = 33, BPF_LINK_DETACH = 34, BPF_PROG_BIND_MAP = 35, + BPF_TOKEN_CREATE = 36, + __MAX_BPF_CMD = 37, +}; + +enum bpf_cond_pseudo_jmp { + BPF_MAY_GOTO = 0, }; enum bpf_core_relo_kind { @@ -4799,6 +5296,10 @@ enum bpf_jit_poke_reason { BPF_POKE_REASON_TAIL_CALL = 0, }; +enum bpf_kfunc_flags { + BPF_F_PAD_ZEROS = 1, +}; + enum bpf_link_type { BPF_LINK_TYPE_UNSPEC = 0, BPF_LINK_TYPE_RAW_TRACEPOINT = 1, @@ -4813,7 +5314,9 @@ enum bpf_link_type { BPF_LINK_TYPE_NETFILTER = 10, BPF_LINK_TYPE_TCX = 11, BPF_LINK_TYPE_UPROBE_MULTI = 12, - MAX_BPF_LINK_TYPE = 13, + BPF_LINK_TYPE_NETKIT = 13, + BPF_LINK_TYPE_SOCKMAP = 14, + __MAX_BPF_LINK_TYPE = 15, }; enum bpf_lru_list_type { @@ -4847,6 +5350,7 @@ enum bpf_map_type { BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED = 19, BPF_MAP_TYPE_CGROUP_STORAGE = 19, BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 20, + BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE_DEPRECATED = 21, BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 21, BPF_MAP_TYPE_QUEUE = 22, BPF_MAP_TYPE_STACK = 23, @@ -4859,6 +5363,8 @@ enum bpf_map_type { BPF_MAP_TYPE_BLOOM_FILTER = 30, BPF_MAP_TYPE_USER_RINGBUF = 31, BPF_MAP_TYPE_CGRP_STORAGE = 32, + BPF_MAP_TYPE_ARENA = 33, + __MAX_BPF_MAP_TYPE = 34, }; enum bpf_netdev_command { @@ -4913,6 +5419,7 @@ enum bpf_prog_type { BPF_PROG_TYPE_SK_LOOKUP = 30, BPF_PROG_TYPE_SYSCALL = 31, BPF_PROG_TYPE_NETFILTER = 32, + __MAX_BPF_PROG_TYPE = 33, }; enum bpf_reg_liveness { @@ -4943,16 +5450,17 @@ enum bpf_reg_type { PTR_TO_XDP_SOCK = 15, PTR_TO_BTF_ID = 16, PTR_TO_MEM = 17, - PTR_TO_BUF = 18, - PTR_TO_FUNC = 19, - CONST_PTR_TO_DYNPTR = 20, - __BPF_REG_TYPE_MAX = 21, + PTR_TO_ARENA = 18, + PTR_TO_BUF = 19, + PTR_TO_FUNC = 20, + CONST_PTR_TO_DYNPTR = 21, + __BPF_REG_TYPE_MAX = 22, PTR_TO_MAP_VALUE_OR_NULL = 260, PTR_TO_SOCKET_OR_NULL = 267, PTR_TO_SOCK_COMMON_OR_NULL = 268, PTR_TO_TCP_SOCK_OR_NULL = 269, PTR_TO_BTF_ID_OR_NULL = 272, - __BPF_REG_TYPE_LIMIT = 33554431, + __BPF_REG_TYPE_LIMIT = 134217727, }; enum bpf_ret_code { @@ -4982,7 +5490,7 @@ enum bpf_return_type { RET_PTR_TO_DYNPTR_MEM_OR_NULL = 262, RET_PTR_TO_BTF_ID_OR_NULL = 264, RET_PTR_TO_BTF_ID_TRUSTED = 1048584, - __BPF_RET_TYPE_LIMIT = 33554431, + __BPF_RET_TYPE_LIMIT = 134217727, }; enum bpf_stack_build_id_status { @@ -4998,6 +5506,7 @@ enum bpf_stack_slot_type { STACK_ZERO = 3, STACK_DYNPTR = 4, STACK_ITER = 5, + STACK_IRQ_FLAG = 6, }; enum bpf_stats_type { @@ -5070,8 +5579,10 @@ enum bpf_type_flag { NON_OWN_REF = 4194304, DYNPTR_TYPE_SKB = 8388608, DYNPTR_TYPE_XDP = 16777216, - __BPF_TYPE_FLAG_MAX = 16777217, - __BPF_TYPE_LAST_FLAG = 16777216, + MEM_ALIGNED = 33554432, + MEM_WRITE = 67108864, + __BPF_TYPE_FLAG_MAX = 67108865, + __BPF_TYPE_LAST_FLAG = 67108864, }; enum bpf_xdp_mode { @@ -5081,18 +5592,35 @@ enum bpf_xdp_mode { __MAX_XDP_MODE = 3, }; +enum btf_arg_tag { + ARG_TAG_CTX = 1, + ARG_TAG_NONNULL = 2, + ARG_TAG_TRUSTED = 4, + ARG_TAG_NULLABLE = 8, + ARG_TAG_ARENA = 16, +}; + +enum btf_field_iter_kind { + BTF_FIELD_ITER_IDS = 0, + BTF_FIELD_ITER_STRS = 1, +}; + enum btf_field_type { BPF_SPIN_LOCK = 1, BPF_TIMER = 2, BPF_KPTR_UNREF = 4, BPF_KPTR_REF = 8, - BPF_KPTR = 12, - BPF_LIST_HEAD = 16, - BPF_LIST_NODE = 32, - BPF_RB_ROOT = 64, - BPF_RB_NODE = 128, - BPF_GRAPH_NODE_OR_ROOT = 240, - BPF_REFCOUNT = 256, + BPF_KPTR_PERCPU = 16, + BPF_KPTR = 28, + BPF_LIST_HEAD = 32, + BPF_LIST_NODE = 64, + BPF_RB_ROOT = 128, + BPF_RB_NODE = 256, + BPF_GRAPH_NODE = 320, + BPF_GRAPH_ROOT = 160, + BPF_REFCOUNT = 512, + BPF_WORKQUEUE = 1024, + BPF_UPTR = 2048, }; enum btf_func_linkage { @@ -5109,13 +5637,14 @@ enum btf_kfunc_hook { BTF_KFUNC_HOOK_TRACING = 4, BTF_KFUNC_HOOK_SYSCALL = 5, BTF_KFUNC_HOOK_FMODRET = 6, - BTF_KFUNC_HOOK_CGROUP_SKB = 7, + BTF_KFUNC_HOOK_CGROUP = 7, BTF_KFUNC_HOOK_SCHED_ACT = 8, BTF_KFUNC_HOOK_SK_SKB = 9, BTF_KFUNC_HOOK_SOCKET_FILTER = 10, BTF_KFUNC_HOOK_LWT = 11, BTF_KFUNC_HOOK_NETFILTER = 12, - BTF_KFUNC_HOOK_MAX = 13, + BTF_KFUNC_HOOK_KPROBE = 13, + BTF_KFUNC_HOOK_MAX = 14, }; enum bug_trap_type { @@ -5167,7 +5696,19 @@ enum clock_event_state { enum clocksource_ids { CSID_GENERIC = 0, CSID_ARM_ARCH_COUNTER = 1, - CSID_MAX = 2, + CSID_S390_TOD = 2, + CSID_X86_TSC_EARLY = 3, + CSID_X86_TSC = 4, + CSID_X86_KVM_CLK = 5, + CSID_X86_ART = 6, + CSID_MAX = 7, +}; + +enum cmis_cdb_fw_write_mechanism { + CMIS_CDB_FW_WRITE_MECHANISM_NONE = 0, + CMIS_CDB_FW_WRITE_MECHANISM_LPL = 1, + CMIS_CDB_FW_WRITE_MECHANISM_EPL = 16, + CMIS_CDB_FW_WRITE_MECHANISM_BOTH = 17, }; enum compact_priority { @@ -5211,6 +5752,7 @@ enum cons_flags { CON_BRL = 32, CON_EXTENDED = 64, CON_SUSPENDED = 128, + CON_NBCON = 256, }; enum cpio_fields { @@ -5267,195 +5809,194 @@ enum cpuhp_state { CPUHP_PERF_POWER = 5, CPUHP_PERF_SUPERH = 6, CPUHP_X86_HPET_DEAD = 7, - CPUHP_X86_APB_DEAD = 8, - CPUHP_X86_MCE_DEAD = 9, - CPUHP_VIRT_NET_DEAD = 10, - CPUHP_IBMVNIC_DEAD = 11, - CPUHP_SLUB_DEAD = 12, - CPUHP_DEBUG_OBJ_DEAD = 13, - CPUHP_MM_WRITEBACK_DEAD = 14, - CPUHP_MM_DEMOTION_DEAD = 15, - CPUHP_MM_VMSTAT_DEAD = 16, - CPUHP_SOFTIRQ_DEAD = 17, - CPUHP_NET_MVNETA_DEAD = 18, - CPUHP_CPUIDLE_DEAD = 19, - CPUHP_ARM64_FPSIMD_DEAD = 20, - CPUHP_ARM_OMAP_WAKE_DEAD = 21, - CPUHP_IRQ_POLL_DEAD = 22, - CPUHP_BLOCK_SOFTIRQ_DEAD = 23, - CPUHP_BIO_DEAD = 24, - CPUHP_ACPI_CPUDRV_DEAD = 25, - CPUHP_S390_PFAULT_DEAD = 26, - CPUHP_BLK_MQ_DEAD = 27, - CPUHP_FS_BUFF_DEAD = 28, - CPUHP_PRINTK_DEAD = 29, - CPUHP_MM_MEMCQ_DEAD = 30, - CPUHP_PERCPU_CNT_DEAD = 31, - CPUHP_RADIX_DEAD = 32, - CPUHP_PAGE_ALLOC = 33, - CPUHP_NET_DEV_DEAD = 34, - CPUHP_PCI_XGENE_DEAD = 35, - CPUHP_IOMMU_IOVA_DEAD = 36, - CPUHP_LUSTRE_CFS_DEAD = 37, - CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 38, - CPUHP_PADATA_DEAD = 39, - CPUHP_AP_DTPM_CPU_DEAD = 40, - CPUHP_RANDOM_PREPARE = 41, - CPUHP_WORKQUEUE_PREP = 42, - CPUHP_POWER_NUMA_PREPARE = 43, - CPUHP_HRTIMERS_PREPARE = 44, - CPUHP_PROFILE_PREPARE = 45, - CPUHP_X2APIC_PREPARE = 46, - CPUHP_SMPCFD_PREPARE = 47, - CPUHP_RELAY_PREPARE = 48, - CPUHP_SLAB_PREPARE = 49, - CPUHP_MD_RAID5_PREPARE = 50, - CPUHP_RCUTREE_PREP = 51, - CPUHP_CPUIDLE_COUPLED_PREPARE = 52, - CPUHP_POWERPC_PMAC_PREPARE = 53, - CPUHP_POWERPC_MMU_CTX_PREPARE = 54, - CPUHP_XEN_PREPARE = 55, - CPUHP_XEN_EVTCHN_PREPARE = 56, - CPUHP_ARM_SHMOBILE_SCU_PREPARE = 57, - CPUHP_SH_SH3X_PREPARE = 58, - CPUHP_NET_FLOW_PREPARE = 59, - CPUHP_TOPOLOGY_PREPARE = 60, - CPUHP_NET_IUCV_PREPARE = 61, - CPUHP_ARM_BL_PREPARE = 62, - CPUHP_TRACE_RB_PREPARE = 63, - CPUHP_MM_ZS_PREPARE = 64, - CPUHP_MM_ZSWP_MEM_PREPARE = 65, - CPUHP_MM_ZSWP_POOL_PREPARE = 66, - CPUHP_KVM_PPC_BOOK3S_PREPARE = 67, - CPUHP_ZCOMP_PREPARE = 68, - CPUHP_TIMERS_PREPARE = 69, - CPUHP_MIPS_SOC_PREPARE = 70, - CPUHP_BP_PREPARE_DYN = 71, - CPUHP_BP_PREPARE_DYN_END = 91, - CPUHP_BP_KICK_AP = 92, - CPUHP_BRINGUP_CPU = 93, - CPUHP_AP_IDLE_DEAD = 94, - CPUHP_AP_OFFLINE = 95, - CPUHP_AP_CACHECTRL_STARTING = 96, - CPUHP_AP_SCHED_STARTING = 97, - CPUHP_AP_RCUTREE_DYING = 98, - CPUHP_AP_CPU_PM_STARTING = 99, - CPUHP_AP_IRQ_GIC_STARTING = 100, - CPUHP_AP_IRQ_HIP04_STARTING = 101, - CPUHP_AP_IRQ_APPLE_AIC_STARTING = 102, - CPUHP_AP_IRQ_ARMADA_XP_STARTING = 103, - CPUHP_AP_IRQ_BCM2836_STARTING = 104, - CPUHP_AP_IRQ_MIPS_GIC_STARTING = 105, - CPUHP_AP_IRQ_RISCV_STARTING = 106, - CPUHP_AP_IRQ_LOONGARCH_STARTING = 107, - CPUHP_AP_IRQ_SIFIVE_PLIC_STARTING = 108, - CPUHP_AP_ARM_MVEBU_COHERENCY = 109, - CPUHP_AP_MICROCODE_LOADER = 110, - CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 111, - CPUHP_AP_PERF_X86_STARTING = 112, - CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 113, - CPUHP_AP_PERF_X86_CQM_STARTING = 114, - CPUHP_AP_PERF_X86_CSTATE_STARTING = 115, - CPUHP_AP_PERF_XTENSA_STARTING = 116, - CPUHP_AP_MIPS_OP_LOONGSON3_STARTING = 117, - CPUHP_AP_ARM_VFP_STARTING = 118, - CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 119, - CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 120, - CPUHP_AP_PERF_ARM_ACPI_STARTING = 121, - CPUHP_AP_PERF_ARM_STARTING = 122, - CPUHP_AP_PERF_RISCV_STARTING = 123, - CPUHP_AP_ARM_L2X0_STARTING = 124, - CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 125, - CPUHP_AP_ARM_ARCH_TIMER_STARTING = 126, - CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 127, - CPUHP_AP_JCORE_TIMER_STARTING = 128, - CPUHP_AP_ARM_TWD_STARTING = 129, - CPUHP_AP_QCOM_TIMER_STARTING = 130, - CPUHP_AP_TEGRA_TIMER_STARTING = 131, - CPUHP_AP_ARMADA_TIMER_STARTING = 132, - CPUHP_AP_MARCO_TIMER_STARTING = 133, - CPUHP_AP_MIPS_GIC_TIMER_STARTING = 134, - CPUHP_AP_ARC_TIMER_STARTING = 135, - CPUHP_AP_RISCV_TIMER_STARTING = 136, - CPUHP_AP_CLINT_TIMER_STARTING = 137, - CPUHP_AP_CSKY_TIMER_STARTING = 138, - CPUHP_AP_TI_GP_TIMER_STARTING = 139, - CPUHP_AP_HYPERV_TIMER_STARTING = 140, - CPUHP_AP_DUMMY_TIMER_STARTING = 141, - CPUHP_AP_ARM_XEN_STARTING = 142, - CPUHP_AP_ARM_CORESIGHT_STARTING = 143, - CPUHP_AP_ARM_CORESIGHT_CTI_STARTING = 144, - CPUHP_AP_ARM64_ISNDEP_STARTING = 145, - CPUHP_AP_SMPCFD_DYING = 146, - CPUHP_AP_X86_TBOOT_DYING = 147, - CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 148, - CPUHP_AP_ONLINE = 149, - CPUHP_TEARDOWN_CPU = 150, - CPUHP_AP_ONLINE_IDLE = 151, - CPUHP_AP_HYPERV_ONLINE = 152, - CPUHP_AP_KVM_ONLINE = 153, - CPUHP_AP_SCHED_WAIT_EMPTY = 154, - CPUHP_AP_SMPBOOT_THREADS = 155, - CPUHP_AP_X86_VDSO_VMA_ONLINE = 156, - CPUHP_AP_IRQ_AFFINITY_ONLINE = 157, - CPUHP_AP_BLK_MQ_ONLINE = 158, - CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 159, - CPUHP_AP_X86_INTEL_EPB_ONLINE = 160, - CPUHP_AP_PERF_ONLINE = 161, - CPUHP_AP_PERF_X86_ONLINE = 162, - CPUHP_AP_PERF_X86_UNCORE_ONLINE = 163, - CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 164, - CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 165, - CPUHP_AP_PERF_X86_RAPL_ONLINE = 166, - CPUHP_AP_PERF_X86_CQM_ONLINE = 167, - CPUHP_AP_PERF_X86_CSTATE_ONLINE = 168, - CPUHP_AP_PERF_X86_IDXD_ONLINE = 169, - CPUHP_AP_PERF_S390_CF_ONLINE = 170, - CPUHP_AP_PERF_S390_SF_ONLINE = 171, - CPUHP_AP_PERF_ARM_CCI_ONLINE = 172, - CPUHP_AP_PERF_ARM_CCN_ONLINE = 173, - CPUHP_AP_PERF_ARM_HISI_CPA_ONLINE = 174, - CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 175, - CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 176, - CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 177, - CPUHP_AP_PERF_ARM_HISI_PA_ONLINE = 178, - CPUHP_AP_PERF_ARM_HISI_SLLC_ONLINE = 179, - CPUHP_AP_PERF_ARM_HISI_PCIE_PMU_ONLINE = 180, - CPUHP_AP_PERF_ARM_HNS3_PMU_ONLINE = 181, - CPUHP_AP_PERF_ARM_L2X0_ONLINE = 182, - CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 183, - CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 184, - CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 185, - CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 186, - CPUHP_AP_PERF_ARM_MARVELL_CN10K_DDR_ONLINE = 187, - CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 188, - CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 189, - CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 190, - CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 191, - CPUHP_AP_PERF_POWERPC_HV_24x7_ONLINE = 192, - CPUHP_AP_PERF_POWERPC_HV_GPCI_ONLINE = 193, - CPUHP_AP_PERF_CSKY_ONLINE = 194, - CPUHP_AP_WATCHDOG_ONLINE = 195, - CPUHP_AP_WORKQUEUE_ONLINE = 196, - CPUHP_AP_RANDOM_ONLINE = 197, - CPUHP_AP_RCUTREE_ONLINE = 198, - CPUHP_AP_BASE_CACHEINFO_ONLINE = 199, - CPUHP_AP_ONLINE_DYN = 200, - CPUHP_AP_ONLINE_DYN_END = 230, - CPUHP_AP_MM_DEMOTION_ONLINE = 231, - CPUHP_AP_X86_HPET_ONLINE = 232, - CPUHP_AP_X86_KVM_CLK_ONLINE = 233, - CPUHP_AP_ACTIVE = 234, - CPUHP_ONLINE = 235, + CPUHP_X86_MCE_DEAD = 8, + CPUHP_VIRT_NET_DEAD = 9, + CPUHP_IBMVNIC_DEAD = 10, + CPUHP_SLUB_DEAD = 11, + CPUHP_DEBUG_OBJ_DEAD = 12, + CPUHP_MM_WRITEBACK_DEAD = 13, + CPUHP_MM_VMSTAT_DEAD = 14, + CPUHP_SOFTIRQ_DEAD = 15, + CPUHP_NET_MVNETA_DEAD = 16, + CPUHP_CPUIDLE_DEAD = 17, + CPUHP_ARM64_FPSIMD_DEAD = 18, + CPUHP_ARM_OMAP_WAKE_DEAD = 19, + CPUHP_IRQ_POLL_DEAD = 20, + CPUHP_BLOCK_SOFTIRQ_DEAD = 21, + CPUHP_BIO_DEAD = 22, + CPUHP_ACPI_CPUDRV_DEAD = 23, + CPUHP_S390_PFAULT_DEAD = 24, + CPUHP_BLK_MQ_DEAD = 25, + CPUHP_FS_BUFF_DEAD = 26, + CPUHP_PRINTK_DEAD = 27, + CPUHP_MM_MEMCQ_DEAD = 28, + CPUHP_PERCPU_CNT_DEAD = 29, + CPUHP_RADIX_DEAD = 30, + CPUHP_PAGE_ALLOC = 31, + CPUHP_NET_DEV_DEAD = 32, + CPUHP_PCI_XGENE_DEAD = 33, + CPUHP_IOMMU_IOVA_DEAD = 34, + CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 35, + CPUHP_PADATA_DEAD = 36, + CPUHP_AP_DTPM_CPU_DEAD = 37, + CPUHP_RANDOM_PREPARE = 38, + CPUHP_WORKQUEUE_PREP = 39, + CPUHP_POWER_NUMA_PREPARE = 40, + CPUHP_HRTIMERS_PREPARE = 41, + CPUHP_X2APIC_PREPARE = 42, + CPUHP_SMPCFD_PREPARE = 43, + CPUHP_RELAY_PREPARE = 44, + CPUHP_MD_RAID5_PREPARE = 45, + CPUHP_RCUTREE_PREP = 46, + CPUHP_CPUIDLE_COUPLED_PREPARE = 47, + CPUHP_POWERPC_PMAC_PREPARE = 48, + CPUHP_POWERPC_MMU_CTX_PREPARE = 49, + CPUHP_XEN_PREPARE = 50, + CPUHP_XEN_EVTCHN_PREPARE = 51, + CPUHP_ARM_SHMOBILE_SCU_PREPARE = 52, + CPUHP_SH_SH3X_PREPARE = 53, + CPUHP_TOPOLOGY_PREPARE = 54, + CPUHP_NET_IUCV_PREPARE = 55, + CPUHP_ARM_BL_PREPARE = 56, + CPUHP_TRACE_RB_PREPARE = 57, + CPUHP_MM_ZS_PREPARE = 58, + CPUHP_MM_ZSWP_POOL_PREPARE = 59, + CPUHP_KVM_PPC_BOOK3S_PREPARE = 60, + CPUHP_ZCOMP_PREPARE = 61, + CPUHP_TIMERS_PREPARE = 62, + CPUHP_TMIGR_PREPARE = 63, + CPUHP_MIPS_SOC_PREPARE = 64, + CPUHP_BP_PREPARE_DYN = 65, + CPUHP_BP_PREPARE_DYN_END = 85, + CPUHP_BP_KICK_AP = 86, + CPUHP_BRINGUP_CPU = 87, + CPUHP_AP_IDLE_DEAD = 88, + CPUHP_AP_OFFLINE = 89, + CPUHP_AP_CACHECTRL_STARTING = 90, + CPUHP_AP_SCHED_STARTING = 91, + CPUHP_AP_RCUTREE_DYING = 92, + CPUHP_AP_CPU_PM_STARTING = 93, + CPUHP_AP_IRQ_GIC_STARTING = 94, + CPUHP_AP_IRQ_HIP04_STARTING = 95, + CPUHP_AP_IRQ_APPLE_AIC_STARTING = 96, + CPUHP_AP_IRQ_ARMADA_XP_STARTING = 97, + CPUHP_AP_IRQ_BCM2836_STARTING = 98, + CPUHP_AP_IRQ_MIPS_GIC_STARTING = 99, + CPUHP_AP_IRQ_EIOINTC_STARTING = 100, + CPUHP_AP_IRQ_AVECINTC_STARTING = 101, + CPUHP_AP_IRQ_SIFIVE_PLIC_STARTING = 102, + CPUHP_AP_IRQ_THEAD_ACLINT_SSWI_STARTING = 103, + CPUHP_AP_IRQ_RISCV_IMSIC_STARTING = 104, + CPUHP_AP_IRQ_RISCV_SBI_IPI_STARTING = 105, + CPUHP_AP_ARM_MVEBU_COHERENCY = 106, + CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 107, + CPUHP_AP_PERF_X86_STARTING = 108, + CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 109, + CPUHP_AP_PERF_XTENSA_STARTING = 110, + CPUHP_AP_ARM_VFP_STARTING = 111, + CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 112, + CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 113, + CPUHP_AP_PERF_ARM_ACPI_STARTING = 114, + CPUHP_AP_PERF_ARM_STARTING = 115, + CPUHP_AP_PERF_RISCV_STARTING = 116, + CPUHP_AP_ARM_L2X0_STARTING = 117, + CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 118, + CPUHP_AP_ARM_ARCH_TIMER_STARTING = 119, + CPUHP_AP_ARM_ARCH_TIMER_EVTSTRM_STARTING = 120, + CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 121, + CPUHP_AP_JCORE_TIMER_STARTING = 122, + CPUHP_AP_ARM_TWD_STARTING = 123, + CPUHP_AP_QCOM_TIMER_STARTING = 124, + CPUHP_AP_TEGRA_TIMER_STARTING = 125, + CPUHP_AP_ARMADA_TIMER_STARTING = 126, + CPUHP_AP_MIPS_GIC_TIMER_STARTING = 127, + CPUHP_AP_ARC_TIMER_STARTING = 128, + CPUHP_AP_REALTEK_TIMER_STARTING = 129, + CPUHP_AP_RISCV_TIMER_STARTING = 130, + CPUHP_AP_CLINT_TIMER_STARTING = 131, + CPUHP_AP_CSKY_TIMER_STARTING = 132, + CPUHP_AP_TI_GP_TIMER_STARTING = 133, + CPUHP_AP_HYPERV_TIMER_STARTING = 134, + CPUHP_AP_DUMMY_TIMER_STARTING = 135, + CPUHP_AP_ARM_XEN_STARTING = 136, + CPUHP_AP_ARM_XEN_RUNSTATE_STARTING = 137, + CPUHP_AP_ARM_CORESIGHT_STARTING = 138, + CPUHP_AP_ARM_CORESIGHT_CTI_STARTING = 139, + CPUHP_AP_ARM64_ISNDEP_STARTING = 140, + CPUHP_AP_SMPCFD_DYING = 141, + CPUHP_AP_HRTIMERS_DYING = 142, + CPUHP_AP_TICK_DYING = 143, + CPUHP_AP_X86_TBOOT_DYING = 144, + CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 145, + CPUHP_AP_ONLINE = 146, + CPUHP_TEARDOWN_CPU = 147, + CPUHP_AP_ONLINE_IDLE = 148, + CPUHP_AP_HYPERV_ONLINE = 149, + CPUHP_AP_KVM_ONLINE = 150, + CPUHP_AP_SCHED_WAIT_EMPTY = 151, + CPUHP_AP_SMPBOOT_THREADS = 152, + CPUHP_AP_IRQ_AFFINITY_ONLINE = 153, + CPUHP_AP_BLK_MQ_ONLINE = 154, + CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 155, + CPUHP_AP_X86_INTEL_EPB_ONLINE = 156, + CPUHP_AP_PERF_ONLINE = 157, + CPUHP_AP_PERF_X86_ONLINE = 158, + CPUHP_AP_PERF_X86_UNCORE_ONLINE = 159, + CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 160, + CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 161, + CPUHP_AP_PERF_S390_CF_ONLINE = 162, + CPUHP_AP_PERF_S390_SF_ONLINE = 163, + CPUHP_AP_PERF_ARM_CCI_ONLINE = 164, + CPUHP_AP_PERF_ARM_CCN_ONLINE = 165, + CPUHP_AP_PERF_ARM_HISI_CPA_ONLINE = 166, + CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 167, + CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 168, + CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 169, + CPUHP_AP_PERF_ARM_HISI_PA_ONLINE = 170, + CPUHP_AP_PERF_ARM_HISI_SLLC_ONLINE = 171, + CPUHP_AP_PERF_ARM_HISI_PCIE_PMU_ONLINE = 172, + CPUHP_AP_PERF_ARM_HNS3_PMU_ONLINE = 173, + CPUHP_AP_PERF_ARM_L2X0_ONLINE = 174, + CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 175, + CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 176, + CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 177, + CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 178, + CPUHP_AP_PERF_ARM_MARVELL_CN10K_DDR_ONLINE = 179, + CPUHP_AP_PERF_ARM_MRVL_PEM_ONLINE = 180, + CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 181, + CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 182, + CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 183, + CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 184, + CPUHP_AP_PERF_POWERPC_HV_24x7_ONLINE = 185, + CPUHP_AP_PERF_POWERPC_HV_GPCI_ONLINE = 186, + CPUHP_AP_PERF_CSKY_ONLINE = 187, + CPUHP_AP_TMIGR_ONLINE = 188, + CPUHP_AP_WATCHDOG_ONLINE = 189, + CPUHP_AP_WORKQUEUE_ONLINE = 190, + CPUHP_AP_RANDOM_ONLINE = 191, + CPUHP_AP_RCUTREE_ONLINE = 192, + CPUHP_AP_KTHREADS_ONLINE = 193, + CPUHP_AP_BASE_CACHEINFO_ONLINE = 194, + CPUHP_AP_ONLINE_DYN = 195, + CPUHP_AP_ONLINE_DYN_END = 235, + CPUHP_AP_X86_HPET_ONLINE = 236, + CPUHP_AP_X86_KVM_CLK_ONLINE = 237, + CPUHP_AP_ACTIVE = 238, + CPUHP_ONLINE = 239, }; enum ctx_state { - CONTEXT_DISABLED = -1, - CONTEXT_KERNEL = 0, - CONTEXT_IDLE = 1, - CONTEXT_USER = 2, - CONTEXT_GUEST = 3, - CONTEXT_MAX = 4, + CT_STATE_DISABLED = -1, + CT_STATE_KERNEL = 0, + CT_STATE_IDLE = 1, + CT_STATE_USER = 2, + CT_STATE_GUEST = 3, + CT_STATE_MAX = 4, +}; + +enum d_real_type { + D_REAL_DATA = 0, + D_REAL_METADATA = 1, }; enum d_walk_ret { @@ -5476,9 +6017,9 @@ enum dccp_state { DCCP_TIME_WAIT = 6, DCCP_CLOSED = 7, DCCP_NEW_SYN_RECV = 12, - DCCP_PARTOPEN = 13, - DCCP_PASSIVE_CLOSEREQ = 14, - DCCP_MAX_STATES = 15, + DCCP_PARTOPEN = 14, + DCCP_PASSIVE_CLOSEREQ = 15, + DCCP_MAX_STATES = 16, }; enum dentry_d_lock_class { @@ -5607,6 +6148,37 @@ enum die_val { DIE_SSTEP = 5, }; +enum dim_cq_period_mode { + DIM_CQ_PERIOD_MODE_START_FROM_EQE = 0, + DIM_CQ_PERIOD_MODE_START_FROM_CQE = 1, + DIM_CQ_PERIOD_NUM_MODES = 2, +}; + +enum dim_state { + DIM_START_MEASURE = 0, + DIM_MEASURE_IN_PROGRESS = 1, + DIM_APPLY_NEW_PROFILE = 2, +}; + +enum dim_stats_state { + DIM_STATS_WORSE = 0, + DIM_STATS_SAME = 1, + DIM_STATS_BETTER = 2, +}; + +enum dim_step_result { + DIM_STEPPED = 0, + DIM_TOO_TIRED = 1, + DIM_ON_EDGE = 2, +}; + +enum dim_tune_state { + DIM_PARKING_ON_TOP = 0, + DIM_PARKING_TIRED = 1, + DIM_GOING_RIGHT = 2, + DIM_GOING_LEFT = 3, +}; + enum dl_dev_state { DL_DEV_NO_DRIVER = 0, DL_DEV_PROBING = 1, @@ -5660,6 +6232,92 @@ enum error_detector { ERROR_DETECTOR_WARN = 2, }; +enum ethnl_sock_type { + ETHTOOL_SOCK_TYPE_MODULE_FW_FLASH = 0, +}; + +enum ethtool_c33_pse_admin_state { + ETHTOOL_C33_PSE_ADMIN_STATE_UNKNOWN = 1, + ETHTOOL_C33_PSE_ADMIN_STATE_DISABLED = 2, + ETHTOOL_C33_PSE_ADMIN_STATE_ENABLED = 3, +}; + +enum ethtool_c33_pse_ext_state { + ETHTOOL_C33_PSE_EXT_STATE_ERROR_CONDITION = 1, + ETHTOOL_C33_PSE_EXT_STATE_MR_MPS_VALID = 2, + ETHTOOL_C33_PSE_EXT_STATE_MR_PSE_ENABLE = 3, + ETHTOOL_C33_PSE_EXT_STATE_OPTION_DETECT_TED = 4, + ETHTOOL_C33_PSE_EXT_STATE_OPTION_VPORT_LIM = 5, + ETHTOOL_C33_PSE_EXT_STATE_OVLD_DETECTED = 6, + ETHTOOL_C33_PSE_EXT_STATE_PD_DLL_POWER_TYPE = 7, + ETHTOOL_C33_PSE_EXT_STATE_POWER_NOT_AVAILABLE = 8, + ETHTOOL_C33_PSE_EXT_STATE_SHORT_DETECTED = 9, +}; + +enum ethtool_c33_pse_ext_substate_error_condition { + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_NON_EXISTING_PORT = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_UNDEFINED_PORT = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_INTERNAL_HW_FAULT = 3, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_COMM_ERROR_AFTER_FORCE_ON = 4, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_UNKNOWN_PORT_STATUS = 5, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_HOST_CRASH_TURN_OFF = 6, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_HOST_CRASH_FORCE_SHUTDOWN = 7, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_CONFIG_CHANGE = 8, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_DETECTED_OVER_TEMP = 9, +}; + +enum ethtool_c33_pse_ext_substate_mr_pse_enable { + ETHTOOL_C33_PSE_EXT_SUBSTATE_MR_PSE_ENABLE_DISABLE_PIN_ACTIVE = 1, +}; + +enum ethtool_c33_pse_ext_substate_option_detect_ted { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_DETECT_TED_DET_IN_PROCESS = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_DETECT_TED_CONNECTION_CHECK_ERROR = 2, +}; + +enum ethtool_c33_pse_ext_substate_option_vport_lim { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_HIGH_VOLTAGE = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_LOW_VOLTAGE = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_VOLTAGE_INJECTION = 3, +}; + +enum ethtool_c33_pse_ext_substate_ovld_detected { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OVLD_DETECTED_OVERLOAD = 1, +}; + +enum ethtool_c33_pse_ext_substate_power_not_available { + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_BUDGET_EXCEEDED = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_PORT_PW_LIMIT_EXCEEDS_CONTROLLER_BUDGET = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_PD_REQUEST_EXCEEDS_PORT_LIMIT = 3, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_HW_PW_LIMIT = 4, +}; + +enum ethtool_c33_pse_ext_substate_short_detected { + ETHTOOL_C33_PSE_EXT_SUBSTATE_SHORT_DETECTED_SHORT_CONDITION = 1, +}; + +enum ethtool_c33_pse_pw_d_status { + ETHTOOL_C33_PSE_PW_D_STATUS_UNKNOWN = 1, + ETHTOOL_C33_PSE_PW_D_STATUS_DISABLED = 2, + ETHTOOL_C33_PSE_PW_D_STATUS_SEARCHING = 3, + ETHTOOL_C33_PSE_PW_D_STATUS_DELIVERING = 4, + ETHTOOL_C33_PSE_PW_D_STATUS_TEST = 5, + ETHTOOL_C33_PSE_PW_D_STATUS_FAULT = 6, + ETHTOOL_C33_PSE_PW_D_STATUS_OTHERFAULT = 7, +}; + +enum ethtool_cmis_cdb_cmd_id { + ETHTOOL_CMIS_CDB_CMD_QUERY_STATUS = 0, + ETHTOOL_CMIS_CDB_CMD_MODULE_FEATURES = 64, + ETHTOOL_CMIS_CDB_CMD_FW_MANAGMENT_FEATURES = 65, + ETHTOOL_CMIS_CDB_CMD_START_FW_DOWNLOAD = 257, + ETHTOOL_CMIS_CDB_CMD_WRITE_FW_BLOCK_LPL = 259, + ETHTOOL_CMIS_CDB_CMD_WRITE_FW_BLOCK_EPL = 260, + ETHTOOL_CMIS_CDB_CMD_COMPLETE_FW_DOWNLOAD = 263, + ETHTOOL_CMIS_CDB_CMD_RUN_FW_IMAGE = 265, + ETHTOOL_CMIS_CDB_CMD_COMMIT_FW_IMAGE = 266, +}; + enum ethtool_fec_config_bits { ETHTOOL_FEC_NONE_BIT = 0, ETHTOOL_FEC_AUTO_BIT = 1, @@ -5677,6 +6335,12 @@ enum ethtool_flags { ETH_FLAG_RXHASH = 268435456, }; +enum ethtool_header_flags { + ETHTOOL_FLAG_COMPACT_BITSETS = 1, + ETHTOOL_FLAG_OMIT_REPLY = 2, + ETHTOOL_FLAG_STATS = 4, +}; + enum ethtool_link_ext_state { ETHTOOL_LINK_EXT_STATE_AUTONEG = 0, ETHTOOL_LINK_EXT_STATE_LINK_TRAINING_FAILURE = 1, @@ -5834,7 +6498,8 @@ enum ethtool_link_mode_bit_indices { ETHTOOL_LINK_MODE_10baseT1S_Full_BIT = 99, ETHTOOL_LINK_MODE_10baseT1S_Half_BIT = 100, ETHTOOL_LINK_MODE_10baseT1S_P2MP_Half_BIT = 101, - __ETHTOOL_LINK_MODE_MASK_NBITS = 102, + ETHTOOL_LINK_MODE_10baseT1BRR_Full_BIT = 102, + __ETHTOOL_LINK_MODE_MASK_NBITS = 103, }; enum ethtool_mac_stats_src { @@ -5852,6 +6517,13 @@ enum ethtool_mm_verify_status { ETHTOOL_MM_VERIFY_STATUS_DISABLED = 5, }; +enum ethtool_module_fw_flash_status { + ETHTOOL_MODULE_FW_FLASH_STATUS_STARTED = 1, + ETHTOOL_MODULE_FW_FLASH_STATUS_IN_PROGRESS = 2, + ETHTOOL_MODULE_FW_FLASH_STATUS_COMPLETED = 3, + ETHTOOL_MODULE_FW_FLASH_STATUS_ERROR = 4, +}; + enum ethtool_module_power_mode { ETHTOOL_MODULE_POWER_MODE_LOW = 1, ETHTOOL_MODULE_POWER_MODE_HIGH = 2, @@ -5889,6 +6561,20 @@ enum ethtool_podl_pse_pw_d_status { ETHTOOL_PODL_PSE_PW_D_STATUS_ERROR = 7, }; +enum ethtool_reset_flags { + ETH_RESET_MGMT = 1, + ETH_RESET_IRQ = 2, + ETH_RESET_DMA = 4, + ETH_RESET_FILTER = 8, + ETH_RESET_OFFLOAD = 16, + ETH_RESET_MAC = 32, + ETH_RESET_PHY = 64, + ETH_RESET_RAM = 128, + ETH_RESET_AP = 256, + ETH_RESET_DEDICATED = 65535, + ETH_RESET_ALL = 4294967295, +}; + enum ethtool_sfeatures_retval_bits { ETHTOOL_F_UNSUPPORTED__BIT = 0, ETHTOOL_F_WISH__BIT = 1, @@ -5917,7 +6603,9 @@ enum ethtool_stringset { ETH_SS_STATS_ETH_MAC = 18, ETH_SS_STATS_ETH_CTRL = 19, ETH_SS_STATS_RMON = 20, - ETH_SS_COUNT = 21, + ETH_SS_STATS_PHY = 21, + ETH_SS_TS_FLAGS = 22, + ETH_SS_COUNT = 23, }; enum ethtool_supported_ring_param { @@ -5926,6 +6614,14 @@ enum ethtool_supported_ring_param { ETHTOOL_RING_USE_TX_PUSH = 4, ETHTOOL_RING_USE_RX_PUSH = 8, ETHTOOL_RING_USE_TX_PUSH_BUF_LEN = 16, + ETHTOOL_RING_USE_TCP_DATA_SPLIT = 32, + ETHTOOL_RING_USE_HDS_THRS = 64, +}; + +enum ethtool_tcp_data_split { + ETHTOOL_TCP_DATA_SPLIT_UNKNOWN = 0, + ETHTOOL_TCP_DATA_SPLIT_DISABLED = 1, + ETHTOOL_TCP_DATA_SPLIT_ENABLED = 2, }; enum event_command_flags { @@ -5948,8 +6644,32 @@ enum event_type_t { EVENT_FLEXIBLE = 1, EVENT_PINNED = 2, EVENT_TIME = 4, - EVENT_CPU = 8, + EVENT_FROZEN = 8, + EVENT_CPU = 16, + EVENT_CGROUP = 32, EVENT_ALL = 3, + EVENT_TIME_FROZEN = 12, +}; + +enum exact_level { + NOT_EXACT = 0, + EXACT = 1, + RANGE_WITHIN = 2, +}; + +enum execmem_range_flags { + EXECMEM_KASAN_SHADOW = 1, + EXECMEM_ROX_CACHE = 2, +}; + +enum execmem_type { + EXECMEM_DEFAULT = 0, + EXECMEM_MODULE_TEXT = 0, + EXECMEM_KPROBES = 1, + EXECMEM_FTRACE = 2, + EXECMEM_BPF = 3, + EXECMEM_MODULE_DATA = 4, + EXECMEM_TYPE_MAX = 5, }; enum fail_dup_mod_reason { @@ -5984,19 +6704,21 @@ enum fetch_op { FETCH_OP_ARG = 7, FETCH_OP_FOFFS = 8, FETCH_OP_DATA = 9, - FETCH_OP_DEREF = 10, - FETCH_OP_UDEREF = 11, - FETCH_OP_ST_RAW = 12, - FETCH_OP_ST_MEM = 13, - FETCH_OP_ST_UMEM = 14, - FETCH_OP_ST_STRING = 15, - FETCH_OP_ST_USTRING = 16, - FETCH_OP_ST_SYMSTR = 17, - FETCH_OP_MOD_BF = 18, - FETCH_OP_LP_ARRAY = 19, - FETCH_OP_TP_ARG = 20, - FETCH_OP_END = 21, - FETCH_NOP_SYMBOL = 22, + FETCH_OP_EDATA = 10, + FETCH_OP_DEREF = 11, + FETCH_OP_UDEREF = 12, + FETCH_OP_ST_RAW = 13, + FETCH_OP_ST_MEM = 14, + FETCH_OP_ST_UMEM = 15, + FETCH_OP_ST_STRING = 16, + FETCH_OP_ST_USTRING = 17, + FETCH_OP_ST_SYMSTR = 18, + FETCH_OP_ST_EDATA = 19, + FETCH_OP_MOD_BF = 20, + FETCH_OP_LP_ARRAY = 21, + FETCH_OP_TP_ARG = 22, + FETCH_OP_END = 23, + FETCH_NOP_SYMBOL = 24, }; enum fib6_walk_state { @@ -6032,7 +6754,11 @@ enum fid_type { FILEID_NILFS_WITH_PARENT = 98, FILEID_FAT_WITHOUT_PARENT = 113, FILEID_FAT_WITH_PARENT = 114, + FILEID_INO64_GEN = 129, + FILEID_INO64_GEN_PARENT = 130, FILEID_LUSTRE = 151, + FILEID_BCACHEFS_WITHOUT_PARENT = 177, + FILEID_BCACHEFS_WITH_PARENT = 178, FILEID_KERNFS = 254, FILEID_INVALID = 255, }; @@ -6192,6 +6918,16 @@ enum flow_dissect_ret { FLOW_DISSECT_RET_CONTINUE = 4, }; +enum flow_dissector_ctrl_flags { + FLOW_DIS_IS_FRAGMENT = 1, + FLOW_DIS_FIRST_FRAG = 2, + FLOW_DIS_F_TUNNEL_CSUM = 4, + FLOW_DIS_F_TUNNEL_DONT_FRAGMENT = 8, + FLOW_DIS_F_TUNNEL_OAM = 16, + FLOW_DIS_F_TUNNEL_CRIT_OPT = 32, + FLOW_DIS_ENCAPSULATION = 64, +}; + enum flow_dissector_key_id { FLOW_DISSECTOR_KEY_CONTROL = 0, FLOW_DISSECTOR_KEY_BASIC = 1, @@ -6242,31 +6978,28 @@ enum folio_references { FOLIOREF_ACTIVATE = 3, }; -enum format_type { - FORMAT_TYPE_NONE = 0, - FORMAT_TYPE_WIDTH = 1, - FORMAT_TYPE_PRECISION = 2, - FORMAT_TYPE_CHAR = 3, - FORMAT_TYPE_STR = 4, - FORMAT_TYPE_PTR = 5, - FORMAT_TYPE_PERCENT_CHAR = 6, - FORMAT_TYPE_INVALID = 7, - FORMAT_TYPE_LONG_LONG = 8, - FORMAT_TYPE_ULONG = 9, - FORMAT_TYPE_LONG = 10, - FORMAT_TYPE_UBYTE = 11, - FORMAT_TYPE_BYTE = 12, - FORMAT_TYPE_USHORT = 13, - FORMAT_TYPE_SHORT = 14, - FORMAT_TYPE_UINT = 15, - FORMAT_TYPE_INT = 16, - FORMAT_TYPE_SIZE_T = 17, - FORMAT_TYPE_PTRDIFF = 18, +enum folio_walk_level { + FW_LEVEL_PTE = 0, + FW_LEVEL_PMD = 1, + FW_LEVEL_PUD = 2, +}; + +enum format_state { + FORMAT_STATE_NONE = 0, + FORMAT_STATE_NUM = 1, + FORMAT_STATE_WIDTH = 2, + FORMAT_STATE_PRECISION = 3, + FORMAT_STATE_CHAR = 4, + FORMAT_STATE_STR = 5, + FORMAT_STATE_PTR = 6, + FORMAT_STATE_PERCENT_CHAR = 7, + FORMAT_STATE_INVALID = 8, }; enum freeze_holder { FREEZE_HOLDER_KERNEL = 1, FREEZE_HOLDER_USERSPACE = 2, + FREEZE_MAY_NEST = 4, }; enum freq_qos_req_type { @@ -6313,10 +7046,18 @@ enum fsconfig_command { enum fsnotify_data_type { FSNOTIFY_EVENT_NONE = 0, - FSNOTIFY_EVENT_PATH = 1, - FSNOTIFY_EVENT_INODE = 2, - FSNOTIFY_EVENT_DENTRY = 3, - FSNOTIFY_EVENT_ERROR = 4, + FSNOTIFY_EVENT_FILE_RANGE = 1, + FSNOTIFY_EVENT_PATH = 2, + FSNOTIFY_EVENT_INODE = 3, + FSNOTIFY_EVENT_DENTRY = 4, + FSNOTIFY_EVENT_ERROR = 5, +}; + +enum fsnotify_group_prio { + FSNOTIFY_PRIO_NORMAL = 0, + FSNOTIFY_PRIO_CONTENT = 1, + FSNOTIFY_PRIO_PRE_CONTENT = 2, + __FSNOTIFY_PRIO_NUM = 3, }; enum fsnotify_iter_type { @@ -6340,6 +7081,7 @@ enum ftrace_dump_mode { DUMP_NONE = 0, DUMP_ALL = 1, DUMP_ORIG = 2, + DUMP_PARAM = 3, }; enum ftrace_ops_cmd { @@ -6369,41 +7111,29 @@ enum gro_result { typedef enum gro_result gro_result_t; -enum hash_algo { - HASH_ALGO_MD4 = 0, - HASH_ALGO_MD5 = 1, - HASH_ALGO_SHA1 = 2, - HASH_ALGO_RIPE_MD_160 = 3, - HASH_ALGO_SHA256 = 4, - HASH_ALGO_SHA384 = 5, - HASH_ALGO_SHA512 = 6, - HASH_ALGO_SHA224 = 7, - HASH_ALGO_RIPE_MD_128 = 8, - HASH_ALGO_RIPE_MD_256 = 9, - HASH_ALGO_RIPE_MD_320 = 10, - HASH_ALGO_WP_256 = 11, - HASH_ALGO_WP_384 = 12, - HASH_ALGO_WP_512 = 13, - HASH_ALGO_TGR_128 = 14, - HASH_ALGO_TGR_160 = 15, - HASH_ALGO_TGR_192 = 16, - HASH_ALGO_SM3_256 = 17, - HASH_ALGO_STREEBOG_256 = 18, - HASH_ALGO_STREEBOG_512 = 19, - HASH_ALGO__LAST = 20, +enum handle_to_path_flags { + HANDLE_CHECK_PERMS = 1, + HANDLE_CHECK_SUBTREE = 2, }; enum hk_type { - HK_TYPE_TIMER = 0, - HK_TYPE_RCU = 1, + HK_TYPE_DOMAIN = 0, + HK_TYPE_MANAGED_IRQ = 1, + HK_TYPE_KERNEL_NOISE = 2, + HK_TYPE_MAX = 3, + HK_TYPE_TICK = 2, + HK_TYPE_TIMER = 2, + HK_TYPE_RCU = 2, HK_TYPE_MISC = 2, - HK_TYPE_SCHED = 3, - HK_TYPE_TICK = 4, - HK_TYPE_DOMAIN = 5, - HK_TYPE_WQ = 6, - HK_TYPE_MANAGED_IRQ = 7, - HK_TYPE_KTHREAD = 8, - HK_TYPE_MAX = 9, + HK_TYPE_WQ = 2, + HK_TYPE_KTHREAD = 2, +}; + +enum hprobe_state { + HPROBE_LEASED = 0, + HPROBE_STABLE = 1, + HPROBE_GONE = 2, + HPROBE_CONSUMED = 3, }; enum hrtimer_base_type { @@ -6447,6 +7177,12 @@ enum hwtstamp_flags { HWTSTAMP_FLAG_MASK = 1, }; +enum hwtstamp_provider_qualifier { + HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, + HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, + HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +}; + enum hwtstamp_rx_filters { HWTSTAMP_FILTER_NONE = 0, HWTSTAMP_FILTER_ALL = 1, @@ -6468,8 +7204,9 @@ enum hwtstamp_rx_filters { }; enum hwtstamp_source { - HWTSTAMP_SOURCE_NETDEV = 0, - HWTSTAMP_SOURCE_PHYLIB = 1, + HWTSTAMP_SOURCE_UNSPEC = 0, + HWTSTAMP_SOURCE_NETDEV = 1, + HWTSTAMP_SOURCE_PHYLIB = 2, }; enum hwtstamp_tx_types { @@ -6588,7 +7325,79 @@ enum io_uring_op { IORING_OP_URING_CMD = 46, IORING_OP_SEND_ZC = 47, IORING_OP_SENDMSG_ZC = 48, - IORING_OP_LAST = 49, + IORING_OP_READ_MULTISHOT = 49, + IORING_OP_WAITID = 50, + IORING_OP_FUTEX_WAIT = 51, + IORING_OP_FUTEX_WAKE = 52, + IORING_OP_FUTEX_WAITV = 53, + IORING_OP_FIXED_FD_INSTALL = 54, + IORING_OP_FTRUNCATE = 55, + IORING_OP_BIND = 56, + IORING_OP_LISTEN = 57, + IORING_OP_LAST = 58, +}; + +enum io_uring_register_op { + IORING_REGISTER_BUFFERS = 0, + IORING_UNREGISTER_BUFFERS = 1, + IORING_REGISTER_FILES = 2, + IORING_UNREGISTER_FILES = 3, + IORING_REGISTER_EVENTFD = 4, + IORING_UNREGISTER_EVENTFD = 5, + IORING_REGISTER_FILES_UPDATE = 6, + IORING_REGISTER_EVENTFD_ASYNC = 7, + IORING_REGISTER_PROBE = 8, + IORING_REGISTER_PERSONALITY = 9, + IORING_UNREGISTER_PERSONALITY = 10, + IORING_REGISTER_RESTRICTIONS = 11, + IORING_REGISTER_ENABLE_RINGS = 12, + IORING_REGISTER_FILES2 = 13, + IORING_REGISTER_FILES_UPDATE2 = 14, + IORING_REGISTER_BUFFERS2 = 15, + IORING_REGISTER_BUFFERS_UPDATE = 16, + IORING_REGISTER_IOWQ_AFF = 17, + IORING_UNREGISTER_IOWQ_AFF = 18, + IORING_REGISTER_IOWQ_MAX_WORKERS = 19, + IORING_REGISTER_RING_FDS = 20, + IORING_UNREGISTER_RING_FDS = 21, + IORING_REGISTER_PBUF_RING = 22, + IORING_UNREGISTER_PBUF_RING = 23, + IORING_REGISTER_SYNC_CANCEL = 24, + IORING_REGISTER_FILE_ALLOC_RANGE = 25, + IORING_REGISTER_PBUF_STATUS = 26, + IORING_REGISTER_NAPI = 27, + IORING_UNREGISTER_NAPI = 28, + IORING_REGISTER_CLOCK = 29, + IORING_REGISTER_CLONE_BUFFERS = 30, + IORING_REGISTER_SEND_MSG_RING = 31, + IORING_REGISTER_RESIZE_RINGS = 33, + IORING_REGISTER_MEM_REGION = 34, + IORING_REGISTER_LAST = 35, + IORING_REGISTER_USE_REGISTERED_RING = 2147483648, +}; + +enum io_uring_sqe_flags_bit { + IOSQE_FIXED_FILE_BIT = 0, + IOSQE_IO_DRAIN_BIT = 1, + IOSQE_IO_LINK_BIT = 2, + IOSQE_IO_HARDLINK_BIT = 3, + IOSQE_ASYNC_BIT = 4, + IOSQE_BUFFER_SELECT_BIT = 5, + IOSQE_CQE_SKIP_SUCCESS_BIT = 6, +}; + +enum ioam6_event_attr { + IOAM6_EVENT_ATTR_UNSPEC = 0, + IOAM6_EVENT_ATTR_TRACE_NAMESPACE = 1, + IOAM6_EVENT_ATTR_TRACE_NODELEN = 2, + IOAM6_EVENT_ATTR_TRACE_TYPE = 3, + IOAM6_EVENT_ATTR_TRACE_DATA = 4, + __IOAM6_EVENT_ATTR_MAX = 5, +}; + +enum ioam6_event_type { + IOAM6_EVENT_UNSPEC = 0, + IOAM6_EVENT_TRACE = 1, }; enum ip6_defrag_users { @@ -6607,8 +7416,6 @@ enum ip_conntrack_dir { IP_CT_DIR_MAX = 2, }; -enum ip_conntrack_info; - enum ip_defrag_users { IP_DEFRAG_LOCAL_DELIVER = 0, IP_DEFRAG_CALL_RA_CHAIN = 1, @@ -6641,7 +7448,8 @@ enum irq_domain_bus_token { DOMAIN_BUS_PCI_DEVICE_MSIX = 12, DOMAIN_BUS_DMAR = 13, DOMAIN_BUS_AMDVI = 14, - DOMAIN_BUS_PCI_DEVICE_IMS = 15, + DOMAIN_BUS_DEVICE_MSI = 15, + DOMAIN_BUS_WIRED_TO_MSI = 16, }; enum irq_gc_flags { @@ -6668,12 +7476,13 @@ enum irqreturn { typedef enum irqreturn irqreturn_t; enum iter_type { - ITER_IOVEC = 0, - ITER_KVEC = 1, + ITER_UBUF = 0, + ITER_IOVEC = 1, ITER_BVEC = 2, - ITER_XARRAY = 3, - ITER_DISCARD = 4, - ITER_UBUF = 5, + ITER_KVEC = 3, + ITER_FOLIOQ = 4, + ITER_XARRAY = 5, + ITER_DISCARD = 6, }; enum kernel_load_data_id { @@ -6698,16 +7507,6 @@ enum kernel_read_file_id { READING_MAX_ID = 7, }; -enum key_being_used_for { - VERIFYING_MODULE_SIGNATURE = 0, - VERIFYING_FIRMWARE_SIGNATURE = 1, - VERIFYING_KEXEC_PE_SIGNATURE = 2, - VERIFYING_KEY_SIGNATURE = 3, - VERIFYING_KEY_SELF_SIGNATURE = 4, - VERIFYING_UNSPECIFIED_SIGNATURE = 5, - NR__KEY_BEING_USED_FOR = 6, -}; - enum kfunc_ptr_arg_type { KF_ARG_PTR_TO_CTX = 0, KF_ARG_PTR_TO_ALLOC_BTF_ID = 1, @@ -6722,6 +7521,11 @@ enum kfunc_ptr_arg_type { KF_ARG_PTR_TO_CALLBACK = 10, KF_ARG_PTR_TO_RB_ROOT = 11, KF_ARG_PTR_TO_RB_NODE = 12, + KF_ARG_PTR_TO_NULL = 13, + KF_ARG_PTR_TO_CONST_STR = 14, + KF_ARG_PTR_TO_MAP = 15, + KF_ARG_PTR_TO_WORKQUEUE = 16, + KF_ARG_PTR_TO_IRQ_FLAG = 17, }; enum kmalloc_cache_type { @@ -6839,6 +7643,7 @@ enum lru_status { LRU_ROTATE = 2, LRU_SKIP = 3, LRU_RETRY = 4, + LRU_STOP = 5, }; enum lruvec_flags { @@ -6891,6 +7696,17 @@ enum lwtunnel_ip_t { __LWTUNNEL_IP_MAX = 9, }; +enum maple_status { + ma_active = 0, + ma_start = 1, + ma_root = 2, + ma_none = 3, + ma_pause = 4, + ma_overflow = 5, + ma_underflow = 6, + ma_error = 7, +}; + enum maple_type { maple_dense = 0, maple_leaf_64 = 1, @@ -6905,8 +7721,12 @@ enum mapping_flags { AS_UNEVICTABLE = 3, AS_EXITING = 4, AS_NO_WRITEBACK_TAGS = 5, - AS_LARGE_FOLIO_SUPPORT = 6, - AS_RELEASE_ALWAYS = 7, + AS_RELEASE_ALWAYS = 6, + AS_STABLE_WRITES = 7, + AS_INACCESSIBLE = 8, + AS_FOLIO_ORDER_BITS = 5, + AS_FOLIO_ORDER_MIN = 16, + AS_FOLIO_ORDER_MAX = 21, }; enum memblock_flags { @@ -6915,6 +7735,7 @@ enum memblock_flags { MEMBLOCK_MIRROR = 2, MEMBLOCK_NOMAP = 4, MEMBLOCK_DRIVER_MANAGED = 8, + MEMBLOCK_RSRV_NOINIT = 16, }; enum memcg_memory_event { @@ -6931,14 +7752,14 @@ enum memcg_memory_event { }; enum memcg_stat_item { - MEMCG_SWAP = 40, - MEMCG_SOCK = 41, - MEMCG_PERCPU_B = 42, - MEMCG_VMALLOC = 43, - MEMCG_KMEM = 44, - MEMCG_ZSWAP_B = 45, - MEMCG_ZSWAPPED = 46, - MEMCG_NR_STAT = 47, + MEMCG_SWAP = 43, + MEMCG_SOCK = 44, + MEMCG_PERCPU_B = 45, + MEMCG_VMALLOC = 46, + MEMCG_KMEM = 47, + MEMCG_ZSWAP_B = 48, + MEMCG_ZSWAPPED = 49, + MEMCG_NR_STAT = 50, }; enum meminit_context { @@ -6965,7 +7786,6 @@ enum migrate_mode { MIGRATE_ASYNC = 0, MIGRATE_SYNC_LIGHT = 1, MIGRATE_SYNC = 2, - MIGRATE_SYNC_NO_COPY = 3, }; enum migrate_reason { @@ -6978,7 +7798,8 @@ enum migrate_reason { MR_CONTIG_RANGE = 6, MR_LONGTERM_PIN = 7, MR_DEMOTION = 8, - MR_TYPES = 9, + MR_DAMON = 9, + MR_TYPES = 10, }; enum migratetype { @@ -7025,10 +7846,33 @@ enum module_state { MODULE_STATE_UNFORMED = 3, }; -enum msi_domain_ids { - MSI_DEFAULT_DOMAIN = 0, - MSI_SECONDARY_DOMAIN = 1, - MSI_MAX_DEVICE_IRQDOMAINS = 2, +enum mthp_stat_item { + MTHP_STAT_ANON_FAULT_ALLOC = 0, + MTHP_STAT_ANON_FAULT_FALLBACK = 1, + MTHP_STAT_ANON_FAULT_FALLBACK_CHARGE = 2, + MTHP_STAT_ZSWPOUT = 3, + MTHP_STAT_SWPIN = 4, + MTHP_STAT_SWPIN_FALLBACK = 5, + MTHP_STAT_SWPIN_FALLBACK_CHARGE = 6, + MTHP_STAT_SWPOUT = 7, + MTHP_STAT_SWPOUT_FALLBACK = 8, + MTHP_STAT_SHMEM_ALLOC = 9, + MTHP_STAT_SHMEM_FALLBACK = 10, + MTHP_STAT_SHMEM_FALLBACK_CHARGE = 11, + MTHP_STAT_SPLIT = 12, + MTHP_STAT_SPLIT_FAILED = 13, + MTHP_STAT_SPLIT_DEFERRED = 14, + MTHP_STAT_NR_ANON = 15, + MTHP_STAT_NR_ANON_PARTIALLY_MAPPED = 16, + __MTHP_STAT_COUNT = 17, +}; + +enum nbcon_prio { + NBCON_PRIO_NONE = 0, + NBCON_PRIO_NORMAL = 1, + NBCON_PRIO_EMERGENCY = 2, + NBCON_PRIO_PANIC = 3, + NBCON_PRIO_MAX = 4, }; enum net_device_flags { @@ -7115,40 +7959,42 @@ enum netdev_offload_xstats_type { }; enum netdev_priv_flags { - IFF_802_1Q_VLAN = 1ULL, - IFF_EBRIDGE = 2ULL, - IFF_BONDING = 4ULL, - IFF_ISATAP = 8ULL, - IFF_WAN_HDLC = 16ULL, - IFF_XMIT_DST_RELEASE = 32ULL, - IFF_DONT_BRIDGE = 64ULL, - IFF_DISABLE_NETPOLL = 128ULL, - IFF_MACVLAN_PORT = 256ULL, - IFF_BRIDGE_PORT = 512ULL, - IFF_OVS_DATAPATH = 1024ULL, - IFF_TX_SKB_SHARING = 2048ULL, - IFF_UNICAST_FLT = 4096ULL, - IFF_TEAM_PORT = 8192ULL, - IFF_SUPP_NOFCS = 16384ULL, - IFF_LIVE_ADDR_CHANGE = 32768ULL, - IFF_MACVLAN = 65536ULL, - IFF_XMIT_DST_RELEASE_PERM = 131072ULL, - IFF_L3MDEV_MASTER = 262144ULL, - IFF_NO_QUEUE = 524288ULL, - IFF_OPENVSWITCH = 1048576ULL, - IFF_L3MDEV_SLAVE = 2097152ULL, - IFF_TEAM = 4194304ULL, - IFF_RXFH_CONFIGURED = 8388608ULL, - IFF_PHONY_HEADROOM = 16777216ULL, - IFF_MACSEC = 33554432ULL, - IFF_NO_RX_HANDLER = 67108864ULL, - IFF_FAILOVER = 134217728ULL, - IFF_FAILOVER_SLAVE = 268435456ULL, - IFF_L3MDEV_RX_HANDLER = 536870912ULL, - IFF_NO_ADDRCONF = 1073741824ULL, - IFF_TX_SKB_NO_LINEAR = 2147483648ULL, - IFF_CHANGE_PROTO_DOWN = 4294967296ULL, - IFF_SEE_ALL_HWTSTAMP_REQUESTS = 8589934592ULL, + IFF_802_1Q_VLAN = 1, + IFF_EBRIDGE = 2, + IFF_BONDING = 4, + IFF_ISATAP = 8, + IFF_WAN_HDLC = 16, + IFF_XMIT_DST_RELEASE = 32, + IFF_DONT_BRIDGE = 64, + IFF_DISABLE_NETPOLL = 128, + IFF_MACVLAN_PORT = 256, + IFF_BRIDGE_PORT = 512, + IFF_OVS_DATAPATH = 1024, + IFF_TX_SKB_SHARING = 2048, + IFF_UNICAST_FLT = 4096, + IFF_TEAM_PORT = 8192, + IFF_SUPP_NOFCS = 16384, + IFF_LIVE_ADDR_CHANGE = 32768, + IFF_MACVLAN = 65536, + IFF_XMIT_DST_RELEASE_PERM = 131072, + IFF_L3MDEV_MASTER = 262144, + IFF_NO_QUEUE = 524288, + IFF_OPENVSWITCH = 1048576, + IFF_L3MDEV_SLAVE = 2097152, + IFF_TEAM = 4194304, + IFF_RXFH_CONFIGURED = 8388608, + IFF_PHONY_HEADROOM = 16777216, + IFF_MACSEC = 33554432, + IFF_NO_RX_HANDLER = 67108864, + IFF_FAILOVER = 134217728, + IFF_FAILOVER_SLAVE = 268435456, + IFF_L3MDEV_RX_HANDLER = 536870912, + IFF_NO_ADDRCONF = 1073741824, + IFF_TX_SKB_NO_LINEAR = 2147483648, +}; + +enum netdev_qstats_scope { + NETDEV_QSTATS_SCOPE_QUEUE = 1, }; enum netdev_queue_state_t { @@ -7157,6 +8003,27 @@ enum netdev_queue_state_t { __QUEUE_STATE_FROZEN = 2, }; +enum netdev_queue_type { + NETDEV_QUEUE_TYPE_RX = 0, + NETDEV_QUEUE_TYPE_TX = 1, +}; + +enum netdev_reg_state { + NETREG_UNINITIALIZED = 0, + NETREG_REGISTERED = 1, + NETREG_UNREGISTERING = 2, + NETREG_UNREGISTERED = 3, + NETREG_RELEASED = 4, + NETREG_DUMMY = 5, +}; + +enum netdev_stat_type { + NETDEV_PCPU_STAT_NONE = 0, + NETDEV_PCPU_STAT_LSTATS = 1, + NETDEV_PCPU_STAT_TSTATS = 2, + NETDEV_PCPU_STAT_DSTATS = 3, +}; + enum netdev_state_t { __LINK_STATE_START = 0, __LINK_STATE_PRESENT = 1, @@ -7185,6 +8052,17 @@ enum netdev_xdp_act { NETDEV_XDP_ACT_MASK = 127, }; +enum netdev_xdp_rx_metadata { + NETDEV_XDP_RX_METADATA_TIMESTAMP = 1, + NETDEV_XDP_RX_METADATA_HASH = 2, + NETDEV_XDP_RX_METADATA_VLAN_TAG = 4, +}; + +enum netdev_xsk_flags { + NETDEV_XSK_FLAGS_TX_TIMESTAMP = 1, + NETDEV_XSK_FLAGS_TX_CHECKSUM = 2, +}; + enum netevent_notif_type { NETEVENT_NEIGH_UPDATE = 1, NETEVENT_REDIRECT = 2, @@ -7211,6 +8089,8 @@ enum netlink_attribute_type { NL_ATTR_TYPE_NESTED = 13, NL_ATTR_TYPE_NESTED_ARRAY = 14, NL_ATTR_TYPE_BITFIELD32 = 15, + NL_ATTR_TYPE_SINT = 16, + NL_ATTR_TYPE_UINT = 17, }; enum netlink_policy_type_attr { @@ -7256,18 +8136,7 @@ enum nexthop_event_type { NEXTHOP_EVENT_REPLACE = 1, NEXTHOP_EVENT_RES_TABLE_PRE_REPLACE = 2, NEXTHOP_EVENT_BUCKET_REPLACE = 3, -}; - -enum nf_dev_hooks { - NF_NETDEV_INGRESS = 0, - NF_NETDEV_EGRESS = 1, - NF_NETDEV_NUMHOOKS = 2, -}; - -enum nf_hook_ops_type { - NF_HOOK_OP_UNDEFINED = 0, - NF_HOOK_OP_NF_TABLES = 1, - NF_HOOK_OP_BPF = 2, + NEXTHOP_EVENT_HW_STATS_REPORT_DELTA = 4, }; enum nf_inet_hooks { @@ -7280,30 +8149,6 @@ enum nf_inet_hooks { NF_INET_INGRESS = 5, }; -enum nf_ip_hook_priorities { - NF_IP_PRI_FIRST = -2147483648, - NF_IP_PRI_RAW_BEFORE_DEFRAG = -450, - NF_IP_PRI_CONNTRACK_DEFRAG = -400, - NF_IP_PRI_RAW = -300, - NF_IP_PRI_SELINUX_FIRST = -225, - NF_IP_PRI_CONNTRACK = -200, - NF_IP_PRI_MANGLE = -150, - NF_IP_PRI_NAT_DST = -100, - NF_IP_PRI_FILTER = 0, - NF_IP_PRI_SECURITY = 50, - NF_IP_PRI_NAT_SRC = 100, - NF_IP_PRI_SELINUX_LAST = 225, - NF_IP_PRI_CONNTRACK_HELPER = 300, - NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, - NF_IP_PRI_LAST = 2147483647, -}; - -enum nf_log_type { - NF_LOG_TYPE_LOG = 0, - NF_LOG_TYPE_ULOG = 1, - NF_LOG_TYPE_MAX = 2, -}; - enum nfs_opnum4 { OP_ACCESS = 3, OP_CLOSE = 4, @@ -7386,6 +8231,7 @@ enum nh_notifier_info_type { NH_NOTIFIER_INFO_TYPE_GRP = 1, NH_NOTIFIER_INFO_TYPE_RES_TABLE = 2, NH_NOTIFIER_INFO_TYPE_RES_BUCKET = 3, + NH_NOTIFIER_INFO_TYPE_GRP_HW_STATS = 4, }; enum nla_policy_validation { @@ -7456,7 +8302,10 @@ enum node_stat_item { NR_KERNEL_STACK_KB = 37, NR_PAGETABLE = 38, NR_SECONDARY_PAGETABLE = 39, - NR_VM_NODE_STAT_ITEMS = 40, + PGDEMOTE_KSWAPD = 40, + PGDEMOTE_DIRECT = 41, + PGDEMOTE_KHUGEPAGED = 42, + NR_VM_NODE_STAT_ITEMS = 43, }; enum node_states { @@ -7490,6 +8339,10 @@ enum owner_state { OWNER_NONSPINNABLE = 8, }; +enum page_size_enum { + __PAGE_SIZE = 4096, +}; + enum page_walk_action { ACTION_SUBTREE = 0, ACTION_CONTINUE = 1, @@ -7520,33 +8373,45 @@ enum pageflags { PG_waiters = 7, PG_active = 8, PG_workingset = 9, - PG_error = 10, - PG_slab = 11, - PG_owner_priv_1 = 12, - PG_arch_1 = 13, - PG_reserved = 14, - PG_private = 15, - PG_private_2 = 16, - PG_mappedtodisk = 17, - PG_reclaim = 18, - PG_swapbacked = 19, - PG_unevictable = 20, - PG_mlocked = 21, - __NR_PAGEFLAGS = 22, - PG_readahead = 18, - PG_anon_exclusive = 17, - PG_checked = 12, - PG_swapcache = 12, - PG_fscache = 16, - PG_pinned = 12, + PG_owner_priv_1 = 10, + PG_owner_2 = 11, + PG_arch_1 = 12, + PG_reserved = 13, + PG_private = 14, + PG_private_2 = 15, + PG_reclaim = 16, + PG_swapbacked = 17, + PG_unevictable = 18, + PG_dropbehind = 19, + PG_mlocked = 20, + __NR_PAGEFLAGS = 21, + PG_readahead = 16, + PG_swapcache = 10, + PG_checked = 10, + PG_anon_exclusive = 11, + PG_mappedtodisk = 11, + PG_fscache = 15, + PG_pinned = 10, PG_savepinned = 4, - PG_foreign = 12, - PG_xen_remapped = 12, - PG_isolated = 18, + PG_foreign = 10, + PG_xen_remapped = 10, + PG_isolated = 16, PG_reported = 3, - PG_has_hwpoisoned = 10, - PG_hugetlb = 8, + PG_has_hwpoisoned = 8, PG_large_rmappable = 9, + PG_partially_mapped = 16, +}; + +enum pagetype { + PGTY_buddy = 240, + PGTY_offline = 241, + PGTY_table = 242, + PGTY_guard = 243, + PGTY_hugetlb = 244, + PGTY_slab = 245, + PGTY_zsmalloc = 246, + PGTY_unaccepted = 247, + PGTY_mapcount_underflow = 255, }; enum pci_p2pdma_map_type { @@ -7596,7 +8461,8 @@ enum perf_branch_sample_type { PERF_SAMPLE_BRANCH_TYPE_SAVE = 65536, PERF_SAMPLE_BRANCH_HW_INDEX = 131072, PERF_SAMPLE_BRANCH_PRIV_SAVE = 262144, - PERF_SAMPLE_BRANCH_MAX = 524288, + PERF_SAMPLE_BRANCH_COUNTERS = 524288, + PERF_SAMPLE_BRANCH_MAX = 1048576, }; enum perf_branch_sample_type_shift { @@ -7619,7 +8485,8 @@ enum perf_branch_sample_type_shift { PERF_SAMPLE_BRANCH_TYPE_SAVE_SHIFT = 16, PERF_SAMPLE_BRANCH_HW_INDEX_SHIFT = 17, PERF_SAMPLE_BRANCH_PRIV_SAVE_SHIFT = 18, - PERF_SAMPLE_BRANCH_MAX_SHIFT = 19, + PERF_SAMPLE_BRANCH_COUNTERS_SHIFT = 19, + PERF_SAMPLE_BRANCH_MAX_SHIFT = 20, }; enum perf_callchain_context { @@ -7817,6 +8684,16 @@ enum perf_hw_id { PERF_COUNT_HW_MAX = 10, }; +enum perf_pmu_scope { + PERF_PMU_SCOPE_NONE = 0, + PERF_PMU_SCOPE_CORE = 1, + PERF_PMU_SCOPE_DIE = 2, + PERF_PMU_SCOPE_CLUSTER = 3, + PERF_PMU_SCOPE_PKG = 4, + PERF_PMU_SCOPE_SYS_WIDE = 5, + PERF_PMU_MAX_SCOPE = 6, +}; + enum perf_probe_config { PERF_PROBE_CONFIG_IS_RETPROBE = 1, PERF_UPROBE_REF_CTR_OFFSET_BITS = 32, @@ -7894,6 +8771,11 @@ enum phy_tunable_id { __ETHTOOL_PHY_TUNABLE_COUNT = 4, }; +enum phy_upstream { + PHY_UPSTREAM_MAC = 0, + PHY_UPSTREAM_PHY = 1, +}; + enum pid_type { PIDTYPE_PID = 0, PIDTYPE_TGID = 1, @@ -7964,6 +8846,12 @@ enum print_line_t { TRACE_TYPE_NO_CONSUME = 3, }; +enum priv_stack_mode { + PRIV_STACK_UNKNOWN = 0, + NO_PRIV_STACK = 1, + PRIV_STACK_ADAPTIVE = 2, +}; + enum probe_print_type { PROBE_PRINT_NORMAL = 0, PROBE_PRINT_RETURN = 1, @@ -8030,6 +8918,12 @@ enum reboot_type { BOOT_CF9_SAFE = 113, }; +enum ref_state_type { + REF_TYPE_PTR = 1, + REF_TYPE_IRQ = 2, + REF_TYPE_LOCK = 3, +}; + enum refcount_saturation_type { REFCOUNT_ADD_NOT_ZERO_OVF = 0, REFCOUNT_ADD_OVF = 1, @@ -8078,6 +8972,11 @@ enum rlimit_type { UCOUNT_RLIMIT_COUNTS = 4, }; +enum rmap_level { + RMAP_LEVEL_PTE = 0, + RMAP_LEVEL_PMD = 1, +}; + enum rp_check { RP_CHECK_CALL = 0, RP_CHECK_CHAIN_CALL = 1, @@ -8094,12 +8993,6 @@ enum rpc_display_format_t { RPC_DISPLAY_MAX = 6, }; -enum rseq_cs_flags_bit { - RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT_BIT = 0, - RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL_BIT = 1, - RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE_BIT = 2, -}; - enum rt6_nud_state { RT6_NUD_FAIL_HARD = -3, RT6_NUD_FAIL_PROBE = -2, @@ -8156,7 +9049,8 @@ enum rtattr_type_t { RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, - __RTA_MAX = 31, + RTA_FLOWLABEL = 31, + __RTA_MAX = 32, }; enum rtnetlink_groups { @@ -8197,7 +9091,10 @@ enum rtnetlink_groups { RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, - __RTNLGRP_MAX = 37, + RTNLGRP_IPV4_MCADDR = 37, + RTNLGRP_IPV6_MCADDR = 38, + RTNLGRP_IPV6_ACADDR = 39, + __RTNLGRP_MAX = 40, }; enum rtnl_kinds { @@ -8210,6 +9107,8 @@ enum rtnl_kinds { enum rtnl_link_flags { RTNL_FLAG_DOIT_UNLOCKED = 1, RTNL_FLAG_BULK_DEL_SUPPORTED = 2, + RTNL_FLAG_DUMP_UNLOCKED = 4, + RTNL_FLAG_DUMP_SPLIT_NLM_DONE = 8, }; enum rw_hint { @@ -8219,7 +9118,7 @@ enum rw_hint { WRITE_LIFE_MEDIUM = 3, WRITE_LIFE_LONG = 4, WRITE_LIFE_EXTREME = 5, -}; +} __attribute__((mode(byte))); enum rwsem_waiter_type { RWSEM_WAITING_FOR_WRITE = 0, @@ -8259,6 +9158,11 @@ enum sctp_msg_flags { MSG_NOTIFICATION = 32768, }; +enum set_event_iter_type { + SET_EVENT_FILE = 0, + SET_EVENT_MOD = 1, +}; + enum sig_handler { HANDLER_CURRENT = 0, HANDLER_SIG_DFL = 1, @@ -8296,86 +9200,152 @@ enum sk_psock_state_bits { SK_PSOCK_RX_STRP_ENABLED = 1, }; +enum sk_rst_reason { + SK_RST_REASON_NOT_SPECIFIED = 0, + SK_RST_REASON_NO_SOCKET = 1, + SK_RST_REASON_TCP_INVALID_ACK_SEQUENCE = 2, + SK_RST_REASON_TCP_RFC7323_PAWS = 3, + SK_RST_REASON_TCP_TOO_OLD_ACK = 4, + SK_RST_REASON_TCP_ACK_UNSENT_DATA = 5, + SK_RST_REASON_TCP_FLAGS = 6, + SK_RST_REASON_TCP_OLD_ACK = 7, + SK_RST_REASON_TCP_ABORT_ON_DATA = 8, + SK_RST_REASON_TCP_TIMEWAIT_SOCKET = 9, + SK_RST_REASON_INVALID_SYN = 10, + SK_RST_REASON_TCP_ABORT_ON_CLOSE = 11, + SK_RST_REASON_TCP_ABORT_ON_LINGER = 12, + SK_RST_REASON_TCP_ABORT_ON_MEMORY = 13, + SK_RST_REASON_TCP_STATE = 14, + SK_RST_REASON_TCP_KEEPALIVE_TIMEOUT = 15, + SK_RST_REASON_TCP_DISCONNECT_WITH_DATA = 16, + SK_RST_REASON_MPTCP_RST_EUNSPEC = 17, + SK_RST_REASON_MPTCP_RST_EMPTCP = 18, + SK_RST_REASON_MPTCP_RST_ERESOURCE = 19, + SK_RST_REASON_MPTCP_RST_EPROHIBIT = 20, + SK_RST_REASON_MPTCP_RST_EWQ2BIG = 21, + SK_RST_REASON_MPTCP_RST_EBADPERF = 22, + SK_RST_REASON_MPTCP_RST_EMIDDLEBOX = 23, + SK_RST_REASON_ERROR = 24, + SK_RST_REASON_MAX = 25, +}; + enum skb_drop_reason { SKB_NOT_DROPPED_YET = 0, SKB_CONSUMED = 1, SKB_DROP_REASON_NOT_SPECIFIED = 2, SKB_DROP_REASON_NO_SOCKET = 3, - SKB_DROP_REASON_PKT_TOO_SMALL = 4, - SKB_DROP_REASON_TCP_CSUM = 5, - SKB_DROP_REASON_SOCKET_FILTER = 6, - SKB_DROP_REASON_UDP_CSUM = 7, - SKB_DROP_REASON_NETFILTER_DROP = 8, - SKB_DROP_REASON_OTHERHOST = 9, - SKB_DROP_REASON_IP_CSUM = 10, - SKB_DROP_REASON_IP_INHDR = 11, - SKB_DROP_REASON_IP_RPFILTER = 12, - SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST = 13, - SKB_DROP_REASON_XFRM_POLICY = 14, - SKB_DROP_REASON_IP_NOPROTO = 15, - SKB_DROP_REASON_SOCKET_RCVBUFF = 16, - SKB_DROP_REASON_PROTO_MEM = 17, - SKB_DROP_REASON_TCP_MD5NOTFOUND = 18, - SKB_DROP_REASON_TCP_MD5UNEXPECTED = 19, - SKB_DROP_REASON_TCP_MD5FAILURE = 20, - SKB_DROP_REASON_SOCKET_BACKLOG = 21, - SKB_DROP_REASON_TCP_FLAGS = 22, - SKB_DROP_REASON_TCP_ZEROWINDOW = 23, - SKB_DROP_REASON_TCP_OLD_DATA = 24, - SKB_DROP_REASON_TCP_OVERWINDOW = 25, - SKB_DROP_REASON_TCP_OFOMERGE = 26, - SKB_DROP_REASON_TCP_RFC7323_PAWS = 27, - SKB_DROP_REASON_TCP_OLD_SEQUENCE = 28, - SKB_DROP_REASON_TCP_INVALID_SEQUENCE = 29, - SKB_DROP_REASON_TCP_RESET = 30, - SKB_DROP_REASON_TCP_INVALID_SYN = 31, - SKB_DROP_REASON_TCP_CLOSE = 32, - SKB_DROP_REASON_TCP_FASTOPEN = 33, - SKB_DROP_REASON_TCP_OLD_ACK = 34, - SKB_DROP_REASON_TCP_TOO_OLD_ACK = 35, - SKB_DROP_REASON_TCP_ACK_UNSENT_DATA = 36, - SKB_DROP_REASON_TCP_OFO_QUEUE_PRUNE = 37, - SKB_DROP_REASON_TCP_OFO_DROP = 38, - SKB_DROP_REASON_IP_OUTNOROUTES = 39, - SKB_DROP_REASON_BPF_CGROUP_EGRESS = 40, - SKB_DROP_REASON_IPV6DISABLED = 41, - SKB_DROP_REASON_NEIGH_CREATEFAIL = 42, - SKB_DROP_REASON_NEIGH_FAILED = 43, - SKB_DROP_REASON_NEIGH_QUEUEFULL = 44, - SKB_DROP_REASON_NEIGH_DEAD = 45, - SKB_DROP_REASON_TC_EGRESS = 46, - SKB_DROP_REASON_QDISC_DROP = 47, - SKB_DROP_REASON_CPU_BACKLOG = 48, - SKB_DROP_REASON_XDP = 49, - SKB_DROP_REASON_TC_INGRESS = 50, - SKB_DROP_REASON_UNHANDLED_PROTO = 51, - SKB_DROP_REASON_SKB_CSUM = 52, - SKB_DROP_REASON_SKB_GSO_SEG = 53, - SKB_DROP_REASON_SKB_UCOPY_FAULT = 54, - SKB_DROP_REASON_DEV_HDR = 55, - SKB_DROP_REASON_DEV_READY = 56, - SKB_DROP_REASON_FULL_RING = 57, - SKB_DROP_REASON_NOMEM = 58, - SKB_DROP_REASON_HDR_TRUNC = 59, - SKB_DROP_REASON_TAP_FILTER = 60, - SKB_DROP_REASON_TAP_TXFILTER = 61, - SKB_DROP_REASON_ICMP_CSUM = 62, - SKB_DROP_REASON_INVALID_PROTO = 63, - SKB_DROP_REASON_IP_INADDRERRORS = 64, - SKB_DROP_REASON_IP_INNOROUTES = 65, - SKB_DROP_REASON_PKT_TOO_BIG = 66, - SKB_DROP_REASON_DUP_FRAG = 67, - SKB_DROP_REASON_FRAG_REASM_TIMEOUT = 68, - SKB_DROP_REASON_FRAG_TOO_FAR = 69, - SKB_DROP_REASON_TCP_MINTTL = 70, - SKB_DROP_REASON_IPV6_BAD_EXTHDR = 71, - SKB_DROP_REASON_IPV6_NDISC_FRAG = 72, - SKB_DROP_REASON_IPV6_NDISC_HOP_LIMIT = 73, - SKB_DROP_REASON_IPV6_NDISC_BAD_CODE = 74, - SKB_DROP_REASON_IPV6_NDISC_BAD_OPTIONS = 75, - SKB_DROP_REASON_IPV6_NDISC_NS_OTHERHOST = 76, - SKB_DROP_REASON_QUEUE_PURGE = 77, - SKB_DROP_REASON_MAX = 78, + SKB_DROP_REASON_SOCKET_CLOSE = 4, + SKB_DROP_REASON_SOCKET_FILTER = 5, + SKB_DROP_REASON_SOCKET_RCVBUFF = 6, + SKB_DROP_REASON_UNIX_DISCONNECT = 7, + SKB_DROP_REASON_UNIX_SKIP_OOB = 8, + SKB_DROP_REASON_PKT_TOO_SMALL = 9, + SKB_DROP_REASON_TCP_CSUM = 10, + SKB_DROP_REASON_UDP_CSUM = 11, + SKB_DROP_REASON_NETFILTER_DROP = 12, + SKB_DROP_REASON_OTHERHOST = 13, + SKB_DROP_REASON_IP_CSUM = 14, + SKB_DROP_REASON_IP_INHDR = 15, + SKB_DROP_REASON_IP_RPFILTER = 16, + SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST = 17, + SKB_DROP_REASON_XFRM_POLICY = 18, + SKB_DROP_REASON_IP_NOPROTO = 19, + SKB_DROP_REASON_PROTO_MEM = 20, + SKB_DROP_REASON_TCP_AUTH_HDR = 21, + SKB_DROP_REASON_TCP_MD5NOTFOUND = 22, + SKB_DROP_REASON_TCP_MD5UNEXPECTED = 23, + SKB_DROP_REASON_TCP_MD5FAILURE = 24, + SKB_DROP_REASON_TCP_AONOTFOUND = 25, + SKB_DROP_REASON_TCP_AOUNEXPECTED = 26, + SKB_DROP_REASON_TCP_AOKEYNOTFOUND = 27, + SKB_DROP_REASON_TCP_AOFAILURE = 28, + SKB_DROP_REASON_SOCKET_BACKLOG = 29, + SKB_DROP_REASON_TCP_FLAGS = 30, + SKB_DROP_REASON_TCP_ABORT_ON_DATA = 31, + SKB_DROP_REASON_TCP_ZEROWINDOW = 32, + SKB_DROP_REASON_TCP_OLD_DATA = 33, + SKB_DROP_REASON_TCP_OVERWINDOW = 34, + SKB_DROP_REASON_TCP_OFOMERGE = 35, + SKB_DROP_REASON_TCP_RFC7323_PAWS = 36, + SKB_DROP_REASON_TCP_RFC7323_PAWS_ACK = 37, + SKB_DROP_REASON_TCP_OLD_SEQUENCE = 38, + SKB_DROP_REASON_TCP_INVALID_SEQUENCE = 39, + SKB_DROP_REASON_TCP_INVALID_ACK_SEQUENCE = 40, + SKB_DROP_REASON_TCP_RESET = 41, + SKB_DROP_REASON_TCP_INVALID_SYN = 42, + SKB_DROP_REASON_TCP_CLOSE = 43, + SKB_DROP_REASON_TCP_FASTOPEN = 44, + SKB_DROP_REASON_TCP_OLD_ACK = 45, + SKB_DROP_REASON_TCP_TOO_OLD_ACK = 46, + SKB_DROP_REASON_TCP_ACK_UNSENT_DATA = 47, + SKB_DROP_REASON_TCP_OFO_QUEUE_PRUNE = 48, + SKB_DROP_REASON_TCP_OFO_DROP = 49, + SKB_DROP_REASON_IP_OUTNOROUTES = 50, + SKB_DROP_REASON_BPF_CGROUP_EGRESS = 51, + SKB_DROP_REASON_IPV6DISABLED = 52, + SKB_DROP_REASON_NEIGH_CREATEFAIL = 53, + SKB_DROP_REASON_NEIGH_FAILED = 54, + SKB_DROP_REASON_NEIGH_QUEUEFULL = 55, + SKB_DROP_REASON_NEIGH_DEAD = 56, + SKB_DROP_REASON_TC_EGRESS = 57, + SKB_DROP_REASON_SECURITY_HOOK = 58, + SKB_DROP_REASON_QDISC_DROP = 59, + SKB_DROP_REASON_QDISC_OVERLIMIT = 60, + SKB_DROP_REASON_QDISC_CONGESTED = 61, + SKB_DROP_REASON_CAKE_FLOOD = 62, + SKB_DROP_REASON_FQ_BAND_LIMIT = 63, + SKB_DROP_REASON_FQ_HORIZON_LIMIT = 64, + SKB_DROP_REASON_FQ_FLOW_LIMIT = 65, + SKB_DROP_REASON_CPU_BACKLOG = 66, + SKB_DROP_REASON_XDP = 67, + SKB_DROP_REASON_TC_INGRESS = 68, + SKB_DROP_REASON_UNHANDLED_PROTO = 69, + SKB_DROP_REASON_SKB_CSUM = 70, + SKB_DROP_REASON_SKB_GSO_SEG = 71, + SKB_DROP_REASON_SKB_UCOPY_FAULT = 72, + SKB_DROP_REASON_DEV_HDR = 73, + SKB_DROP_REASON_DEV_READY = 74, + SKB_DROP_REASON_FULL_RING = 75, + SKB_DROP_REASON_NOMEM = 76, + SKB_DROP_REASON_HDR_TRUNC = 77, + SKB_DROP_REASON_TAP_FILTER = 78, + SKB_DROP_REASON_TAP_TXFILTER = 79, + SKB_DROP_REASON_ICMP_CSUM = 80, + SKB_DROP_REASON_INVALID_PROTO = 81, + SKB_DROP_REASON_IP_INADDRERRORS = 82, + SKB_DROP_REASON_IP_INNOROUTES = 83, + SKB_DROP_REASON_IP_LOCAL_SOURCE = 84, + SKB_DROP_REASON_IP_INVALID_SOURCE = 85, + SKB_DROP_REASON_IP_LOCALNET = 86, + SKB_DROP_REASON_IP_INVALID_DEST = 87, + SKB_DROP_REASON_PKT_TOO_BIG = 88, + SKB_DROP_REASON_DUP_FRAG = 89, + SKB_DROP_REASON_FRAG_REASM_TIMEOUT = 90, + SKB_DROP_REASON_FRAG_TOO_FAR = 91, + SKB_DROP_REASON_TCP_MINTTL = 92, + SKB_DROP_REASON_IPV6_BAD_EXTHDR = 93, + SKB_DROP_REASON_IPV6_NDISC_FRAG = 94, + SKB_DROP_REASON_IPV6_NDISC_HOP_LIMIT = 95, + SKB_DROP_REASON_IPV6_NDISC_BAD_CODE = 96, + SKB_DROP_REASON_IPV6_NDISC_BAD_OPTIONS = 97, + SKB_DROP_REASON_IPV6_NDISC_NS_OTHERHOST = 98, + SKB_DROP_REASON_QUEUE_PURGE = 99, + SKB_DROP_REASON_TC_COOKIE_ERROR = 100, + SKB_DROP_REASON_PACKET_SOCK_ERROR = 101, + SKB_DROP_REASON_TC_CHAIN_NOTFOUND = 102, + SKB_DROP_REASON_TC_RECLASSIFY_LOOP = 103, + SKB_DROP_REASON_VXLAN_INVALID_HDR = 104, + SKB_DROP_REASON_VXLAN_VNI_NOT_FOUND = 105, + SKB_DROP_REASON_MAC_INVALID_SOURCE = 106, + SKB_DROP_REASON_VXLAN_ENTRY_EXISTS = 107, + SKB_DROP_REASON_NO_TX_TARGET = 108, + SKB_DROP_REASON_IP_TUNNEL_ECN = 109, + SKB_DROP_REASON_TUNNEL_TXINFO = 110, + SKB_DROP_REASON_LOCAL_MAC = 111, + SKB_DROP_REASON_ARP_PVLAN_DISABLE = 112, + SKB_DROP_REASON_MAC_IEEE_MAC_CONTROL = 113, + SKB_DROP_REASON_BRIDGE_INGRESS_STP_STATE = 114, + SKB_DROP_REASON_MAX = 115, SKB_DROP_REASON_SUBSYS_MASK = 4294901760, }; @@ -8387,6 +9357,13 @@ enum skb_drop_reason_subsys { SKB_DROP_REASON_SUBSYS_NUM = 4, }; +enum skb_tstamp_type { + SKB_CLOCK_REALTIME = 0, + SKB_CLOCK_MONOTONIC = 1, + SKB_CLOCK_TAI = 2, + __SKB_CLOCK_MAX = 2, +}; + enum sknetlink_groups { SKNLGRP_NONE = 0, SKNLGRP_INET_TCP_DESTROY = 1, @@ -8399,9 +9376,8 @@ enum sknetlink_groups { enum slab_state { DOWN = 0, PARTIAL = 1, - PARTIAL_NODE = 2, - UP = 3, - FULL = 4, + UP = 2, + FULL = 3, }; enum sock_flags { @@ -8433,6 +9409,7 @@ enum sock_flags { SOCK_XDP = 25, SOCK_TSTAMP_NEW = 26, SOCK_RCVMARK = 27, + SOCK_RCVPRIORITY = 28, }; enum sock_shutdown_cmd { @@ -8471,6 +9448,20 @@ enum special_kfunc_type { KF_bpf_dynptr_slice = 16, KF_bpf_dynptr_slice_rdwr = 17, KF_bpf_dynptr_clone = 18, + KF_bpf_percpu_obj_new_impl = 19, + KF_bpf_percpu_obj_drop_impl = 20, + KF_bpf_throw = 21, + KF_bpf_wq_set_callback_impl = 22, + KF_bpf_preempt_disable = 23, + KF_bpf_preempt_enable = 24, + KF_bpf_iter_css_task_new = 25, + KF_bpf_session_cookie = 26, + KF_bpf_get_kmem_cache = 27, + KF_bpf_local_irq_save = 28, + KF_bpf_local_irq_restore = 29, + KF_bpf_iter_num_new = 30, + KF_bpf_iter_num_next = 31, + KF_bpf_iter_num_destroy = 32, }; enum stat_item { @@ -8503,9 +9494,25 @@ enum stat_item { NR_SLUB_STAT_ITEMS = 26, }; +enum store_type { + wr_invalid = 0, + wr_new_root = 1, + wr_store_root = 2, + wr_exact_fit = 3, + wr_spanning_store = 4, + wr_split_store = 5, + wr_rebalance = 6, + wr_append = 7, + wr_node_store = 8, + wr_slot_store = 9, +}; + enum string_size_units { STRING_UNITS_10 = 0, STRING_UNITS_2 = 1, + STRING_UNITS_MASK = 1, + STRING_UNITS_NO_SPACE = 1073741824, + STRING_UNITS_NO_BYTES = 2147483648, }; enum sum_check_bits { @@ -8536,6 +9543,7 @@ enum task_work_notify_mode { TWA_RESUME = 1, TWA_SIGNAL = 2, TWA_SIGNAL_NO_IPI = 3, + TWA_NMI_CURRENT = 4, }; enum tc_mq_command { @@ -8623,6 +9631,16 @@ enum tcp_queue { TCP_FRAG_IN_RTX_QUEUE = 1, }; +enum tcp_skb_cb_sacked_flags { + TCPCB_SACKED_ACKED = 1, + TCPCB_SACKED_RETRANS = 2, + TCPCB_LOST = 4, + TCPCB_TAGBITS = 7, + TCPCB_REPAIRED = 16, + TCPCB_EVER_RETRANS = 128, + TCPCB_RETRANS = 146, +}; + enum tcp_synack_type { TCP_SYNACK_NORMAL = 0, TCP_SYNACK_FASTOPEN = 1, @@ -8686,7 +9704,8 @@ enum tlb_flush_reason { TLB_LOCAL_SHOOTDOWN = 2, TLB_LOCAL_MM_SHOOTDOWN = 3, TLB_REMOTE_SEND_IPI = 4, - NR_TLB_FLUSH_REASONS = 5, + TLB_REMOTE_WRONG_CPU = 5, + NR_TLB_FLUSH_REASONS = 6, }; enum tp_func_state { @@ -8704,7 +9723,7 @@ enum tp_transition_sync { enum trace_flag_type { TRACE_FLAG_IRQS_OFF = 1, - TRACE_FLAG_IRQS_NOSUPPORT = 2, + TRACE_FLAG_NEED_RESCHED_LAZY = 2, TRACE_FLAG_NEED_RESCHED = 4, TRACE_FLAG_HARDIRQ = 8, TRACE_FLAG_SOFTIRQ = 16, @@ -8743,13 +9762,14 @@ enum trace_iterator_bits { TRACE_ITER_IRQ_INFO_BIT = 20, TRACE_ITER_MARKERS_BIT = 21, TRACE_ITER_EVENT_FORK_BIT = 22, - TRACE_ITER_PAUSE_ON_TRACE_BIT = 23, - TRACE_ITER_HASH_PTR_BIT = 24, - TRACE_ITER_FUNCTION_BIT = 25, - TRACE_ITER_FUNC_FORK_BIT = 26, - TRACE_ITER_DISPLAY_GRAPH_BIT = 27, - TRACE_ITER_STACKTRACE_BIT = 28, - TRACE_ITER_LAST_BIT = 29, + TRACE_ITER_TRACE_PRINTK_BIT = 23, + TRACE_ITER_PAUSE_ON_TRACE_BIT = 24, + TRACE_ITER_HASH_PTR_BIT = 25, + TRACE_ITER_FUNCTION_BIT = 26, + TRACE_ITER_FUNC_FORK_BIT = 27, + TRACE_ITER_DISPLAY_GRAPH_BIT = 28, + TRACE_ITER_STACKTRACE_BIT = 29, + TRACE_ITER_LAST_BIT = 30, }; enum trace_iterator_flags { @@ -8776,12 +9796,13 @@ enum trace_iterator_flags { TRACE_ITER_IRQ_INFO = 1048576, TRACE_ITER_MARKERS = 2097152, TRACE_ITER_EVENT_FORK = 4194304, - TRACE_ITER_PAUSE_ON_TRACE = 8388608, - TRACE_ITER_HASH_PTR = 16777216, - TRACE_ITER_FUNCTION = 33554432, - TRACE_ITER_FUNC_FORK = 67108864, - TRACE_ITER_DISPLAY_GRAPH = 134217728, - TRACE_ITER_STACKTRACE = 268435456, + TRACE_ITER_TRACE_PRINTK = 8388608, + TRACE_ITER_PAUSE_ON_TRACE = 16777216, + TRACE_ITER_HASH_PTR = 33554432, + TRACE_ITER_FUNCTION = 67108864, + TRACE_ITER_FUNC_FORK = 134217728, + TRACE_ITER_DISPLAY_GRAPH = 268435456, + TRACE_ITER_STACKTRACE = 536870912, }; enum trace_reg { @@ -8808,15 +9829,16 @@ enum trace_type { TRACE_BRANCH = 9, TRACE_GRAPH_RET = 10, TRACE_GRAPH_ENT = 11, - TRACE_USER_STACK = 12, - TRACE_BLK = 13, - TRACE_BPUTS = 14, - TRACE_HWLAT = 15, - TRACE_OSNOISE = 16, - TRACE_TIMERLAT = 17, - TRACE_RAW_DATA = 18, - TRACE_FUNC_REPEATS = 19, - __TRACE_LAST_TYPE = 20, + TRACE_GRAPH_RETADDR_ENT = 12, + TRACE_USER_STACK = 13, + TRACE_BLK = 14, + TRACE_BPUTS = 15, + TRACE_HWLAT = 16, + TRACE_OSNOISE = 17, + TRACE_TIMERLAT = 18, + TRACE_RAW_DATA = 19, + TRACE_FUNC_REPEATS = 20, + __TRACE_LAST_TYPE = 21, }; enum tsq_enum { @@ -8826,6 +9848,7 @@ enum tsq_enum { TCP_WRITE_TIMER_DEFERRED = 3, TCP_DELACK_TIMER_DEFERRED = 4, TCP_MTU_REDUCED_DEFERRED = 5, + TCP_ACK_DEFERRED = 6, }; enum tsq_flags { @@ -8835,6 +9858,7 @@ enum tsq_flags { TCPF_WRITE_TIMER_DEFERRED = 8, TCPF_DELACK_TIMER_DEFERRED = 16, TCPF_MTU_REDUCED_DEFERRED = 32, + TCPF_ACK_DEFERRED = 64, }; enum ttu_flags { @@ -8919,12 +9943,6 @@ enum umount_tree_flags { UMOUNT_CONNECTED = 4, }; -enum uprobe_filter_ctx { - UPROBE_FILTER_REGISTER = 0, - UPROBE_FILTER_UNREGISTER = 1, - UPROBE_FILTER_MMAP = 2, -}; - enum uprobe_task_state { UTASK_RUNNING = 0, UTASK_SSTEP = 1, @@ -8959,6 +9977,14 @@ enum verifier_phase { CHECK_TYPE = 1, }; +enum vesa_blank_mode { + VESA_NO_BLANKING = 0, + VESA_VSYNC_SUSPEND = 1, + VESA_HSYNC_SUSPEND = 2, + VESA_POWERDOWN = 3, + VESA_BLANK_MAX = 3, +}; + enum visit_state { NOT_VISITED = 0, VISITED = 1, @@ -8988,35 +10014,32 @@ enum vm_event_item { PGSTEAL_KSWAPD = 19, PGSTEAL_DIRECT = 20, PGSTEAL_KHUGEPAGED = 21, - PGDEMOTE_KSWAPD = 22, - PGDEMOTE_DIRECT = 23, - PGDEMOTE_KHUGEPAGED = 24, - PGSCAN_KSWAPD = 25, - PGSCAN_DIRECT = 26, - PGSCAN_KHUGEPAGED = 27, - PGSCAN_DIRECT_THROTTLE = 28, - PGSCAN_ANON = 29, - PGSCAN_FILE = 30, - PGSTEAL_ANON = 31, - PGSTEAL_FILE = 32, - PGINODESTEAL = 33, - SLABS_SCANNED = 34, - KSWAPD_INODESTEAL = 35, - KSWAPD_LOW_WMARK_HIT_QUICKLY = 36, - KSWAPD_HIGH_WMARK_HIT_QUICKLY = 37, - PAGEOUTRUN = 38, - PGROTATED = 39, - DROP_PAGECACHE = 40, - DROP_SLAB = 41, - OOM_KILL = 42, - UNEVICTABLE_PGCULLED = 43, - UNEVICTABLE_PGSCANNED = 44, - UNEVICTABLE_PGRESCUED = 45, - UNEVICTABLE_PGMLOCKED = 46, - UNEVICTABLE_PGMUNLOCKED = 47, - UNEVICTABLE_PGCLEARED = 48, - UNEVICTABLE_PGSTRANDED = 49, - NR_VM_EVENT_ITEMS = 50, + PGSCAN_KSWAPD = 22, + PGSCAN_DIRECT = 23, + PGSCAN_KHUGEPAGED = 24, + PGSCAN_DIRECT_THROTTLE = 25, + PGSCAN_ANON = 26, + PGSCAN_FILE = 27, + PGSTEAL_ANON = 28, + PGSTEAL_FILE = 29, + PGINODESTEAL = 30, + SLABS_SCANNED = 31, + KSWAPD_INODESTEAL = 32, + KSWAPD_LOW_WMARK_HIT_QUICKLY = 33, + KSWAPD_HIGH_WMARK_HIT_QUICKLY = 34, + PAGEOUTRUN = 35, + PGROTATED = 36, + DROP_PAGECACHE = 37, + DROP_SLAB = 38, + OOM_KILL = 39, + UNEVICTABLE_PGCULLED = 40, + UNEVICTABLE_PGSCANNED = 41, + UNEVICTABLE_PGRESCUED = 42, + UNEVICTABLE_PGMLOCKED = 43, + UNEVICTABLE_PGMUNLOCKED = 44, + UNEVICTABLE_PGCLEARED = 45, + UNEVICTABLE_PGSTRANDED = 46, + NR_VM_EVENT_ITEMS = 47, }; enum vm_fault_reason { @@ -9036,6 +10059,18 @@ enum vm_fault_reason { VM_FAULT_HINDEX_MASK = 983040, }; +enum vma_merge_flags { + VMG_FLAG_DEFAULT = 0, + VMG_FLAG_JUST_EXPAND = 1, +}; + +enum vma_merge_state { + VMA_MERGE_START = 0, + VMA_MERGE_ERROR_NOMEM = 1, + VMA_MERGE_NOMERGE = 2, + VMA_MERGE_SUCCESS = 3, +}; + enum vmscan_throttle_state { VMSCAN_THROTTLE_WRITEBACK = 0, VMSCAN_THROTTLE_ISOLATED = 1, @@ -9045,9 +10080,10 @@ enum vmscan_throttle_state { }; enum vvar_pages { - VVAR_DATA_PAGE_OFFSET = 0, - VVAR_TIMENS_PAGE_OFFSET = 1, - VVAR_NR_PAGES = 2, + VVAR_BASE_PAGE_OFFSET = 0, + VVAR_TIME_PAGE_OFFSET = 1, + VVAR_TIMENS_PAGE_OFFSET = 2, + VVAR_NR_PAGES = 3, }; enum wb_reason { @@ -9077,6 +10113,56 @@ enum wb_state { WB_start_all = 3, }; +enum work_bits { + WORK_STRUCT_PENDING_BIT = 0, + WORK_STRUCT_INACTIVE_BIT = 1, + WORK_STRUCT_PWQ_BIT = 2, + WORK_STRUCT_LINKED_BIT = 3, + WORK_STRUCT_FLAG_BITS = 4, + WORK_STRUCT_COLOR_SHIFT = 4, + WORK_STRUCT_COLOR_BITS = 4, + WORK_STRUCT_PWQ_SHIFT = 8, + WORK_OFFQ_FLAG_SHIFT = 4, + WORK_OFFQ_BH_BIT = 4, + WORK_OFFQ_FLAG_END = 5, + WORK_OFFQ_FLAG_BITS = 1, + WORK_OFFQ_DISABLE_SHIFT = 5, + WORK_OFFQ_DISABLE_BITS = 16, + WORK_OFFQ_POOL_SHIFT = 21, + WORK_OFFQ_LEFT = 11, + WORK_OFFQ_POOL_BITS = 11, +}; + +enum work_cancel_flags { + WORK_CANCEL_DELAYED = 1, + WORK_CANCEL_DISABLE = 2, +}; + +enum work_flags { + WORK_STRUCT_PENDING = 1, + WORK_STRUCT_INACTIVE = 2, + WORK_STRUCT_PWQ = 4, + WORK_STRUCT_LINKED = 8, + WORK_STRUCT_STATIC = 0, +}; + +enum worker_flags { + WORKER_DIE = 2, + WORKER_IDLE = 4, + WORKER_PREP = 8, + WORKER_CPU_INTENSIVE = 64, + WORKER_UNBOUND = 128, + WORKER_REBOUND = 256, + WORKER_NOT_RUNNING = 456, +}; + +enum worker_pool_flags { + POOL_BH = 1, + POOL_MANAGER_ACTIVE = 2, + POOL_DISASSOCIATED = 4, + POOL_BH_DRAINING = 8, +}; + enum wq_affn_scope { WQ_AFFN_DFL = 0, WQ_AFFN_CPU = 1, @@ -9087,6 +10173,52 @@ enum wq_affn_scope { WQ_AFFN_NR_TYPES = 6, }; +enum wq_consts { + WQ_MAX_ACTIVE = 2048, + WQ_UNBOUND_MAX_ACTIVE = 2048, + WQ_DFL_ACTIVE = 1024, + WQ_DFL_MIN_ACTIVE = 8, +}; + +enum wq_flags { + WQ_BH = 1, + WQ_UNBOUND = 2, + WQ_FREEZABLE = 4, + WQ_MEM_RECLAIM = 8, + WQ_HIGHPRI = 16, + WQ_CPU_INTENSIVE = 32, + WQ_SYSFS = 64, + WQ_POWER_EFFICIENT = 128, + __WQ_DESTROYING = 32768, + __WQ_DRAINING = 65536, + __WQ_ORDERED = 131072, + __WQ_LEGACY = 262144, + __WQ_BH_ALLOWS = 17, +}; + +enum wq_internal_consts { + NR_STD_WORKER_POOLS = 2, + UNBOUND_POOL_HASH_ORDER = 6, + BUSY_WORKER_HASH_ORDER = 6, + MAX_IDLE_WORKERS_RATIO = 4, + IDLE_WORKER_TIMEOUT = 75000, + MAYDAY_INITIAL_TIMEOUT = 2, + MAYDAY_INTERVAL = 25, + CREATE_COOLDOWN = 250, + RESCUER_NICE_LEVEL = -20, + HIGHPRI_NICE_LEVEL = -20, + WQ_NAME_LEN = 32, + WORKER_ID_LEN = 42, +}; + +enum wq_misc_consts { + WORK_NR_COLORS = 16, + WORK_CPU_UNBOUND = 1, + WORK_BUSY_PENDING = 1, + WORK_BUSY_RUNNING = 2, + WORKER_DESC_LEN = 32, +}; + enum writeback_sync_modes { WB_SYNC_NONE = 0, WB_SYNC_ALL = 1, @@ -9127,6 +10259,7 @@ enum xdp_rss_hash_type { XDP_RSS_L4_UDP = 32, XDP_RSS_L4_SCTP = 64, XDP_RSS_L4_IPSEC = 128, + XDP_RSS_L4_ICMP = 256, XDP_RSS_TYPE_NONE = 0, XDP_RSS_TYPE_L2 = 0, XDP_RSS_TYPE_L3_IPV4 = 1, @@ -9138,15 +10271,24 @@ enum xdp_rss_hash_type { XDP_RSS_TYPE_L4_IPV4_UDP = 41, XDP_RSS_TYPE_L4_IPV4_SCTP = 73, XDP_RSS_TYPE_L4_IPV4_IPSEC = 137, + XDP_RSS_TYPE_L4_IPV4_ICMP = 265, XDP_RSS_TYPE_L4_IPV6_TCP = 26, XDP_RSS_TYPE_L4_IPV6_UDP = 42, XDP_RSS_TYPE_L4_IPV6_SCTP = 74, XDP_RSS_TYPE_L4_IPV6_IPSEC = 138, + XDP_RSS_TYPE_L4_IPV6_ICMP = 266, XDP_RSS_TYPE_L4_IPV6_TCP_EX = 30, XDP_RSS_TYPE_L4_IPV6_UDP_EX = 46, XDP_RSS_TYPE_L4_IPV6_SCTP_EX = 78, }; +enum xdp_rx_metadata { + XDP_METADATA_KFUNC_RX_TIMESTAMP = 0, + XDP_METADATA_KFUNC_RX_HASH = 1, + XDP_METADATA_KFUNC_RX_VLAN_TAG = 2, + MAX_XDP_METADATA_KFUNC = 3, +}; + enum xfrm_attr_type_t { XFRMA_UNSPEC = 0, XFRMA_ALG_AUTH = 1, @@ -9181,7 +10323,16 @@ enum xfrm_attr_type_t { XFRMA_SET_MARK_MASK = 30, XFRMA_IF_ID = 31, XFRMA_MTIMER_THRESH = 32, - __XFRMA_MAX = 33, + XFRMA_SA_DIR = 33, + XFRMA_NAT_KEEPALIVE_INTERVAL = 34, + XFRMA_SA_PCPU = 35, + XFRMA_IPTFS_DROP_TIME = 36, + XFRMA_IPTFS_REORDER_WINDOW = 37, + XFRMA_IPTFS_DONT_FRAG = 38, + XFRMA_IPTFS_INIT_DELAY = 39, + XFRMA_IPTFS_MAX_QSIZE = 40, + XFRMA_IPTFS_PKT_SIZE = 41, + __XFRMA_MAX = 42, }; enum xfrm_replay_mode { @@ -9193,6 +10344,7 @@ enum xfrm_replay_mode { enum zone_flags { ZONE_BOOSTED_WATERMARK = 0, ZONE_RECLAIM_ACTIVE = 1, + ZONE_BELOW_HIGH = 2, }; enum zone_stat_item { @@ -9250,6 +10402,8 @@ typedef int __kernel_ssize_t; typedef int __kernel_timer_t; +typedef int class_get_unused_fd_t; + typedef __kernel_clockid_t clockid_t; typedef __s32 s32; @@ -9258,6 +10412,10 @@ typedef s32 compat_int_t; typedef s32 compat_ssize_t; +typedef int folio_walk_flags_t; + +typedef int fpb_t; + typedef int fpi_t; typedef s32 int32_t; @@ -9332,6 +10490,8 @@ typedef u64 blkcnt_t; typedef __be64 fdt64_t; +typedef u64 io_req_flags_t; + typedef u64 netdev_features_t; typedef u64 sci_t; @@ -9354,6 +10514,8 @@ typedef long unsigned int irq_hw_number_t; typedef long unsigned int kernel_ulong_t; +typedef long unsigned int netmem_ref; + typedef long unsigned int old_sigset_t; typedef long unsigned int perf_trace_t[2048]; @@ -9394,16 +10556,14 @@ typedef short unsigned int pci_bus_flags_t; typedef short unsigned int pci_dev_flags_t; +typedef short unsigned int pipe_index_t; + typedef __kernel_sa_family_t sa_family_t; typedef __u16 u16; -typedef u16 u_int16_t; - typedef short unsigned int umode_t; -typedef short unsigned int ushort; - typedef signed char __s8; typedef __s8 s8; @@ -9456,6 +10616,10 @@ typedef __u32 __portpair; typedef __u32 __wsum; +typedef unsigned int blk_features_t; + +typedef unsigned int blk_flags_t; + typedef unsigned int blk_mode_t; typedef __u32 blk_opf_t; @@ -9492,14 +10656,14 @@ typedef unsigned int fgf_t; typedef unsigned int fmode_t; +typedef unsigned int fop_flags_t; + typedef unsigned int gfp_t; typedef __kernel_gid32_t gid_t; typedef unsigned int iov_iter_extraction_t; -typedef unsigned int isolate_mode_t; - typedef unsigned int kasan_vmalloc_flags_t; typedef u32 kprobe_opcode_t; @@ -9532,8 +10696,6 @@ typedef unsigned int t_key; typedef unsigned int tcflag_t; -typedef u32 u_int32_t; - typedef __kernel_uid32_t uid_t; typedef unsigned int uint; @@ -9591,6 +10753,30 @@ typedef struct { unsigned int timeout; } cisco_proto; +typedef struct { + void *lock; +} class_cpus_read_lock_t; + +struct rq; + +typedef struct { + struct rq *lock; + struct rq *lock2; +} class_double_rq_lock_t; + +typedef struct { + void *lock; + long unsigned int flags; +} class_irqsave_t; + +typedef struct { + void *lock; +} class_jump_label_lock_t; + +typedef struct { + void *lock; +} class_preempt_notrace_t; + typedef struct { void *lock; } class_preempt_t; @@ -9599,11 +10785,75 @@ struct raw_spinlock; typedef struct raw_spinlock raw_spinlock_t; +typedef struct { + raw_spinlock_t *lock; +} class_raw_spinlock_irq_t; + typedef struct { raw_spinlock_t *lock; long unsigned int flags; } class_raw_spinlock_irqsave_t; +typedef struct { + raw_spinlock_t *lock; +} class_raw_spinlock_t; + +typedef struct { + void *lock; +} class_rcu_t; + +typedef struct { + void *lock; +} class_rcu_tasks_trace_t; + +struct pin_cookie {}; + +struct rq_flags { + long unsigned int flags; + struct pin_cookie cookie; +}; + +typedef struct { + struct rq *lock; + struct rq_flags rf; +} class_rq_lock_t; + +struct spinlock; + +typedef struct spinlock spinlock_t; + +typedef struct { + spinlock_t *lock; + long unsigned int flags; +} class_spinlock_irqsave_t; + +typedef struct { + spinlock_t *lock; +} class_spinlock_t; + +struct srcu_struct; + +typedef struct { + struct srcu_struct *lock; + int idx; +} class_srcu_t; + +struct task_struct; + +typedef struct { + struct task_struct *lock; + struct rq *rq; + struct rq_flags rf; +} class_task_rq_lock_t; + +typedef struct { + arch_rwlock_t raw_lock; +} rwlock_t; + +typedef struct { + rwlock_t *lock; +} class_write_lock_irq_t; + typedef __vector128 elf_vrreg_t; typedef elf_vrreg_t elf_vrregset_t[33]; @@ -9619,6 +10869,10 @@ typedef struct { long unsigned int *res_ex; } fd_set_bits; +typedef struct { + atomic_t refcnt; +} file_ref_t; + typedef struct { unsigned int t391; unsigned int t392; @@ -9650,10 +10904,6 @@ typedef struct { long unsigned int key[2]; } hsiphash_key_t; -typedef struct { - long unsigned int pd; -} hugepd_t; - typedef struct { unsigned int __softirq_pending; unsigned int timer_irqs_event; @@ -9755,10 +11005,6 @@ typedef struct { typedef union { } release_pages_arg; -typedef struct { - arch_rwlock_t raw_lock; -} rwlock_t; - struct seqcount { unsigned int sequence; }; @@ -9785,8 +11031,6 @@ struct spinlock { }; }; -typedef struct spinlock spinlock_t; - typedef struct { seqcount_spinlock_t seqcount; spinlock_t lock; @@ -9884,8 +11128,6 @@ struct hlist_node { struct hlist_node **pprev; }; -struct net_rate_estimator; - struct refcount_struct { atomic_t refs; }; @@ -9944,12 +11186,16 @@ struct callback_head { void (*func)(struct callback_head *); }; +struct lock_class_key {}; + struct Qdisc_ops; struct qdisc_size_table; struct netdev_queue; +struct net_rate_estimator; + struct Qdisc { int (*enqueue)(struct sk_buff *, struct Qdisc *, struct sk_buff **); struct sk_buff * (*dequeue)(struct Qdisc *); @@ -9972,6 +11218,7 @@ struct Qdisc { long: 32; struct gnet_stats_basic_sync bstats; struct gnet_stats_queue qstats; + int owner; long unsigned int state; long unsigned int state2; struct Qdisc *next_sched; @@ -9980,7 +11227,7 @@ struct Qdisc { spinlock_t seqlock; struct callback_head rcu; netdevice_tracker dev_tracker; - long: 32; + struct lock_class_key root_lock_key; long: 32; long: 32; long int privdata[0]; @@ -10042,6 +11289,53 @@ struct Qdisc_ops { struct module *owner; }; +struct user_pt_regs { + long unsigned int gpr[32]; + long unsigned int nip; + long unsigned int msr; + long unsigned int orig_gpr3; + long unsigned int ctr; + long unsigned int link; + long unsigned int xer; + long unsigned int ccr; + long unsigned int mq; + long unsigned int trap; + long unsigned int dar; + long unsigned int dsisr; + long unsigned int result; +}; + +struct pt_regs { + union { + struct user_pt_regs user_regs; + struct { + long unsigned int gpr[32]; + long unsigned int nip; + long unsigned int msr; + long unsigned int orig_gpr3; + long unsigned int ctr; + long unsigned int link; + long unsigned int xer; + long unsigned int ccr; + long unsigned int mq; + long unsigned int trap; + union { + long unsigned int dar; + long unsigned int dear; + }; + union { + long unsigned int dsisr; + long unsigned int esr; + }; + long unsigned int result; + }; + }; +}; + +struct __arch_ftrace_regs { + struct pt_regs regs; +}; + struct llist_node { struct llist_node *next; }; @@ -10388,11 +11682,11 @@ struct address_space { long unsigned int writeback_index; const struct address_space_operations *a_ops; long unsigned int flags; - struct rw_semaphore i_mmap_rwsem; errseq_t wb_err; - spinlock_t private_lock; - struct list_head private_list; - void *private_data; + spinlock_t i_private_lock; + struct list_head i_private_list; + struct rw_semaphore i_mmap_rwsem; + void *i_private_data; }; struct page; @@ -10417,8 +11711,8 @@ struct address_space_operations { int (*writepages)(struct address_space *, struct writeback_control *); bool (*dirty_folio)(struct address_space *, struct folio *); void (*readahead)(struct readahead_control *); - int (*write_begin)(struct file *, struct address_space *, loff_t, unsigned int, struct page **, void **); - int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct page *, void *); + int (*write_begin)(struct file *, struct address_space *, loff_t, unsigned int, struct folio **, void **); + int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct folio *, void *); sector_t (*bmap)(struct address_space *, sector_t); void (*invalidate_folio)(struct folio *, size_t, size_t); bool (*release_folio)(struct folio *, gfp_t); @@ -10428,7 +11722,7 @@ struct address_space_operations { int (*launder_folio)(struct folio *); bool (*is_partially_uptodate)(struct folio *, size_t, size_t); void (*is_dirty_writeback)(struct folio *, bool *, bool *); - int (*error_remove_page)(struct address_space *, struct page *); + int (*error_remove_folio)(struct address_space *, struct folio *); int (*swap_activate)(struct swap_info_struct *, struct file *, sector_t *); void (*swap_deactivate)(struct file *); int (*swap_rw)(struct kiocb *, struct iov_iter *); @@ -10456,6 +11750,29 @@ struct aggregate_device { struct component_match *match; }; +typedef void (*crypto_completion_t)(void *, int); + +struct crypto_tfm; + +struct crypto_async_request { + struct list_head list; + crypto_completion_t complete; + void *data; + struct crypto_tfm *tfm; + u32 flags; +}; + +struct scatterlist; + +struct ahash_request { + struct crypto_async_request base; + unsigned int nbytes; + struct scatterlist *src; + u8 *result; + void *priv; + void *__ctx[0]; +}; + struct rb_node { long unsigned int __rb_parent_color; struct rb_node *rb_right; @@ -10485,7 +11802,7 @@ struct hrtimer { struct alarm { struct timerqueue_node node; struct hrtimer timer; - enum alarmtimer_restart (*function)(struct alarm *, ktime_t); + void (*function)(struct alarm *, ktime_t); enum alarmtimer_type type; int state; void *data; @@ -10500,7 +11817,7 @@ struct timespec64; struct alarm_base { spinlock_t lock; struct timerqueue_head timerqueue; - ktime_t (*get_ktime)(); + ktime_t (*get_ktime)(void); void (*get_timespec)(struct timespec64 *); clockid_t base_clockid; }; @@ -10528,6 +11845,28 @@ struct alloc_context { bool spread_dirty_pages; }; +struct codetag { + unsigned int flags; + unsigned int lineno; + const char *modname; + const char *function; + const char *filename; + long: 32; +}; + +struct alloc_tag_counters; + +struct alloc_tag { + struct codetag ct; + struct alloc_tag_counters *counters; + long: 32; +}; + +struct alloc_tag_counters { + u64 bytes; + u64 calls; +}; + struct amba_cs_uci_id { unsigned int devarch; unsigned int devarch_mask; @@ -10585,8 +11924,8 @@ struct dev_pm_qos; struct dev_pm_info { pm_message_t power_state; - unsigned int can_wakeup: 1; - unsigned int async_suspend: 1; + bool can_wakeup: 1; + bool async_suspend: 1; bool in_dpm_list: 1; bool is_prepared: 1; bool is_suspended: 1; @@ -10597,7 +11936,7 @@ struct dev_pm_info { bool direct_complete: 1; u32 driver_flags; spinlock_t lock; - unsigned int should_wakeup: 1; + bool should_wakeup: 1; struct pm_subsys_data *subsys_data; void (*set_latency_tolerance)(struct device *, s32); struct dev_pm_qos *qos; @@ -10863,7 +12202,7 @@ struct arch_uprobe_task { long unsigned int saved_trap_nr; }; -struct arch_vdso_data {}; +struct arch_vdso_time_data {}; struct net; @@ -10907,10 +12246,10 @@ struct arpreq { char arp_dev[16]; }; -struct trace_buffer; - struct trace_array; +struct trace_buffer; + struct trace_array_cpu; struct array_buffer { @@ -10968,9 +12307,13 @@ struct bin_attribute; struct attribute_group { const char *name; umode_t (*is_visible)(struct kobject *, struct attribute *, int); - umode_t (*is_bin_visible)(struct kobject *, struct bin_attribute *, int); + umode_t (*is_bin_visible)(struct kobject *, const struct bin_attribute *, int); + size_t (*bin_size)(struct kobject *, const struct bin_attribute *, int); struct attribute **attrs; - struct bin_attribute **bin_attrs; + union { + struct bin_attribute **bin_attrs; + const struct bin_attribute * const *bin_attrs_new; + }; }; struct audit_ntp_data {}; @@ -11028,9 +12371,7 @@ struct bdi_writeback { struct list_head work_list; struct delayed_work dwork; struct delayed_work bw_dwork; - long unsigned int dirty_sleep; struct list_head bdi_node; - long: 32; }; struct backing_dev_info { @@ -11045,7 +12386,7 @@ struct backing_dev_info { unsigned int max_ratio; unsigned int max_prop_frac; atomic_long_t tot_write_bandwidth; - long: 32; + long unsigned int last_bdp_sleep; struct bdi_writeback wb; struct list_head wb_list; wait_queue_head_t wb_waitq; @@ -11056,15 +12397,13 @@ struct backing_dev_info { long: 32; }; -struct pid; +struct vfsmount; -struct fown_struct { - rwlock_t lock; - struct pid *pid; - enum pid_type pid_type; - kuid_t uid; - kuid_t euid; - int signum; +struct dentry; + +struct path { + struct vfsmount *mnt; + struct dentry *dentry; }; struct file_ra_state { @@ -11077,49 +12416,48 @@ struct file_ra_state { loff_t prev_pos; }; -struct vfsmount; - -struct dentry; - -struct path { - struct vfsmount *mnt; - struct dentry *dentry; -}; +struct file_operations; struct cred; -struct file_operations; +struct fown_struct; struct file { - union { - struct llist_node f_llist; - struct callback_head f_rcuhead; - unsigned int f_iocb_flags; - }; + file_ref_t f_ref; spinlock_t f_lock; fmode_t f_mode; - atomic_long_t f_count; - struct mutex f_pos_lock; - long: 32; - loff_t f_pos; + const struct file_operations *f_op; + struct address_space *f_mapping; + void *private_data; + struct inode *f_inode; unsigned int f_flags; - struct fown_struct f_owner; + unsigned int f_iocb_flags; const struct cred *f_cred; - long: 32; - struct file_ra_state f_ra; struct path f_path; - struct inode *f_inode; - const struct file_operations *f_op; - u64 f_version; - void *private_data; - struct address_space *f_mapping; + long: 32; + union { + struct mutex f_pos_lock; + u64 f_pipe; + }; + loff_t f_pos; + struct fown_struct *f_owner; errseq_t f_wb_err; errseq_t f_sb_err; + long: 32; + union { + struct callback_head f_task_work; + struct llist_node f_llist; + struct file_ra_state f_ra; + freeptr_t f_freeptr; + }; }; struct backing_file { struct file file; - struct path real_path; + union { + struct path user_path; + freeptr_t bf_freeptr; + }; }; struct bpf_verifier_env; @@ -11131,8 +12469,6 @@ struct backtrack_state { u64 stack_masks[8]; }; -struct rq; - struct balance_callback { struct balance_callback *next; void (*func)(struct rq *); @@ -11204,10 +12540,13 @@ struct bin_attribute { struct attribute attr; size_t size; void *private; - struct address_space * (*f_mapping)(); + struct address_space * (*f_mapping)(void); ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t); + ssize_t (*read_new)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t); ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t); - int (*mmap)(struct file *, struct kobject *, struct bin_attribute *, struct vm_area_struct *); + ssize_t (*write_new)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t); + loff_t (*llseek)(struct file *, struct kobject *, const struct bin_attribute *, loff_t, int); + int (*mmap)(struct file *, struct kobject *, const struct bin_attribute *, struct vm_area_struct *); }; struct bvec_iter { @@ -11237,13 +12576,16 @@ struct bio { blk_opf_t bi_opf; short unsigned int bi_flags; short unsigned int bi_ioprio; + enum rw_hint bi_write_hint; blk_status_t bi_status; atomic_t __bi_remaining; struct bvec_iter bi_iter; - blk_qc_t bi_cookie; + union { + blk_qc_t bi_cookie; + unsigned int __bi_nr_segments; + }; bio_end_io_t *bi_end_io; void *bi_private; - union {}; short unsigned int bi_vcnt; short unsigned int bi_max_vecs; atomic_t __bi_cnt; @@ -11292,8 +12634,6 @@ struct bio_set { struct hlist_node cpuhp_dead; }; -typedef struct bio_vec skb_frag_t; - struct blacklist_entry { struct list_head next; char *buf; @@ -11311,6 +12651,8 @@ struct blake2s_state { struct blk_holder_ops { void (*mark_dead)(struct block_device *, bool); void (*sync)(struct block_device *); + int (*freeze)(struct block_device *); + int (*thaw)(struct block_device *); }; struct blk_independent_access_range { @@ -11328,6 +12670,15 @@ struct blk_independent_access_ranges { struct blk_independent_access_range ia_range[0]; }; +struct blk_integrity { + unsigned char flags; + enum blk_integrity_checksum csum_type; + unsigned char tuple_size; + unsigned char pi_offset; + unsigned char interval_exp; + unsigned char tag_size; +}; + struct blk_plug {}; struct blk_zone { @@ -11349,8 +12700,6 @@ struct gendisk; struct request_queue; -struct super_block; - struct partition_meta_info; struct block_device { @@ -11360,24 +12709,21 @@ struct block_device { struct request_queue *bd_queue; struct disk_stats *bd_stats; long unsigned int bd_stamp; - bool bd_read_only; - u8 bd_partno; - bool bd_write_holder; - bool bd_has_submit_bio; + atomic_t __bd_flags; dev_t bd_dev; + struct address_space *bd_mapping; atomic_t bd_openers; spinlock_t bd_size_lock; - struct inode *bd_inode; void *bd_claiming; void *bd_holder; const struct blk_holder_ops *bd_holder_ops; struct mutex bd_holder_lock; - int bd_fsfreeze_count; int bd_holders; struct kobject *bd_holder_dir; + atomic_t bd_fsfreeze_count; struct mutex bd_fsfreeze_mutex; - struct super_block *bd_fsfreeze_sb; struct partition_meta_info *bd_meta_info; + int bd_writers; struct device bd_device; }; @@ -11429,17 +12775,14 @@ struct bp_cpuinfo { struct bp_slots_histogram tsk_pinned; }; -struct bpf_active_lock { - void *ptr; - u32 id; -}; - struct bpf_map_ops; struct btf_record; struct btf; +struct btf_type; + struct bpf_map { const struct bpf_map_ops *ops; struct bpf_map *inner_map_meta; @@ -11457,17 +12800,17 @@ struct bpf_map { u32 btf_vmlinux_value_type_id; struct btf *btf; char name[16]; - long: 32; - long: 32; - long: 32; + struct mutex freeze_mutex; long: 32; atomic64_t refcnt; atomic64_t usercnt; - struct work_struct work; - struct mutex freeze_mutex; - long: 32; + union { + struct work_struct work; + struct callback_head rcu; + }; atomic64_t writecnt; struct { + const struct btf_type *attach_func_proto; spinlock_t lock; enum bpf_prog_type type; bool jited; @@ -11475,13 +12818,11 @@ struct bpf_map { } owner; bool bypass_spec_v1; bool frozen; + bool free_after_mult_rcu_gp; + bool free_after_rcu_gp; + atomic64_t sleepable_refcnt; s64 *elem_count; long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; }; struct bpf_array_aux; @@ -11506,10 +12847,6 @@ struct bpf_array { void *pptrs[0]; }; }; - long: 32; - long: 32; - long: 32; - long: 32; }; struct bpf_array_aux { @@ -11519,6 +12856,37 @@ struct bpf_array_aux { struct work_struct work; }; +struct bpf_prog; + +struct bpf_async_cb { + struct bpf_map *map; + struct bpf_prog *prog; + void *callback_fn; + void *value; + union { + struct callback_head rcu; + struct work_struct delete_work; + }; + u64 flags; +}; + +struct bpf_spin_lock { + __u32 val; +}; + +struct bpf_hrtimer; + +struct bpf_work; + +struct bpf_async_kern { + union { + struct bpf_async_cb *cb; + struct bpf_hrtimer *timer; + struct bpf_work *work; + }; + struct bpf_spin_lock lock; +}; + struct btf_func_model { u8 ret_size; u8 ret_flags; @@ -11527,8 +12895,6 @@ struct btf_func_model { u8 arg_flags[12]; }; -struct btf_type; - struct bpf_attach_target_info { struct btf_func_model fmodel; long int tgt_addr; @@ -11553,6 +12919,8 @@ union bpf_attr { __u32 btf_value_type_id; __u32 btf_vmlinux_value_type_id; __u64 map_extra; + __s32 value_type_btf_obj_fd; + __s32 map_token_fd; }; struct { __u32 map_fd; @@ -11604,6 +12972,8 @@ union bpf_attr { __u64 core_relos; __u32 core_relo_rec_size; __u32 log_true_size; + __s32 prog_token_fd; + __u32 fd_array_cnt; }; struct { __u64 pathname; @@ -11684,6 +13054,7 @@ union bpf_attr { __u64 name; __u32 prog_fd; long: 32; + __u64 cookie; } raw_tracepoint; struct { __u64 btf; @@ -11692,6 +13063,8 @@ union bpf_attr { __u32 btf_log_size; __u32 btf_log_level; __u32 btf_log_true_size; + __u32 btf_flags; + __s32 btf_token_fd; }; struct { __u32 pid; @@ -11761,6 +13134,14 @@ union bpf_attr { __u32 pid; long: 32; } uprobe_multi; + struct { + union { + __u32 relative_fd; + __u32 relative_id; + }; + long: 32; + __u64 expected_revision; + } netkit; }; } link_create; struct { @@ -11790,6 +13171,10 @@ union bpf_attr { __u32 map_fd; __u32 flags; } prog_bind_map; + struct { + __u32 flags; + __u32 bpffs_fd; + } token_create; }; struct bpf_binary_header { @@ -11805,10 +13190,6 @@ struct bpf_bloom_filter { u32 nr_hash_funcs; long unsigned int bitset[0]; long: 32; - long: 32; - long: 32; - long: 32; - long: 32; }; struct bpf_bprintf_buffers { @@ -11854,6 +13235,7 @@ struct bpf_call_arg_meta { u32 ret_btf_id; u32 subprogno; struct btf_field *kptr_field; + s64 const_map_key; }; struct bpf_cand_cache { @@ -11951,12 +13333,6 @@ struct bpf_cpu_map { struct bpf_map map; struct bpf_cpu_map_entry **cpu_map; long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; }; struct bpf_cpumap_val { @@ -11987,10 +13363,6 @@ struct xdp_bulk_queue; struct ptr_ring; -struct task_struct; - -struct bpf_prog; - struct bpf_cpu_map_entry { u32 cpu; int map_id; @@ -12017,6 +13389,7 @@ struct bpf_cpumask { struct bpf_ctx_arg_aux { u32 offset; enum bpf_reg_type reg_type; + struct btf *btf; u32 btf_id; }; @@ -12036,10 +13409,7 @@ struct sk_buff { struct list_head list; struct llist_node ll_node; }; - union { - struct sock *sk; - int ip_defrag_offset; - }; + struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; @@ -12075,7 +13445,7 @@ struct sk_buff { __u8 ip_summed: 2; __u8 ooo_okay: 1; __u8 __mono_tc_offset[0]; - __u8 mono_delivery_time: 1; + __u8 tstamp_type: 2; __u8 tc_at_ingress: 1; __u8 tc_skip_classify: 1; __u8 remcsum_offload: 1; @@ -12093,6 +13463,7 @@ struct sk_buff { __u8 ndisc_nodetype: 2; __u8 redirected: 1; __u8 slow_gro: 1; + __u8 unreadable: 1; __u16 tc_index; u16 alloc_cpu; union { @@ -12140,7 +13511,7 @@ struct sk_buff { __u8 ip_summed: 2; __u8 ooo_okay: 1; __u8 __mono_tc_offset[0]; - __u8 mono_delivery_time: 1; + __u8 tstamp_type: 2; __u8 tc_at_ingress: 1; __u8 tc_skip_classify: 1; __u8 remcsum_offload: 1; @@ -12158,6 +13529,7 @@ struct sk_buff { __u8 ndisc_nodetype: 2; __u8 redirected: 1; __u8 slow_gro: 1; + __u8 unreadable: 1; __u16 tc_index; u16 alloc_cpu; union { @@ -12360,51 +13732,8 @@ struct bpf_flow_dissector { const void *data_end; }; -struct user_pt_regs { - long unsigned int gpr[32]; - long unsigned int nip; - long unsigned int msr; - long unsigned int orig_gpr3; - long unsigned int ctr; - long unsigned int link; - long unsigned int xer; - long unsigned int ccr; - long unsigned int mq; - long unsigned int trap; - long unsigned int dar; - long unsigned int dsisr; - long unsigned int result; -}; - typedef struct user_pt_regs bpf_user_pt_regs_t; -struct pt_regs { - union { - struct user_pt_regs user_regs; - struct { - long unsigned int gpr[32]; - long unsigned int nip; - long unsigned int msr; - long unsigned int orig_gpr3; - long unsigned int ctr; - long unsigned int link; - long unsigned int xer; - long unsigned int ccr; - long unsigned int mq; - long unsigned int trap; - union { - long unsigned int dar; - long unsigned int dear; - }; - union { - long unsigned int dsisr; - long unsigned int esr; - }; - long unsigned int result; - }; - }; -}; - struct bpf_perf_event_data { bpf_user_pt_regs_t regs; __u64 sample_period; @@ -12494,13 +13823,6 @@ struct bpf_sk_lookup_kern { bool no_reuseport; }; -struct nf_hook_state; - -struct bpf_nf_ctx { - const struct nf_hook_state *state; - struct sk_buff *skb; -}; - struct bpf_ctx_convert { struct __sk_buff BPF_PROG_TYPE_SOCKET_FILTER_prog; struct sk_buff BPF_PROG_TYPE_SOCKET_FILTER_kern; @@ -12550,8 +13872,6 @@ struct bpf_ctx_convert { void *BPF_PROG_TYPE_EXT_kern; void *BPF_PROG_TYPE_SYSCALL_prog; void *BPF_PROG_TYPE_SYSCALL_kern; - struct bpf_nf_ctx BPF_PROG_TYPE_NETFILTER_prog; - struct bpf_nf_ctx BPF_PROG_TYPE_NETFILTER_kern; long: 32; }; @@ -12608,8 +13928,6 @@ struct bpf_dtab { spinlock_t index_lock; unsigned int items; u32 n_buckets; - long: 32; - long: 32; }; struct bpf_dtab_netdev { @@ -12640,10 +13958,7 @@ struct bpf_dummy_ops_test_args { }; struct bpf_dynptr { - long: 32; - long: 32; - long: 32; - long: 32; + __u64 __opaque[2]; }; struct bpf_dynptr_kern { @@ -12716,8 +14031,15 @@ struct bpf_fib_lookup { }; __u32 tbid; }; - __u8 smac[6]; - __u8 dmac[6]; + union { + struct { + __u32 mark; + }; + struct { + __u8 smac[6]; + __u8 dmac[6]; + }; + }; }; struct bpf_flow_keys { @@ -12753,6 +14075,8 @@ struct bpf_func_info { struct bpf_func_info_aux { u16 linkage; bool unreliable; + bool called: 1; + bool verified: 1; }; struct bpf_func_proto { @@ -12760,6 +14084,7 @@ struct bpf_func_proto { bool gpl_only; bool pkt_access; bool might_sleep; + bool allow_fastcall; enum bpf_return_type ret_type; union { struct { @@ -12851,7 +14176,10 @@ struct bpf_reg_state { long: 32; }; -struct bpf_reference_state; +struct bpf_retval_range { + s32 minval; + s32 maxval; +}; struct bpf_stack_state; @@ -12861,25 +14189,24 @@ struct bpf_func_state { u32 frameno; u32 subprogno; u32 async_entry_cnt; + struct bpf_retval_range callback_ret_range; bool in_callback_fn; - long: 32; - struct tnum callback_ret_range; bool in_async_callback_fn; - int acquired_refs; - struct bpf_reference_state *refs; - int allocated_stack; + bool in_exception_callback_fn; + u32 callback_depth; struct bpf_stack_state *stack; - long: 32; + int allocated_stack; }; struct bpf_hrtimer { + struct bpf_async_cb cb; struct hrtimer timer; - struct bpf_map *map; - struct bpf_prog *prog; - void *callback_fn; - void *value; + atomic_t cancelling; + long: 32; }; +struct obj_cgroup; + struct bpf_mem_caches; struct bpf_mem_cache; @@ -12887,6 +14214,8 @@ struct bpf_mem_cache; struct bpf_mem_alloc { struct bpf_mem_caches *caches; struct bpf_mem_cache *cache; + struct obj_cgroup *objcg; + bool percpu; struct work_struct work; }; @@ -12918,8 +14247,6 @@ struct bpf_lru { bool percpu; }; -struct lock_class_key {}; - struct bucket; struct htab_elem; @@ -12944,8 +14271,6 @@ struct bpf_htab { struct lock_class_key lockdep_key; int *map_locked[8]; long: 32; - long: 32; - long: 32; }; struct bpf_id_pair { @@ -12963,11 +14288,6 @@ struct bpf_idset { u32 ids[600]; }; -struct bpf_idx_pair { - u32 prev_idx; - u32 idx; -}; - struct bpf_insn { __u8 code; __u8 dst_reg: 4; @@ -12978,6 +14298,7 @@ struct bpf_insn { struct bpf_insn_access_aux { enum bpf_reg_type reg_type; + bool is_ldsx; union { int ctx_field_size; struct { @@ -12986,6 +14307,13 @@ struct bpf_insn_access_aux { }; }; struct bpf_verifier_log *log; + bool is_retval; +}; + +struct bpf_map_ptr_state { + struct bpf_map *map_ptr; + bool poison; + bool unpriv; }; struct bpf_loop_inline_state { @@ -12999,7 +14327,7 @@ struct btf_struct_meta; struct bpf_insn_aux_data { union { enum bpf_reg_type ptr_type; - long unsigned int map_ptr_state; + struct bpf_map_ptr_state map_ptr_state; s32 call_imm; u32 alu_limit; struct { @@ -13030,13 +14358,18 @@ struct bpf_insn_aux_data { u32 seen; bool sanitize_stack_spill; bool zext_dst; + bool needs_zext; bool storage_get_func_atomic; bool is_iter_next; + bool call_with_percpu_alloc_ptr; u8 alu_state; + u8 fastcall_pattern: 1; + u8 fastcall_spills_num: 3; unsigned int orig_idx; bool jmp_point; bool prune_point; bool force_checkpoint; + bool calls_callback; }; typedef void (*bpf_insn_print_t)(void *, const char *, ...); @@ -13052,6 +14385,13 @@ struct bpf_insn_cbs { void *private_data; }; +struct bpf_insn_hist_entry { + u32 idx; + u32 prev_idx: 22; + u32 flags: 10; + u64 linked_regs; +}; + struct bpf_iter_meta; struct bpf_link; @@ -13113,6 +14453,15 @@ struct bpf_iter__bpf_sk_storage_map { }; }; +struct bpf_iter__kmem_cache { + union { + struct bpf_iter_meta *meta; + }; + union { + struct kmem_cache *s; + }; +}; + struct kallsym_iter; struct bpf_iter__ksym { @@ -13191,6 +14540,28 @@ struct bpf_iter_aux_info { } task; }; +struct bpf_iter_bits { + __u64 __opaque[2]; +}; + +struct bpf_iter_bits_kern { + union { + __u64 *bits; + __u64 bits_copy; + }; + int nr_bits; + int bit; +}; + +struct bpf_iter_kmem_cache { + __u64 __opaque[1]; +}; + +struct bpf_iter_kmem_cache_kern { + struct kmem_cache *pos; + long: 32; +}; + struct bpf_link_ops; struct bpf_link { @@ -13199,7 +14570,12 @@ struct bpf_link { enum bpf_link_type type; const struct bpf_link_ops *ops; struct bpf_prog *prog; - struct work_struct work; + bool sleepable; + union { + struct callback_head rcu; + struct work_struct work; + }; + long: 32; }; struct bpf_iter_target_info; @@ -13372,6 +14748,63 @@ struct bpf_iter_target_info { u32 btf_id; }; +struct bpf_iter_task { + __u64 __opaque[3]; +}; + +struct bpf_iter_task_kern { + struct task_struct *task; + struct task_struct *pos; + unsigned int flags; + long: 32; +}; + +struct bpf_iter_task_vma { + __u64 __opaque[1]; +}; + +struct bpf_iter_task_vma_kern_data; + +struct bpf_iter_task_vma_kern { + struct bpf_iter_task_vma_kern_data *data; + long: 32; +}; + +struct maple_enode; + +struct maple_tree; + +struct maple_alloc; + +struct ma_state { + struct maple_tree *tree; + long unsigned int index; + long unsigned int last; + struct maple_enode *node; + long unsigned int min; + long unsigned int max; + struct maple_alloc *alloc; + enum maple_status status; + unsigned char depth; + unsigned char offset; + unsigned char mas_flags; + unsigned char end; + enum store_type store_type; +}; + +struct vma_iterator { + struct ma_state mas; +}; + +struct mmap_unlock_irq_work; + +struct bpf_iter_task_vma_kern_data { + struct task_struct *task; + struct mm_struct *mm; + struct mmap_unlock_irq_work *work; + struct vma_iterator vmi; +}; + struct bpf_jit_poke_descriptor { void *tailcall_target; void *tailcall_bypass; @@ -13436,6 +14869,10 @@ struct bpf_kfunc_call_arg_meta { u8 spi; u8 frameno; } iter; + struct { + struct bpf_map *ptr; + int uid; + } map; long: 32; u64 mem_size; }; @@ -13521,7 +14958,19 @@ struct bpf_link_info { __u64 addrs; __u32 count; __u32 flags; + __u64 missed; + __u64 cookies; } kprobe_multi; + struct { + __u64 path; + __u64 offsets; + __u64 ref_ctr_offsets; + __u64 cookies; + __u32 path_size; + __u32 count; + __u32 flags; + __u32 pid; + } uprobe_multi; struct { __u32 type; long: 32; @@ -13530,22 +14979,27 @@ struct bpf_link_info { __u64 file_name; __u32 name_len; __u32 offset; + __u64 cookie; } uprobe; struct { __u64 func_name; __u32 name_len; __u32 offset; __u64 addr; + __u64 missed; + __u64 cookie; } kprobe; struct { __u64 tp_name; __u32 name_len; long: 32; + __u64 cookie; } tracepoint; struct { __u64 config; __u32 type; long: 32; + __u64 cookie; } event; }; } perf_event; @@ -13553,17 +15007,29 @@ struct bpf_link_info { __u32 ifindex; __u32 attach_type; } tcx; + struct { + __u32 ifindex; + __u32 attach_type; + } netkit; + struct { + __u32 map_id; + __u32 attach_type; + } sockmap; }; }; +struct poll_table_struct; + struct bpf_link_ops { void (*release)(struct bpf_link *); void (*dealloc)(struct bpf_link *); + void (*dealloc_deferred)(struct bpf_link *); int (*detach)(struct bpf_link *); int (*update_prog)(struct bpf_link *, struct bpf_prog *, struct bpf_prog *); void (*show_fdinfo)(const struct bpf_link *, struct seq_file *); int (*fill_link_info)(const struct bpf_link *, struct bpf_link_info *); int (*update_map)(struct bpf_link *, struct bpf_map *, struct bpf_map *); + __poll_t (*poll)(struct file *, struct poll_table_struct *); }; struct bpf_link_primer { @@ -13574,19 +15040,11 @@ struct bpf_link_primer { }; struct bpf_list_head { - long: 32; - long: 32; - long: 32; - long: 32; + __u64 __opaque[2]; }; struct bpf_list_node { - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; + __u64 __opaque[3]; }; struct bpf_list_node_kern { @@ -13627,7 +15085,10 @@ struct bpf_local_storage_elem { struct hlist_node map_node; struct hlist_node snode; struct bpf_local_storage *local_storage; - struct callback_head rcu; + union { + struct callback_head rcu; + struct hlist_node free_node; + }; long: 32; struct bpf_local_storage_data sdata; long: 32; @@ -13656,8 +15117,15 @@ struct bpf_local_storage_map_bucket { raw_spinlock_t lock; }; -struct bpf_lpm_trie_key { +struct bpf_lpm_trie_key_hdr { __u32 prefixlen; +}; + +struct bpf_lpm_trie_key_u8 { + union { + struct bpf_lpm_trie_key_hdr hdr; + __u32 prefixlen; + }; __u8 data[0]; }; @@ -13698,7 +15166,7 @@ struct bpf_map_info { __u32 btf_id; __u32 btf_key_type_id; __u32 btf_value_type_id; - long: 32; + __u32 btf_vmlinux_id; __u64 map_extra; }; @@ -13706,8 +15174,6 @@ typedef u64 (*bpf_callback_t)(u64, u64, u64, u64, u64); struct bpf_prog_aux; -struct poll_table_struct; - struct bpf_map_ops { int (*map_alloc_check)(union bpf_attr *); struct bpf_map * (*map_alloc)(union bpf_attr *); @@ -13729,7 +15195,7 @@ struct bpf_map_ops { long int (*map_peek_elem)(struct bpf_map *, void *); void * (*map_lookup_percpu_elem)(struct bpf_map *, void *, u32); void * (*map_fd_get_ptr)(struct bpf_map *, struct file *, int); - void (*map_fd_put_ptr)(void *); + void (*map_fd_put_ptr)(struct bpf_map *, void *, bool); int (*map_gen_lookup)(struct bpf_map *, struct bpf_insn *); u32 (*map_fd_sys_lookup_elem)(void *); void (*map_seq_show_elem)(struct bpf_map *, void *, struct seq_file *); @@ -13741,6 +15207,7 @@ struct bpf_map_ops { int (*map_direct_value_meta)(const struct bpf_map *, u64, u32 *); int (*map_mmap)(struct bpf_map *, struct vm_area_struct *); __poll_t (*map_poll)(struct bpf_map *, struct file *, struct poll_table_struct *); + long unsigned int (*map_get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); int (*map_local_storage_charge)(struct bpf_local_storage_map *, void *, u32); void (*map_local_storage_uncharge)(struct bpf_local_storage_map *, void *, u32); struct bpf_local_storage ** (*map_owner_storage_ptr)(void *); @@ -13767,8 +15234,6 @@ struct irq_work { struct rcuwait irqwait; }; -struct obj_cgroup; - struct bpf_mem_cache { struct llist_head free_llist; local_t active; @@ -13801,7 +15266,14 @@ struct bpf_mem_caches { }; struct bpf_mount_opts { + kuid_t uid; + kgid_t gid; umode_t mode; + long: 32; + u64 delegate_cmds; + u64 delegate_maps; + u64 delegate_progs; + u64 delegate_attachs; }; struct bpf_mprog_fp { @@ -13834,44 +15306,47 @@ struct bpf_nested_pt_regs { struct pt_regs regs[3]; }; -struct bpf_netns_link { - struct bpf_link link; - enum bpf_attach_type type; - enum netns_bpf_attach_type netns_type; - struct net *net; - struct list_head node; - long: 32; +struct bpf_nh_params { + u32 nh_family; + union { + u32 ipv4_nh; + struct in6_addr ipv6_nh; + }; }; -typedef unsigned int nf_hookfn(void *, struct sk_buff *, const struct nf_hook_state *); - -struct nf_hook_ops { - nf_hookfn *hook; - struct net_device *dev; - void *priv; - u8 pf; - enum nf_hook_ops_type hook_ops_type: 8; - unsigned int hooknum; - int priority; +struct bpf_redirect_info { + u64 tgt_index; + void *tgt_value; + struct bpf_map *map; + u32 flags; + u32 map_id; + enum bpf_map_type map_type; + struct bpf_nh_params nh; + u32 kern_flags; + long: 32; }; -struct nf_defrag_hook; +struct bpf_net_context { + struct bpf_redirect_info ri; + struct list_head cpu_map_flush_list; + struct list_head dev_map_flush_list; + struct list_head xskmap_map_flush_list; +}; -struct bpf_nf_link { +struct bpf_netns_link { struct bpf_link link; - struct nf_hook_ops hook_ops; + enum bpf_attach_type type; + enum netns_bpf_attach_type netns_type; struct net *net; - u32 dead; - const struct nf_defrag_hook *defrag_hook; + struct list_head node; long: 32; }; -struct bpf_nh_params { - u32 nh_family; - union { - u32 ipv4_nh; - struct in6_addr ipv6_nh; - }; +struct nf_hook_state; + +struct bpf_nf_ctx { + const struct nf_hook_state *state; + struct sk_buff *skb; }; struct bpf_prog_offload_ops; @@ -13902,8 +15377,6 @@ struct bpf_offloaded_map { void *dev_priv; struct list_head offloads; long: 32; - long: 32; - long: 32; }; struct bpf_perf_event_value { @@ -13960,6 +15433,7 @@ struct bpf_prog { u16 call_get_stack: 1; u16 call_get_func_ip: 1; u16 tstamp_type_access: 1; + u16 sleepable: 1; enum bpf_prog_type type; enum bpf_attach_type expected_attach_type; u32 len; @@ -13982,6 +15456,8 @@ struct bpf_prog { }; }; +struct bpf_arena; + struct bpf_trampoline; struct bpf_prog_ops; @@ -13990,6 +15466,8 @@ struct btf_mod_pair; struct user_struct; +struct bpf_token; + struct bpf_prog_offload; struct exception_table_entry; @@ -14004,6 +15482,7 @@ struct bpf_prog_aux { u32 stack_depth; u32 id; u32 func_cnt; + u32 real_func_cnt; u32 func_idx; u32 attach_btf_id; u32 ctx_arg_info_size; @@ -14011,6 +15490,7 @@ struct bpf_prog_aux { u32 max_rdwr_access; struct btf *attach_btf; const struct bpf_ctx_arg_aux *ctx_arg_info; + void *priv_stack_ptr; struct mutex dst_mutex; struct bpf_prog *dst_prog; struct bpf_trampoline *dst_trampoline; @@ -14020,10 +15500,20 @@ struct bpf_prog_aux { bool dev_bound; bool offload_requested; bool attach_btf_trace; + bool attach_tracing_prog; bool func_proto_unreliable; - bool sleepable; bool tail_call_reachable; bool xdp_has_frags; + bool exception_cb; + bool exception_boundary; + bool is_extended; + bool jits_use_priv_stack; + bool priv_stack_requested; + bool changes_pkt_data; + u64 prog_array_member_cnt; + struct mutex ext_mutex; + struct bpf_arena *arena; + void (*recursion_detected)(struct bpf_prog *); const struct btf_type *attach_func_proto; const char *attach_func_name; struct bpf_prog **func; @@ -14039,12 +15529,13 @@ struct bpf_prog_aux { struct btf_mod_pair *used_btfs; struct bpf_prog *prog; struct user_struct *user; - long: 32; u64 load_time; u32 verified_insns; int cgroup_atype; struct bpf_map *cgroup_storage[2]; char name[16]; + u64 (*bpf_exception_cb)(u64, u64, u64, u64, u64); + struct bpf_token *token; struct bpf_prog_offload *offload; struct btf *btf; struct bpf_func_info *func_info; @@ -14163,10 +15654,6 @@ struct bpf_queue_stack { u32 size; long: 32; char elements[0]; - long: 32; - long: 32; - long: 32; - long: 32; }; struct tracepoint; @@ -14186,6 +15673,13 @@ struct bpf_raw_tp_link { struct bpf_link link; struct bpf_raw_event_map *btp; long: 32; + u64 cookie; +}; + +struct bpf_raw_tp_null_args { + const char *func; + long: 32; + u64 mask; }; struct bpf_raw_tp_regs { @@ -14199,14 +15693,7 @@ struct bpf_raw_tp_test_run_info { }; struct bpf_rb_node { - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; + __u64 __opaque[4]; }; struct bpf_rb_node_kern { @@ -14215,10 +15702,7 @@ struct bpf_rb_node_kern { }; struct bpf_rb_root { - long: 32; - long: 32; - long: 32; - long: 32; + __u64 __opaque[2]; }; struct bpf_redir_neigh { @@ -14229,26 +15713,15 @@ struct bpf_redir_neigh { }; }; -struct bpf_redirect_info { - u64 tgt_index; - void *tgt_value; - struct bpf_map *map; - u32 flags; - u32 kern_flags; - u32 map_id; - enum bpf_map_type map_type; - struct bpf_nh_params nh; - long: 32; -}; - struct bpf_refcount { - long: 32; + __u32 __opaque[1]; }; struct bpf_reference_state { + enum ref_state_type type; int id; int insn_idx; - int callback_ref; + void *ptr; }; struct bpf_reg_types { @@ -14262,7 +15735,7 @@ struct bpf_ringbuf { u64 mask; struct page **pages; int nr_pages; - spinlock_t spinlock; + raw_spinlock_t spinlock; atomic_t busy; long: 32; long: 32; @@ -16302,7 +17775,7 @@ struct bpf_ringbuf { long: 32; long: 32; long unsigned int producer_pos; - long: 32; + long unsigned int pending_pos; long: 32; long: 32; long: 32; @@ -17337,12 +18810,6 @@ struct bpf_ringbuf_map { struct bpf_map map; struct bpf_ringbuf *rb; long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; }; struct bpf_sanitize_info { @@ -17351,11 +18818,10 @@ struct bpf_sanitize_info { long: 32; }; -struct bpf_scratchpad { - union { - __be32 diff[128]; - u8 buff[512]; - }; +struct bpf_session_run_ctx { + struct bpf_run_ctx run_ctx; + bool is_return; + void *data; }; struct sk_psock_progs { @@ -17363,6 +18829,10 @@ struct sk_psock_progs { struct bpf_prog *stream_parser; struct bpf_prog *stream_verdict; struct bpf_prog *skb_verdict; + struct bpf_link *msg_parser_link; + struct bpf_link *stream_parser_link; + struct bpf_link *stream_verdict_link; + struct bpf_link *skb_verdict_link; }; struct bpf_shtab_bucket; @@ -17447,7 +18917,7 @@ struct bpf_sock_addr_kern { struct sockaddr *uaddr; u64 tmp_reg; void *t_ctx; - long: 32; + u32 uaddrlen; }; struct bpf_sock_tuple { @@ -17467,18 +18937,12 @@ struct bpf_sock_tuple { }; }; -struct bpf_spin_lock { - __u32 val; -}; - struct bpf_stab { struct bpf_map map; struct sock **sks; struct sk_psock_progs progs; spinlock_t lock; long: 32; - long: 32; - long: 32; }; struct bpf_stack_build_id { @@ -17498,10 +18962,6 @@ struct bpf_stack_map { struct pcpu_freelist freelist; u32 n_buckets; struct stack_map_bucket *buckets[0]; - long: 32; - long: 32; - long: 32; - long: 32; }; struct bpf_stack_state { @@ -17518,50 +18978,64 @@ struct bpf_struct_ops { int (*init)(struct btf *); int (*check_member)(const struct btf_type *, const struct btf_member *, const struct bpf_prog *); int (*init_member)(const struct btf_type *, const struct btf_member *, void *, const void *); - int (*reg)(void *); - void (*unreg)(void *); - int (*update)(void *, void *); + int (*reg)(void *, struct bpf_link *); + void (*unreg)(void *, struct bpf_link *); + int (*update)(void *, void *, struct bpf_link *); int (*validate)(void *); - const struct btf_type *type; - const struct btf_type *value_type; + void *cfi_stubs; + struct module *owner; const char *name; struct btf_func_model func_models[64]; - u32 type_id; - u32 value_id; }; -struct bpf_struct_ops_bpf_dummy_ops { +struct bpf_struct_ops_arg_info { + struct bpf_ctx_arg_aux *info; + u32 cnt; +}; + +struct bpf_struct_ops_common_value { refcount_t refcnt; enum bpf_struct_ops_state state; +}; + +struct bpf_struct_ops_bpf_dummy_ops { + struct bpf_struct_ops_common_value common; struct bpf_dummy_ops data; }; +struct bpf_struct_ops_desc { + struct bpf_struct_ops *st_ops; + const struct btf_type *type; + const struct btf_type *value_type; + u32 type_id; + u32 value_id; + struct bpf_struct_ops_arg_info *arg_info; +}; + struct bpf_struct_ops_link { struct bpf_link link; struct bpf_map *map; + wait_queue_head_t wait_hup; long: 32; }; struct bpf_struct_ops_value { - refcount_t refcnt; - enum bpf_struct_ops_state state; + struct bpf_struct_ops_common_value common; char data[0]; }; struct bpf_struct_ops_map { struct bpf_map map; - struct callback_head rcu; - const struct bpf_struct_ops *st_ops; + const struct bpf_struct_ops_desc *st_ops_desc; struct mutex lock; struct bpf_link **links; - void *image; + struct bpf_ksym **ksyms; + u32 funcs_cnt; + u32 image_pages_cnt; + void *image_pages[8]; + struct btf *btf; struct bpf_struct_ops_value *uvalue; struct bpf_struct_ops_value kvalue; - long: 32; - long: 32; - long: 32; - long: 32; - long: 32; }; struct rate_sample; @@ -17576,7 +19050,7 @@ struct tcp_congestion_ops { void (*in_ack_event)(struct sock *, u32); void (*pkts_acked)(struct sock *, const struct ack_sample *); u32 (*min_tso_segs)(struct sock *); - void (*cong_control)(struct sock *, const struct rate_sample *); + void (*cong_control)(struct sock *, u32, int, const struct rate_sample *); u32 (*undo_cwnd)(struct sock *); u32 (*sndbuf_expand)(struct sock *); size_t (*get_info)(struct sock *, u32, int *, union tcp_cc_info *); @@ -17590,19 +19064,50 @@ struct tcp_congestion_ops { }; struct bpf_struct_ops_tcp_congestion_ops { - refcount_t refcnt; - enum bpf_struct_ops_state state; + struct bpf_struct_ops_common_value common; struct tcp_congestion_ops data; }; +struct bpf_subprog_arg_info { + enum bpf_arg_type arg_type; + union { + u32 mem_size; + u32 btf_id; + }; +}; + struct bpf_subprog_info { u32 start; u32 linfo_idx; u16 stack_depth; - bool has_tail_call; - bool tail_call_reachable; - bool has_ld_abs; - bool is_async_cb; + u16 stack_extra; + s16 fastcall_stack_off; + bool has_tail_call: 1; + bool tail_call_reachable: 1; + bool has_ld_abs: 1; + bool is_cb: 1; + bool is_async_cb: 1; + bool is_exception_cb: 1; + bool args_cached: 1; + bool keep_fastcall_stack: 1; + bool changes_pkt_data: 1; + enum priv_stack_mode priv_stack_mode; + u8 arg_cnt; + struct bpf_subprog_arg_info args[5]; +}; + +struct bpf_tcp_req_attrs { + u32 rcv_tsval; + u32 rcv_tsecr; + u16 mss; + u8 rcv_wscale; + u8 snd_wscale; + u8 ecn_ok; + u8 wscale_ok; + u8 sack_ok; + u8 tstamp_ok; + u8 usec_ts_ok; + u8 reserved[3]; }; struct bpf_tcp_sock { @@ -17644,16 +19149,30 @@ struct bpf_test_timer { u64 time_spent; }; -struct bpf_timer { - long: 32; - long: 32; +struct bpf_throw_ctx { + struct bpf_prog_aux *aux; long: 32; + u64 sp; + u64 bp; + int cnt; long: 32; }; -struct bpf_timer_kern { - struct bpf_hrtimer *timer; - struct bpf_spin_lock lock; +struct bpf_timer { + __u64 __opaque[2]; +}; + +struct user_namespace; + +struct bpf_token { + struct work_struct work; + atomic64_t refcnt; + struct user_namespace *userns; + long: 32; + u64 allowed_cmds; + u64 allowed_maps; + u64 allowed_progs; + u64 allowed_attachs; }; struct bpf_trace_module { @@ -17725,7 +19244,7 @@ struct perf_sample_data { struct perf_callchain_entry *callchain; struct perf_raw_record *raw; struct perf_branch_stack *br_stack; - long: 32; + u64 *br_stack_cntr; union perf_sample_weight weight; union perf_mem_data_src data_src; u64 txn; @@ -17772,6 +19291,7 @@ struct percpu_ref { struct bpf_tramp_image { void *image; + int size; struct bpf_ksym ksym; struct percpu_ref pcref; void *ip_after_call; @@ -17812,7 +19332,7 @@ struct bpf_trampoline { struct hlist_head progs_hlist[3]; int progs_cnt[3]; struct bpf_tramp_image *cur_image; - struct module *mod; + long: 32; }; struct bpf_tunnel_key { @@ -17840,33 +19360,43 @@ struct bpf_tuple { }; struct uprobe_consumer { - int (*handler)(struct uprobe_consumer *, struct pt_regs *); - int (*ret_handler)(struct uprobe_consumer *, long unsigned int, struct pt_regs *); - bool (*filter)(struct uprobe_consumer *, enum uprobe_filter_ctx, struct mm_struct *); - struct uprobe_consumer *next; + int (*handler)(struct uprobe_consumer *, struct pt_regs *, __u64 *); + int (*ret_handler)(struct uprobe_consumer *, long unsigned int, struct pt_regs *, __u64 *); + bool (*filter)(struct uprobe_consumer *, struct mm_struct *); + struct list_head cons_node; + long: 32; + __u64 id; }; struct bpf_uprobe_multi_link; +struct uprobe; + struct bpf_uprobe { struct bpf_uprobe_multi_link *link; long: 32; loff_t offset; + long unsigned int ref_ctr_offset; + long: 32; u64 cookie; + struct uprobe *uprobe; + long: 32; struct uprobe_consumer consumer; + bool session; + long: 32; }; struct bpf_uprobe_multi_link { struct path path; struct bpf_link link; u32 cnt; + u32 flags; struct bpf_uprobe *uprobes; struct task_struct *task; - long: 32; }; struct bpf_uprobe_multi_run_ctx { - struct bpf_run_ctx run_ctx; + struct bpf_session_run_ctx session_ctx; long unsigned int entry_ip; struct bpf_uprobe *uprobe; }; @@ -17897,10 +19427,12 @@ struct bpf_verifier_env { u32 prev_insn_idx; struct bpf_prog *prog; const struct bpf_verifier_ops *ops; + struct module *attach_btf_mod; struct bpf_verifier_stack_elem *head; int stack_size; bool strict_alignment; bool test_state_freq; + bool test_reg_invariants; struct bpf_verifier_state *cur_state; struct bpf_verifier_state_list **explored_states; struct bpf_verifier_state_list *free_list; @@ -17909,6 +19441,8 @@ struct bpf_verifier_env { u32 used_map_cnt; u32 used_btf_cnt; u32 id_gen; + u32 hidden_subprog_cnt; + int exception_callback_subprog; bool explore_alu_limits; bool allow_ptr_leaks; bool allow_uninit_stack; @@ -17916,11 +19450,11 @@ struct bpf_verifier_env { bool bypass_spec_v1; bool bypass_spec_v4; bool seen_direct_write; + bool seen_exception; struct bpf_insn_aux_data *insn_aux_data; const struct bpf_line_info *prev_linfo; - long: 32; struct bpf_verifier_log log; - struct bpf_subprog_info subprog_info[257]; + struct bpf_subprog_info subprog_info[258]; union { struct bpf_idmap idmap_scratch; struct bpf_idset idset_scratch; @@ -17931,12 +19465,16 @@ struct bpf_verifier_env { int cur_stack; } cfg; struct backtrack_state bt; + struct bpf_insn_hist_entry *insn_hist; + struct bpf_insn_hist_entry *cur_hist_ent; + u32 insn_hist_cap; u32 pass_cnt; u32 subprog_cnt; u32 prev_insn_processed; u32 insn_processed; u32 prev_jmps_processed; u32 jmps_processed; + long: 32; u64 verification_time; u32 max_states_per_insn; u32 total_states; @@ -17948,13 +19486,17 @@ struct bpf_verifier_env { u64 scratched_stack_slots; u64 prev_log_pos; u64 prev_insn_print_pos; + struct bpf_reg_state fake_reg[2]; char tmp_str_buf[320]; + struct bpf_insn insn_buf[32]; + struct bpf_insn epilogue_buf[32]; }; struct bpf_verifier_ops { const struct bpf_func_proto * (*get_func_proto)(enum bpf_func_id, const struct bpf_prog *); bool (*is_valid_access)(int, int, enum bpf_access_type, const struct bpf_prog *, struct bpf_insn_access_aux *); int (*gen_prologue)(struct bpf_insn *, bool, const struct bpf_prog *); + int (*gen_epilogue)(struct bpf_insn *, const struct bpf_prog *, s16); int (*gen_ld_abs)(const struct bpf_insn *, struct bpf_insn *); u32 (*convert_ctx_access)(enum bpf_access_type, const struct bpf_insn *, struct bpf_insn *, struct bpf_prog *, u32 *); int (*btf_struct_access)(struct bpf_verifier_log *, const struct bpf_reg_state *, int, int); @@ -17963,16 +19505,26 @@ struct bpf_verifier_ops { struct bpf_verifier_state { struct bpf_func_state *frame[8]; struct bpf_verifier_state *parent; + struct bpf_reference_state *refs; u32 branches; u32 insn_idx; u32 curframe; - struct bpf_active_lock active_lock; - bool speculative; + u32 acquired_refs; + u32 active_locks; + u32 active_preempt_locks; + u32 active_irq_id; bool active_rcu_lock; + bool speculative; + bool used_as_loop_entry; + bool in_sleepable; u32 first_insn_idx; u32 last_insn_idx; - struct bpf_idx_pair *jmp_history; - u32 jmp_history_cnt; + struct bpf_verifier_state *loop_entry; + u32 insn_hist_start; + u32 insn_hist_end; + u32 dfs_depth; + u32 callback_unroll_depth; + u32 may_goto_depth; }; struct bpf_verifier_stack_elem { @@ -17990,6 +19542,16 @@ struct bpf_verifier_state_list { int hit_cnt; }; +struct bpf_work { + struct bpf_async_cb cb; + struct work_struct work; + struct work_struct delete_work; +}; + +struct bpf_wq { + __u64 __opaque[2]; +}; + struct bpf_xdp_link; struct bpf_xdp_entity { @@ -18007,6 +19569,14 @@ struct bpf_xdp_sock { __u32 queue_id; }; +struct bpffs_btf_enums { + const struct btf *btf; + const struct btf_type *cmd_t; + const struct btf_type *map_t; + const struct btf_type *prog_t; + const struct btf_type *attach_t; +}; + struct trace_entry { short unsigned int type; unsigned char flags; @@ -18027,14 +19597,6 @@ struct bputs_entry { const char *str; }; -struct br_input_skb_cb { - struct net_device *brdev; - u16 frag_max_size; - u8 proxyarp_replied: 1; - u8 src_port_isolated: 1; - u32 backup_nhid; -}; - struct br_mdb_entry { __u32 ifindex; __u8 state; @@ -18077,6 +19639,8 @@ struct btf_id_dtor_kfunc_tab; struct btf_struct_metas; +struct btf_struct_ops_tab; + struct btf { void *data; struct btf_type **types; @@ -18094,11 +19658,18 @@ struct btf { struct btf_kfunc_set_tab *kfunc_set_tab; struct btf_id_dtor_kfunc_tab *dtor_kfunc_tab; struct btf_struct_metas *struct_meta_tab; + struct btf_struct_ops_tab *struct_ops_tab; struct btf *base_btf; u32 start_id; u32 start_str_off; char name[60]; bool kernel_btf; + __u32 *base_id_map; +}; + +struct btf_anon_stack { + u32 tid; + u32 offset; }; struct btf_array { @@ -18148,6 +19719,14 @@ struct btf_field { }; }; +struct btf_field_desc { + int t_off_cnt; + int t_offs[2]; + int m_sz; + int m_off_cnt; + int m_offs[1]; +}; + struct btf_field_info { enum btf_field_type type; u32 off; @@ -18162,6 +19741,14 @@ struct btf_field_info { }; }; +struct btf_field_iter { + struct btf_field_desc desc; + void *p; + int m_idx; + int off_idx; + int vlen; +}; + struct btf_id_dtor_kfunc { u32 btf_id; u32 kfunc_btf_id; @@ -18200,8 +19787,8 @@ struct btf_kfunc_id_set { }; struct btf_kfunc_set_tab { - struct btf_id_set8 *sets[13]; - struct btf_kfunc_hook_filter hook_filters[13]; + struct btf_id_set8 *sets[14]; + struct btf_kfunc_hook_filter hook_filters[14]; }; struct btf_verifier_env; @@ -18233,6 +19820,13 @@ struct btf_module { int flags; }; +struct btf_name_info { + const char *name; + bool needs_size: 1; + unsigned int size: 31; + __u32 id; +}; + struct btf_param { __u32 name_off; __u32 type; @@ -18249,10 +19843,24 @@ struct btf_record { u32 field_mask; int spin_lock_off; int timer_off; + int wq_off; int refcount_off; struct btf_field fields[0]; }; +struct btf_relocate { + struct btf *btf; + const struct btf *base_btf; + const struct btf *dist_base_btf; + unsigned int nr_base_types; + unsigned int nr_split_types; + unsigned int nr_dist_base_types; + int dist_str_len; + int base_str_len; + __u32 *id_map; + __u32 *str_map; +}; + struct btf_sec_info { u32 off; u32 len; @@ -18300,6 +19908,12 @@ struct btf_struct_metas { struct btf_struct_meta types[0]; }; +struct btf_struct_ops_tab { + u32 cnt; + u32 capacity; + struct bpf_struct_ops_desc ops[0]; +}; + struct btf_type { __u32 name_off; __u32 info; @@ -18369,12 +19983,20 @@ struct buffer_data_page { long: 32; }; +struct buffer_data_read_page { + unsigned int order; + struct buffer_data_page *data; +}; + struct buffer_page { struct list_head list; local_t write; unsigned int read; local_t entries; long unsigned int real_end; + unsigned int order; + u32 id: 30; + u32 range: 1; struct buffer_data_page *page; }; @@ -18395,23 +20017,21 @@ struct bus_dma_region { phys_addr_t cpu_start; dma_addr_t dma_start; u64 size; - u64 offset; }; -struct iommu_ops; - struct bus_type { const char *name; const char *dev_name; const struct attribute_group **bus_groups; const struct attribute_group **dev_groups; const struct attribute_group **drv_groups; - int (*match)(struct device *, struct device_driver *); + int (*match)(struct device *, const struct device_driver *); int (*uevent)(const struct device *, struct kobj_uevent_env *); int (*probe)(struct device *); void (*sync_state)(struct device *); void (*remove)(struct device *); void (*shutdown)(struct device *); + const struct cpumask * (*irq_get_affinity)(struct device *, unsigned int); int (*online)(struct device *); int (*offline)(struct device *); int (*suspend)(struct device *, pm_message_t); @@ -18420,7 +20040,6 @@ struct bus_type { int (*dma_configure)(struct device *); void (*dma_cleanup)(struct device *); const struct dev_pm_ops *pm; - const struct iommu_ops *iommu_ops; bool need_parent_lock; }; @@ -18506,15 +20125,13 @@ struct sched_entity; struct cfs_rq { struct load_weight load; - unsigned int nr_running; - unsigned int h_nr_running; - unsigned int idle_nr_running; - unsigned int idle_h_nr_running; + unsigned int nr_queued; + unsigned int h_nr_queued; + unsigned int h_nr_runnable; + unsigned int h_nr_idle; s64 avg_vruntime; u64 avg_load; - u64 exec_clock; u64 min_vruntime; - u64 min_vruntime_copy; struct rb_root_cached tasks_timeline; struct sched_entity *curr; struct sched_entity *next; @@ -18527,7 +20144,7 @@ struct cgroup__safe_rcu { struct proc_ns_operations; struct ns_common { - atomic_long_t stashed; + struct dentry *stashed; const struct proc_ns_operations *ops; unsigned int inum; refcount_t count; @@ -18535,8 +20152,6 @@ struct ns_common { struct css_set; -struct user_namespace; - struct ucounts; struct cgroup_namespace { @@ -18581,8 +20196,6 @@ struct check_mount { unsigned int mounted; }; -struct crypto_tfm; - struct cipher_alg { unsigned int cia_min_keysize; unsigned int cia_max_keysize; @@ -18592,8 +20205,8 @@ struct cipher_alg { }; struct cipher_context { - char *iv; - char *rec_seq; + char iv[20]; + char rec_seq[8]; }; struct class_attribute { @@ -18684,6 +20297,8 @@ struct clock_identity { u8 id[8]; }; +struct clocksource_base; + struct clocksource { u64 (*read)(struct clocksource *); long: 32; @@ -18694,12 +20309,15 @@ struct clocksource { u32 maxadj; u32 uncertainty_margin; u64 max_cycles; + u64 max_raw_delta; const char *name; struct list_head list; + u32 freq_khz; int rating; enum clocksource_ids id; enum vdso_clock_mode vdso_clock_mode; long unsigned int flags; + struct clocksource_base *base; int (*enable)(struct clocksource *); void (*disable)(struct clocksource *); void (*suspend)(struct clocksource *); @@ -18709,6 +20327,14 @@ struct clocksource { struct module *owner; }; +struct clocksource_base { + enum clocksource_ids id; + u32 freq_khz; + u64 offset; + u32 numerator; + u32 denominator; +}; + struct clone_args { __u64 flags; __u64 pidfd; @@ -18723,6 +20349,94 @@ struct clone_args { __u64 cgroup; }; +struct cmis_cdb_advert_rpl { + u8 inst_supported; + u8 read_write_len_ext; + u8 resv1; + u8 resv2; +}; + +struct cmis_cdb_fw_mng_features_rpl { + u8 resv1; + u8 resv2; + u8 start_cmd_payload_size; + u8 resv3; + u8 read_write_len_ext; + u8 write_mechanism; + u8 resv4; + u8 resv5; + __be16 max_duration_start; + __be16 resv6; + __be16 max_duration_write; + __be16 max_duration_complete; + __be16 resv7; +}; + +struct cmis_cdb_module_features_rpl { + u8 resv1[34]; + __be16 max_completion_time; +}; + +struct cmis_cdb_query_status_pl { + u16 response_delay; +}; + +struct cmis_cdb_query_status_rpl { + u8 length; + u8 status; +}; + +struct cmis_cdb_run_fw_image_pl { + u8 resv1; + u8 image_to_run; + u16 delay_to_reset; +}; + +struct cmis_cdb_start_fw_download_pl_h { + __be32 image_size; + __be32 resv1; +}; + +struct cmis_cdb_start_fw_download_pl { + union { + struct { + __be32 image_size; + __be32 resv1; + }; + struct cmis_cdb_start_fw_download_pl_h head; + }; + u8 vendor_data[112]; +}; + +struct cmis_cdb_write_fw_block_epl_pl { + u8 fw_block[2048]; +}; + +struct cmis_cdb_write_fw_block_lpl_pl { + __be32 block_address; + u8 fw_block[116]; +}; + +struct cmis_fw_update_fw_mng_features { + u8 start_cmd_payload_size; + u8 write_mechanism; + u16 max_duration_start; + u16 max_duration_write; + u16 max_duration_complete; +}; + +struct cmis_password_entry_pl { + __be32 password; +}; + +struct cmis_rev_rpl { + u8 rev; +}; + +struct cmis_wait_for_cond_rpl { + u8 state; +}; + struct cmsghdr { __kernel_size_t cmsg_len; int cmsg_level; @@ -18926,14 +20640,31 @@ struct compress_format { decompress_fn decompressor; }; +struct console; + +struct printk_buffers; + +struct nbcon_context { + struct console *console; + unsigned int spinwait_max_us; + enum nbcon_prio prio; + unsigned int allow_unsafe_takeover: 1; + unsigned int backlog: 1; + struct printk_buffers *pbufs; + long: 32; + u64 seq; +}; + struct tty_driver; +struct nbcon_write_context; + struct console { char name[16]; void (*write)(struct console *, const char *, unsigned int); int (*read)(struct console *, char *, unsigned int); struct tty_driver * (*device)(struct console *, int *); - void (*unblank)(); + void (*unblank)(void); int (*setup)(struct console *, char *); int (*exit)(struct console *); int (*match)(struct console *, char *, int, char *); @@ -18947,15 +20678,35 @@ struct console { long unsigned int dropped; void *data; struct hlist_node node; + void (*write_atomic)(struct console *, struct nbcon_write_context *); + void (*write_thread)(struct console *, struct nbcon_write_context *); + void (*device_lock)(struct console *, long unsigned int *); + void (*device_unlock)(struct console *, long unsigned int); + atomic_t nbcon_state; + atomic_long_t nbcon_seq; + struct nbcon_context nbcon_device_ctxt; + atomic_long_t nbcon_prev_seq; + struct printk_buffers *pbufs; + struct task_struct *kthread; + struct rcuwait rcuwait; + struct irq_work irq_work; }; struct console_cmdline { char name[16]; int index; + char devname[32]; bool user_specified; char *options; }; +struct console_flush_type { + bool nbcon_atomic; + bool nbcon_offload; + bool legacy_direct; + bool legacy_offload; +}; + struct constant_table { const char *name; int value; @@ -19003,6 +20754,7 @@ struct cpu_attr { struct cpu_cacheinfo { struct cacheinfo *info_list; + unsigned int per_cpu_data_slice_size; unsigned int num_levels; unsigned int num_leaves; bool cpu_map_populated; @@ -19011,8 +20763,9 @@ struct cpu_cacheinfo { struct folio_batch { unsigned char nr; + unsigned char i; bool percpu_pvec_drained; - struct folio *folios[15]; + struct folio *folios[31]; }; struct cpu_fbatches { @@ -19021,6 +20774,8 @@ struct cpu_fbatches { struct folio_batch lru_deactivate_file; struct folio_batch lru_deactivate; struct folio_batch lru_lazyfree; + local_lock_t lock_irq; + struct folio_batch lru_move_tail; }; struct mmcr_regs { @@ -19083,7 +20838,7 @@ struct cpu_spec; typedef void (*cpu_setup_t)(long unsigned int, struct cpu_spec *); -typedef void (*cpu_restore_t)(); +typedef void (*cpu_restore_t)(void); struct cpu_spec { unsigned int pvr_mask; @@ -19095,7 +20850,7 @@ struct cpu_spec { unsigned int mmu_features; unsigned int icache_bsize; unsigned int dcache_bsize; - void (*cpu_down_flush)(); + void (*cpu_down_flush)(void); unsigned int num_pmcs; enum powerpc_pmc_type pmc_type; cpu_setup_t cpu_setup; @@ -19297,7 +21052,7 @@ struct cpuidle_state { int power_usage; unsigned int target_residency; int (*enter)(struct cpuidle_device *, struct cpuidle_driver *, int); - int (*enter_dead)(struct cpuidle_device *, int); + void (*enter_dead)(struct cpuidle_device *, int); int (*enter_s2idle)(struct cpuidle_device *, struct cpuidle_driver *, int); long: 32; }; @@ -19317,7 +21072,7 @@ struct cpuidle_driver { struct group_info; struct cred { - atomic_t usage; + atomic_long_t usage; kuid_t uid; kgid_t gid; kuid_t suid; @@ -19417,7 +21172,7 @@ struct ctl_node; struct ctl_table_header { union { struct { - struct ctl_table *ctl_table; + const struct ctl_table *ctl_table; int ctl_table_size; int used; int count; @@ -19426,12 +21181,16 @@ struct ctl_table_header { struct callback_head rcu; }; struct completion *unregistering; - struct ctl_table *ctl_table_arg; + const struct ctl_table *ctl_table_arg; struct ctl_table_root *root; struct ctl_table_set *set; struct ctl_dir *parent; struct ctl_node *node; struct hlist_head inodes; + enum { + SYSCTL_TABLE_TYPE_DEFAULT = 0, + SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY = 1, + } type; }; struct ctl_dir { @@ -19444,7 +21203,7 @@ struct ctl_node { struct ctl_table_header *header; }; -typedef int proc_handler(struct ctl_table *, int, void *, size_t *, loff_t *); +typedef int proc_handler(const struct ctl_table *, int, void *, size_t *, loff_t *); struct ctl_table_poll; @@ -19453,10 +21212,6 @@ struct ctl_table { void *data; int maxlen; umode_t mode; - enum { - SYSCTL_TABLE_TYPE_DEFAULT = 0, - SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY = 1, - } type; proc_handler *proc_handler; struct ctl_table_poll *poll; void *extra1; @@ -19476,8 +21231,8 @@ struct ctl_table_set { struct ctl_table_root { struct ctl_table_set default_set; struct ctl_table_set * (*lookup)(struct ctl_table_root *); - void (*set_ownership)(struct ctl_table_header *, struct ctl_table *, kuid_t *, kgid_t *); - int (*permissions)(struct ctl_table_header *, struct ctl_table *); + void (*set_ownership)(struct ctl_table_header *, kuid_t *, kgid_t *); + int (*permissions)(struct ctl_table_header *, const struct ctl_table *); }; struct netlink_policy_dump_state; @@ -19507,24 +21262,6 @@ struct ctx_switch_entry { unsigned char next_state; }; -struct wait_queue_entry; - -typedef int (*wait_queue_func_t)(struct wait_queue_entry *, unsigned int, int, void *); - -struct wait_queue_entry { - unsigned int flags; - void *private; - wait_queue_func_t func; - struct list_head entry; -}; - -typedef struct wait_queue_entry wait_queue_entry_t; - -struct cwt_wait { - wait_queue_entry_t wait; - struct work_struct *work; -}; - struct cyclecounter { u64 (*read)(const struct cyclecounter *); long: 32; @@ -19545,8 +21282,6 @@ struct delayed_call { void *arg; }; -struct uprobe; - struct delayed_uprobe { struct list_head list; struct uprobe *uprobe; @@ -19570,6 +21305,11 @@ struct qstr { long: 32; }; +union shortname_store { + unsigned char string[44]; + long unsigned int words[11]; +}; + struct lockref { union { struct { @@ -19581,6 +21321,8 @@ struct lockref { struct dentry_operations; +struct super_block; + struct dentry { unsigned int d_flags; seqcount_spinlock_t d_seq; @@ -19589,18 +21331,18 @@ struct dentry { long: 32; struct qstr d_name; struct inode *d_inode; - unsigned char d_iname[40]; - struct lockref d_lockref; + union shortname_store d_shortname; const struct dentry_operations *d_op; struct super_block *d_sb; long unsigned int d_time; void *d_fsdata; + struct lockref d_lockref; union { struct list_head d_lru; wait_queue_head_t *d_wait; }; - struct list_head d_child; - struct list_head d_subdirs; + struct hlist_node d_sib; + struct hlist_head d_children; union { struct hlist_node d_alias; struct hlist_bl_node d_in_lookup_hash; @@ -19612,13 +21354,8 @@ struct dentry__safe_trusted { struct inode *d_inode; }; -struct dentry_list { - void *cursor; - struct dentry **dentries; -}; - struct dentry_operations { - int (*d_revalidate)(struct dentry *, unsigned int); + int (*d_revalidate)(struct inode *, const struct qstr *, struct dentry *, unsigned int); int (*d_weak_revalidate)(struct dentry *, unsigned int); int (*d_hash)(const struct dentry *, struct qstr *); int (*d_compare)(const struct dentry *, unsigned int, const char *, const struct qstr *); @@ -19630,9 +21367,9 @@ struct dentry_operations { char * (*d_dname)(struct dentry *, char *, int); struct vfsmount * (*d_automount)(struct path *); int (*d_manage)(const struct path *, bool); - struct dentry * (*d_real)(struct dentry *, const struct inode *); - long: 32; - long: 32; + struct dentry * (*d_real)(struct dentry *, enum d_real_type); + bool (*d_unalias_trylock)(const struct dentry *); + void (*d_unalias_unlock)(const struct dentry *); long: 32; }; @@ -19667,6 +21404,7 @@ struct vmem_altmap { long unsigned int free; long unsigned int align; long unsigned int alloc; + bool inaccessible; }; struct range { @@ -19686,7 +21424,6 @@ struct dev_pagemap { const struct dev_pagemap_ops *ops; void *owner; int nr_range; - long: 32; union { struct range range; struct { @@ -19737,6 +21474,7 @@ struct dev_pm_domain { int (*activate)(struct device *); void (*sync)(struct device *); void (*dismiss)(struct device *); + int (*set_performance_state)(struct device *, unsigned int); }; struct pm_qos_flags { @@ -19783,11 +21521,6 @@ struct dev_pm_qos_request { struct device *dev; }; -struct dev_printk_info { - char subsystem[16]; - char device[48]; -}; - struct device_attach_data { struct device *dev; bool check_async; @@ -19889,7 +21622,7 @@ struct device_private { struct klist_node knode_bus; struct klist_node knode_class; struct list_head deferred_probe; - struct device_driver *async_driver; + const struct device_driver *async_driver; char *deferred_probe_reason; struct device *device; u8 dead: 1; @@ -19986,6 +21719,7 @@ struct devlink_port { struct list_head reporter_list; struct devlink_rate *devlink_rate; struct devlink_linecard *linecard; + u32 rel_index; }; struct devlink_port_ops { @@ -20005,6 +21739,8 @@ struct devlink_port_ops { int (*port_fn_ipsec_crypto_set)(struct devlink_port *, bool, struct netlink_ext_ack *); int (*port_fn_ipsec_packet_get)(struct devlink_port *, bool *, struct netlink_ext_ack *); int (*port_fn_ipsec_packet_set)(struct devlink_port *, bool, struct netlink_ext_ack *); + int (*port_fn_max_io_eqs_get)(struct devlink_port *, u32 *, struct netlink_ext_ack *); + int (*port_fn_max_io_eqs_set)(struct devlink_port *, u32, struct netlink_ext_ack *); }; struct devlink_rate { @@ -20057,6 +21793,57 @@ struct die_args { int signr; }; +struct dim_stats { + int ppms; + int bpms; + int epms; + int cpms; + int cpe_ratio; +}; + +struct dim_sample { + ktime_t time; + u32 pkt_ctr; + u32 byte_ctr; + u16 event_ctr; + u32 comp_ctr; +}; + +struct dim { + u8 state; + struct dim_stats prev_stats; + struct dim_sample start_sample; + struct dim_sample measuring_sample; + struct work_struct work; + void *priv; + u8 profile_ix; + u8 mode; + u8 tune_state; + u8 steps_right; + u8 steps_left; + u8 tired; + long: 32; +}; + +struct dim_cq_moder { + u16 usec; + u16 pkts; + u16 comps; + u8 cq_period_mode; + struct callback_head rcu; +}; + +struct dim_irq_moder { + u8 profile_flags; + u8 coal_flags; + u8 dim_rx_mode; + u8 dim_tx_mode; + struct dim_cq_moder *rx_profile; + struct dim_cq_moder *tx_profile; + void (*rx_dim_work)(struct work_struct *); + void (*tx_dim_work)(struct work_struct *); +}; + struct dir_context; typedef bool (*filldir_t)(struct dir_context *, const char *, int, loff_t, u64, unsigned int); @@ -20078,6 +21865,8 @@ struct dirty_throttle_control { long unsigned int wb_thresh; long unsigned int wb_bg_thresh; long unsigned int pos_ratio; + bool freerun; + bool dirty_exceeded; }; struct div_result { @@ -20128,13 +21917,10 @@ struct dma_devres { struct sg_table; struct dma_map_ops { - unsigned int flags; void * (*alloc)(struct device *, size_t, dma_addr_t *, gfp_t, long unsigned int); void (*free)(struct device *, size_t, void *, dma_addr_t, long unsigned int); - struct page * (*alloc_pages)(struct device *, size_t, dma_addr_t *, enum dma_data_direction, gfp_t); + struct page * (*alloc_pages_op)(struct device *, size_t, dma_addr_t *, enum dma_data_direction, gfp_t); void (*free_pages)(struct device *, size_t, struct page *, dma_addr_t, enum dma_data_direction); - struct sg_table * (*alloc_noncontiguous)(struct device *, size_t, enum dma_data_direction, gfp_t, long unsigned int); - void (*free_noncontiguous)(struct device *, size_t, struct sg_table *, enum dma_data_direction); int (*mmap)(struct device *, struct vm_area_struct *, void *, dma_addr_t, size_t, long unsigned int); int (*get_sgtable)(struct device *, struct sg_table *, void *, dma_addr_t, size_t, long unsigned int); dma_addr_t (*map_page)(struct device *, struct page *, long unsigned int, size_t, enum dma_data_direction, long unsigned int); @@ -20151,7 +21937,7 @@ struct dma_map_ops { int (*dma_supported)(struct device *, u64); u64 (*get_required_mask)(struct device *); size_t (*max_mapping_size)(struct device *); - size_t (*opt_mapping_size)(); + size_t (*opt_mapping_size)(void); long unsigned int (*get_merge_boundary)(struct device *); }; @@ -20176,15 +21962,17 @@ struct dma_pool { struct list_head pools; }; -struct sg_table { - struct scatterlist *sgl; - unsigned int nents; - unsigned int orig_nents; +struct dmabuf_cmsg { + __u64 frag_offset; + __u32 frag_size; + __u32 frag_token; + __u32 dmabuf_id; + __u32 flags; }; -struct dma_sgt_handle { - struct sg_table sgt; - struct page **pages; +struct dmabuf_token { + __u32 token_start; + __u32 token_count; }; struct kqid { @@ -20345,7 +22133,7 @@ struct dst_ops { u32 * (*cow_metrics)(struct dst_entry *, long unsigned int); void (*destroy)(struct dst_entry *); void (*ifdown)(struct dst_entry *, struct net_device *); - struct dst_entry * (*negative_advice)(struct dst_entry *); + void (*negative_advice)(struct sock *, struct dst_entry *); void (*link_failure)(struct sk_buff *); void (*update_pmtu)(struct dst_entry *, struct sock *, struct sk_buff *, u32, bool); void (*redirect)(struct dst_entry *, struct sock *, struct sk_buff *); @@ -20357,9 +22145,7 @@ struct dst_ops { struct percpu_counter pcpuc_entries; }; -struct dyn_arch_ftrace { - struct module *mod; -}; +struct dyn_arch_ftrace {}; struct dyn_event_operations; @@ -20399,8 +22185,6 @@ struct seq_buf { char *buffer; size_t size; size_t len; - long: 32; - loff_t readpos; }; struct dynevent_cmd; @@ -20414,24 +22198,27 @@ struct dynevent_cmd { enum dynevent_type type; dynevent_create_fn_t run_command; void *private_data; - long: 32; }; -struct ethtool_eee { - __u32 cmd; - __u32 supported; - __u32 advertised; - __u32 lp_advertised; - __u32 eee_active; - __u32 eee_enabled; - __u32 tx_lpi_enabled; - __u32 tx_lpi_timer; - __u32 reserved[2]; +struct eee_config { + u32 tx_lpi_timer; + bool tx_lpi_enabled; + bool eee_enabled; +}; + +struct ethtool_keee { + long unsigned int supported[4]; + long unsigned int advertised[4]; + long unsigned int lp_advertised[4]; + u32 tx_lpi_timer; + bool tx_lpi_enabled; + bool eee_active; + bool eee_enabled; }; struct eee_reply_data { struct ethnl_reply_data base; - struct ethtool_eee eee; + struct ethtool_keee eee; }; struct eeprom_reply_data { @@ -20444,6 +22231,7 @@ struct ethnl_req_info { struct net_device *dev; netdevice_tracker dev_tracker; u32 flags; + u32 phy_index; }; struct eeprom_req_info { @@ -20629,6 +22417,20 @@ struct ethnl_dump_ctx { long unsigned int pos_ifindex; }; +struct ethnl_module_fw_flash_ntf_params { + u32 portid; + u32 seq; + bool closed_sock; +}; + +struct phy_req_info; + +struct ethnl_phy_dump_ctx { + struct phy_req_info *phy_req_info; + long unsigned int ifindex; + long unsigned int phy_index; +}; + struct genl_info; struct ethnl_request_ops { @@ -20648,6 +22450,25 @@ struct ethnl_request_ops { int (*set)(struct ethnl_req_info *, struct genl_info *); }; +struct ethnl_sock_priv { + struct net_device *dev; + u32 portid; + enum ethnl_sock_type type; +}; + +struct tsinfo_req_info; + +struct tsinfo_reply_data; + +struct ethnl_tsinfo_dump_ctx { + struct tsinfo_req_info *req_info; + struct tsinfo_reply_data *reply_data; + long unsigned int pos_ifindex; + bool netdev_dump_done; + long unsigned int pos_phyindex; + enum hwtstamp_provider_qualifier pos_phcqualifier; +}; + struct ethnl_tunnel_info_dump_ctx { struct ethnl_req_info req_info; long unsigned int ifindex; @@ -20667,6 +22488,25 @@ struct ethtool_ah_espip6_spec { __u8 tclass; }; +struct ethtool_c33_pse_ext_state_info { + enum ethtool_c33_pse_ext_state c33_pse_ext_state; + union { + enum ethtool_c33_pse_ext_substate_error_condition error_condition; + enum ethtool_c33_pse_ext_substate_mr_pse_enable mr_pse_enable; + enum ethtool_c33_pse_ext_substate_option_detect_ted option_detect_ted; + enum ethtool_c33_pse_ext_substate_option_vport_lim option_vport_lim; + enum ethtool_c33_pse_ext_substate_ovld_detected ovld_detected; + enum ethtool_c33_pse_ext_substate_power_not_available power_not_available; + enum ethtool_c33_pse_ext_substate_short_detected short_detected; + u32 __c33_pse_ext_substate; + }; +}; + +struct ethtool_c33_pse_pw_limit_range { + u32 min; + u32 max; +}; + struct ethtool_cmd { __u32 cmd; __u32 supported; @@ -20687,6 +22527,69 @@ struct ethtool_cmd { __u32 reserved[2]; }; +struct ethtool_cmis_cdb { + u8 cmis_rev; + u8 read_write_len_ext; + u16 max_completion_time; +}; + +struct ethtool_cmis_cdb_request { + __be16 id; + union { + struct { + __be16 epl_len; + u8 lpl_len; + u8 chk_code; + u8 resv1; + u8 resv2; + u8 payload[120]; + }; + struct { + __be16 epl_len; + u8 lpl_len; + u8 chk_code; + u8 resv1; + u8 resv2; + u8 payload[120]; + } body; + }; + u8 *epl; +}; + +struct ethtool_cmis_cdb_cmd_args { + struct ethtool_cmis_cdb_request req; + u16 max_duration; + u8 read_write_len_ext; + u8 msleep_pre_rpl; + u8 rpl_exp_len; + u8 flags; + char *err_msg; +}; + +struct ethtool_cmis_cdb_rpl_hdr { + u8 rpl_len; + u8 rpl_chk_code; +}; + +struct ethtool_cmis_cdb_rpl { + struct ethtool_cmis_cdb_rpl_hdr hdr; + u8 payload[120]; +}; + +struct ethtool_module_fw_flash_params { + __be32 password; + u8 password_valid: 1; +}; + +struct firmware; + +struct ethtool_cmis_fw_update_params { + struct net_device *dev; + struct ethtool_module_fw_flash_params params; + struct ethnl_module_fw_flash_ntf_params ntf_params; + const struct firmware *fw; +}; + struct ethtool_flash { __u32 cmd; __u32 region; @@ -20724,6 +22627,18 @@ struct ethtool_dump { __u8 data[0]; }; +struct ethtool_eee { + __u32 cmd; + __u32 supported; + __u32 advertised; + __u32 lp_advertised; + __u32 eee_active; + __u32 eee_enabled; + __u32 tx_lpi_enabled; + __u32 tx_lpi_timer; + __u32 reserved[2]; +}; + struct ethtool_eeprom { __u32 cmd; __u32 magic; @@ -20893,6 +22808,13 @@ union ethtool_flow_union { __u8 hdata[52]; }; +struct ethtool_forced_speed_map { + u32 speed; + long unsigned int caps[4]; + const u32 *cap_arr; + u32 arr_size; +}; + struct ethtool_get_features_block { __u32 available; __u32 requested; @@ -20946,7 +22868,6 @@ struct ethtool_link_settings { __u8 master_slave_state; __u8 rate_matching; __u32 reserved[7]; - __u32 link_mode_masks[0]; }; struct ethtool_link_ksettings { @@ -21013,11 +22934,25 @@ struct ethtool_module_eeprom { u8 *data; }; +struct ethtool_module_fw_flash { + struct list_head list; + netdevice_tracker dev_tracker; + struct work_struct work; + struct ethtool_cmis_fw_update_params fw_update; +}; + struct ethtool_module_power_mode_params { enum ethtool_module_power_mode_policy policy; enum ethtool_module_power_mode mode; }; +struct ethtool_netdev_state { + struct xarray rss_ctx; + struct mutex rss_lock; + unsigned int wol_enabled: 1; + unsigned int module_fw_flash_in_progress: 1; +}; + struct ethtool_regs; struct ethtool_wolinfo; @@ -21036,7 +22971,13 @@ struct ethtool_stats; struct ethtool_rxnfc; -struct ethtool_ts_info; +struct ethtool_rxfh_param; + +struct ethtool_rxfh_context; + +struct kernel_ethtool_ts_info; + +struct ethtool_ts_stats; struct ethtool_tunable; @@ -21046,8 +22987,17 @@ struct ethtool_rmon_hist_range; struct ethtool_ops { u32 cap_link_lanes_supported: 1; + u32 cap_rss_ctx_supported: 1; + u32 cap_rss_sym_xor_supported: 1; + u32 rxfh_per_ctx_key: 1; + u32 cap_rss_rxnfc_adds: 1; + u32 rxfh_indir_space; + u16 rxfh_key_space; + u16 rxfh_priv_size; + u32 rxfh_max_num_contexts; u32 supported_coalesce_params; u32 supported_ring_params; + u32 supported_hwtstamp_qualifiers; void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *); int (*get_regs_len)(struct net_device *); void (*get_regs)(struct net_device *, struct ethtool_regs *, void *); @@ -21084,20 +23034,22 @@ struct ethtool_ops { int (*reset)(struct net_device *, u32 *); u32 (*get_rxfh_key_size)(struct net_device *); u32 (*get_rxfh_indir_size)(struct net_device *); - int (*get_rxfh)(struct net_device *, u32 *, u8 *, u8 *); - int (*set_rxfh)(struct net_device *, const u32 *, const u8 *, const u8); - int (*get_rxfh_context)(struct net_device *, u32 *, u8 *, u8 *, u32); - int (*set_rxfh_context)(struct net_device *, const u32 *, const u8 *, const u8, u32 *, bool); + int (*get_rxfh)(struct net_device *, struct ethtool_rxfh_param *); + int (*set_rxfh)(struct net_device *, struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*create_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, const struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*modify_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, const struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*remove_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, u32, struct netlink_ext_ack *); void (*get_channels)(struct net_device *, struct ethtool_channels *); int (*set_channels)(struct net_device *, struct ethtool_channels *); int (*get_dump_flag)(struct net_device *, struct ethtool_dump *); int (*get_dump_data)(struct net_device *, struct ethtool_dump *, void *); int (*set_dump)(struct net_device *, struct ethtool_dump *); - int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *); + int (*get_ts_info)(struct net_device *, struct kernel_ethtool_ts_info *); + void (*get_ts_stats)(struct net_device *, struct ethtool_ts_stats *); int (*get_module_info)(struct net_device *, struct ethtool_modinfo *); int (*get_module_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *); - int (*get_eee)(struct net_device *, struct ethtool_eee *); - int (*set_eee)(struct net_device *, struct ethtool_eee *); + int (*get_eee)(struct net_device *, struct ethtool_keee *); + int (*set_eee)(struct net_device *, struct ethtool_keee *); int (*get_tunable)(struct net_device *, const struct ethtool_tunable *, void *); int (*set_tunable)(struct net_device *, const struct ethtool_tunable *, const void *); int (*get_per_queue_coalesce)(struct net_device *, u32, struct ethtool_coalesce *); @@ -21111,6 +23063,7 @@ struct ethtool_ops { int (*get_phy_tunable)(struct net_device *, const struct ethtool_tunable *, void *); int (*set_phy_tunable)(struct net_device *, const struct ethtool_tunable *, const void *); int (*get_module_eeprom_by_page)(struct net_device *, const struct ethtool_module_eeprom *, struct netlink_ext_ack *); + int (*set_module_eeprom_by_page)(struct net_device *, const struct ethtool_module_eeprom *, struct netlink_ext_ack *); void (*get_eth_phy_stats)(struct net_device *, struct ethtool_eth_phy_stats *); void (*get_eth_mac_stats)(struct net_device *, struct ethtool_eth_mac_stats *); void (*get_eth_ctrl_stats)(struct net_device *, struct ethtool_eth_ctrl_stats *); @@ -21176,6 +23129,28 @@ struct ethtool_phy_ops { int (*start_cable_test_tdr)(struct phy_device *, struct netlink_ext_ack *, const struct phy_tdr_config *); }; +struct ethtool_phy_stats { + u64 rx_packets; + u64 rx_bytes; + u64 rx_errors; + u64 tx_packets; + u64 tx_bytes; + u64 tx_errors; +}; + +struct ethtool_pse_control_status { + enum ethtool_podl_pse_admin_state podl_admin_state; + enum ethtool_podl_pse_pw_d_status podl_pw_status; + enum ethtool_c33_pse_admin_state c33_admin_state; + enum ethtool_c33_pse_pw_d_status c33_pw_status; + u32 c33_pw_class; + u32 c33_actual_pw; + struct ethtool_c33_pse_ext_state_info c33_ext_state_info; + u32 c33_avail_pw_limit; + struct ethtool_c33_pse_pw_limit_range *c33_pw_limit_ranges; + u32 c33_pw_limit_nb_ranges; +}; + struct ethtool_regs { __u32 cmd; __u32 version; @@ -21327,11 +23302,35 @@ struct ethtool_rxfh { __u32 indir_size; __u32 key_size; __u8 hfunc; - __u8 rsvd8[3]; + __u8 input_xfrm; + __u8 rsvd8[2]; __u32 rsvd32; __u32 rss_config[0]; }; +struct ethtool_rxfh_context { + u32 indir_size; + u32 key_size; + u16 priv_size; + u8 hfunc; + u8 input_xfrm; + u8 indir_configured: 1; + u8 key_configured: 1; + u32 key_off; + u8 data[0]; +}; + +struct ethtool_rxfh_param { + u8 hfunc; + u32 indir_size; + u32 *indir; + u32 key_size; + u8 *key; + u32 rss_context; + u8 rss_delete; + u8 input_xfrm; +}; + struct ethtool_rxnfc { __u32 cmd; __u32 flow_type; @@ -21387,6 +23386,23 @@ struct ethtool_ts_info { __u32 rx_reserved[3]; }; +struct ethtool_ts_stats { + union { + struct { + u64 pkts; + u64 onestep_pkts_unconfirmed; + u64 lost; + u64 err; + }; + struct { + u64 pkts; + u64 onestep_pkts_unconfirmed; + u64 lost; + u64 err; + } tx_stats; + }; +}; + struct ethtool_tunable { __u32 cmd; __u32 id; @@ -21448,6 +23464,14 @@ struct event_function_struct { void *data; }; +struct event_mod_load { + struct list_head list; + char *module; + char *match; + char *system; + char *event; +}; + struct event_probe_data { struct trace_event_file *file; long unsigned int count; @@ -21488,29 +23512,43 @@ struct event_trigger_ops { int (*print)(struct seq_file *, struct event_trigger_data *); }; -struct eventfs_inode; +struct eventfs_attr { + int mode; + kuid_t uid; + kgid_t gid; +}; -struct inode_operations; +typedef int (*eventfs_callback)(const char *, umode_t *, void **, const struct file_operations **); -struct eventfs_file { +typedef void (*eventfs_release)(const char *, void *); + +struct eventfs_entry { const char *name; - struct dentry *d_parent; - struct dentry *dentry; - struct list_head list; - struct eventfs_inode *ei; - const struct file_operations *fop; - const struct inode_operations *iop; + eventfs_callback callback; + eventfs_release release; +}; + +struct eventfs_inode { union { - struct list_head del_list; + struct list_head list; struct callback_head rcu; - long unsigned int is_freed; }; + struct list_head children; + const struct eventfs_entry *entries; + const char *name; + struct eventfs_attr *entry_attrs; void *data; - umode_t mode; + struct eventfs_attr attr; + struct kref kref; + unsigned int is_freed: 1; + unsigned int is_events: 1; + unsigned int nr_entries: 30; + unsigned int ino; }; -struct eventfs_inode { - struct list_head e_top_files; +struct eventfs_root_inode { + struct eventfs_inode ei; + struct dentry *events_dir; }; struct exception_table_entry { @@ -21518,6 +23556,20 @@ struct exception_table_entry { int fixup; }; +struct execmem_range { + long unsigned int start; + long unsigned int end; + long unsigned int fallback_start; + long unsigned int fallback_end; + pgprot_t pgprot; + unsigned int alignment; + enum execmem_range_flags flags; +}; + +struct execmem_info { + struct execmem_range ranges[5]; +}; + struct execute_work { struct work_struct work; }; @@ -21528,6 +23580,8 @@ struct fid; struct iattr; +struct handle_to_path_ctx; + struct export_operations { int (*encode_fh)(struct inode *, __u32 *, int *, struct inode *); struct dentry * (*fh_to_dentry)(struct super_block *, struct fid *, int, int); @@ -21538,14 +23592,14 @@ struct export_operations { int (*get_uuid)(struct super_block *, u8 *, u32 *, u64 *); int (*map_blocks)(struct inode *, loff_t, u64, struct iomap *, bool, u32 *); int (*commit_blocks)(struct inode *, struct iomap *, int, struct iattr *); + int (*permission)(struct handle_to_path_ctx *, unsigned int); + struct file * (*open)(struct path *, unsigned int); long unsigned int flags; }; struct external_name { - union { - atomic_t count; - struct callback_head head; - } u; + atomic_t count; + struct callback_head head; unsigned char name[0]; }; @@ -21583,6 +23637,21 @@ struct fasync_struct { struct callback_head fa_rcu; }; +struct faux_device { + struct device dev; +}; + +struct faux_device_ops { + int (*probe)(struct faux_device *); + void (*remove)(struct faux_device *); +}; + +struct faux_object { + struct faux_device faux_dev; + const struct faux_device_ops *faux_ops; + long: 32; +}; + struct fc_log { refcount_t usage; u8 head; @@ -21593,8 +23662,18 @@ struct fc_log { }; struct fd { - struct file *file; - unsigned int flags; + long unsigned int word; +}; + +typedef struct fd class_fd_pos_t; + +typedef struct fd class_fd_raw_t; + +typedef struct fd class_fd_t; + +struct fd_range { + unsigned int from; + unsigned int to; }; struct fdt_errtabent { @@ -21727,30 +23806,76 @@ struct ftrace_graph_ret { long unsigned int func; int depth; unsigned int overrun; - long long unsigned int calltime; - long long unsigned int rettime; }; struct ftrace_graph_ret_entry { struct trace_entry ent; struct ftrace_graph_ret ret; + long long unsigned int calltime; + long long unsigned int rettime; }; struct fgraph_data { struct fgraph_cpu_data *cpu_data; - struct ftrace_graph_ent_entry ent; + union { + struct ftrace_graph_ent_entry ent; + struct ftrace_graph_ent_entry rent; + } ent; struct ftrace_graph_ret_entry ret; int failed; int cpu; }; -typedef int (*trace_func_graph_ent_t)(struct ftrace_graph_ent *); +struct fgraph_ops; -typedef void (*trace_func_graph_ret_t)(struct ftrace_graph_ret *); +struct ftrace_regs; + +typedef int (*trace_func_graph_ent_t)(struct ftrace_graph_ent *, struct fgraph_ops *, struct ftrace_regs *); + +typedef void (*trace_func_graph_ret_t)(struct ftrace_graph_ret *, struct fgraph_ops *, struct ftrace_regs *); + +typedef void (*ftrace_func_t)(long unsigned int, long unsigned int, struct ftrace_ops *, struct ftrace_regs *); + +struct ftrace_hash; + +struct ftrace_ops_hash { + struct ftrace_hash *notrace_hash; + struct ftrace_hash *filter_hash; + struct mutex regex_lock; +}; + +typedef int (*ftrace_ops_func_t)(struct ftrace_ops *, enum ftrace_ops_cmd); + +struct ftrace_ops { + ftrace_func_t func; + struct ftrace_ops *next; + long unsigned int flags; + void *private; + ftrace_func_t saved_func; + struct ftrace_ops_hash local_hash; + struct ftrace_ops_hash *func_hash; + struct ftrace_ops_hash old_hash; + long unsigned int trampoline; + long unsigned int trampoline_size; + struct list_head list; + struct list_head subop_list; + ftrace_ops_func_t ops_func; + struct ftrace_ops *managed; + long unsigned int direct_call; +}; struct fgraph_ops { trace_func_graph_ent_t entryfunc; trace_func_graph_ret_t retfunc; + struct ftrace_ops ops; + void *private; + trace_func_graph_ent_t saved_func; + int idx; +}; + +struct fgraph_times { + long long unsigned int calltime; + long long unsigned int sleeptime; }; struct fib6_node; @@ -22069,6 +24194,7 @@ struct fib_dump_filter { bool filter_set; bool dump_routes; bool dump_exceptions; + bool rtnl_held; unsigned char protocol; unsigned char rt_type; unsigned int flags; @@ -22145,7 +24271,7 @@ struct fib_notifier_net { struct fib_notifier_ops { int family; struct list_head list; - unsigned int (*fib_seq_read)(struct net *); + unsigned int (*fib_seq_read)(const struct net *); int (*fib_dump)(struct net *, struct notifier_block *, struct netlink_ext_ack *); struct module *owner; struct callback_head rcu; @@ -22165,6 +24291,7 @@ struct fib_result { unsigned char type; unsigned char scope; u32 tclassid; + dscp_t dscp; struct fib_nh_common *nhc; struct fib_info *fi; struct fib_table *table; @@ -22215,6 +24342,10 @@ struct fid { u32 parent_ino; u32 parent_gen; } i32; + struct { + u64 ino; + u32 gen; + } i64; struct { u32 block; u16 partref; @@ -22286,6 +24417,31 @@ struct file_dedupe_range { typedef void *fl_owner_t; +struct file_lock_core { + struct file_lock_core *flc_blocker; + struct list_head flc_list; + struct hlist_node flc_link; + struct list_head flc_blocked_requests; + struct list_head flc_blocked_member; + fl_owner_t flc_owner; + unsigned int flc_flags; + unsigned char flc_type; + pid_t flc_pid; + int flc_link_cpu; + wait_queue_head_t flc_wait; + struct file *flc_file; +}; + +struct lease_manager_operations; + +struct file_lease { + struct file_lock_core c; + struct fasync_struct *fl_fasync; + long unsigned int fl_break_time; + long unsigned int fl_downgrade_time; + const struct lease_manager_operations *fl_lmops; +}; + struct nlm_lockowner; struct nfs_lock_info { @@ -22305,24 +24461,10 @@ struct file_lock_operations; struct lock_manager_operations; struct file_lock { - struct file_lock *fl_blocker; - struct list_head fl_list; - struct hlist_node fl_link; - struct list_head fl_blocked_requests; - struct list_head fl_blocked_member; - fl_owner_t fl_owner; - unsigned int fl_flags; - unsigned char fl_type; - unsigned int fl_pid; - int fl_link_cpu; - wait_queue_head_t fl_wait; - struct file *fl_file; + struct file_lock_core c; long: 32; loff_t fl_start; loff_t fl_end; - struct fasync_struct *fl_fasync; - long unsigned int fl_break_time; - long unsigned int fl_downgrade_time; const struct file_lock_operations *fl_ops; const struct lock_manager_operations *fl_lmops; union { @@ -22337,7 +24479,6 @@ struct file_lock { struct inode *inode; } ceph; } fl_u; - long: 32; }; struct file_lock_context { @@ -22352,12 +24493,13 @@ struct file_lock_operations { void (*fl_release_private)(struct file_lock *); }; -struct pipe_inode_info; - struct io_uring_cmd; +struct pipe_inode_info; + struct file_operations { struct module *owner; + fop_flags_t fop_flags; loff_t (*llseek)(struct file *, loff_t, int); ssize_t (*read)(struct file *, char *, size_t, loff_t *); ssize_t (*write)(struct file *, const char *, size_t, loff_t *); @@ -22369,7 +24511,6 @@ struct file_operations { long int (*unlocked_ioctl)(struct file *, unsigned int, long unsigned int); long int (*compat_ioctl)(struct file *, unsigned int, long unsigned int); int (*mmap)(struct file *, struct vm_area_struct *); - long unsigned int mmap_supported_flags; int (*open)(struct inode *, struct file *); int (*flush)(struct file *, fl_owner_t); int (*release)(struct inode *, struct file *); @@ -22382,7 +24523,7 @@ struct file_operations { ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int); ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int); void (*splice_eof)(struct file *); - int (*setlease)(struct file *, int, struct file_lock **, void **); + int (*setlease)(struct file *, int, struct file_lease **, void **); long int (*fallocate)(struct file *, int, loff_t, loff_t); void (*show_fdinfo)(struct seq_file *, struct file *); ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t, size_t, unsigned int); @@ -22491,11 +24632,17 @@ struct find_symbol_arg { bool gplok; bool warn; struct module *owner; - const s32 *crc; + const u32 *crc; const struct kernel_symbol *sym; enum mod_license license; }; +struct firmware { + size_t size; + const u8 *data; + void *priv; +}; + struct fixup_entry { long unsigned int mask; long unsigned int value; @@ -22525,14 +24672,14 @@ struct flock64 { typedef void (*action_destr)(void *); -struct ip_tunnel_info; - struct psample_group; struct nf_flowtable; struct action_gate_entry; +struct ip_tunnel_info; + struct flow_action_cookie; struct flow_action_entry { @@ -22744,7 +24891,7 @@ struct flow_dissector_key_ct { struct flow_dissector_key_enc_opts { u8 data[255]; u8 len; - __be16 dst_opt_type; + u32 dst_opt_type; }; struct flow_dissector_key_hash { @@ -23007,10 +25154,8 @@ struct flowi_common { __u8 flowic_flags; __u32 flowic_secid; kuid_t flowic_uid; - long: 32; - struct flowi_tunnel flowic_tun_key; __u32 flowic_multipath_hash; - long: 32; + struct flowi_tunnel flowic_tun_key; }; union flowi_uli { @@ -23054,6 +25199,17 @@ struct flowi { } u; }; +struct flush_backlogs { + cpumask_t flush_cpus; + struct work_struct w[0]; +}; + +struct fmt { + const char *str; + unsigned char state; + unsigned char size; +}; + struct fnhe_hash_bucket { struct fib_nh_exception *chain; }; @@ -23085,10 +25241,7 @@ struct page { struct page_pool *pp; long unsigned int _pp_mapping_pad; long unsigned int dma_addr; - union { - long unsigned int dma_addr_upper; - atomic_long_t pp_frag_count; - }; + atomic_long_t pp_ref_count; }; struct { long unsigned int compound_head; @@ -23100,8 +25253,8 @@ struct page { struct callback_head callback_head; }; union { - atomic_t _mapcount; unsigned int page_type; + atomic_t _mapcount; }; atomic_t _refcount; }; @@ -23132,7 +25285,7 @@ struct folio { struct { long unsigned int _flags_1; long unsigned int _head_1; - long unsigned int _folio_avail; + atomic_t _large_mapcount; atomic_t _entire_mapcount; atomic_t _nr_pages_mapped; atomic_t _pincount; @@ -23157,6 +25310,18 @@ struct folio { }; }; +struct folio_queue { + struct folio_batch vec; + u8 orders[31]; + struct folio_queue *next; + struct folio_queue *prev; + long unsigned int marks; + long unsigned int marks2; + long unsigned int marks3; + unsigned int rreq_id; + unsigned int debug_id; +}; + struct mem_cgroup; struct folio_referenced_arg { @@ -23166,23 +25331,64 @@ struct folio_referenced_arg { struct mem_cgroup *memcg; }; +struct folio_walk { + struct page *page; + enum folio_walk_level level; + union { + pte_t *ptep; + pud_t *pudp; + pmd_t *pmdp; + }; + union { + pte_t pte; + pud_t pud; + pmd_t pmd; + }; + struct vm_area_struct *vma; + spinlock_t *ptl; +}; + struct follow_page_context { struct dev_pagemap *pgmap; unsigned int page_mask; }; +struct follow_pfnmap_args { + struct vm_area_struct *vma; + long unsigned int address; + spinlock_t *lock; + pte_t *ptep; + long unsigned int pfn; + pgprot_t pgprot; + bool writable; + bool special; +}; + +struct format_state___2 { + unsigned char state; + unsigned char size; + unsigned char flags_or_double_size; + unsigned char base; +}; + +struct pid; + +struct fown_struct { + struct file *file; + rwlock_t lock; + struct pid *pid; + enum pid_type pid_type; + kuid_t uid; + kuid_t euid; + int signum; +}; + struct fprop_global { struct percpu_counter events; unsigned int period; seqcount_t sequence; }; -struct fprop_local_single { - long unsigned int events; - unsigned int period; - raw_spinlock_t lock; -}; - typedef u32 (*rht_hashfn_t)(const void *, u32, u32); typedef u32 (*rht_obj_hashfn_t)(const void *, u32, u32); @@ -23272,7 +25478,7 @@ struct inet_frag_queue { ktime_t stamp; int len; int meat; - u8 mono_delivery_time; + u8 tstamp_type; __u8 flags; u16 max_size; struct fqdir *fqdir; @@ -23286,22 +25492,34 @@ struct frag_queue { u8 ecn; }; +struct freader { + void *buf; + u32 buf_sz; + int err; + long: 32; + union { + struct { + struct file *file; + struct folio *folio; + void *addr; + long: 32; + loff_t folio_off; + bool may_fault; + long: 32; + }; + struct { + const char *data; + long: 32; + u64 data_sz; + }; + }; +}; + struct free_area { struct list_head free_list[4]; long unsigned int nr_free; }; -struct freelist_node; - -struct freelist_head { - struct freelist_node *head; -}; - -struct freelist_node { - atomic_t refs; - struct freelist_node *next; -}; - struct p_log { const char *prefix; struct fc_log *log; @@ -23378,6 +25596,8 @@ struct fs_parse_result { int int_32; unsigned int uint_32; u64 uint_64; + kuid_t uid; + kgid_t gid; }; }; @@ -23399,6 +25619,33 @@ struct fs_struct { struct path pwd; }; +struct fs_sysfs_path { + __u8 len; + __u8 name[128]; +}; + +struct fsnotify_mark_connector { + spinlock_t lock; + unsigned char type; + unsigned char prio; + short unsigned int flags; + union { + void *obj; + struct fsnotify_mark_connector *destroy_next; + }; + struct hlist_head list; +}; + +struct fsnotify_sb_info { + struct fsnotify_mark_connector *sb_marks; + atomic_long_t watched_objects[3]; +}; + +struct fsuuid2 { + __u8 len; + __u8 uuid[16]; +}; + struct fsxattr { __u32 fsx_xflags; __u32 fsx_extsize; @@ -23409,10 +25656,10 @@ struct fsxattr { }; struct trace_seq { - char buffer[4096]; + char buffer[8172]; struct seq_buf seq; + size_t readpos; int full; - long: 32; }; struct tracer; @@ -23432,10 +25679,10 @@ struct trace_iterator { unsigned int temp_size; char *fmt; unsigned int fmt_size; - long int wait_index; - long: 32; + atomic_t wait_index; struct trace_seq tmp_seq; cpumask_var_t started; + bool closed; bool snapshot; struct trace_seq seq; struct trace_entry *ent; @@ -23443,7 +25690,6 @@ struct trace_iterator { int leftover; int ent_size; int cpu; - long: 32; u64 ts; loff_t pos; long int idx; @@ -23454,8 +25700,8 @@ struct ftrace_buffer_info { struct trace_iterator iter; void *spare; unsigned int spare_cpu; + unsigned int spare_size; unsigned int read; - long: 32; }; struct ftrace_entry { @@ -23471,12 +25717,11 @@ struct ftrace_event_field { int filter_type; int offset; int size; - int is_signed; + unsigned int is_signed: 1; + unsigned int needs_test: 1; int len; }; -struct ftrace_hash; - struct ftrace_func_command { struct list_head list; char *name; @@ -23506,33 +25751,6 @@ struct ftrace_func_mapper { struct ftrace_hash hash; }; -struct ftrace_regs; - -typedef void (*ftrace_func_t)(long unsigned int, long unsigned int, struct ftrace_ops *, struct ftrace_regs *); - -struct ftrace_ops_hash { - struct ftrace_hash *notrace_hash; - struct ftrace_hash *filter_hash; - struct mutex regex_lock; -}; - -typedef int (*ftrace_ops_func_t)(struct ftrace_ops *, enum ftrace_ops_cmd); - -struct ftrace_ops { - ftrace_func_t func; - struct ftrace_ops *next; - long unsigned int flags; - void *private; - ftrace_func_t saved_func; - struct ftrace_ops_hash local_hash; - struct ftrace_ops_hash *func_hash; - struct ftrace_ops_hash old_hash; - long unsigned int trampoline; - long unsigned int trampoline_size; - struct list_head list; - ftrace_ops_func_t ops_func; -}; - struct ftrace_probe_ops; struct ftrace_func_probe { @@ -23636,16 +25854,12 @@ struct ftrace_rec_iter { int index; }; -struct ftrace_regs { - struct pt_regs regs; -}; +struct ftrace_regs {}; struct ftrace_ret_stack { long unsigned int ret; long unsigned int func; - long long unsigned int calltime; long unsigned int *retp; - long: 32; }; struct ftrace_stack { @@ -23705,6 +25919,7 @@ struct fwnode_operations { bool (*device_dma_supported)(const struct fwnode_handle *); enum dev_dma_attr (*device_get_dma_attr)(const struct fwnode_handle *); bool (*property_present)(const struct fwnode_handle *, const char *); + bool (*property_read_bool)(const struct fwnode_handle *, const char *); int (*property_read_int_array)(const struct fwnode_handle *, const char *, unsigned int, void *, size_t); int (*property_read_string_array)(const struct fwnode_handle *, const char *, const char **, size_t); const char * (*get_name)(const struct fwnode_handle *); @@ -23820,7 +26035,10 @@ struct genl_info { struct genlmsghdr *genlhdr; struct nlattr **attrs; possible_net_t _net; - void *user_ptr[2]; + union { + u8 ctx[48]; + void *user_ptr[2]; + }; struct netlink_ext_ack *extack; }; @@ -23850,13 +26068,19 @@ struct genl_family { const struct nla_policy *policy; int (*pre_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); void (*post_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); + int (*bind)(int); + void (*unbind)(int); const struct genl_ops *ops; const struct genl_small_ops *small_ops; const struct genl_split_ops *split_ops; const struct genl_multicast_group *mcgrps; struct module *module; + size_t sock_priv_size; + void (*sock_priv_init)(void *); + void (*sock_priv_destroy)(void *); int id; unsigned int mcgrp_offset; + struct xarray *sock_privs; }; struct genl_multicast_group { @@ -23917,8 +26141,8 @@ struct genradix_iter { struct genradix_node { union { - struct genradix_node *children[1024]; - u8 data[4096]; + struct genradix_node *children[128]; + u8 data[512]; }; }; @@ -24009,11 +26233,13 @@ struct gro_list { int count; }; +struct napi_config; + struct napi_struct { struct list_head poll_list; long unsigned int state; int weight; - int defer_hard_irqs_count; + u32 defer_hard_irqs_count; long unsigned int gro_bitmask; int (*poll)(struct napi_struct *, int); int list_owner; @@ -24025,8 +26251,14 @@ struct napi_struct { unsigned int napi_id; struct hrtimer timer; struct task_struct *thread; + long unsigned int gro_flush_timeout; + long unsigned int irq_suspend_timeout; + u32 defer_hard_irqs; struct list_head dev_list; struct hlist_node napi_hash_node; + int irq; + int index; + struct napi_config *config; long: 32; }; @@ -24060,7 +26292,7 @@ struct group_filter { }; struct group_info { - atomic_t usage; + refcount_t usage; int ngroups; kgid_t gid[0]; }; @@ -24076,6 +26308,12 @@ struct group_source_req { struct __kernel_sockaddr_storage gsr_source; }; +struct handle_to_path_ctx { + struct path root; + enum handle_to_path_flags flags; + unsigned int fh_flags; +}; + struct hash_pte { long unsigned int v: 1; long unsigned int vsid: 24; @@ -24127,6 +26365,12 @@ struct hop_jumbo_hdr { __be32 jumbo_payload_len; }; +struct hprobe { + enum hprobe_state state; + int srcu_idx; + struct uprobe *uprobe; +}; + struct seqcount_raw_spinlock { seqcount_t seqcount; }; @@ -24142,7 +26386,7 @@ struct hrtimer_clock_base { seqcount_raw_spinlock_t seq; struct hrtimer *running; struct timerqueue_head active; - ktime_t (*get_time)(); + ktime_t (*get_time)(void); ktime_t offset; }; @@ -24155,6 +26399,7 @@ struct hrtimer_cpu_base { unsigned int in_hrtirq: 1; unsigned int hang_detected: 1; unsigned int softirq_activated: 1; + unsigned int online: 1; ktime_t expires_next; struct hrtimer *next_timer; long: 32; @@ -24162,10 +26407,7 @@ struct hrtimer_cpu_base { struct hrtimer *softirq_next_timer; long: 32; struct hrtimer_clock_base clock_base[8]; - long: 32; - long: 32; - long: 32; - long: 32; + call_single_data_t csd; }; struct hrtimer_sleeper { @@ -24232,6 +26474,11 @@ struct hw_perf_event { struct hw_perf_event_extra extra_reg; struct hw_perf_event_extra branch_reg; }; + struct { + u64 aux_config; + unsigned int aux_paused; + long: 32; + }; struct { struct hrtimer hrtimer; }; @@ -24306,6 +26553,18 @@ struct hwtstamp_config { int rx_filter; }; +struct hwtstamp_provider_desc { + int index; + enum hwtstamp_provider_qualifier qualifier; +}; + +struct hwtstamp_provider { + struct callback_head callback_head; + enum hwtstamp_source source; + struct phy_device *phydev; + struct hwtstamp_provider_desc desc; +}; + struct iattr { unsigned int ia_valid; umode_t ia_mode; @@ -24332,7 +26591,7 @@ struct ibm_feature { unsigned int cpu_user_ftrs2; unsigned char pabyte; unsigned char pabit; - unsigned char invert; + unsigned char clear; }; struct icmp6_err { @@ -24882,7 +27141,7 @@ struct in_device { }; struct in_ifaddr { - struct hlist_node hash; + struct hlist_node addr_lst; struct in_ifaddr *ifa_next; struct in_device *ifa_dev; struct callback_head callback_head; @@ -24928,9 +27187,14 @@ struct ipv6_stable_secret { }; struct ipv6_devconf { - __s32 forwarding; + __u8 __cacheline_group_begin__ipv6_devconf_read_txrx[0]; + __s32 disable_ipv6; __s32 hop_limit; __s32 mtu6; + __s32 forwarding; + __s32 disable_policy; + __s32 proxy_ndp; + __u8 __cacheline_group_end__ipv6_devconf_read_txrx[0]; __s32 accept_ra; __s32 accept_redirects; __s32 autoconf; @@ -24945,6 +27209,7 @@ struct ipv6_devconf { __s32 use_tempaddr; __s32 temp_valid_lft; __s32 temp_prefered_lft; + __s32 regen_min_advance; __s32 regen_max_retry; __s32 max_desync_factor; __s32 max_addresses; @@ -24954,10 +27219,8 @@ struct ipv6_devconf { __s32 accept_ra_min_lft; __s32 accept_ra_pinfo; __s32 ignore_routes_with_linkdown; - __s32 proxy_ndp; __s32 accept_source_route; __s32 accept_ra_from_local; - __s32 disable_ipv6; __s32 drop_unicast_in_l2_multicast; __s32 accept_dad; __s32 force_tllao; @@ -24972,13 +27235,14 @@ struct ipv6_devconf { __s32 seg6_enabled; __u32 enhanced_dad; __u32 addr_gen_mode; - __s32 disable_policy; __s32 ndisc_tclass; __s32 rpl_seg_enabled; __u32 ioam6_id; __u32 ioam6_id_wide; __u8 ioam6_enabled; __u8 ndisc_evict_nocarrier; + __u8 ra_honor_pio_life; + __u8 ra_honor_pio_pflag; struct ctl_table_header *sysctl_header; }; @@ -25044,6 +27308,7 @@ struct inet6_fill_args { int netnsid; int ifindex; enum addr_type_t type; + bool force_rt_scope_universe; }; struct inet6_ifaddr { @@ -25083,6 +27348,7 @@ struct inet6_protocol { int (*handler)(struct sk_buff *); int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int, __be32); unsigned int flags; + u32 secret; }; struct inet6_skb_parm { @@ -25102,14 +27368,11 @@ struct inet_bind2_bucket { possible_net_t ib_net; int l3mdev; short unsigned int port; - short unsigned int family; - union { - struct in6_addr v6_rcv_saddr; - __be32 rcv_saddr; - }; + short unsigned int addr_type; + struct in6_addr v6_rcv_saddr; struct hlist_node node; + struct hlist_node bhash_node; struct hlist_head owners; - struct hlist_head deathrow; }; struct inet_bind_bucket { @@ -25124,7 +27387,7 @@ struct inet_bind_bucket { short unsigned int fast_sk_family; bool fast_ipv6_only; struct hlist_node node; - struct hlist_head owners; + struct hlist_head bhash2; }; struct inet_bind_hashbucket { @@ -25216,12 +27479,9 @@ struct sock_reuseport; struct sock { struct sock_common __sk_common; - struct dst_entry *sk_rx_dst; - int sk_rx_dst_ifindex; - u32 sk_rx_dst_cookie; - socket_lock_t sk_lock; + __u8 __cacheline_group_begin__sock_write_rx[0]; atomic_t sk_drops; - int sk_rcvlowat; + __s32 sk_peek_off; struct sk_buff_head sk_error_queue; struct sk_buff_head sk_receive_queue; struct { @@ -25230,18 +27490,39 @@ struct sock { struct sk_buff *head; struct sk_buff *tail; } sk_backlog; - int sk_forward_alloc; - u32 sk_reserved_mem; + __u8 __cacheline_group_end__sock_write_rx[0]; + __u8 __cacheline_group_begin__sock_read_rx[0]; + struct dst_entry *sk_rx_dst; + int sk_rx_dst_ifindex; + u32 sk_rx_dst_cookie; unsigned int sk_ll_usec; unsigned int sk_napi_id; + u16 sk_busy_poll_budget; + u8 sk_prefer_busy_poll; + u8 sk_userlocks; int sk_rcvbuf; - int sk_disconnects; struct sk_filter *sk_filter; union { struct socket_wq *sk_wq; struct socket_wq *sk_wq_raw; }; - struct dst_entry *sk_dst_cache; + void (*sk_data_ready)(struct sock *); + long int sk_rcvtimeo; + int sk_rcvlowat; + __u8 __cacheline_group_end__sock_read_rx[0]; + __u8 __cacheline_group_begin__sock_read_rxtx[0]; + int sk_err; + struct socket *sk_socket; + struct mem_cgroup *sk_memcg; + __u8 __cacheline_group_end__sock_read_rxtx[0]; + __u8 __cacheline_group_begin__sock_write_rxtx[0]; + socket_lock_t sk_lock; + u32 sk_reserved_mem; + int sk_forward_alloc; + u32 sk_tsflags; + __u8 __cacheline_group_end__sock_write_rxtx[0]; + __u8 __cacheline_group_begin__sock_write_tx[0]; + int sk_write_pending; atomic_t sk_omem_alloc; int sk_sndbuf; int sk_wmem_queued; @@ -25252,64 +27533,59 @@ struct sock { struct rb_root tcp_rtx_queue; }; struct sk_buff_head sk_write_queue; - __s32 sk_peek_off; - int sk_write_pending; - __u32 sk_dst_pending_confirm; + u32 sk_dst_pending_confirm; u32 sk_pacing_status; - long int sk_sndtimeo; + struct page_frag sk_frag; struct timer_list sk_timer; - __u32 sk_priority; - __u32 sk_mark; long unsigned int sk_pacing_rate; + atomic_t sk_zckey; + atomic_t sk_tskey; + __u8 __cacheline_group_end__sock_write_tx[0]; + __u8 __cacheline_group_begin__sock_read_tx[0]; long unsigned int sk_max_pacing_rate; - struct page_frag sk_frag; + long int sk_sndtimeo; + u32 sk_priority; + u32 sk_mark; + struct dst_entry *sk_dst_cache; netdev_features_t sk_route_caps; - int sk_gso_type; + u16 sk_gso_type; + u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; - __u32 sk_txhash; + u32 sk_txhash; + u8 sk_pacing_shift; + bool sk_use_task_frag; + __u8 __cacheline_group_end__sock_read_tx[0]; u8 sk_gso_disabled: 1; u8 sk_kern_sock: 1; u8 sk_no_check_tx: 1; u8 sk_no_check_rx: 1; - u8 sk_userlocks: 4; - u8 sk_pacing_shift; + u8 sk_shutdown; u16 sk_type; u16 sk_protocol; - u16 sk_gso_max_segs; long unsigned int sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; - int sk_err; int sk_err_soft; u32 sk_ack_backlog; u32 sk_max_ack_backlog; kuid_t sk_uid; - u8 sk_txrehash; - u8 sk_prefer_busy_poll; - u16 sk_busy_poll_budget; spinlock_t sk_peer_lock; int sk_bind_phc; struct pid *sk_peer_pid; const struct cred *sk_peer_cred; - long int sk_rcvtimeo; + long: 32; ktime_t sk_stamp; seqlock_t sk_stamp_seq; - atomic_t sk_tskey; - atomic_t sk_zckey; - u32 sk_tsflags; - u8 sk_shutdown; + int sk_disconnects; + u8 sk_txrehash; u8 sk_clockid; u8 sk_txtime_deadline_mode: 1; u8 sk_txtime_report_errors: 1; u8 sk_txtime_unused: 6; - bool sk_use_task_frag; - struct socket *sk_socket; void *sk_user_data; struct sock_cgroup_data sk_cgrp_data; - struct mem_cgroup *sk_memcg; void (*sk_state_change)(struct sock *); - void (*sk_data_ready)(struct sock *); void (*sk_write_space)(struct sock *); void (*sk_error_report)(struct sock *); int (*sk_backlog_rcv)(struct sock *, struct sk_buff *); @@ -25318,7 +27594,8 @@ struct sock { struct bpf_local_storage *sk_bpf_storage; struct callback_head sk_rcu; netns_tracker ns_tracker; - struct hlist_node sk_bind2_node; + struct xarray sk_user_frags; + long: 32; }; struct inet_cork { @@ -25331,8 +27608,9 @@ struct inet_cork { u8 tx_flags; __u8 ttl; __s16 tos; - char priority; + u32 priority; __u16 gso_size; + u32 ts_opt_id; u64 transmit_time; u32 mark; long: 32; @@ -25365,10 +27643,7 @@ struct inet_sock { int uc_index; int mc_index; __be32 mc_addr; - struct { - __u16 lo; - __u16 hi; - } local_port_range; + u32 local_port_range; struct ip_mc_socklist *mc_list; long: 32; struct inet_cork_full cork; @@ -25422,7 +27697,9 @@ struct inet_connection_sock { __u8 quick; __u8 pingpong; __u8 retry; - __u32 ato; + __u32 ato: 8; + __u32 lrcv_flowlabel: 20; + __u32 unused: 4; long unsigned int timeout; __u32 lrcvtime; __u16 last_seg_size; @@ -25449,7 +27726,6 @@ struct inet_connection_sock_af_ops { int (*conn_request)(struct sock *, struct sk_buff *); struct sock * (*syn_recv_sock)(const struct sock *, struct sk_buff *, struct request_sock *, struct dst_entry *, struct request_sock *, bool *); u16 net_header_len; - u16 net_frag_header_len; u16 sockaddr_len; int (*setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); int (*getsockopt)(struct sock *, int, int, char *, int *); @@ -25463,8 +27739,6 @@ struct inet_diag_bc_op { short unsigned int no; }; -struct bpf_sk_storage_diag; - struct inet_diag_dump_data { struct nlattr *req_nlas[4]; struct bpf_sk_storage_diag *bpf_stg_diag; @@ -25486,6 +27760,7 @@ struct inet_diag_req_v2; struct inet_diag_msg; struct inet_diag_handler { + struct module *owner; void (*dump)(struct sk_buff *, struct netlink_callback *, const struct inet_diag_req_v2 *); int (*dump_one)(struct netlink_callback *, const struct inet_diag_req_v2 *); void (*idiag_get_info)(struct sock *, struct inet_diag_msg *, void *); @@ -25718,21 +27993,25 @@ struct inet_timewait_death_row { struct inet_timewait_sock { struct sock_common __tw_common; __u32 tw_mark; - volatile unsigned char tw_substate; + unsigned char tw_substate; unsigned char tw_rcv_wscale; __be16 tw_sport; unsigned int tw_transparent: 1; unsigned int tw_flowlabel: 20; - unsigned int tw_pad: 3; + unsigned int tw_usec_ts: 1; + unsigned int tw_pad: 2; unsigned int tw_tos: 8; u32 tw_txhash; u32 tw_priority; + u32 tw_entry_stamp; struct timer_list tw_timer; struct inet_bind_bucket *tw_tb; struct inet_bind2_bucket *tw_tb2; - struct hlist_node tw_bind2_node; + long: 32; }; +struct inode_operations; + struct inode { umode_t i_mode; short unsigned int i_opflags; @@ -25749,16 +28028,20 @@ struct inode { }; dev_t i_rdev; loff_t i_size; - struct timespec64 i_atime; - struct timespec64 i_mtime; - struct timespec64 __i_ctime; + time64_t i_atime_sec; + time64_t i_mtime_sec; + time64_t i_ctime_sec; + u32 i_atime_nsec; + u32 i_mtime_nsec; + u32 i_ctime_nsec; + u32 i_generation; spinlock_t i_lock; short unsigned int i_bytes; u8 i_blkbits; - u8 i_write_hint; + enum rw_hint i_write_hint; long: 32; blkcnt_t i_blocks; - long unsigned int i_state; + u32 i_state; struct rw_semaphore i_rwsem; long unsigned int dirtied_when; long unsigned int dirtied_time_when; @@ -25783,16 +28066,17 @@ struct inode { }; struct file_lock_context *i_flctx; struct address_space i_data; - struct list_head i_devices; + union { + struct list_head i_devices; + int i_linklen; + }; union { struct pipe_inode_info *i_pipe; struct cdev *i_cdev; char *i_link; unsigned int i_dir_seq; }; - __u32 i_generation; void *i_private; - long: 32; }; struct mnt_idmap; @@ -25862,8 +28146,13 @@ struct interrupt_nmi_state {}; struct request; +struct rq_list { + struct request *head; + struct request *tail; +}; + struct io_comp_batch { - struct request *req_list; + struct rq_list req_list; bool need_ts; void (*complete)(struct io_comp_batch *); }; @@ -25874,82 +28163,6 @@ struct io_context { short unsigned int ioprio; }; -struct io_uring_sqe; - -struct io_uring_cmd { - struct file *file; - const struct io_uring_sqe *sqe; - union { - void (*task_work_cb)(struct io_uring_cmd *, unsigned int); - void *cookie; - }; - u32 cmd_op; - u32 flags; - u8 pdu[32]; -}; - -struct io_uring_sqe { - __u8 opcode; - __u8 flags; - __u16 ioprio; - __s32 fd; - union { - __u64 off; - __u64 addr2; - struct { - __u32 cmd_op; - __u32 __pad1; - }; - }; - union { - __u64 addr; - __u64 splice_off_in; - }; - __u32 len; - union { - __kernel_rwf_t rw_flags; - __u32 fsync_flags; - __u16 poll_events; - __u32 poll32_events; - __u32 sync_range_flags; - __u32 msg_flags; - __u32 timeout_flags; - __u32 accept_flags; - __u32 cancel_flags; - __u32 open_flags; - __u32 statx_flags; - __u32 fadvise_advice; - __u32 splice_flags; - __u32 rename_flags; - __u32 unlink_flags; - __u32 hardlink_flags; - __u32 xattr_flags; - __u32 msg_ring_flags; - __u32 uring_cmd_flags; - }; - __u64 user_data; - union { - __u16 buf_index; - __u16 buf_group; - }; - __u16 personality; - union { - __s32 splice_fd_in; - __u32 file_index; - struct { - __u16 addr_len; - __u16 __pad3[1]; - }; - }; - union { - struct { - __u64 addr3; - __u64 __pad2[1]; - }; - __u8 cmd[0]; - }; -}; - struct ioam6_hdr { __u8 opt_type; __u8 opt_len; @@ -26027,8 +28240,6 @@ struct iommu_device {}; struct iommu_group {}; -struct iommu_ops {}; - struct iovec { void *iov_base; __kernel_size_t iov_len; @@ -26038,14 +28249,9 @@ struct kvec; struct iov_iter { u8 iter_type; - bool copy_mc; bool nofault; bool data_source; - bool user_backed; - union { - size_t iov_offset; - int last_offset; - }; + size_t iov_offset; union { struct iovec __ubuf_iovec; struct { @@ -26053,15 +28259,16 @@ struct iov_iter { const struct iovec *__iov; const struct kvec *kvec; const struct bio_vec *bvec; + const struct folio_queue *folioq; struct xarray *xarray; void *ubuf; }; size_t count; }; }; - long: 32; union { long unsigned int nr_segs; + u8 folioq_slot; loff_t xarray_start; }; }; @@ -26134,12 +28341,6 @@ struct ip6_ra_chain { void (*destructor)(struct sock *); }; -struct ip6_rt_info { - struct in6_addr daddr; - struct in6_addr saddr; - u_int32_t mark; -}; - struct ip6_sf_list { struct ip6_sf_list *sf_next; struct in6_addr sf_addr; @@ -26245,6 +28446,8 @@ struct ip_mc_list { char loaded; unsigned char gsquery; unsigned char crcount; + long unsigned int mca_cstamp; + long unsigned int mca_tstamp; struct callback_head rcu; }; @@ -26309,13 +28512,6 @@ struct ip_reply_arg { kuid_t uid; }; -struct ip_rt_info { - __be32 daddr; - __be32 saddr; - u_int8_t tos; - u_int32_t mark; -}; - struct ip_sf_list { struct ip_sf_list *sf_next; long unsigned int sf_count[2]; @@ -26354,13 +28550,13 @@ struct iphdr { }; }; -struct ip_tunnel_parm { +struct ip_tunnel_parm_kern { char name[16]; - int link; - __be16 i_flags; - __be16 o_flags; + long unsigned int i_flags[1]; + long unsigned int o_flags[1]; __be32 i_key; __be32 o_key; + int link; struct iphdr iph; }; @@ -26389,7 +28585,7 @@ struct ip_tunnel { u8 dir; u16 hwid; struct dst_cache dst_cache; - struct ip_tunnel_parm parms; + struct ip_tunnel_parm_kern parms; int mlink; int encap_hlen; int hlen; @@ -26421,11 +28617,11 @@ struct ip_tunnel_key { struct in6_addr dst; } ipv6; } u; - __be16 tun_flags; - u8 tos; - u8 ttl; + long unsigned int tun_flags[1]; __be32 label; u32 nhid; + u8 tos; + u8 ttl; __be16 tp_src; __be16 tp_dst; __u8 flow_flags; @@ -26451,6 +28647,16 @@ struct ip_tunnel_net { int type; }; +struct ip_tunnel_parm { + char name[16]; + int link; + __be16 i_flags; + __be16 o_flags; + __be32 i_key; + __be32 o_key; + struct iphdr iph; +}; + struct ip_tunnel_prl { __be32 addr; __u16 flags; @@ -26513,6 +28719,8 @@ struct sockcm_cookie { u64 transmit_time; u32 mark; u32 tsflags; + u32 ts_opt_id; + u32 priority; }; struct ipcm6_cookie { @@ -26533,7 +28741,6 @@ struct ipcm_cookie { __u8 protocol; __u8 ttl; __s16 tos; - char priority; __u16 gso_size; long: 32; }; @@ -26545,6 +28752,7 @@ struct ipfrag_skb_cb { }; struct sk_buff *next_frag; int frag_run_len; + int ip_defrag_offset; }; struct ipq { @@ -26557,7 +28765,7 @@ struct ipq { }; struct ipstats_mib { - u64 mibs[37]; + u64 mibs[38]; struct u64_stats_sync syncp; long: 32; }; @@ -26572,9 +28780,10 @@ struct udp_table; struct ipv6_bpf_stub { int (*inet6_bind)(struct sock *, struct sockaddr *, int, u32); - struct sock * (*udp6_lib_lookup)(struct net *, const struct in6_addr *, __be16, const struct in6_addr *, __be16, int, int, struct udp_table *, struct sk_buff *); + struct sock * (*udp6_lib_lookup)(const struct net *, const struct in6_addr *, __be16, const struct in6_addr *, __be16, int, int, struct udp_table *, struct sk_buff *); int (*ipv6_setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); int (*ipv6_getsockopt)(struct sock *, int, int, sockptr_t, sockptr_t); + int (*ipv6_dev_get_saddr)(struct net *, const struct net_device *, const struct in6_addr *, unsigned int, struct in6_addr *); }; struct ipv6_fl_socklist { @@ -26613,11 +28822,8 @@ struct ipv6_pinfo { const struct in6_addr *daddr_cache; __be32 flow_label; __u32 frag_size; - __s16 hop_limit: 9; - __u16 __unused_1: 7; - __s16 mcast_hops: 9; - __u16 __unused_2: 6; - __u16 mc_loop: 1; + s16 hop_limit; + u8 mcast_hops; int ucast_oif; int mcast_oif; union { @@ -26640,18 +28846,8 @@ struct ipv6_pinfo { } bits; __u16 all; } rxopt; - __u16 recverr: 1; - __u16 sndflow: 1; - __u16 repflow: 1; - __u16 pmtudisc: 3; - __u16 padding: 1; - __u16 srcprefs: 3; - __u16 dontfrag: 1; - __u16 autoflowlabel: 1; - __u16 autoflowlabel_set: 1; - __u16 mc_all: 1; - __u16 recverr_rfc4884: 1; - __u16 rtalert_isolate: 1; + __u8 srcprefs; + __u8 pmtudisc; __u8 min_hopcount; __u8 tclass; __be32 rcv_flowinfo; @@ -26739,11 +28935,12 @@ struct ipv6_stub { void (*fib6_update_sernum)(struct net *, struct fib6_info *); int (*ip6_del_rt)(struct net *, struct fib6_info *, bool); void (*fib6_rt_update)(struct net *, struct fib6_info *, struct nl_info *); - void (*udpv6_encap_enable)(); + void (*udpv6_encap_enable)(void); void (*ndisc_send_na)(struct net_device *, const struct in6_addr *, const struct in6_addr *, bool, bool, bool, bool); struct neigh_table *nd_tbl; int (*ipv6_fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *)); struct net_device * (*ipv6_dev_find)(struct net *, const struct in6_addr *, struct net_device *); + int (*ip6_xmit)(const struct sock *, struct sk_buff *, struct flowi6 *, __u32, struct ipv6_txoptions *, int, u32); }; struct ipv6_txoptions { @@ -26843,7 +29040,6 @@ struct irq_chip_regs { long unsigned int ack; long unsigned int eoi; long unsigned int type; - long unsigned int polarity; }; struct irq_desc; @@ -26871,8 +29067,6 @@ struct irq_chip_generic { unsigned int irq_base; unsigned int irq_cnt; u32 mask_cache; - u32 type_cache; - u32 polarity_cache; u32 wake_enabled; u32 wake_active; unsigned int num_ct; @@ -26895,19 +29089,21 @@ struct irq_common_data { struct irq_data { u32 mask; unsigned int irq; - long unsigned int hwirq; + irq_hw_number_t hwirq; struct irq_common_data *common; struct irq_chip *chip; struct irq_domain *domain; void *chip_data; }; +struct irqstat; + struct irqaction; struct irq_desc { struct irq_common_data irq_common_data; struct irq_data irq_data; - unsigned int *kstat_irqs; + struct irqstat *kstat_irqs; irq_flow_handler_t handle_irq; struct irqaction *action; unsigned int status_use_accessors; @@ -26962,6 +29158,7 @@ struct irq_domain { struct irq_domain_chip_generic *gc; struct device *dev; struct device *pm_dev; + void (*exit)(struct irq_domain *); irq_hw_number_t hwirq_max; unsigned int revmap_size; struct xarray revmap_tree; @@ -26974,9 +29171,39 @@ struct irq_domain_chip_generic { unsigned int irq_flags_to_clear; unsigned int irq_flags_to_set; enum irq_gc_flags gc_flags; + void (*exit)(struct irq_chip_generic *); struct irq_chip_generic *gc[0]; }; +struct irq_domain_chip_generic_info { + const char *name; + irq_flow_handler_t handler; + unsigned int irqs_per_chip; + unsigned int num_ct; + unsigned int irq_flags_to_clear; + unsigned int irq_flags_to_set; + enum irq_gc_flags gc_flags; + int (*init)(struct irq_chip_generic *); + void (*exit)(struct irq_chip_generic *); +}; + +struct irq_domain_info { + struct fwnode_handle *fwnode; + unsigned int domain_flags; + unsigned int size; + irq_hw_number_t hwirq_max; + int direct_max; + unsigned int hwirq_base; + unsigned int virq_base; + enum irq_domain_bus_token bus_token; + const char *name_suffix; + const struct irq_domain_ops *ops; + void *host_data; + struct irq_domain_chip_generic_info *dgc_info; + int (*init)(struct irq_domain *); + void (*exit)(struct irq_domain *); +}; + struct irq_fwspec; struct irq_domain_ops { @@ -27018,6 +29245,10 @@ struct irqchip_fwid { phys_addr_t *pa; }; +struct irqstat { + unsigned int cnt; +}; + struct itimerspec64 { struct timespec64 it_interval; struct timespec64 it_value; @@ -27027,7 +29258,7 @@ typedef void __signalfn_t(int); typedef __signalfn_t *__sighandler_t; -typedef void __restorefn_t(); +typedef void __restorefn_t(void); typedef __restorefn_t *__sigrestore_t; @@ -27085,7 +29316,7 @@ struct kernel_clone_args { void *fn_arg; struct cgroup *cgrp; struct css_set *cset; - long: 32; + unsigned int kill_seq; }; struct kernel_cpustat { @@ -27100,6 +29331,17 @@ struct kernel_ethtool_ringparam { u32 cqe_size; u32 tx_push_buf_len; u32 tx_push_buf_max_len; + u32 hds_thresh; + u32 hds_thresh_max; +}; + +struct kernel_ethtool_ts_info { + u32 cmd; + u32 so_timestamping; + int phc_index; + enum hwtstamp_provider_qualifier phc_qualifier; + enum hwtstamp_tx_types tx_types; + enum hwtstamp_rx_filters rx_filters; }; struct kernel_hwtstamp_config { @@ -27109,6 +29351,7 @@ struct kernel_hwtstamp_config { struct ifreq *ifr; bool copied_to_user; enum hwtstamp_source source; + enum hwtstamp_provider_qualifier qualifier; }; struct kernel_param_ops; @@ -27160,6 +29403,19 @@ struct kernel_symbol { const char *namespace; }; +struct xattr_name; + +struct kernel_xattr_ctx { + union { + const void *cvalue; + void *value; + }; + void *kvalue; + size_t size; + struct xattr_name *kname; + unsigned int flags; +}; + struct kernfs_open_node; struct kernfs_ops; @@ -27195,18 +29451,17 @@ struct kernfs_node { struct rb_node rb; const void *ns; unsigned int hash; - long: 32; + short unsigned int flags; + umode_t mode; union { struct kernfs_elem_dir dir; struct kernfs_elem_symlink symlink; struct kernfs_elem_attr attr; }; - void *priv; - long: 32; u64 id; - short unsigned int flags; - umode_t mode; + void *priv; struct kernfs_iattrs *iattr; + struct callback_head rcu; }; struct vm_operations_struct; @@ -27240,6 +29495,7 @@ struct kernfs_ops { ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t); __poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *); int (*mmap)(struct kernfs_open_file *, struct vm_area_struct *); + loff_t (*llseek)(struct kernfs_open_file *, loff_t, int); }; struct key_vector { @@ -27256,6 +29512,38 @@ struct key_vector { }; }; +struct rcu_gp_oldstate { + long unsigned int rgos_norm; +}; + +struct kfree_rcu_cpu; + +struct kfree_rcu_cpu_work { + struct rcu_work rcu_work; + struct callback_head *head_free; + struct rcu_gp_oldstate head_free_gp_snap; + struct list_head bulk_head_free[2]; + struct kfree_rcu_cpu *krcp; +}; + +struct kfree_rcu_cpu { + struct callback_head *head; + long unsigned int head_gp_snap; + atomic_t head_count; + struct list_head bulk_head[2]; + atomic_t bulk_count[2]; + struct kfree_rcu_cpu_work krw_arr[2]; + raw_spinlock_t lock; + struct delayed_work monitor_work; + bool initialized; + struct delayed_work page_cache_work; + atomic_t backoff_page_cache_fill; + atomic_t work_in_progress; + struct hrtimer hrtimer; + struct llist_head bkvcache; + int nr_bkv_objs; +}; + struct wait_page_queue; struct kiocb { @@ -27292,6 +29580,8 @@ struct kmalloced_param { struct kmap_ctrl {}; +typedef struct kmem_cache *kmem_buckets[14]; + struct reciprocal_value { u32 m; u8 sh1; @@ -27324,6 +29614,20 @@ struct kmem_cache { struct kmem_cache_node *node[1]; }; +struct kmem_cache_args { + unsigned int align; + unsigned int useroffset; + unsigned int usersize; + unsigned int freeptr_offset; + bool use_freeptr_offset; + void (*ctor)(void *); +}; + +union kmem_cache_iter_priv { + struct bpf_iter_kmem_cache it; + struct bpf_iter_kmem_cache_kern kit; +}; + struct kmem_cache_node { spinlock_t list_lock; long unsigned int nr_partial; @@ -27345,10 +29649,10 @@ struct kobj_map { struct kobj_ns_type_operations { enum kobj_ns_type type; - bool (*current_may_mount)(); - void * (*grab_current_ns)(); + bool (*current_may_mount)(void); + void * (*grab_current_ns)(void); const void * (*netlink_ns)(struct sock *); - const void * (*initial_ns)(); + const void * (*initial_ns)(void); void (*drop_ns)(void *); }; @@ -27424,7 +29728,7 @@ struct kprobe_ctlblk { struct kprobe_insn_cache { struct mutex mutex; - void * (*alloc)(); + void * (*alloc)(void); void (*free)(void *); const char *sym; struct list_head pages; @@ -27450,7 +29754,7 @@ struct kretprobe_instance; typedef int (*kretprobe_handler_t)(struct kretprobe_instance *, struct pt_regs *); -struct kretprobe_holder; +struct rethook; struct kretprobe { struct kprobe kp; @@ -27459,8 +29763,7 @@ struct kretprobe { int maxactive; int nmissed; size_t data_size; - struct freelist_head freelist; - struct kretprobe_holder *rph; + struct rethook *rh; }; struct kretprobe_blackpoint { @@ -27468,20 +29771,16 @@ struct kretprobe_blackpoint { void *addr; }; -struct kretprobe_holder { - struct kretprobe *rp; - refcount_t ref; +struct rethook_node { + struct callback_head rcu; + struct llist_node llist; + struct rethook *rethook; + long unsigned int ret_addr; + long unsigned int frame; }; struct kretprobe_instance { - union { - struct freelist_node freelist; - struct callback_head rcu; - }; - struct llist_node llist; - struct kretprobe_holder *rph; - kprobe_opcode_t *ret_addr; - void *fp; + struct rethook_node node; char data[0]; }; @@ -27531,9 +29830,14 @@ struct kstat { struct timespec64 btime; u64 blocks; u64 mnt_id; + u64 change_cookie; + u64 subvol; u32 dio_mem_align; u32 dio_offset_align; - u64 change_cookie; + u32 dio_read_offset_align; + u32 atomic_write_unit_min; + u32 atomic_write_unit_max; + u32 atomic_write_segments_max; }; struct kstatfs { @@ -27552,6 +29856,65 @@ struct kstatfs { long: 32; }; +struct statmount { + __u32 size; + __u32 mnt_opts; + __u64 mask; + __u32 sb_dev_major; + __u32 sb_dev_minor; + __u64 sb_magic; + __u32 sb_flags; + __u32 fs_type; + __u64 mnt_id; + __u64 mnt_parent_id; + __u32 mnt_id_old; + __u32 mnt_parent_id_old; + __u64 mnt_attr; + __u64 mnt_propagation; + __u64 mnt_peer_group; + __u64 mnt_master; + __u64 propagate_from; + __u32 mnt_root; + __u32 mnt_point; + __u64 mnt_ns_id; + __u32 fs_subtype; + __u32 sb_source; + __u32 opt_num; + __u32 opt_array; + __u32 opt_sec_num; + __u32 opt_sec_array; + __u64 __spare2[46]; + char str[0]; +}; + +struct seq_file { + char *buf; + size_t size; + size_t from; + size_t count; + size_t pad_until; + long: 32; + loff_t index; + loff_t read_pos; + struct mutex lock; + const struct seq_operations *op; + int poll_event; + const struct file *file; + void *private; + long: 32; +}; + +struct kstatmount { + struct statmount *buf; + size_t bufsize; + struct vfsmount *mnt; + long: 32; + u64 mask; + struct path root; + struct statmount sm; + struct seq_file seq; +}; + struct ktermios { tcflag_t c_iflag; tcflag_t c_oflag; @@ -27566,12 +29929,17 @@ struct ktermios { struct kthread { long unsigned int flags; unsigned int cpu; + unsigned int node; + int started; int result; int (*threadfn)(void *); void *data; struct completion parked; struct completion exited; char *full_name; + struct task_struct *task; + struct list_head hotplug_node; + struct cpumask *preferred_affinity; }; struct kthread_create_info { @@ -27616,10 +29984,11 @@ struct kthread_worker { struct kthread_work *current_work; }; -struct ktime_timestamps { - u64 mono; - u64 boot; - u64 real; +struct kvfree_rcu_bulk_data { + struct list_head list; + struct rcu_gp_oldstate gp_snap; + long unsigned int nr_records; + void *records[0]; }; struct latch_tree_ops { @@ -27640,6 +30009,13 @@ struct ld_semaphore { struct list_head write_wait; }; +struct lease_manager_operations { + bool (*lm_break)(struct file_lease *); + int (*lm_change)(struct file_lease *, int, struct list_head *); + void (*lm_setup)(struct file_lease *, void **); + bool (*lm_breaker_owns_lease)(struct file_lease *); +}; + struct legacy_fs_context { char *legacy_data; size_t data_size; @@ -27657,6 +30033,20 @@ struct link_mode_info { u8 duplex; }; +struct linked_reg { + u8 frameno; + union { + u8 spi; + u8 regno; + }; + bool is_reg; +}; + +struct linked_regs { + int cnt; + struct linked_reg entries[6]; +}; + struct linkinfo_reply_data { struct ethnl_reply_data base; struct ethtool_link_ksettings ksettings; @@ -27698,13 +30088,15 @@ struct rlimit { struct linux_binprm { struct vm_area_struct *vma; long unsigned int vma_pages; + long unsigned int argmin; struct mm_struct *mm; long unsigned int p; - long unsigned int argmin; unsigned int have_execfd: 1; unsigned int execfd_creds: 1; unsigned int secureexec: 1; unsigned int point_of_no_return: 1; + unsigned int comm_from_dentry: 1; + unsigned int is_check: 1; struct file *executable; struct file *interpreter; struct file *file; @@ -27745,7 +30137,7 @@ struct linux_dirent64 { }; struct linux_mib { - long unsigned int mibs[127]; + long unsigned int mibs[133]; }; struct list_lru_node; @@ -27757,12 +30149,12 @@ struct list_lru { struct list_lru_one { struct list_head list; long int nr_items; + spinlock_t lock; }; struct list_lru_node { - spinlock_t lock; struct list_lru_one lru; - long int nr_items; + atomic_long_t nr_items; }; struct listeners { @@ -27791,12 +30183,13 @@ struct load_info { unsigned int vers; unsigned int info; unsigned int pcpu; + unsigned int vers_ext_crc; + unsigned int vers_ext_name; } index; }; struct local_ports { - seqlock_t lock; - int range[2]; + u32 range; bool warned; }; @@ -27806,12 +30199,8 @@ struct lock_manager_operations { void (*lm_put_owner)(fl_owner_t); void (*lm_notify)(struct file_lock *); int (*lm_grant)(struct file_lock *, int); - bool (*lm_break)(struct file_lock *); - int (*lm_change)(struct file_lock *, int, struct list_head *); - void (*lm_setup)(struct file_lock *, void **); - bool (*lm_breaker_owns_lease)(struct file_lock *); bool (*lm_lock_expirable)(struct file_lock *); - void (*lm_expire_lock)(); + void (*lm_expire_lock)(void); }; struct logic_pio_host_ops { @@ -27823,7 +30212,7 @@ struct logic_pio_host_ops { struct logic_pio_hwaddr { struct list_head list; - struct fwnode_handle *fwnode; + const struct fwnode_handle *fwnode; resource_size_t hw_start; resource_size_t io_start; resource_size_t size; @@ -27847,28 +30236,21 @@ struct lpm_trie_node; struct lpm_trie { struct bpf_map map; struct lpm_trie_node *root; + struct bpf_mem_alloc ma; size_t n_entries; size_t max_prefixlen; size_t data_size; - spinlock_t lock; - long: 32; - long: 32; - long: 32; - long: 32; + raw_spinlock_t lock; }; struct lpm_trie_node { - struct callback_head rcu; struct lpm_trie_node *child[2]; u32 prefixlen; u32 flags; u8 data[0]; }; -struct lru_rotate { - local_lock_t lock; - struct folio_batch fbatch; -}; +struct zswap_lruvec_state {}; struct lruvec { struct list_head lists[5]; @@ -27878,6 +30260,19 @@ struct lruvec { atomic_long_t nonresident_age; long unsigned int refaults[2]; long unsigned int flags; + struct zswap_lruvec_state zswap_lruvec_state; +}; + +struct lsm_context { + char *context; + u32 len; + int id; +}; + +struct lwq { + spinlock_t lock; + struct llist_node *ready; + struct llist_head new; }; struct lwtunnel_encap_ops { @@ -27903,25 +30298,6 @@ struct lwtunnel_state { __u8 data[0]; }; -struct maple_enode; - -struct maple_tree; - -struct maple_alloc; - -struct ma_state { - struct maple_tree *tree; - long unsigned int index; - long unsigned int last; - struct maple_enode *node; - long unsigned int min; - long unsigned int max; - struct maple_alloc *alloc; - unsigned char depth; - unsigned char offset; - unsigned char mas_flags; -}; - struct ma_topiary { struct maple_enode *head; struct maple_enode *tail; @@ -27937,7 +30313,6 @@ struct ma_wr_state { long unsigned int r_max; enum maple_type type; unsigned char offset_end; - unsigned char node_end; long unsigned int *pivots; long unsigned int end_piv; void **slots; @@ -27958,57 +30333,58 @@ struct pci_bus; struct machdep_calls { const char *name; const char *compatible; + const char * const *compatibles; void (*dma_set_mask)(struct device *, u64); - int (*probe)(); - void (*setup_arch)(); + int (*probe)(void); + void (*setup_arch)(void); void (*show_cpuinfo)(struct seq_file *); long unsigned int (*get_proc_freq)(unsigned int); - void (*init_IRQ)(); - unsigned int (*get_irq)(); - void (*pcibios_fixup)(); + void (*init_IRQ)(void); + unsigned int (*get_irq)(void); + void (*pcibios_fixup)(void); void (*pci_irq_fixup)(struct pci_dev *); int (*pcibios_root_bridge_prepare)(struct pci_host_bridge *); - void (*discover_phbs)(); + void (*discover_phbs)(void); int (*pci_setup_phb)(struct pci_controller *); void (*restart)(char *); - void (*halt)(); + void (*halt)(void); void (*panic)(char *); - long int (*time_init)(); + long int (*time_init)(void); int (*set_rtc_time)(struct rtc_time *); void (*get_rtc_time)(struct rtc_time *); - time64_t (*get_boot_time)(); - void (*calibrate_decr)(); + time64_t (*get_boot_time)(void); + void (*calibrate_decr)(void); void (*progress)(char *, short unsigned int); void (*log_error)(char *, unsigned int, int); unsigned char (*nvram_read_val)(int); void (*nvram_write_val)(int, unsigned char); ssize_t (*nvram_write)(char *, size_t, loff_t *); ssize_t (*nvram_read)(char *, size_t, loff_t *); - ssize_t (*nvram_size)(); - void (*nvram_sync)(); + ssize_t (*nvram_size)(void); + void (*nvram_sync)(void); int (*system_reset_exception)(struct pt_regs *); int (*machine_check_exception)(struct pt_regs *); int (*handle_hmi_exception)(struct pt_regs *); int (*hmi_exception_early)(struct pt_regs *); long int (*machine_check_early)(struct pt_regs *); bool (*mce_check_early_recovery)(struct pt_regs *); - void (*machine_check_log_err)(); + void (*machine_check_log_err)(void); long int (*feature_call)(unsigned int, ...); int (*pci_get_legacy_ide_irq)(struct pci_dev *, int); - pgprot_t (*phys_mem_access_prot)(struct file *, long unsigned int, long unsigned int, pgprot_t); - void (*power_save)(); - void (*enable_pmcs)(); + pgprot_t (*phys_mem_access_prot)(long unsigned int, long unsigned int, pgprot_t); + void (*power_save)(void); + void (*enable_pmcs)(void); int (*set_dabr)(long unsigned int, long unsigned int); int (*set_dawr)(int, long unsigned int, long unsigned int); - void (*init)(); - void (*pcibios_after_init)(); + void (*init)(void); + void (*pcibios_after_init)(void); int (*pci_exclude_device)(struct pci_controller *, unsigned char, unsigned char); void (*pcibios_fixup_resources)(struct pci_dev *); void (*pcibios_fixup_bus)(struct pci_bus *); void (*pcibios_fixup_phb)(struct pci_controller *); void (*pcibios_bus_add_device)(struct pci_dev *); - resource_size_t (*pcibios_default_alignment)(); - void (*machine_shutdown)(); + resource_size_t (*pcibios_default_alignment)(void); + void (*machine_shutdown)(void); int (*get_random_seed)(long unsigned int *); }; @@ -28050,7 +30426,6 @@ struct maple_arange_64 { }; struct maple_big_node { - struct maple_pnode *parent; long unsigned int pivot[65]; union { struct maple_enode *slot[66]; @@ -28152,15 +30527,17 @@ struct mdio_device { struct device dev; struct mii_bus *bus; char modalias[32]; - int (*bus_match)(struct device *, struct device_driver *); + int (*bus_match)(struct device *, const struct device_driver *); void (*device_free)(struct mdio_device *); void (*device_remove)(struct mdio_device *); int addr; int flags; + int reset_state; struct gpio_desc *reset_gpio; struct reset_control *reset_ctrl; unsigned int reset_assert_delay; unsigned int reset_deassert_delay; + long: 32; }; struct mdio_driver_common { @@ -28174,7 +30551,7 @@ typedef struct pglist_data pg_data_t; struct mem_cgroup_reclaim_cookie { pg_data_t *pgdat; - unsigned int generation; + int generation; }; struct quota_format_type; @@ -28229,6 +30606,8 @@ struct memdev { }; struct memory_notify { + long unsigned int altmap_start_pfn; + long unsigned int altmap_nr_pages; long unsigned int start_pfn; long unsigned int nr_pages; int status_change_nid_normal; @@ -28259,6 +30638,7 @@ struct migration_target_control { int nid; nodemask_t *nmask; gfp_t gfp_mask; + enum migrate_reason reason; }; struct phy_package_shared; @@ -28298,24 +30678,26 @@ struct mii_bus { struct mii_timestamper { bool (*rxtstamp)(struct mii_timestamper *, struct sk_buff *, int); void (*txtstamp)(struct mii_timestamper *, struct sk_buff *, int); - int (*hwtstamp)(struct mii_timestamper *, struct ifreq *); + int (*hwtstamp)(struct mii_timestamper *, struct kernel_hwtstamp_config *, struct netlink_ext_ack *); void (*link_state)(struct mii_timestamper *, struct phy_device *); - int (*ts_info)(struct mii_timestamper *, struct ethtool_ts_info *); + int (*ts_info)(struct mii_timestamper *, struct kernel_ethtool_ts_info *); struct device *device; }; -struct min_heap { - void *data; - int nr; - int size; +struct min_heap_callbacks { + bool (*less)(const void *, const void *, void *); + void (*swp)(void *, void *, void *); }; -struct min_heap_callbacks { - int elem_size; - bool (*less)(const void *, const void *); - void (*swp)(void *, void *); +struct min_heap_char { + size_t nr; + size_t size; + char *data; + char preallocated[0]; }; +typedef struct min_heap_char min_heap_char; + struct tcf_proto; struct mini_Qdisc { @@ -28406,7 +30788,6 @@ struct mm_struct { atomic_t mm_count; }; struct maple_tree mm_mt; - long unsigned int (*get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); long unsigned int mmap_base; long unsigned int mmap_legacy_base; long unsigned int task_size; @@ -28421,7 +30802,6 @@ struct mm_struct { long unsigned int hiwater_vm; long unsigned int total_vm; long unsigned int locked_vm; - long: 32; atomic64_t pinned_vm; long unsigned int data_vm; long unsigned int exec_vm; @@ -28482,9 +30862,49 @@ struct mm_walk_ops { int (*test_walk)(long unsigned int, long unsigned int, struct mm_walk *); int (*pre_vma)(long unsigned int, long unsigned int, struct mm_walk *); void (*post_vma)(struct mm_walk *); + int (*install_pte)(long unsigned int, long unsigned int, pte_t *, struct mm_walk *); enum page_walk_lock walk_lock; }; +struct vma_munmap_struct { + struct vma_iterator *vmi; + struct vm_area_struct *vma; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct list_head *uf; + long unsigned int start; + long unsigned int end; + long unsigned int unmap_start; + long unsigned int unmap_end; + int vma_count; + bool unlock; + bool clear_ptes; + long unsigned int nr_pages; + long unsigned int locked_vm; + long unsigned int nr_accounted; + long unsigned int exec_vm; + long unsigned int stack_vm; + long unsigned int data_vm; +}; + +struct mmap_state { + struct mm_struct *mm; + struct vma_iterator *vmi; + long unsigned int addr; + long unsigned int end; + long unsigned int pgoff; + long unsigned int pglen; + long unsigned int flags; + struct file *file; + long unsigned int charged; + bool retry_merge; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct vma_munmap_struct vms; + struct ma_state mas_detach; + struct maple_tree mt_detach; +}; + struct mmap_unlock_irq_work { struct irq_work irq_work; struct mm_struct *mm; @@ -28555,8 +30975,36 @@ struct mmu_table_batch { void *tables[0]; }; +struct mnt_id_req { + __u32 size; + __u32 spare; + __u64 mnt_id; + __u64 param; + __u64 mnt_ns_id; +}; + +struct uid_gid_extent { + u32 first; + u32 lower_first; + u32 count; +}; + +struct uid_gid_map { + union { + struct { + struct uid_gid_extent extent[5]; + u32 nr_extents; + }; + struct { + struct uid_gid_extent *forward; + struct uid_gid_extent *reverse; + }; + }; +}; + struct mnt_idmap { - struct user_namespace *owner; + struct uid_gid_map uid_map; + struct uid_gid_map gid_map; refcount_t count; }; @@ -28565,28 +31013,37 @@ struct mount; struct mnt_namespace { struct ns_common ns; struct mount *root; - struct list_head list; - spinlock_t ns_lock; + struct { + struct rb_root mounts; + struct rb_node *mnt_last_node; + struct rb_node *mnt_first_node; + }; struct user_namespace *user_ns; struct ucounts *ucounts; - long: 32; u64 seq; - wait_queue_head_t poll; + union { + wait_queue_head_t poll; + struct callback_head mnt_ns_rcu; + }; u64 event; - unsigned int mounts; + unsigned int nr_mounts; unsigned int pending_mounts; + struct rb_node mnt_ns_tree_node; + struct list_head mnt_ns_list; + refcount_t passive; }; -struct bug_entry; +struct mnt_ns_info { + __u32 size; + __u32 nr_mounts; + __u64 mnt_ns_id; +}; struct mod_arch_specific { unsigned int core_plt_section; unsigned int init_plt_section; long unsigned int tramp; long unsigned int tramp_regs; - struct list_head bug_list; - struct bug_entry *bug_table; - unsigned int num_bugs; }; struct mod_initfree { @@ -28628,6 +31085,8 @@ struct module_kobject { struct module_memory { void *base; + void *rw_copy; + bool is_rox; unsigned int size; struct mod_tree_node mtn; }; @@ -28654,18 +31113,18 @@ struct module { const char *srcversion; struct kobject *holders_dir; const struct kernel_symbol *syms; - const s32 *crcs; + const u32 *crcs; unsigned int num_syms; struct kernel_param *kp; unsigned int num_kp; unsigned int num_gpl_syms; const struct kernel_symbol *gpl_syms; - const s32 *gpl_crcs; + const u32 *gpl_crcs; bool using_gplonly_symbols; bool async_probe_requested; unsigned int num_exentries; struct exception_table_entry *extable; - int (*init)(); + int (*init)(void); long: 32; struct module_memory mem[7]; struct mod_arch_specific arch; @@ -28682,7 +31141,9 @@ struct module { unsigned int num_bpf_raw_events; struct bpf_raw_event_map *bpf_raw_events; unsigned int btf_data_size; + unsigned int btf_base_data_size; void *btf_data; + void *btf_base_data; unsigned int num_trace_bprintk_fmt; const char **trace_bprintk_fmt_start; struct trace_event_call **trace_events; @@ -28695,16 +31156,12 @@ struct module { unsigned int kprobes_text_size; long unsigned int *kprobe_blacklist; unsigned int num_kprobe_blacklist; - long: 32; - long: 32; - long: 32; - long: 32; }; struct module_attribute { struct attribute attr; - ssize_t (*show)(struct module_attribute *, struct module_kobject *, char *); - ssize_t (*store)(struct module_attribute *, struct module_kobject *, const char *, size_t); + ssize_t (*show)(const struct module_attribute *, struct module_kobject *, char *); + ssize_t (*store)(const struct module_attribute *, struct module_kobject *, const char *, size_t); void (*setup)(struct module *, const char *); int (*test)(struct module *); void (*free)(struct module *); @@ -28747,6 +31204,7 @@ struct mount { struct dentry *mnt_mountpoint; struct vfsmount mnt; union { + struct rb_node mnt_node; struct callback_head mnt_rcu; struct llist_node mnt_llist; }; @@ -28770,6 +31228,7 @@ struct mount { }; struct list_head mnt_umounting; int mnt_id; + u64 mnt_id_unique; int mnt_group_id; int mnt_expiry_mark; struct hlist_head mnt_pins; @@ -28834,7 +31293,7 @@ struct msghdr { __kernel_size_t msg_controllen; struct kiocb *msg_iocb; struct ubuf_info *msg_ubuf; - int (*sg_from_iter)(struct sock *, struct sk_buff *, struct iov_iter *, size_t); + int (*sg_from_iter)(struct sk_buff *, struct iov_iter *, size_t); long: 32; }; @@ -28909,6 +31368,10 @@ struct multiprocess_signals { struct hlist_node node; }; +typedef struct mutex *class_mutex_t; + +typedef class_mutex_t class_mutex_intr_t; + struct ww_acquire_ctx; struct mutex_waiter { @@ -28919,7 +31382,8 @@ struct mutex_waiter { struct name_snapshot { struct qstr name; - unsigned char inline_name[40]; + union shortname_store inline_name; + long: 32; }; struct saved { @@ -28946,35 +31410,34 @@ struct nameidata { struct saved *stack; struct saved internal[2]; struct filename *name; + const char *pathname; struct nameidata *saved; unsigned int root_seq; int dfd; vfsuid_t dir_vfsuid; umode_t dir_mode; - long: 32; }; struct page_frag_cache { - void *va; + long unsigned int encoded_page; __u16 offset; - __u16 size; - unsigned int pagecnt_bias; - bool pfmemalloc; -}; - -struct page_frag_1k { - void *va; - u16 offset; - bool pfmemalloc; + __u16 pagecnt_bias; }; struct napi_alloc_cache { + local_lock_t bh_lock; struct page_frag_cache page; - struct page_frag_1k page_small; unsigned int skb_count; void *skb_cache[64]; }; +struct napi_config { + u64 gro_flush_timeout; + u64 irq_suspend_timeout; + u32 defer_hard_irqs; + unsigned int napi_id; +}; + struct napi_gro_cb { union { struct { @@ -28988,9 +31451,9 @@ struct napi_gro_cb { }; int data_offset; u16 flush; - u16 flush_id; u16 count; u16 proto; + u16 pad; union { struct { u16 gro_remcsum_start; @@ -29001,7 +31464,7 @@ struct napi_gro_cb { u8 free: 2; u8 is_ipv6: 1; u8 is_fou: 1; - u8 is_atomic: 1; + u8 ip_fixedid: 1; u8 recursion_counter: 4; u8 is_flist: 1; }; @@ -29014,12 +31477,27 @@ struct napi_gro_cb { u8 free: 2; u8 is_ipv6: 1; u8 is_fou: 1; - u8 is_atomic: 1; + u8 ip_fixedid: 1; u8 recursion_counter: 4; u8 is_flist: 1; } zeroed; }; __wsum csum; + union { + struct { + u16 network_offset; + u16 inner_network_offset; + }; + u16 network_offsets[2]; + }; +}; + +struct nbcon_write_context { + struct nbcon_context ctxt; + char *outbuf; + unsigned int len; + bool unsafe_takeover; + long: 32; }; struct nd_msg { @@ -29045,7 +31523,6 @@ struct ndisc_options; struct prefix_info; struct ndisc_ops { - int (*is_useropt)(u8); int (*parse_options)(const struct net_device *, struct nd_opt_hdr *, struct ndisc_options *); void (*update)(const struct net_device *, struct neighbour *, u32, u8, const struct ndisc_options *); int (*opt_addr_space)(const struct net_device *, u8, struct neighbour *, u8 *, u8 **); @@ -29069,6 +31546,11 @@ struct ndmsg { __u8 ndm_type; }; +struct ndo_fdb_dump_context { + long unsigned int ifindex; + long unsigned int fdb_idx; +}; + struct ndt_config { __u16 ndtc_key_len; __u16 ndtc_entry_size; @@ -29118,7 +31600,7 @@ struct neigh_dump_filter { }; struct neigh_hash_table { - struct neighbour **hash_buckets; + struct hlist_head *hash_heads; unsigned int hash_shift; __u32 hash_rnd[4]; struct callback_head rcu; @@ -29203,7 +31685,8 @@ struct neigh_table { }; struct neighbour { - struct neighbour *next; + struct hlist_node hash; + struct hlist_node dev_list; struct neigh_table *tbl; struct neigh_parms *parms; long unsigned int confirmed; @@ -29221,6 +31704,7 @@ struct neighbour { u8 protocol; u32 flags; seqlock_t ha_lock; + long: 32; unsigned char ha[32]; struct hh_cache hh; int (*output)(struct neighbour *, struct sk_buff *); @@ -29253,7 +31737,9 @@ struct raw_notifier_head { struct netns_core { struct ctl_table_header *sysctl_hdr; int sysctl_somaxconn; + int sysctl_optmem_max; u8 sysctl_txrehash; + u8 sysctl_tstamp_allow_data; }; struct tcp_mib; @@ -29295,6 +31781,28 @@ struct ping_group_range { }; struct netns_ipv4 { + __u8 __cacheline_group_begin__netns_ipv4_read_tx[0]; + u8 sysctl_tcp_early_retrans; + u8 sysctl_tcp_tso_win_divisor; + u8 sysctl_tcp_tso_rtt_log; + u8 sysctl_tcp_autocorking; + int sysctl_tcp_min_snd_mss; + unsigned int sysctl_tcp_notsent_lowat; + int sysctl_tcp_limit_output_bytes; + int sysctl_tcp_min_rtt_wlen; + int sysctl_tcp_wmem[3]; + u8 sysctl_ip_fwd_use_pmtu; + __u8 __cacheline_group_end__netns_ipv4_read_tx[0]; + __u8 __cacheline_group_begin__netns_ipv4_read_txrx[0]; + u8 sysctl_tcp_moderate_rcvbuf; + __u8 __cacheline_group_end__netns_ipv4_read_txrx[0]; + __u8 __cacheline_group_begin__netns_ipv4_read_rx[0]; + u8 sysctl_ip_early_demux; + u8 sysctl_tcp_early_demux; + u8 sysctl_tcp_l3mdev_accept; + int sysctl_tcp_reordering; + int sysctl_tcp_rmem[3]; + __u8 __cacheline_group_end__netns_ipv4_read_rx[0]; struct inet_timewait_death_row tcp_death_row; struct udp_table *udp_table; struct ipv4_devconf *devconf_all; @@ -29316,6 +31824,10 @@ struct netns_ipv4 { u8 sysctl_icmp_errors_use_inbound_ifaddr; int sysctl_icmp_ratelimit; int sysctl_icmp_ratemask; + int sysctl_icmp_msgs_per_sec; + int sysctl_icmp_msgs_burst; + atomic_t icmp_global_credit; + u32 icmp_global_stamp; u32 ip_rt_min_pmtu; int ip_rt_mtu_expires; int ip_rt_min_advmss; @@ -29324,13 +31836,10 @@ struct netns_ipv4 { u8 sysctl_tcp_ecn_fallback; u8 sysctl_ip_default_ttl; u8 sysctl_ip_no_pmtu_disc; - u8 sysctl_ip_fwd_use_pmtu; u8 sysctl_ip_fwd_update_priority; u8 sysctl_ip_nonlocal_bind; u8 sysctl_ip_autobind_reuse; u8 sysctl_ip_dynaddr; - u8 sysctl_ip_early_demux; - u8 sysctl_tcp_early_demux; u8 sysctl_udp_early_demux; u8 sysctl_nexthop_compat_mode; u8 sysctl_fwmark_reflect; @@ -29338,7 +31847,6 @@ struct netns_ipv4 { u8 sysctl_tcp_mtu_probing; int sysctl_tcp_mtu_probe_floor; int sysctl_tcp_base_mss; - int sysctl_tcp_min_snd_mss; int sysctl_tcp_probe_threshold; u32 sysctl_tcp_probe_interval; int sysctl_tcp_keepalive_time; @@ -29349,17 +31857,18 @@ struct netns_ipv4 { u8 sysctl_tcp_syncookies; u8 sysctl_tcp_migrate_req; u8 sysctl_tcp_comp_sack_nr; - int sysctl_tcp_reordering; + u8 sysctl_tcp_backlog_ack_defer; + u8 sysctl_tcp_pingpong_thresh; u8 sysctl_tcp_retries1; u8 sysctl_tcp_retries2; u8 sysctl_tcp_orphan_retries; u8 sysctl_tcp_tw_reuse; + unsigned int sysctl_tcp_tw_reuse_delay; int sysctl_tcp_fin_timeout; - unsigned int sysctl_tcp_notsent_lowat; u8 sysctl_tcp_sack; u8 sysctl_tcp_window_scaling; u8 sysctl_tcp_timestamps; - u8 sysctl_tcp_early_retrans; + int sysctl_tcp_rto_min_us; u8 sysctl_tcp_recovery; u8 sysctl_tcp_thin_linear_timeouts; u8 sysctl_tcp_slow_start_after_idle; @@ -29375,21 +31884,13 @@ struct netns_ipv4 { u8 sysctl_tcp_frto; u8 sysctl_tcp_nometrics_save; u8 sysctl_tcp_no_ssthresh_metrics_save; - u8 sysctl_tcp_moderate_rcvbuf; - u8 sysctl_tcp_tso_win_divisor; u8 sysctl_tcp_workaround_signed_windows; - int sysctl_tcp_limit_output_bytes; int sysctl_tcp_challenge_ack_limit; - int sysctl_tcp_min_rtt_wlen; u8 sysctl_tcp_min_tso_segs; - u8 sysctl_tcp_tso_rtt_log; - u8 sysctl_tcp_autocorking; u8 sysctl_tcp_reflect_tos; int sysctl_tcp_invalid_ratelimit; int sysctl_tcp_pacing_ss_ratio; int sysctl_tcp_pacing_ca_ratio; - int sysctl_tcp_wmem[3]; - int sysctl_tcp_rmem[3]; unsigned int sysctl_tcp_child_ehash_entries; long unsigned int sysctl_tcp_comp_sack_delay_ns; long unsigned int sysctl_tcp_comp_sack_slack_ns; @@ -29423,7 +31924,10 @@ struct netns_ipv4 { struct fib_notifier_ops *ipmr_notifier_ops; unsigned int ipmr_seq; atomic_t rt_genid; + long: 32; siphash_key_t ip_id_key; + struct hlist_head *inet_addr_lst; + struct delayed_work addr_chk_work; }; struct netns_sysctl_ipv6 { @@ -29511,16 +32015,6 @@ struct netns_ipv6 { struct ioam6_pernet_data *ioam6_data; }; -struct nf_logger; - -struct nf_hook_entries; - -struct netns_nf { - const struct nf_logger *nf_loggers[11]; - struct nf_hook_entries *hooks_ipv4[5]; - struct nf_hook_entries *hooks_ipv6[5]; -}; - struct netns_bpf { struct bpf_prog_array *run_array[2]; struct bpf_prog *progs[2]; @@ -29534,13 +32028,13 @@ struct net_generic; struct net { refcount_t passive; spinlock_t rules_mod_lock; - atomic_t dev_unreg_count; unsigned int dev_base_seq; u32 ifindex; spinlock_t nsid_lock; atomic_t fnhe_genid; struct list_head list; struct list_head exit_list; + struct llist_node defer_free_list; struct llist_node cleanup_list; struct user_namespace *user_ns; struct ucounts *ucounts; @@ -29565,17 +32059,23 @@ struct net { struct netns_mib mib; struct netns_packet packet; struct netns_nexthop nexthop; - long: 32; struct netns_ipv4 ipv4; struct netns_ipv6 ipv6; - struct netns_nf nf; struct net_generic *gen; struct netns_bpf bpf; + long: 32; u64 net_cookie; struct sock *diag_nlsk; long: 32; }; +struct netdev_tc_txq { + u16 count; + u16 offset; +}; + +typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **); + struct net_device_stats { union { long unsigned int rx_packets; @@ -29677,75 +32177,121 @@ struct netdev_hw_addr_list { struct rb_root tree; }; -typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **); +struct sfp_bus; -struct pcpu_dstats; +struct udp_tunnel_nic; -struct netdev_tc_txq { - u16 count; - u16 offset; -}; +struct net_device_ops; -struct sfp_bus; +struct pcpu_lstats; -struct udp_tunnel_nic; +struct pcpu_sw_netstats; -struct netdev_name_node; +struct pcpu_dstats; -struct net_device_ops; +struct netdev_rx_queue; + +struct netdev_name_node; struct xdp_metadata_ops; -struct net_device_core_stats; +struct xsk_tx_metadata_ops; -struct netdev_rx_queue; +struct net_device_core_stats; struct xdp_dev_bulk_queue; -struct pcpu_lstats; +struct netdev_stat_ops; -struct pcpu_sw_netstats; +struct netdev_queue_mgmt_ops; + +struct phy_link_topology; struct udp_tunnel_nic_info; +struct netdev_config; + struct rtnl_hw_stats64; struct net_device { + __u8 __cacheline_group_begin__net_device_read_tx[0]; + union { + struct { + long unsigned int priv_flags: 32; + long unsigned int lltx: 1; + }; + struct { + long unsigned int priv_flags: 32; + long unsigned int lltx: 1; + } priv_flags_fast; + }; + const struct net_device_ops *netdev_ops; + const struct header_ops *header_ops; + struct netdev_queue *_tx; + long: 32; + netdev_features_t gso_partial_features; + unsigned int real_num_tx_queues; + unsigned int gso_max_size; + unsigned int gso_ipv4_max_size; + u16 gso_max_segs; + s16 num_tc; + unsigned int mtu; + short unsigned int needed_headroom; + struct netdev_tc_txq tc_to_txq[16]; + struct bpf_mprog_entry *tcx_egress; + __u8 __cacheline_group_end__net_device_read_tx[0]; + __u8 __cacheline_group_begin__net_device_read_txrx[0]; + union { + struct pcpu_lstats *lstats; + struct pcpu_sw_netstats *tstats; + struct pcpu_dstats *dstats; + }; + long unsigned int state; + unsigned int flags; + short unsigned int hard_header_len; + long: 32; + netdev_features_t features; + struct inet6_dev *ip6_ptr; + __u8 __cacheline_group_end__net_device_read_txrx[0]; + __u8 __cacheline_group_begin__net_device_read_rx[0]; + struct bpf_prog *xdp_prog; + struct list_head ptype_specific; + int ifindex; + unsigned int real_num_rx_queues; + struct netdev_rx_queue *_rx; + unsigned int gro_max_size; + unsigned int gro_ipv4_max_size; + rx_handler_func_t *rx_handler; + void *rx_handler_data; + possible_net_t nd_net; + struct bpf_mprog_entry *tcx_ingress; + __u8 __cacheline_group_end__net_device_read_rx[0]; char name[16]; struct netdev_name_node *name_node; struct dev_ifalias *ifalias; long unsigned int mem_end; long unsigned int mem_start; long unsigned int base_addr; - long unsigned int state; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; - struct list_head ptype_specific; struct { struct list_head upper; struct list_head lower; } adj_list; - unsigned int flags; xdp_features_t xdp_features; - long long unsigned int priv_flags; - const struct net_device_ops *netdev_ops; const struct xdp_metadata_ops *xdp_metadata_ops; - int ifindex; + const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; short unsigned int gflags; - short unsigned int hard_header_len; - unsigned int mtu; - short unsigned int needed_headroom; short unsigned int needed_tailroom; - netdev_features_t features; + long: 32; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; - netdev_features_t gso_partial_features; unsigned int min_mtu; unsigned int max_mtu; short unsigned int type; @@ -29758,8 +32304,7 @@ struct net_device { atomic_t carrier_down_count; const struct ethtool_ops *ethtool_ops; const struct ndisc_ops *ndisc_ops; - const struct header_ops *header_ops; - unsigned char operstate; + unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; @@ -29771,9 +32316,9 @@ struct net_device { short unsigned int neigh_priv_len; short unsigned int dev_id; short unsigned int dev_port; - short unsigned int padded; - spinlock_t addr_list_lock; int irq; + u32 priv_len; + spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; @@ -29781,33 +32326,18 @@ struct net_device { unsigned int allmulti; bool uc_promisc; struct in_device *ip_ptr; - struct inet6_dev *ip6_ptr; + struct hlist_head fib_nh_head; const unsigned char *dev_addr; - struct netdev_rx_queue *_rx; unsigned int num_rx_queues; - unsigned int real_num_rx_queues; - struct bpf_prog *xdp_prog; - long unsigned int gro_flush_timeout; - int napi_defer_hard_irqs; - unsigned int gro_max_size; - unsigned int gro_ipv4_max_size; unsigned int xdp_zc_max_segs; - rx_handler_func_t *rx_handler; - void *rx_handler_data; - struct bpf_mprog_entry *tcx_ingress; struct netdev_queue *ingress_queue; - struct nf_hook_entries *nf_hooks_ingress; unsigned char broadcast[32]; struct hlist_node index_hlist; - struct netdev_queue *_tx; unsigned int num_tx_queues; - unsigned int real_num_tx_queues; struct Qdisc *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue *xdp_bulkq; - struct bpf_mprog_entry *tcx_egress; - struct nf_hook_entries *nf_hooks_egress; struct timer_list watchdog_timer; int watchdog_timeo; u32 proto_down_reason; @@ -29815,14 +32345,7 @@ struct net_device { refcount_t dev_refcnt; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; - enum { - NETREG_UNINITIALIZED = 0, - NETREG_REGISTERED = 1, - NETREG_UNREGISTERING = 2, - NETREG_UNREGISTERED = 3, - NETREG_RELEASED = 4, - NETREG_DUMMY = 5, - } reg_state: 8; + u8 reg_state; bool dismantle; enum { RTNL_LINK_INITIALIZED = 0, @@ -29830,35 +32353,34 @@ struct net_device { } rtnl_link_state: 16; bool needs_free_netdev; void (*priv_destructor)(struct net_device *); - possible_net_t nd_net; void *ml_priv; enum netdev_ml_priv_type ml_priv_type; - union { - struct pcpu_lstats *lstats; - struct pcpu_sw_netstats *tstats; - struct pcpu_dstats *dstats; - }; + enum netdev_stat_type pcpu_stat_type: 8; struct device dev; const struct attribute_group *sysfs_groups[4]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; - unsigned int gso_max_size; + const struct netdev_stat_ops *stat_ops; + const struct netdev_queue_mgmt_ops *queue_mgmt_ops; unsigned int tso_max_size; - u16 gso_max_segs; u16 tso_max_segs; - unsigned int gso_ipv4_max_size; - s16 num_tc; - struct netdev_tc_txq tc_to_txq[16]; u8 prio_tc_map[16]; + struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; - unsigned int wol_enabled: 1; - unsigned int threaded: 1; + bool threaded; + long unsigned int see_all_hwtstamp_requests: 1; + long unsigned int change_proto_down: 1; + long unsigned int netns_local: 1; + long unsigned int fcoe_mtu: 1; struct list_head net_notifier_list; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; + struct netdev_config *cfg; + struct netdev_config *cfg_pending; + struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[3]; u8 dev_addr_shadow[32]; netdevice_tracker linkwatch_dev_tracker; @@ -29866,7 +32388,17 @@ struct net_device { netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; - long: 32; + struct hlist_head page_pools; + struct dim_irq_moder *irq_moder; + u64 max_pacing_offload_horizon; + struct napi_config *napi_config; + long unsigned int gro_flush_timeout; + u32 napi_defer_hard_irqs; + bool up; + struct mutex lock; + struct hlist_head neighbours[2]; + struct hwtstamp_provider *hwprov; + u8 priv[0]; }; struct net_device_core_stats { @@ -29941,14 +32473,16 @@ struct net_device_ops { int (*ndo_set_features)(struct net_device *, netdev_features_t); int (*ndo_neigh_construct)(struct net_device *, struct neighbour *); void (*ndo_neigh_destroy)(struct net_device *, struct neighbour *); - int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, struct netlink_ext_ack *); - int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, struct netlink_ext_ack *); - int (*ndo_fdb_del_bulk)(struct ndmsg *, struct nlattr **, struct net_device *, u16, struct netlink_ext_ack *); + int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, bool *, struct netlink_ext_ack *); + int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, bool *, struct netlink_ext_ack *); + int (*ndo_fdb_del_bulk)(struct nlmsghdr *, struct net_device *, struct netlink_ext_ack *); int (*ndo_fdb_dump)(struct sk_buff *, struct netlink_callback *, struct net_device *, struct net_device *, int *); int (*ndo_fdb_get)(struct sk_buff *, struct nlattr **, struct net_device *, const unsigned char *, u16, u32, u32, struct netlink_ext_ack *); int (*ndo_mdb_add)(struct net_device *, struct nlattr **, u16, struct netlink_ext_ack *); int (*ndo_mdb_del)(struct net_device *, struct nlattr **, struct netlink_ext_ack *); + int (*ndo_mdb_del_bulk)(struct net_device *, struct nlattr **, struct netlink_ext_ack *); int (*ndo_mdb_dump)(struct net_device *, struct sk_buff *, struct netlink_callback *); + int (*ndo_mdb_get)(struct net_device *, struct nlattr **, u32, u32, struct netlink_ext_ack *); int (*ndo_bridge_setlink)(struct net_device *, struct nlmsghdr *, u16, struct netlink_ext_ack *); int (*ndo_bridge_getlink)(struct sk_buff *, u32, u32, struct net_device *, u32, int); int (*ndo_bridge_dellink)(struct net_device *, struct nlmsghdr *, u16); @@ -29966,7 +32500,7 @@ struct net_device_ops { int (*ndo_xdp_xmit)(struct net_device *, int, struct xdp_frame **, u32); struct net_device * (*ndo_xdp_get_xmit_slave)(struct net_device *, struct xdp_buff *); int (*ndo_xsk_wakeup)(struct net_device *, u32, u32); - int (*ndo_tunnel_ctl)(struct net_device *, struct ip_tunnel_parm *, int); + int (*ndo_tunnel_ctl)(struct net_device *, struct ip_tunnel_parm_kern *, int); struct net_device * (*ndo_get_peer_dev)(struct net_device *); int (*ndo_fill_forward_path)(struct net_device_path_ctx *, struct net_device_path *); ktime_t (*ndo_get_tstamp)(struct net_device *, const struct skb_shared_hwtstamps *, bool); @@ -30002,6 +32536,7 @@ struct net_device_path { u8 queue; u16 wcid; u8 bss; + u8 amsdu; } mtk_wdma; }; }; @@ -30021,6 +32556,24 @@ struct net_device_path_stack { struct net_device_path path[5]; }; +struct dma_buf; + +struct dma_buf_attachment; + +struct gen_pool; + +struct net_devmem_dmabuf_binding { + struct dma_buf *dmabuf; + struct dma_buf_attachment *attachment; + struct sg_table *sgt; + struct net_device *dev; + struct gen_pool *chunk_pool; + refcount_t ref; + struct list_head list; + struct xarray bound_rxqs; + u32 id; +}; + struct net_fill_args { u32 portid; u32 seq; @@ -30050,15 +32603,17 @@ struct offload_callbacks { int (*gro_complete)(struct sk_buff *, int); }; -struct net_offload { +struct packet_offload { + __be16 type; + u16 priority; struct offload_callbacks callbacks; - unsigned int flags; + struct list_head list; }; -struct net_proto_family { - int family; - int (*create)(struct net *, struct socket *, int, int); - struct module *owner; +struct net_offload { + struct offload_callbacks callbacks; + unsigned int flags; + u32 secret; }; struct net_protocol { @@ -30066,6 +32621,52 @@ struct net_protocol { int (*err_handler)(struct sk_buff *, u32); unsigned int no_policy: 1; unsigned int icmp_strict_tag_validation: 1; + u32 secret; +}; + +struct net_hotdata { + struct packet_offload ip_packet_offload; + struct net_offload tcpv4_offload; + struct net_protocol tcp_protocol; + struct net_offload udpv4_offload; + struct net_protocol udp_protocol; + struct packet_offload ipv6_packet_offload; + struct net_offload tcpv6_offload; + struct inet6_protocol tcpv6_protocol; + struct inet6_protocol udpv6_protocol; + struct net_offload udpv6_offload; + struct list_head offload_base; + struct list_head ptype_all; + struct kmem_cache *skbuff_cache; + struct kmem_cache *skbuff_fclone_cache; + struct kmem_cache *skb_small_head_cache; + int gro_normal_batch; + int netdev_budget; + int netdev_budget_usecs; + int tstamp_prequeue; + int max_backlog; + int dev_tx_weight; + int dev_rx_weight; + int sysctl_max_skb_frags; + int sysctl_skb_defer_max; + int sysctl_mem_pcpu_rsv; +}; + +struct dmabuf_genpool_chunk_owner; + +struct net_iov { + long unsigned int __unused_padding; + long unsigned int pp_magic; + struct page_pool *pp; + struct dmabuf_genpool_chunk_owner *owner; + long unsigned int dma_addr; + atomic_long_t pp_ref_count; +}; + +struct net_proto_family { + int family; + int (*create)(struct net *, struct socket *, int, int); + struct module *owner; }; struct net_rate_estimator { @@ -30125,6 +32726,11 @@ struct netdev_bpf { }; }; +struct netdev_config { + u32 hds_thresh; + u8 hds_config; +}; + struct netdev_hw_addr { struct list_head list; struct rb_node node; @@ -30142,6 +32748,7 @@ struct netdev_name_node { struct list_head list; struct net_device *dev; const char *name; + struct callback_head rcu; }; struct netdev_nested_priv { @@ -30154,6 +32761,13 @@ struct netdev_net_notifier { struct notifier_block *nb; }; +struct netdev_nl_dump_ctx { + long unsigned int ifindex; + unsigned int rxq_idx; + unsigned int txq_idx; + unsigned int napi_id; +}; + struct netdev_notifier_info { struct net_device *dev; struct netlink_ext_ack *extack; @@ -30241,6 +32855,47 @@ struct netdev_queue { int xmit_lock_owner; long unsigned int trans_start; long unsigned int state; + struct napi_struct *napi; +}; + +struct netdev_queue_mgmt_ops { + size_t ndo_queue_mem_size; + int (*ndo_queue_mem_alloc)(struct net_device *, void *, int); + void (*ndo_queue_mem_free)(struct net_device *, void *); + int (*ndo_queue_start)(struct net_device *, void *, int); + int (*ndo_queue_stop)(struct net_device *, void *, int); +}; + +struct netdev_queue_stats_rx { + u64 bytes; + u64 packets; + u64 alloc_fail; + u64 hw_drops; + u64 hw_drop_overruns; + u64 csum_unnecessary; + u64 csum_none; + u64 csum_bad; + u64 hw_gro_packets; + u64 hw_gro_bytes; + u64 hw_gro_wire_packets; + u64 hw_gro_wire_bytes; + u64 hw_drop_ratelimits; +}; + +struct netdev_queue_stats_tx { + u64 bytes; + u64 packets; + u64 hw_drops; + u64 hw_drop_errors; + u64 csum_none; + u64 needs_csum; + u64 hw_gso_packets; + u64 hw_gso_bytes; + u64 hw_gso_wire_packets; + u64 hw_gso_wire_bytes; + u64 hw_drop_ratelimits; + u64 stop; + u64 wake; }; struct xdp_mem_info { @@ -30253,9 +32908,13 @@ struct xdp_rxq_info { u32 queue_index; u32 reg_state; struct xdp_mem_info mem; - unsigned int napi_id; u32 frag_size; long: 32; + long: 32; +}; + +struct pp_memory_provider_params { + void *mp_priv; }; struct netdev_rx_queue { @@ -30263,12 +32922,24 @@ struct netdev_rx_queue { struct kobject kobj; struct net_device *dev; netdevice_tracker dev_tracker; + struct napi_struct *napi; + struct pp_memory_provider_params mp_params; long: 32; long: 32; long: 32; long: 32; - long: 32; - long: 32; +}; + +struct netdev_stat_ops { + void (*get_queue_stats_rx)(struct net_device *, int, struct netdev_queue_stats_rx *); + void (*get_queue_stats_tx)(struct net_device *, int, struct netdev_queue_stats_tx *); + void (*get_base_stats)(struct net_device *, struct netdev_queue_stats_rx *, struct netdev_queue_stats_tx *); +}; + +struct netdev_xmit { + u16 recursion; + u8 more; + u8 skip_txqueue; }; struct netevent_redirect { @@ -30307,6 +32978,7 @@ struct netlink_callback { u32 min_dump_alloc; unsigned int prev_seq; unsigned int seq; + int flags; bool strict_check; union { u8 ctx[48]; @@ -30327,6 +32999,7 @@ struct netlink_dump_control { void *data; struct module *module; u32 min_dump_alloc; + int flags; }; struct netlink_ext_ack { @@ -30344,7 +33017,6 @@ struct netlink_kernel_cfg { unsigned int groups; unsigned int flags; void (*input)(struct sk_buff *); - struct mutex *cb_mutex; int (*bind)(struct net *, int); void (*unbind)(struct net *, int); void (*release)(struct sock *, long unsigned int *); @@ -30415,8 +33087,7 @@ struct netlink_sock { bool cb_running; int dump_done_errno; struct netlink_callback cb; - struct mutex *cb_mutex; - struct mutex cb_def_mutex; + struct mutex nl_cb_mutex; void (*netlink_rcv)(struct sk_buff *); int (*netlink_bind)(struct net *, int); void (*netlink_unbind)(struct net *, int); @@ -30424,7 +33095,6 @@ struct netlink_sock { struct module *module; struct rhash_head node; struct callback_head rcu; - struct work_struct work; long: 32; }; @@ -30488,43 +33158,10 @@ struct nexthop { struct nexthop_grp { __u32 id; __u8 weight; - __u8 resvd1; + __u8 weight_high; __u16 resvd2; }; -struct nf_conntrack; - -struct nf_conntrack_tuple; - -struct nf_ct_hook { - int (*update)(struct net *, struct sk_buff *); - void (*destroy)(struct nf_conntrack *); - bool (*get_tuple_skb)(struct nf_conntrack_tuple *, const struct sk_buff *); - void (*attach)(struct sk_buff *, const struct sk_buff *); - void (*set_closing)(struct nf_conntrack *); -}; - -struct nf_defrag_hook { - struct module *owner; - int (*enable)(struct net *); - void (*disable)(struct net *); -}; - -struct nf_hook_entry { - nf_hookfn *hook; - void *priv; -}; - -struct nf_hook_entries { - u16 num_hook_entries; - struct nf_hook_entry hooks[0]; -}; - -struct nf_hook_entries_rcu_head { - struct callback_head head; - void *allocation; -}; - struct nf_hook_state { u8 hook; u8 pf; @@ -30535,82 +33172,6 @@ struct nf_hook_state { int (*okfn)(struct net *, struct sock *, struct sk_buff *); }; -struct nf_queue_entry; - -struct nf_ipv6_ops { - void (*route_input)(struct sk_buff *); - int (*fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *)); - int (*reroute)(struct sk_buff *, const struct nf_queue_entry *); -}; - -struct nf_log_buf { - unsigned int count; - char buf[1020]; -}; - -struct nf_loginfo; - -typedef void nf_logfn(struct net *, u_int8_t, unsigned int, const struct sk_buff *, const struct net_device *, const struct net_device *, const struct nf_loginfo *, const char *); - -struct nf_logger { - char *name; - enum nf_log_type type; - nf_logfn *logfn; - struct module *me; -}; - -struct nf_loginfo { - u_int8_t type; - union { - struct { - u_int32_t copy_len; - u_int16_t group; - u_int16_t qthreshold; - u_int16_t flags; - } ulog; - struct { - u_int8_t level; - u_int8_t logflags; - } log; - } u; -}; - -struct nf_queue_entry { - struct list_head list; - struct sk_buff *skb; - unsigned int id; - unsigned int hook_index; - struct nf_hook_state state; - u16 size; -}; - -struct nf_queue_handler { - int (*outfn)(struct nf_queue_entry *, unsigned int); - void (*nf_hook_drop)(struct net *); -}; - -struct nf_sockopt_ops { - struct list_head list; - u_int8_t pf; - int set_optmin; - int set_optmax; - int (*set)(struct sock *, int, sockptr_t, unsigned int); - int get_optmin; - int get_optmax; - int (*get)(struct sock *, int, void *, int *); - struct module *owner; -}; - -struct nf_conn; - -struct nfnl_ct_hook { - size_t (*build_size)(const struct nf_conn *); - int (*build)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, u_int16_t, u_int16_t); - int (*parse)(const struct nlattr *, struct nf_conn *); - int (*attach_expect)(const struct nlattr *, struct nf_conn *, u32, u32); - void (*seq_adjust)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, s32); -}; - struct nh_config { u32 nh_id; u8 nh_family; @@ -30632,6 +33193,7 @@ struct nh_config { bool nh_grp_res_has_num_buckets; bool nh_grp_res_has_idle_timer; bool nh_grp_res_has_unbalanced_timer; + bool nh_hw_stats; struct nlattr *nh_encap; u16 nh_encap_type; u32 nlflags; @@ -30645,11 +33207,15 @@ struct nh_dump_filter { bool group_filter; bool fdb_filter; u32 res_bucket_nh_id; + u32 op_flags; }; +struct nh_grp_entry_stats; + struct nh_grp_entry { struct nexthop *nh; - u8 weight; + struct nh_grp_entry_stats *stats; + u16 weight; union { struct { atomic_t upper_bound; @@ -30662,6 +33228,8 @@ struct nh_grp_entry { }; struct list_head nh_list; struct nexthop *nh_parent; + long: 32; + u64 packets_hw; }; struct nh_res_table; @@ -30674,10 +33242,17 @@ struct nh_group { bool resilient; bool fdb_nh; bool has_v4; + bool hw_stats; struct nh_res_table *res_table; struct nh_grp_entry nh_entries[0]; }; +struct nh_grp_entry_stats { + u64_stats_t packets; + struct u64_stats_sync syncp; + long: 32; +}; + struct nh_info { struct hlist_node dev_hash; struct nexthop *nh_parent; @@ -30698,20 +33273,34 @@ struct nh_notifier_single_info { __be32 ipv4; struct in6_addr ipv6; }; + u32 id; u8 is_reject: 1; u8 is_fdb: 1; u8 has_encap: 1; }; struct nh_notifier_grp_entry_info { - u8 weight; - u32 id; + u16 weight; struct nh_notifier_single_info nh; }; +struct nh_notifier_grp_hw_stats_entry_info { + u32 id; + long: 32; + u64 packets; +}; + +struct nh_notifier_grp_hw_stats_info { + u16 num_nh; + bool hw_stats_used; + long: 32; + struct nh_notifier_grp_hw_stats_entry_info stats[0]; +}; + struct nh_notifier_grp_info { u16 num_nh; bool is_fdb; + bool hw_stats; struct nh_notifier_grp_entry_info nh_entries[0]; }; @@ -30729,6 +33318,7 @@ struct nh_notifier_info { struct nh_notifier_grp_info *nh_grp; struct nh_notifier_res_table_info *nh_res_table; struct nh_notifier_res_bucket_info *nh_res_bucket; + struct nh_notifier_grp_hw_stats_info *nh_grp_hw_stats; }; }; @@ -30742,6 +33332,7 @@ struct nh_notifier_res_bucket_info { struct nh_notifier_res_table_info { u16 num_nh_buckets; + bool hw_stats; struct nh_notifier_single_info nhs[0]; }; @@ -30792,8 +33383,8 @@ struct nla_policy { const u32 mask; const char *reject_message; const struct nla_policy *nested_policy; - struct netlink_range_validation *range; - struct netlink_range_validation_signed *range_signed; + const struct netlink_range_validation *range; + const struct netlink_range_validation_signed *range_signed; struct { s16 min; s16 max; @@ -30858,6 +33449,53 @@ struct nsset { const struct cred *cred; }; +struct ntp_data { + long unsigned int tick_usec; + long: 32; + u64 tick_length; + u64 tick_length_base; + int time_state; + int time_status; + s64 time_offset; + long int time_constant; + long int time_maxerror; + long int time_esterror; + long: 32; + s64 time_freq; + time64_t time_reftime; + long int time_adjust; + long: 32; + s64 ntp_tick_adj; + time64_t ntp_next_leap_sec; +}; + +struct objpool_head; + +typedef int (*objpool_fini_cb)(struct objpool_head *, void *); + +struct objpool_slot; + +struct objpool_head { + int obj_size; + int nr_objs; + int nr_possible_cpus; + int capacity; + gfp_t gfp; + refcount_t ref; + long unsigned int flags; + struct objpool_slot **cpu_slots; + objpool_fini_cb release; + void *context; +}; + +struct objpool_slot { + uint32_t head; + uint32_t tail; + uint32_t last; + uint32_t mask; + void *entries[0]; +}; + struct obs_kernel_param { const char *str; int (*setup_func)(char *); @@ -30865,20 +33503,20 @@ struct obs_kernel_param { }; struct of_bus { - const char *name; - const char *addresses; - int (*match)(struct device_node *); - void (*count_cells)(struct device_node *, int *, int *); + void (*count_cells)(const void *, int, int *, int *); u64 (*map)(__be32 *, const __be32 *, int, int, int); int (*translate)(__be32 *, u64, int); - bool has_flags; - unsigned int (*get_flags)(const __be32 *); }; struct of_bus___2 { - void (*count_cells)(const void *, int, int *, int *); - u64 (*map)(__be32 *, const __be32 *, int, int, int); + const char *name; + const char *addresses; + int (*match)(struct device_node *); + void (*count_cells)(struct device_node *, int *, int *); + u64 (*map)(__be32 *, const __be32 *, int, int, int, int); int (*translate)(__be32 *, u64, int); + int flag_cells; + unsigned int (*get_flags)(const __be32 *); }; struct of_dev_auxdata { @@ -30932,6 +33570,7 @@ struct of_pci_range { u64 bus_addr; }; u64 cpu_addr; + u64 parent_bus_addr; u64 size; u32 flags; long: 32; @@ -30939,7 +33578,7 @@ struct of_pci_range { struct of_pci_range_parser { struct device_node *node; - struct of_bus *bus; + const struct of_bus___2 *bus; const __be32 *range; const __be32 *end; int na; @@ -30967,8 +33606,8 @@ struct of_phandle_iterator { }; struct offset_ctx { - struct xarray xa; - u32 next_offset; + struct maple_tree mt; + long unsigned int next_offset; }; struct old_timespec32 { @@ -31069,13 +33708,6 @@ struct osnoise_entry { long: 32; }; -struct packet_offload { - __be16 type; - u16 priority; - struct offload_callbacks callbacks; - struct list_head list; -}; - struct packet_type { __be16 type; bool ignore_outgoing; @@ -31099,8 +33731,7 @@ struct page_flags_fields { const char *name; }; -struct page_pool_params { - unsigned int flags; +struct page_pool_params_fast { unsigned int order; unsigned int pool_size; int nid; @@ -31109,13 +33740,11 @@ struct page_pool_params { enum dma_data_direction dma_dir; unsigned int max_len; unsigned int offset; - void (*init_callback)(struct page *, void *); - void *init_arg; }; struct pp_alloc_cache { u32 count; - struct page *cache[128]; + netmem_ref cache[128]; }; struct ptr_ring { @@ -31129,12 +33758,30 @@ struct ptr_ring { void **queue; }; +struct page_pool_params_slow { + struct net_device *netdev; + unsigned int queue_idx; + unsigned int flags; + void (*init_callback)(netmem_ref, void *); + void *init_arg; +}; + struct page_pool { - struct page_pool_params p; + struct page_pool_params_fast p; + int cpuid; + u32 pages_state_hold_cnt; + bool has_init_callback: 1; + bool dma_map: 1; + bool dma_sync: 1; + bool dma_sync_for_cpu: 1; + long: 32; + __u8 __cacheline_group_begin__frag[0]; long int frag_users; - struct page *frag_page; + netmem_ref frag_page; unsigned int frag_offset; - u32 pages_state_hold_cnt; + __u8 __cacheline_group_end__frag[0]; + long: 32; + struct {} __cacheline_group_pad__frag; struct delayed_work release_dw; void (*disconnect)(void *); long unsigned int defer_start; @@ -31142,10 +33789,50 @@ struct page_pool { u32 xdp_mem_id; struct pp_alloc_cache alloc; struct ptr_ring ring; + void *mp_priv; atomic_t pages_state_release_cnt; refcount_t user_cnt; long: 32; u64 destroy_cnt; + struct page_pool_params_slow slow; + long: 32; + struct { + struct hlist_node list; + u64 detach_time; + u32 id; + long: 32; + } user; +}; + +struct page_pool_dump_cb { + long unsigned int ifindex; + u32 pp_id; +}; + +struct page_pool_params { + union { + struct { + unsigned int order; + unsigned int pool_size; + int nid; + struct device *dev; + struct napi_struct *napi; + enum dma_data_direction dma_dir; + unsigned int max_len; + unsigned int offset; + }; + struct page_pool_params_fast fast; + }; + union { + struct { + struct net_device *netdev; + unsigned int queue_idx; + unsigned int flags; + void (*init_callback)(netmem_ref, void *); + void *init_arg; + }; + struct page_pool_params_slow slow; + }; }; struct page_vma_mapped_walk { @@ -31166,9 +33853,9 @@ struct pages_devres { }; struct partial_context { - struct slab **slab; gfp_t flags; unsigned int orig_size; + void *object; }; struct partial_page { @@ -31290,6 +33977,8 @@ struct pci_vpd { u8 cap; }; +struct pcie_bwctrl_data; + struct pci_slot; struct pci_driver; @@ -31324,9 +34013,11 @@ struct pci_dev { struct device_dma_parameters dma_parms; pci_power_t current_state; u8 pm_cap; - unsigned int imm_ready: 1; unsigned int pme_support: 5; unsigned int pme_poll: 1; + unsigned int pinned: 1; + unsigned int config_rrs_sv: 1; + unsigned int imm_ready: 1; unsigned int d1_support: 1; unsigned int d2_support: 1; unsigned int no_d1d2: 1; @@ -31341,8 +34032,9 @@ struct pci_dev { unsigned int clear_retrain_link: 1; unsigned int d3hot_delay; unsigned int d3cold_delay; + u16 l1ss; unsigned int pasid_no_tlp: 1; - unsigned int eetlp_prefix_path: 1; + unsigned int eetlp_prefix_max: 3; pci_channel_state_t error_state; long: 32; struct device dev; @@ -31368,6 +34060,7 @@ struct pci_dev { unsigned int ats_enabled: 1; unsigned int pasid_enabled: 1; unsigned int pri_enabled: 1; + unsigned int tph_enabled: 1; unsigned int is_managed: 1; unsigned int is_msi_managed: 1; unsigned int needs_freset: 1; @@ -31397,12 +34090,15 @@ struct pci_dev { struct bin_attribute *res_attr[11]; struct bin_attribute *res_attr_wc[11]; struct pci_vpd vpd; + struct pcie_bwctrl_data *link_bwctrl; u16 acs_cap; + u8 supported_speeds; phys_addr_t rom; size_t romlen; const char *driver_override; long unsigned int priv_flags; - u8 reset_methods[7]; + u8 reset_methods[8]; + long: 32; }; struct pci_device_id { @@ -31424,7 +34120,6 @@ struct pci_dynids { struct pci_error_handlers; struct pci_driver { - struct list_head node; const char *name; const struct pci_device_id *id_table; int (*probe)(struct pci_dev *, const struct pci_device_id *); @@ -31466,6 +34161,8 @@ struct pci_host_bridge { u8 (*swizzle_irq)(struct pci_dev *, u8 *); int (*map_irq)(const struct pci_dev *, u8, u8); void (*release_fn)(struct pci_host_bridge *); + int (*enable_device)(struct pci_host_bridge *, struct pci_dev *); + void (*disable_device)(struct pci_host_bridge *, struct pci_dev *); void *release_data; unsigned int ignore_reset_delay: 1; unsigned int no_ext_tags: 1; @@ -31483,8 +34180,6 @@ struct pci_host_bridge { resource_size_t (*align_resource)(struct pci_dev *, const struct resource *, resource_size_t, resource_size_t, resource_size_t); long: 32; long: 32; - long: 32; - long: 32; long unsigned int private[0]; }; @@ -31560,6 +34255,19 @@ struct pcpu_chunk { long unsigned int populated[0]; }; +struct pcpu_dstats { + u64_stats_t rx_packets; + u64_stats_t rx_bytes; + u64_stats_t tx_packets; + u64_stats_t tx_bytes; + u64_stats_t rx_drops; + u64_stats_t tx_drops; + struct u64_stats_sync syncp; + long: 32; + long: 32; + long: 32; +}; + struct pcpu_gen_cookie { local_t nesting; long: 32; @@ -31598,29 +34306,27 @@ struct pdev_archdata { struct per_cpu_nodestat { s8 stat_threshold; - s8 vm_node_stat_diff[40]; + s8 vm_node_stat_diff[43]; }; struct per_cpu_pages { spinlock_t lock; int count; int high; + int high_min; + int high_max; int batch; - short int free_factor; + u8 flags; + u8 alloc_factor; + short int free_count; struct list_head lists[12]; }; struct per_cpu_zonestat {}; -struct swap_cluster_info { - spinlock_t lock; - unsigned int data: 24; - unsigned int flags: 8; -}; - struct percpu_cluster { - struct swap_cluster_info index; - unsigned int next; + local_lock_t lock; + unsigned int next[1]; }; struct percpu_free_defer { @@ -31730,6 +34436,7 @@ struct perf_buffer { atomic_t mmap_count; long unsigned int mmap_locked; struct user_struct *mmap_user; + struct mutex aux_mutex; long int aux_head; unsigned int aux_nest; long int aux_wakeup; @@ -31741,6 +34448,7 @@ struct perf_buffer { void (*free_aux)(void *); refcount_t aux_refcount; int aux_in_sampling; + int aux_in_pause_resume; void **aux_pages; void *aux_priv; struct perf_event_mmap_page *user_page; @@ -31804,7 +34512,7 @@ struct perf_event_context { u64 generation; int pin_count; struct callback_head callback_head; - local_t nr_pending; + local_t nr_no_switch_fast; }; struct perf_cpu_context { @@ -31824,6 +34532,8 @@ struct perf_event_pmu_context { struct list_head flexible_active; unsigned int embedded: 1; unsigned int nr_events; + unsigned int nr_cgroups; + unsigned int nr_freq; atomic_t refcount; struct callback_head callback_head; void *task_ctx_data; @@ -31919,7 +34629,15 @@ struct perf_event_attr { __u16 sample_max_stack; __u16 __reserved_2; __u32 aux_sample_size; - __u32 __reserved_3; + union { + __u32 aux_action; + struct { + __u32 aux_start_paused: 1; + __u32 aux_pause: 1; + __u32 aux_resume: 1; + __u32 __reserved_3: 29; + }; + }; __u64 sig_data; __u64 config3; }; @@ -31980,11 +34698,12 @@ struct perf_event { unsigned int pending_wakeup; unsigned int pending_kill; unsigned int pending_disable; - unsigned int pending_sigtrap; long unsigned int pending_addr; struct irq_work pending_irq; + struct irq_work pending_disable_irq; struct callback_head pending_task; unsigned int pending_work; + struct rcuwait pending_work_wait; atomic_t event_limit; struct perf_addr_filters_head addr_filters; struct perf_addr_filter_range *addr_filter_ranges; @@ -31995,12 +34714,10 @@ struct perf_event { struct pid_namespace *ns; u64 id; atomic64_t lost_samples; - u64 (*clock)(); + u64 (*clock)(void); perf_overflow_handler_t overflow_handler; void *overflow_handler_context; - perf_overflow_handler_t orig_overflow_handler; struct bpf_prog *prog; - long: 32; u64 bpf_cookie; struct trace_event_call *tp_event; struct event_filter *filter; @@ -32009,6 +34726,13 @@ struct perf_event { __u32 orig_type; }; +struct perf_event_min_heap { + size_t nr; + size_t size; + struct perf_event **data; + struct perf_event *preallocated[0]; +}; + struct perf_event_mmap_page { __u32 version; __u32 compat_version; @@ -32197,8 +34921,9 @@ struct pernet_operations { void (*pre_exit)(struct net *); void (*exit)(struct net *); void (*exit_batch)(struct list_head *); - unsigned int *id; - size_t size; + void (*exit_batch_rtnl)(struct list_head *, struct list_head *); + unsigned int * const id; + const size_t size; }; struct skb_array { @@ -32213,11 +34938,13 @@ struct zone { long unsigned int _watermark[4]; long unsigned int watermark_boost; long unsigned int nr_reserved_highatomic; + long unsigned int nr_free_highatomic; long int lowmem_reserve[2]; struct pglist_data *zone_pgdat; struct per_cpu_pages *per_cpu_pageset; struct per_cpu_zonestat *per_cpu_zonestats; - int pageset_high; + int pageset_high_min; + int pageset_high_max; int pageset_batch; long unsigned int *pageblock_flags; long unsigned int zone_start_pfn; @@ -32266,7 +34993,7 @@ struct pglist_data { struct lruvec __lruvec; long unsigned int flags; struct per_cpu_nodestat *per_cpu_nodestats; - atomic_long_t vm_stat[40]; + atomic_long_t vm_stat[43]; }; struct phc_vclocks_reply_data { @@ -32289,8 +35016,9 @@ struct phy_driver; struct phy_device { struct mdio_device mdio; - struct phy_driver *drv; + const struct phy_driver *drv; struct device_link *devlink; + u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned int is_c45: 1; @@ -32312,10 +35040,12 @@ struct phy_device { unsigned int interrupts: 1; unsigned int irq_suspended: 1; unsigned int irq_rerun: 1; + unsigned int default_timestamp: 1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; + long unsigned int possible_interfaces[2]; int speed; int duplex; int port; @@ -32330,9 +35060,11 @@ struct phy_device { long unsigned int adv_old[4]; long unsigned int supported_eee[4]; long unsigned int advertising_eee[4]; - bool eee_enabled; + long unsigned int eee_broken_modes[4]; + bool enable_tx_lpi; + bool eee_active; + struct eee_config eee_cfg; long unsigned int host_interfaces[2]; - u32 eee_broken_modes; struct list_head leds; int irq; void *priv; @@ -32357,6 +35089,16 @@ struct phy_device { long: 32; }; +struct phy_device_node { + enum phy_upstream upstream_type; + union { + struct net_device *netdev; + struct phy_device *phydev; + } upstream; + struct sfp_bus *parent_sfp_bus; + struct phy_device *phy; +}; + struct phy_driver { struct mdio_driver_common mdiodrv; u32 phy_id; @@ -32369,6 +35111,8 @@ struct phy_driver { int (*config_init)(struct phy_device *); int (*probe)(struct phy_device *); int (*get_features)(struct phy_device *); + unsigned int (*inband_caps)(struct phy_device *, phy_interface_t); + int (*config_inband)(struct phy_device *, unsigned int); int (*get_rate_matching)(struct phy_device *, phy_interface_t); int (*suspend)(struct phy_device *); int (*resume)(struct phy_device *); @@ -32391,6 +35135,9 @@ struct phy_driver { int (*cable_test_start)(struct phy_device *); int (*cable_test_tdr_start)(struct phy_device *, const struct phy_tdr_config *); int (*cable_test_get_status)(struct phy_device *, bool *); + void (*get_phy_stats)(struct phy_device *, struct ethtool_eth_phy_stats *, struct ethtool_phy_stats *); + void (*get_link_stats)(struct phy_device *, struct ethtool_link_ext_stats *); + int (*update_stats)(struct phy_device *); int (*get_sset_count)(struct phy_device *); void (*get_strings)(struct phy_device *, u8 *); void (*get_stats)(struct phy_device *, struct ethtool_stats *, u64 *); @@ -32407,10 +35154,17 @@ struct phy_driver { int (*led_hw_is_supported)(struct phy_device *, u8, long unsigned int); int (*led_hw_control_set)(struct phy_device *, u8, long unsigned int); int (*led_hw_control_get)(struct phy_device *, u8, long unsigned int *); + int (*led_polarity_set)(struct phy_device *, int, long unsigned int); +}; + +struct phy_link_topology { + struct xarray phys; + u32 next_phy_index; }; struct phy_package_shared { - int addr; + u8 base_addr; + struct device_node *np; refcount_t refcnt; long unsigned int flags; size_t priv_size; @@ -32431,6 +35185,11 @@ struct phy_plca_status { bool pst; }; +struct phy_req_info { + struct ethnl_req_info base; + struct phy_device_node *pdn; +}; + struct phy_tdr_config { u32 first; u32 last; @@ -32447,6 +35206,10 @@ struct pid { refcount_t count; unsigned int level; spinlock_t lock; + struct dentry *stashed; + long: 32; + u64 ino; + struct rb_node pidfs_node; struct hlist_head tasks[4]; struct hlist_head inodes; wait_queue_head_t wait_pidfd; @@ -32461,14 +35224,31 @@ struct pid_namespace { struct task_struct *child_reaper; struct kmem_cache *pid_cachep; unsigned int level; + int pid_max; struct pid_namespace *parent; struct user_namespace *user_ns; struct ucounts *ucounts; int reboot; struct ns_common ns; + struct work_struct work; }; -struct pin_cookie {}; +struct pidfd_info { + __u64 mask; + __u64 cgroupid; + __u32 pid; + __u32 tgid; + __u32 ppid; + __u32 ruid; + __u32 rgid; + __u32 euid; + __u32 egid; + __u32 suid; + __u32 sgid; + __u32 fsuid; + __u32 fsgid; + __u32 spare0[1]; +}; struct ping_table { struct hlist_head hash[64]; @@ -32509,12 +35289,25 @@ struct pipe_buffer { long unsigned int private; }; +union pipe_index { + long unsigned int head_tail; + struct { + pipe_index_t head; + pipe_index_t tail; + }; +}; + struct pipe_inode_info { struct mutex mutex; wait_queue_head_t rd_wait; wait_queue_head_t wr_wait; - unsigned int head; - unsigned int tail; + union { + long unsigned int head_tail; + struct { + pipe_index_t head; + pipe_index_t tail; + }; + }; unsigned int max_usage; unsigned int ring_size; unsigned int nr_accounted; @@ -32531,6 +35324,11 @@ struct pipe_inode_info { struct user_struct *user; }; +struct pipe_wait { + struct trace_iterator *iter; + int wait_index; +}; + struct mfd_cell; struct platform_device_id; @@ -32576,8 +35374,7 @@ struct platform_device_info { struct platform_driver { int (*probe)(struct platform_device *); - int (*remove)(struct platform_device *); - void (*remove_new)(struct platform_device *); + void (*remove)(struct platform_device *); void (*shutdown)(struct platform_device *); int (*suspend)(struct platform_device *, pm_message_t); int (*resume)(struct platform_device *); @@ -32613,6 +35410,7 @@ struct pmu { const char *name; int type; int capabilities; + unsigned int scope; int *pmu_disable_count; struct perf_cpu_pmu_context *cpu_pmu_context; atomic_t exclusive_cnt; @@ -32669,10 +35467,23 @@ struct pollfd { struct poll_list { struct poll_list *next; - int len; + unsigned int len; struct pollfd entries[0]; }; +struct wait_queue_entry; + +typedef int (*wait_queue_func_t)(struct wait_queue_entry *, unsigned int, int, void *); + +struct wait_queue_entry { + unsigned int flags; + void *private; + wait_queue_func_t func; + struct list_head entry; +}; + +typedef struct wait_queue_entry wait_queue_entry_t; + struct poll_table_entry { struct file *filp; __poll_t key; @@ -32714,9 +35525,10 @@ struct pool_workqueue { int flush_color; int refcnt; int nr_in_flight[16]; + bool plugged; int nr_active; - int max_active; struct list_head inactive_works; + struct list_head pending_node; struct list_head pwqs_node; struct list_head mayday_node; long: 32; @@ -32732,8 +35544,6 @@ struct pool_workqueue { long: 32; long: 32; long: 32; - long: 32; - long: 32; }; struct port_identity { @@ -32752,8 +35562,8 @@ struct posix_acl_entry { struct posix_acl { refcount_t a_refcount; - struct callback_head a_rcu; unsigned int a_count; + struct callback_head a_rcu; struct posix_acl_entry a_entries[0]; }; @@ -32788,10 +35598,11 @@ struct power_pmu { int (*check_attr_config)(struct perf_event *); }; -struct powerpc64_jit_data { - struct bpf_binary_header *header; +struct powerpc_jit_data { + struct bpf_binary_header *hdr; + struct bpf_binary_header *fhdr; u32 *addrs; - u8 *image; + u8 *fimage; u32 proglen; struct codegen_context ctx; }; @@ -32881,9 +35692,16 @@ struct prefix_info { __u8 type; __u8 length; __u8 prefix_len; - __u8 onlink: 1; - __u8 autoconf: 1; - __u8 reserved: 6; + union { + __u8 flags; + struct { + __u8 onlink: 1; + __u8 autoconf: 1; + __u8 routeraddr: 1; + __u8 preferpd: 1; + __u8 reserved: 4; + }; + }; __be32 valid; __be32 prefered; __be32 reserved2; @@ -32919,11 +35737,10 @@ struct print_entry { }; struct printf_spec { - unsigned int type: 8; - int field_width: 24; - unsigned int flags: 8; - unsigned int base: 8; - int precision: 16; + unsigned char flags; + unsigned char base; + short int precision; + int field_width; }; struct printk_buffers { @@ -32931,31 +35748,6 @@ struct printk_buffers { char scratchbuf[0]; }; -struct printk_info { - u64 seq; - u64 ts_nsec; - u16 text_len; - u8 facility; - u8 flags: 5; - u8 level: 3; - u32 caller_id; - struct dev_printk_info dev_info; -}; - -struct printk_message { - struct printk_buffers *pbufs; - unsigned int outbuf_len; - u64 seq; - long unsigned int dropped; - long: 32; -}; - -struct printk_record { - struct printk_info *info; - char *text_buf; - unsigned int text_buf_size; -}; - struct privflags_reply_data { struct ethnl_reply_data base; const char (*priv_flag_names)[32]; @@ -32986,6 +35778,11 @@ struct probe_arg { const struct fetch_type *type; }; +struct probe_entry_arg { + struct fetch_insn *code; + unsigned int size; +}; + struct proc_ns_operations { const char *name; const char *real_ns_name; @@ -33070,6 +35867,8 @@ struct property_entry { struct smc_hashinfo; +struct proto_accept_arg; + struct sk_psock; struct timewait_sock_ops; @@ -33081,7 +35880,7 @@ struct proto { int (*pre_connect)(struct sock *, struct sockaddr *, int); int (*connect)(struct sock *, struct sockaddr *, int); int (*disconnect)(struct sock *, int); - struct sock * (*accept)(struct sock *, int, int *, bool); + struct sock * (*accept)(struct sock *, struct proto_accept_arg *); int (*ioctl)(struct sock *, int, int *); int (*init)(struct sock *); void (*destroy)(struct sock *); @@ -33139,6 +35938,13 @@ struct proto { int (*diag_destroy)(struct sock *, int); }; +struct proto_accept_arg { + int flags; + int err; + int is_empty; + bool kern; +}; + typedef int (*sk_read_actor_t)(read_descriptor_t *, struct sk_buff *, unsigned int, size_t); typedef int (*skb_read_actor_t)(struct sock *, struct sk_buff *); @@ -33150,7 +35956,7 @@ struct proto_ops { int (*bind)(struct socket *, struct sockaddr *, int); int (*connect)(struct socket *, struct sockaddr *, int, int); int (*socketpair)(struct socket *, struct socket *); - int (*accept)(struct socket *, struct socket *, int, bool); + int (*accept)(struct socket *, struct socket *, struct proto_accept_arg *); int (*getname)(struct socket *, struct sockaddr *, int); __poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *); int (*ioctl)(struct socket *, unsigned int, long unsigned int); @@ -33190,17 +35996,13 @@ struct psched_ratecfg { }; struct pse_control_config { - enum ethtool_podl_pse_admin_state admin_cotrol; -}; - -struct pse_control_status { - enum ethtool_podl_pse_admin_state podl_admin_state; - enum ethtool_podl_pse_pw_d_status podl_pw_status; + enum ethtool_podl_pse_admin_state podl_admin_control; + enum ethtool_c33_pse_admin_state c33_admin_control; }; struct pse_reply_data { struct ethnl_reply_data base; - struct pse_control_status status; + struct ethtool_pse_control_status status; }; struct super_operations; @@ -33209,7 +36011,8 @@ struct xattr_handler; struct pseudo_fs_context { const struct super_operations *ops; - const struct xattr_handler **xattr; + const struct export_operations *eops; + const struct xattr_handler * const *xattr; const struct dentry_operations *dops; long unsigned int magic; }; @@ -33231,6 +36034,7 @@ struct ptdesc { }; long unsigned int __page_mapping; union { + long unsigned int pt_index; struct mm_struct *pt_mm; atomic_t pt_frag_refcount; }; @@ -33239,7 +36043,7 @@ struct ptdesc { spinlock_t ptl; }; unsigned int __page_type; - atomic_t _refcount; + atomic_t __page_refcount; }; struct ptp_header { @@ -33367,7 +36171,8 @@ struct qdisc_walker { }; struct queue_limits { - enum blk_bounce bounce; + blk_features_t features; + blk_flags_t flags; long unsigned int seg_boundary_mask; long unsigned int virt_boundary_mask; unsigned int max_hw_sectors; @@ -33376,6 +36181,7 @@ struct queue_limits { unsigned int max_sectors; unsigned int max_user_sectors; unsigned int max_segment_size; + unsigned int min_segment_size; unsigned int physical_block_size; unsigned int logical_block_size; unsigned int alignment_offset; @@ -33383,20 +36189,30 @@ struct queue_limits { unsigned int io_opt; unsigned int max_discard_sectors; unsigned int max_hw_discard_sectors; + unsigned int max_user_discard_sectors; unsigned int max_secure_erase_sectors; unsigned int max_write_zeroes_sectors; + unsigned int max_hw_zone_append_sectors; unsigned int max_zone_append_sectors; unsigned int discard_granularity; unsigned int discard_alignment; unsigned int zone_write_granularity; + unsigned int atomic_write_hw_max; + unsigned int atomic_write_max_sectors; + unsigned int atomic_write_hw_boundary; + unsigned int atomic_write_boundary_sectors; + unsigned int atomic_write_hw_unit_min; + unsigned int atomic_write_unit_min; + unsigned int atomic_write_hw_unit_max; + unsigned int atomic_write_unit_max; short unsigned int max_segments; short unsigned int max_integrity_segments; short unsigned int max_discard_segments; - unsigned char misaligned; - unsigned char discard_misaligned; - unsigned char raid_partial_stripes_expensive; - enum blk_zoned_model zoned; + unsigned int max_open_zones; + unsigned int max_active_zones; unsigned int dma_alignment; + unsigned int dma_pad_mask; + struct blk_integrity integrity; }; struct quota_format_ops { @@ -33495,8 +36311,8 @@ struct ratelimit_state { int burst; int printed; int missed; + unsigned int flags; long unsigned int begin; - long unsigned int flags; }; struct raw6_frag_vec { @@ -33561,21 +36377,29 @@ struct rb_irq_work { struct irq_work work; wait_queue_head_t waiters; wait_queue_head_t full_waiters; - long int wait_index; + atomic_t seq; bool waiters_pending; bool full_waiters_pending; bool wakeup_full; }; +struct rb_list { + struct rb_root root; + struct list_head head; + spinlock_t lock; +}; + struct rb_time_struct { - local_t cnt; - local_t top; - local_t bottom; - local_t msb; + local64_t time; }; typedef struct rb_time_struct rb_time_t; +struct rb_wait_data { + struct rb_irq_work *irq_work; + int seq; +}; + struct rcu_cblist { struct callback_head *head; struct callback_head **tail; @@ -33589,10 +36413,6 @@ struct rcu_ctrlblk { long unsigned int gp_seq; }; -struct rcu_gp_oldstate { - long unsigned int rgos_norm; -}; - struct rcu_segcblist { struct callback_head *head; struct callback_head **tails[4]; @@ -33658,7 +36478,9 @@ struct rcu_tasks { holdouts_func_t holdouts_func; postgp_func_t postgp_func; call_rcu_func_t call_func; + unsigned int wait_state; struct rcu_tasks_percpu *rtpcpu; + struct rcu_tasks_percpu **rtpcp_array; int percpu_enqueue_shift; int percpu_enqueue_lim; int percpu_dequeue_lim; @@ -33667,6 +36489,7 @@ struct rcu_tasks { atomic_t barrier_q_count; struct completion barrier_q_completion; long unsigned int barrier_q_seq; + long unsigned int barrier_q_start; char *name; char *kname; }; @@ -33682,7 +36505,9 @@ struct rcu_tasks_percpu { struct irq_work rtp_irq_work; struct callback_head barrier_q_head; struct list_head rtp_blkd_tasks; + struct list_head rtp_exit_list; int cpu; + int index; struct rcu_tasks *rtpp; }; @@ -33700,6 +36525,7 @@ struct readahead_control { long unsigned int _index; unsigned int _nr_pages; unsigned int _batch_count; + bool dropbehind; bool _workingset; long unsigned int _pflags; }; @@ -33728,6 +36554,7 @@ struct reclaim_stat { unsigned int nr_ref_keep; unsigned int nr_unmap_fail; unsigned int nr_lazyfree_fail; + unsigned int nr_demoted; }; struct reclaim_state { @@ -33789,14 +36616,14 @@ struct renamedata { struct elevator_queue; -struct blk_queue_stats; - -struct rq_qos; - struct blk_mq_ops; struct blk_mq_ctx; +struct blk_queue_stats; + +struct rq_qos; + struct blk_mq_tags; struct blk_flush_queue; @@ -33804,57 +36631,58 @@ struct blk_flush_queue; struct blk_mq_tag_set; struct request_queue { - struct request *last_merge; + void *queuedata; struct elevator_queue *elevator; - struct percpu_ref q_usage_counter; - struct blk_queue_stats *stats; - struct rq_qos *rq_qos; - struct mutex rq_qos_mutex; const struct blk_mq_ops *mq_ops; struct blk_mq_ctx *queue_ctx; + long unsigned int queue_flags; + unsigned int rq_timeout; unsigned int queue_depth; - struct xarray hctx_table; + refcount_t refs; unsigned int nr_hw_queues; - void *queuedata; - long unsigned int queue_flags; - atomic_t pm_only; - int id; + struct xarray hctx_table; + struct percpu_ref q_usage_counter; + struct lock_class_key io_lock_cls_key; + struct lockdep_map io_lockdep_map; + struct lock_class_key q_lock_cls_key; + struct lockdep_map q_lockdep_map; + struct request *last_merge; spinlock_t queue_lock; + int quiesce_depth; struct gendisk *disk; - refcount_t refs; struct kobject *mq_kobj; + struct queue_limits limits; + atomic_t pm_only; + struct blk_queue_stats *stats; + struct rq_qos *rq_qos; + struct mutex rq_qos_mutex; + int id; long unsigned int nr_requests; - unsigned int dma_pad_mask; - unsigned int rq_timeout; struct timer_list timeout; struct work_struct timeout_work; atomic_t nr_active_requests_shared_tags; struct blk_mq_tags *sched_shared_tags; struct list_head icq_list; - struct queue_limits limits; - unsigned int required_elevator_features; int node; - struct blk_flush_queue *fq; - struct list_head flush_list; - struct list_head requeue_list; spinlock_t requeue_lock; + struct list_head requeue_list; struct delayed_work requeue_work; + struct blk_flush_queue *fq; + struct list_head flush_list; struct mutex sysfs_lock; - struct mutex sysfs_dir_lock; + struct mutex limits_lock; struct list_head unused_hctx_list; spinlock_t unused_hctx_lock; int mq_freeze_depth; struct callback_head callback_head; wait_queue_head_t mq_freeze_wq; struct mutex mq_freeze_lock; - int quiesce_depth; struct blk_mq_tag_set *tag_set; struct list_head tag_set_list; struct dentry *debugfs_dir; struct dentry *sched_debugfs_dir; struct dentry *rqos_debugfs_dir; struct mutex debugfs_mutex; - bool mq_sysfs_init_done; }; struct request_sock__safe_rcu_or_null { @@ -33868,17 +36696,22 @@ struct request_sock_ops { char *slab_name; int (*rtx_syn_ack)(const struct sock *, struct request_sock *); void (*send_ack)(const struct sock *, struct sk_buff *, struct request_sock *); - void (*send_reset)(const struct sock *, struct sk_buff *); + void (*send_reset)(const struct sock *, struct sk_buff *, enum sk_rst_reason); void (*destructor)(struct request_sock *); void (*syn_ack_timeout)(const struct request_sock *); }; +struct reserve_mem_table { + char name[16]; + phys_addr_t start; + phys_addr_t size; +}; + struct reserved_mem_ops; struct reserved_mem { const char *name; long unsigned int fdt_node; - long unsigned int phandle; const struct reserved_mem_ops *ops; phys_addr_t base; phys_addr_t size; @@ -33890,11 +36723,13 @@ struct reserved_mem_ops { void (*device_release)(struct reserved_mem *, struct device *); }; +typedef resource_size_t (*resource_alignf)(void *, const struct resource *, resource_size_t, resource_size_t); + struct resource_constraint { resource_size_t min; resource_size_t max; resource_size_t align; - resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t); + resource_alignf alignf; void *alignf_data; }; @@ -33938,13 +36773,37 @@ struct restart_block { }; }; +struct rethook { + void *data; + void (*handler)(struct rethook_node *, void *, long unsigned int, struct pt_regs *); + struct objpool_head pool; + struct callback_head rcu; +}; + +struct return_consumer { + __u64 cookie; + __u64 id; +}; + struct return_instance { - struct uprobe *uprobe; + struct hprobe hprobe; long unsigned int func; long unsigned int stack; long unsigned int orig_ret_vaddr; bool chained; + int cons_cnt; struct return_instance *next; + struct callback_head rcu; + long: 32; + struct return_consumer consumer; + struct return_consumer *extra_consumers; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; }; struct reuseport_array { @@ -33998,10 +36857,25 @@ struct ring_buffer_iter { u64 read_stamp; u64 page_stamp; struct ring_buffer_event *event; + size_t event_size; int missed_events; + long: 32; }; -struct trace_buffer; +struct ring_buffer_meta { + int magic; + int struct_size; + long unsigned int text_addr; + long unsigned int data_addr; + long unsigned int first_buffer; + long unsigned int head_buffer; + long unsigned int commit_buffer; + __u32 subbuf_size; + __u32 nr_subbufs; + int buffers[0]; +}; + +struct trace_buffer_meta; struct ring_buffer_per_cpu { int cpu; @@ -34015,6 +36889,7 @@ struct ring_buffer_per_cpu { long unsigned int nr_pages; unsigned int current_context; struct list_head *pages; + long unsigned int cnt; struct buffer_page *head_page; struct buffer_page *tail_page; struct buffer_page *commit_page; @@ -34038,10 +36913,15 @@ struct ring_buffer_per_cpu { long unsigned int read_bytes; rb_time_t write_stamp; rb_time_t before_stamp; - long: 32; u64 event_stamp[5]; u64 read_stamp; long unsigned int pages_removed; + unsigned int mapped; + unsigned int user_mapped; + struct mutex mapping_lock; + long unsigned int *subbuf_ids; + struct trace_buffer_meta *meta_page; + struct ring_buffer_meta *ring_meta; long int nr_pages_to_update; struct list_head new_pages; struct work_struct update_pages_work; @@ -34068,7 +36948,7 @@ struct rmap_walk_control { bool contended; bool (*rmap_one)(struct folio *, struct vm_area_struct *, long unsigned int, void *); int (*done)(struct folio *); - struct anon_vma * (*anon_lock)(struct folio *, struct rmap_walk_control *); + struct anon_vma * (*anon_lock)(const struct folio *, struct rmap_walk_control *); bool (*invalid_vma)(struct vm_area_struct *, void *); }; @@ -34101,10 +36981,40 @@ struct rt_rq { unsigned int rt_nr_running; unsigned int rr_nr_running; int rt_queued; - int rt_throttled; - u64 rt_time; - u64 rt_runtime; - raw_spinlock_t rt_runtime_lock; +}; + +struct sched_dl_entity; + +typedef bool (*dl_server_has_tasks_f)(struct sched_dl_entity *); + +typedef struct task_struct * (*dl_server_pick_f)(struct sched_dl_entity *); + +struct sched_dl_entity { + struct rb_node rb_node; + long: 32; + u64 dl_runtime; + u64 dl_deadline; + u64 dl_period; + u64 dl_bw; + u64 dl_density; + s64 runtime; + u64 deadline; + unsigned int flags; + unsigned int dl_throttled: 1; + unsigned int dl_yielded: 1; + unsigned int dl_non_contending: 1; + unsigned int dl_overrun: 1; + unsigned int dl_server: 1; + unsigned int dl_server_active: 1; + unsigned int dl_defer: 1; + unsigned int dl_defer_armed: 1; + unsigned int dl_defer_running: 1; + struct hrtimer dl_timer; + struct hrtimer inactive_timer; + struct rq *rq; + dl_server_has_tasks_f server_has_tasks; + dl_server_pick_f server_pick_task; + long: 32; }; struct rq { @@ -34114,15 +37024,20 @@ struct rq { u64 nr_switches; struct cfs_rq cfs; struct rt_rq rt; + long: 32; struct dl_rq dl; + struct sched_dl_entity fair_server; unsigned int nr_uninterruptible; - struct task_struct *curr; + union { + struct task_struct *donor; + struct task_struct *curr; + }; + struct sched_dl_entity *dl_server; struct task_struct *idle; struct task_struct *stop; long unsigned int next_balance; struct mm_struct *prev_mm; unsigned int clock_update_flags; - long: 32; u64 clock; u64 clock_task; u64 clock_pelt; @@ -34147,21 +37062,25 @@ struct rq { long: 32; }; -struct rq_flags { - long unsigned int flags; - struct pin_cookie cookie; -}; - struct rs_msg { struct icmp6hdr icmph; __u8 opt[0]; }; +struct rss_nl_dump_ctx { + long unsigned int ifindex; + long unsigned int ctx_idx; + unsigned int match_ifindex; + unsigned int start_ctx; +}; + struct rss_reply_data { struct ethnl_reply_data base; + bool no_key_fields; u32 indir_size; u32 hkey_size; u32 hfunc; + u32 input_xfrm; u32 *indir_table; u8 *hkey; }; @@ -34229,15 +37148,6 @@ struct rt6_statistics { atomic_t fib_rt_alloc; }; -struct rt_bandwidth { - raw_spinlock_t rt_runtime_lock; - ktime_t rt_period; - u64 rt_runtime; - struct hrtimer rt_period_timer; - unsigned int rt_period_active; - long: 32; -}; - struct rt_cache_stat { unsigned int in_slow_tot; unsigned int in_slow_mc; @@ -34389,8 +37299,21 @@ struct rtnexthop { int rtnh_ifindex; }; +struct srcu_struct { + short int srcu_lock_nesting[2]; + u8 srcu_gp_running; + u8 srcu_gp_waiting; + long unsigned int srcu_idx; + long unsigned int srcu_idx_max; + struct swait_queue_head srcu_wq; + struct callback_head *srcu_cb_head; + struct callback_head **srcu_cb_tail; + struct work_struct srcu_work; +}; + struct rtnl_af_ops { struct list_head list; + struct srcu_struct srcu; int family; int (*fill_link_af)(struct sk_buff *, const struct net_device *, u32); size_t (*get_link_af_size)(const struct net_device *, u32); @@ -34424,11 +37347,13 @@ struct rtnl_link_ifmap { struct rtnl_link_ops { struct list_head list; + struct srcu_struct srcu; const char *kind; size_t priv_size; struct net_device * (*alloc)(struct nlattr **, const char *, unsigned char, unsigned int, unsigned int); void (*setup)(struct net_device *); bool netns_refund; + const u16 peer_type; unsigned int maxtype; const struct nla_policy *policy; int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *); @@ -34439,8 +37364,8 @@ struct rtnl_link_ops { int (*fill_info)(struct sk_buff *, const struct net_device *); size_t (*get_xstats_size)(const struct net_device *); int (*fill_xstats)(struct sk_buff *, const struct net_device *); - unsigned int (*get_num_tx_queues)(); - unsigned int (*get_num_rx_queues)(); + unsigned int (*get_num_tx_queues)(void); + unsigned int (*get_num_rx_queues)(void); unsigned int slave_maxtype; const struct nla_policy *slave_policy; int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *); @@ -34510,6 +37435,15 @@ struct rtnl_mdb_dump_ctx { long int idx; }; +struct rtnl_msg_handler { + struct module *owner; + int protocol; + int msgtype; + rtnl_doit_func doit; + rtnl_dumpit_func dumpit; + int flags; +}; + struct rtnl_net_dump_cb { struct net *tgt_net; struct net *ref_net; @@ -34519,8 +37453,14 @@ struct rtnl_net_dump_cb { int s_idx; }; +struct rtnl_nets { + struct net *net[3]; + unsigned char len; +}; + struct rtnl_newlink_tbs { - struct nlattr *tb[65]; + struct nlattr *tb[67]; + struct nlattr *linkinfo[6]; struct nlattr *attr[51]; struct nlattr *slave_attr[45]; }; @@ -34558,6 +37498,8 @@ struct rusage { __kernel_long_t ru_nivcsw; }; +typedef struct rw_semaphore *class_rwsem_read_t; + struct rwsem_waiter { struct list_head list; struct task_struct *task; @@ -34567,11 +37509,11 @@ struct rwsem_waiter { }; struct saved_cmdlines_buffer { - unsigned int map_pid_to_cmdline[4097]; + unsigned int map_pid_to_cmdline[32769]; unsigned int *map_cmdline_to_pid; unsigned int cmdline_num; int cmdline_idx; - char *saved_cmdlines; + char saved_cmdlines[0]; }; struct saved_syn { @@ -34583,7 +37525,8 @@ struct saved_syn { struct sb_writers { short unsigned int frozen; - short unsigned int freeze_holders; + int freeze_kcount; + int freeze_ucount; struct percpu_rw_semaphore rw_sem[3]; }; @@ -34599,9 +37542,12 @@ struct scan_control { unsigned int may_writepage: 1; unsigned int may_unmap: 1; unsigned int may_swap: 1; + unsigned int no_cache_trim_mode: 1; + unsigned int cache_trim_mode_failed: 1; unsigned int proactive: 1; unsigned int memcg_low_reclaim: 1; unsigned int memcg_low_skipped: 1; + unsigned int memcg_full_walk: 1; unsigned int hibernation_mode: 1; unsigned int compaction_ready: 1; unsigned int cache_trim_mode: 1; @@ -34651,50 +37597,39 @@ struct sched_attr { struct sched_class { void (*enqueue_task)(struct rq *, struct task_struct *, int); - void (*dequeue_task)(struct rq *, struct task_struct *, int); + bool (*dequeue_task)(struct rq *, struct task_struct *, int); void (*yield_task)(struct rq *); bool (*yield_to_task)(struct rq *, struct task_struct *); - void (*check_preempt_curr)(struct rq *, struct task_struct *, int); - struct task_struct * (*pick_next_task)(struct rq *); - void (*put_prev_task)(struct rq *, struct task_struct *); + void (*wakeup_preempt)(struct rq *, struct task_struct *, int); + int (*balance)(struct rq *, struct task_struct *, struct rq_flags *); + struct task_struct * (*pick_task)(struct rq *); + struct task_struct * (*pick_next_task)(struct rq *, struct task_struct *); + void (*put_prev_task)(struct rq *, struct task_struct *, struct task_struct *); void (*set_next_task)(struct rq *, struct task_struct *, bool); void (*task_tick)(struct rq *, struct task_struct *, int); void (*task_fork)(struct task_struct *); void (*task_dead)(struct task_struct *); + void (*switching_to)(struct rq *, struct task_struct *); void (*switched_from)(struct rq *, struct task_struct *); void (*switched_to)(struct rq *, struct task_struct *); + void (*reweight_task)(struct rq *, struct task_struct *, const struct load_weight *); void (*prio_changed)(struct rq *, struct task_struct *, int); unsigned int (*get_rr_interval)(struct rq *, struct task_struct *); void (*update_curr)(struct rq *); }; -struct sched_dl_entity { - struct rb_node rb_node; - long: 32; - u64 dl_runtime; - u64 dl_deadline; - u64 dl_period; - u64 dl_bw; - u64 dl_density; - s64 runtime; - u64 deadline; - unsigned int flags; - unsigned int dl_throttled: 1; - unsigned int dl_yielded: 1; - unsigned int dl_non_contending: 1; - unsigned int dl_overrun: 1; - struct hrtimer dl_timer; - struct hrtimer inactive_timer; -}; - struct sched_entity { struct load_weight load; struct rb_node run_node; long: 32; u64 deadline; - u64 min_deadline; + u64 min_vruntime; + u64 min_slice; struct list_head group_node; - unsigned int on_rq; + unsigned char on_rq; + unsigned char sched_delayed; + unsigned char rel_deadline; + unsigned char custom_slice; long: 32; u64 exec_start; u64 sum_exec_runtime; @@ -34733,11 +37668,17 @@ struct scm_cookie { struct scm_fp_list { short int count; + short int count_unix; short int max; struct user_struct *user; struct file *fp[253]; }; +struct scm_stat { + atomic_t nr_fds; + long unsigned int nr_unix_fds; +}; + struct scm_timestamping { struct __kernel_old_timespec ts[3]; }; @@ -34756,45 +37697,6 @@ struct scm_ts_pktinfo { __u32 reserved[2]; }; -struct screen_info { - __u8 orig_x; - __u8 orig_y; - __u16 ext_mem_k; - __u16 orig_video_page; - __u8 orig_video_mode; - __u8 orig_video_cols; - __u8 flags; - __u8 unused2; - __u16 orig_video_ega_bx; - __u16 unused3; - __u8 orig_video_lines; - __u8 orig_video_isVGA; - __u16 orig_video_points; - __u16 lfb_width; - __u16 lfb_height; - __u16 lfb_depth; - __u32 lfb_base; - __u32 lfb_size; - __u16 cl_magic; - __u16 cl_offset; - __u16 lfb_linelength; - __u8 red_size; - __u8 red_pos; - __u8 green_size; - __u8 green_pos; - __u8 blue_size; - __u8 blue_pos; - __u8 rsvd_size; - __u8 rsvd_pos; - __u16 vesapm_seg; - __u16 vesapm_off; - __u16 pages; - __u16 vesa_attributes; - __u32 capabilities; - __u32 ext_lfb_base; - __u8 _reserved[2]; -} __attribute__((packed)); - struct xfrm_offload { struct { __u32 low; @@ -34802,6 +37704,7 @@ struct xfrm_offload { } seq; __u32 flags; __u32 status; + __u32 orig_mac_len; __u8 proto; __u8 inner_ipproto; }; @@ -34864,23 +37767,8 @@ struct send_signal_irq_work { struct task_struct *task; u32 sig; enum pid_type type; -}; - -struct seq_file { - char *buf; - size_t size; - size_t from; - size_t count; - size_t pad_until; - long: 32; - loff_t index; - loff_t read_pos; - struct mutex lock; - const struct seq_operations *op; - int poll_event; - const struct file *file; - void *private; - long: 32; + bool has_siginfo; + struct kernel_siginfo info; }; struct seq_operations { @@ -34890,6 +37778,12 @@ struct seq_operations { int (*show)(struct seq_file *, void *); }; +struct seqcount_rwlock { + seqcount_t seqcount; +}; + +typedef struct seqcount_rwlock seqcount_rwlock_t; + struct serial_icounter_struct { int cts; int dsr; @@ -34926,6 +37820,20 @@ struct serial_struct { long unsigned int iomap_base; }; +struct set_event_iter { + enum set_event_iter_type type; + union { + struct trace_event_file *file; + struct event_mod_load *event_mod; + }; +}; + +struct sg_table { + struct scatterlist *sgl; + unsigned int nents; + unsigned int orig_nents; +}; + struct sg_append_table { struct sg_table sgt; struct scatterlist *prv; @@ -34968,6 +37876,10 @@ struct shrinker { long int batch; int seeks; unsigned int flags; + refcount_t refcount; + struct completion done; + struct callback_head rcu; + void *private_data; struct list_head list; atomic_long_t *nr_deferred; }; @@ -35174,6 +38086,7 @@ struct sk_psock { struct mutex work_mutex; struct sk_psock_work_state work_state; struct delayed_work work; + struct sock *sk_pair; struct rcu_work rwork; }; @@ -35200,6 +38113,14 @@ struct skb_checksum_ops { __wsum (*combine)(__wsum, __wsum, int, int); }; +struct skb_frag { + netmem_ref netmem; + unsigned int len; + unsigned int offset; +}; + +typedef struct skb_frag skb_frag_t; + struct skb_free_array { unsigned int skb_count; void *skb_array[16]; @@ -35233,6 +38154,10 @@ struct skb_shared_hwtstamps { }; }; +struct xsk_tx_metadata_compl { + __u64 *tx_timestamp; +}; + struct skb_shared_info { __u8 flags; __u8 meta_len; @@ -35242,12 +38167,20 @@ struct skb_shared_info { short unsigned int gso_segs; struct sk_buff *frag_list; long: 32; - struct skb_shared_hwtstamps hwtstamps; + union { + struct skb_shared_hwtstamps hwtstamps; + struct xsk_tx_metadata_compl xsk_meta; + }; unsigned int gso_type; u32 tskey; atomic_t dataref; - unsigned int xdp_frags_size; - void *destructor_arg; + union { + struct { + u32 xdp_frags_size; + u32 xdp_frags_truesize; + }; + void *destructor_arg; + }; skb_frag_t frags[17]; }; @@ -35275,7 +38208,7 @@ struct slab { }; struct callback_head callback_head; }; - unsigned int __unused; + unsigned int __page_type; atomic_t __page_refcount; }; @@ -35304,13 +38237,24 @@ struct so_timestamping { int bind_phc; }; +struct sock_bh_locked { + struct sock *sock; + local_lock_t bh_lock; +}; + struct sock_diag_handler { + struct module *owner; __u8 family; int (*dump)(struct sk_buff *, struct nlmsghdr *); int (*get_info)(struct sk_buff *, struct sock *); int (*destroy)(struct sk_buff *, struct nlmsghdr *); }; +struct sock_diag_inet_compat { + struct module *owner; + int (*fn)(struct sk_buff *, struct nlmsghdr *); +}; + struct sock_diag_req { __u8 sdiag_family; __u8 sdiag_protocol; @@ -35406,6 +38350,11 @@ struct sockaddr_nl { __u32 nl_groups; }; +struct sockaddr_un { + __kernel_sa_family_t sun_family; + char sun_path[108]; +}; + struct socket_wq { wait_queue_head_t wait; struct fasync_struct *fasync_list; @@ -35423,7 +38372,7 @@ struct socket { struct socket_wq wq; }; -struct socket__safe_trusted { +struct socket__safe_trusted_or_null { struct sock *sk; }; @@ -35432,37 +38381,38 @@ struct socket_alloc { struct inode vfs_inode; }; +struct sockmap_link { + struct bpf_link link; + struct bpf_map *map; + enum bpf_attach_type attach_type; +}; + struct softirq_action { - void (*action)(struct softirq_action *); + void (*action)(void); }; struct softnet_data { struct list_head poll_list; struct sk_buff_head process_queue; + local_lock_t process_queue_bh_lock; unsigned int processed; unsigned int time_squeeze; + unsigned int received_rps; bool in_net_rx_action; bool in_napi_threaded_poll; struct Qdisc *output_queue; struct Qdisc **output_queue_tailp; struct sk_buff *completion_queue; - struct { - u16 recursion; - u8 more; - u8 skip_txqueue; - } xmit; - unsigned int received_rps; - unsigned int dropped; + struct netdev_xmit xmit; struct sk_buff_head input_pkt_queue; - long: 32; struct napi_struct backlog; + atomic_t dropped; spinlock_t defer_lock; int defer_count; int defer_ipi_scheduled; struct sk_buff *defer_list; long: 32; long: 32; - long: 32; call_single_data_t defer_csd; }; @@ -35524,18 +38474,6 @@ struct sr6_tlv { struct srcu_usage {}; -struct srcu_struct { - short int srcu_lock_nesting[2]; - u8 srcu_gp_running; - u8 srcu_gp_waiting; - long unsigned int srcu_idx; - long unsigned int srcu_idx_max; - struct swait_queue_head srcu_wq; - struct callback_head *srcu_cb_head; - struct callback_head **srcu_cb_tail; - struct work_struct srcu_work; -}; - struct srcu_notifier_head { struct mutex mutex; struct srcu_usage srcuu; @@ -35564,6 +38502,11 @@ struct stacktrace_cookie { unsigned int len; }; +struct stashed_operations { + void (*put_data)(void *); + int (*init_inode)(struct inode *, void *); +}; + struct stat { long unsigned int st_dev; __kernel_ino_t st_ino; @@ -35684,12 +38627,14 @@ struct stats_reply_data { struct ethtool_eth_mac_stats mac_stats; struct ethtool_eth_ctrl_stats ctrl_stats; struct ethtool_rmon_stats rmon_stats; + struct ethtool_phy_stats phydev_stats; }; struct { struct ethtool_eth_phy_stats phy_stats; struct ethtool_eth_mac_stats mac_stats; struct ethtool_eth_ctrl_stats ctrl_stats; struct ethtool_rmon_stats rmon_stats; + struct ethtool_phy_stats phydev_stats; } stats; }; const struct ethtool_rmon_hist_range *rmon_ranges; @@ -35732,7 +38677,12 @@ struct statx { __u64 stx_mnt_id; __u32 stx_dio_mem_align; __u32 stx_dio_offset_align; - __u64 __spare3[12]; + __u64 stx_subvol; + __u32 stx_atomic_write_unit_min; + __u32 stx_atomic_write_unit_max; + __u32 stx_atomic_write_segments_max; + __u32 stx_dio_read_offset_align; + __u64 __spare3[9]; }; struct stop_event_data { @@ -35754,7 +38704,7 @@ struct strset_info { struct strset_reply_data { struct ethnl_reply_data base; - struct strset_info sets[21]; + struct strset_info sets[23]; }; struct strset_req_info { @@ -35783,7 +38733,7 @@ struct subsys_dev_iter { struct subsys_interface { const char *name; - struct bus_type *subsys; + const struct bus_type *subsys; struct list_head node; int (*add_dev)(struct device *, struct subsys_interface *); void (*remove_dev)(struct device *, struct subsys_interface *); @@ -35827,15 +38777,15 @@ struct super_block { struct rw_semaphore s_umount; int s_count; atomic_t s_active; - const struct xattr_handler **s_xattr; + const struct xattr_handler * const *s_xattr; struct hlist_bl_head s_roots; struct list_head s_mounts; struct block_device *s_bdev; + struct file *s_bdev_file; struct backing_dev_info *s_bdi; struct mtd_info *s_mtd; struct hlist_node s_instances; unsigned int s_quota_types; - long: 32; struct quota_info s_dquot; struct sb_writers s_writers; void *s_fs_info; @@ -35844,13 +38794,14 @@ struct super_block { time64_t s_time_max; char s_id[32]; uuid_t s_uuid; + u8 s_uuid_len; + char s_sysfs_name[37]; unsigned int s_max_links; struct mutex s_vfs_rename_mutex; const char *s_subtype; const struct dentry_operations *s_d_op; - struct shrinker s_shrink; + struct shrinker *s_shrink; atomic_long_t s_remove_count; - atomic_long_t s_fsnotify_connectors; int s_readonly_remount; errseq_t s_wb_err; struct workqueue_struct *s_dio_done_wq; @@ -35897,8 +38848,9 @@ struct super_operations { struct supplier_bindings { struct device_node * (*parse_prop)(struct device_node *, const char *, int); + struct device_node * (*get_con_dev)(struct device_node *); bool optional; - bool node_not_dev; + u8 fwlink_flags; }; struct swait_queue { @@ -35906,9 +38858,12 @@ struct swait_queue { struct list_head task_list; }; -struct swap_cluster_list { - struct swap_cluster_info head; - struct swap_cluster_info tail; +struct swap_cluster_info { + spinlock_t lock; + u16 count; + u8 flags; + u8 order; + struct list_head list; }; struct swap_info_struct { @@ -35919,25 +38874,27 @@ struct swap_info_struct { signed char type; unsigned int max; unsigned char *swap_map; + long unsigned int *zeromap; struct swap_cluster_info *cluster_info; - struct swap_cluster_list free_clusters; - unsigned int lowest_bit; - unsigned int highest_bit; + struct list_head free_clusters; + struct list_head full_clusters; + struct list_head nonfull_clusters[1]; + struct list_head frag_clusters[1]; + atomic_long_t frag_cluster_nr[1]; unsigned int pages; - unsigned int inuse_pages; - unsigned int cluster_next; - unsigned int cluster_nr; - unsigned int *cluster_next_cpu; + atomic_long_t inuse_pages; struct percpu_cluster *percpu_cluster; + struct percpu_cluster *global_cluster; + spinlock_t global_cluster_lock; struct rb_root swap_extent_root; struct block_device *bdev; struct file *swap_file; - unsigned int old_block_size; struct completion comp; spinlock_t lock; spinlock_t cont_lock; struct work_struct discard_work; - struct swap_cluster_list discard_clusters; + struct work_struct reclaim_work; + struct list_head discard_clusters; struct plist_node avail_lists[0]; }; @@ -35950,7 +38907,6 @@ struct swevent_htable { struct swevent_hlist *swevent_hlist; struct mutex hlist_mutex; int hlist_refcount; - int recursion[4]; }; struct swnode { @@ -35974,7 +38930,7 @@ struct sym_count_ctx { struct symsearch { const struct kernel_symbol *start; const struct kernel_symbol *stop; - const s32 *crcs; + const u32 *crcs; enum mod_license license; }; @@ -35982,6 +38938,7 @@ struct sys_off_data { int mode; void *cb_data; const char *cmd; + struct device *dev; }; struct sys_off_handler { @@ -35991,6 +38948,7 @@ struct sys_off_handler { enum sys_off_mode mode; bool blocking; void *list; + struct device *dev; }; struct syscall_info { @@ -36002,9 +38960,9 @@ struct syscall_user_dispatch {}; struct syscore_ops { struct list_head node; - int (*suspend)(); - void (*resume)(); - void (*shutdown)(); + int (*suspend)(void); + void (*resume)(void); + void (*shutdown)(void); }; struct sysfs_ops { @@ -36031,8 +38989,8 @@ struct sysinfo { struct system_counterval_t { u64 cycles; - struct clocksource *cs; - long: 32; + enum clocksource_ids cs_id; + bool use_nsecs; }; struct system_device_crosststamp { @@ -36044,6 +39002,7 @@ struct system_device_crosststamp { struct system_time_snapshot { u64 cycles; ktime_t real; + ktime_t boot; ktime_t raw; enum clocksource_ids cs_id; unsigned int clock_was_set_seq; @@ -36055,6 +39014,7 @@ struct taint_flag { char c_true; char c_false; bool module; + const char *desc; }; struct task_cputime { @@ -36069,6 +39029,10 @@ struct task_cputime_atomic { atomic64_t sum_exec_runtime; }; +typedef struct task_struct *class_find_get_task_t; + +typedef struct task_struct *class_task_lock_t; + struct thread_info { int preempt_count; long unsigned int local_flags; @@ -36132,6 +39096,7 @@ struct uprobe_task; struct task_struct { struct thread_info thread_info; unsigned int __state; + unsigned int saved_state; void *stack; refcount_t usage; unsigned int flags; @@ -36141,14 +39106,16 @@ struct task_struct { int static_prio; int normal_prio; unsigned int rt_priority; + long: 32; struct sched_entity se; struct sched_rt_entity rt; long: 32; struct sched_dl_entity dl; + struct sched_dl_entity *dl_server; const struct sched_class *sched_class; - long: 32; struct sched_statistics stats; unsigned int policy; + long unsigned int max_allowed_capacity; int nr_cpus_allowed; const cpumask_t *cpus_ptr; cpumask_t *user_cpus_ptr; @@ -36165,6 +39132,7 @@ struct task_struct { struct list_head tasks; struct mm_struct *mm; struct mm_struct *active_mm; + struct address_space *faults_disabled_mapping; int exit_state; int exit_code; int exit_signal; @@ -36174,7 +39142,8 @@ struct task_struct { unsigned int sched_reset_on_fork: 1; unsigned int sched_contributes_to_load: 1; unsigned int sched_migrated: 1; - long: 29; + unsigned int sched_task_hot: 1; + long: 28; unsigned int sched_remote_wakeup: 1; unsigned int in_execve: 1; unsigned int in_iowait: 1; @@ -36192,7 +39161,6 @@ struct task_struct { struct list_head ptrace_entry; struct pid *thread_pid; struct hlist_node pid_links[4]; - struct list_head thread_group; struct list_head thread_node; struct completion *vfork_done; int *set_child_tid; @@ -36243,6 +39211,7 @@ struct task_struct { long unsigned int ptrace_message; kernel_siginfo_t *last_siginfo; struct task_io_accounting ioac; + u8 perf_recursion[4]; struct perf_event_context *perf_event_ctxp; struct mutex perf_event_mutex; struct list_head perf_event_list; @@ -36252,13 +39221,15 @@ struct task_struct { int nr_dirtied; int nr_dirtied_pause; long unsigned int dirty_paused_when; + long: 32; u64 timer_slack_ns; u64 default_timer_slack_ns; int curr_ret_stack; int curr_ret_depth; - struct ftrace_ret_stack *ret_stack; + long unsigned int *ret_stack; long: 32; long long unsigned int ftrace_timestamp; + long long unsigned int ftrace_sleeptime; atomic_t trace_overrun; atomic_t tracing_graph_pause; long unsigned int trace_recursion; @@ -36272,10 +39243,14 @@ struct task_struct { refcount_t stack_refcount; struct bpf_local_storage *bpf_storage; struct bpf_run_ctx *bpf_ctx; + struct bpf_net_context *bpf_net_context; struct llist_head kretprobe_instances; + struct llist_head rethooks; + struct thread_struct thread; + long: 32; + long: 32; long: 32; long: 32; - struct thread_struct thread; }; struct task_struct__safe_rcu { @@ -36339,16 +39314,18 @@ struct tc_ratespec { struct tc_skb_cb { struct qdisc_skb_cb qdisc_cb; + u32 drop_reason; + u16 zone; u16 mru; u8 post_ct: 1; u8 post_ct_snat: 1; u8 post_ct_dnat: 1; - u16 zone; }; struct tcf_chain; struct tcf_block { + struct xarray ports; struct mutex lock; struct list_head chain_list; u32 index; @@ -36360,6 +39337,7 @@ struct tcf_block { struct flow_block flow_block; struct list_head owner_list; bool keep_dst; + atomic_t useswcnt; atomic_t offloadcnt; unsigned int nooffloaddevcnt; unsigned int lockeddevcnt; @@ -36407,6 +39385,8 @@ struct tcf_proto { struct tcf_chain *chain; spinlock_t lock; bool deleting; + bool counted; + bool usesw; refcount_t refcnt; struct callback_head rcu; struct hlist_node destroy_ht_node; @@ -36432,6 +39412,7 @@ struct tcf_proto_ops { void (*bind_class)(void *, u32, long unsigned int, void *, long unsigned int); void * (*tmplt_create)(struct net *, struct tcf_chain *, struct nlattr **, struct netlink_ext_ack *); void (*tmplt_destroy)(void *); + void (*tmplt_reoffload)(struct tcf_chain *, bool, flow_setup_cb_t *, void *); struct tcf_exts * (*get_exts)(const struct tcf_proto *, u32); int (*dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool); int (*terse_dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool); @@ -36469,17 +39450,6 @@ struct tcmsg { __u32 tcm_info; }; -struct tcp_rack { - u64 mstamp; - u32 rtt_us; - u32 end_seq; - u32 last_delivered; - u8 reo_wnd_steps; - u8 reo_wnd_persist: 5; - u8 dsack_seen: 1; - u8 advanced: 1; -}; - struct tcp_options_received { int ts_recent_stamp; u32 ts_recent; @@ -36500,6 +39470,17 @@ struct tcp_options_received { u16 mss_clamp; }; +struct tcp_rack { + u64 mstamp; + u32 rtt_us; + u32 end_seq; + u32 last_delivered; + u8 reo_wnd_steps; + u8 reo_wnd_persist: 5; + u8 dsack_seen: 1; + u8 advanced: 1; +}; + struct tcp_sack_block { u32 start_seq; u32 end_seq; @@ -36509,56 +39490,121 @@ struct tcp_fastopen_request; struct tcp_sock { struct inet_connection_sock inet_conn; - u16 tcp_header_len; + __u8 __cacheline_group_begin__tcp_sock_read_tx[0]; + u32 max_window; + u32 rcv_ssthresh; + u32 reordering; + u32 notsent_lowat; u16 gso_segs; + struct sk_buff *lost_skb_hint; + struct sk_buff *retransmit_skb_hint; + __u8 __cacheline_group_end__tcp_sock_read_tx[0]; + __u8 __cacheline_group_begin__tcp_sock_read_txrx[0]; + u32 tsoffset; + u32 snd_wnd; + u32 mss_cache; + u32 snd_cwnd; + u32 prr_out; + u32 lost_out; + u32 sacked_out; + u16 tcp_header_len; + u8 scaling_ratio; + u8 chrono_type: 2; + u8 repair: 1; + u8 tcp_usec_ts: 1; + u8 is_sack_reneg: 1; + u8 is_cwnd_limited: 1; + __u8 __cacheline_group_end__tcp_sock_read_txrx[0]; + __u8 __cacheline_group_begin__tcp_sock_read_rx[0]; + u32 copied_seq; + u32 rcv_tstamp; + u32 snd_wl1; + u32 tlp_high_seq; + u32 rttvar_us; + u32 retrans_out; + u16 advmss; + u16 urg_data; + u32 lost; + struct minmax rtt_min; + struct rb_root out_of_order_queue; + u32 snd_ssthresh; + u8 recvmsg_inq: 1; + __u8 __cacheline_group_end__tcp_sock_read_rx[0]; + long: 0; + __u8 __cacheline_group_begin__tcp_sock_write_tx[0]; + u32 segs_out; + u32 data_segs_out; + u64 bytes_sent; + u32 snd_sml; + u32 chrono_start; + u32 chrono_stat[3]; + u32 write_seq; + u32 pushed_seq; + u32 lsndtime; + u32 mdev_us; + u32 rtt_seq; + u64 tcp_wstamp_ns; + struct list_head tsorted_sent_queue; + struct sk_buff *highest_sack; + u8 ecn_flags; + __u8 __cacheline_group_end__tcp_sock_write_tx[0]; + __u8 __cacheline_group_begin__tcp_sock_write_txrx[0]; __be32 pred_flags; + long: 32; + u64 tcp_clock_cache; + u64 tcp_mstamp; + u32 rcv_nxt; + u32 snd_nxt; + u32 snd_una; + u32 window_clamp; + u32 srtt_us; + u32 packets_out; + u32 snd_up; + u32 delivered; + u32 delivered_ce; + u32 app_limited; + u32 rcv_wnd; + struct tcp_options_received rx_opt; + u8 nonagle: 4; + u8 rate_app_limited: 1; + __u8 __cacheline_group_end__tcp_sock_write_txrx[0]; + long: 0; + __u8 __cacheline_group_begin__tcp_sock_write_rx[0]; u64 bytes_received; u32 segs_in; u32 data_segs_in; - u32 rcv_nxt; - u32 copied_seq; u32 rcv_wup; - u32 snd_nxt; - u32 segs_out; - u32 data_segs_out; - u64 bytes_sent; + u32 max_packets_out; + u32 cwnd_usage_seq; + u32 rate_delivered; + u32 rate_interval_us; + u32 rcv_rtt_last_tsecr; + u64 first_tx_mstamp; + u64 delivered_mstamp; u64 bytes_acked; + struct { + u32 rtt_us; + u32 seq; + u64 time; + } rcv_rtt_est; + struct { + u32 space; + u32 seq; + u64 time; + } rcvq_space; + __u8 __cacheline_group_end__tcp_sock_write_rx[0]; u32 dsack_dups; - u32 snd_una; - u32 snd_sml; - u32 rcv_tstamp; - u32 lsndtime; - u32 last_oow_ack_time; u32 compressed_ack_rcv_nxt; - u32 tsoffset; struct list_head tsq_node; - struct list_head tsorted_sent_queue; - u32 snd_wl1; - u32 snd_wnd; - u32 max_window; - u32 mss_cache; - u32 window_clamp; - u32 rcv_ssthresh; - u8 scaling_ratio; - long: 32; struct tcp_rack rack; - u16 advmss; u8 compressed_ack; u8 dup_ack_counter: 2; u8 tlp_retrans: 1; u8 unused: 5; - u32 chrono_start; - u32 chrono_stat[3]; - u8 chrono_type: 2; - u8 rate_app_limited: 1; + u8 thin_lto: 1; u8 fastopen_connect: 1; u8 fastopen_no_cookie: 1; - u8 is_sack_reneg: 1; u8 fastopen_client_fail: 2; - u8 nonagle: 4; - u8 thin_lto: 1; - u8 recvmsg_inq: 1; - u8 repair: 1; u8 frto: 1; u8 repair_queue; u8 save_syn: 2; @@ -36567,62 +39613,23 @@ struct tcp_sock { u8 syn_fastopen_exp: 1; u8 syn_fastopen_ch: 1; u8 syn_data_acked: 1; - u8 is_cwnd_limited: 1; - u32 tlp_high_seq; + u8 keepalive_probes; u32 tcp_tx_delay; - u64 tcp_wstamp_ns; - u64 tcp_clock_cache; - u64 tcp_mstamp; - u32 srtt_us; - u32 mdev_us; u32 mdev_max_us; - u32 rttvar_us; - u32 rtt_seq; - struct minmax rtt_min; - u32 packets_out; - u32 retrans_out; - u32 max_packets_out; - u32 cwnd_usage_seq; - u16 urg_data; - u8 ecn_flags; - u8 keepalive_probes; - u32 reordering; u32 reord_seen; - u32 snd_up; - struct tcp_options_received rx_opt; - u32 snd_ssthresh; - u32 snd_cwnd; u32 snd_cwnd_cnt; u32 snd_cwnd_clamp; u32 snd_cwnd_used; u32 snd_cwnd_stamp; u32 prior_cwnd; u32 prr_delivered; - u32 prr_out; - u32 delivered; - u32 delivered_ce; - u32 lost; - u32 app_limited; - u64 first_tx_mstamp; - u64 delivered_mstamp; - u32 rate_delivered; - u32 rate_interval_us; - u32 rcv_wnd; - u32 write_seq; - u32 notsent_lowat; - u32 pushed_seq; - u32 lost_out; - u32 sacked_out; + u32 last_oow_ack_time; struct hrtimer pacing_timer; struct hrtimer compressed_ack_timer; - struct sk_buff *lost_skb_hint; - struct sk_buff *retransmit_skb_hint; - struct rb_root out_of_order_queue; struct sk_buff *ooo_last_skb; struct tcp_sack_block duplicate_sack[1]; struct tcp_sack_block selective_acks[4]; struct tcp_sack_block recv_sack_cache[4]; - struct sk_buff *highest_sack; int lost_cnt_hint; u32 prior_ssthresh; u32 high_seq; @@ -36632,6 +39639,10 @@ struct tcp_sock { long: 32; u64 bytes_retrans; u32 total_retrans; + u32 rto_stamp; + u16 total_rto; + u16 total_rto_recoveries; + u32 total_rto_time; u32 urg_seq; unsigned int keepalive_time; unsigned int keepalive_intvl; @@ -36640,17 +39651,6 @@ struct tcp_sock { u8 bpf_chg_cc_inprogress: 1; u16 timeout_rehash; u32 rcv_ooopack; - u32 rcv_rtt_last_tsecr; - struct { - u32 rtt_us; - u32 seq; - u64 time; - } rcv_rtt_est; - struct { - u32 space; - u32 seq; - u64 time; - } rcvq_space; struct { u32 probe_seq_start; u32 probe_seq_end; @@ -36667,6 +39667,43 @@ struct tcp6_sock { struct tcp_sock tcp; struct ipv6_pinfo inet6; long: 32; + long: 32; + long: 32; + long: 32; + long: 32; +}; + +union tcp_ao_addr { + struct in_addr a4; + struct in6_addr a6; +}; + +struct tcp_ao_hdr { + u8 kind; + u8 length; + u8 keyid; + u8 rnext_keyid; +}; + +struct tcp_ao_key { + struct hlist_node node; + union tcp_ao_addr addr; + u8 key[80]; + unsigned int tcp_sigpool_id; + unsigned int digest_size; + int l3index; + u8 prefixlen; + u8 family; + u8 keylen; + u8 keyflags; + u8 sndid; + u8 rcvid; + u8 maclen; + struct callback_head rcu; + long: 32; + atomic64_t pkt_good; + atomic64_t pkt_bad; + u8 traffic_keys[0]; }; struct tcp_bbr_info { @@ -36787,11 +39824,28 @@ struct tcp_info { __u32 tcpi_snd_wnd; __u32 tcpi_rcv_wnd; __u32 tcpi_rehash; + __u16 tcpi_total_rto; + __u16 tcpi_total_rto_recoveries; + __u32 tcpi_total_rto_time; }; -union tcp_md5_addr { - struct in_addr a4; - struct in6_addr a6; +struct tcp_md5sig_key; + +struct tcp_key { + union { + struct { + struct tcp_ao_key *ao_key; + char *traffic_key; + u32 sne; + u8 rcv_next; + }; + struct tcp_md5sig_key *md5_key; + }; + enum { + TCP_KEY_NONE = 0, + TCP_KEY_MD5 = 1, + TCP_KEY_AO = 2, + } type; }; struct tcp_md5sig_key { @@ -36800,7 +39854,7 @@ struct tcp_md5sig_key { u8 family; u8 prefixlen; u8 flags; - union tcp_md5_addr addr; + union tcp_ao_addr addr; int l3index; u8 key[80]; struct callback_head rcu; @@ -36865,6 +39919,7 @@ struct tcp_request_sock { u64 snt_synack; bool tfo_listener; bool is_mptcp; + bool req_usec_ts; u32 txhash; u32 rcv_isn; u32 snt_isn; @@ -36876,7 +39931,7 @@ struct tcp_request_sock { struct tcp_request_sock_ops { u16 mss_clamp; - struct dst_entry * (*route_req)(const struct sock *, struct sk_buff *, struct flowi *, struct request_sock *); + struct dst_entry * (*route_req)(const struct sock *, struct sk_buff *, struct flowi *, struct request_sock *, u32); u32 (*init_seq)(const struct sk_buff *); u32 (*init_ts_off)(const struct net *, const struct sk_buff *); int (*send_synack)(const struct sock *, struct dst_entry *, struct flowi *, struct request_sock *, struct tcp_fastopen_cookie *, enum tcp_synack_type, struct sk_buff *); @@ -36902,7 +39957,6 @@ struct tcp_skb_cb { __u32 seq; __u32 end_seq; union { - __u32 tcp_tw_isn; struct { u16 tcp_gso_segs; u16 tcp_gso_size; @@ -36954,7 +40008,7 @@ struct tcp_ulp_ops { int (*init)(struct sock *); void (*update)(struct sock *, struct proto *, void (*)(struct sock *)); void (*release)(struct sock *); - int (*get_info)(const struct sock *, struct sk_buff *); + int (*get_info)(struct sock *, struct sk_buff *); size_t (*get_info_size)(const struct sock *); void (*clone)(const struct request_sock *, struct sock *, const gfp_t); char name[16]; @@ -36986,6 +40040,13 @@ union tcp_word_hdr { __be32 words[5]; }; +struct tcp_xa_pool { + u8 max; + u8 idx; + __u32 tokens[17]; + netmem_ref netmems[17]; +}; + struct tcp_zerocopy_receive { __u64 address; __u32 length; @@ -37009,7 +40070,7 @@ struct tcx_entry { struct mini_Qdisc *miniq; long: 32; struct bpf_mprog_bundle bundle; - bool miniq_active; + u32 miniq_active; struct callback_head rcu; long: 32; }; @@ -37066,7 +40127,6 @@ struct tk_read_base { struct timekeeper { struct tk_read_base tkr_mono; - struct tk_read_base tkr_raw; u64 xtime_sec; long unsigned int ktime_sec; long: 32; @@ -37075,16 +40135,17 @@ struct timekeeper { ktime_t offs_boot; ktime_t offs_tai; s32 tai_offset; - unsigned int clock_was_set_seq; - u8 cs_was_changed_seq; long: 32; - ktime_t next_leap_ktime; + struct tk_read_base tkr_raw; u64 raw_sec; + unsigned int clock_was_set_seq; + u8 cs_was_changed_seq; struct timespec64 monotonic_to_boot; u64 cycle_interval; u64 xtime_interval; s64 xtime_remainder; u64 raw_interval; + ktime_t next_leap_ktime; u64 ntp_tick; s64 ntp_error; u32 ntp_error_shift; @@ -37129,7 +40190,6 @@ struct timewait_sock_ops { struct kmem_cache *twsk_slab; char *twsk_slab_name; unsigned int twsk_obj_size; - int (*twsk_unique)(struct sock *, struct sock *, void *); void (*twsk_destructor)(struct sock *); }; @@ -37142,6 +40202,16 @@ struct tipc_basic_hdr { __be32 w[4]; }; +struct tk_data { + seqcount_raw_spinlock_t seq; + long: 32; + struct timekeeper timekeeper; + struct timekeeper shadow_timekeeper; + raw_spinlock_t lock; + long: 32; + long: 32; +}; + struct tk_fast { seqcount_latch_t seq; long: 32; @@ -37252,7 +40322,7 @@ struct tls_strparser { u32 stopped: 1; u32 copy_mode: 1; u32 mixed_decrypted: 1; - u32 msg_ready: 1; + bool msg_ready; struct strp_msg stm; struct sk_buff *anchor; struct work_struct work; @@ -37267,9 +40337,9 @@ struct tls_sw_context_rx { u8 async_capable: 1; u8 zc_capable: 1; u8 reader_contended: 1; + bool key_update_pending; struct tls_strparser strp; atomic_t decrypt_pending; - spinlock_t decrypt_compl_lock; struct sk_buff_head async_hold; struct wait_queue_head wq; }; @@ -37288,8 +40358,6 @@ struct tls_sw_context_tx { struct tls_rec *open_rec; struct list_head tx_list; atomic_t encrypt_pending; - spinlock_t encrypt_compl_lock; - int async_notify; u8 async_capable: 1; long unsigned int tx_bitmask; }; @@ -37313,7 +40381,7 @@ struct tms { }; struct tnl_ptk_info { - __be16 flags; + long unsigned int flags[1]; __be16 proto; __be32 key; __be32 seq; @@ -37346,7 +40414,6 @@ struct tp_probes { struct tp_transition_snapshot { long unsigned int rcu; - long unsigned int srcu; bool ongoing; }; @@ -37361,6 +40428,11 @@ struct trace_array { char *name; long: 32; struct array_buffer array_buffer; + unsigned int mapped; + long unsigned int range_addr_start; + long unsigned int range_addr_size; + long int text_delta; + long int data_delta; struct trace_pid_list *filtered_pids; struct trace_pid_list *filtered_no_pids; arch_spinlock_t max_lock; @@ -37376,11 +40448,12 @@ struct trace_array { unsigned char trace_flags_index[32]; unsigned int flags; raw_spinlock_t start_lock; + const char *system_names; struct list_head err_log; struct dentry *dir; struct dentry *options; struct dentry *percpu_dir; - struct dentry *event_dir; + struct eventfs_inode *event_dir; struct trace_options *topts; struct list_head systems; struct list_head events; @@ -37389,9 +40462,11 @@ struct trace_array { cpumask_var_t pipe_cpumask; int ref; int trace_ref; + struct list_head mod_events; struct ftrace_ops *ops; struct trace_pid_list *function_pids; struct trace_pid_list *function_no_pids; + struct fgraph_ops *gops; struct list_head func_probes; struct list_head mod_trace; struct list_head mod_notrace; @@ -37399,6 +40474,7 @@ struct trace_array { int no_filter_buffering_ref; struct list_head hist_vars; struct trace_func_repeats *last_func_repeats; + bool ring_buffer_expanded; }; struct trace_array_cpu { @@ -37437,9 +40513,34 @@ struct trace_buffer { struct mutex mutex; struct ring_buffer_per_cpu **buffers; struct hlist_node node; - u64 (*clock)(); + u64 (*clock)(void); struct rb_irq_work irq_work; bool time_stamp_abs; + long unsigned int range_addr_start; + long unsigned int range_addr_end; + long int last_text_delta; + long int last_data_delta; + unsigned int subbuf_size; + unsigned int subbuf_order; + unsigned int max_data_size; +}; + +struct trace_buffer_meta { + __u32 meta_page_size; + __u32 meta_struct_len; + __u32 subbuf_size; + __u32 nr_subbufs; + struct { + __u64 lost_events; + __u32 id; + __u32 read; + } reader; + __u64 flags; + __u64 entries; + __u64 overrun; + __u64 read; + __u64 Reserved1; + __u64 Reserved2; }; struct trace_buffer_struct { @@ -37454,6 +40555,7 @@ struct trace_probe { struct trace_probe_event *event; ssize_t size; unsigned int nr_args; + struct probe_entry_arg *entry_arg; struct probe_arg args[0]; }; @@ -37495,12 +40597,11 @@ struct trace_event_call { struct list_head list; struct trace_event_class *class; union { - char *name; + const char *name; struct tracepoint *tp; }; struct trace_event event; char *print_fmt; - struct event_filter *filter; union { void *module; atomic_t refcnt; @@ -37540,18 +40641,26 @@ struct trace_event_data_offsets_bpf_test_finish {}; struct trace_event_data_offsets_bpf_trace_printk { u32 bpf_string; + const void *bpf_string_ptr_; }; +struct trace_event_data_offsets_bpf_trigger_tp {}; + struct trace_event_data_offsets_bpf_xdp_link_attach_failed { u32 msg; + const void *msg_ptr_; }; +struct trace_event_data_offsets_cap_capable {}; + struct trace_event_data_offsets_clock { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_console { u32 msg; + const void *msg_ptr_; }; struct trace_event_data_offsets_consume_skb {}; @@ -37574,26 +40683,115 @@ struct trace_event_data_offsets_cpuhp_exit {}; struct trace_event_data_offsets_cpuhp_multi_enter {}; +struct trace_event_data_offsets_ctime {}; + +struct trace_event_data_offsets_ctime_ns_xchg {}; + struct trace_event_data_offsets_dev_pm_qos_request { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_device_pm_callback_end { u32 device; + const void *device_ptr_; u32 driver; + const void *driver_ptr_; }; struct trace_event_data_offsets_device_pm_callback_start { u32 device; + const void *device_ptr_; u32 driver; + const void *driver_ptr_; u32 parent; + const void *parent_ptr_; u32 pm_ops; + const void *pm_ops_ptr_; }; struct trace_event_data_offsets_devres { u32 devname; + const void *devname_ptr_; + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_dma_alloc_class { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_alloc_sgt { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_free_class { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_free_sgt { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_map { + u32 device; + const void *device_ptr_; }; +struct trace_event_data_offsets_dma_map_sg { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; + u32 dma_addrs; + const void *dma_addrs_ptr_; + u32 lengths; + const void *lengths_ptr_; +}; + +struct trace_event_data_offsets_dma_map_sg_err { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_sync_sg { + u32 device; + const void *device_ptr_; + u32 dma_addrs; + const void *dma_addrs_ptr_; + u32 lengths; + const void *lengths_ptr_; +}; + +struct trace_event_data_offsets_dma_sync_single { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_unmap { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_unmap_sg { + u32 device; + const void *device_ptr_; + u32 addrs; + const void *addrs_ptr_; +}; + +struct trace_event_data_offsets_dql_stall_detected {}; + struct trace_event_data_offsets_error_report_template {}; struct trace_event_data_offsets_exit_mmap {}; @@ -37606,6 +40804,8 @@ struct trace_event_data_offsets_file_check_and_advance_wb_err {}; struct trace_event_data_offsets_filemap_set_wb_err {}; +struct trace_event_data_offsets_fill_mg_cmtime {}; + struct trace_event_data_offsets_finish_task_reaping {}; struct trace_event_data_offsets_free_vmap_area_noflush {}; @@ -37614,8 +40814,6 @@ struct trace_event_data_offsets_global_dirty_state {}; struct trace_event_data_offsets_guest_halt_poll_ns {}; -struct trace_event_data_offsets_hash_fault {}; - struct trace_event_data_offsets_hrtimer_class {}; struct trace_event_data_offsets_hrtimer_expire_entry {}; @@ -37624,6 +40822,8 @@ struct trace_event_data_offsets_hrtimer_init {}; struct trace_event_data_offsets_hrtimer_start {}; +struct trace_event_data_offsets_icmp_send {}; + struct trace_event_data_offsets_inet_sk_error_report {}; struct trace_event_data_offsets_inet_sock_set_state {}; @@ -37632,6 +40832,7 @@ struct trace_event_data_offsets_initcall_finish {}; struct trace_event_data_offsets_initcall_level { u32 level; + const void *level_ptr_; }; struct trace_event_data_offsets_initcall_start {}; @@ -37640,16 +40841,19 @@ struct trace_event_data_offsets_ipi_handler {}; struct trace_event_data_offsets_ipi_raise { u32 target_cpus; + const void *target_cpus_ptr_; }; struct trace_event_data_offsets_ipi_send_cpu {}; struct trace_event_data_offsets_ipi_send_cpumask { u32 cpumask; + const void *cpumask_ptr_; }; struct trace_event_data_offsets_irq_handler_entry { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_irq_handler_exit {}; @@ -37668,6 +40872,7 @@ struct trace_event_data_offsets_kmem_cache_alloc {}; struct trace_event_data_offsets_kmem_cache_free { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_ma_op {}; @@ -37676,7 +40881,10 @@ struct trace_event_data_offsets_ma_read {}; struct trace_event_data_offsets_ma_write {}; -struct trace_event_data_offsets_mark_victim {}; +struct trace_event_data_offsets_mark_victim { + u32 comm; + const void *comm_ptr_; +}; struct trace_event_data_offsets_mem_connect {}; @@ -37686,8 +40894,14 @@ struct trace_event_data_offsets_mem_return_failed {}; struct trace_event_data_offsets_migration_pte {}; +struct trace_event_data_offsets_mm_alloc_contig_migrate_range_info {}; + +struct trace_event_data_offsets_mm_filemap_fault {}; + struct trace_event_data_offsets_mm_filemap_op_page_cache {}; +struct trace_event_data_offsets_mm_filemap_op_page_cache_range {}; + struct trace_event_data_offsets_mm_lru_activate {}; struct trace_event_data_offsets_mm_lru_insertion {}; @@ -37728,73 +40942,85 @@ struct trace_event_data_offsets_mm_vmscan_lru_shrink_inactive {}; struct trace_event_data_offsets_mm_vmscan_node_reclaim_begin {}; +struct trace_event_data_offsets_mm_vmscan_reclaim_pages {}; + struct trace_event_data_offsets_mm_vmscan_throttled {}; struct trace_event_data_offsets_mm_vmscan_wakeup_kswapd {}; struct trace_event_data_offsets_mm_vmscan_write_folio {}; -struct trace_event_data_offsets_mmap_lock { - u32 memcg_path; -}; +struct trace_event_data_offsets_mmap_lock {}; -struct trace_event_data_offsets_mmap_lock_acquire_returned { - u32 memcg_path; -}; +struct trace_event_data_offsets_mmap_lock_acquire_returned {}; struct trace_event_data_offsets_module_free { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_module_load { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_module_request { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_napi_poll { u32 dev_name; + const void *dev_name_ptr_; }; struct trace_event_data_offsets_neigh__update { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_neigh_create { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_neigh_update { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_net_dev_rx_exit_template {}; struct trace_event_data_offsets_net_dev_rx_verbose_template { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_start_xmit { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_template { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_xmit { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_xmit_timeout { u32 name; + const void *name_ptr_; u32 driver; + const void *driver_ptr_; }; struct trace_event_data_offsets_netlink_extack { u32 msg; + const void *msg_ptr_; }; struct trace_event_data_offsets_notifier_info {}; @@ -37823,10 +41049,12 @@ struct trace_event_data_offsets_pm_qos_update {}; struct trace_event_data_offsets_power_domain { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_powernv_throttle { u32 reason; + const void *reason_ptr_; }; struct trace_event_data_offsets_ppc64_interrupt_class {}; @@ -37837,21 +41065,27 @@ struct trace_event_data_offsets_purge_vmap_area_lazy {}; struct trace_event_data_offsets_qdisc_create { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_qdisc_dequeue {}; struct trace_event_data_offsets_qdisc_destroy { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_qdisc_enqueue {}; struct trace_event_data_offsets_qdisc_reset { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_rcu_utilization {}; @@ -37878,8 +41112,18 @@ struct trace_event_data_offsets_sched_numa_pair_template {}; struct trace_event_data_offsets_sched_pi_setprio {}; +struct trace_event_data_offsets_sched_prepare_exec { + u32 interp; + const void *interp_ptr_; + u32 filename; + const void *filename_ptr_; + u32 comm; + const void *comm_ptr_; +}; + struct trace_event_data_offsets_sched_process_exec { u32 filename; + const void *filename_ptr_; }; struct trace_event_data_offsets_sched_process_fork {}; @@ -37924,10 +41168,18 @@ struct trace_event_data_offsets_sys_exit {}; struct trace_event_data_offsets_task_newtask {}; +struct trace_event_data_offsets_task_prctl_unknown {}; + struct trace_event_data_offsets_task_rename {}; struct trace_event_data_offsets_tasklet {}; +struct trace_event_data_offsets_tcp_ao_event {}; + +struct trace_event_data_offsets_tcp_ao_event_sk {}; + +struct trace_event_data_offsets_tcp_ao_event_sne {}; + struct trace_event_data_offsets_tcp_cong_state_set {}; struct trace_event_data_offsets_tcp_event_sk {}; @@ -37936,10 +41188,16 @@ struct trace_event_data_offsets_tcp_event_sk_skb {}; struct trace_event_data_offsets_tcp_event_skb {}; +struct trace_event_data_offsets_tcp_hash_event {}; + struct trace_event_data_offsets_tcp_probe {}; struct trace_event_data_offsets_tcp_retransmit_synack {}; +struct trace_event_data_offsets_tcp_send_reset {}; + +struct trace_event_data_offsets_timer_base_idle {}; + struct trace_event_data_offsets_timer_class {}; struct trace_event_data_offsets_timer_expire_entry {}; @@ -37964,6 +41222,7 @@ struct trace_event_data_offsets_wake_reaper {}; struct trace_event_data_offsets_wakeup_source { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_wbc_class {}; @@ -37976,6 +41235,7 @@ struct trace_event_data_offsets_workqueue_execute_start {}; struct trace_event_data_offsets_workqueue_queue_work { u32 workqueue; + const void *workqueue_ptr_; }; struct trace_event_data_offsets_writeback_bdi_register {}; @@ -38019,7 +41279,8 @@ struct trace_event_fields { const char *name; const int size; const int align; - const int is_signed; + const unsigned int is_signed: 1; + unsigned int needs_test: 1; const int filter_type; const int len; }; @@ -38027,19 +41288,18 @@ struct trace_event_fields { }; }; -struct eventfs_file; - struct trace_subsystem_dir; struct trace_event_file { struct list_head list; struct trace_event_call *event_call; struct event_filter *filter; - struct eventfs_file *ef; + struct eventfs_inode *ei; struct trace_array *tr; struct trace_subsystem_dir *system; struct list_head triggers; long unsigned int flags; + refcount_t ref; atomic_t sm_ref; atomic_t tm_ref; }; @@ -38126,12 +41386,28 @@ struct trace_event_raw_bpf_trace_printk { char __data[0]; }; +struct trace_event_raw_bpf_trigger_tp { + struct trace_entry ent; + int nonce; + char __data[0]; +}; + struct trace_event_raw_bpf_xdp_link_attach_failed { struct trace_entry ent; u32 __data_loc_msg; char __data[0]; }; +struct trace_event_raw_cap_capable { + struct trace_entry ent; + const struct cred *cred; + struct user_namespace *target_ns; + const struct user_namespace *capable_ns; + int cap; + int ret; + char __data[0]; +}; + struct trace_event_raw_clock { struct trace_entry ent; u32 __data_loc_name; @@ -38224,6 +41500,27 @@ struct trace_event_raw_cpuhp_multi_enter { char __data[0]; }; +struct trace_event_raw_ctime { + struct trace_entry ent; + dev_t dev; + ino_t ino; + time64_t ctime_s; + u32 ctime_ns; + u32 gen; + char __data[0]; +}; + +struct trace_event_raw_ctime_ns_xchg { + struct trace_entry ent; + dev_t dev; + ino_t ino; + u32 gen; + u32 old; + u32 new; + u32 cur; + char __data[0]; +}; + struct trace_event_raw_dev_pm_qos_request { struct trace_entry ent; u32 __data_loc_name; @@ -38256,8 +41553,139 @@ struct trace_event_raw_devres { struct device *dev; const char *op; void *node; - const char *name; + u32 __data_loc_name; + size_t size; + char __data[0]; +}; + +struct trace_event_raw_dma_alloc_class { + struct trace_entry ent; + u32 __data_loc_device; + void *virt_addr; + u64 dma_addr; + size_t size; + gfp_t flags; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_alloc_sgt { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + gfp_t flags; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_free_class { + struct trace_entry ent; + u32 __data_loc_device; + void *virt_addr; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; + long: 32; +}; + +struct trace_event_raw_dma_free_sgt { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_map { + struct trace_entry ent; + u32 __data_loc_device; + long: 32; + u64 phys_addr; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; + long: 32; +}; + +struct trace_event_raw_dma_map_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u32 __data_loc_dma_addrs; + u32 __data_loc_lengths; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_map_sg_err { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + int err; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_sync_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_dma_addrs; + u32 __data_loc_lengths; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_sync_single { + struct trace_entry ent; + u32 __data_loc_device; + long: 32; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_unmap { + struct trace_entry ent; + u32 __data_loc_device; + long: 32; + u64 addr; size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; + long: 32; +}; + +struct trace_event_raw_dma_unmap_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_addrs; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dql_stall_detected { + struct trace_entry ent; + short unsigned int thrs; + unsigned int len; + long unsigned int last_reap; + long unsigned int hist_head; + long unsigned int now; + long unsigned int hist[4]; char __data[0]; }; @@ -38281,6 +41709,7 @@ struct trace_event_raw_fib6_table_lookup { int err; int oif; int iif; + u32 flowlabel; __u8 tos; __u8 scope; __u8 flags; @@ -38333,6 +41762,19 @@ struct trace_event_raw_filemap_set_wb_err { char __data[0]; }; +struct trace_event_raw_fill_mg_cmtime { + struct trace_entry ent; + dev_t dev; + ino_t ino; + time64_t ctime_s; + time64_t mtime_s; + u32 ctime_ns; + u32 mtime_ns; + u32 gen; + char __data[0]; + long: 32; +}; + struct trace_event_raw_finish_task_reaping { struct trace_entry ent; int pid; @@ -38367,14 +41809,6 @@ struct trace_event_raw_guest_halt_poll_ns { char __data[0]; }; -struct trace_event_raw_hash_fault { - struct trace_entry ent; - long unsigned int addr; - long unsigned int access; - long unsigned int trap; - char __data[0]; -}; - struct trace_event_raw_hrtimer_class { struct trace_entry ent; void *hrtimer; @@ -38410,6 +41844,19 @@ struct trace_event_raw_hrtimer_start { long: 32; }; +struct trace_event_raw_icmp_send { + struct trace_entry ent; + const void *skbaddr; + int type; + int code; + __u8 saddr[4]; + __u8 daddr[4]; + __u16 sport; + __u16 dport; + short unsigned int ulen; + char __data[0]; +}; + struct trace_event_raw_inet_sk_error_report { struct trace_entry ent; int error; @@ -38440,7 +41887,7 @@ struct trace_event_raw_inet_sock_set_state { char __data[0]; }; -typedef int (*initcall_t)(); +typedef int (*initcall_t)(void); struct trace_event_raw_initcall_finish { struct trace_entry ent; @@ -38535,6 +41982,7 @@ struct trace_event_raw_kfree_skb { struct trace_entry ent; void *skbaddr; void *location; + void *rx_sk; short unsigned int protocol; enum skb_drop_reason reason; char __data[0]; @@ -38609,6 +42057,14 @@ struct trace_event_raw_ma_write { struct trace_event_raw_mark_victim { struct trace_entry ent; int pid; + u32 __data_loc_comm; + long unsigned int total_vm; + long unsigned int anon_rss; + long unsigned int file_rss; + long unsigned int shmem_rss; + uid_t uid; + long unsigned int pgtables; + short int oom_score_adj; char __data[0]; }; @@ -38650,6 +42106,25 @@ struct trace_event_raw_migration_pte { char __data[0]; }; +struct trace_event_raw_mm_alloc_contig_migrate_range_info { + struct trace_entry ent; + long unsigned int start; + long unsigned int end; + long unsigned int nr_migrated; + long unsigned int nr_reclaimed; + long unsigned int nr_mapped; + int migratetype; + char __data[0]; +}; + +struct trace_event_raw_mm_filemap_fault { + struct trace_entry ent; + long unsigned int i_ino; + dev_t s_dev; + long unsigned int index; + char __data[0]; +}; + struct trace_event_raw_mm_filemap_op_page_cache { struct trace_entry ent; long unsigned int pfn; @@ -38660,6 +42135,15 @@ struct trace_event_raw_mm_filemap_op_page_cache { char __data[0]; }; +struct trace_event_raw_mm_filemap_op_page_cache_range { + struct trace_entry ent; + long unsigned int i_ino; + dev_t s_dev; + long unsigned int index; + long unsigned int last_index; + char __data[0]; +}; + struct trace_event_raw_mm_lru_activate { struct trace_entry ent; struct folio *folio; @@ -38683,6 +42167,7 @@ struct trace_event_raw_mm_migrate_pages { long unsigned int thp_succeeded; long unsigned int thp_failed; long unsigned int thp_split; + long unsigned int large_folio_split; enum migrate_mode mode; int reason; char __data[0]; @@ -38806,7 +42291,6 @@ struct trace_event_raw_mm_vmscan_lru_isolate { long unsigned int nr_scanned; long unsigned int nr_skipped; long unsigned int nr_taken; - unsigned int isolate_mode; int lru; char __data[0]; }; @@ -38849,6 +42333,22 @@ struct trace_event_raw_mm_vmscan_node_reclaim_begin { char __data[0]; }; +struct trace_event_raw_mm_vmscan_reclaim_pages { + struct trace_entry ent; + int nid; + long unsigned int nr_scanned; + long unsigned int nr_reclaimed; + long unsigned int nr_dirty; + long unsigned int nr_writeback; + long unsigned int nr_congested; + long unsigned int nr_immediate; + unsigned int nr_activate0; + unsigned int nr_activate1; + long unsigned int nr_ref_keep; + long unsigned int nr_unmap_fail; + char __data[0]; +}; + struct trace_event_raw_mm_vmscan_throttled { struct trace_entry ent; int nid; @@ -38877,18 +42377,22 @@ struct trace_event_raw_mm_vmscan_write_folio { struct trace_event_raw_mmap_lock { struct trace_entry ent; struct mm_struct *mm; - u32 __data_loc_memcg_path; + long: 32; + u64 memcg_id; bool write; char __data[0]; + long: 32; }; struct trace_event_raw_mmap_lock_acquire_returned { struct trace_entry ent; struct mm_struct *mm; - u32 __data_loc_memcg_path; + long: 32; + u64 memcg_id; bool write; bool success; char __data[0]; + long: 32; }; struct trace_event_raw_module_free { @@ -39086,7 +42590,7 @@ struct trace_event_raw_page_pool_release { struct trace_event_raw_page_pool_state_hold { struct trace_entry ent; const struct page_pool *pool; - const struct page *page; + long unsigned int netmem; u32 hold; long unsigned int pfn; char __data[0]; @@ -39095,7 +42599,7 @@ struct trace_event_raw_page_pool_state_hold { struct trace_event_raw_page_pool_state_release { struct trace_entry ent; const struct page_pool *pool; - const struct page *page; + long unsigned int netmem; u32 release; long unsigned int pfn; char __data[0]; @@ -39365,6 +42869,15 @@ struct trace_event_raw_sched_pi_setprio { char __data[0]; }; +struct trace_event_raw_sched_prepare_exec { + struct trace_entry ent; + u32 __data_loc_interp; + u32 __data_loc_filename; + pid_t pid; + u32 __data_loc_comm; + char __data[0]; +}; + struct trace_event_raw_sched_process_exec { struct trace_entry ent; u32 __data_loc_filename; @@ -39404,7 +42917,6 @@ struct trace_event_raw_sched_stat_runtime { pid_t pid; long: 32; u64 runtime; - u64 vruntime; char __data[0]; }; @@ -39554,9 +43066,18 @@ struct trace_event_raw_task_newtask { char __data[0]; }; +struct trace_event_raw_task_prctl_unknown { + struct trace_entry ent; + int option; + long unsigned int arg2; + long unsigned int arg3; + long unsigned int arg4; + long unsigned int arg5; + char __data[0]; +}; + struct trace_event_raw_task_rename { struct trace_entry ent; - pid_t pid; char oldcomm[16]; char newcomm[16]; short int oom_score_adj; @@ -39570,6 +43091,59 @@ struct trace_event_raw_tasklet { char __data[0]; }; +struct trace_event_raw_tcp_ao_event { + struct trace_entry ent; + __u64 net_cookie; + const void *skbaddr; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + int l3index; + __u16 sport; + __u16 dport; + __u16 family; + bool fin; + bool syn; + bool rst; + bool psh; + bool ack; + __u8 keyid; + __u8 rnext; + __u8 maclen; + char __data[0]; +}; + +struct trace_event_raw_tcp_ao_event_sk { + struct trace_entry ent; + __u64 net_cookie; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + __u16 sport; + __u16 dport; + __u16 family; + __u8 keyid; + __u8 rnext; + char __data[0]; +}; + +struct trace_event_raw_tcp_ao_event_sne { + struct trace_entry ent; + __u64 net_cookie; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + __u16 sport; + __u16 dport; + __u16 family; + __u32 new_sne; + char __data[0]; + long: 32; +}; + struct trace_event_raw_tcp_cong_state_set { struct trace_entry ent; const void *skaddr; @@ -39622,6 +43196,27 @@ struct trace_event_raw_tcp_event_skb { char __data[0]; }; +struct trace_event_raw_tcp_hash_event { + struct trace_entry ent; + __u64 net_cookie; + const void *skbaddr; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + int l3index; + __u16 sport; + __u16 dport; + __u16 family; + bool fin; + bool syn; + bool rst; + bool psh; + bool ack; + char __data[0]; + long: 32; +}; + struct trace_event_raw_tcp_probe { struct trace_entry ent; __u8 saddr[28]; @@ -39640,6 +43235,8 @@ struct trace_event_raw_tcp_probe { __u32 rcv_wnd; long: 32; __u64 sock_cookie; + const void *skbaddr; + const void *skaddr; char __data[0]; }; @@ -39657,6 +43254,24 @@ struct trace_event_raw_tcp_retransmit_synack { char __data[0]; }; +struct trace_event_raw_tcp_send_reset { + struct trace_entry ent; + const void *skbaddr; + const void *skaddr; + int state; + enum sk_rst_reason reason; + __u8 saddr[28]; + __u8 daddr[28]; + char __data[0]; +}; + +struct trace_event_raw_timer_base_idle { + struct trace_entry ent; + bool is_idle; + unsigned int cpu; + char __data[0]; +}; + struct trace_event_raw_timer_class { struct trace_entry ent; void *timer; @@ -39677,6 +43292,7 @@ struct trace_event_raw_timer_start { void *timer; void *function; long unsigned int expires; + long unsigned int bucket_expiry; long unsigned int now; unsigned int flags; char __data[0]; @@ -39710,7 +43326,11 @@ struct trace_event_raw_tlbie { struct trace_event_raw_udp_fail_queue_rcv_skb { struct trace_entry ent; int rc; - __u16 lport; + __u16 sport; + __u16 dport; + __u16 family; + __u8 saddr[28]; + __u8 daddr[28]; char __data[0]; }; @@ -39777,6 +43397,7 @@ struct trace_event_raw_wbc_class { struct trace_event_raw_workqueue_activate_work { struct trace_entry ent; void *work; + void *function; char __data[0]; }; @@ -40073,21 +43694,23 @@ struct trace_subsystem_dir { struct list_head list; struct event_subsystem *subsystem; struct trace_array *tr; - struct eventfs_file *ef; + struct eventfs_inode *ei; int ref_count; int nr_events; }; struct trace_uprobe { struct dyn_event devent; + long: 32; struct uprobe_consumer consumer; struct path path; - struct inode *inode; char *filename; + struct uprobe *uprobe; long unsigned int offset; long unsigned int ref_ctr_offset; - long unsigned int nhit; + long unsigned int *nhits; struct trace_probe tp; + long: 32; }; struct tracefs_dir_ops { @@ -40095,33 +43718,37 @@ struct tracefs_dir_ops { int (*rmdir)(const char *); }; -struct tracefs_mount_opts { +struct tracefs_fs_info { kuid_t uid; kgid_t gid; umode_t mode; unsigned int opts; }; -struct tracefs_fs_info { - struct tracefs_mount_opts mount_opts; -}; - struct tracefs_inode { + struct inode vfs_inode; + struct list_head list; long unsigned int flags; void *private; - struct inode vfs_inode; }; +struct tracepoint_ext; + struct tracepoint { const char *name; - struct static_key key; + struct static_key_false key; struct static_call_key *static_call_key; void *static_call_tramp; void *iterator; void *probestub; - int (*regfunc)(); - void (*unregfunc)(); struct tracepoint_func *funcs; + struct tracepoint_ext *ext; +}; + +struct tracepoint_ext { + int (*regfunc)(void); + void (*unregfunc)(void); + unsigned int faultable: 1; }; struct traceprobe_parse_context { @@ -40134,6 +43761,7 @@ struct traceprobe_parse_context { const struct btf_type *last_type; u32 last_bitoffs; u32 last_bitsize; + struct trace_probe *tp; unsigned int flags; int offset; }; @@ -40242,9 +43870,30 @@ struct ts_state { char cb[48]; }; +struct tsconfig_reply_data { + struct ethnl_reply_data base; + struct hwtstamp_provider_desc hwprov_desc; + struct { + u32 tx_type; + u32 rx_filter; + u32 flags; + } hwtst_config; +}; + +struct tsconfig_req_info { + struct ethnl_req_info base; +}; + struct tsinfo_reply_data { struct ethnl_reply_data base; - struct ethtool_ts_info ts_info; + struct kernel_ethtool_ts_info ts_info; + long: 32; + struct ethtool_ts_stats stats; +}; + +struct tsinfo_req_info { + struct ethnl_req_info base; + struct hwtstamp_provider_desc hwprov_desc; }; struct tso_t { @@ -40370,9 +44019,10 @@ struct tty_operations { void (*hangup)(struct tty_struct *); int (*break_ctl)(struct tty_struct *, int); void (*flush_buffer)(struct tty_struct *); + int (*ldisc_ok)(struct tty_struct *, int); void (*set_ldisc)(struct tty_struct *); void (*wait_until_sent)(struct tty_struct *, int); - void (*send_xchar)(struct tty_struct *, char); + void (*send_xchar)(struct tty_struct *, u8); int (*tiocmget)(struct tty_struct *); int (*tiocmset)(struct tty_struct *, unsigned int, unsigned int); int (*resize)(struct tty_struct *, struct winsize *); @@ -40403,17 +44053,17 @@ struct tty_port { unsigned char console: 1; struct mutex mutex; struct mutex buf_mutex; - unsigned char *xmit_buf; + u8 *xmit_buf; struct { union { struct __kfifo kfifo; - unsigned char *type; - const unsigned char *const_type; + u8 *type; + const u8 *const_type; char (*rectype)[0]; - unsigned char *ptr; - const unsigned char *ptr_const; + u8 *ptr; + const u8 *ptr_const; }; - unsigned char buf[0]; + u8 buf[0]; } xmit_fifo; unsigned int close_delay; unsigned int closing_wait; @@ -40468,7 +44118,6 @@ struct tty_struct { spinlock_t lock; bool stopped; bool tco_stopped; - long unsigned int unused[0]; } flow; struct { struct pid *pgrp; @@ -40476,7 +44125,6 @@ struct tty_struct { spinlock_t lock; unsigned char pktstatus; bool packet; - long unsigned int unused[0]; } ctrl; bool hw_stopped; bool closing; @@ -40490,13 +44138,15 @@ struct tty_struct { void *driver_data; spinlock_t files_lock; int write_cnt; - unsigned char *write_buf; + u8 *write_buf; struct list_head tty_files; struct work_struct SAK_work; }; +struct ubuf_info_ops; + struct ubuf_info { - void (*callback)(struct sk_buff *, struct ubuf_info *, bool); + const struct ubuf_info_ops *ops; refcount_t refcnt; u8 flags; }; @@ -40518,6 +44168,11 @@ struct ubuf_info_msgzc { struct mmpin mmp; }; +struct ubuf_info_ops { + void (*complete)(struct sk_buff *, struct ubuf_info *, bool); + int (*link_skb)(struct sk_buff *, struct ubuf_info *); +}; + struct ucounts { struct hlist_node node; struct user_namespace *ns; @@ -40535,21 +44190,15 @@ struct ucred { struct udp_sock { struct inet_sock inet; + long unsigned int udp_flags; int pending; - unsigned int corkflag; __u8 encap_type; - unsigned char no_check6_tx: 1; - unsigned char no_check6_rx: 1; - unsigned char encap_enabled: 1; - unsigned char gro_enabled: 1; - unsigned char accept_udp_l4: 1; - unsigned char accept_udp_fraglist: 1; + __u16 udp_lrpa_hash; + struct hlist_nulls_node udp_lrpa_node; __u16 len; __u16 gso_size; __u16 pcslen; __u16 pcrlen; - __u8 pcflag; - __u8 unused[3]; int (*encap_rcv)(struct sock *, struct sk_buff *); void (*encap_err_rcv)(struct sock *, struct sk_buff *, int, __be16, u32, u8 *); int (*encap_err_lookup)(struct sock *, struct sk_buff *); @@ -40559,298 +44208,2252 @@ struct udp_sock { struct sk_buff_head reader_queue; int forward_deficit; int forward_threshold; + bool peeking_with_offset; + long: 32; +}; + +struct udp6_sock { + struct udp_sock udp; + struct ipv6_pinfo inet6; + long: 32; +}; + +struct udp_dev_scratch { + u32 _tsize_state; +}; + +struct udp_hslot { + union { + struct hlist_head head; + struct hlist_nulls_head nulls_head; + }; + int count; + spinlock_t lock; +}; + +struct udp_hslot_main { + struct udp_hslot hslot; + u32 hash4_cnt; + long: 32; +}; + +struct udp_mib { + long unsigned int mibs[10]; +}; + +struct udp_skb_cb { + union { + struct inet_skb_parm h4; + struct inet6_skb_parm h6; + } header; + __u16 cscov; + __u8 partial_cov; +}; + +struct udp_table { + struct udp_hslot *hash; + struct udp_hslot_main *hash2; + struct udp_hslot *hash4; + unsigned int mask; + unsigned int log; +}; + +struct udp_tunnel_info { + short unsigned int type; + sa_family_t sa_family; + __be16 port; + u8 hw_priv; +}; + +struct udp_tunnel_nic_table_info { + unsigned int n_entries; + unsigned int tunnel_types; +}; + +struct udp_tunnel_nic_shared; + +struct udp_tunnel_nic_info { + int (*set_port)(struct net_device *, unsigned int, unsigned int, struct udp_tunnel_info *); + int (*unset_port)(struct net_device *, unsigned int, unsigned int, struct udp_tunnel_info *); + int (*sync_table)(struct net_device *, unsigned int); + struct udp_tunnel_nic_shared *shared; + unsigned int flags; + struct udp_tunnel_nic_table_info tables[4]; +}; + +struct udp_tunnel_nic_ops { + void (*get_port)(struct net_device *, unsigned int, unsigned int, struct udp_tunnel_info *); + void (*set_port_priv)(struct net_device *, unsigned int, unsigned int, u8); + void (*add_port)(struct net_device *, struct udp_tunnel_info *); + void (*del_port)(struct net_device *, struct udp_tunnel_info *); + void (*reset_ntf)(struct net_device *); + size_t (*dump_size)(struct net_device *, unsigned int); + int (*dump_write)(struct net_device *, unsigned int, struct sk_buff *); +}; + +struct udp_tunnel_nic_shared { + struct udp_tunnel_nic *udp_tunnel_nic_info; + struct list_head devices; +}; + +struct udphdr { + __be16 source; + __be16 dest; + __be16 len; + __sum16 check; +}; + +struct uevent_sock { + struct list_head list; + struct sock *sk; +}; + +struct uncached_list { + spinlock_t lock; + struct list_head head; +}; + +struct unix_address { + refcount_t refcnt; + int len; + struct sockaddr_un name[0]; +}; + +struct unix_vertex; + +struct unix_sock { + struct sock sk; + struct unix_address *addr; + struct path path; + struct mutex iolock; + struct mutex bindlock; + struct sock *peer; + struct sock *listener; + struct unix_vertex *vertex; + spinlock_t lock; + struct socket_wq peer_wq; + wait_queue_entry_t peer_wake; + struct scm_stat scm_stat; + long: 32; +}; + +struct unix_vertex { + struct list_head edges; + struct list_head entry; + struct list_head scc_entry; + long unsigned int out_degree; + long unsigned int index; + long unsigned int scc_index; +}; + +struct unlink_vma_file_batch { + int count; + struct vm_area_struct *vmas[8]; +}; + +union upper_chunk { + union upper_chunk *next; + union lower_chunk *data[256]; +}; + +struct uprobe { + struct rb_node rb_node; + refcount_t ref; + struct rw_semaphore register_rwsem; + struct rw_semaphore consumer_rwsem; + struct list_head pending_list; + struct list_head consumers; + struct inode *inode; + union { + struct callback_head rcu; + struct work_struct work; + }; + long: 32; + loff_t offset; + loff_t ref_ctr_offset; + long unsigned int flags; + struct arch_uprobe arch; + long: 32; +}; + +struct uprobe_cpu_buffer { + struct mutex mutex; + void *buf; + int dsize; +}; + +struct uprobe_dispatch_data { + struct trace_uprobe *tu; + long unsigned int bp_addr; +}; + +struct uprobe_task { + enum uprobe_task_state state; + unsigned int depth; + struct return_instance *return_instances; + struct return_instance *ri_pool; + struct timer_list ri_timer; + seqcount_t ri_seqcount; + union { + struct { + struct arch_uprobe_task autask; + long unsigned int vaddr; + }; + struct { + struct callback_head dup_xol_work; + long unsigned int dup_xol_addr; + }; + }; + struct uprobe *active_uprobe; + long unsigned int xol_vaddr; + struct arch_uprobe *auprobe; +}; + +struct uprobe_trace_entry_head { + struct trace_entry ent; + long unsigned int vaddr[0]; +}; + +struct used_address { + struct __kernel_sockaddr_storage name; + unsigned int name_len; +}; + +struct user_arg_ptr { + union { + const char * const *native; + } ptr; +}; + +struct user_namespace { + struct uid_gid_map uid_map; + struct uid_gid_map gid_map; + struct uid_gid_map projid_map; + struct user_namespace *parent; + int level; + kuid_t owner; + kgid_t group; + struct ns_common ns; + long unsigned int flags; + bool parent_could_setfcap; + struct work_struct work; + struct ucounts *ucounts; + long int ucount_max[8]; + long int rlimit_max[4]; +}; + +struct user_regset; + +typedef int user_regset_get2_fn(struct task_struct *, const struct user_regset *, struct membuf); + +typedef int user_regset_set_fn(struct task_struct *, const struct user_regset *, unsigned int, unsigned int, const void *, const void *); + +typedef int user_regset_active_fn(struct task_struct *, const struct user_regset *); + +typedef int user_regset_writeback_fn(struct task_struct *, const struct user_regset *, int); + +struct user_regset { + user_regset_get2_fn *regset_get; + user_regset_set_fn *set; + user_regset_active_fn *active; + user_regset_writeback_fn *writeback; + unsigned int n; + unsigned int size; + unsigned int align; + unsigned int bias; + unsigned int core_note_type; +}; + +struct user_regset_view { + const char *name; + const struct user_regset *regsets; + unsigned int n; + u32 e_flags; + u16 e_machine; + u8 ei_osabi; +}; + +struct user_struct { + refcount_t __count; + long unsigned int unix_inflight; + atomic_long_t pipe_bufs; + struct hlist_node uidhash_node; + kuid_t uid; + atomic_long_t locked_vm; + struct ratelimit_state ratelimit; +}; + +struct userstack_entry { + struct trace_entry ent; + unsigned int tgid; + long unsigned int caller[8]; +}; + +struct ustat { + __kernel_daddr_t f_tfree; + long unsigned int f_tinode; + char f_fname[6]; + char f_fpack[6]; +}; + +struct ustring_buffer { + char buffer[1024]; +}; + +struct uts_namespace { + struct new_utsname name; + struct user_namespace *user_ns; + struct ucounts *ucounts; + struct ns_common ns; +}; + +struct va_format { + const char *fmt; + va_list *va; +}; + +struct vdso_rng_data { + u64 generation; + u8 is_ready; + long: 32; +}; + +struct vdso_timestamp { + u64 sec; + u64 nsec; +}; + +struct vdso_data { + u32 seq; + s32 clock_mode; + u64 cycle_last; + u64 mask; + u32 mult; + u32 shift; + union { + struct vdso_timestamp basetime[12]; + struct timens_offset offset[12]; + }; + s32 tz_minuteswest; + s32 tz_dsttime; + u32 hrtimer_res; + u32 __unused; + struct arch_vdso_time_data arch_data; +}; + +struct vdso_arch_data { + __u64 tb_ticks_per_sec; + __u32 syscall_map[15]; + __u32 compat_syscall_map[0]; + long: 32; + struct vdso_rng_data rng_data; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + struct vdso_data data[2]; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; + long: 32; long: 32; -}; - -struct udp6_sock { - struct udp_sock udp; - struct ipv6_pinfo inet6; long: 32; -}; - -struct udp_dev_scratch { - u32 _tsize_state; -}; - -struct udp_hslot { - struct hlist_head head; - int count; - spinlock_t lock; -}; - -struct udp_mib { - long unsigned int mibs[10]; -}; - -struct udp_skb_cb { - union { - struct inet_skb_parm h4; - struct inet6_skb_parm h6; - } header; - __u16 cscov; - __u8 partial_cov; -}; - -struct udp_table { - struct udp_hslot *hash; - struct udp_hslot *hash2; - unsigned int mask; - unsigned int log; -}; - -struct udp_tunnel_info { - short unsigned int type; - sa_family_t sa_family; - __be16 port; - u8 hw_priv; -}; - -struct udp_tunnel_nic_table_info { - unsigned int n_entries; - unsigned int tunnel_types; -}; - -struct udp_tunnel_nic_shared; - -struct udp_tunnel_nic_info { - int (*set_port)(struct net_device *, unsigned int, unsigned int, struct udp_tunnel_info *); - int (*unset_port)(struct net_device *, unsigned int, unsigned int, struct udp_tunnel_info *); - int (*sync_table)(struct net_device *, unsigned int); - struct udp_tunnel_nic_shared *shared; - unsigned int flags; - struct udp_tunnel_nic_table_info tables[4]; -}; - -struct udp_tunnel_nic_ops { - void (*get_port)(struct net_device *, unsigned int, unsigned int, struct udp_tunnel_info *); - void (*set_port_priv)(struct net_device *, unsigned int, unsigned int, u8); - void (*add_port)(struct net_device *, struct udp_tunnel_info *); - void (*del_port)(struct net_device *, struct udp_tunnel_info *); - void (*reset_ntf)(struct net_device *); - size_t (*dump_size)(struct net_device *, unsigned int); - int (*dump_write)(struct net_device *, unsigned int, struct sk_buff *); -}; - -struct udp_tunnel_nic_shared { - struct udp_tunnel_nic *udp_tunnel_nic_info; - struct list_head devices; -}; - -struct udphdr { - __be16 source; - __be16 dest; - __be16 len; - __sum16 check; -}; - -struct uevent_sock { - struct list_head list; - struct sock *sk; -}; - -struct uid_gid_extent { - u32 first; - u32 lower_first; - u32 count; -}; - -struct uid_gid_map { - u32 nr_extents; - union { - struct uid_gid_extent extent[5]; - struct { - struct uid_gid_extent *forward; - struct uid_gid_extent *reverse; - }; - }; -}; - -struct uncached_list { - spinlock_t lock; - struct list_head head; - struct list_head quarantine; -}; - -union upper_chunk { - union upper_chunk *next; - union lower_chunk *data[256]; -}; - -struct uprobe { - struct rb_node rb_node; - refcount_t ref; - struct rw_semaphore register_rwsem; - struct rw_semaphore consumer_rwsem; - struct list_head pending_list; - struct uprobe_consumer *consumers; - struct inode *inode; - loff_t offset; - loff_t ref_ctr_offset; - long unsigned int flags; - struct arch_uprobe arch; long: 32; -}; - -struct uprobe_cpu_buffer { - struct mutex mutex; - void *buf; -}; - -struct uprobe_dispatch_data { - struct trace_uprobe *tu; - long unsigned int bp_addr; -}; - -struct uprobe_task { - enum uprobe_task_state state; - union { - struct { - struct arch_uprobe_task autask; - long unsigned int vaddr; - }; - struct { - struct callback_head dup_xol_work; - long unsigned int dup_xol_addr; - }; - }; - struct uprobe *active_uprobe; - long unsigned int xol_vaddr; - struct return_instance *return_instances; - unsigned int depth; -}; - -struct uprobe_trace_entry_head { - struct trace_entry ent; - long unsigned int vaddr[0]; -}; - -struct used_address { - struct __kernel_sockaddr_storage name; - unsigned int name_len; -}; - -struct user_arg_ptr { - union { - const char * const *native; - } ptr; -}; - -struct user_namespace { - struct uid_gid_map uid_map; - struct uid_gid_map gid_map; - struct uid_gid_map projid_map; - struct user_namespace *parent; - int level; - kuid_t owner; - kgid_t group; - struct ns_common ns; - long unsigned int flags; - bool parent_could_setfcap; - struct work_struct work; - struct ucounts *ucounts; - long int ucount_max[8]; - long int rlimit_max[4]; -}; - -struct user_regset; - -typedef int user_regset_get2_fn(struct task_struct *, const struct user_regset *, struct membuf); - -typedef int user_regset_set_fn(struct task_struct *, const struct user_regset *, unsigned int, unsigned int, const void *, const void *); - -typedef int user_regset_active_fn(struct task_struct *, const struct user_regset *); - -typedef int user_regset_writeback_fn(struct task_struct *, const struct user_regset *, int); - -struct user_regset { - user_regset_get2_fn *regset_get; - user_regset_set_fn *set; - user_regset_active_fn *active; - user_regset_writeback_fn *writeback; - unsigned int n; - unsigned int size; - unsigned int align; - unsigned int bias; - unsigned int core_note_type; -}; - -struct user_regset_view { - const char *name; - const struct user_regset *regsets; - unsigned int n; - u32 e_flags; - u16 e_machine; - u8 ei_osabi; -}; - -struct user_struct { - refcount_t __count; - long unsigned int unix_inflight; - atomic_long_t pipe_bufs; - struct hlist_node uidhash_node; - kuid_t uid; - atomic_long_t locked_vm; - struct ratelimit_state ratelimit; -}; - -struct userstack_entry { - struct trace_entry ent; - unsigned int tgid; - long unsigned int caller[8]; -}; - -struct ustat { - __kernel_daddr_t f_tfree; - long unsigned int f_tinode; - char f_fname[6]; - char f_fpack[6]; -}; - -struct ustring_buffer { - char buffer[1024]; -}; - -struct uts_namespace { - struct new_utsname name; - struct user_namespace *user_ns; - struct ucounts *ucounts; - struct ns_common ns; -}; - -struct va_format { - const char *fmt; - va_list *va; -}; - -struct vdso_timestamp { - u64 sec; - u64 nsec; -}; - -struct vdso_data { - u32 seq; - s32 clock_mode; - u64 cycle_last; - u64 mask; - u32 mult; - u32 shift; - union { - struct vdso_timestamp basetime[12]; - struct timens_offset offset[12]; - }; - s32 tz_minuteswest; - s32 tz_dsttime; - u32 hrtimer_res; - u32 __unused; - struct arch_vdso_data arch_data; -}; - -struct vdso_arch_data { - __u64 tb_ticks_per_sec; - __u32 syscall_map[15]; - __u32 compat_syscall_map[0]; long: 32; - struct vdso_data data[2]; }; struct vfree_deferred { @@ -40968,6 +46571,7 @@ struct vm_special_mapping { struct page **pages; vm_fault_t (*fault)(const struct vm_special_mapping *, struct vm_area_struct *, struct vm_fault *); int (*mremap)(const struct vm_special_mapping *, struct vm_area_struct *); + void (*close)(const struct vm_special_mapping *, struct vm_area_struct *); }; struct vm_struct { @@ -40988,10 +46592,26 @@ struct vm_unmapped_area_info { long unsigned int high_limit; long unsigned int align_mask; long unsigned int align_offset; + long unsigned int start_gap; }; -struct vma_iterator { - struct ma_state mas; +struct vma_merge_struct { + struct mm_struct *mm; + struct vma_iterator *vmi; + long unsigned int pgoff; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct vm_area_struct *vma; + long unsigned int start; + long unsigned int end; + long unsigned int flags; + struct file *file; + struct anon_vma *anon_vma; + struct mempolicy *policy; + struct vm_userfaultfd_ctx uffd_ctx; + struct anon_vma_name *anon_name; + enum vma_merge_flags merge_flags; + enum vma_merge_state state; }; struct vma_prepare { @@ -41028,6 +46648,7 @@ struct vmap_block { struct list_head free_list; struct callback_head callback_head; struct list_head purge; + unsigned int cpu; }; struct vmap_block_queue { @@ -41036,12 +46657,28 @@ struct vmap_block_queue { struct xarray vmap_blocks; }; +struct vmap_pool { + struct list_head head; + long unsigned int len; +}; + +struct vmap_node { + struct vmap_pool pool[256]; + spinlock_t pool_lock; + bool skip_populate; + struct rb_list busy; + struct rb_list lazy; + struct list_head purge_list; + struct work_struct purge_work; + long unsigned int nr_purged; +}; + struct vxlan_metadata { u32 gbp; }; struct wait_bit_key { - void *flags; + long unsigned int *flags; int bit_nr; long unsigned int timeout; }; @@ -41138,6 +46775,12 @@ struct word_at_a_time { const long unsigned int low_bits; }; +struct work_offq_data { + u32 pool_id; + u32 disable; + u32 flags; +}; + struct worker { union { struct list_head entry; @@ -41158,7 +46801,7 @@ struct worker { long unsigned int last_active; unsigned int flags; int id; - char desc[24]; + char desc[32]; struct workqueue_struct *rescue_wq; long: 32; }; @@ -41182,8 +46825,6 @@ struct worker_pool { struct hlist_head busy_hash[64]; struct worker *manager; struct list_head workers; - struct list_head dying_workers; - struct completion *detach_completion; struct ida worker_ida; struct workqueue_attrs *attrs; struct hlist_node hash_node; @@ -41202,6 +46843,8 @@ struct workqueue_attrs { struct wq_flusher; +struct wq_node_nr_active; + struct workqueue_struct { struct list_head pwqs; struct list_head list; @@ -41215,15 +46858,22 @@ struct workqueue_struct { struct list_head maydays; struct worker *rescuer; int nr_drainers; + int max_active; + int min_active; int saved_max_active; + int saved_min_active; struct workqueue_attrs *unbound_attrs; struct pool_workqueue *dfl_pwq; - char name[24]; + char name[32]; struct callback_head rcu; long: 32; long: 32; + long: 32; + long: 32; + long: 32; unsigned int flags; struct pool_workqueue **cpu_pwq; + struct wq_node_nr_active *node_nr_active[0]; long: 32; long: 32; long: 32; @@ -41238,12 +46888,25 @@ struct wq_barrier { struct task_struct *task; }; +struct wq_drain_dead_softirq_work { + struct work_struct work; + struct worker_pool *pool; + struct completion done; +}; + struct wq_flusher { struct list_head list; int flush_color; struct completion done; }; +struct wq_node_nr_active { + int max; + atomic_t nr; + raw_spinlock_t lock; + struct list_head pending_pwqs; +}; + struct wq_pod_type { int nr_pods; cpumask_var_t *pod_cpus; @@ -41272,10 +46935,13 @@ struct writeback_control { unsigned int for_reclaim: 1; unsigned int range_cyclic: 1; unsigned int for_sync: 1; - unsigned int unpinned_fscache_wb: 1; + unsigned int unpinned_netfs_wb: 1; unsigned int no_cgroup_owner: 1; struct swap_iocb **swap_plug; - long: 32; + struct list_head *list; + struct folio_batch fbatch; + long unsigned int index; + int saved_err; }; struct ww_acquire_ctx { @@ -41307,10 +46973,10 @@ struct xa_node { struct list_head private_list; struct callback_head callback_head; }; - void *slots[16]; + void *slots[64]; union { - long unsigned int tags[3]; - long unsigned int marks[3]; + long unsigned int tags[6]; + long unsigned int marks[6]; }; }; @@ -41329,17 +46995,10 @@ struct xa_state { struct list_lru *xa_lru; }; -struct xattr_name; - -struct xattr_ctx { - union { - const void *cvalue; - void *value; - }; - void *kvalue; - size_t size; - struct xattr_name *kname; - unsigned int flags; +struct xattr_args { + __u64 value; + __u32 size; + __u32 flags; }; struct xattr_handler { @@ -41366,10 +47025,8 @@ struct xdp_buff_xsk { dma_addr_t dma; dma_addr_t frame_dma; struct xsk_buff_pool *pool; + struct list_head list_node; long: 32; - u64 orig_addr; - struct list_head free_list_node; - struct list_head xskb_list_node; }; struct xdp_bulk_queue { @@ -41402,10 +47059,10 @@ struct xdp_dev_bulk_queue { struct xdp_frame { void *data; - u16 len; - u16 headroom; + u32 len; + u32 headroom; u32 metasize; - struct xdp_mem_info mem; + enum xdp_mem_type mem_type: 32; struct net_device *dev_rx; u32 frame_sz; u32 flags; @@ -41413,8 +47070,7 @@ struct xdp_frame { struct xdp_frame_bulk { int count; - void *xa; - void *q[16]; + netmem_ref q[16]; }; struct xdp_mem_allocator { @@ -41430,6 +47086,7 @@ struct xdp_mem_allocator { struct xdp_metadata_ops { int (*xmo_rx_timestamp)(const struct xdp_md *, u64 *); int (*xmo_rx_hash)(const struct xdp_md *, u32 *, enum xdp_rss_hash_type *); + int (*xmo_rx_vlan_tag)(const struct xdp_md *, __be16 *, u16 *); }; struct xdp_page_head { @@ -41468,8 +47125,8 @@ struct xdp_sock { } state; struct xsk_queue *tx; struct list_head tx_list; + u32 tx_budget_spent; spinlock_t rx_lock; - long: 32; u64 rx_dropped; u64 rx_queue_full; struct sk_buff *skb; @@ -41514,6 +47171,7 @@ struct xdp_umem { struct user_struct *user; refcount_t users; u8 flags; + u8 tx_metadata_len; bool zc; struct page **pgs; int id; @@ -41602,6 +47260,20 @@ struct xfrm_mode { u8 flags; }; +struct xfrm_mode_cbs { + struct module *owner; + int (*init_state)(struct xfrm_state *); + int (*clone_state)(struct xfrm_state *, struct xfrm_state *); + void (*destroy_state)(struct xfrm_state *); + int (*user_init)(struct net *, struct xfrm_state *, struct nlattr **, struct netlink_ext_ack *); + int (*copy_to_user)(struct xfrm_state *, struct sk_buff *); + unsigned int (*sa_len)(const struct xfrm_state *); + u32 (*get_inner_mtu)(struct xfrm_state *, int); + int (*input)(struct xfrm_state *, struct sk_buff *); + int (*output)(struct net *, struct sock *, struct sk_buff *); + int (*prepare_output)(struct xfrm_state *, struct sk_buff *); +}; + struct xfrm_replay_state { __u32 oseq; __u32 seq; @@ -41666,11 +47338,17 @@ struct xfrm_state { struct hlist_node gclist; struct hlist_node bydst; }; - struct hlist_node bysrc; + union { + struct hlist_node dev_gclist; + struct hlist_node bysrc; + }; struct hlist_node byspi; struct hlist_node byseq; + struct hlist_node state_cache; + struct hlist_node state_cache_input; refcount_t refcnt; spinlock_t lock; + u32 pcpu_num; struct xfrm_id id; struct xfrm_selector sel; struct xfrm_mark mark; @@ -41689,6 +47367,7 @@ struct xfrm_state { u16 family; xfrm_address_t saddr; int header_len; + int enc_hdr_len; int trailer_len; u32 extra_flags; struct xfrm_mark smark; @@ -41705,6 +47384,9 @@ struct xfrm_state { u32 mapping_maxage; struct xfrm_encap_tmpl *encap; struct sock *encap_sk; + u32 nat_keepalive_interval; + long: 32; + time64_t nat_keepalive_expiration; xfrm_address_t *coaddr; struct xfrm_state *tunnel; atomic_t tunnel_users; @@ -41733,7 +47415,9 @@ struct xfrm_state { const struct xfrm_type_offload *type_offload; struct xfrm_sec_ctx *security; void *data; - long: 32; + u8 dir; + const struct xfrm_mode_cbs *mode_cbs; + void *mode_data; }; struct xfrm_tunnel { @@ -41765,10 +47449,8 @@ struct xfrm_type_offload { struct xol_area { wait_queue_head_t wq; - atomic_t slot_count; long unsigned int *bitmap; - struct vm_special_mapping xol_mapping; - struct page *pages[2]; + struct page *page; long unsigned int vaddr; }; @@ -41799,19 +47481,28 @@ struct xsk_buff_pool { u32 chunk_size; u32 chunk_shift; u32 frame_len; + u32 xdp_zc_max_segs; + u8 tx_metadata_len; u8 cached_need_wakeup; bool uses_need_wakeup; - bool dma_need_sync; bool unaligned; + bool tx_sw_csum; void *addrs; spinlock_t cq_lock; struct xdp_buff_xsk *free_heads[0]; long: 32; }; +struct xsk_tx_metadata_ops { + void (*tmo_request_timestamp)(void *); + u64 (*tmo_fill_timestamp)(void *); + void (*tmo_request_checksum)(u16, u16, void *); +}; + struct zap_details { struct folio *single_folio; bool even_cows; + bool reclaim_pt; zap_flags_t zap_flags; }; @@ -41851,8 +47542,6 @@ typedef u64 (*btf_bpf_csum_level)(struct sk_buff *, u64); typedef u64 (*btf_bpf_csum_update)(struct sk_buff *, __wsum); -typedef u64 (*btf_bpf_current_task_under_cgroup)(struct bpf_map *, u32); - typedef u64 (*btf_bpf_d_path)(struct path *, char *, u32); typedef u64 (*btf_bpf_dynptr_data)(const struct bpf_dynptr_kern *, u32, u32); @@ -41887,13 +47576,13 @@ typedef u64 (*btf_bpf_get_cgroup_classid)(const struct sk_buff *); typedef u64 (*btf_bpf_get_current_comm)(char *, u32); -typedef u64 (*btf_bpf_get_current_pid_tgid)(); +typedef u64 (*btf_bpf_get_current_pid_tgid)(void); -typedef u64 (*btf_bpf_get_current_task)(); +typedef u64 (*btf_bpf_get_current_task)(void); -typedef u64 (*btf_bpf_get_current_task_btf)(); +typedef u64 (*btf_bpf_get_current_task_btf)(void); -typedef u64 (*btf_bpf_get_current_uid_gid)(); +typedef u64 (*btf_bpf_get_current_uid_gid)(void); typedef u64 (*btf_bpf_get_func_ip_kprobe)(struct pt_regs *); @@ -41907,6 +47596,8 @@ typedef u64 (*btf_bpf_get_hash_recalc)(struct sk_buff *); typedef u64 (*btf_bpf_get_listener_sock)(struct sock *); +typedef u64 (*btf_bpf_get_netns_cookie)(struct sk_buff *); + typedef u64 (*btf_bpf_get_netns_cookie_sk_msg)(struct sk_msg *); typedef u64 (*btf_bpf_get_netns_cookie_sock)(struct sock *); @@ -41917,13 +47608,13 @@ typedef u64 (*btf_bpf_get_netns_cookie_sock_ops)(struct bpf_sock_ops_kern *); typedef u64 (*btf_bpf_get_ns_current_pid_tgid)(u64, u64, struct bpf_pidns_info *, u32); -typedef u64 (*btf_bpf_get_numa_node_id)(); +typedef u64 (*btf_bpf_get_numa_node_id)(void); -typedef u64 (*btf_bpf_get_raw_cpu_id)(); +typedef u64 (*btf_bpf_get_raw_cpu_id)(void); typedef u64 (*btf_bpf_get_route_realm)(const struct sk_buff *); -typedef u64 (*btf_bpf_get_smp_processor_id)(); +typedef u64 (*btf_bpf_get_smp_processor_id)(void); typedef u64 (*btf_bpf_get_socket_cookie)(struct sk_buff *); @@ -41943,6 +47634,8 @@ typedef u64 (*btf_bpf_get_stack_pe)(struct bpf_perf_event_data_kern *, void *, u typedef u64 (*btf_bpf_get_stack_raw_tp)(struct bpf_raw_tracepoint_args *, void *, u32, u64); +typedef u64 (*btf_bpf_get_stack_sleepable)(struct pt_regs *, void *, u32, u64); + typedef u64 (*btf_bpf_get_stack_tp)(void *, void *, u32, u64); typedef u64 (*btf_bpf_get_stackid)(struct pt_regs *, struct bpf_map *, u64); @@ -41955,19 +47648,21 @@ typedef u64 (*btf_bpf_get_stackid_tp)(void *, struct bpf_map *, u64); typedef u64 (*btf_bpf_get_task_stack)(struct task_struct *, void *, u32, u64); -typedef u64 (*btf_bpf_jiffies64)(); +typedef u64 (*btf_bpf_get_task_stack_sleepable)(struct task_struct *, void *, u32, u64); + +typedef u64 (*btf_bpf_jiffies64)(void); typedef u64 (*btf_bpf_kallsyms_lookup_name)(const char *, int, int, u64 *); typedef u64 (*btf_bpf_kptr_xchg)(void *, void *); -typedef u64 (*btf_bpf_ktime_get_boot_ns)(); +typedef u64 (*btf_bpf_ktime_get_boot_ns)(void); -typedef u64 (*btf_bpf_ktime_get_coarse_ns)(); +typedef u64 (*btf_bpf_ktime_get_coarse_ns)(void); -typedef u64 (*btf_bpf_ktime_get_ns)(); +typedef u64 (*btf_bpf_ktime_get_ns)(void); -typedef u64 (*btf_bpf_ktime_get_tai_ns)(); +typedef u64 (*btf_bpf_ktime_get_tai_ns)(void); typedef u64 (*btf_bpf_l3_csum_replace)(struct sk_buff *, u32, u64, u64, u64); @@ -42215,9 +47910,9 @@ typedef u64 (*btf_bpf_spin_unlock)(struct bpf_spin_lock *); typedef u64 (*btf_bpf_strncmp)(const char *, u32, const char *); -typedef u64 (*btf_bpf_strtol)(const char *, size_t, u64, long int *); +typedef u64 (*btf_bpf_strtol)(const char *, size_t, u64, s64 *); -typedef u64 (*btf_bpf_strtoul)(const char *, size_t, u64, long unsigned int *); +typedef u64 (*btf_bpf_strtoul)(const char *, size_t, u64, u64 *); typedef u64 (*btf_bpf_sys_bpf)(int, union bpf_attr *, u32); @@ -42249,13 +47944,13 @@ typedef u64 (*btf_bpf_tcp_sock)(struct sock *); typedef u64 (*btf_bpf_this_cpu_ptr)(const void *); -typedef u64 (*btf_bpf_timer_cancel)(struct bpf_timer_kern *); +typedef u64 (*btf_bpf_timer_cancel)(struct bpf_async_kern *); -typedef u64 (*btf_bpf_timer_init)(struct bpf_timer_kern *, struct bpf_map *, u64); +typedef u64 (*btf_bpf_timer_init)(struct bpf_async_kern *, struct bpf_map *, u64); -typedef u64 (*btf_bpf_timer_set_callback)(struct bpf_timer_kern *, void *, struct bpf_prog_aux *); +typedef u64 (*btf_bpf_timer_set_callback)(struct bpf_async_kern *, void *, struct bpf_prog_aux *); -typedef u64 (*btf_bpf_timer_start)(struct bpf_timer_kern *, u64, u64); +typedef u64 (*btf_bpf_timer_start)(struct bpf_async_kern *, u64, u64); typedef u64 (*btf_bpf_trace_printk)(char *, u32, u64, u64, u64); @@ -42267,7 +47962,7 @@ typedef u64 (*btf_bpf_unlocked_sk_setsockopt)(struct sock *, int, int, char *, i typedef u64 (*btf_bpf_user_ringbuf_drain)(struct bpf_map *, void *, void *, u64); -typedef u64 (*btf_bpf_user_rnd_u32)(); +typedef u64 (*btf_bpf_user_rnd_u32)(void); typedef u64 (*btf_bpf_xdp_adjust_head)(struct xdp_buff *, int); @@ -42335,8 +48030,12 @@ typedef void (*btf_trace_bpf_test_finish)(void *, int *); typedef void (*btf_trace_bpf_trace_printk)(void *, const char *); +typedef void (*btf_trace_bpf_trigger_tp)(void *, int); + typedef void (*btf_trace_bpf_xdp_link_attach_failed)(void *, const char *); +typedef void (*btf_trace_cap_capable)(void *, const struct cred *, struct user_namespace *, const struct user_namespace *, int, int); + typedef void (*btf_trace_clock_disable)(void *, const char *, unsigned int, unsigned int); typedef void (*btf_trace_clock_enable)(void *, const char *, unsigned int, unsigned int); @@ -42365,6 +48064,10 @@ typedef void (*btf_trace_cpuhp_exit)(void *, unsigned int, int, int, int); typedef void (*btf_trace_cpuhp_multi_enter)(void *, unsigned int, int, int, int (*)(unsigned int, struct hlist_node *), struct hlist_node *); +typedef void (*btf_trace_ctime_ns_xchg)(void *, struct inode *, u32, u32, u32); + +typedef void (*btf_trace_ctime_xchg_skip)(void *, struct inode *, struct timespec64 *); + typedef void (*btf_trace_dev_pm_qos_add_request)(void *, const char *, enum dev_pm_qos_req_type, s32); typedef void (*btf_trace_dev_pm_qos_remove_request)(void *, const char *, enum dev_pm_qos_req_type, s32); @@ -42377,6 +48080,44 @@ typedef void (*btf_trace_device_pm_callback_start)(void *, struct device *, cons typedef void (*btf_trace_devres_log)(void *, struct device *, const char *, void *, const char *, size_t); +typedef void (*btf_trace_dma_alloc)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_pages)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_sgt)(void *, struct device *, struct sg_table *, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_sgt_err)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_free)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_free_pages)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_free_sgt)(void *, struct device *, struct sg_table *, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_map_page)(void *, struct device *, phys_addr_t, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_resource)(void *, struct device *, phys_addr_t, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_sg)(void *, struct device *, struct scatterlist *, int, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_sg_err)(void *, struct device *, struct scatterlist *, int, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_sync_sg_for_cpu)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_sg_for_device)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_single_for_cpu)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_single_for_device)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_unmap_page)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_unmap_resource)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_unmap_sg)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dql_stall_detected)(void *, short unsigned int, unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int *); + typedef void (*btf_trace_error_report_end)(void *, enum error_detector, long unsigned int); typedef void (*btf_trace_exit_mmap)(void *, struct mm_struct *); @@ -42389,6 +48130,8 @@ typedef void (*btf_trace_file_check_and_advance_wb_err)(void *, struct file *, e typedef void (*btf_trace_filemap_set_wb_err)(void *, struct address_space *, errseq_t); +typedef void (*btf_trace_fill_mg_cmtime)(void *, struct inode *, struct timespec64 *, struct timespec64 *); + typedef void (*btf_trace_finish_task_reaping)(void *, int); typedef void (*btf_trace_folio_wait_writeback)(void *, struct folio *, struct address_space *); @@ -42399,8 +48142,6 @@ typedef void (*btf_trace_global_dirty_state)(void *, long unsigned int, long uns typedef void (*btf_trace_guest_halt_poll_ns)(void *, bool, unsigned int, unsigned int); -typedef void (*btf_trace_hash_fault)(void *, long unsigned int, long unsigned int, long unsigned int); - typedef void (*btf_trace_hrtimer_cancel)(void *, struct hrtimer *); typedef void (*btf_trace_hrtimer_expire_entry)(void *, struct hrtimer *, ktime_t *); @@ -42411,6 +48152,8 @@ typedef void (*btf_trace_hrtimer_init)(void *, struct hrtimer *, clockid_t, enum typedef void (*btf_trace_hrtimer_start)(void *, struct hrtimer *, enum hrtimer_mode); +typedef void (*btf_trace_icmp_send)(void *, const struct sk_buff *, int, int); + typedef void (*btf_trace_inet_sk_error_report)(void *, const struct sock *); typedef void (*btf_trace_inet_sock_set_state)(void *, const struct sock *, const int, const int); @@ -42421,6 +48164,8 @@ typedef void (*btf_trace_initcall_level)(void *, const char *); typedef void (*btf_trace_initcall_start)(void *, initcall_t); +typedef void (*btf_trace_inode_set_ctime_to_ts)(void *, struct inode *, struct timespec64 *); + typedef void (*btf_trace_ipi_entry)(void *, const char *); typedef void (*btf_trace_ipi_exit)(void *, const char *); @@ -42445,7 +48190,7 @@ typedef void (*btf_trace_itimer_state)(void *, int, const struct itimerspec64 * typedef void (*btf_trace_kfree)(void *, long unsigned int, const void *); -typedef void (*btf_trace_kfree_skb)(void *, struct sk_buff *, void *, enum skb_drop_reason); +typedef void (*btf_trace_kfree_skb)(void *, struct sk_buff *, void *, enum skb_drop_reason, struct sock *); typedef void (*btf_trace_kmalloc)(void *, long unsigned int, const void *, size_t, size_t, gfp_t, int); @@ -42459,7 +48204,7 @@ typedef void (*btf_trace_ma_read)(void *, const char *, struct ma_state *); typedef void (*btf_trace_ma_write)(void *, const char *, struct ma_state *, long unsigned int, void *); -typedef void (*btf_trace_mark_victim)(void *, int); +typedef void (*btf_trace_mark_victim)(void *, struct task_struct *, uid_t); typedef void (*btf_trace_mem_connect)(void *, const struct xdp_mem_allocator *, const struct xdp_rxq_info *); @@ -42467,15 +48212,23 @@ typedef void (*btf_trace_mem_disconnect)(void *, const struct xdp_mem_allocator typedef void (*btf_trace_mem_return_failed)(void *, const struct xdp_mem_info *, const struct page *); +typedef void (*btf_trace_mm_alloc_contig_migrate_range_info)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int); + typedef void (*btf_trace_mm_filemap_add_to_page_cache)(void *, struct folio *); typedef void (*btf_trace_mm_filemap_delete_from_page_cache)(void *, struct folio *); +typedef void (*btf_trace_mm_filemap_fault)(void *, struct address_space *, long unsigned int); + +typedef void (*btf_trace_mm_filemap_get_pages)(void *, struct address_space *, long unsigned int, long unsigned int); + +typedef void (*btf_trace_mm_filemap_map_pages)(void *, struct address_space *, long unsigned int, long unsigned int); + typedef void (*btf_trace_mm_lru_activate)(void *, struct folio *); typedef void (*btf_trace_mm_lru_insertion)(void *, struct folio *); -typedef void (*btf_trace_mm_migrate_pages)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, enum migrate_mode, int); +typedef void (*btf_trace_mm_migrate_pages)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, enum migrate_mode, int); typedef void (*btf_trace_mm_migrate_pages_start)(void *, enum migrate_mode, int); @@ -42503,7 +48256,7 @@ typedef void (*btf_trace_mm_vmscan_kswapd_sleep)(void *, int); typedef void (*btf_trace_mm_vmscan_kswapd_wake)(void *, int, int, int); -typedef void (*btf_trace_mm_vmscan_lru_isolate)(void *, int, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, isolate_mode_t, int); +typedef void (*btf_trace_mm_vmscan_lru_isolate)(void *, int, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int); typedef void (*btf_trace_mm_vmscan_lru_shrink_active)(void *, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int, int); @@ -42513,17 +48266,19 @@ typedef void (*btf_trace_mm_vmscan_node_reclaim_begin)(void *, int, int, gfp_t); typedef void (*btf_trace_mm_vmscan_node_reclaim_end)(void *, long unsigned int); +typedef void (*btf_trace_mm_vmscan_reclaim_pages)(void *, int, long unsigned int, long unsigned int, struct reclaim_stat *); + typedef void (*btf_trace_mm_vmscan_throttled)(void *, int, int, int, int); typedef void (*btf_trace_mm_vmscan_wakeup_kswapd)(void *, int, int, int, gfp_t); typedef void (*btf_trace_mm_vmscan_write_folio)(void *, struct folio *); -typedef void (*btf_trace_mmap_lock_acquire_returned)(void *, struct mm_struct *, const char *, bool, bool); +typedef void (*btf_trace_mmap_lock_acquire_returned)(void *, struct mm_struct *, bool, bool); -typedef void (*btf_trace_mmap_lock_released)(void *, struct mm_struct *, const char *, bool); +typedef void (*btf_trace_mmap_lock_released)(void *, struct mm_struct *, bool); -typedef void (*btf_trace_mmap_lock_start_locking)(void *, struct mm_struct *, const char *, bool); +typedef void (*btf_trace_mmap_lock_start_locking)(void *, struct mm_struct *, bool); typedef void (*btf_trace_module_free)(void *, struct module *); @@ -42591,9 +48346,9 @@ typedef void (*btf_trace_oom_score_adj_update)(void *, struct task_struct *); typedef void (*btf_trace_page_pool_release)(void *, const struct page_pool *, s32, u32, u32); -typedef void (*btf_trace_page_pool_state_hold)(void *, const struct page_pool *, const struct page *, u32); +typedef void (*btf_trace_page_pool_state_hold)(void *, const struct page_pool *, netmem_ref, u32); -typedef void (*btf_trace_page_pool_state_release)(void *, const struct page_pool *, const struct page *, u32); +typedef void (*btf_trace_page_pool_state_release)(void *, const struct page_pool *, netmem_ref, u32); typedef void (*btf_trace_page_pool_update_nid)(void *, const struct page_pool *, int); @@ -42601,14 +48356,14 @@ typedef void (*btf_trace_pelt_cfs_tp)(void *, struct cfs_rq *); typedef void (*btf_trace_pelt_dl_tp)(void *, struct rq *); +typedef void (*btf_trace_pelt_hw_tp)(void *, struct rq *); + typedef void (*btf_trace_pelt_irq_tp)(void *, struct rq *); typedef void (*btf_trace_pelt_rt_tp)(void *, struct rq *); typedef void (*btf_trace_pelt_se_tp)(void *, struct sched_entity *); -typedef void (*btf_trace_pelt_thermal_tp)(void *, struct rq *); - typedef void (*btf_trace_percpu_alloc_percpu)(void *, long unsigned int, bool, bool, size_t, size_t, void *, int, void *, size_t, gfp_t); typedef void (*btf_trace_percpu_alloc_percpu_fail)(void *, bool, bool, size_t, size_t); @@ -42659,6 +48414,8 @@ typedef void (*btf_trace_sb_clear_inode_writeback)(void *, struct inode *); typedef void (*btf_trace_sb_mark_inode_writeback)(void *, struct inode *); +typedef void (*btf_trace_sched_compute_energy_tp)(void *, struct task_struct *, int, long unsigned int, long unsigned int, long unsigned int); + typedef void (*btf_trace_sched_cpu_capacity_tp)(void *, struct rq *); typedef void (*btf_trace_sched_kthread_stop)(void *, struct task_struct *); @@ -42681,6 +48438,8 @@ typedef void (*btf_trace_sched_overutilized_tp)(void *, struct root_domain *, bo typedef void (*btf_trace_sched_pi_setprio)(void *, struct task_struct *, struct task_struct *); +typedef void (*btf_trace_sched_prepare_exec)(void *, struct task_struct *, struct linux_binprm *); + typedef void (*btf_trace_sched_process_exec)(void *, struct task_struct *, pid_t, struct linux_binprm *); typedef void (*btf_trace_sched_process_exit)(void *, struct task_struct *); @@ -42691,7 +48450,7 @@ typedef void (*btf_trace_sched_process_free)(void *, struct task_struct *); typedef void (*btf_trace_sched_process_wait)(void *, struct pid *); -typedef void (*btf_trace_sched_stat_runtime)(void *, struct task_struct *, u64, u64); +typedef void (*btf_trace_sched_stat_runtime)(void *, struct task_struct *, u64); typedef void (*btf_trace_sched_stick_numa)(void *, struct task_struct *, int, struct task_struct *, int); @@ -42751,18 +48510,46 @@ typedef void (*btf_trace_sys_exit)(void *, struct pt_regs *, long int); typedef void (*btf_trace_task_newtask)(void *, struct task_struct *, long unsigned int); +typedef void (*btf_trace_task_prctl_unknown)(void *, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int); + typedef void (*btf_trace_task_rename)(void *, struct task_struct *, const char *); typedef void (*btf_trace_tasklet_entry)(void *, struct tasklet_struct *, void *); typedef void (*btf_trace_tasklet_exit)(void *, struct tasklet_struct *, void *); +typedef void (*btf_trace_tcp_ao_handshake_failure)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_key_not_found)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_mismatch)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_rcv_sne_update)(void *, const struct sock *, __u32); + +typedef void (*btf_trace_tcp_ao_rnext_request)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_snd_sne_update)(void *, const struct sock *, __u32); + +typedef void (*btf_trace_tcp_ao_synack_no_key)(void *, const struct sock *, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_wrong_maclen)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + typedef void (*btf_trace_tcp_bad_csum)(void *, const struct sk_buff *); typedef void (*btf_trace_tcp_cong_state_set)(void *, struct sock *, const u8); typedef void (*btf_trace_tcp_destroy_sock)(void *, struct sock *); +typedef void (*btf_trace_tcp_hash_ao_required)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_bad_header)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_mismatch)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_required)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_unexpected)(void *, const struct sock *, const struct sk_buff *); + typedef void (*btf_trace_tcp_probe)(void *, struct sock *, struct sk_buff *); typedef void (*btf_trace_tcp_rcv_space_adjust)(void *, struct sock *); @@ -42773,7 +48560,9 @@ typedef void (*btf_trace_tcp_retransmit_skb)(void *, const struct sock *, const typedef void (*btf_trace_tcp_retransmit_synack)(void *, const struct sock *, const struct request_sock *); -typedef void (*btf_trace_tcp_send_reset)(void *, const struct sock *, const struct sk_buff *); +typedef void (*btf_trace_tcp_send_reset)(void *, const struct sock *, const struct sk_buff *, const enum sk_rst_reason); + +typedef void (*btf_trace_timer_base_idle)(void *, bool, unsigned int); typedef void (*btf_trace_timer_cancel)(void *, struct timer_list *); @@ -42787,7 +48576,7 @@ typedef void (*btf_trace_timer_interrupt_entry)(void *, struct pt_regs *); typedef void (*btf_trace_timer_interrupt_exit)(void *, struct pt_regs *); -typedef void (*btf_trace_timer_start)(void *, struct timer_list *, long unsigned int, unsigned int); +typedef void (*btf_trace_timer_start)(void *, struct timer_list *, long unsigned int); typedef void (*btf_trace_tlb_flush)(void *, int, long unsigned int); @@ -42795,7 +48584,7 @@ typedef void (*btf_trace_tlbia)(void *, long unsigned int); typedef void (*btf_trace_tlbie)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int); -typedef void (*btf_trace_udp_fail_queue_rcv_skb)(void *, int, struct sock *); +typedef void (*btf_trace_udp_fail_queue_rcv_skb)(void *, int, struct sock *, struct sk_buff *); typedef void (*btf_trace_vm_unmapped_area)(void *, long unsigned int, struct vm_unmapped_area_info *); @@ -42887,6 +48676,10 @@ typedef struct vfsmount * (*debugfs_automount_t)(struct dentry *, void *); typedef void * (*devcon_match_fn_t)(const struct fwnode_handle *, const char *, void *); +typedef int (*device_iter_t)(struct device *, void *); + +typedef int (*device_match_t)(struct device *, const void *); + typedef int (*dr_match_t)(struct device *, void *, void *); typedef int (*dummy_ops_test_ret_fn)(struct bpf_dummy_ops_state *, ...); @@ -42895,11 +48688,11 @@ typedef int (*dynevent_check_arg_fn_t)(void *); typedef void (*ethnl_notify_handler_t)(struct net_device *, unsigned int, const void *); -typedef void (*exitcall_t)(); +typedef void (*exitcall_t)(void); typedef int filler_t(struct file *, struct folio *); -typedef bool (*filter_func_t)(struct uprobe_consumer *, enum uprobe_filter_ctx, struct mm_struct *); +typedef bool (*filter_func_t)(struct uprobe_consumer *, struct mm_struct *); typedef void free_folio_t(struct folio *, long unsigned int); @@ -42915,32 +48708,52 @@ typedef u32 inet_ehashfn_t(const struct net *, const __be32, const __u16, const typedef initcall_t initcall_entry_t; +struct xattr; + +typedef int (*initxattrs)(struct inode *, const struct xattr *, void *); + +typedef size_t (*iov_step_f)(void *, size_t, size_t, void *, void *); + +typedef size_t (*iov_ustep_f)(void *, size_t, size_t, void *, void *); + typedef void ip6_icmp_send_t(struct sk_buff *, u8, u8, __u32, const struct in6_addr *, const struct inet6_skb_parm *); typedef int (*list_cmp_func_t)(void *, const struct list_head *, const struct list_head *); -typedef enum lru_status (*list_lru_walk_cb)(struct list_head *, struct list_lru_one *, spinlock_t *, void *); +typedef enum lru_status (*list_lru_walk_cb)(struct list_head *, struct list_lru_one *, void *); typedef void (*move_fn_t)(struct lruvec *, struct folio *); +typedef int (*netlink_filter_fn)(struct sock *, struct sk_buff *, void *); + typedef struct folio *new_folio_t(struct folio *, long unsigned int); typedef struct ns_common *ns_get_path_helper_t(void *); +typedef int (*objpool_init_obj_cb)(void *, void *); + typedef int (*parse_pred_fn)(const char *, void *, int, struct filter_parse_error *, struct filter_pred **); +typedef int (*parse_unknown_fn)(char *, char *, const char *, void *); + typedef void (*perf_irq_t)(struct pt_regs *); typedef void perf_iterate_f(struct perf_event *, void *); typedef struct rt6_info * (*pol_lookup_t)(struct net *, struct fib6_table *, struct flowi6 *, const struct sk_buff *, int); +typedef int (*pp_nl_fill_cb)(struct sk_buff *, const struct page_pool *, const struct genl_info *); + typedef int (*proc_visitor)(struct task_struct *, void *); typedef int (*pte_fn_t)(pte_t *, long unsigned int, void *); typedef int (*reservedmem_of_init_fn)(struct reserved_mem *); +typedef void (*rethook_handler_t)(struct rethook_node *, void *, long unsigned int, struct pt_regs *); + +typedef bool (*ring_buffer_cond_fn)(void *); + typedef int (*sendmsg_func)(struct sock *, struct msghdr *); typedef int (*set_callee_state_fn)(struct bpf_verifier_env *, struct bpf_func_state *, struct bpf_func_state *, int); @@ -42971,20 +48784,12 @@ typedef int wait_bit_action_f(struct wait_bit_key *, int); typedef int (*writepage_t)(struct folio *, struct writeback_control *, void *); -struct task_group; - struct net_bridge; -struct linux_binprm; - -struct nf_bridge_frag_data; - -struct ahash_request; - -struct pt_regs; - struct iomap_ops; +struct task_group; + typedef void *acpi_handle; struct acpi_device; @@ -42993,37 +48798,123 @@ struct audit_buffer; struct audit_context; -struct bpf_cpu_map_entry; - -struct bpf_dtab_netdev; - struct bpf_iter; -struct btf_iter_num; - struct capture_control; -struct fgraph_ret_regs; - -struct ftrace_func_mapper; - -struct ftrace_rec_iter; - -struct kobj_map; - -struct metadata_dst; +struct io_tlb_pool; struct nvmem_cell; -struct task_struct; - -struct unix_sock; - -struct xfrm_state; - /* BPF kfuncs */ #ifndef BPF_NO_KFUNC_PROTOTYPES +extern __bpf_fastcall void *bpf_cast_to_kern_ctx(void *obj) __weak __ksym; +extern int bpf_copy_from_user_str(void *dst, u32 dst__sz, const void *unsafe_ptr__ign, u64 flags) __weak __ksym; +extern struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_and(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_any_and_distribute(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_any_distribute(const struct cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_clear(struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_copy(struct bpf_cpumask *dst, const struct cpumask *src) __weak __ksym; +extern struct bpf_cpumask *bpf_cpumask_create(void) __weak __ksym; +extern bool bpf_cpumask_empty(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_first(const struct cpumask *cpumask) __weak __ksym; +extern u32 bpf_cpumask_first_and(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_full(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_intersects(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern void bpf_cpumask_or(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern void bpf_cpumask_release(struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_setall(struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_subset(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern bool bpf_cpumask_test_and_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_test_and_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __weak __ksym; +extern u32 bpf_cpumask_weight(const struct cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_xor(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern int bpf_dynptr_adjust(const struct bpf_dynptr *p, u32 start, u32 end) __weak __ksym; +extern int bpf_dynptr_clone(const struct bpf_dynptr *p, struct bpf_dynptr *clone__uninit) __weak __ksym; +extern int bpf_dynptr_from_skb(struct __sk_buff *s, u64 flags, struct bpf_dynptr *ptr__uninit) __weak __ksym; +extern int bpf_dynptr_from_xdp(struct xdp_md *x, u64 flags, struct bpf_dynptr *ptr__uninit) __weak __ksym; +extern bool bpf_dynptr_is_null(const struct bpf_dynptr *p) __weak __ksym; +extern bool bpf_dynptr_is_rdonly(const struct bpf_dynptr *p) __weak __ksym; +extern __u32 bpf_dynptr_size(const struct bpf_dynptr *p) __weak __ksym; +extern void *bpf_dynptr_slice(const struct bpf_dynptr *p, u32 offset, void *buffer__opt, u32 buffer__szk) __weak __ksym; +extern void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *p, u32 offset, void *buffer__opt, u32 buffer__szk) __weak __ksym; +extern int bpf_fentry_test1(int a) __weak __ksym; +extern struct kmem_cache *bpf_get_kmem_cache(u64 addr) __weak __ksym; +extern void bpf_iter_bits_destroy(struct bpf_iter_bits *it) __weak __ksym; +extern int bpf_iter_bits_new(struct bpf_iter_bits *it, const u64 *unsafe_ptr__ign, u32 nr_words) __weak __ksym; +extern int *bpf_iter_bits_next(struct bpf_iter_bits *it) __weak __ksym; +extern void bpf_iter_kmem_cache_destroy(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern int bpf_iter_kmem_cache_new(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern struct kmem_cache *bpf_iter_kmem_cache_next(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern void bpf_iter_num_destroy(struct bpf_iter_num *it) __weak __ksym; +extern int bpf_iter_num_new(struct bpf_iter_num *it, int start, int end) __weak __ksym; +extern int *bpf_iter_num_next(struct bpf_iter_num *it) __weak __ksym; +extern void bpf_iter_task_destroy(struct bpf_iter_task *it) __weak __ksym; +extern int bpf_iter_task_new(struct bpf_iter_task *it, struct task_struct *task__nullable, unsigned int flags) __weak __ksym; +extern struct task_struct *bpf_iter_task_next(struct bpf_iter_task *it) __weak __ksym; +extern void bpf_iter_task_vma_destroy(struct bpf_iter_task_vma *it) __weak __ksym; +extern int bpf_iter_task_vma_new(struct bpf_iter_task_vma *it, struct task_struct *task, u64 addr) __weak __ksym; +extern struct vm_area_struct *bpf_iter_task_vma_next(struct bpf_iter_task_vma *it) __weak __ksym; +extern void bpf_kfunc_call_memb_release(struct prog_test_member *p) __weak __ksym; +extern void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) __weak __ksym; +extern struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) __weak __ksym; +extern struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) __weak __ksym; +extern int bpf_list_push_back_impl(struct bpf_list_head *head, struct bpf_list_node *node, void *meta__ign, u64 off) __weak __ksym; +extern int bpf_list_push_front_impl(struct bpf_list_head *head, struct bpf_list_node *node, void *meta__ign, u64 off) __weak __ksym; +extern void bpf_local_irq_restore(long unsigned int *flags__irq_flag) __weak __ksym; +extern void bpf_local_irq_save(long unsigned int *flags__irq_flag) __weak __ksym; +extern s64 bpf_map_sum_elem_count(const struct bpf_map *map) __weak __ksym; +extern int bpf_modify_return_test(int a, int *b) __weak __ksym; +extern int bpf_modify_return_test2(int a, int *b, short int c, int d, void *e, char f, int g) __weak __ksym; +extern int bpf_modify_return_test_tp(int nonce) __weak __ksym; +extern void bpf_obj_drop_impl(void *p__alloc, void *meta__ign) __weak __ksym; +extern void *bpf_obj_new_impl(u64 local_type_id__k, void *meta__ign) __weak __ksym; +extern void bpf_percpu_obj_drop_impl(void *p__alloc, void *meta__ign) __weak __ksym; +extern void *bpf_percpu_obj_new_impl(u64 local_type_id__k, void *meta__ign) __weak __ksym; +extern void bpf_preempt_disable(void) __weak __ksym; +extern void bpf_preempt_enable(void) __weak __ksym; +extern int bpf_rbtree_add_impl(struct bpf_rb_root *root, struct bpf_rb_node *node, bool (*less)(struct bpf_rb_node *, const struct bpf_rb_node *), void *meta__ign, u64 off) __weak __ksym; +extern struct bpf_rb_node *bpf_rbtree_first(struct bpf_rb_root *root) __weak __ksym; +extern struct bpf_rb_node *bpf_rbtree_remove(struct bpf_rb_root *root, struct bpf_rb_node *node) __weak __ksym; +extern void bpf_rcu_read_lock(void) __weak __ksym; +extern void bpf_rcu_read_unlock(void) __weak __ksym; +extern __bpf_fastcall void *bpf_rdonly_cast(const void *obj__ign, u32 btf_id__k) __weak __ksym; +extern void *bpf_refcount_acquire_impl(void *p__refcounted_kptr, void *meta__ign) __weak __ksym; +extern int bpf_send_signal_task(struct task_struct *task, int sig, enum pid_type type, u64 value) __weak __ksym; +extern __u64 *bpf_session_cookie(void) __weak __ksym; +extern bool bpf_session_is_return(void) __weak __ksym; +extern int bpf_sk_assign_tcp_reqsk(struct __sk_buff *s, struct sock *sk, struct bpf_tcp_req_attrs *attrs, int attrs__sz) __weak __ksym; +extern int bpf_sock_addr_set_sun_path(struct bpf_sock_addr_kern *sa_kern, const u8 *sun_path, u32 sun_path__sz) __weak __ksym; +extern int bpf_sock_destroy(struct sock_common *sock) __weak __ksym; +extern struct task_struct *bpf_task_acquire(struct task_struct *p) __weak __ksym; +extern struct task_struct *bpf_task_from_pid(s32 pid) __weak __ksym; +extern struct task_struct *bpf_task_from_vpid(s32 vpid) __weak __ksym; +extern void bpf_task_release(struct task_struct *p) __weak __ksym; +extern void bpf_throw(u64 cookie) __weak __ksym; +extern int bpf_wq_init(struct bpf_wq *wq, void *p__map, unsigned int flags) __weak __ksym; +extern int bpf_wq_set_callback_impl(struct bpf_wq *wq, int (*callback_fn)(void *, int *, void *), unsigned int flags, void *aux__ign) __weak __ksym; +extern int bpf_wq_start(struct bpf_wq *wq, unsigned int flags) __weak __ksym; +extern int bpf_xdp_metadata_rx_hash(const struct xdp_md *ctx, u32 *hash, enum xdp_rss_hash_type *rss_type) __weak __ksym; +extern int bpf_xdp_metadata_rx_timestamp(const struct xdp_md *ctx, u64 *timestamp) __weak __ksym; +extern int bpf_xdp_metadata_rx_vlan_tag(const struct xdp_md *ctx, __be16 *vlan_proto, u16 *vlan_tci) __weak __ksym; +extern void cubictcp_acked(struct sock *sk, const struct ack_sample *sample) __weak __ksym; +extern void cubictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) __weak __ksym; +extern void cubictcp_cwnd_event(struct sock *sk, enum tcp_ca_event event) __weak __ksym; +extern void cubictcp_init(struct sock *sk) __weak __ksym; +extern u32 cubictcp_recalc_ssthresh(struct sock *sk) __weak __ksym; +extern void cubictcp_state(struct sock *sk, u8 new_state) __weak __ksym; +extern void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked) __weak __ksym; +extern void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked) __weak __ksym; +extern u32 tcp_reno_ssthresh(struct sock *sk) __weak __ksym; +extern u32 tcp_reno_undo_cwnd(struct sock *sk) __weak __ksym; +extern u32 tcp_slow_start(struct tcp_sock *tp, u32 acked) __weak __ksym; #endif #ifndef BPF_NO_PRESERVE_ACCESS_INDEX diff --git a/include/riscv64/vmlinux.h b/include/riscv64/vmlinux.h index 0a07c47..f254767 120000 --- a/include/riscv64/vmlinux.h +++ b/include/riscv64/vmlinux.h @@ -1 +1 @@ -vmlinux_6.6.h \ No newline at end of file +vmlinux_6.14.h \ No newline at end of file diff --git a/include/riscv64/vmlinux_6.6.h b/include/riscv64/vmlinux_6.14.h similarity index 82% rename from include/riscv64/vmlinux_6.6.h rename to include/riscv64/vmlinux_6.14.h index 279ce4f..64dbbd7 100644 --- a/include/riscv64/vmlinux_6.6.h +++ b/include/riscv64/vmlinux_6.14.h @@ -13,6 +13,14 @@ #define __weak __attribute__((weak)) #endif +#ifndef __bpf_fastcall +#if __has_attribute(bpf_fastcall) +#define __bpf_fastcall __attribute__((bpf_fastcall)) +#else +#define __bpf_fastcall +#endif +#endif + enum { AT_PKT_END = -1, BEYOND_PKT_END = -2, @@ -32,8 +40,7 @@ enum { AX25_VALUES_N2 = 10, AX25_VALUES_PACLEN = 11, AX25_VALUES_PROTOCOL = 12, - AX25_VALUES_DS_TIMEOUT = 13, - AX25_MAX_VALUES = 14, + AX25_MAX_VALUES = 13, }; enum { @@ -65,6 +72,7 @@ enum { BPF_FIB_LKUP_RET_UNSUPP_LWT = 6, BPF_FIB_LKUP_RET_NO_NEIGH = 7, BPF_FIB_LKUP_RET_FRAG_NEEDED = 8, + BPF_FIB_LKUP_RET_NO_SRC_ADDR = 9, }; enum { @@ -72,6 +80,8 @@ enum { BPF_FIB_LOOKUP_OUTPUT = 2, BPF_FIB_LOOKUP_SKIP_NEIGH = 4, BPF_FIB_LOOKUP_TBID = 8, + BPF_FIB_LOOKUP_SRC = 16, + BPF_FIB_LOOKUP_MARK = 32, }; enum { @@ -92,11 +102,6 @@ enum { BPF_F_ADJ_ROOM_DECAP_L3_IPV6 = 256, }; -enum { - BPF_F_BROADCAST = 8, - BPF_F_EXCLUDE_INGRESS = 16, -}; - enum { BPF_F_GET_BRANCH_RECORDS_SIZE = 1, }; @@ -113,6 +118,8 @@ enum { enum { BPF_F_INGRESS = 1, + BPF_F_BROADCAST = 8, + BPF_F_EXCLUDE_INGRESS = 16, }; enum { @@ -120,9 +127,9 @@ enum { }; enum { - BPF_F_NEIGH = 2, - BPF_F_PEER = 4, - BPF_F_NEXTHOP = 8, + BPF_F_NEIGH = 65536, + BPF_F_PEER = 131072, + BPF_F_NEXTHOP = 262144, }; enum { @@ -141,6 +148,10 @@ enum { BPF_F_INNER_MAP = 4096, BPF_F_LINK = 8192, BPF_F_PATH_FD = 16384, + BPF_F_VTYPE_BTF_OBJ_FD = 32768, + BPF_F_TOKEN_FD = 65536, + BPF_F_SEGV_ON_FAULT = 131072, + BPF_F_NO_USER_CONV = 262144, }; enum { @@ -164,6 +175,7 @@ enum { enum { BPF_F_TIMER_ABS = 1, + BPF_F_TIMER_CPU_PIN = 2, }; enum { @@ -238,6 +250,9 @@ enum { enum { BPF_SKB_TSTAMP_UNSPEC = 0, BPF_SKB_TSTAMP_DELIVERY_MONO = 1, + BPF_SKB_CLOCK_REALTIME = 0, + BPF_SKB_CLOCK_MONOTONIC = 1, + BPF_SKB_CLOCK_TAI = 2, }; enum { @@ -276,9 +291,9 @@ enum { }; enum { - BPF_STRUCT_OPS_TYPE_bpf_dummy_ops = 0, - BPF_STRUCT_OPS_TYPE_tcp_congestion_ops = 1, - __NR_BPF_STRUCT_OPS_TYPE = 2, + BPF_TASK_ITER_ALL_PROCS = 0, + BPF_TASK_ITER_ALL_THREADS = 1, + BPF_TASK_ITER_PROC_THREADS = 2, }; enum { @@ -294,7 +309,8 @@ enum { BPF_TCP_LISTEN = 10, BPF_TCP_CLOSING = 11, BPF_TCP_NEW_SYN_RECV = 12, - BPF_TCP_MAX_STATES = 13, + BPF_TCP_BOUND_INACTIVE = 13, + BPF_TCP_MAX_STATES = 14, }; enum { @@ -304,7 +320,7 @@ enum { }; enum { - BTF_FIELDS_MAX = 10, + BTF_FIELDS_MAX = 11, }; enum { @@ -387,6 +403,11 @@ enum { BTF_VAR_GLOBAL_EXTERN = 2, }; +enum { + CMIS_MODULE_LOW_PWR = 1, + CMIS_MODULE_READY = 3, +}; + enum { CRNG_EMPTY = 0, CRNG_EARLY = 1, @@ -533,6 +554,16 @@ enum { DEVCONF_MAX = 59, }; +enum { + DIR_OFFSET_FIRST = 2, + DIR_OFFSET_EOD = 2147483647, +}; + +enum { + DIR_OFFSET_MIN = 3, + DIR_OFFSET_MAX = 2147483646, +}; + enum { DISCOVERED = 16, EXPLORED = 32, @@ -596,6 +627,14 @@ enum { ETHTOOL_A_BITSET_MAX = 5, }; +enum { + ETHTOOL_A_C33_PSE_PW_LIMIT_UNSPEC = 0, + ETHTOOL_A_C33_PSE_PW_LIMIT_MIN = 1, + ETHTOOL_A_C33_PSE_PW_LIMIT_MAX = 2, + __ETHTOOL_A_C33_PSE_PW_LIMIT_CNT = 3, + __ETHTOOL_A_C33_PSE_PW_LIMIT_MAX = 2, +}; + enum { ETHTOOL_A_CABLE_AMPLITUDE_UNSPEC = 0, ETHTOOL_A_CABLE_AMPLITUDE_PAIR = 1, @@ -608,8 +647,15 @@ enum { ETHTOOL_A_CABLE_FAULT_LENGTH_UNSPEC = 0, ETHTOOL_A_CABLE_FAULT_LENGTH_PAIR = 1, ETHTOOL_A_CABLE_FAULT_LENGTH_CM = 2, - __ETHTOOL_A_CABLE_FAULT_LENGTH_CNT = 3, - ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 2, + ETHTOOL_A_CABLE_FAULT_LENGTH_SRC = 3, + __ETHTOOL_A_CABLE_FAULT_LENGTH_CNT = 4, + ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 3, +}; + +enum { + ETHTOOL_A_CABLE_INF_SRC_UNSPEC = 0, + ETHTOOL_A_CABLE_INF_SRC_TDR = 1, + ETHTOOL_A_CABLE_INF_SRC_ALCD = 2, }; enum { @@ -638,8 +684,9 @@ enum { ETHTOOL_A_CABLE_RESULT_UNSPEC = 0, ETHTOOL_A_CABLE_RESULT_PAIR = 1, ETHTOOL_A_CABLE_RESULT_CODE = 2, - __ETHTOOL_A_CABLE_RESULT_CNT = 3, - ETHTOOL_A_CABLE_RESULT_MAX = 2, + ETHTOOL_A_CABLE_RESULT_SRC = 3, + __ETHTOOL_A_CABLE_RESULT_CNT = 4, + ETHTOOL_A_CABLE_RESULT_MAX = 3, }; enum { @@ -745,8 +792,10 @@ enum { ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES = 26, ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES = 27, ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS = 28, - __ETHTOOL_A_COALESCE_CNT = 29, - ETHTOOL_A_COALESCE_MAX = 28, + ETHTOOL_A_COALESCE_RX_PROFILE = 29, + ETHTOOL_A_COALESCE_TX_PROFILE = 30, + __ETHTOOL_A_COALESCE_CNT = 31, + ETHTOOL_A_COALESCE_MAX = 30, }; enum { @@ -807,8 +856,18 @@ enum { ETHTOOL_A_HEADER_DEV_INDEX = 1, ETHTOOL_A_HEADER_DEV_NAME = 2, ETHTOOL_A_HEADER_FLAGS = 3, - __ETHTOOL_A_HEADER_CNT = 4, - ETHTOOL_A_HEADER_MAX = 3, + ETHTOOL_A_HEADER_PHY_INDEX = 4, + __ETHTOOL_A_HEADER_CNT = 5, + ETHTOOL_A_HEADER_MAX = 4, +}; + +enum { + ETHTOOL_A_IRQ_MODERATION_UNSPEC = 0, + ETHTOOL_A_IRQ_MODERATION_USEC = 1, + ETHTOOL_A_IRQ_MODERATION_PKTS = 2, + ETHTOOL_A_IRQ_MODERATION_COMPS = 3, + __ETHTOOL_A_IRQ_MODERATION_CNT = 4, + ETHTOOL_A_IRQ_MODERATION_MAX = 3, }; enum { @@ -895,6 +954,19 @@ enum { ETHTOOL_A_MODULE_EEPROM_MAX = 7, }; +enum { + ETHTOOL_A_MODULE_FW_FLASH_UNSPEC = 0, + ETHTOOL_A_MODULE_FW_FLASH_HEADER = 1, + ETHTOOL_A_MODULE_FW_FLASH_FILE_NAME = 2, + ETHTOOL_A_MODULE_FW_FLASH_PASSWORD = 3, + ETHTOOL_A_MODULE_FW_FLASH_STATUS = 4, + ETHTOOL_A_MODULE_FW_FLASH_STATUS_MSG = 5, + ETHTOOL_A_MODULE_FW_FLASH_DONE = 6, + ETHTOOL_A_MODULE_FW_FLASH_TOTAL = 7, + __ETHTOOL_A_MODULE_FW_FLASH_CNT = 8, + ETHTOOL_A_MODULE_FW_FLASH_MAX = 7, +}; + enum { ETHTOOL_A_MODULE_UNSPEC = 0, ETHTOOL_A_MODULE_HEADER = 1, @@ -934,6 +1006,20 @@ enum { ETHTOOL_A_PHC_VCLOCKS_MAX = 3, }; +enum { + ETHTOOL_A_PHY_UNSPEC = 0, + ETHTOOL_A_PHY_HEADER = 1, + ETHTOOL_A_PHY_INDEX = 2, + ETHTOOL_A_PHY_DRVNAME = 3, + ETHTOOL_A_PHY_NAME = 4, + ETHTOOL_A_PHY_UPSTREAM_TYPE = 5, + ETHTOOL_A_PHY_UPSTREAM_INDEX = 6, + ETHTOOL_A_PHY_UPSTREAM_SFP_NAME = 7, + ETHTOOL_A_PHY_DOWNSTREAM_SFP_NAME = 8, + __ETHTOOL_A_PHY_CNT = 9, + ETHTOOL_A_PHY_MAX = 8, +}; + enum { ETHTOOL_A_PLCA_UNSPEC = 0, ETHTOOL_A_PLCA_HEADER = 1, @@ -957,14 +1043,30 @@ enum { ETHTOOL_A_PRIVFLAGS_MAX = 2, }; +enum { + ETHTOOL_A_PROFILE_UNSPEC = 0, + ETHTOOL_A_PROFILE_IRQ_MODERATION = 1, + __ETHTOOL_A_PROFILE_CNT = 2, + ETHTOOL_A_PROFILE_MAX = 1, +}; + enum { ETHTOOL_A_PSE_UNSPEC = 0, ETHTOOL_A_PSE_HEADER = 1, ETHTOOL_A_PODL_PSE_ADMIN_STATE = 2, ETHTOOL_A_PODL_PSE_ADMIN_CONTROL = 3, ETHTOOL_A_PODL_PSE_PW_D_STATUS = 4, - __ETHTOOL_A_PSE_CNT = 5, - ETHTOOL_A_PSE_MAX = 4, + ETHTOOL_A_C33_PSE_ADMIN_STATE = 5, + ETHTOOL_A_C33_PSE_ADMIN_CONTROL = 6, + ETHTOOL_A_C33_PSE_PW_D_STATUS = 7, + ETHTOOL_A_C33_PSE_PW_CLASS = 8, + ETHTOOL_A_C33_PSE_ACTUAL_PW = 9, + ETHTOOL_A_C33_PSE_EXT_STATE = 10, + ETHTOOL_A_C33_PSE_EXT_SUBSTATE = 11, + ETHTOOL_A_C33_PSE_AVAIL_PW_LIMIT = 12, + ETHTOOL_A_C33_PSE_PW_LIMIT_RANGES = 13, + __ETHTOOL_A_PSE_CNT = 14, + ETHTOOL_A_PSE_MAX = 13, }; enum { @@ -985,8 +1087,10 @@ enum { ETHTOOL_A_RINGS_RX_PUSH = 14, ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN = 15, ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN_MAX = 16, - __ETHTOOL_A_RINGS_CNT = 17, - ETHTOOL_A_RINGS_MAX = 16, + ETHTOOL_A_RINGS_HDS_THRESH = 17, + ETHTOOL_A_RINGS_HDS_THRESH_MAX = 18, + __ETHTOOL_A_RINGS_CNT = 19, + ETHTOOL_A_RINGS_MAX = 18, }; enum { @@ -996,8 +1100,10 @@ enum { ETHTOOL_A_RSS_HFUNC = 3, ETHTOOL_A_RSS_INDIR = 4, ETHTOOL_A_RSS_HKEY = 5, - __ETHTOOL_A_RSS_CNT = 6, - ETHTOOL_A_RSS_MAX = 5, + ETHTOOL_A_RSS_INPUT_XFRM = 6, + ETHTOOL_A_RSS_START_CONTEXT = 7, + __ETHTOOL_A_RSS_CNT = 8, + ETHTOOL_A_RSS_MAX = 7, }; enum { @@ -1056,6 +1162,17 @@ enum { ETHTOOL_A_STATS_GRP_MAX = 9, }; +enum { + ETHTOOL_A_STATS_PHY_RX_PKTS = 0, + ETHTOOL_A_STATS_PHY_RX_BYTES = 1, + ETHTOOL_A_STATS_PHY_RX_ERRORS = 2, + ETHTOOL_A_STATS_PHY_TX_PKTS = 3, + ETHTOOL_A_STATS_PHY_TX_BYTES = 4, + ETHTOOL_A_STATS_PHY_TX_ERRORS = 5, + __ETHTOOL_A_STATS_PHY_CNT = 6, + ETHTOOL_A_STATS_PHY_MAX = 5, +}; + enum { ETHTOOL_A_STATS_RMON_UNDERSIZE = 0, ETHTOOL_A_STATS_RMON_OVERSIZE = 1, @@ -1116,6 +1233,17 @@ enum { ETHTOOL_A_STRSET_MAX = 3, }; +enum { + ETHTOOL_A_TSCONFIG_UNSPEC = 0, + ETHTOOL_A_TSCONFIG_HEADER = 1, + ETHTOOL_A_TSCONFIG_HWTSTAMP_PROVIDER = 2, + ETHTOOL_A_TSCONFIG_TX_TYPES = 3, + ETHTOOL_A_TSCONFIG_RX_FILTERS = 4, + ETHTOOL_A_TSCONFIG_HWTSTAMP_FLAGS = 5, + __ETHTOOL_A_TSCONFIG_CNT = 6, + ETHTOOL_A_TSCONFIG_MAX = 5, +}; + enum { ETHTOOL_A_TSINFO_UNSPEC = 0, ETHTOOL_A_TSINFO_HEADER = 1, @@ -1123,8 +1251,28 @@ enum { ETHTOOL_A_TSINFO_TX_TYPES = 3, ETHTOOL_A_TSINFO_RX_FILTERS = 4, ETHTOOL_A_TSINFO_PHC_INDEX = 5, - __ETHTOOL_A_TSINFO_CNT = 6, - ETHTOOL_A_TSINFO_MAX = 5, + ETHTOOL_A_TSINFO_STATS = 6, + ETHTOOL_A_TSINFO_HWTSTAMP_PROVIDER = 7, + __ETHTOOL_A_TSINFO_CNT = 8, + ETHTOOL_A_TSINFO_MAX = 7, +}; + +enum { + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_UNSPEC = 0, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_INDEX = 1, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_QUALIFIER = 2, + __ETHTOOL_A_TS_HWTSTAMP_PROVIDER_CNT = 3, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_MAX = 2, +}; + +enum { + ETHTOOL_A_TS_STAT_UNSPEC = 0, + ETHTOOL_A_TS_STAT_TX_PKTS = 1, + ETHTOOL_A_TS_STAT_TX_LOST = 2, + ETHTOOL_A_TS_STAT_TX_ERR = 3, + ETHTOOL_A_TS_STAT_TX_ONESTEP_PKTS_UNCONFIRMED = 4, + __ETHTOOL_A_TS_STAT_CNT = 5, + ETHTOOL_A_TS_STAT_MAX = 4, }; enum { @@ -1213,8 +1361,13 @@ enum { ETHTOOL_MSG_PLCA_NTF = 41, ETHTOOL_MSG_MM_GET_REPLY = 42, ETHTOOL_MSG_MM_NTF = 43, - __ETHTOOL_MSG_KERNEL_CNT = 44, - ETHTOOL_MSG_KERNEL_MAX = 43, + ETHTOOL_MSG_MODULE_FW_FLASH_NTF = 44, + ETHTOOL_MSG_PHY_GET_REPLY = 45, + ETHTOOL_MSG_PHY_NTF = 46, + ETHTOOL_MSG_TSCONFIG_GET_REPLY = 47, + ETHTOOL_MSG_TSCONFIG_SET_REPLY = 48, + __ETHTOOL_MSG_KERNEL_CNT = 49, + ETHTOOL_MSG_KERNEL_MAX = 48, }; enum { @@ -1262,8 +1415,12 @@ enum { ETHTOOL_MSG_PLCA_GET_STATUS = 41, ETHTOOL_MSG_MM_GET = 42, ETHTOOL_MSG_MM_SET = 43, - __ETHTOOL_MSG_USER_CNT = 44, - ETHTOOL_MSG_USER_MAX = 43, + ETHTOOL_MSG_MODULE_FW_FLASH_ACT = 44, + ETHTOOL_MSG_PHY_GET = 45, + ETHTOOL_MSG_TSCONFIG_GET = 46, + ETHTOOL_MSG_TSCONFIG_SET = 47, + __ETHTOOL_MSG_USER_CNT = 48, + ETHTOOL_MSG_USER_MAX = 47, }; enum { @@ -1271,13 +1428,8 @@ enum { ETHTOOL_STATS_ETH_MAC = 1, ETHTOOL_STATS_ETH_CTRL = 2, ETHTOOL_STATS_RMON = 3, - __ETHTOOL_STATS_CNT = 4, -}; - -enum { - ETHTOOL_TCP_DATA_SPLIT_UNKNOWN = 0, - ETHTOOL_TCP_DATA_SPLIT_DISABLED = 1, - ETHTOOL_TCP_DATA_SPLIT_ENABLED = 2, + ETHTOOL_STATS_PHY = 4, + __ETHTOOL_STATS_CNT = 5, }; enum { @@ -1285,6 +1437,7 @@ enum { ETHTOOL_UDP_TUNNEL_TYPE_GENEVE = 1, ETHTOOL_UDP_TUNNEL_TYPE_VXLAN_GPE = 2, __ETHTOOL_UDP_TUNNEL_TYPE_CNT = 3, + ETHTOOL_UDP_TUNNEL_TYPE_MAX = 2, }; enum { @@ -1294,6 +1447,12 @@ enum { ETH_RSS_HASH_FUNCS_COUNT = 3, }; +enum { + EVENTFS_SAVE_MODE = 65536, + EVENTFS_SAVE_UID = 131072, + EVENTFS_SAVE_GID = 262144, +}; + enum { EVENT_FILE_FL_ENABLED = 1, EVENT_FILE_FL_RECORDED_CMD = 2, @@ -1306,6 +1465,7 @@ enum { EVENT_FILE_FL_TRIGGER_COND = 256, EVENT_FILE_FL_PID_FILTER = 512, EVENT_FILE_FL_WAS_ENABLED = 1024, + EVENT_FILE_FL_FREED = 2048, }; enum { @@ -1320,12 +1480,19 @@ enum { EVENT_FILE_FL_TRIGGER_COND_BIT = 8, EVENT_FILE_FL_PID_FILTER_BIT = 9, EVENT_FILE_FL_WAS_ENABLED_BIT = 10, + EVENT_FILE_FL_FREED_BIT = 11, }; enum { EVENT_TRIGGER_FL_PROBE = 1, }; +enum { + FGRAPH_TYPE_RESERVED = 0, + FGRAPH_TYPE_BITMAP = 1, + FGRAPH_TYPE_DATA = 2, +}; + enum { FIB6_NO_SERNUM_CHANGE = 0, }; @@ -1381,6 +1548,7 @@ enum { FOLL_PIN = 524288, FOLL_FAST_ONLY = 1048576, FOLL_UNLOCKABLE = 2097152, + FOLL_MADV_POPULATE = 4194304, }; enum { @@ -1461,6 +1629,7 @@ enum { FTRACE_OPS_FL_TRACE_ARRAY = 32768, FTRACE_OPS_FL_PERMANENT = 65536, FTRACE_OPS_FL_DIRECT = 131072, + FTRACE_OPS_FL_SUBOP = 262144, }; enum { @@ -1557,6 +1726,11 @@ enum { __ICMP_MIB_MAX = 30, }; +enum { + IDX_MODULE_ID = 0, + IDX_ST_OPS_COMMON_VALUE_ID = 1, +}; + enum { IFAL_ADDRESS = 1, IFAL_LABEL = 2, @@ -1823,7 +1997,9 @@ enum { IFLA_DEVLINK_PORT = 62, IFLA_GSO_IPV4_MAX_SIZE = 63, IFLA_GRO_IPV4_MAX_SIZE = 64, - __IFLA_MAX = 65, + IFLA_DPLL_PIN = 65, + IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, + __IFLA_MAX = 67, }; enum { @@ -2010,6 +2186,17 @@ enum { INET_FLAGS_NODEFRAG = 17, INET_FLAGS_BIND_ADDRESS_NO_PORT = 18, INET_FLAGS_DEFER_CONNECT = 19, + INET_FLAGS_MC6_LOOP = 20, + INET_FLAGS_RECVERR6_RFC4884 = 21, + INET_FLAGS_MC6_ALL = 22, + INET_FLAGS_AUTOFLOWLABEL_SET = 23, + INET_FLAGS_AUTOFLOWLABEL = 24, + INET_FLAGS_DONTFRAG = 25, + INET_FLAGS_RECVERR6 = 26, + INET_FLAGS_REPFLOW = 27, + INET_FLAGS_RTALERT_ISOLATE = 28, + INET_FLAGS_SNDFLOW = 29, + INET_FLAGS_RTALERT = 30, }; enum { @@ -2028,6 +2215,13 @@ enum { __INET_ULP_INFO_MAX = 4, }; +enum { + INSN_F_FRAMENO_MASK = 7, + INSN_F_SPI_MASK = 63, + INSN_F_SPI_SHIFT = 3, + INSN_F_STACK_ACCESS = 512, +}; + enum { INVERT = 1, PROCESS_AND = 2, @@ -2090,47 +2284,6 @@ enum { IORES_DESC_CXL = 9, }; -enum { - IORING_REGISTER_BUFFERS = 0, - IORING_UNREGISTER_BUFFERS = 1, - IORING_REGISTER_FILES = 2, - IORING_UNREGISTER_FILES = 3, - IORING_REGISTER_EVENTFD = 4, - IORING_UNREGISTER_EVENTFD = 5, - IORING_REGISTER_FILES_UPDATE = 6, - IORING_REGISTER_EVENTFD_ASYNC = 7, - IORING_REGISTER_PROBE = 8, - IORING_REGISTER_PERSONALITY = 9, - IORING_UNREGISTER_PERSONALITY = 10, - IORING_REGISTER_RESTRICTIONS = 11, - IORING_REGISTER_ENABLE_RINGS = 12, - IORING_REGISTER_FILES2 = 13, - IORING_REGISTER_FILES_UPDATE2 = 14, - IORING_REGISTER_BUFFERS2 = 15, - IORING_REGISTER_BUFFERS_UPDATE = 16, - IORING_REGISTER_IOWQ_AFF = 17, - IORING_UNREGISTER_IOWQ_AFF = 18, - IORING_REGISTER_IOWQ_MAX_WORKERS = 19, - IORING_REGISTER_RING_FDS = 20, - IORING_UNREGISTER_RING_FDS = 21, - IORING_REGISTER_PBUF_RING = 22, - IORING_UNREGISTER_PBUF_RING = 23, - IORING_REGISTER_SYNC_CANCEL = 24, - IORING_REGISTER_FILE_ALLOC_RANGE = 25, - IORING_REGISTER_LAST = 26, - IORING_REGISTER_USE_REGISTERED_RING = 2147483648, -}; - -enum { - IOSQE_FIXED_FILE_BIT = 0, - IOSQE_IO_DRAIN_BIT = 1, - IOSQE_IO_LINK_BIT = 2, - IOSQE_IO_HARDLINK_BIT = 3, - IOSQE_ASYNC_BIT = 4, - IOSQE_BUFFER_SELECT_BIT = 5, - IOSQE_CQE_SKIP_SUCCESS_BIT = 6, -}; - enum { IP6_FH_F_FRAG = 1, IP6_FH_F_AUTH = 2, @@ -2164,7 +2317,9 @@ enum { IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, + IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, + IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, IPPROTO_MAX = 263, }; @@ -2175,7 +2330,7 @@ enum { IPSTATS_MIB_INOCTETS = 2, IPSTATS_MIB_INDELIVERS = 3, IPSTATS_MIB_OUTFORWDATAGRAMS = 4, - IPSTATS_MIB_OUTPKTS = 5, + IPSTATS_MIB_OUTREQUESTS = 5, IPSTATS_MIB_OUTOCTETS = 6, IPSTATS_MIB_INHDRERRORS = 7, IPSTATS_MIB_INTOOBIGERRORS = 8, @@ -2207,7 +2362,8 @@ enum { IPSTATS_MIB_ECT0PKTS = 34, IPSTATS_MIB_CEPKTS = 35, IPSTATS_MIB_REASM_OVERLAPS = 36, - __IPSTATS_MIB_MAX = 37, + IPSTATS_MIB_OUTPKTS = 37, + __IPSTATS_MIB_MAX = 38, }; enum { @@ -2260,6 +2416,29 @@ enum { IPV6_SADDR_RULE_MAX = 9, }; +enum { + IP_TUNNEL_CSUM_BIT = 0, + IP_TUNNEL_ROUTING_BIT = 1, + IP_TUNNEL_KEY_BIT = 2, + IP_TUNNEL_SEQ_BIT = 3, + IP_TUNNEL_STRICT_BIT = 4, + IP_TUNNEL_REC_BIT = 5, + IP_TUNNEL_VERSION_BIT = 6, + IP_TUNNEL_NO_KEY_BIT = 7, + IP_TUNNEL_DONT_FRAGMENT_BIT = 8, + IP_TUNNEL_OAM_BIT = 9, + IP_TUNNEL_CRIT_OPT_BIT = 10, + IP_TUNNEL_GENEVE_OPT_BIT = 11, + IP_TUNNEL_VXLAN_OPT_BIT = 12, + IP_TUNNEL_NOCACHE_BIT = 13, + IP_TUNNEL_ERSPAN_OPT_BIT = 14, + IP_TUNNEL_GTP_OPT_BIT = 15, + IP_TUNNEL_VTI_BIT = 16, + IP_TUNNEL_SIT_ISATAP_BIT = 16, + IP_TUNNEL_PFCP_OPT_BIT = 17, + __IP_TUNNEL_FLAG_NUM = 18, +}; + enum { IRQCHIP_FWNODE_REAL = 0, IRQCHIP_FWNODE_NAMED = 1, @@ -2279,6 +2458,7 @@ enum { IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND = 512, IRQCHIP_AFFINITY_PRE_STARTUP = 1024, IRQCHIP_IMMUTABLE = 2048, + IRQCHIP_MOVE_DEFERRED = 4096, }; enum { @@ -2295,7 +2475,6 @@ enum { IRQD_AFFINITY_SET = 4096, IRQD_LEVEL = 8192, IRQD_WAKEUP_STATE = 16384, - IRQD_MOVE_PCNTXT = 32768, IRQD_IRQ_DISABLED = 65536, IRQD_IRQ_MASKED = 131072, IRQD_IRQ_INPROGRESS = 262144, @@ -2307,11 +2486,10 @@ enum { IRQD_SINGLE_TARGET = 16777216, IRQD_DEFAULT_TRIGGER_SET = 33554432, IRQD_CAN_RESERVE = 67108864, - IRQD_MSI_NOMASK_QUIRK = 134217728, - IRQD_HANDLE_ENFORCE_IRQCTX = 268435456, - IRQD_AFFINITY_ON_ACTIVATE = 536870912, - IRQD_IRQ_ENABLED_ON_SUSPEND = 1073741824, - IRQD_RESEND_WHEN_IN_PROGRESS = 2147483648, + IRQD_HANDLE_ENFORCE_IRQCTX = 134217728, + IRQD_AFFINITY_ON_ACTIVATE = 268435456, + IRQD_IRQ_ENABLED_ON_SUSPEND = 536870912, + IRQD_RESEND_WHEN_IN_PROGRESS = 1073741824, }; enum { @@ -2346,6 +2524,7 @@ enum { IRQ_DOMAIN_FLAG_NO_MAP = 64, IRQ_DOMAIN_FLAG_MSI_PARENT = 256, IRQ_DOMAIN_FLAG_MSI_DEVICE = 512, + IRQ_DOMAIN_FLAG_DESTROY_GC = 1024, IRQ_DOMAIN_FLAG_NONCORE = 65536, }; @@ -2378,7 +2557,6 @@ enum { IRQ_NOREQUEST = 2048, IRQ_NOAUTOEN = 4096, IRQ_NO_BALANCING = 8192, - IRQ_MOVE_PCNTXT = 16384, IRQ_NESTED_THREAD = 32768, IRQ_NOTHREAD = 65536, IRQ_PER_CPU_DEVID = 131072, @@ -2403,6 +2581,7 @@ enum { KF_ARG_LIST_NODE_ID = 2, KF_ARG_RB_ROOT_ID = 3, KF_ARG_RB_NODE_ID = 4, + KF_ARG_WORKQUEUE_ID = 5, }; enum { @@ -2433,118 +2612,124 @@ enum { LINUX_MIB_TIMEWAITKILLED = 13, LINUX_MIB_PAWSACTIVEREJECTED = 14, LINUX_MIB_PAWSESTABREJECTED = 15, - LINUX_MIB_DELAYEDACKS = 16, - LINUX_MIB_DELAYEDACKLOCKED = 17, - LINUX_MIB_DELAYEDACKLOST = 18, - LINUX_MIB_LISTENOVERFLOWS = 19, - LINUX_MIB_LISTENDROPS = 20, - LINUX_MIB_TCPHPHITS = 21, - LINUX_MIB_TCPPUREACKS = 22, - LINUX_MIB_TCPHPACKS = 23, - LINUX_MIB_TCPRENORECOVERY = 24, - LINUX_MIB_TCPSACKRECOVERY = 25, - LINUX_MIB_TCPSACKRENEGING = 26, - LINUX_MIB_TCPSACKREORDER = 27, - LINUX_MIB_TCPRENOREORDER = 28, - LINUX_MIB_TCPTSREORDER = 29, - LINUX_MIB_TCPFULLUNDO = 30, - LINUX_MIB_TCPPARTIALUNDO = 31, - LINUX_MIB_TCPDSACKUNDO = 32, - LINUX_MIB_TCPLOSSUNDO = 33, - LINUX_MIB_TCPLOSTRETRANSMIT = 34, - LINUX_MIB_TCPRENOFAILURES = 35, - LINUX_MIB_TCPSACKFAILURES = 36, - LINUX_MIB_TCPLOSSFAILURES = 37, - LINUX_MIB_TCPFASTRETRANS = 38, - LINUX_MIB_TCPSLOWSTARTRETRANS = 39, - LINUX_MIB_TCPTIMEOUTS = 40, - LINUX_MIB_TCPLOSSPROBES = 41, - LINUX_MIB_TCPLOSSPROBERECOVERY = 42, - LINUX_MIB_TCPRENORECOVERYFAIL = 43, - LINUX_MIB_TCPSACKRECOVERYFAIL = 44, - LINUX_MIB_TCPRCVCOLLAPSED = 45, - LINUX_MIB_TCPDSACKOLDSENT = 46, - LINUX_MIB_TCPDSACKOFOSENT = 47, - LINUX_MIB_TCPDSACKRECV = 48, - LINUX_MIB_TCPDSACKOFORECV = 49, - LINUX_MIB_TCPABORTONDATA = 50, - LINUX_MIB_TCPABORTONCLOSE = 51, - LINUX_MIB_TCPABORTONMEMORY = 52, - LINUX_MIB_TCPABORTONTIMEOUT = 53, - LINUX_MIB_TCPABORTONLINGER = 54, - LINUX_MIB_TCPABORTFAILED = 55, - LINUX_MIB_TCPMEMORYPRESSURES = 56, - LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 57, - LINUX_MIB_TCPSACKDISCARD = 58, - LINUX_MIB_TCPDSACKIGNOREDOLD = 59, - LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 60, - LINUX_MIB_TCPSPURIOUSRTOS = 61, - LINUX_MIB_TCPMD5NOTFOUND = 62, - LINUX_MIB_TCPMD5UNEXPECTED = 63, - LINUX_MIB_TCPMD5FAILURE = 64, - LINUX_MIB_SACKSHIFTED = 65, - LINUX_MIB_SACKMERGED = 66, - LINUX_MIB_SACKSHIFTFALLBACK = 67, - LINUX_MIB_TCPBACKLOGDROP = 68, - LINUX_MIB_PFMEMALLOCDROP = 69, - LINUX_MIB_TCPMINTTLDROP = 70, - LINUX_MIB_TCPDEFERACCEPTDROP = 71, - LINUX_MIB_IPRPFILTER = 72, - LINUX_MIB_TCPTIMEWAITOVERFLOW = 73, - LINUX_MIB_TCPREQQFULLDOCOOKIES = 74, - LINUX_MIB_TCPREQQFULLDROP = 75, - LINUX_MIB_TCPRETRANSFAIL = 76, - LINUX_MIB_TCPRCVCOALESCE = 77, - LINUX_MIB_TCPBACKLOGCOALESCE = 78, - LINUX_MIB_TCPOFOQUEUE = 79, - LINUX_MIB_TCPOFODROP = 80, - LINUX_MIB_TCPOFOMERGE = 81, - LINUX_MIB_TCPCHALLENGEACK = 82, - LINUX_MIB_TCPSYNCHALLENGE = 83, - LINUX_MIB_TCPFASTOPENACTIVE = 84, - LINUX_MIB_TCPFASTOPENACTIVEFAIL = 85, - LINUX_MIB_TCPFASTOPENPASSIVE = 86, - LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 87, - LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 88, - LINUX_MIB_TCPFASTOPENCOOKIEREQD = 89, - LINUX_MIB_TCPFASTOPENBLACKHOLE = 90, - LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 91, - LINUX_MIB_BUSYPOLLRXPACKETS = 92, - LINUX_MIB_TCPAUTOCORKING = 93, - LINUX_MIB_TCPFROMZEROWINDOWADV = 94, - LINUX_MIB_TCPTOZEROWINDOWADV = 95, - LINUX_MIB_TCPWANTZEROWINDOWADV = 96, - LINUX_MIB_TCPSYNRETRANS = 97, - LINUX_MIB_TCPORIGDATASENT = 98, - LINUX_MIB_TCPHYSTARTTRAINDETECT = 99, - LINUX_MIB_TCPHYSTARTTRAINCWND = 100, - LINUX_MIB_TCPHYSTARTDELAYDETECT = 101, - LINUX_MIB_TCPHYSTARTDELAYCWND = 102, - LINUX_MIB_TCPACKSKIPPEDSYNRECV = 103, - LINUX_MIB_TCPACKSKIPPEDPAWS = 104, - LINUX_MIB_TCPACKSKIPPEDSEQ = 105, - LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 106, - LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 107, - LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 108, - LINUX_MIB_TCPWINPROBE = 109, - LINUX_MIB_TCPKEEPALIVE = 110, - LINUX_MIB_TCPMTUPFAIL = 111, - LINUX_MIB_TCPMTUPSUCCESS = 112, - LINUX_MIB_TCPDELIVERED = 113, - LINUX_MIB_TCPDELIVEREDCE = 114, - LINUX_MIB_TCPACKCOMPRESSED = 115, - LINUX_MIB_TCPZEROWINDOWDROP = 116, - LINUX_MIB_TCPRCVQDROP = 117, - LINUX_MIB_TCPWQUEUETOOBIG = 118, - LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 119, - LINUX_MIB_TCPTIMEOUTREHASH = 120, - LINUX_MIB_TCPDUPLICATEDATAREHASH = 121, - LINUX_MIB_TCPDSACKRECVSEGS = 122, - LINUX_MIB_TCPDSACKIGNOREDDUBIOUS = 123, - LINUX_MIB_TCPMIGRATEREQSUCCESS = 124, - LINUX_MIB_TCPMIGRATEREQFAILURE = 125, - LINUX_MIB_TCPPLBREHASH = 126, - __LINUX_MIB_MAX = 127, + LINUX_MIB_PAWS_OLD_ACK = 16, + LINUX_MIB_DELAYEDACKS = 17, + LINUX_MIB_DELAYEDACKLOCKED = 18, + LINUX_MIB_DELAYEDACKLOST = 19, + LINUX_MIB_LISTENOVERFLOWS = 20, + LINUX_MIB_LISTENDROPS = 21, + LINUX_MIB_TCPHPHITS = 22, + LINUX_MIB_TCPPUREACKS = 23, + LINUX_MIB_TCPHPACKS = 24, + LINUX_MIB_TCPRENORECOVERY = 25, + LINUX_MIB_TCPSACKRECOVERY = 26, + LINUX_MIB_TCPSACKRENEGING = 27, + LINUX_MIB_TCPSACKREORDER = 28, + LINUX_MIB_TCPRENOREORDER = 29, + LINUX_MIB_TCPTSREORDER = 30, + LINUX_MIB_TCPFULLUNDO = 31, + LINUX_MIB_TCPPARTIALUNDO = 32, + LINUX_MIB_TCPDSACKUNDO = 33, + LINUX_MIB_TCPLOSSUNDO = 34, + LINUX_MIB_TCPLOSTRETRANSMIT = 35, + LINUX_MIB_TCPRENOFAILURES = 36, + LINUX_MIB_TCPSACKFAILURES = 37, + LINUX_MIB_TCPLOSSFAILURES = 38, + LINUX_MIB_TCPFASTRETRANS = 39, + LINUX_MIB_TCPSLOWSTARTRETRANS = 40, + LINUX_MIB_TCPTIMEOUTS = 41, + LINUX_MIB_TCPLOSSPROBES = 42, + LINUX_MIB_TCPLOSSPROBERECOVERY = 43, + LINUX_MIB_TCPRENORECOVERYFAIL = 44, + LINUX_MIB_TCPSACKRECOVERYFAIL = 45, + LINUX_MIB_TCPRCVCOLLAPSED = 46, + LINUX_MIB_TCPDSACKOLDSENT = 47, + LINUX_MIB_TCPDSACKOFOSENT = 48, + LINUX_MIB_TCPDSACKRECV = 49, + LINUX_MIB_TCPDSACKOFORECV = 50, + LINUX_MIB_TCPABORTONDATA = 51, + LINUX_MIB_TCPABORTONCLOSE = 52, + LINUX_MIB_TCPABORTONMEMORY = 53, + LINUX_MIB_TCPABORTONTIMEOUT = 54, + LINUX_MIB_TCPABORTONLINGER = 55, + LINUX_MIB_TCPABORTFAILED = 56, + LINUX_MIB_TCPMEMORYPRESSURES = 57, + LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 58, + LINUX_MIB_TCPSACKDISCARD = 59, + LINUX_MIB_TCPDSACKIGNOREDOLD = 60, + LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 61, + LINUX_MIB_TCPSPURIOUSRTOS = 62, + LINUX_MIB_TCPMD5NOTFOUND = 63, + LINUX_MIB_TCPMD5UNEXPECTED = 64, + LINUX_MIB_TCPMD5FAILURE = 65, + LINUX_MIB_SACKSHIFTED = 66, + LINUX_MIB_SACKMERGED = 67, + LINUX_MIB_SACKSHIFTFALLBACK = 68, + LINUX_MIB_TCPBACKLOGDROP = 69, + LINUX_MIB_PFMEMALLOCDROP = 70, + LINUX_MIB_TCPMINTTLDROP = 71, + LINUX_MIB_TCPDEFERACCEPTDROP = 72, + LINUX_MIB_IPRPFILTER = 73, + LINUX_MIB_TCPTIMEWAITOVERFLOW = 74, + LINUX_MIB_TCPREQQFULLDOCOOKIES = 75, + LINUX_MIB_TCPREQQFULLDROP = 76, + LINUX_MIB_TCPRETRANSFAIL = 77, + LINUX_MIB_TCPRCVCOALESCE = 78, + LINUX_MIB_TCPBACKLOGCOALESCE = 79, + LINUX_MIB_TCPOFOQUEUE = 80, + LINUX_MIB_TCPOFODROP = 81, + LINUX_MIB_TCPOFOMERGE = 82, + LINUX_MIB_TCPCHALLENGEACK = 83, + LINUX_MIB_TCPSYNCHALLENGE = 84, + LINUX_MIB_TCPFASTOPENACTIVE = 85, + LINUX_MIB_TCPFASTOPENACTIVEFAIL = 86, + LINUX_MIB_TCPFASTOPENPASSIVE = 87, + LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 88, + LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 89, + LINUX_MIB_TCPFASTOPENCOOKIEREQD = 90, + LINUX_MIB_TCPFASTOPENBLACKHOLE = 91, + LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 92, + LINUX_MIB_BUSYPOLLRXPACKETS = 93, + LINUX_MIB_TCPAUTOCORKING = 94, + LINUX_MIB_TCPFROMZEROWINDOWADV = 95, + LINUX_MIB_TCPTOZEROWINDOWADV = 96, + LINUX_MIB_TCPWANTZEROWINDOWADV = 97, + LINUX_MIB_TCPSYNRETRANS = 98, + LINUX_MIB_TCPORIGDATASENT = 99, + LINUX_MIB_TCPHYSTARTTRAINDETECT = 100, + LINUX_MIB_TCPHYSTARTTRAINCWND = 101, + LINUX_MIB_TCPHYSTARTDELAYDETECT = 102, + LINUX_MIB_TCPHYSTARTDELAYCWND = 103, + LINUX_MIB_TCPACKSKIPPEDSYNRECV = 104, + LINUX_MIB_TCPACKSKIPPEDPAWS = 105, + LINUX_MIB_TCPACKSKIPPEDSEQ = 106, + LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 107, + LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 108, + LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 109, + LINUX_MIB_TCPWINPROBE = 110, + LINUX_MIB_TCPKEEPALIVE = 111, + LINUX_MIB_TCPMTUPFAIL = 112, + LINUX_MIB_TCPMTUPSUCCESS = 113, + LINUX_MIB_TCPDELIVERED = 114, + LINUX_MIB_TCPDELIVEREDCE = 115, + LINUX_MIB_TCPACKCOMPRESSED = 116, + LINUX_MIB_TCPZEROWINDOWDROP = 117, + LINUX_MIB_TCPRCVQDROP = 118, + LINUX_MIB_TCPWQUEUETOOBIG = 119, + LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 120, + LINUX_MIB_TCPTIMEOUTREHASH = 121, + LINUX_MIB_TCPDUPLICATEDATAREHASH = 122, + LINUX_MIB_TCPDSACKRECVSEGS = 123, + LINUX_MIB_TCPDSACKIGNOREDDUBIOUS = 124, + LINUX_MIB_TCPMIGRATEREQSUCCESS = 125, + LINUX_MIB_TCPMIGRATEREQFAILURE = 126, + LINUX_MIB_TCPPLBREHASH = 127, + LINUX_MIB_TCPAOREQUIRED = 128, + LINUX_MIB_TCPAOBAD = 129, + LINUX_MIB_TCPAOKEYNOTFOUND = 130, + LINUX_MIB_TCPAOGOOD = 131, + LINUX_MIB_TCPAODROPPEDICMPS = 132, + __LINUX_MIB_MAX = 133, }; enum { @@ -2561,7 +2746,12 @@ enum { LINUX_MIB_TLSRXDEVICERESYNC = 10, LINUX_MIB_TLSDECRYPTRETRY = 11, LINUX_MIB_TLSRXNOPADVIOL = 12, - __LINUX_MIB_TLSMAX = 13, + LINUX_MIB_TLSRXREKEYOK = 13, + LINUX_MIB_TLSRXREKEYERROR = 14, + LINUX_MIB_TLSTXREKEYOK = 15, + LINUX_MIB_TLSTXREKEYERROR = 16, + LINUX_MIB_TLSRXREKEYRECEIVED = 17, + __LINUX_MIB_TLSMAX = 18, }; enum { @@ -2594,7 +2784,11 @@ enum { LINUX_MIB_XFRMFWDHDRERROR = 26, LINUX_MIB_XFRMOUTSTATEINVALID = 27, LINUX_MIB_XFRMACQUIREERROR = 28, - __LINUX_MIB_XFRMMAX = 29, + LINUX_MIB_XFRMOUTSTATEDIRERROR = 29, + LINUX_MIB_XFRMINSTATEDIRERROR = 30, + LINUX_MIB_XFRMINIPTFSERROR = 31, + LINUX_MIB_XFRMOUTNOQSPACE = 32, + __LINUX_MIB_XFRMMAX = 33, }; enum { @@ -2642,6 +2836,13 @@ enum { MAX_OPT_ARGS = 3, }; +enum { + MDBA_GET_ENTRY_UNSPEC = 0, + MDBA_GET_ENTRY = 1, + MDBA_GET_ENTRY_ATTRS = 2, + __MDBA_GET_ENTRY_MAX = 3, +}; + enum { MDBA_SET_ENTRY_UNSPEC = 0, MDBA_SET_ENTRY = 1, @@ -2669,6 +2870,27 @@ enum { NR_MM_COUNTERS = 4, }; +enum { + MSI_FLAG_USE_DEF_DOM_OPS = 1, + MSI_FLAG_USE_DEF_CHIP_OPS = 2, + MSI_FLAG_ACTIVATE_EARLY = 4, + MSI_FLAG_MUST_REACTIVATE = 8, + MSI_FLAG_DEV_SYSFS = 16, + MSI_FLAG_ALLOC_SIMPLE_MSI_DESCS = 32, + MSI_FLAG_FREE_MSI_DESCS = 64, + MSI_FLAG_USE_DEV_FWNODE = 128, + MSI_FLAG_PARENT_PM_DEV = 256, + MSI_FLAG_PCI_MSI_MASK_PARENT = 512, + MSI_GENERIC_FLAGS_MASK = 65535, + MSI_DOMAIN_FLAGS_MASK = 4294901760, + MSI_FLAG_MULTI_PCI_MSI = 65536, + MSI_FLAG_PCI_MSIX = 131072, + MSI_FLAG_LEVEL_CAPABLE = 262144, + MSI_FLAG_MSIX_CONTIGUOUS = 524288, + MSI_FLAG_PCI_MSIX_ALLOC_DYN = 1048576, + MSI_FLAG_NO_AFFINITY = 2097152, +}; + enum { NAPIF_STATE_SCHED = 1, NAPIF_STATE_MISSED = 2, @@ -2682,6 +2904,11 @@ enum { NAPIF_STATE_SCHED_THREADED = 512, }; +enum { + NAPI_F_PREFER_BUSY_POLL = 1, + NAPI_F_END_ON_RESCHED = 2, +}; + enum { NAPI_STATE_SCHED = 0, NAPI_STATE_MISSED = 1, @@ -2784,9 +3011,8 @@ enum { enum { NEIGH_ARP_TABLE = 0, NEIGH_ND_TABLE = 1, - NEIGH_DN_TABLE = 2, - NEIGH_NR_TABLES = 3, - NEIGH_LINK_TABLE = 3, + NEIGH_NR_TABLES = 2, + NEIGH_LINK_TABLE = 2, }; enum { @@ -2837,8 +3063,106 @@ enum { NETDEV_A_DEV_PAD = 2, NETDEV_A_DEV_XDP_FEATURES = 3, NETDEV_A_DEV_XDP_ZC_MAX_SEGS = 4, - __NETDEV_A_DEV_MAX = 5, - NETDEV_A_DEV_MAX = 4, + NETDEV_A_DEV_XDP_RX_METADATA_FEATURES = 5, + NETDEV_A_DEV_XSK_FEATURES = 6, + __NETDEV_A_DEV_MAX = 7, + NETDEV_A_DEV_MAX = 6, +}; + +enum { + NETDEV_A_DMABUF_IFINDEX = 1, + NETDEV_A_DMABUF_QUEUES = 2, + NETDEV_A_DMABUF_FD = 3, + NETDEV_A_DMABUF_ID = 4, + __NETDEV_A_DMABUF_MAX = 5, + NETDEV_A_DMABUF_MAX = 4, +}; + +enum { + NETDEV_A_NAPI_IFINDEX = 1, + NETDEV_A_NAPI_ID = 2, + NETDEV_A_NAPI_IRQ = 3, + NETDEV_A_NAPI_PID = 4, + NETDEV_A_NAPI_DEFER_HARD_IRQS = 5, + NETDEV_A_NAPI_GRO_FLUSH_TIMEOUT = 6, + NETDEV_A_NAPI_IRQ_SUSPEND_TIMEOUT = 7, + __NETDEV_A_NAPI_MAX = 8, + NETDEV_A_NAPI_MAX = 7, +}; + +enum { + NETDEV_A_PAGE_POOL_ID = 1, + NETDEV_A_PAGE_POOL_IFINDEX = 2, + NETDEV_A_PAGE_POOL_NAPI_ID = 3, + NETDEV_A_PAGE_POOL_INFLIGHT = 4, + NETDEV_A_PAGE_POOL_INFLIGHT_MEM = 5, + NETDEV_A_PAGE_POOL_DETACH_TIME = 6, + NETDEV_A_PAGE_POOL_DMABUF = 7, + __NETDEV_A_PAGE_POOL_MAX = 8, + NETDEV_A_PAGE_POOL_MAX = 7, +}; + +enum { + NETDEV_A_PAGE_POOL_STATS_INFO = 1, + NETDEV_A_PAGE_POOL_STATS_ALLOC_FAST = 8, + NETDEV_A_PAGE_POOL_STATS_ALLOC_SLOW = 9, + NETDEV_A_PAGE_POOL_STATS_ALLOC_SLOW_HIGH_ORDER = 10, + NETDEV_A_PAGE_POOL_STATS_ALLOC_EMPTY = 11, + NETDEV_A_PAGE_POOL_STATS_ALLOC_REFILL = 12, + NETDEV_A_PAGE_POOL_STATS_ALLOC_WAIVE = 13, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_CACHED = 14, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_CACHE_FULL = 15, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RING = 16, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RING_FULL = 17, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RELEASED_REFCNT = 18, + __NETDEV_A_PAGE_POOL_STATS_MAX = 19, + NETDEV_A_PAGE_POOL_STATS_MAX = 18, +}; + +enum { + NETDEV_A_QSTATS_IFINDEX = 1, + NETDEV_A_QSTATS_QUEUE_TYPE = 2, + NETDEV_A_QSTATS_QUEUE_ID = 3, + NETDEV_A_QSTATS_SCOPE = 4, + NETDEV_A_QSTATS_RX_PACKETS = 8, + NETDEV_A_QSTATS_RX_BYTES = 9, + NETDEV_A_QSTATS_TX_PACKETS = 10, + NETDEV_A_QSTATS_TX_BYTES = 11, + NETDEV_A_QSTATS_RX_ALLOC_FAIL = 12, + NETDEV_A_QSTATS_RX_HW_DROPS = 13, + NETDEV_A_QSTATS_RX_HW_DROP_OVERRUNS = 14, + NETDEV_A_QSTATS_RX_CSUM_COMPLETE = 15, + NETDEV_A_QSTATS_RX_CSUM_UNNECESSARY = 16, + NETDEV_A_QSTATS_RX_CSUM_NONE = 17, + NETDEV_A_QSTATS_RX_CSUM_BAD = 18, + NETDEV_A_QSTATS_RX_HW_GRO_PACKETS = 19, + NETDEV_A_QSTATS_RX_HW_GRO_BYTES = 20, + NETDEV_A_QSTATS_RX_HW_GRO_WIRE_PACKETS = 21, + NETDEV_A_QSTATS_RX_HW_GRO_WIRE_BYTES = 22, + NETDEV_A_QSTATS_RX_HW_DROP_RATELIMITS = 23, + NETDEV_A_QSTATS_TX_HW_DROPS = 24, + NETDEV_A_QSTATS_TX_HW_DROP_ERRORS = 25, + NETDEV_A_QSTATS_TX_CSUM_NONE = 26, + NETDEV_A_QSTATS_TX_NEEDS_CSUM = 27, + NETDEV_A_QSTATS_TX_HW_GSO_PACKETS = 28, + NETDEV_A_QSTATS_TX_HW_GSO_BYTES = 29, + NETDEV_A_QSTATS_TX_HW_GSO_WIRE_PACKETS = 30, + NETDEV_A_QSTATS_TX_HW_GSO_WIRE_BYTES = 31, + NETDEV_A_QSTATS_TX_HW_DROP_RATELIMITS = 32, + NETDEV_A_QSTATS_TX_STOP = 33, + NETDEV_A_QSTATS_TX_WAKE = 34, + __NETDEV_A_QSTATS_MAX = 35, + NETDEV_A_QSTATS_MAX = 34, +}; + +enum { + NETDEV_A_QUEUE_ID = 1, + NETDEV_A_QUEUE_IFINDEX = 2, + NETDEV_A_QUEUE_TYPE = 3, + NETDEV_A_QUEUE_NAPI_ID = 4, + NETDEV_A_QUEUE_DMABUF = 5, + __NETDEV_A_QUEUE_MAX = 6, + NETDEV_A_QUEUE_MAX = 5, }; enum { @@ -2846,12 +3170,23 @@ enum { NETDEV_CMD_DEV_ADD_NTF = 2, NETDEV_CMD_DEV_DEL_NTF = 3, NETDEV_CMD_DEV_CHANGE_NTF = 4, - __NETDEV_CMD_MAX = 5, - NETDEV_CMD_MAX = 4, + NETDEV_CMD_PAGE_POOL_GET = 5, + NETDEV_CMD_PAGE_POOL_ADD_NTF = 6, + NETDEV_CMD_PAGE_POOL_DEL_NTF = 7, + NETDEV_CMD_PAGE_POOL_CHANGE_NTF = 8, + NETDEV_CMD_PAGE_POOL_STATS_GET = 9, + NETDEV_CMD_QUEUE_GET = 10, + NETDEV_CMD_NAPI_GET = 11, + NETDEV_CMD_QSTATS_GET = 12, + NETDEV_CMD_BIND_RX = 13, + NETDEV_CMD_NAPI_SET = 14, + __NETDEV_CMD_MAX = 15, + NETDEV_CMD_MAX = 14, }; enum { NETDEV_NLGRP_MGMT = 0, + NETDEV_NLGRP_PAGE_POOL = 1, }; enum { @@ -2867,8 +3202,8 @@ enum { NETIF_F_HW_VLAN_CTAG_FILTER_BIT = 9, NETIF_F_VLAN_CHALLENGED_BIT = 10, NETIF_F_GSO_BIT = 11, - NETIF_F_LLTX_BIT = 12, - NETIF_F_NETNS_LOCAL_BIT = 13, + __UNUSED_NETIF_F_12 = 12, + __UNUSED_NETIF_F_13 = 13, NETIF_F_GRO_BIT = 14, NETIF_F_LRO_BIT = 15, NETIF_F_GSO_SHIFT = 16, @@ -2894,7 +3229,7 @@ enum { NETIF_F_GSO_LAST = 34, NETIF_F_FCOE_CRC_BIT = 35, NETIF_F_SCTP_CRC_BIT = 36, - NETIF_F_FCOE_MTU_BIT = 37, + __UNUSED_NETIF_F_37 = 37, NETIF_F_NTUPLE_BIT = 38, NETIF_F_RXHASH_BIT = 39, NETIF_F_RXCSUM_BIT = 40, @@ -2997,6 +3332,20 @@ enum { NFPROTO_NUMPROTO = 11, }; +enum { + NHA_GROUP_STATS_ENTRY_UNSPEC = 0, + NHA_GROUP_STATS_ENTRY_ID = 1, + NHA_GROUP_STATS_ENTRY_PACKETS = 2, + NHA_GROUP_STATS_ENTRY_PACKETS_HW = 3, + __NHA_GROUP_STATS_ENTRY_MAX = 4, +}; + +enum { + NHA_GROUP_STATS_UNSPEC = 0, + NHA_GROUP_STATS_ENTRY = 1, + __NHA_GROUP_STATS_MAX = 2, +}; + enum { NHA_RES_BUCKET_UNSPEC = 0, NHA_RES_BUCKET_PAD = 0, @@ -3031,7 +3380,11 @@ enum { NHA_FDB = 11, NHA_RES_GROUP = 12, NHA_RES_BUCKET = 13, - __NHA_MAX = 14, + NHA_OP_FLAGS = 14, + NHA_GROUP_STATS = 15, + NHA_HW_STATS_ENABLE = 16, + NHA_HW_STATS_USED = 17, + __NHA_MAX = 18, }; enum { @@ -3055,7 +3408,9 @@ enum { NLA_REJECT = 17, NLA_BE16 = 18, NLA_BE32 = 19, - __NLA_TYPE_MAX = 20, + NLA_SINT = 20, + NLA_UINT = 21, + __NLA_TYPE_MAX = 22, }; enum { @@ -3064,14 +3419,19 @@ enum { }; enum { - OPT_MODE = 0, + OPT_UID = 0, + OPT_GID = 1, + OPT_MODE = 2, + OPT_DELEGATE_CMDS = 3, + OPT_DELEGATE_MAPS = 4, + OPT_DELEGATE_PROGS = 5, + OPT_DELEGATE_ATTACHS = 6, }; enum { Opt_uid = 0, Opt_gid = 1, Opt_mode = 2, - Opt_err = 3, }; enum { @@ -3122,29 +3482,6 @@ enum { POOL_EARLY_BITS = 128, }; -enum { - POOL_MANAGER_ACTIVE = 1, - POOL_DISASSOCIATED = 4, - WORKER_DIE = 2, - WORKER_IDLE = 4, - WORKER_PREP = 8, - WORKER_CPU_INTENSIVE = 64, - WORKER_UNBOUND = 128, - WORKER_REBOUND = 256, - WORKER_NOT_RUNNING = 456, - NR_STD_WORKER_POOLS = 2, - UNBOUND_POOL_HASH_ORDER = 6, - BUSY_WORKER_HASH_ORDER = 6, - MAX_IDLE_WORKERS_RATIO = 4, - IDLE_WORKER_TIMEOUT = 75000, - MAYDAY_INITIAL_TIMEOUT = 2, - MAYDAY_INTERVAL = 25, - CREATE_COOLDOWN = 250, - RESCUER_NICE_LEVEL = -20, - HIGHPRI_NICE_LEVEL = -20, - WQ_NAME_LEN = 24, -}; - enum { PREFIX_UNSPEC = 0, PREFIX_ADDRESS = 1, @@ -3203,12 +3540,6 @@ enum { REGION_MIXED = 2, }; -enum { - REG_OP_ISFREE = 0, - REG_OP_ALLOC = 1, - REG_OP_RELEASE = 2, -}; - enum { REQ_F_FIXED_FILE_BIT = 0, REQ_F_IO_DRAIN_BIT = 1, @@ -3224,23 +3555,29 @@ enum { REQ_F_LINK_TIMEOUT_BIT = 12, REQ_F_NEED_CLEANUP_BIT = 13, REQ_F_POLLED_BIT = 14, - REQ_F_BUFFER_SELECTED_BIT = 15, - REQ_F_BUFFER_RING_BIT = 16, - REQ_F_REISSUE_BIT = 17, - REQ_F_CREDS_BIT = 18, - REQ_F_REFCOUNT_BIT = 19, - REQ_F_ARM_LTIMEOUT_BIT = 20, - REQ_F_ASYNC_DATA_BIT = 21, - REQ_F_SKIP_LINK_CQES_BIT = 22, - REQ_F_SINGLE_POLL_BIT = 23, - REQ_F_DOUBLE_POLL_BIT = 24, - REQ_F_PARTIAL_IO_BIT = 25, + REQ_F_HYBRID_IOPOLL_STATE_BIT = 15, + REQ_F_BUFFER_SELECTED_BIT = 16, + REQ_F_BUFFER_RING_BIT = 17, + REQ_F_REISSUE_BIT = 18, + REQ_F_CREDS_BIT = 19, + REQ_F_REFCOUNT_BIT = 20, + REQ_F_ARM_LTIMEOUT_BIT = 21, + REQ_F_ASYNC_DATA_BIT = 22, + REQ_F_SKIP_LINK_CQES_BIT = 23, + REQ_F_SINGLE_POLL_BIT = 24, + REQ_F_DOUBLE_POLL_BIT = 25, REQ_F_APOLL_MULTISHOT_BIT = 26, REQ_F_CLEAR_POLLIN_BIT = 27, - REQ_F_HASH_LOCKED_BIT = 28, - REQ_F_SUPPORT_NOWAIT_BIT = 29, - REQ_F_ISREG_BIT = 30, - __REQ_F_LAST_BIT = 31, + REQ_F_SUPPORT_NOWAIT_BIT = 28, + REQ_F_ISREG_BIT = 29, + REQ_F_POLL_NO_LAZY_BIT = 30, + REQ_F_CAN_POLL_BIT = 31, + REQ_F_BL_EMPTY_BIT = 32, + REQ_F_BL_NO_RECYCLE_BIT = 33, + REQ_F_BUFFERS_COMMIT_BIT = 34, + REQ_F_BUF_NODE_BIT = 35, + REQ_F_HAS_METADATA_BIT = 36, + __REQ_F_LAST_BIT = 37, }; enum { @@ -3296,7 +3633,11 @@ enum { RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, + RTM_NEWMULTICAST = 56, + RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, + RTM_NEWANYCAST = 60, + RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -3445,6 +3786,136 @@ enum { __SEG6_CMD_MAX = 5, }; +enum { + SFF8024_ID_UNK = 0, + SFF8024_ID_SFF_8472 = 2, + SFF8024_ID_SFP = 3, + SFF8024_ID_DWDM_SFP = 11, + SFF8024_ID_QSFP_8438 = 12, + SFF8024_ID_QSFP_8436_8636 = 13, + SFF8024_ID_QSFP28_8636 = 17, + SFF8024_ID_QSFP_DD = 24, + SFF8024_ID_OSFP = 25, + SFF8024_ID_DSFP = 27, + SFF8024_ID_QSFP_PLUS_CMIS = 30, + SFF8024_ID_SFP_DD_CMIS = 31, + SFF8024_ID_SFP_PLUS_CMIS = 32, + SFF8024_ENCODING_UNSPEC = 0, + SFF8024_ENCODING_8B10B = 1, + SFF8024_ENCODING_4B5B = 2, + SFF8024_ENCODING_NRZ = 3, + SFF8024_ENCODING_8472_MANCHESTER = 4, + SFF8024_ENCODING_8472_SONET = 5, + SFF8024_ENCODING_8472_64B66B = 6, + SFF8024_ENCODING_8436_MANCHESTER = 6, + SFF8024_ENCODING_8436_SONET = 4, + SFF8024_ENCODING_8436_64B66B = 5, + SFF8024_ENCODING_256B257B = 7, + SFF8024_ENCODING_PAM4 = 8, + SFF8024_CONNECTOR_UNSPEC = 0, + SFF8024_CONNECTOR_SC = 1, + SFF8024_CONNECTOR_FIBERJACK = 6, + SFF8024_CONNECTOR_LC = 7, + SFF8024_CONNECTOR_MT_RJ = 8, + SFF8024_CONNECTOR_MU = 9, + SFF8024_CONNECTOR_SG = 10, + SFF8024_CONNECTOR_OPTICAL_PIGTAIL = 11, + SFF8024_CONNECTOR_MPO_1X12 = 12, + SFF8024_CONNECTOR_MPO_2X16 = 13, + SFF8024_CONNECTOR_HSSDC_II = 32, + SFF8024_CONNECTOR_COPPER_PIGTAIL = 33, + SFF8024_CONNECTOR_RJ45 = 34, + SFF8024_CONNECTOR_NOSEPARATE = 35, + SFF8024_CONNECTOR_MXC_2X16 = 36, + SFF8024_ECC_UNSPEC = 0, + SFF8024_ECC_100G_25GAUI_C2M_AOC = 1, + SFF8024_ECC_100GBASE_SR4_25GBASE_SR = 2, + SFF8024_ECC_100GBASE_LR4_25GBASE_LR = 3, + SFF8024_ECC_100GBASE_ER4_25GBASE_ER = 4, + SFF8024_ECC_100GBASE_SR10 = 5, + SFF8024_ECC_100GBASE_CR4 = 11, + SFF8024_ECC_25GBASE_CR_S = 12, + SFF8024_ECC_25GBASE_CR_N = 13, + SFF8024_ECC_10GBASE_T_SFI = 22, + SFF8024_ECC_10GBASE_T_SR = 28, + SFF8024_ECC_5GBASE_T = 29, + SFF8024_ECC_2_5GBASE_T = 30, +}; + +enum { + SFP_PHYS_ID = 0, + SFP_PHYS_EXT_ID = 1, + SFP_PHYS_EXT_ID_SFP = 4, + SFP_CONNECTOR = 2, + SFP_COMPLIANCE = 3, + SFP_ENCODING = 11, + SFP_BR_NOMINAL = 12, + SFP_RATE_ID = 13, + SFF_RID_8079 = 1, + SFF_RID_8431_RX_ONLY = 2, + SFF_RID_8431_TX_ONLY = 4, + SFF_RID_8431 = 6, + SFF_RID_10G8G = 14, + SFP_LINK_LEN_SM_KM = 14, + SFP_LINK_LEN_SM_100M = 15, + SFP_LINK_LEN_50UM_OM2_10M = 16, + SFP_LINK_LEN_62_5UM_OM1_10M = 17, + SFP_LINK_LEN_COPPER_1M = 18, + SFP_LINK_LEN_50UM_OM4_10M = 18, + SFP_LINK_LEN_50UM_OM3_10M = 19, + SFP_VENDOR_NAME = 20, + SFP_VENDOR_OUI = 37, + SFP_VENDOR_PN = 40, + SFP_VENDOR_REV = 56, + SFP_OPTICAL_WAVELENGTH_MSB = 60, + SFP_OPTICAL_WAVELENGTH_LSB = 61, + SFP_CABLE_SPEC = 60, + SFP_CC_BASE = 63, + SFP_OPTIONS = 64, + SFP_OPTIONS_HIGH_POWER_LEVEL = 8192, + SFP_OPTIONS_PAGING_A2 = 4096, + SFP_OPTIONS_RETIMER = 2048, + SFP_OPTIONS_COOLED_XCVR = 1024, + SFP_OPTIONS_POWER_DECL = 512, + SFP_OPTIONS_RX_LINEAR_OUT = 256, + SFP_OPTIONS_RX_DECISION_THRESH = 128, + SFP_OPTIONS_TUNABLE_TX = 64, + SFP_OPTIONS_RATE_SELECT = 32, + SFP_OPTIONS_TX_DISABLE = 16, + SFP_OPTIONS_TX_FAULT = 8, + SFP_OPTIONS_LOS_INVERTED = 4, + SFP_OPTIONS_LOS_NORMAL = 2, + SFP_BR_MAX = 66, + SFP_BR_MIN = 67, + SFP_VENDOR_SN = 68, + SFP_DATECODE = 84, + SFP_DIAGMON = 92, + SFP_DIAGMON_DDM = 64, + SFP_DIAGMON_INT_CAL = 32, + SFP_DIAGMON_EXT_CAL = 16, + SFP_DIAGMON_RXPWR_AVG = 8, + SFP_DIAGMON_ADDRMODE = 4, + SFP_ENHOPTS = 93, + SFP_ENHOPTS_ALARMWARN = 128, + SFP_ENHOPTS_SOFT_TX_DISABLE = 64, + SFP_ENHOPTS_SOFT_TX_FAULT = 32, + SFP_ENHOPTS_SOFT_RX_LOS = 16, + SFP_ENHOPTS_SOFT_RATE_SELECT = 8, + SFP_ENHOPTS_APP_SELECT_SFF8079 = 4, + SFP_ENHOPTS_SOFT_RATE_SFF8431 = 2, + SFP_SFF8472_COMPLIANCE = 94, + SFP_SFF8472_COMPLIANCE_NONE = 0, + SFP_SFF8472_COMPLIANCE_REV9_3 = 1, + SFP_SFF8472_COMPLIANCE_REV9_5 = 2, + SFP_SFF8472_COMPLIANCE_REV10_2 = 3, + SFP_SFF8472_COMPLIANCE_REV10_4 = 4, + SFP_SFF8472_COMPLIANCE_REV11_0 = 5, + SFP_SFF8472_COMPLIANCE_REV11_3 = 6, + SFP_SFF8472_COMPLIANCE_REV11_4 = 7, + SFP_SFF8472_COMPLIANCE_REV12_0 = 8, + SFP_CC_EXT = 95, +}; + enum { SKBFL_ZEROCOPY_ENABLE = 1, SKBFL_SHARED_FRAG = 2, @@ -3549,8 +4020,9 @@ enum { SOF_TIMESTAMPING_OPT_TX_SWHW = 16384, SOF_TIMESTAMPING_BIND_PHC = 32768, SOF_TIMESTAMPING_OPT_ID_TCP = 65536, - SOF_TIMESTAMPING_LAST = 65536, - SOF_TIMESTAMPING_MASK = 131071, + SOF_TIMESTAMPING_OPT_RX_FILTER = 131072, + SOF_TIMESTAMPING_LAST = 131072, + SOF_TIMESTAMPING_MASK = 262143, }; enum { @@ -3567,7 +4039,6 @@ enum { SWP_PAGE_DISCARD = 1024, SWP_STABLE_WRITES = 2048, SWP_SYNCHRONOUS_IO = 4096, - SWP_SCANNING = 16384, }; enum { @@ -3595,6 +4066,16 @@ enum { TASK_COMM_LEN = 16, }; +enum { + TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT = 1, + TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST = 2, + TCA_FLOWER_KEY_FLAGS_TUNNEL_CSUM = 4, + TCA_FLOWER_KEY_FLAGS_TUNNEL_DONT_FRAGMENT = 8, + TCA_FLOWER_KEY_FLAGS_TUNNEL_OAM = 16, + TCA_FLOWER_KEY_FLAGS_TUNNEL_CRIT_OPT = 32, + __TCA_FLOWER_KEY_FLAGS_MAX = 33, +}; + enum { TCA_STATS_UNSPEC = 0, TCA_STATS_BASIC = 1, @@ -3642,6 +4123,7 @@ enum { TCPF_LISTEN = 1024, TCPF_CLOSING = 2048, TCPF_NEW_SYN_RECV = 4096, + TCPF_BOUND_INACTIVE = 8192, }; enum { @@ -3666,6 +4148,7 @@ enum { TCP_BPF_SYN = 1005, TCP_BPF_SYN_IP = 1006, TCP_BPF_SYN_MAC = 1007, + TCP_BPF_SOCK_OPS_CB_FLAGS = 1008, }; enum { @@ -3686,7 +4169,8 @@ enum { TCP_LISTEN = 10, TCP_CLOSING = 11, TCP_NEW_SYN_RECV = 12, - TCP_MAX_STATES = 13, + TCP_BOUND_INACTIVE = 13, + TCP_MAX_STATES = 14, }; enum { @@ -3809,78 +4293,85 @@ enum { TP_ERR_NON_UNIQ_SYMBOL = 10, TP_ERR_BAD_RETPROBE = 11, TP_ERR_NO_TRACEPOINT = 12, - TP_ERR_BAD_ADDR_SUFFIX = 13, - TP_ERR_NO_GROUP_NAME = 14, - TP_ERR_GROUP_TOO_LONG = 15, - TP_ERR_BAD_GROUP_NAME = 16, - TP_ERR_NO_EVENT_NAME = 17, - TP_ERR_EVENT_TOO_LONG = 18, - TP_ERR_BAD_EVENT_NAME = 19, - TP_ERR_EVENT_EXIST = 20, - TP_ERR_RETVAL_ON_PROBE = 21, - TP_ERR_NO_RETVAL = 22, - TP_ERR_BAD_STACK_NUM = 23, - TP_ERR_BAD_ARG_NUM = 24, - TP_ERR_BAD_VAR = 25, - TP_ERR_BAD_REG_NAME = 26, - TP_ERR_BAD_MEM_ADDR = 27, - TP_ERR_BAD_IMM = 28, - TP_ERR_IMMSTR_NO_CLOSE = 29, - TP_ERR_FILE_ON_KPROBE = 30, - TP_ERR_BAD_FILE_OFFS = 31, - TP_ERR_SYM_ON_UPROBE = 32, - TP_ERR_TOO_MANY_OPS = 33, - TP_ERR_DEREF_NEED_BRACE = 34, - TP_ERR_BAD_DEREF_OFFS = 35, - TP_ERR_DEREF_OPEN_BRACE = 36, - TP_ERR_COMM_CANT_DEREF = 37, - TP_ERR_BAD_FETCH_ARG = 38, - TP_ERR_ARRAY_NO_CLOSE = 39, - TP_ERR_BAD_ARRAY_SUFFIX = 40, - TP_ERR_BAD_ARRAY_NUM = 41, - TP_ERR_ARRAY_TOO_BIG = 42, - TP_ERR_BAD_TYPE = 43, - TP_ERR_BAD_STRING = 44, - TP_ERR_BAD_SYMSTRING = 45, - TP_ERR_BAD_BITFIELD = 46, - TP_ERR_ARG_NAME_TOO_LONG = 47, - TP_ERR_NO_ARG_NAME = 48, - TP_ERR_BAD_ARG_NAME = 49, - TP_ERR_USED_ARG_NAME = 50, - TP_ERR_ARG_TOO_LONG = 51, - TP_ERR_NO_ARG_BODY = 52, - TP_ERR_BAD_INSN_BNDRY = 53, - TP_ERR_FAIL_REG_PROBE = 54, - TP_ERR_DIFF_PROBE_TYPE = 55, - TP_ERR_DIFF_ARG_TYPE = 56, - TP_ERR_SAME_PROBE = 57, - TP_ERR_NO_EVENT_INFO = 58, - TP_ERR_BAD_ATTACH_EVENT = 59, - TP_ERR_BAD_ATTACH_ARG = 60, - TP_ERR_NO_EP_FILTER = 61, - TP_ERR_NOSUP_BTFARG = 62, - TP_ERR_NO_BTFARG = 63, - TP_ERR_NO_BTF_ENTRY = 64, - TP_ERR_BAD_VAR_ARGS = 65, - TP_ERR_NOFENTRY_ARGS = 66, - TP_ERR_DOUBLE_ARGS = 67, - TP_ERR_ARGS_2LONG = 68, - TP_ERR_ARGIDX_2BIG = 69, - TP_ERR_NO_PTR_STRCT = 70, - TP_ERR_NOSUP_DAT_ARG = 71, - TP_ERR_BAD_HYPHEN = 72, - TP_ERR_NO_BTF_FIELD = 73, - TP_ERR_BAD_BTF_TID = 74, - TP_ERR_BAD_TYPE4STR = 75, + TP_ERR_BAD_TP_NAME = 13, + TP_ERR_BAD_ADDR_SUFFIX = 14, + TP_ERR_NO_GROUP_NAME = 15, + TP_ERR_GROUP_TOO_LONG = 16, + TP_ERR_BAD_GROUP_NAME = 17, + TP_ERR_NO_EVENT_NAME = 18, + TP_ERR_EVENT_TOO_LONG = 19, + TP_ERR_BAD_EVENT_NAME = 20, + TP_ERR_EVENT_EXIST = 21, + TP_ERR_RETVAL_ON_PROBE = 22, + TP_ERR_NO_RETVAL = 23, + TP_ERR_BAD_STACK_NUM = 24, + TP_ERR_BAD_ARG_NUM = 25, + TP_ERR_BAD_VAR = 26, + TP_ERR_BAD_REG_NAME = 27, + TP_ERR_BAD_MEM_ADDR = 28, + TP_ERR_BAD_IMM = 29, + TP_ERR_IMMSTR_NO_CLOSE = 30, + TP_ERR_FILE_ON_KPROBE = 31, + TP_ERR_BAD_FILE_OFFS = 32, + TP_ERR_SYM_ON_UPROBE = 33, + TP_ERR_TOO_MANY_OPS = 34, + TP_ERR_DEREF_NEED_BRACE = 35, + TP_ERR_BAD_DEREF_OFFS = 36, + TP_ERR_DEREF_OPEN_BRACE = 37, + TP_ERR_COMM_CANT_DEREF = 38, + TP_ERR_BAD_FETCH_ARG = 39, + TP_ERR_ARRAY_NO_CLOSE = 40, + TP_ERR_BAD_ARRAY_SUFFIX = 41, + TP_ERR_BAD_ARRAY_NUM = 42, + TP_ERR_ARRAY_TOO_BIG = 43, + TP_ERR_BAD_TYPE = 44, + TP_ERR_BAD_STRING = 45, + TP_ERR_BAD_SYMSTRING = 46, + TP_ERR_BAD_BITFIELD = 47, + TP_ERR_ARG_NAME_TOO_LONG = 48, + TP_ERR_NO_ARG_NAME = 49, + TP_ERR_BAD_ARG_NAME = 50, + TP_ERR_USED_ARG_NAME = 51, + TP_ERR_ARG_TOO_LONG = 52, + TP_ERR_NO_ARG_BODY = 53, + TP_ERR_BAD_INSN_BNDRY = 54, + TP_ERR_FAIL_REG_PROBE = 55, + TP_ERR_DIFF_PROBE_TYPE = 56, + TP_ERR_DIFF_ARG_TYPE = 57, + TP_ERR_SAME_PROBE = 58, + TP_ERR_NO_EVENT_INFO = 59, + TP_ERR_BAD_ATTACH_EVENT = 60, + TP_ERR_BAD_ATTACH_ARG = 61, + TP_ERR_NO_EP_FILTER = 62, + TP_ERR_NOSUP_BTFARG = 63, + TP_ERR_NO_BTFARG = 64, + TP_ERR_NO_BTF_ENTRY = 65, + TP_ERR_BAD_VAR_ARGS = 66, + TP_ERR_NOFENTRY_ARGS = 67, + TP_ERR_DOUBLE_ARGS = 68, + TP_ERR_ARGS_2LONG = 69, + TP_ERR_ARGIDX_2BIG = 70, + TP_ERR_NO_PTR_STRCT = 71, + TP_ERR_NOSUP_DAT_ARG = 72, + TP_ERR_BAD_HYPHEN = 73, + TP_ERR_NO_BTF_FIELD = 74, + TP_ERR_BAD_BTF_TID = 75, + TP_ERR_BAD_TYPE4STR = 76, + TP_ERR_NEED_STRING_TYPE = 77, + TP_ERR_TOO_MANY_EARGS = 78, }; enum { TRACEFS_EVENT_INODE = 2, - TRACEFS_EVENT_TOP_INODE = 4, + TRACEFS_GID_PERM_SET = 4, + TRACEFS_UID_PERM_SET = 8, + TRACEFS_INSTANCE_INODE = 16, }; enum { TRACE_ARRAY_FL_GLOBAL = 1, + TRACE_ARRAY_FL_BOOT = 2, + TRACE_ARRAY_FL_MOD_INIT = 4, }; enum { @@ -3892,31 +4383,31 @@ enum { }; enum { - TRACE_EVENT_FL_FILTERED = 1, - TRACE_EVENT_FL_CAP_ANY = 2, - TRACE_EVENT_FL_NO_SET_FILTER = 4, - TRACE_EVENT_FL_IGNORE_ENABLE = 8, - TRACE_EVENT_FL_TRACEPOINT = 16, - TRACE_EVENT_FL_DYNAMIC = 32, - TRACE_EVENT_FL_KPROBE = 64, - TRACE_EVENT_FL_UPROBE = 128, - TRACE_EVENT_FL_EPROBE = 256, - TRACE_EVENT_FL_FPROBE = 512, - TRACE_EVENT_FL_CUSTOM = 1024, + TRACE_EVENT_FL_CAP_ANY = 1, + TRACE_EVENT_FL_NO_SET_FILTER = 2, + TRACE_EVENT_FL_IGNORE_ENABLE = 4, + TRACE_EVENT_FL_TRACEPOINT = 8, + TRACE_EVENT_FL_DYNAMIC = 16, + TRACE_EVENT_FL_KPROBE = 32, + TRACE_EVENT_FL_UPROBE = 64, + TRACE_EVENT_FL_EPROBE = 128, + TRACE_EVENT_FL_FPROBE = 256, + TRACE_EVENT_FL_CUSTOM = 512, + TRACE_EVENT_FL_TEST_STR = 1024, }; enum { - TRACE_EVENT_FL_FILTERED_BIT = 0, - TRACE_EVENT_FL_CAP_ANY_BIT = 1, - TRACE_EVENT_FL_NO_SET_FILTER_BIT = 2, - TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 3, - TRACE_EVENT_FL_TRACEPOINT_BIT = 4, - TRACE_EVENT_FL_DYNAMIC_BIT = 5, - TRACE_EVENT_FL_KPROBE_BIT = 6, - TRACE_EVENT_FL_UPROBE_BIT = 7, - TRACE_EVENT_FL_EPROBE_BIT = 8, - TRACE_EVENT_FL_FPROBE_BIT = 9, - TRACE_EVENT_FL_CUSTOM_BIT = 10, + TRACE_EVENT_FL_CAP_ANY_BIT = 0, + TRACE_EVENT_FL_NO_SET_FILTER_BIT = 1, + TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 2, + TRACE_EVENT_FL_TRACEPOINT_BIT = 3, + TRACE_EVENT_FL_DYNAMIC_BIT = 4, + TRACE_EVENT_FL_KPROBE_BIT = 5, + TRACE_EVENT_FL_UPROBE_BIT = 6, + TRACE_EVENT_FL_EPROBE_BIT = 7, + TRACE_EVENT_FL_FPROBE_BIT = 8, + TRACE_EVENT_FL_CUSTOM_BIT = 9, + TRACE_EVENT_FL_TEST_STR_BIT = 10, }; enum { @@ -3932,11 +4423,7 @@ enum { TRACE_INTERNAL_TRANSITION_BIT = 9, TRACE_BRANCH_BIT = 10, TRACE_IRQ_BIT = 11, - TRACE_GRAPH_BIT = 12, - TRACE_GRAPH_DEPTH_START_BIT = 13, - TRACE_GRAPH_DEPTH_END_BIT = 14, - TRACE_GRAPH_NOTRACE_BIT = 15, - TRACE_RECORD_RECURSION_BIT = 16, + TRACE_RECORD_RECURSION_BIT = 12, }; enum { @@ -3946,6 +4433,13 @@ enum { TRACE_FUNC_OPT_HIGHEST_BIT = 4, }; +enum { + TRACE_GRAPH_FL = 1, + TRACE_GRAPH_DEPTH_START_BIT = 2, + TRACE_GRAPH_DEPTH_END_BIT = 3, + TRACE_GRAPH_NOTRACE_BIT = 4, +}; + enum { TRACE_NOP_OPT_ACCEPT = 1, TRACE_NOP_OPT_REFUSE = 2, @@ -3970,6 +4464,18 @@ enum { UDP_BPF_NUM_PROTS = 2, }; +enum { + UDP_FLAGS_CORK = 0, + UDP_FLAGS_NO_CHECK6_TX = 1, + UDP_FLAGS_NO_CHECK6_RX = 2, + UDP_FLAGS_GRO_ENABLED = 3, + UDP_FLAGS_ACCEPT_FRAGLIST = 4, + UDP_FLAGS_ACCEPT_L4 = 5, + UDP_FLAGS_ENCAP_ENABLED = 6, + UDP_FLAGS_UDPLITE_SEND_CC = 7, + UDP_FLAGS_UDPLITE_RECV_CC = 8, +}; + enum { UDP_MIB_NUM = 0, UDP_MIB_INDATAGRAMS = 1, @@ -4004,50 +4510,6 @@ enum { WALK_NOFOLLOW = 4, }; -enum { - WORK_STRUCT_PENDING_BIT = 0, - WORK_STRUCT_INACTIVE_BIT = 1, - WORK_STRUCT_PWQ_BIT = 2, - WORK_STRUCT_LINKED_BIT = 3, - WORK_STRUCT_COLOR_SHIFT = 4, - WORK_STRUCT_COLOR_BITS = 4, - WORK_STRUCT_PENDING = 1, - WORK_STRUCT_INACTIVE = 2, - WORK_STRUCT_PWQ = 4, - WORK_STRUCT_LINKED = 8, - WORK_STRUCT_STATIC = 0, - WORK_NR_COLORS = 16, - WORK_CPU_UNBOUND = 1, - WORK_STRUCT_FLAG_BITS = 8, - WORK_OFFQ_FLAG_BASE = 4, - __WORK_OFFQ_CANCELING = 4, - WORK_OFFQ_FLAG_BITS = 1, - WORK_OFFQ_POOL_SHIFT = 5, - WORK_OFFQ_LEFT = 59, - WORK_OFFQ_POOL_BITS = 31, - WORK_BUSY_PENDING = 1, - WORK_BUSY_RUNNING = 2, - WORKER_DESC_LEN = 24, -}; - -enum { - WQ_UNBOUND = 2, - WQ_FREEZABLE = 4, - WQ_MEM_RECLAIM = 8, - WQ_HIGHPRI = 16, - WQ_CPU_INTENSIVE = 32, - WQ_SYSFS = 64, - WQ_POWER_EFFICIENT = 128, - __WQ_DESTROYING = 32768, - __WQ_DRAINING = 65536, - __WQ_ORDERED = 131072, - __WQ_LEGACY = 262144, - __WQ_ORDERED_EXPLICIT = 524288, - WQ_MAX_ACTIVE = 512, - WQ_UNBOUND_MAX_ACTIVE = 512, - WQ_DFL_ACTIVE = 256, -}; - enum { XA_CHECK_SCHED = 4096, }; @@ -4060,12 +4522,6 @@ enum { XDP_ATTACHED_MULTI = 4, }; -enum { - XDP_METADATA_KFUNC_RX_TIMESTAMP = 0, - XDP_METADATA_KFUNC_RX_HASH = 1, - MAX_XDP_METADATA_KFUNC = 2, -}; - enum { XFRM_LOOKUP_ICMP = 1, XFRM_LOOKUP_QUEUE = 2, @@ -4130,7 +4586,6 @@ enum { _IRQ_NOREQUEST = 2048, _IRQ_NOTHREAD = 65536, _IRQ_NOAUTOEN = 4096, - _IRQ_MOVE_PCNTXT = 16384, _IRQ_NO_BALANCING = 8192, _IRQ_NESTED_THREAD = 32768, _IRQ_PER_CPU_DEVID = 131072, @@ -4138,7 +4593,7 @@ enum { _IRQ_DISABLE_UNLAZY = 524288, _IRQ_HIDDEN = 1048576, _IRQ_NO_DEBUG = 2097152, - _IRQF_MODIFY_MASK = 2096911, + _IRQF_MODIFY_MASK = 2080527, }; enum { @@ -4169,29 +4624,58 @@ enum { enum { __SCHED_FEAT_PLACE_LAG = 0, __SCHED_FEAT_PLACE_DEADLINE_INITIAL = 1, - __SCHED_FEAT_RUN_TO_PARITY = 2, - __SCHED_FEAT_NEXT_BUDDY = 3, - __SCHED_FEAT_CACHE_HOT_BUDDY = 4, - __SCHED_FEAT_WAKEUP_PREEMPTION = 5, - __SCHED_FEAT_HRTICK = 6, - __SCHED_FEAT_HRTICK_DL = 7, - __SCHED_FEAT_DOUBLE_TICK = 8, - __SCHED_FEAT_NONTASK_CAPACITY = 9, - __SCHED_FEAT_TTWU_QUEUE = 10, - __SCHED_FEAT_SIS_PROP = 11, - __SCHED_FEAT_SIS_UTIL = 12, - __SCHED_FEAT_WARN_DOUBLE_CLOCK = 13, - __SCHED_FEAT_RT_RUNTIME_SHARE = 14, - __SCHED_FEAT_LB_MIN = 15, - __SCHED_FEAT_ATTACH_AGE_LOAD = 16, - __SCHED_FEAT_WA_IDLE = 17, - __SCHED_FEAT_WA_WEIGHT = 18, - __SCHED_FEAT_WA_BIAS = 19, - __SCHED_FEAT_UTIL_EST = 20, - __SCHED_FEAT_UTIL_EST_FASTUP = 21, - __SCHED_FEAT_LATENCY_WARN = 22, - __SCHED_FEAT_HZ_BW = 23, - __SCHED_FEAT_NR = 24, + __SCHED_FEAT_PLACE_REL_DEADLINE = 2, + __SCHED_FEAT_RUN_TO_PARITY = 3, + __SCHED_FEAT_PREEMPT_SHORT = 4, + __SCHED_FEAT_NEXT_BUDDY = 5, + __SCHED_FEAT_PICK_BUDDY = 6, + __SCHED_FEAT_CACHE_HOT_BUDDY = 7, + __SCHED_FEAT_DELAY_DEQUEUE = 8, + __SCHED_FEAT_DELAY_ZERO = 9, + __SCHED_FEAT_WAKEUP_PREEMPTION = 10, + __SCHED_FEAT_HRTICK = 11, + __SCHED_FEAT_HRTICK_DL = 12, + __SCHED_FEAT_NONTASK_CAPACITY = 13, + __SCHED_FEAT_TTWU_QUEUE = 14, + __SCHED_FEAT_SIS_UTIL = 15, + __SCHED_FEAT_WARN_DOUBLE_CLOCK = 16, + __SCHED_FEAT_RT_RUNTIME_SHARE = 17, + __SCHED_FEAT_LB_MIN = 18, + __SCHED_FEAT_ATTACH_AGE_LOAD = 19, + __SCHED_FEAT_WA_IDLE = 20, + __SCHED_FEAT_WA_WEIGHT = 21, + __SCHED_FEAT_WA_BIAS = 22, + __SCHED_FEAT_UTIL_EST = 23, + __SCHED_FEAT_LATENCY_WARN = 24, + __SCHED_FEAT_NR = 25, +}; + +enum { + ___GFP_DMA_BIT = 0, + ___GFP_HIGHMEM_BIT = 1, + ___GFP_DMA32_BIT = 2, + ___GFP_MOVABLE_BIT = 3, + ___GFP_RECLAIMABLE_BIT = 4, + ___GFP_HIGH_BIT = 5, + ___GFP_IO_BIT = 6, + ___GFP_FS_BIT = 7, + ___GFP_ZERO_BIT = 8, + ___GFP_UNUSED_BIT = 9, + ___GFP_DIRECT_RECLAIM_BIT = 10, + ___GFP_KSWAPD_RECLAIM_BIT = 11, + ___GFP_WRITE_BIT = 12, + ___GFP_NOWARN_BIT = 13, + ___GFP_RETRY_MAYFAIL_BIT = 14, + ___GFP_NOFAIL_BIT = 15, + ___GFP_NORETRY_BIT = 16, + ___GFP_MEMALLOC_BIT = 17, + ___GFP_COMP_BIT = 18, + ___GFP_NOMEMALLOC_BIT = 19, + ___GFP_HARDWALL_BIT = 20, + ___GFP_THISNODE_BIT = 21, + ___GFP_ACCOUNT_BIT = 22, + ___GFP_ZEROTAGS_BIT = 23, + ___GFP_LAST_BIT = 24, }; enum { @@ -4218,8 +4702,7 @@ enum { __ctx_convertBPF_PROG_TYPE_STRUCT_OPS = 20, __ctx_convertBPF_PROG_TYPE_EXT = 21, __ctx_convertBPF_PROG_TYPE_SYSCALL = 22, - __ctx_convertBPF_PROG_TYPE_NETFILTER = 23, - __ctx_convert_unused = 24, + __ctx_convert_unused = 23, }; enum { @@ -4290,7 +4773,8 @@ typedef enum { PHY_INTERFACE_MODE_10GKR = 30, PHY_INTERFACE_MODE_QUSGMII = 31, PHY_INTERFACE_MODE_1000BASEKX = 32, - PHY_INTERFACE_MODE_MAX = 33, + PHY_INTERFACE_MODE_10G_QXGMII = 33, + PHY_INTERFACE_MODE_MAX = 34, } phy_interface_t; typedef enum { @@ -4314,17 +4798,32 @@ enum __sk_action { __SK_NONE = 3, }; +enum _slab_flag_bits { + _SLAB_CONSISTENCY_CHECKS = 0, + _SLAB_RED_ZONE = 1, + _SLAB_POISON = 2, + _SLAB_KMALLOC = 3, + _SLAB_HWCACHE_ALIGN = 4, + _SLAB_CACHE_DMA = 5, + _SLAB_CACHE_DMA32 = 6, + _SLAB_STORE_USER = 7, + _SLAB_PANIC = 8, + _SLAB_TYPESAFE_BY_RCU = 9, + _SLAB_TRACE = 10, + _SLAB_NOLEAKTRACE = 11, + _SLAB_NO_MERGE = 12, + _SLAB_NO_USER_FLAGS = 13, + _SLAB_OBJECT_POISON = 14, + _SLAB_CMPXCHG_DOUBLE = 15, + _SLAB_FLAGS_LAST_BIT = 16, +}; + enum addr_type_t { UNICAST_ADDR = 0, MULTICAST_ADDR = 1, ANYCAST_ADDR = 2, }; -enum alarmtimer_restart { - ALARMTIMER_NORESTART = 0, - ALARMTIMER_RESTART = 1, -}; - enum alarmtimer_type { ALARM_REALTIME = 0, ALARM_BOOTTIME = 1, @@ -4384,10 +4883,12 @@ enum blake2s_lengths { BLAKE2S_256_HASH_SIZE = 32, }; -enum blk_bounce { - BLK_BOUNCE_NONE = 0, - BLK_BOUNCE_HIGH = 1, -}; +enum blk_integrity_checksum { + BLK_INTEGRITY_CSUM_NONE = 0, + BLK_INTEGRITY_CSUM_IP = 1, + BLK_INTEGRITY_CSUM_CRC = 2, + BLK_INTEGRITY_CSUM_CRC64 = 3, +} __attribute__((mode(byte))); enum blk_unique_id { BLK_UID_T10 = 1, @@ -4395,12 +4896,6 @@ enum blk_unique_id { BLK_UID_NAA = 3, }; -enum blk_zoned_model { - BLK_ZONED_NONE = 0, - BLK_ZONED_HA = 1, - BLK_ZONED_HM = 2, -}; - enum bpf_access_src { ACCESS_DIRECT = 1, ACCESS_HELPER = 2, @@ -4411,6 +4906,10 @@ enum bpf_access_type { BPF_WRITE = 2, }; +enum bpf_addr_space_cast { + BPF_ADDR_SPACE_CAST = 1, +}; + enum bpf_adj_room_mode { BPF_ADJ_ROOM_NET = 0, BPF_ADJ_ROOM_MAC = 1, @@ -4422,36 +4921,40 @@ enum bpf_arg_type { ARG_PTR_TO_MAP_KEY = 2, ARG_PTR_TO_MAP_VALUE = 3, ARG_PTR_TO_MEM = 4, - ARG_CONST_SIZE = 5, - ARG_CONST_SIZE_OR_ZERO = 6, - ARG_PTR_TO_CTX = 7, - ARG_ANYTHING = 8, - ARG_PTR_TO_SPIN_LOCK = 9, - ARG_PTR_TO_SOCK_COMMON = 10, - ARG_PTR_TO_INT = 11, - ARG_PTR_TO_LONG = 12, - ARG_PTR_TO_SOCKET = 13, - ARG_PTR_TO_BTF_ID = 14, - ARG_PTR_TO_RINGBUF_MEM = 15, - ARG_CONST_ALLOC_SIZE_OR_ZERO = 16, - ARG_PTR_TO_BTF_ID_SOCK_COMMON = 17, - ARG_PTR_TO_PERCPU_BTF_ID = 18, - ARG_PTR_TO_FUNC = 19, - ARG_PTR_TO_STACK = 20, - ARG_PTR_TO_CONST_STR = 21, - ARG_PTR_TO_TIMER = 22, - ARG_PTR_TO_KPTR = 23, - ARG_PTR_TO_DYNPTR = 24, - __BPF_ARG_TYPE_MAX = 25, + ARG_PTR_TO_ARENA = 5, + ARG_CONST_SIZE = 6, + ARG_CONST_SIZE_OR_ZERO = 7, + ARG_PTR_TO_CTX = 8, + ARG_ANYTHING = 9, + ARG_PTR_TO_SPIN_LOCK = 10, + ARG_PTR_TO_SOCK_COMMON = 11, + ARG_PTR_TO_SOCKET = 12, + ARG_PTR_TO_BTF_ID = 13, + ARG_PTR_TO_RINGBUF_MEM = 14, + ARG_CONST_ALLOC_SIZE_OR_ZERO = 15, + ARG_PTR_TO_BTF_ID_SOCK_COMMON = 16, + ARG_PTR_TO_PERCPU_BTF_ID = 17, + ARG_PTR_TO_FUNC = 18, + ARG_PTR_TO_STACK = 19, + ARG_PTR_TO_CONST_STR = 20, + ARG_PTR_TO_TIMER = 21, + ARG_KPTR_XCHG_DEST = 22, + ARG_PTR_TO_DYNPTR = 23, + __BPF_ARG_TYPE_MAX = 24, ARG_PTR_TO_MAP_VALUE_OR_NULL = 259, ARG_PTR_TO_MEM_OR_NULL = 260, - ARG_PTR_TO_CTX_OR_NULL = 263, - ARG_PTR_TO_SOCKET_OR_NULL = 269, - ARG_PTR_TO_STACK_OR_NULL = 276, - ARG_PTR_TO_BTF_ID_OR_NULL = 270, - ARG_PTR_TO_UNINIT_MEM = 32772, + ARG_PTR_TO_CTX_OR_NULL = 264, + ARG_PTR_TO_SOCKET_OR_NULL = 268, + ARG_PTR_TO_STACK_OR_NULL = 275, + ARG_PTR_TO_BTF_ID_OR_NULL = 269, + ARG_PTR_TO_UNINIT_MEM = 67141636, ARG_PTR_TO_FIXED_SIZE_MEM = 262148, - __BPF_ARG_TYPE_LIMIT = 33554431, + __BPF_ARG_TYPE_LIMIT = 134217727, +}; + +enum bpf_async_type { + BPF_ASYNC_TYPE_TIMER = 0, + BPF_ASYNC_TYPE_WQ = 1, }; enum bpf_attach_type { @@ -4504,7 +5007,16 @@ enum bpf_attach_type { BPF_TCX_INGRESS = 46, BPF_TCX_EGRESS = 47, BPF_TRACE_UPROBE_MULTI = 48, - __MAX_BPF_ATTACH_TYPE = 49, + BPF_CGROUP_UNIX_CONNECT = 49, + BPF_CGROUP_UNIX_SENDMSG = 50, + BPF_CGROUP_UNIX_RECVMSG = 51, + BPF_CGROUP_UNIX_GETPEERNAME = 52, + BPF_CGROUP_UNIX_GETSOCKNAME = 53, + BPF_NETKIT_PRIMARY = 54, + BPF_NETKIT_PEER = 55, + BPF_TRACE_KPROBE_SESSION = 56, + BPF_TRACE_UPROBE_SESSION = 57, + __MAX_BPF_ATTACH_TYPE = 58, }; enum bpf_audit { @@ -4575,6 +5087,12 @@ enum bpf_cmd { BPF_ITER_CREATE = 33, BPF_LINK_DETACH = 34, BPF_PROG_BIND_MAP = 35, + BPF_TOKEN_CREATE = 36, + __MAX_BPF_CMD = 37, +}; + +enum bpf_cond_pseudo_jmp { + BPF_MAY_GOTO = 0, }; enum bpf_core_relo_kind { @@ -4842,6 +5360,10 @@ enum bpf_jit_poke_reason { BPF_POKE_REASON_TAIL_CALL = 0, }; +enum bpf_kfunc_flags { + BPF_F_PAD_ZEROS = 1, +}; + enum bpf_link_type { BPF_LINK_TYPE_UNSPEC = 0, BPF_LINK_TYPE_RAW_TRACEPOINT = 1, @@ -4856,7 +5378,9 @@ enum bpf_link_type { BPF_LINK_TYPE_NETFILTER = 10, BPF_LINK_TYPE_TCX = 11, BPF_LINK_TYPE_UPROBE_MULTI = 12, - MAX_BPF_LINK_TYPE = 13, + BPF_LINK_TYPE_NETKIT = 13, + BPF_LINK_TYPE_SOCKMAP = 14, + __MAX_BPF_LINK_TYPE = 15, }; enum bpf_lru_list_type { @@ -4890,6 +5414,7 @@ enum bpf_map_type { BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED = 19, BPF_MAP_TYPE_CGROUP_STORAGE = 19, BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 20, + BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE_DEPRECATED = 21, BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 21, BPF_MAP_TYPE_QUEUE = 22, BPF_MAP_TYPE_STACK = 23, @@ -4902,6 +5427,8 @@ enum bpf_map_type { BPF_MAP_TYPE_BLOOM_FILTER = 30, BPF_MAP_TYPE_USER_RINGBUF = 31, BPF_MAP_TYPE_CGRP_STORAGE = 32, + BPF_MAP_TYPE_ARENA = 33, + __MAX_BPF_MAP_TYPE = 34, }; enum bpf_netdev_command { @@ -4956,6 +5483,7 @@ enum bpf_prog_type { BPF_PROG_TYPE_SK_LOOKUP = 30, BPF_PROG_TYPE_SYSCALL = 31, BPF_PROG_TYPE_NETFILTER = 32, + __MAX_BPF_PROG_TYPE = 33, }; enum bpf_reg_liveness { @@ -4986,16 +5514,17 @@ enum bpf_reg_type { PTR_TO_XDP_SOCK = 15, PTR_TO_BTF_ID = 16, PTR_TO_MEM = 17, - PTR_TO_BUF = 18, - PTR_TO_FUNC = 19, - CONST_PTR_TO_DYNPTR = 20, - __BPF_REG_TYPE_MAX = 21, + PTR_TO_ARENA = 18, + PTR_TO_BUF = 19, + PTR_TO_FUNC = 20, + CONST_PTR_TO_DYNPTR = 21, + __BPF_REG_TYPE_MAX = 22, PTR_TO_MAP_VALUE_OR_NULL = 260, PTR_TO_SOCKET_OR_NULL = 267, PTR_TO_SOCK_COMMON_OR_NULL = 268, PTR_TO_TCP_SOCK_OR_NULL = 269, PTR_TO_BTF_ID_OR_NULL = 272, - __BPF_REG_TYPE_LIMIT = 33554431, + __BPF_REG_TYPE_LIMIT = 134217727, }; enum bpf_ret_code { @@ -5025,7 +5554,7 @@ enum bpf_return_type { RET_PTR_TO_DYNPTR_MEM_OR_NULL = 262, RET_PTR_TO_BTF_ID_OR_NULL = 264, RET_PTR_TO_BTF_ID_TRUSTED = 1048584, - __BPF_RET_TYPE_LIMIT = 33554431, + __BPF_RET_TYPE_LIMIT = 134217727, }; enum bpf_stack_build_id_status { @@ -5041,6 +5570,7 @@ enum bpf_stack_slot_type { STACK_ZERO = 3, STACK_DYNPTR = 4, STACK_ITER = 5, + STACK_IRQ_FLAG = 6, }; enum bpf_stats_type { @@ -5113,8 +5643,10 @@ enum bpf_type_flag { NON_OWN_REF = 4194304, DYNPTR_TYPE_SKB = 8388608, DYNPTR_TYPE_XDP = 16777216, - __BPF_TYPE_FLAG_MAX = 16777217, - __BPF_TYPE_LAST_FLAG = 16777216, + MEM_ALIGNED = 33554432, + MEM_WRITE = 67108864, + __BPF_TYPE_FLAG_MAX = 67108865, + __BPF_TYPE_LAST_FLAG = 67108864, }; enum bpf_xdp_mode { @@ -5124,18 +5656,35 @@ enum bpf_xdp_mode { __MAX_XDP_MODE = 3, }; +enum btf_arg_tag { + ARG_TAG_CTX = 1, + ARG_TAG_NONNULL = 2, + ARG_TAG_TRUSTED = 4, + ARG_TAG_NULLABLE = 8, + ARG_TAG_ARENA = 16, +}; + +enum btf_field_iter_kind { + BTF_FIELD_ITER_IDS = 0, + BTF_FIELD_ITER_STRS = 1, +}; + enum btf_field_type { BPF_SPIN_LOCK = 1, BPF_TIMER = 2, BPF_KPTR_UNREF = 4, BPF_KPTR_REF = 8, - BPF_KPTR = 12, - BPF_LIST_HEAD = 16, - BPF_LIST_NODE = 32, - BPF_RB_ROOT = 64, - BPF_RB_NODE = 128, - BPF_GRAPH_NODE_OR_ROOT = 240, - BPF_REFCOUNT = 256, + BPF_KPTR_PERCPU = 16, + BPF_KPTR = 28, + BPF_LIST_HEAD = 32, + BPF_LIST_NODE = 64, + BPF_RB_ROOT = 128, + BPF_RB_NODE = 256, + BPF_GRAPH_NODE = 320, + BPF_GRAPH_ROOT = 160, + BPF_REFCOUNT = 512, + BPF_WORKQUEUE = 1024, + BPF_UPTR = 2048, }; enum btf_func_linkage { @@ -5152,13 +5701,14 @@ enum btf_kfunc_hook { BTF_KFUNC_HOOK_TRACING = 4, BTF_KFUNC_HOOK_SYSCALL = 5, BTF_KFUNC_HOOK_FMODRET = 6, - BTF_KFUNC_HOOK_CGROUP_SKB = 7, + BTF_KFUNC_HOOK_CGROUP = 7, BTF_KFUNC_HOOK_SCHED_ACT = 8, BTF_KFUNC_HOOK_SK_SKB = 9, BTF_KFUNC_HOOK_SOCKET_FILTER = 10, BTF_KFUNC_HOOK_LWT = 11, BTF_KFUNC_HOOK_NETFILTER = 12, - BTF_KFUNC_HOOK_MAX = 13, + BTF_KFUNC_HOOK_KPROBE = 13, + BTF_KFUNC_HOOK_MAX = 14, }; enum bug_trap_type { @@ -5193,7 +5743,8 @@ enum cc_attr { CC_ATTR_GUEST_STATE_ENCRYPT = 3, CC_ATTR_GUEST_UNROLL_STRING_IO = 4, CC_ATTR_GUEST_SEV_SNP = 5, - CC_ATTR_HOTPLUG_DISABLED = 6, + CC_ATTR_GUEST_SNP_SECURE_TSC = 6, + CC_ATTR_HOST_SEV_SNP = 7, }; enum chacha_constants { @@ -5220,7 +5771,19 @@ enum clock_event_state { enum clocksource_ids { CSID_GENERIC = 0, CSID_ARM_ARCH_COUNTER = 1, - CSID_MAX = 2, + CSID_S390_TOD = 2, + CSID_X86_TSC_EARLY = 3, + CSID_X86_TSC = 4, + CSID_X86_KVM_CLK = 5, + CSID_X86_ART = 6, + CSID_MAX = 7, +}; + +enum cmis_cdb_fw_write_mechanism { + CMIS_CDB_FW_WRITE_MECHANISM_NONE = 0, + CMIS_CDB_FW_WRITE_MECHANISM_LPL = 1, + CMIS_CDB_FW_WRITE_MECHANISM_EPL = 16, + CMIS_CDB_FW_WRITE_MECHANISM_BOTH = 17, }; enum compact_priority { @@ -5264,6 +5827,7 @@ enum cons_flags { CON_BRL = 32, CON_EXTENDED = 64, CON_SUSPENDED = 128, + CON_NBCON = 256, }; enum cpio_fields { @@ -5320,195 +5884,194 @@ enum cpuhp_state { CPUHP_PERF_POWER = 5, CPUHP_PERF_SUPERH = 6, CPUHP_X86_HPET_DEAD = 7, - CPUHP_X86_APB_DEAD = 8, - CPUHP_X86_MCE_DEAD = 9, - CPUHP_VIRT_NET_DEAD = 10, - CPUHP_IBMVNIC_DEAD = 11, - CPUHP_SLUB_DEAD = 12, - CPUHP_DEBUG_OBJ_DEAD = 13, - CPUHP_MM_WRITEBACK_DEAD = 14, - CPUHP_MM_DEMOTION_DEAD = 15, - CPUHP_MM_VMSTAT_DEAD = 16, - CPUHP_SOFTIRQ_DEAD = 17, - CPUHP_NET_MVNETA_DEAD = 18, - CPUHP_CPUIDLE_DEAD = 19, - CPUHP_ARM64_FPSIMD_DEAD = 20, - CPUHP_ARM_OMAP_WAKE_DEAD = 21, - CPUHP_IRQ_POLL_DEAD = 22, - CPUHP_BLOCK_SOFTIRQ_DEAD = 23, - CPUHP_BIO_DEAD = 24, - CPUHP_ACPI_CPUDRV_DEAD = 25, - CPUHP_S390_PFAULT_DEAD = 26, - CPUHP_BLK_MQ_DEAD = 27, - CPUHP_FS_BUFF_DEAD = 28, - CPUHP_PRINTK_DEAD = 29, - CPUHP_MM_MEMCQ_DEAD = 30, - CPUHP_PERCPU_CNT_DEAD = 31, - CPUHP_RADIX_DEAD = 32, - CPUHP_PAGE_ALLOC = 33, - CPUHP_NET_DEV_DEAD = 34, - CPUHP_PCI_XGENE_DEAD = 35, - CPUHP_IOMMU_IOVA_DEAD = 36, - CPUHP_LUSTRE_CFS_DEAD = 37, - CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 38, - CPUHP_PADATA_DEAD = 39, - CPUHP_AP_DTPM_CPU_DEAD = 40, - CPUHP_RANDOM_PREPARE = 41, - CPUHP_WORKQUEUE_PREP = 42, - CPUHP_POWER_NUMA_PREPARE = 43, - CPUHP_HRTIMERS_PREPARE = 44, - CPUHP_PROFILE_PREPARE = 45, - CPUHP_X2APIC_PREPARE = 46, - CPUHP_SMPCFD_PREPARE = 47, - CPUHP_RELAY_PREPARE = 48, - CPUHP_SLAB_PREPARE = 49, - CPUHP_MD_RAID5_PREPARE = 50, - CPUHP_RCUTREE_PREP = 51, - CPUHP_CPUIDLE_COUPLED_PREPARE = 52, - CPUHP_POWERPC_PMAC_PREPARE = 53, - CPUHP_POWERPC_MMU_CTX_PREPARE = 54, - CPUHP_XEN_PREPARE = 55, - CPUHP_XEN_EVTCHN_PREPARE = 56, - CPUHP_ARM_SHMOBILE_SCU_PREPARE = 57, - CPUHP_SH_SH3X_PREPARE = 58, - CPUHP_NET_FLOW_PREPARE = 59, - CPUHP_TOPOLOGY_PREPARE = 60, - CPUHP_NET_IUCV_PREPARE = 61, - CPUHP_ARM_BL_PREPARE = 62, - CPUHP_TRACE_RB_PREPARE = 63, - CPUHP_MM_ZS_PREPARE = 64, - CPUHP_MM_ZSWP_MEM_PREPARE = 65, - CPUHP_MM_ZSWP_POOL_PREPARE = 66, - CPUHP_KVM_PPC_BOOK3S_PREPARE = 67, - CPUHP_ZCOMP_PREPARE = 68, - CPUHP_TIMERS_PREPARE = 69, - CPUHP_MIPS_SOC_PREPARE = 70, - CPUHP_BP_PREPARE_DYN = 71, - CPUHP_BP_PREPARE_DYN_END = 91, - CPUHP_BP_KICK_AP = 92, - CPUHP_BRINGUP_CPU = 93, - CPUHP_AP_IDLE_DEAD = 94, - CPUHP_AP_OFFLINE = 95, - CPUHP_AP_CACHECTRL_STARTING = 96, - CPUHP_AP_SCHED_STARTING = 97, - CPUHP_AP_RCUTREE_DYING = 98, - CPUHP_AP_CPU_PM_STARTING = 99, - CPUHP_AP_IRQ_GIC_STARTING = 100, - CPUHP_AP_IRQ_HIP04_STARTING = 101, - CPUHP_AP_IRQ_APPLE_AIC_STARTING = 102, - CPUHP_AP_IRQ_ARMADA_XP_STARTING = 103, - CPUHP_AP_IRQ_BCM2836_STARTING = 104, - CPUHP_AP_IRQ_MIPS_GIC_STARTING = 105, - CPUHP_AP_IRQ_RISCV_STARTING = 106, - CPUHP_AP_IRQ_LOONGARCH_STARTING = 107, - CPUHP_AP_IRQ_SIFIVE_PLIC_STARTING = 108, - CPUHP_AP_ARM_MVEBU_COHERENCY = 109, - CPUHP_AP_MICROCODE_LOADER = 110, - CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 111, - CPUHP_AP_PERF_X86_STARTING = 112, - CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 113, - CPUHP_AP_PERF_X86_CQM_STARTING = 114, - CPUHP_AP_PERF_X86_CSTATE_STARTING = 115, - CPUHP_AP_PERF_XTENSA_STARTING = 116, - CPUHP_AP_MIPS_OP_LOONGSON3_STARTING = 117, - CPUHP_AP_ARM_VFP_STARTING = 118, - CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 119, - CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 120, - CPUHP_AP_PERF_ARM_ACPI_STARTING = 121, - CPUHP_AP_PERF_ARM_STARTING = 122, - CPUHP_AP_PERF_RISCV_STARTING = 123, - CPUHP_AP_ARM_L2X0_STARTING = 124, - CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 125, - CPUHP_AP_ARM_ARCH_TIMER_STARTING = 126, - CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 127, - CPUHP_AP_JCORE_TIMER_STARTING = 128, - CPUHP_AP_ARM_TWD_STARTING = 129, - CPUHP_AP_QCOM_TIMER_STARTING = 130, - CPUHP_AP_TEGRA_TIMER_STARTING = 131, - CPUHP_AP_ARMADA_TIMER_STARTING = 132, - CPUHP_AP_MARCO_TIMER_STARTING = 133, - CPUHP_AP_MIPS_GIC_TIMER_STARTING = 134, - CPUHP_AP_ARC_TIMER_STARTING = 135, - CPUHP_AP_RISCV_TIMER_STARTING = 136, - CPUHP_AP_CLINT_TIMER_STARTING = 137, - CPUHP_AP_CSKY_TIMER_STARTING = 138, - CPUHP_AP_TI_GP_TIMER_STARTING = 139, - CPUHP_AP_HYPERV_TIMER_STARTING = 140, - CPUHP_AP_DUMMY_TIMER_STARTING = 141, - CPUHP_AP_ARM_XEN_STARTING = 142, - CPUHP_AP_ARM_CORESIGHT_STARTING = 143, - CPUHP_AP_ARM_CORESIGHT_CTI_STARTING = 144, - CPUHP_AP_ARM64_ISNDEP_STARTING = 145, - CPUHP_AP_SMPCFD_DYING = 146, - CPUHP_AP_X86_TBOOT_DYING = 147, - CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 148, - CPUHP_AP_ONLINE = 149, - CPUHP_TEARDOWN_CPU = 150, - CPUHP_AP_ONLINE_IDLE = 151, - CPUHP_AP_HYPERV_ONLINE = 152, - CPUHP_AP_KVM_ONLINE = 153, - CPUHP_AP_SCHED_WAIT_EMPTY = 154, - CPUHP_AP_SMPBOOT_THREADS = 155, - CPUHP_AP_X86_VDSO_VMA_ONLINE = 156, - CPUHP_AP_IRQ_AFFINITY_ONLINE = 157, - CPUHP_AP_BLK_MQ_ONLINE = 158, - CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 159, - CPUHP_AP_X86_INTEL_EPB_ONLINE = 160, - CPUHP_AP_PERF_ONLINE = 161, - CPUHP_AP_PERF_X86_ONLINE = 162, - CPUHP_AP_PERF_X86_UNCORE_ONLINE = 163, - CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 164, - CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 165, - CPUHP_AP_PERF_X86_RAPL_ONLINE = 166, - CPUHP_AP_PERF_X86_CQM_ONLINE = 167, - CPUHP_AP_PERF_X86_CSTATE_ONLINE = 168, - CPUHP_AP_PERF_X86_IDXD_ONLINE = 169, - CPUHP_AP_PERF_S390_CF_ONLINE = 170, - CPUHP_AP_PERF_S390_SF_ONLINE = 171, - CPUHP_AP_PERF_ARM_CCI_ONLINE = 172, - CPUHP_AP_PERF_ARM_CCN_ONLINE = 173, - CPUHP_AP_PERF_ARM_HISI_CPA_ONLINE = 174, - CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 175, - CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 176, - CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 177, - CPUHP_AP_PERF_ARM_HISI_PA_ONLINE = 178, - CPUHP_AP_PERF_ARM_HISI_SLLC_ONLINE = 179, - CPUHP_AP_PERF_ARM_HISI_PCIE_PMU_ONLINE = 180, - CPUHP_AP_PERF_ARM_HNS3_PMU_ONLINE = 181, - CPUHP_AP_PERF_ARM_L2X0_ONLINE = 182, - CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 183, - CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 184, - CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 185, - CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 186, - CPUHP_AP_PERF_ARM_MARVELL_CN10K_DDR_ONLINE = 187, - CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 188, - CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 189, - CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 190, - CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 191, - CPUHP_AP_PERF_POWERPC_HV_24x7_ONLINE = 192, - CPUHP_AP_PERF_POWERPC_HV_GPCI_ONLINE = 193, - CPUHP_AP_PERF_CSKY_ONLINE = 194, - CPUHP_AP_WATCHDOG_ONLINE = 195, - CPUHP_AP_WORKQUEUE_ONLINE = 196, - CPUHP_AP_RANDOM_ONLINE = 197, - CPUHP_AP_RCUTREE_ONLINE = 198, - CPUHP_AP_BASE_CACHEINFO_ONLINE = 199, - CPUHP_AP_ONLINE_DYN = 200, - CPUHP_AP_ONLINE_DYN_END = 230, - CPUHP_AP_MM_DEMOTION_ONLINE = 231, - CPUHP_AP_X86_HPET_ONLINE = 232, - CPUHP_AP_X86_KVM_CLK_ONLINE = 233, - CPUHP_AP_ACTIVE = 234, - CPUHP_ONLINE = 235, + CPUHP_X86_MCE_DEAD = 8, + CPUHP_VIRT_NET_DEAD = 9, + CPUHP_IBMVNIC_DEAD = 10, + CPUHP_SLUB_DEAD = 11, + CPUHP_DEBUG_OBJ_DEAD = 12, + CPUHP_MM_WRITEBACK_DEAD = 13, + CPUHP_MM_VMSTAT_DEAD = 14, + CPUHP_SOFTIRQ_DEAD = 15, + CPUHP_NET_MVNETA_DEAD = 16, + CPUHP_CPUIDLE_DEAD = 17, + CPUHP_ARM64_FPSIMD_DEAD = 18, + CPUHP_ARM_OMAP_WAKE_DEAD = 19, + CPUHP_IRQ_POLL_DEAD = 20, + CPUHP_BLOCK_SOFTIRQ_DEAD = 21, + CPUHP_BIO_DEAD = 22, + CPUHP_ACPI_CPUDRV_DEAD = 23, + CPUHP_S390_PFAULT_DEAD = 24, + CPUHP_BLK_MQ_DEAD = 25, + CPUHP_FS_BUFF_DEAD = 26, + CPUHP_PRINTK_DEAD = 27, + CPUHP_MM_MEMCQ_DEAD = 28, + CPUHP_PERCPU_CNT_DEAD = 29, + CPUHP_RADIX_DEAD = 30, + CPUHP_PAGE_ALLOC = 31, + CPUHP_NET_DEV_DEAD = 32, + CPUHP_PCI_XGENE_DEAD = 33, + CPUHP_IOMMU_IOVA_DEAD = 34, + CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 35, + CPUHP_PADATA_DEAD = 36, + CPUHP_AP_DTPM_CPU_DEAD = 37, + CPUHP_RANDOM_PREPARE = 38, + CPUHP_WORKQUEUE_PREP = 39, + CPUHP_POWER_NUMA_PREPARE = 40, + CPUHP_HRTIMERS_PREPARE = 41, + CPUHP_X2APIC_PREPARE = 42, + CPUHP_SMPCFD_PREPARE = 43, + CPUHP_RELAY_PREPARE = 44, + CPUHP_MD_RAID5_PREPARE = 45, + CPUHP_RCUTREE_PREP = 46, + CPUHP_CPUIDLE_COUPLED_PREPARE = 47, + CPUHP_POWERPC_PMAC_PREPARE = 48, + CPUHP_POWERPC_MMU_CTX_PREPARE = 49, + CPUHP_XEN_PREPARE = 50, + CPUHP_XEN_EVTCHN_PREPARE = 51, + CPUHP_ARM_SHMOBILE_SCU_PREPARE = 52, + CPUHP_SH_SH3X_PREPARE = 53, + CPUHP_TOPOLOGY_PREPARE = 54, + CPUHP_NET_IUCV_PREPARE = 55, + CPUHP_ARM_BL_PREPARE = 56, + CPUHP_TRACE_RB_PREPARE = 57, + CPUHP_MM_ZS_PREPARE = 58, + CPUHP_MM_ZSWP_POOL_PREPARE = 59, + CPUHP_KVM_PPC_BOOK3S_PREPARE = 60, + CPUHP_ZCOMP_PREPARE = 61, + CPUHP_TIMERS_PREPARE = 62, + CPUHP_TMIGR_PREPARE = 63, + CPUHP_MIPS_SOC_PREPARE = 64, + CPUHP_BP_PREPARE_DYN = 65, + CPUHP_BP_PREPARE_DYN_END = 85, + CPUHP_BP_KICK_AP = 86, + CPUHP_BRINGUP_CPU = 87, + CPUHP_AP_IDLE_DEAD = 88, + CPUHP_AP_OFFLINE = 89, + CPUHP_AP_CACHECTRL_STARTING = 90, + CPUHP_AP_SCHED_STARTING = 91, + CPUHP_AP_RCUTREE_DYING = 92, + CPUHP_AP_CPU_PM_STARTING = 93, + CPUHP_AP_IRQ_GIC_STARTING = 94, + CPUHP_AP_IRQ_HIP04_STARTING = 95, + CPUHP_AP_IRQ_APPLE_AIC_STARTING = 96, + CPUHP_AP_IRQ_ARMADA_XP_STARTING = 97, + CPUHP_AP_IRQ_BCM2836_STARTING = 98, + CPUHP_AP_IRQ_MIPS_GIC_STARTING = 99, + CPUHP_AP_IRQ_EIOINTC_STARTING = 100, + CPUHP_AP_IRQ_AVECINTC_STARTING = 101, + CPUHP_AP_IRQ_SIFIVE_PLIC_STARTING = 102, + CPUHP_AP_IRQ_THEAD_ACLINT_SSWI_STARTING = 103, + CPUHP_AP_IRQ_RISCV_IMSIC_STARTING = 104, + CPUHP_AP_IRQ_RISCV_SBI_IPI_STARTING = 105, + CPUHP_AP_ARM_MVEBU_COHERENCY = 106, + CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 107, + CPUHP_AP_PERF_X86_STARTING = 108, + CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 109, + CPUHP_AP_PERF_XTENSA_STARTING = 110, + CPUHP_AP_ARM_VFP_STARTING = 111, + CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 112, + CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 113, + CPUHP_AP_PERF_ARM_ACPI_STARTING = 114, + CPUHP_AP_PERF_ARM_STARTING = 115, + CPUHP_AP_PERF_RISCV_STARTING = 116, + CPUHP_AP_ARM_L2X0_STARTING = 117, + CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 118, + CPUHP_AP_ARM_ARCH_TIMER_STARTING = 119, + CPUHP_AP_ARM_ARCH_TIMER_EVTSTRM_STARTING = 120, + CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 121, + CPUHP_AP_JCORE_TIMER_STARTING = 122, + CPUHP_AP_ARM_TWD_STARTING = 123, + CPUHP_AP_QCOM_TIMER_STARTING = 124, + CPUHP_AP_TEGRA_TIMER_STARTING = 125, + CPUHP_AP_ARMADA_TIMER_STARTING = 126, + CPUHP_AP_MIPS_GIC_TIMER_STARTING = 127, + CPUHP_AP_ARC_TIMER_STARTING = 128, + CPUHP_AP_REALTEK_TIMER_STARTING = 129, + CPUHP_AP_RISCV_TIMER_STARTING = 130, + CPUHP_AP_CLINT_TIMER_STARTING = 131, + CPUHP_AP_CSKY_TIMER_STARTING = 132, + CPUHP_AP_TI_GP_TIMER_STARTING = 133, + CPUHP_AP_HYPERV_TIMER_STARTING = 134, + CPUHP_AP_DUMMY_TIMER_STARTING = 135, + CPUHP_AP_ARM_XEN_STARTING = 136, + CPUHP_AP_ARM_XEN_RUNSTATE_STARTING = 137, + CPUHP_AP_ARM_CORESIGHT_STARTING = 138, + CPUHP_AP_ARM_CORESIGHT_CTI_STARTING = 139, + CPUHP_AP_ARM64_ISNDEP_STARTING = 140, + CPUHP_AP_SMPCFD_DYING = 141, + CPUHP_AP_HRTIMERS_DYING = 142, + CPUHP_AP_TICK_DYING = 143, + CPUHP_AP_X86_TBOOT_DYING = 144, + CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 145, + CPUHP_AP_ONLINE = 146, + CPUHP_TEARDOWN_CPU = 147, + CPUHP_AP_ONLINE_IDLE = 148, + CPUHP_AP_HYPERV_ONLINE = 149, + CPUHP_AP_KVM_ONLINE = 150, + CPUHP_AP_SCHED_WAIT_EMPTY = 151, + CPUHP_AP_SMPBOOT_THREADS = 152, + CPUHP_AP_IRQ_AFFINITY_ONLINE = 153, + CPUHP_AP_BLK_MQ_ONLINE = 154, + CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 155, + CPUHP_AP_X86_INTEL_EPB_ONLINE = 156, + CPUHP_AP_PERF_ONLINE = 157, + CPUHP_AP_PERF_X86_ONLINE = 158, + CPUHP_AP_PERF_X86_UNCORE_ONLINE = 159, + CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 160, + CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 161, + CPUHP_AP_PERF_S390_CF_ONLINE = 162, + CPUHP_AP_PERF_S390_SF_ONLINE = 163, + CPUHP_AP_PERF_ARM_CCI_ONLINE = 164, + CPUHP_AP_PERF_ARM_CCN_ONLINE = 165, + CPUHP_AP_PERF_ARM_HISI_CPA_ONLINE = 166, + CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 167, + CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 168, + CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 169, + CPUHP_AP_PERF_ARM_HISI_PA_ONLINE = 170, + CPUHP_AP_PERF_ARM_HISI_SLLC_ONLINE = 171, + CPUHP_AP_PERF_ARM_HISI_PCIE_PMU_ONLINE = 172, + CPUHP_AP_PERF_ARM_HNS3_PMU_ONLINE = 173, + CPUHP_AP_PERF_ARM_L2X0_ONLINE = 174, + CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 175, + CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 176, + CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 177, + CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 178, + CPUHP_AP_PERF_ARM_MARVELL_CN10K_DDR_ONLINE = 179, + CPUHP_AP_PERF_ARM_MRVL_PEM_ONLINE = 180, + CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 181, + CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 182, + CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 183, + CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 184, + CPUHP_AP_PERF_POWERPC_HV_24x7_ONLINE = 185, + CPUHP_AP_PERF_POWERPC_HV_GPCI_ONLINE = 186, + CPUHP_AP_PERF_CSKY_ONLINE = 187, + CPUHP_AP_TMIGR_ONLINE = 188, + CPUHP_AP_WATCHDOG_ONLINE = 189, + CPUHP_AP_WORKQUEUE_ONLINE = 190, + CPUHP_AP_RANDOM_ONLINE = 191, + CPUHP_AP_RCUTREE_ONLINE = 192, + CPUHP_AP_KTHREADS_ONLINE = 193, + CPUHP_AP_BASE_CACHEINFO_ONLINE = 194, + CPUHP_AP_ONLINE_DYN = 195, + CPUHP_AP_ONLINE_DYN_END = 235, + CPUHP_AP_X86_HPET_ONLINE = 236, + CPUHP_AP_X86_KVM_CLK_ONLINE = 237, + CPUHP_AP_ACTIVE = 238, + CPUHP_ONLINE = 239, }; enum ctx_state { - CONTEXT_DISABLED = -1, - CONTEXT_KERNEL = 0, - CONTEXT_IDLE = 1, - CONTEXT_USER = 2, - CONTEXT_GUEST = 3, - CONTEXT_MAX = 4, + CT_STATE_DISABLED = -1, + CT_STATE_KERNEL = 0, + CT_STATE_IDLE = 1, + CT_STATE_USER = 2, + CT_STATE_GUEST = 3, + CT_STATE_MAX = 4, +}; + +enum d_real_type { + D_REAL_DATA = 0, + D_REAL_METADATA = 1, }; enum d_walk_ret { @@ -5529,9 +6092,9 @@ enum dccp_state { DCCP_TIME_WAIT = 6, DCCP_CLOSED = 7, DCCP_NEW_SYN_RECV = 12, - DCCP_PARTOPEN = 13, - DCCP_PASSIVE_CLOSEREQ = 14, - DCCP_MAX_STATES = 15, + DCCP_PARTOPEN = 14, + DCCP_PASSIVE_CLOSEREQ = 15, + DCCP_MAX_STATES = 16, }; enum dentry_d_lock_class { @@ -5658,6 +6221,37 @@ enum die_val { DIE_OOPS = 2, }; +enum dim_cq_period_mode { + DIM_CQ_PERIOD_MODE_START_FROM_EQE = 0, + DIM_CQ_PERIOD_MODE_START_FROM_CQE = 1, + DIM_CQ_PERIOD_NUM_MODES = 2, +}; + +enum dim_state { + DIM_START_MEASURE = 0, + DIM_MEASURE_IN_PROGRESS = 1, + DIM_APPLY_NEW_PROFILE = 2, +}; + +enum dim_stats_state { + DIM_STATS_WORSE = 0, + DIM_STATS_SAME = 1, + DIM_STATS_BETTER = 2, +}; + +enum dim_step_result { + DIM_STEPPED = 0, + DIM_TOO_TIRED = 1, + DIM_ON_EDGE = 2, +}; + +enum dim_tune_state { + DIM_PARKING_ON_TOP = 0, + DIM_PARKING_TIRED = 1, + DIM_GOING_RIGHT = 2, + DIM_GOING_LEFT = 3, +}; + enum dl_dev_state { DL_DEV_NO_DRIVER = 0, DL_DEV_PROBING = 1, @@ -5737,7 +6331,7 @@ enum efi_secureboot_mode { efi_secureboot_mode_enabled = 3, }; -enum efistub_event { +enum efistub_event_type { EFISTUB_EVT_INITRD = 0, EFISTUB_EVT_LOAD_OPTIONS = 1, EFISTUB_EVT_COUNT = 2, @@ -5749,6 +6343,92 @@ enum error_detector { ERROR_DETECTOR_WARN = 2, }; +enum ethnl_sock_type { + ETHTOOL_SOCK_TYPE_MODULE_FW_FLASH = 0, +}; + +enum ethtool_c33_pse_admin_state { + ETHTOOL_C33_PSE_ADMIN_STATE_UNKNOWN = 1, + ETHTOOL_C33_PSE_ADMIN_STATE_DISABLED = 2, + ETHTOOL_C33_PSE_ADMIN_STATE_ENABLED = 3, +}; + +enum ethtool_c33_pse_ext_state { + ETHTOOL_C33_PSE_EXT_STATE_ERROR_CONDITION = 1, + ETHTOOL_C33_PSE_EXT_STATE_MR_MPS_VALID = 2, + ETHTOOL_C33_PSE_EXT_STATE_MR_PSE_ENABLE = 3, + ETHTOOL_C33_PSE_EXT_STATE_OPTION_DETECT_TED = 4, + ETHTOOL_C33_PSE_EXT_STATE_OPTION_VPORT_LIM = 5, + ETHTOOL_C33_PSE_EXT_STATE_OVLD_DETECTED = 6, + ETHTOOL_C33_PSE_EXT_STATE_PD_DLL_POWER_TYPE = 7, + ETHTOOL_C33_PSE_EXT_STATE_POWER_NOT_AVAILABLE = 8, + ETHTOOL_C33_PSE_EXT_STATE_SHORT_DETECTED = 9, +}; + +enum ethtool_c33_pse_ext_substate_error_condition { + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_NON_EXISTING_PORT = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_UNDEFINED_PORT = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_INTERNAL_HW_FAULT = 3, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_COMM_ERROR_AFTER_FORCE_ON = 4, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_UNKNOWN_PORT_STATUS = 5, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_HOST_CRASH_TURN_OFF = 6, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_HOST_CRASH_FORCE_SHUTDOWN = 7, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_CONFIG_CHANGE = 8, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_DETECTED_OVER_TEMP = 9, +}; + +enum ethtool_c33_pse_ext_substate_mr_pse_enable { + ETHTOOL_C33_PSE_EXT_SUBSTATE_MR_PSE_ENABLE_DISABLE_PIN_ACTIVE = 1, +}; + +enum ethtool_c33_pse_ext_substate_option_detect_ted { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_DETECT_TED_DET_IN_PROCESS = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_DETECT_TED_CONNECTION_CHECK_ERROR = 2, +}; + +enum ethtool_c33_pse_ext_substate_option_vport_lim { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_HIGH_VOLTAGE = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_LOW_VOLTAGE = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_VOLTAGE_INJECTION = 3, +}; + +enum ethtool_c33_pse_ext_substate_ovld_detected { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OVLD_DETECTED_OVERLOAD = 1, +}; + +enum ethtool_c33_pse_ext_substate_power_not_available { + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_BUDGET_EXCEEDED = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_PORT_PW_LIMIT_EXCEEDS_CONTROLLER_BUDGET = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_PD_REQUEST_EXCEEDS_PORT_LIMIT = 3, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_HW_PW_LIMIT = 4, +}; + +enum ethtool_c33_pse_ext_substate_short_detected { + ETHTOOL_C33_PSE_EXT_SUBSTATE_SHORT_DETECTED_SHORT_CONDITION = 1, +}; + +enum ethtool_c33_pse_pw_d_status { + ETHTOOL_C33_PSE_PW_D_STATUS_UNKNOWN = 1, + ETHTOOL_C33_PSE_PW_D_STATUS_DISABLED = 2, + ETHTOOL_C33_PSE_PW_D_STATUS_SEARCHING = 3, + ETHTOOL_C33_PSE_PW_D_STATUS_DELIVERING = 4, + ETHTOOL_C33_PSE_PW_D_STATUS_TEST = 5, + ETHTOOL_C33_PSE_PW_D_STATUS_FAULT = 6, + ETHTOOL_C33_PSE_PW_D_STATUS_OTHERFAULT = 7, +}; + +enum ethtool_cmis_cdb_cmd_id { + ETHTOOL_CMIS_CDB_CMD_QUERY_STATUS = 0, + ETHTOOL_CMIS_CDB_CMD_MODULE_FEATURES = 64, + ETHTOOL_CMIS_CDB_CMD_FW_MANAGMENT_FEATURES = 65, + ETHTOOL_CMIS_CDB_CMD_START_FW_DOWNLOAD = 257, + ETHTOOL_CMIS_CDB_CMD_WRITE_FW_BLOCK_LPL = 259, + ETHTOOL_CMIS_CDB_CMD_WRITE_FW_BLOCK_EPL = 260, + ETHTOOL_CMIS_CDB_CMD_COMPLETE_FW_DOWNLOAD = 263, + ETHTOOL_CMIS_CDB_CMD_RUN_FW_IMAGE = 265, + ETHTOOL_CMIS_CDB_CMD_COMMIT_FW_IMAGE = 266, +}; + enum ethtool_fec_config_bits { ETHTOOL_FEC_NONE_BIT = 0, ETHTOOL_FEC_AUTO_BIT = 1, @@ -5766,6 +6446,12 @@ enum ethtool_flags { ETH_FLAG_RXHASH = 268435456, }; +enum ethtool_header_flags { + ETHTOOL_FLAG_COMPACT_BITSETS = 1, + ETHTOOL_FLAG_OMIT_REPLY = 2, + ETHTOOL_FLAG_STATS = 4, +}; + enum ethtool_link_ext_state { ETHTOOL_LINK_EXT_STATE_AUTONEG = 0, ETHTOOL_LINK_EXT_STATE_LINK_TRAINING_FAILURE = 1, @@ -5923,7 +6609,8 @@ enum ethtool_link_mode_bit_indices { ETHTOOL_LINK_MODE_10baseT1S_Full_BIT = 99, ETHTOOL_LINK_MODE_10baseT1S_Half_BIT = 100, ETHTOOL_LINK_MODE_10baseT1S_P2MP_Half_BIT = 101, - __ETHTOOL_LINK_MODE_MASK_NBITS = 102, + ETHTOOL_LINK_MODE_10baseT1BRR_Full_BIT = 102, + __ETHTOOL_LINK_MODE_MASK_NBITS = 103, }; enum ethtool_mac_stats_src { @@ -5941,6 +6628,13 @@ enum ethtool_mm_verify_status { ETHTOOL_MM_VERIFY_STATUS_DISABLED = 5, }; +enum ethtool_module_fw_flash_status { + ETHTOOL_MODULE_FW_FLASH_STATUS_STARTED = 1, + ETHTOOL_MODULE_FW_FLASH_STATUS_IN_PROGRESS = 2, + ETHTOOL_MODULE_FW_FLASH_STATUS_COMPLETED = 3, + ETHTOOL_MODULE_FW_FLASH_STATUS_ERROR = 4, +}; + enum ethtool_module_power_mode { ETHTOOL_MODULE_POWER_MODE_LOW = 1, ETHTOOL_MODULE_POWER_MODE_HIGH = 2, @@ -5978,6 +6672,20 @@ enum ethtool_podl_pse_pw_d_status { ETHTOOL_PODL_PSE_PW_D_STATUS_ERROR = 7, }; +enum ethtool_reset_flags { + ETH_RESET_MGMT = 1, + ETH_RESET_IRQ = 2, + ETH_RESET_DMA = 4, + ETH_RESET_FILTER = 8, + ETH_RESET_OFFLOAD = 16, + ETH_RESET_MAC = 32, + ETH_RESET_PHY = 64, + ETH_RESET_RAM = 128, + ETH_RESET_AP = 256, + ETH_RESET_DEDICATED = 65535, + ETH_RESET_ALL = 4294967295, +}; + enum ethtool_sfeatures_retval_bits { ETHTOOL_F_UNSUPPORTED__BIT = 0, ETHTOOL_F_WISH__BIT = 1, @@ -6006,7 +6714,9 @@ enum ethtool_stringset { ETH_SS_STATS_ETH_MAC = 18, ETH_SS_STATS_ETH_CTRL = 19, ETH_SS_STATS_RMON = 20, - ETH_SS_COUNT = 21, + ETH_SS_STATS_PHY = 21, + ETH_SS_TS_FLAGS = 22, + ETH_SS_COUNT = 23, }; enum ethtool_supported_ring_param { @@ -6015,6 +6725,14 @@ enum ethtool_supported_ring_param { ETHTOOL_RING_USE_TX_PUSH = 4, ETHTOOL_RING_USE_RX_PUSH = 8, ETHTOOL_RING_USE_TX_PUSH_BUF_LEN = 16, + ETHTOOL_RING_USE_TCP_DATA_SPLIT = 32, + ETHTOOL_RING_USE_HDS_THRS = 64, +}; + +enum ethtool_tcp_data_split { + ETHTOOL_TCP_DATA_SPLIT_UNKNOWN = 0, + ETHTOOL_TCP_DATA_SPLIT_DISABLED = 1, + ETHTOOL_TCP_DATA_SPLIT_ENABLED = 2, }; enum event_command_flags { @@ -6037,8 +6755,32 @@ enum event_type_t { EVENT_FLEXIBLE = 1, EVENT_PINNED = 2, EVENT_TIME = 4, - EVENT_CPU = 8, + EVENT_FROZEN = 8, + EVENT_CPU = 16, + EVENT_CGROUP = 32, EVENT_ALL = 3, + EVENT_TIME_FROZEN = 12, +}; + +enum exact_level { + NOT_EXACT = 0, + EXACT = 1, + RANGE_WITHIN = 2, +}; + +enum execmem_range_flags { + EXECMEM_KASAN_SHADOW = 1, + EXECMEM_ROX_CACHE = 2, +}; + +enum execmem_type { + EXECMEM_DEFAULT = 0, + EXECMEM_MODULE_TEXT = 0, + EXECMEM_KPROBES = 1, + EXECMEM_FTRACE = 2, + EXECMEM_BPF = 3, + EXECMEM_MODULE_DATA = 4, + EXECMEM_TYPE_MAX = 5, }; enum fail_dup_mod_reason { @@ -6073,19 +6815,21 @@ enum fetch_op { FETCH_OP_ARG = 7, FETCH_OP_FOFFS = 8, FETCH_OP_DATA = 9, - FETCH_OP_DEREF = 10, - FETCH_OP_UDEREF = 11, - FETCH_OP_ST_RAW = 12, - FETCH_OP_ST_MEM = 13, - FETCH_OP_ST_UMEM = 14, - FETCH_OP_ST_STRING = 15, - FETCH_OP_ST_USTRING = 16, - FETCH_OP_ST_SYMSTR = 17, - FETCH_OP_MOD_BF = 18, - FETCH_OP_LP_ARRAY = 19, - FETCH_OP_TP_ARG = 20, - FETCH_OP_END = 21, - FETCH_NOP_SYMBOL = 22, + FETCH_OP_EDATA = 10, + FETCH_OP_DEREF = 11, + FETCH_OP_UDEREF = 12, + FETCH_OP_ST_RAW = 13, + FETCH_OP_ST_MEM = 14, + FETCH_OP_ST_UMEM = 15, + FETCH_OP_ST_STRING = 16, + FETCH_OP_ST_USTRING = 17, + FETCH_OP_ST_SYMSTR = 18, + FETCH_OP_ST_EDATA = 19, + FETCH_OP_MOD_BF = 20, + FETCH_OP_LP_ARRAY = 21, + FETCH_OP_TP_ARG = 22, + FETCH_OP_END = 23, + FETCH_NOP_SYMBOL = 24, }; enum fib6_walk_state { @@ -6121,7 +6865,11 @@ enum fid_type { FILEID_NILFS_WITH_PARENT = 98, FILEID_FAT_WITHOUT_PARENT = 113, FILEID_FAT_WITH_PARENT = 114, + FILEID_INO64_GEN = 129, + FILEID_INO64_GEN_PARENT = 130, FILEID_LUSTRE = 151, + FILEID_BCACHEFS_WITHOUT_PARENT = 177, + FILEID_BCACHEFS_WITH_PARENT = 178, FILEID_KERNFS = 254, FILEID_INVALID = 255, }; @@ -6288,6 +7036,16 @@ enum flow_dissect_ret { FLOW_DISSECT_RET_CONTINUE = 4, }; +enum flow_dissector_ctrl_flags { + FLOW_DIS_IS_FRAGMENT = 1, + FLOW_DIS_FIRST_FRAG = 2, + FLOW_DIS_F_TUNNEL_CSUM = 4, + FLOW_DIS_F_TUNNEL_DONT_FRAGMENT = 8, + FLOW_DIS_F_TUNNEL_OAM = 16, + FLOW_DIS_F_TUNNEL_CRIT_OPT = 32, + FLOW_DIS_ENCAPSULATION = 64, +}; + enum flow_dissector_key_id { FLOW_DISSECTOR_KEY_CONTROL = 0, FLOW_DISSECTOR_KEY_BASIC = 1, @@ -6338,31 +7096,28 @@ enum folio_references { FOLIOREF_ACTIVATE = 3, }; -enum format_type { - FORMAT_TYPE_NONE = 0, - FORMAT_TYPE_WIDTH = 1, - FORMAT_TYPE_PRECISION = 2, - FORMAT_TYPE_CHAR = 3, - FORMAT_TYPE_STR = 4, - FORMAT_TYPE_PTR = 5, - FORMAT_TYPE_PERCENT_CHAR = 6, - FORMAT_TYPE_INVALID = 7, - FORMAT_TYPE_LONG_LONG = 8, - FORMAT_TYPE_ULONG = 9, - FORMAT_TYPE_LONG = 10, - FORMAT_TYPE_UBYTE = 11, - FORMAT_TYPE_BYTE = 12, - FORMAT_TYPE_USHORT = 13, - FORMAT_TYPE_SHORT = 14, - FORMAT_TYPE_UINT = 15, - FORMAT_TYPE_INT = 16, - FORMAT_TYPE_SIZE_T = 17, - FORMAT_TYPE_PTRDIFF = 18, +enum folio_walk_level { + FW_LEVEL_PTE = 0, + FW_LEVEL_PMD = 1, + FW_LEVEL_PUD = 2, +}; + +enum format_state { + FORMAT_STATE_NONE = 0, + FORMAT_STATE_NUM = 1, + FORMAT_STATE_WIDTH = 2, + FORMAT_STATE_PRECISION = 3, + FORMAT_STATE_CHAR = 4, + FORMAT_STATE_STR = 5, + FORMAT_STATE_PTR = 6, + FORMAT_STATE_PERCENT_CHAR = 7, + FORMAT_STATE_INVALID = 8, }; enum freeze_holder { FREEZE_HOLDER_KERNEL = 1, FREEZE_HOLDER_USERSPACE = 2, + FREEZE_MAY_NEST = 4, }; enum freq_qos_req_type { @@ -6409,10 +7164,18 @@ enum fsconfig_command { enum fsnotify_data_type { FSNOTIFY_EVENT_NONE = 0, - FSNOTIFY_EVENT_PATH = 1, - FSNOTIFY_EVENT_INODE = 2, - FSNOTIFY_EVENT_DENTRY = 3, - FSNOTIFY_EVENT_ERROR = 4, + FSNOTIFY_EVENT_FILE_RANGE = 1, + FSNOTIFY_EVENT_PATH = 2, + FSNOTIFY_EVENT_INODE = 3, + FSNOTIFY_EVENT_DENTRY = 4, + FSNOTIFY_EVENT_ERROR = 5, +}; + +enum fsnotify_group_prio { + FSNOTIFY_PRIO_NORMAL = 0, + FSNOTIFY_PRIO_CONTENT = 1, + FSNOTIFY_PRIO_PRE_CONTENT = 2, + __FSNOTIFY_PRIO_NUM = 3, }; enum fsnotify_iter_type { @@ -6436,6 +7199,7 @@ enum ftrace_dump_mode { DUMP_NONE = 0, DUMP_ALL = 1, DUMP_ORIG = 2, + DUMP_PARAM = 3, }; enum ftrace_ops_cmd { @@ -6474,6 +7238,11 @@ enum gro_result { typedef enum gro_result gro_result_t; +enum handle_to_path_flags { + HANDLE_CHECK_PERMS = 1, + HANDLE_CHECK_SUBTREE = 2, +}; + enum hash_algo { HASH_ALGO_MD4 = 0, HASH_ALGO_MD5 = 1, @@ -6495,20 +7264,30 @@ enum hash_algo { HASH_ALGO_SM3_256 = 17, HASH_ALGO_STREEBOG_256 = 18, HASH_ALGO_STREEBOG_512 = 19, - HASH_ALGO__LAST = 20, + HASH_ALGO_SHA3_256 = 20, + HASH_ALGO_SHA3_384 = 21, + HASH_ALGO_SHA3_512 = 22, + HASH_ALGO__LAST = 23, }; enum hk_type { - HK_TYPE_TIMER = 0, - HK_TYPE_RCU = 1, + HK_TYPE_DOMAIN = 0, + HK_TYPE_MANAGED_IRQ = 1, + HK_TYPE_KERNEL_NOISE = 2, + HK_TYPE_MAX = 3, + HK_TYPE_TICK = 2, + HK_TYPE_TIMER = 2, + HK_TYPE_RCU = 2, HK_TYPE_MISC = 2, - HK_TYPE_SCHED = 3, - HK_TYPE_TICK = 4, - HK_TYPE_DOMAIN = 5, - HK_TYPE_WQ = 6, - HK_TYPE_MANAGED_IRQ = 7, - HK_TYPE_KTHREAD = 8, - HK_TYPE_MAX = 9, + HK_TYPE_WQ = 2, + HK_TYPE_KTHREAD = 2, +}; + +enum hprobe_state { + HPROBE_LEASED = 0, + HPROBE_STABLE = 1, + HPROBE_GONE = 2, + HPROBE_CONSUMED = 3, }; enum hrtimer_base_type { @@ -6552,6 +7331,12 @@ enum hwtstamp_flags { HWTSTAMP_FLAG_MASK = 1, }; +enum hwtstamp_provider_qualifier { + HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, + HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, + HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +}; + enum hwtstamp_rx_filters { HWTSTAMP_FILTER_NONE = 0, HWTSTAMP_FILTER_ALL = 1, @@ -6573,8 +7358,9 @@ enum hwtstamp_rx_filters { }; enum hwtstamp_source { - HWTSTAMP_SOURCE_NETDEV = 0, - HWTSTAMP_SOURCE_PHYLIB = 1, + HWTSTAMP_SOURCE_UNSPEC = 0, + HWTSTAMP_SOURCE_NETDEV = 1, + HWTSTAMP_SOURCE_PHYLIB = 2, }; enum hwtstamp_tx_types { @@ -6660,7 +7446,79 @@ enum io_uring_op { IORING_OP_URING_CMD = 46, IORING_OP_SEND_ZC = 47, IORING_OP_SENDMSG_ZC = 48, - IORING_OP_LAST = 49, + IORING_OP_READ_MULTISHOT = 49, + IORING_OP_WAITID = 50, + IORING_OP_FUTEX_WAIT = 51, + IORING_OP_FUTEX_WAKE = 52, + IORING_OP_FUTEX_WAITV = 53, + IORING_OP_FIXED_FD_INSTALL = 54, + IORING_OP_FTRUNCATE = 55, + IORING_OP_BIND = 56, + IORING_OP_LISTEN = 57, + IORING_OP_LAST = 58, +}; + +enum io_uring_register_op { + IORING_REGISTER_BUFFERS = 0, + IORING_UNREGISTER_BUFFERS = 1, + IORING_REGISTER_FILES = 2, + IORING_UNREGISTER_FILES = 3, + IORING_REGISTER_EVENTFD = 4, + IORING_UNREGISTER_EVENTFD = 5, + IORING_REGISTER_FILES_UPDATE = 6, + IORING_REGISTER_EVENTFD_ASYNC = 7, + IORING_REGISTER_PROBE = 8, + IORING_REGISTER_PERSONALITY = 9, + IORING_UNREGISTER_PERSONALITY = 10, + IORING_REGISTER_RESTRICTIONS = 11, + IORING_REGISTER_ENABLE_RINGS = 12, + IORING_REGISTER_FILES2 = 13, + IORING_REGISTER_FILES_UPDATE2 = 14, + IORING_REGISTER_BUFFERS2 = 15, + IORING_REGISTER_BUFFERS_UPDATE = 16, + IORING_REGISTER_IOWQ_AFF = 17, + IORING_UNREGISTER_IOWQ_AFF = 18, + IORING_REGISTER_IOWQ_MAX_WORKERS = 19, + IORING_REGISTER_RING_FDS = 20, + IORING_UNREGISTER_RING_FDS = 21, + IORING_REGISTER_PBUF_RING = 22, + IORING_UNREGISTER_PBUF_RING = 23, + IORING_REGISTER_SYNC_CANCEL = 24, + IORING_REGISTER_FILE_ALLOC_RANGE = 25, + IORING_REGISTER_PBUF_STATUS = 26, + IORING_REGISTER_NAPI = 27, + IORING_UNREGISTER_NAPI = 28, + IORING_REGISTER_CLOCK = 29, + IORING_REGISTER_CLONE_BUFFERS = 30, + IORING_REGISTER_SEND_MSG_RING = 31, + IORING_REGISTER_RESIZE_RINGS = 33, + IORING_REGISTER_MEM_REGION = 34, + IORING_REGISTER_LAST = 35, + IORING_REGISTER_USE_REGISTERED_RING = 2147483648, +}; + +enum io_uring_sqe_flags_bit { + IOSQE_FIXED_FILE_BIT = 0, + IOSQE_IO_DRAIN_BIT = 1, + IOSQE_IO_LINK_BIT = 2, + IOSQE_IO_HARDLINK_BIT = 3, + IOSQE_ASYNC_BIT = 4, + IOSQE_BUFFER_SELECT_BIT = 5, + IOSQE_CQE_SKIP_SUCCESS_BIT = 6, +}; + +enum ioam6_event_attr { + IOAM6_EVENT_ATTR_UNSPEC = 0, + IOAM6_EVENT_ATTR_TRACE_NAMESPACE = 1, + IOAM6_EVENT_ATTR_TRACE_NODELEN = 2, + IOAM6_EVENT_ATTR_TRACE_TYPE = 3, + IOAM6_EVENT_ATTR_TRACE_DATA = 4, + __IOAM6_EVENT_ATTR_MAX = 5, +}; + +enum ioam6_event_type { + IOAM6_EVENT_UNSPEC = 0, + IOAM6_EVENT_TRACE = 1, }; enum ip6_defrag_users { @@ -6679,8 +7537,6 @@ enum ip_conntrack_dir { IP_CT_DIR_MAX = 2, }; -enum ip_conntrack_info; - enum ip_defrag_users { IP_DEFRAG_LOCAL_DELIVER = 0, IP_DEFRAG_CALL_RA_CHAIN = 1, @@ -6713,7 +7569,8 @@ enum irq_domain_bus_token { DOMAIN_BUS_PCI_DEVICE_MSIX = 12, DOMAIN_BUS_DMAR = 13, DOMAIN_BUS_AMDVI = 14, - DOMAIN_BUS_PCI_DEVICE_IMS = 15, + DOMAIN_BUS_DEVICE_MSI = 15, + DOMAIN_BUS_WIRED_TO_MSI = 16, }; enum irq_gc_flags { @@ -6740,12 +7597,13 @@ enum irqreturn { typedef enum irqreturn irqreturn_t; enum iter_type { - ITER_IOVEC = 0, - ITER_KVEC = 1, + ITER_UBUF = 0, + ITER_IOVEC = 1, ITER_BVEC = 2, - ITER_XARRAY = 3, - ITER_DISCARD = 4, - ITER_UBUF = 5, + ITER_KVEC = 3, + ITER_FOLIOQ = 4, + ITER_XARRAY = 5, + ITER_DISCARD = 6, }; enum kernel_load_data_id { @@ -6770,16 +7628,6 @@ enum kernel_read_file_id { READING_MAX_ID = 7, }; -enum key_being_used_for { - VERIFYING_MODULE_SIGNATURE = 0, - VERIFYING_FIRMWARE_SIGNATURE = 1, - VERIFYING_KEXEC_PE_SIGNATURE = 2, - VERIFYING_KEY_SIGNATURE = 3, - VERIFYING_KEY_SELF_SIGNATURE = 4, - VERIFYING_UNSPECIFIED_SIGNATURE = 5, - NR__KEY_BEING_USED_FOR = 6, -}; - enum kfunc_ptr_arg_type { KF_ARG_PTR_TO_CTX = 0, KF_ARG_PTR_TO_ALLOC_BTF_ID = 1, @@ -6794,6 +7642,11 @@ enum kfunc_ptr_arg_type { KF_ARG_PTR_TO_CALLBACK = 10, KF_ARG_PTR_TO_RB_ROOT = 11, KF_ARG_PTR_TO_RB_NODE = 12, + KF_ARG_PTR_TO_NULL = 13, + KF_ARG_PTR_TO_CONST_STR = 14, + KF_ARG_PTR_TO_MAP = 15, + KF_ARG_PTR_TO_WORKQUEUE = 16, + KF_ARG_PTR_TO_IRQ_FLAG = 17, }; enum kmalloc_cache_type { @@ -6911,6 +7764,7 @@ enum lru_status { LRU_ROTATE = 2, LRU_SKIP = 3, LRU_RETRY = 4, + LRU_STOP = 5, }; enum lruvec_flags { @@ -6963,6 +7817,17 @@ enum lwtunnel_ip_t { __LWTUNNEL_IP_MAX = 9, }; +enum maple_status { + ma_active = 0, + ma_start = 1, + ma_root = 2, + ma_none = 3, + ma_pause = 4, + ma_overflow = 5, + ma_underflow = 6, + ma_error = 7, +}; + enum maple_type { maple_dense = 0, maple_leaf_64 = 1, @@ -6977,8 +7842,12 @@ enum mapping_flags { AS_UNEVICTABLE = 3, AS_EXITING = 4, AS_NO_WRITEBACK_TAGS = 5, - AS_LARGE_FOLIO_SUPPORT = 6, - AS_RELEASE_ALWAYS = 7, + AS_RELEASE_ALWAYS = 6, + AS_STABLE_WRITES = 7, + AS_INACCESSIBLE = 8, + AS_FOLIO_ORDER_BITS = 5, + AS_FOLIO_ORDER_MIN = 16, + AS_FOLIO_ORDER_MAX = 21, }; enum memblock_flags { @@ -6987,6 +7856,7 @@ enum memblock_flags { MEMBLOCK_MIRROR = 2, MEMBLOCK_NOMAP = 4, MEMBLOCK_DRIVER_MANAGED = 8, + MEMBLOCK_RSRV_NOINIT = 16, }; enum memcg_memory_event { @@ -7003,14 +7873,14 @@ enum memcg_memory_event { }; enum memcg_stat_item { - MEMCG_SWAP = 40, - MEMCG_SOCK = 41, - MEMCG_PERCPU_B = 42, - MEMCG_VMALLOC = 43, - MEMCG_KMEM = 44, - MEMCG_ZSWAP_B = 45, - MEMCG_ZSWAPPED = 46, - MEMCG_NR_STAT = 47, + MEMCG_SWAP = 43, + MEMCG_SOCK = 44, + MEMCG_PERCPU_B = 45, + MEMCG_VMALLOC = 46, + MEMCG_KMEM = 47, + MEMCG_ZSWAP_B = 48, + MEMCG_ZSWAPPED = 49, + MEMCG_NR_STAT = 50, }; enum meminit_context { @@ -7037,7 +7907,6 @@ enum migrate_mode { MIGRATE_ASYNC = 0, MIGRATE_SYNC_LIGHT = 1, MIGRATE_SYNC = 2, - MIGRATE_SYNC_NO_COPY = 3, }; enum migrate_reason { @@ -7050,7 +7919,8 @@ enum migrate_reason { MR_CONTIG_RANGE = 6, MR_LONGTERM_PIN = 7, MR_DEMOTION = 8, - MR_TYPES = 9, + MR_DAMON = 9, + MR_TYPES = 10, }; enum migratetype { @@ -7062,6 +7932,12 @@ enum migratetype { MIGRATE_TYPES = 4, }; +enum mitigation_state { + UNAFFECTED = 0, + MITIGATED = 1, + VULNERABLE = 2, +}; + enum mminit_level { MMINIT_WARNING = 0, MMINIT_VERIFY = 1, @@ -7097,10 +7973,44 @@ enum module_state { MODULE_STATE_UNFORMED = 3, }; +enum msi_desc_filter { + MSI_DESC_ALL = 0, + MSI_DESC_NOTASSOCIATED = 1, + MSI_DESC_ASSOCIATED = 2, +}; + enum msi_domain_ids { MSI_DEFAULT_DOMAIN = 0, - MSI_SECONDARY_DOMAIN = 1, - MSI_MAX_DEVICE_IRQDOMAINS = 2, + MSI_MAX_DEVICE_IRQDOMAINS = 1, +}; + +enum mthp_stat_item { + MTHP_STAT_ANON_FAULT_ALLOC = 0, + MTHP_STAT_ANON_FAULT_FALLBACK = 1, + MTHP_STAT_ANON_FAULT_FALLBACK_CHARGE = 2, + MTHP_STAT_ZSWPOUT = 3, + MTHP_STAT_SWPIN = 4, + MTHP_STAT_SWPIN_FALLBACK = 5, + MTHP_STAT_SWPIN_FALLBACK_CHARGE = 6, + MTHP_STAT_SWPOUT = 7, + MTHP_STAT_SWPOUT_FALLBACK = 8, + MTHP_STAT_SHMEM_ALLOC = 9, + MTHP_STAT_SHMEM_FALLBACK = 10, + MTHP_STAT_SHMEM_FALLBACK_CHARGE = 11, + MTHP_STAT_SPLIT = 12, + MTHP_STAT_SPLIT_FAILED = 13, + MTHP_STAT_SPLIT_DEFERRED = 14, + MTHP_STAT_NR_ANON = 15, + MTHP_STAT_NR_ANON_PARTIALLY_MAPPED = 16, + __MTHP_STAT_COUNT = 17, +}; + +enum nbcon_prio { + NBCON_PRIO_NONE = 0, + NBCON_PRIO_NORMAL = 1, + NBCON_PRIO_EMERGENCY = 2, + NBCON_PRIO_PANIC = 3, + NBCON_PRIO_MAX = 4, }; enum net_device_flags { @@ -7187,40 +8097,42 @@ enum netdev_offload_xstats_type { }; enum netdev_priv_flags { - IFF_802_1Q_VLAN = 1ULL, - IFF_EBRIDGE = 2ULL, - IFF_BONDING = 4ULL, - IFF_ISATAP = 8ULL, - IFF_WAN_HDLC = 16ULL, - IFF_XMIT_DST_RELEASE = 32ULL, - IFF_DONT_BRIDGE = 64ULL, - IFF_DISABLE_NETPOLL = 128ULL, - IFF_MACVLAN_PORT = 256ULL, - IFF_BRIDGE_PORT = 512ULL, - IFF_OVS_DATAPATH = 1024ULL, - IFF_TX_SKB_SHARING = 2048ULL, - IFF_UNICAST_FLT = 4096ULL, - IFF_TEAM_PORT = 8192ULL, - IFF_SUPP_NOFCS = 16384ULL, - IFF_LIVE_ADDR_CHANGE = 32768ULL, - IFF_MACVLAN = 65536ULL, - IFF_XMIT_DST_RELEASE_PERM = 131072ULL, - IFF_L3MDEV_MASTER = 262144ULL, - IFF_NO_QUEUE = 524288ULL, - IFF_OPENVSWITCH = 1048576ULL, - IFF_L3MDEV_SLAVE = 2097152ULL, - IFF_TEAM = 4194304ULL, - IFF_RXFH_CONFIGURED = 8388608ULL, - IFF_PHONY_HEADROOM = 16777216ULL, - IFF_MACSEC = 33554432ULL, - IFF_NO_RX_HANDLER = 67108864ULL, - IFF_FAILOVER = 134217728ULL, - IFF_FAILOVER_SLAVE = 268435456ULL, - IFF_L3MDEV_RX_HANDLER = 536870912ULL, - IFF_NO_ADDRCONF = 1073741824ULL, - IFF_TX_SKB_NO_LINEAR = 2147483648ULL, - IFF_CHANGE_PROTO_DOWN = 4294967296ULL, - IFF_SEE_ALL_HWTSTAMP_REQUESTS = 8589934592ULL, + IFF_802_1Q_VLAN = 1, + IFF_EBRIDGE = 2, + IFF_BONDING = 4, + IFF_ISATAP = 8, + IFF_WAN_HDLC = 16, + IFF_XMIT_DST_RELEASE = 32, + IFF_DONT_BRIDGE = 64, + IFF_DISABLE_NETPOLL = 128, + IFF_MACVLAN_PORT = 256, + IFF_BRIDGE_PORT = 512, + IFF_OVS_DATAPATH = 1024, + IFF_TX_SKB_SHARING = 2048, + IFF_UNICAST_FLT = 4096, + IFF_TEAM_PORT = 8192, + IFF_SUPP_NOFCS = 16384, + IFF_LIVE_ADDR_CHANGE = 32768, + IFF_MACVLAN = 65536, + IFF_XMIT_DST_RELEASE_PERM = 131072, + IFF_L3MDEV_MASTER = 262144, + IFF_NO_QUEUE = 524288, + IFF_OPENVSWITCH = 1048576, + IFF_L3MDEV_SLAVE = 2097152, + IFF_TEAM = 4194304, + IFF_RXFH_CONFIGURED = 8388608, + IFF_PHONY_HEADROOM = 16777216, + IFF_MACSEC = 33554432, + IFF_NO_RX_HANDLER = 67108864, + IFF_FAILOVER = 134217728, + IFF_FAILOVER_SLAVE = 268435456, + IFF_L3MDEV_RX_HANDLER = 536870912, + IFF_NO_ADDRCONF = 1073741824, + IFF_TX_SKB_NO_LINEAR = 2147483648, +}; + +enum netdev_qstats_scope { + NETDEV_QSTATS_SCOPE_QUEUE = 1, }; enum netdev_queue_state_t { @@ -7229,6 +8141,27 @@ enum netdev_queue_state_t { __QUEUE_STATE_FROZEN = 2, }; +enum netdev_queue_type { + NETDEV_QUEUE_TYPE_RX = 0, + NETDEV_QUEUE_TYPE_TX = 1, +}; + +enum netdev_reg_state { + NETREG_UNINITIALIZED = 0, + NETREG_REGISTERED = 1, + NETREG_UNREGISTERING = 2, + NETREG_UNREGISTERED = 3, + NETREG_RELEASED = 4, + NETREG_DUMMY = 5, +}; + +enum netdev_stat_type { + NETDEV_PCPU_STAT_NONE = 0, + NETDEV_PCPU_STAT_LSTATS = 1, + NETDEV_PCPU_STAT_TSTATS = 2, + NETDEV_PCPU_STAT_DSTATS = 3, +}; + enum netdev_state_t { __LINK_STATE_START = 0, __LINK_STATE_PRESENT = 1, @@ -7257,6 +8190,17 @@ enum netdev_xdp_act { NETDEV_XDP_ACT_MASK = 127, }; +enum netdev_xdp_rx_metadata { + NETDEV_XDP_RX_METADATA_TIMESTAMP = 1, + NETDEV_XDP_RX_METADATA_HASH = 2, + NETDEV_XDP_RX_METADATA_VLAN_TAG = 4, +}; + +enum netdev_xsk_flags { + NETDEV_XSK_FLAGS_TX_TIMESTAMP = 1, + NETDEV_XSK_FLAGS_TX_CHECKSUM = 2, +}; + enum netevent_notif_type { NETEVENT_NEIGH_UPDATE = 1, NETEVENT_REDIRECT = 2, @@ -7283,6 +8227,8 @@ enum netlink_attribute_type { NL_ATTR_TYPE_NESTED = 13, NL_ATTR_TYPE_NESTED_ARRAY = 14, NL_ATTR_TYPE_BITFIELD32 = 15, + NL_ATTR_TYPE_SINT = 16, + NL_ATTR_TYPE_UINT = 17, }; enum netlink_policy_type_attr { @@ -7328,18 +8274,7 @@ enum nexthop_event_type { NEXTHOP_EVENT_REPLACE = 1, NEXTHOP_EVENT_RES_TABLE_PRE_REPLACE = 2, NEXTHOP_EVENT_BUCKET_REPLACE = 3, -}; - -enum nf_dev_hooks { - NF_NETDEV_INGRESS = 0, - NF_NETDEV_EGRESS = 1, - NF_NETDEV_NUMHOOKS = 2, -}; - -enum nf_hook_ops_type { - NF_HOOK_OP_UNDEFINED = 0, - NF_HOOK_OP_NF_TABLES = 1, - NF_HOOK_OP_BPF = 2, + NEXTHOP_EVENT_HW_STATS_REPORT_DELTA = 4, }; enum nf_inet_hooks { @@ -7352,30 +8287,6 @@ enum nf_inet_hooks { NF_INET_INGRESS = 5, }; -enum nf_ip_hook_priorities { - NF_IP_PRI_FIRST = -2147483648, - NF_IP_PRI_RAW_BEFORE_DEFRAG = -450, - NF_IP_PRI_CONNTRACK_DEFRAG = -400, - NF_IP_PRI_RAW = -300, - NF_IP_PRI_SELINUX_FIRST = -225, - NF_IP_PRI_CONNTRACK = -200, - NF_IP_PRI_MANGLE = -150, - NF_IP_PRI_NAT_DST = -100, - NF_IP_PRI_FILTER = 0, - NF_IP_PRI_SECURITY = 50, - NF_IP_PRI_NAT_SRC = 100, - NF_IP_PRI_SELINUX_LAST = 225, - NF_IP_PRI_CONNTRACK_HELPER = 300, - NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, - NF_IP_PRI_LAST = 2147483647, -}; - -enum nf_log_type { - NF_LOG_TYPE_LOG = 0, - NF_LOG_TYPE_ULOG = 1, - NF_LOG_TYPE_MAX = 2, -}; - enum nfs_opnum4 { OP_ACCESS = 3, OP_CLOSE = 4, @@ -7458,6 +8369,7 @@ enum nh_notifier_info_type { NH_NOTIFIER_INFO_TYPE_GRP = 1, NH_NOTIFIER_INFO_TYPE_RES_TABLE = 2, NH_NOTIFIER_INFO_TYPE_RES_BUCKET = 3, + NH_NOTIFIER_INFO_TYPE_GRP_HW_STATS = 4, }; enum nla_policy_validation { @@ -7528,7 +8440,10 @@ enum node_stat_item { NR_KERNEL_STACK_KB = 37, NR_PAGETABLE = 38, NR_SECONDARY_PAGETABLE = 39, - NR_VM_NODE_STAT_ITEMS = 40, + PGDEMOTE_KSWAPD = 40, + PGDEMOTE_DIRECT = 41, + PGDEMOTE_KHUGEPAGED = 42, + NR_VM_NODE_STAT_ITEMS = 43, }; enum node_states { @@ -7562,6 +8477,10 @@ enum owner_state { OWNER_NONSPINNABLE = 8, }; +enum page_size_enum { + __PAGE_SIZE = 4096, +}; + enum page_walk_action { ACTION_SUBTREE = 0, ACTION_CONTINUE = 1, @@ -7592,33 +8511,45 @@ enum pageflags { PG_waiters = 7, PG_active = 8, PG_workingset = 9, - PG_error = 10, - PG_slab = 11, - PG_owner_priv_1 = 12, - PG_arch_1 = 13, - PG_reserved = 14, - PG_private = 15, - PG_private_2 = 16, - PG_mappedtodisk = 17, - PG_reclaim = 18, - PG_swapbacked = 19, - PG_unevictable = 20, - PG_mlocked = 21, - __NR_PAGEFLAGS = 22, - PG_readahead = 18, - PG_anon_exclusive = 17, - PG_checked = 12, - PG_swapcache = 12, - PG_fscache = 16, - PG_pinned = 12, + PG_owner_priv_1 = 10, + PG_owner_2 = 11, + PG_arch_1 = 12, + PG_reserved = 13, + PG_private = 14, + PG_private_2 = 15, + PG_reclaim = 16, + PG_swapbacked = 17, + PG_unevictable = 18, + PG_dropbehind = 19, + PG_mlocked = 20, + __NR_PAGEFLAGS = 21, + PG_readahead = 16, + PG_swapcache = 10, + PG_checked = 10, + PG_anon_exclusive = 11, + PG_mappedtodisk = 11, + PG_fscache = 15, + PG_pinned = 10, PG_savepinned = 4, - PG_foreign = 12, - PG_xen_remapped = 12, - PG_isolated = 18, + PG_foreign = 10, + PG_xen_remapped = 10, + PG_isolated = 16, PG_reported = 3, - PG_has_hwpoisoned = 10, - PG_hugetlb = 8, + PG_has_hwpoisoned = 8, PG_large_rmappable = 9, + PG_partially_mapped = 16, +}; + +enum pagetype { + PGTY_buddy = 240, + PGTY_offline = 241, + PGTY_table = 242, + PGTY_guard = 243, + PGTY_hugetlb = 244, + PGTY_slab = 245, + PGTY_zsmalloc = 246, + PGTY_unaccepted = 247, + PGTY_mapcount_underflow = 255, }; enum pci_p2pdma_map_type { @@ -7668,7 +8599,8 @@ enum perf_branch_sample_type { PERF_SAMPLE_BRANCH_TYPE_SAVE = 65536, PERF_SAMPLE_BRANCH_HW_INDEX = 131072, PERF_SAMPLE_BRANCH_PRIV_SAVE = 262144, - PERF_SAMPLE_BRANCH_MAX = 524288, + PERF_SAMPLE_BRANCH_COUNTERS = 524288, + PERF_SAMPLE_BRANCH_MAX = 1048576, }; enum perf_branch_sample_type_shift { @@ -7691,7 +8623,8 @@ enum perf_branch_sample_type_shift { PERF_SAMPLE_BRANCH_TYPE_SAVE_SHIFT = 16, PERF_SAMPLE_BRANCH_HW_INDEX_SHIFT = 17, PERF_SAMPLE_BRANCH_PRIV_SAVE_SHIFT = 18, - PERF_SAMPLE_BRANCH_MAX_SHIFT = 19, + PERF_SAMPLE_BRANCH_COUNTERS_SHIFT = 19, + PERF_SAMPLE_BRANCH_MAX_SHIFT = 20, }; enum perf_callchain_context { @@ -7861,6 +8794,16 @@ enum perf_hw_id { PERF_COUNT_HW_MAX = 10, }; +enum perf_pmu_scope { + PERF_PMU_SCOPE_NONE = 0, + PERF_PMU_SCOPE_CORE = 1, + PERF_PMU_SCOPE_DIE = 2, + PERF_PMU_SCOPE_CLUSTER = 3, + PERF_PMU_SCOPE_PKG = 4, + PERF_PMU_SCOPE_SYS_WIDE = 5, + PERF_PMU_MAX_SCOPE = 6, +}; + enum perf_probe_config { PERF_PROBE_CONFIG_IS_RETPROBE = 1, PERF_UPROBE_REF_CTR_OFFSET_BITS = 32, @@ -7938,6 +8881,11 @@ enum phy_tunable_id { __ETHTOOL_PHY_TUNABLE_COUNT = 4, }; +enum phy_upstream { + PHY_UPSTREAM_MAC = 0, + PHY_UPSTREAM_PHY = 1, +}; + enum pid_type { PIDTYPE_PID = 0, PIDTYPE_TGID = 1, @@ -7996,6 +8944,12 @@ enum print_line_t { TRACE_TYPE_NO_CONSUME = 3, }; +enum priv_stack_mode { + PRIV_STACK_UNKNOWN = 0, + NO_PRIV_STACK = 1, + PRIV_STACK_ADAPTIVE = 2, +}; + enum probe_insn { INSN_REJECTED = 0, INSN_GOOD_NO_SLOT = 1, @@ -8068,6 +9022,12 @@ enum reboot_type { BOOT_CF9_SAFE = 113, }; +enum ref_state_type { + REF_TYPE_PTR = 1, + REF_TYPE_IRQ = 2, + REF_TYPE_LOCK = 3, +}; + enum refcount_saturation_type { REFCOUNT_ADD_NOT_ZERO_OVF = 0, REFCOUNT_ADD_OVF = 1, @@ -8120,6 +9080,11 @@ enum rlimit_type { UCOUNT_RLIMIT_COUNTS = 4, }; +enum rmap_level { + RMAP_LEVEL_PTE = 0, + RMAP_LEVEL_PMD = 1, +}; + enum rp_check { RP_CHECK_CALL = 0, RP_CHECK_CHAIN_CALL = 1, @@ -8136,12 +9101,6 @@ enum rpc_display_format_t { RPC_DISPLAY_MAX = 6, }; -enum rseq_cs_flags_bit { - RSEQ_CS_FLAG_NO_RESTART_ON_PREEMPT_BIT = 0, - RSEQ_CS_FLAG_NO_RESTART_ON_SIGNAL_BIT = 1, - RSEQ_CS_FLAG_NO_RESTART_ON_MIGRATE_BIT = 2, -}; - enum rt6_nud_state { RT6_NUD_FAIL_HARD = -3, RT6_NUD_FAIL_PROBE = -2, @@ -8198,7 +9157,8 @@ enum rtattr_type_t { RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, - __RTA_MAX = 31, + RTA_FLOWLABEL = 31, + __RTA_MAX = 32, }; enum rtnetlink_groups { @@ -8239,7 +9199,10 @@ enum rtnetlink_groups { RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, - __RTNLGRP_MAX = 37, + RTNLGRP_IPV4_MCADDR = 37, + RTNLGRP_IPV6_MCADDR = 38, + RTNLGRP_IPV6_ACADDR = 39, + __RTNLGRP_MAX = 40, }; enum rtnl_kinds { @@ -8252,11 +9215,8 @@ enum rtnl_kinds { enum rtnl_link_flags { RTNL_FLAG_DOIT_UNLOCKED = 1, RTNL_FLAG_BULK_DEL_SUPPORTED = 2, -}; - -enum rv_vdso_map { - RV_VDSO_MAP_VVAR = 0, - RV_VDSO_MAP_VDSO = 1, + RTNL_FLAG_DUMP_UNLOCKED = 4, + RTNL_FLAG_DUMP_SPLIT_NLM_DONE = 8, }; enum rw_hint { @@ -8266,7 +9226,7 @@ enum rw_hint { WRITE_LIFE_MEDIUM = 3, WRITE_LIFE_LONG = 4, WRITE_LIFE_EXTREME = 5, -}; +} __attribute__((mode(byte))); enum rwsem_waiter_type { RWSEM_WAITING_FOR_WRITE = 0, @@ -8298,6 +9258,12 @@ enum sbi_ext_base_fid { SBI_EXT_BASE_GET_MIMPID = 6, }; +enum sbi_ext_dbcn_fid { + SBI_EXT_DBCN_CONSOLE_WRITE = 0, + SBI_EXT_DBCN_CONSOLE_READ = 1, + SBI_EXT_DBCN_CONSOLE_WRITE_BYTE = 2, +}; + enum sbi_ext_id { SBI_EXT_BASE = 16, SBI_EXT_TIME = 1414090053, @@ -8305,7 +9271,11 @@ enum sbi_ext_id { SBI_EXT_RFENCE = 1380339267, SBI_EXT_HSM = 4739917, SBI_EXT_SRST = 1397904212, + SBI_EXT_SUSP = 1398100816, SBI_EXT_PMU = 5262677, + SBI_EXT_DBCN = 1145193294, + SBI_EXT_STA = 5461057, + SBI_EXT_NACL = 1312899916, SBI_EXT_EXPERIMENTAL_START = 134217728, SBI_EXT_EXPERIMENTAL_END = 150994943, SBI_EXT_VENDOR_START = 150994944, @@ -8323,6 +9293,8 @@ enum sbi_ext_pmu_fid { SBI_EXT_PMU_COUNTER_START = 3, SBI_EXT_PMU_COUNTER_STOP = 4, SBI_EXT_PMU_COUNTER_FW_READ = 5, + SBI_EXT_PMU_COUNTER_FW_READ_HI = 6, + SBI_EXT_PMU_SNAPSHOT_SET_SHMEM = 7, }; enum sbi_ext_rfence_fid { @@ -8385,6 +9357,7 @@ enum scale_freq_source { SCALE_FREQ_SOURCE_CPUFREQ = 0, SCALE_FREQ_SOURCE_ARCH = 1, SCALE_FREQ_SOURCE_CPPC = 2, + SCALE_FREQ_SOURCE_VIRT = 3, }; enum scan_balance { @@ -8405,6 +9378,11 @@ enum sctp_msg_flags { MSG_NOTIFICATION = 32768, }; +enum set_event_iter_type { + SET_EVENT_FILE = 0, + SET_EVENT_MOD = 1, +}; + enum sig_handler { HANDLER_CURRENT = 0, HANDLER_SIG_DFL = 1, @@ -8442,86 +9420,152 @@ enum sk_psock_state_bits { SK_PSOCK_RX_STRP_ENABLED = 1, }; +enum sk_rst_reason { + SK_RST_REASON_NOT_SPECIFIED = 0, + SK_RST_REASON_NO_SOCKET = 1, + SK_RST_REASON_TCP_INVALID_ACK_SEQUENCE = 2, + SK_RST_REASON_TCP_RFC7323_PAWS = 3, + SK_RST_REASON_TCP_TOO_OLD_ACK = 4, + SK_RST_REASON_TCP_ACK_UNSENT_DATA = 5, + SK_RST_REASON_TCP_FLAGS = 6, + SK_RST_REASON_TCP_OLD_ACK = 7, + SK_RST_REASON_TCP_ABORT_ON_DATA = 8, + SK_RST_REASON_TCP_TIMEWAIT_SOCKET = 9, + SK_RST_REASON_INVALID_SYN = 10, + SK_RST_REASON_TCP_ABORT_ON_CLOSE = 11, + SK_RST_REASON_TCP_ABORT_ON_LINGER = 12, + SK_RST_REASON_TCP_ABORT_ON_MEMORY = 13, + SK_RST_REASON_TCP_STATE = 14, + SK_RST_REASON_TCP_KEEPALIVE_TIMEOUT = 15, + SK_RST_REASON_TCP_DISCONNECT_WITH_DATA = 16, + SK_RST_REASON_MPTCP_RST_EUNSPEC = 17, + SK_RST_REASON_MPTCP_RST_EMPTCP = 18, + SK_RST_REASON_MPTCP_RST_ERESOURCE = 19, + SK_RST_REASON_MPTCP_RST_EPROHIBIT = 20, + SK_RST_REASON_MPTCP_RST_EWQ2BIG = 21, + SK_RST_REASON_MPTCP_RST_EBADPERF = 22, + SK_RST_REASON_MPTCP_RST_EMIDDLEBOX = 23, + SK_RST_REASON_ERROR = 24, + SK_RST_REASON_MAX = 25, +}; + enum skb_drop_reason { SKB_NOT_DROPPED_YET = 0, SKB_CONSUMED = 1, SKB_DROP_REASON_NOT_SPECIFIED = 2, SKB_DROP_REASON_NO_SOCKET = 3, - SKB_DROP_REASON_PKT_TOO_SMALL = 4, - SKB_DROP_REASON_TCP_CSUM = 5, - SKB_DROP_REASON_SOCKET_FILTER = 6, - SKB_DROP_REASON_UDP_CSUM = 7, - SKB_DROP_REASON_NETFILTER_DROP = 8, - SKB_DROP_REASON_OTHERHOST = 9, - SKB_DROP_REASON_IP_CSUM = 10, - SKB_DROP_REASON_IP_INHDR = 11, - SKB_DROP_REASON_IP_RPFILTER = 12, - SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST = 13, - SKB_DROP_REASON_XFRM_POLICY = 14, - SKB_DROP_REASON_IP_NOPROTO = 15, - SKB_DROP_REASON_SOCKET_RCVBUFF = 16, - SKB_DROP_REASON_PROTO_MEM = 17, - SKB_DROP_REASON_TCP_MD5NOTFOUND = 18, - SKB_DROP_REASON_TCP_MD5UNEXPECTED = 19, - SKB_DROP_REASON_TCP_MD5FAILURE = 20, - SKB_DROP_REASON_SOCKET_BACKLOG = 21, - SKB_DROP_REASON_TCP_FLAGS = 22, - SKB_DROP_REASON_TCP_ZEROWINDOW = 23, - SKB_DROP_REASON_TCP_OLD_DATA = 24, - SKB_DROP_REASON_TCP_OVERWINDOW = 25, - SKB_DROP_REASON_TCP_OFOMERGE = 26, - SKB_DROP_REASON_TCP_RFC7323_PAWS = 27, - SKB_DROP_REASON_TCP_OLD_SEQUENCE = 28, - SKB_DROP_REASON_TCP_INVALID_SEQUENCE = 29, - SKB_DROP_REASON_TCP_RESET = 30, - SKB_DROP_REASON_TCP_INVALID_SYN = 31, - SKB_DROP_REASON_TCP_CLOSE = 32, - SKB_DROP_REASON_TCP_FASTOPEN = 33, - SKB_DROP_REASON_TCP_OLD_ACK = 34, - SKB_DROP_REASON_TCP_TOO_OLD_ACK = 35, - SKB_DROP_REASON_TCP_ACK_UNSENT_DATA = 36, - SKB_DROP_REASON_TCP_OFO_QUEUE_PRUNE = 37, - SKB_DROP_REASON_TCP_OFO_DROP = 38, - SKB_DROP_REASON_IP_OUTNOROUTES = 39, - SKB_DROP_REASON_BPF_CGROUP_EGRESS = 40, - SKB_DROP_REASON_IPV6DISABLED = 41, - SKB_DROP_REASON_NEIGH_CREATEFAIL = 42, - SKB_DROP_REASON_NEIGH_FAILED = 43, - SKB_DROP_REASON_NEIGH_QUEUEFULL = 44, - SKB_DROP_REASON_NEIGH_DEAD = 45, - SKB_DROP_REASON_TC_EGRESS = 46, - SKB_DROP_REASON_QDISC_DROP = 47, - SKB_DROP_REASON_CPU_BACKLOG = 48, - SKB_DROP_REASON_XDP = 49, - SKB_DROP_REASON_TC_INGRESS = 50, - SKB_DROP_REASON_UNHANDLED_PROTO = 51, - SKB_DROP_REASON_SKB_CSUM = 52, - SKB_DROP_REASON_SKB_GSO_SEG = 53, - SKB_DROP_REASON_SKB_UCOPY_FAULT = 54, - SKB_DROP_REASON_DEV_HDR = 55, - SKB_DROP_REASON_DEV_READY = 56, - SKB_DROP_REASON_FULL_RING = 57, - SKB_DROP_REASON_NOMEM = 58, - SKB_DROP_REASON_HDR_TRUNC = 59, - SKB_DROP_REASON_TAP_FILTER = 60, - SKB_DROP_REASON_TAP_TXFILTER = 61, - SKB_DROP_REASON_ICMP_CSUM = 62, - SKB_DROP_REASON_INVALID_PROTO = 63, - SKB_DROP_REASON_IP_INADDRERRORS = 64, - SKB_DROP_REASON_IP_INNOROUTES = 65, - SKB_DROP_REASON_PKT_TOO_BIG = 66, - SKB_DROP_REASON_DUP_FRAG = 67, - SKB_DROP_REASON_FRAG_REASM_TIMEOUT = 68, - SKB_DROP_REASON_FRAG_TOO_FAR = 69, - SKB_DROP_REASON_TCP_MINTTL = 70, - SKB_DROP_REASON_IPV6_BAD_EXTHDR = 71, - SKB_DROP_REASON_IPV6_NDISC_FRAG = 72, - SKB_DROP_REASON_IPV6_NDISC_HOP_LIMIT = 73, - SKB_DROP_REASON_IPV6_NDISC_BAD_CODE = 74, - SKB_DROP_REASON_IPV6_NDISC_BAD_OPTIONS = 75, - SKB_DROP_REASON_IPV6_NDISC_NS_OTHERHOST = 76, - SKB_DROP_REASON_QUEUE_PURGE = 77, - SKB_DROP_REASON_MAX = 78, + SKB_DROP_REASON_SOCKET_CLOSE = 4, + SKB_DROP_REASON_SOCKET_FILTER = 5, + SKB_DROP_REASON_SOCKET_RCVBUFF = 6, + SKB_DROP_REASON_UNIX_DISCONNECT = 7, + SKB_DROP_REASON_UNIX_SKIP_OOB = 8, + SKB_DROP_REASON_PKT_TOO_SMALL = 9, + SKB_DROP_REASON_TCP_CSUM = 10, + SKB_DROP_REASON_UDP_CSUM = 11, + SKB_DROP_REASON_NETFILTER_DROP = 12, + SKB_DROP_REASON_OTHERHOST = 13, + SKB_DROP_REASON_IP_CSUM = 14, + SKB_DROP_REASON_IP_INHDR = 15, + SKB_DROP_REASON_IP_RPFILTER = 16, + SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST = 17, + SKB_DROP_REASON_XFRM_POLICY = 18, + SKB_DROP_REASON_IP_NOPROTO = 19, + SKB_DROP_REASON_PROTO_MEM = 20, + SKB_DROP_REASON_TCP_AUTH_HDR = 21, + SKB_DROP_REASON_TCP_MD5NOTFOUND = 22, + SKB_DROP_REASON_TCP_MD5UNEXPECTED = 23, + SKB_DROP_REASON_TCP_MD5FAILURE = 24, + SKB_DROP_REASON_TCP_AONOTFOUND = 25, + SKB_DROP_REASON_TCP_AOUNEXPECTED = 26, + SKB_DROP_REASON_TCP_AOKEYNOTFOUND = 27, + SKB_DROP_REASON_TCP_AOFAILURE = 28, + SKB_DROP_REASON_SOCKET_BACKLOG = 29, + SKB_DROP_REASON_TCP_FLAGS = 30, + SKB_DROP_REASON_TCP_ABORT_ON_DATA = 31, + SKB_DROP_REASON_TCP_ZEROWINDOW = 32, + SKB_DROP_REASON_TCP_OLD_DATA = 33, + SKB_DROP_REASON_TCP_OVERWINDOW = 34, + SKB_DROP_REASON_TCP_OFOMERGE = 35, + SKB_DROP_REASON_TCP_RFC7323_PAWS = 36, + SKB_DROP_REASON_TCP_RFC7323_PAWS_ACK = 37, + SKB_DROP_REASON_TCP_OLD_SEQUENCE = 38, + SKB_DROP_REASON_TCP_INVALID_SEQUENCE = 39, + SKB_DROP_REASON_TCP_INVALID_ACK_SEQUENCE = 40, + SKB_DROP_REASON_TCP_RESET = 41, + SKB_DROP_REASON_TCP_INVALID_SYN = 42, + SKB_DROP_REASON_TCP_CLOSE = 43, + SKB_DROP_REASON_TCP_FASTOPEN = 44, + SKB_DROP_REASON_TCP_OLD_ACK = 45, + SKB_DROP_REASON_TCP_TOO_OLD_ACK = 46, + SKB_DROP_REASON_TCP_ACK_UNSENT_DATA = 47, + SKB_DROP_REASON_TCP_OFO_QUEUE_PRUNE = 48, + SKB_DROP_REASON_TCP_OFO_DROP = 49, + SKB_DROP_REASON_IP_OUTNOROUTES = 50, + SKB_DROP_REASON_BPF_CGROUP_EGRESS = 51, + SKB_DROP_REASON_IPV6DISABLED = 52, + SKB_DROP_REASON_NEIGH_CREATEFAIL = 53, + SKB_DROP_REASON_NEIGH_FAILED = 54, + SKB_DROP_REASON_NEIGH_QUEUEFULL = 55, + SKB_DROP_REASON_NEIGH_DEAD = 56, + SKB_DROP_REASON_TC_EGRESS = 57, + SKB_DROP_REASON_SECURITY_HOOK = 58, + SKB_DROP_REASON_QDISC_DROP = 59, + SKB_DROP_REASON_QDISC_OVERLIMIT = 60, + SKB_DROP_REASON_QDISC_CONGESTED = 61, + SKB_DROP_REASON_CAKE_FLOOD = 62, + SKB_DROP_REASON_FQ_BAND_LIMIT = 63, + SKB_DROP_REASON_FQ_HORIZON_LIMIT = 64, + SKB_DROP_REASON_FQ_FLOW_LIMIT = 65, + SKB_DROP_REASON_CPU_BACKLOG = 66, + SKB_DROP_REASON_XDP = 67, + SKB_DROP_REASON_TC_INGRESS = 68, + SKB_DROP_REASON_UNHANDLED_PROTO = 69, + SKB_DROP_REASON_SKB_CSUM = 70, + SKB_DROP_REASON_SKB_GSO_SEG = 71, + SKB_DROP_REASON_SKB_UCOPY_FAULT = 72, + SKB_DROP_REASON_DEV_HDR = 73, + SKB_DROP_REASON_DEV_READY = 74, + SKB_DROP_REASON_FULL_RING = 75, + SKB_DROP_REASON_NOMEM = 76, + SKB_DROP_REASON_HDR_TRUNC = 77, + SKB_DROP_REASON_TAP_FILTER = 78, + SKB_DROP_REASON_TAP_TXFILTER = 79, + SKB_DROP_REASON_ICMP_CSUM = 80, + SKB_DROP_REASON_INVALID_PROTO = 81, + SKB_DROP_REASON_IP_INADDRERRORS = 82, + SKB_DROP_REASON_IP_INNOROUTES = 83, + SKB_DROP_REASON_IP_LOCAL_SOURCE = 84, + SKB_DROP_REASON_IP_INVALID_SOURCE = 85, + SKB_DROP_REASON_IP_LOCALNET = 86, + SKB_DROP_REASON_IP_INVALID_DEST = 87, + SKB_DROP_REASON_PKT_TOO_BIG = 88, + SKB_DROP_REASON_DUP_FRAG = 89, + SKB_DROP_REASON_FRAG_REASM_TIMEOUT = 90, + SKB_DROP_REASON_FRAG_TOO_FAR = 91, + SKB_DROP_REASON_TCP_MINTTL = 92, + SKB_DROP_REASON_IPV6_BAD_EXTHDR = 93, + SKB_DROP_REASON_IPV6_NDISC_FRAG = 94, + SKB_DROP_REASON_IPV6_NDISC_HOP_LIMIT = 95, + SKB_DROP_REASON_IPV6_NDISC_BAD_CODE = 96, + SKB_DROP_REASON_IPV6_NDISC_BAD_OPTIONS = 97, + SKB_DROP_REASON_IPV6_NDISC_NS_OTHERHOST = 98, + SKB_DROP_REASON_QUEUE_PURGE = 99, + SKB_DROP_REASON_TC_COOKIE_ERROR = 100, + SKB_DROP_REASON_PACKET_SOCK_ERROR = 101, + SKB_DROP_REASON_TC_CHAIN_NOTFOUND = 102, + SKB_DROP_REASON_TC_RECLASSIFY_LOOP = 103, + SKB_DROP_REASON_VXLAN_INVALID_HDR = 104, + SKB_DROP_REASON_VXLAN_VNI_NOT_FOUND = 105, + SKB_DROP_REASON_MAC_INVALID_SOURCE = 106, + SKB_DROP_REASON_VXLAN_ENTRY_EXISTS = 107, + SKB_DROP_REASON_NO_TX_TARGET = 108, + SKB_DROP_REASON_IP_TUNNEL_ECN = 109, + SKB_DROP_REASON_TUNNEL_TXINFO = 110, + SKB_DROP_REASON_LOCAL_MAC = 111, + SKB_DROP_REASON_ARP_PVLAN_DISABLE = 112, + SKB_DROP_REASON_MAC_IEEE_MAC_CONTROL = 113, + SKB_DROP_REASON_BRIDGE_INGRESS_STP_STATE = 114, + SKB_DROP_REASON_MAX = 115, SKB_DROP_REASON_SUBSYS_MASK = 4294901760, }; @@ -8533,6 +9577,13 @@ enum skb_drop_reason_subsys { SKB_DROP_REASON_SUBSYS_NUM = 4, }; +enum skb_tstamp_type { + SKB_CLOCK_REALTIME = 0, + SKB_CLOCK_MONOTONIC = 1, + SKB_CLOCK_TAI = 2, + __SKB_CLOCK_MAX = 2, +}; + enum sknetlink_groups { SKNLGRP_NONE = 0, SKNLGRP_INET_TCP_DESTROY = 1, @@ -8545,9 +9596,8 @@ enum sknetlink_groups { enum slab_state { DOWN = 0, PARTIAL = 1, - PARTIAL_NODE = 2, - UP = 3, - FULL = 4, + UP = 2, + FULL = 3, }; enum sock_flags { @@ -8579,6 +9629,7 @@ enum sock_flags { SOCK_XDP = 25, SOCK_TSTAMP_NEW = 26, SOCK_RCVMARK = 27, + SOCK_RCVPRIORITY = 28, }; enum sock_shutdown_cmd { @@ -8617,6 +9668,20 @@ enum special_kfunc_type { KF_bpf_dynptr_slice = 16, KF_bpf_dynptr_slice_rdwr = 17, KF_bpf_dynptr_clone = 18, + KF_bpf_percpu_obj_new_impl = 19, + KF_bpf_percpu_obj_drop_impl = 20, + KF_bpf_throw = 21, + KF_bpf_wq_set_callback_impl = 22, + KF_bpf_preempt_disable = 23, + KF_bpf_preempt_enable = 24, + KF_bpf_iter_css_task_new = 25, + KF_bpf_session_cookie = 26, + KF_bpf_get_kmem_cache = 27, + KF_bpf_local_irq_save = 28, + KF_bpf_local_irq_restore = 29, + KF_bpf_iter_num_new = 30, + KF_bpf_iter_num_next = 31, + KF_bpf_iter_num_destroy = 32, }; enum stat_item { @@ -8649,9 +9714,25 @@ enum stat_item { NR_SLUB_STAT_ITEMS = 26, }; +enum store_type { + wr_invalid = 0, + wr_new_root = 1, + wr_store_root = 2, + wr_exact_fit = 3, + wr_spanning_store = 4, + wr_split_store = 5, + wr_rebalance = 6, + wr_append = 7, + wr_node_store = 8, + wr_slot_store = 9, +}; + enum string_size_units { STRING_UNITS_10 = 0, STRING_UNITS_2 = 1, + STRING_UNITS_MASK = 1, + STRING_UNITS_NO_SPACE = 1073741824, + STRING_UNITS_NO_BYTES = 2147483648, }; enum sum_check_bits { @@ -8692,6 +9773,7 @@ enum task_work_notify_mode { TWA_RESUME = 1, TWA_SIGNAL = 2, TWA_SIGNAL_NO_IPI = 3, + TWA_NMI_CURRENT = 4, }; enum tc_mq_command { @@ -8779,6 +9861,16 @@ enum tcp_queue { TCP_FRAG_IN_RTX_QUEUE = 1, }; +enum tcp_skb_cb_sacked_flags { + TCPCB_SACKED_ACKED = 1, + TCPCB_SACKED_RETRANS = 2, + TCPCB_LOST = 4, + TCPCB_TAGBITS = 7, + TCPCB_REPAIRED = 16, + TCPCB_EVER_RETRANS = 128, + TCPCB_RETRANS = 146, +}; + enum tcp_synack_type { TCP_SYNACK_NORMAL = 0, TCP_SYNACK_FASTOPEN = 1, @@ -8863,7 +9955,8 @@ enum tlb_flush_reason { TLB_LOCAL_SHOOTDOWN = 2, TLB_LOCAL_MM_SHOOTDOWN = 3, TLB_REMOTE_SEND_IPI = 4, - NR_TLB_FLUSH_REASONS = 5, + TLB_REMOTE_WRONG_CPU = 5, + NR_TLB_FLUSH_REASONS = 6, }; enum tp_func_state { @@ -8890,7 +9983,7 @@ enum tpm_duration { enum trace_flag_type { TRACE_FLAG_IRQS_OFF = 1, - TRACE_FLAG_IRQS_NOSUPPORT = 2, + TRACE_FLAG_NEED_RESCHED_LAZY = 2, TRACE_FLAG_NEED_RESCHED = 4, TRACE_FLAG_HARDIRQ = 8, TRACE_FLAG_SOFTIRQ = 16, @@ -8929,13 +10022,14 @@ enum trace_iterator_bits { TRACE_ITER_IRQ_INFO_BIT = 20, TRACE_ITER_MARKERS_BIT = 21, TRACE_ITER_EVENT_FORK_BIT = 22, - TRACE_ITER_PAUSE_ON_TRACE_BIT = 23, - TRACE_ITER_HASH_PTR_BIT = 24, - TRACE_ITER_FUNCTION_BIT = 25, - TRACE_ITER_FUNC_FORK_BIT = 26, - TRACE_ITER_DISPLAY_GRAPH_BIT = 27, - TRACE_ITER_STACKTRACE_BIT = 28, - TRACE_ITER_LAST_BIT = 29, + TRACE_ITER_TRACE_PRINTK_BIT = 23, + TRACE_ITER_PAUSE_ON_TRACE_BIT = 24, + TRACE_ITER_HASH_PTR_BIT = 25, + TRACE_ITER_FUNCTION_BIT = 26, + TRACE_ITER_FUNC_FORK_BIT = 27, + TRACE_ITER_DISPLAY_GRAPH_BIT = 28, + TRACE_ITER_STACKTRACE_BIT = 29, + TRACE_ITER_LAST_BIT = 30, }; enum trace_iterator_flags { @@ -8962,12 +10056,13 @@ enum trace_iterator_flags { TRACE_ITER_IRQ_INFO = 1048576, TRACE_ITER_MARKERS = 2097152, TRACE_ITER_EVENT_FORK = 4194304, - TRACE_ITER_PAUSE_ON_TRACE = 8388608, - TRACE_ITER_HASH_PTR = 16777216, - TRACE_ITER_FUNCTION = 33554432, - TRACE_ITER_FUNC_FORK = 67108864, - TRACE_ITER_DISPLAY_GRAPH = 134217728, - TRACE_ITER_STACKTRACE = 268435456, + TRACE_ITER_TRACE_PRINTK = 8388608, + TRACE_ITER_PAUSE_ON_TRACE = 16777216, + TRACE_ITER_HASH_PTR = 33554432, + TRACE_ITER_FUNCTION = 67108864, + TRACE_ITER_FUNC_FORK = 134217728, + TRACE_ITER_DISPLAY_GRAPH = 268435456, + TRACE_ITER_STACKTRACE = 536870912, }; enum trace_reg { @@ -8994,15 +10089,16 @@ enum trace_type { TRACE_BRANCH = 9, TRACE_GRAPH_RET = 10, TRACE_GRAPH_ENT = 11, - TRACE_USER_STACK = 12, - TRACE_BLK = 13, - TRACE_BPUTS = 14, - TRACE_HWLAT = 15, - TRACE_OSNOISE = 16, - TRACE_TIMERLAT = 17, - TRACE_RAW_DATA = 18, - TRACE_FUNC_REPEATS = 19, - __TRACE_LAST_TYPE = 20, + TRACE_GRAPH_RETADDR_ENT = 12, + TRACE_USER_STACK = 13, + TRACE_BLK = 14, + TRACE_BPUTS = 15, + TRACE_HWLAT = 16, + TRACE_OSNOISE = 17, + TRACE_TIMERLAT = 18, + TRACE_RAW_DATA = 19, + TRACE_FUNC_REPEATS = 20, + __TRACE_LAST_TYPE = 21, }; enum tsq_enum { @@ -9012,6 +10108,7 @@ enum tsq_enum { TCP_WRITE_TIMER_DEFERRED = 3, TCP_DELACK_TIMER_DEFERRED = 4, TCP_MTU_REDUCED_DEFERRED = 5, + TCP_ACK_DEFERRED = 6, }; enum tsq_flags { @@ -9021,6 +10118,7 @@ enum tsq_flags { TCPF_WRITE_TIMER_DEFERRED = 8, TCPF_DELACK_TIMER_DEFERRED = 16, TCPF_MTU_REDUCED_DEFERRED = 32, + TCPF_ACK_DEFERRED = 64, }; enum ttu_flags { @@ -9105,12 +10203,6 @@ enum umount_tree_flags { UMOUNT_CONNECTED = 4, }; -enum uprobe_filter_ctx { - UPROBE_FILTER_REGISTER = 0, - UPROBE_FILTER_UNREGISTER = 1, - UPROBE_FILTER_MMAP = 2, -}; - enum uprobe_task_state { UTASK_RUNNING = 0, UTASK_SSTEP = 1, @@ -9145,6 +10237,14 @@ enum verifier_phase { CHECK_TYPE = 1, }; +enum vesa_blank_mode { + VESA_NO_BLANKING = 0, + VESA_VSYNC_SUSPEND = 1, + VESA_HSYNC_SUSPEND = 2, + VESA_POWERDOWN = 3, + VESA_BLANK_MAX = 3, +}; + enum visit_state { NOT_VISITED = 0, VISITED = 1, @@ -9177,35 +10277,32 @@ enum vm_event_item { PGSTEAL_KSWAPD = 22, PGSTEAL_DIRECT = 23, PGSTEAL_KHUGEPAGED = 24, - PGDEMOTE_KSWAPD = 25, - PGDEMOTE_DIRECT = 26, - PGDEMOTE_KHUGEPAGED = 27, - PGSCAN_KSWAPD = 28, - PGSCAN_DIRECT = 29, - PGSCAN_KHUGEPAGED = 30, - PGSCAN_DIRECT_THROTTLE = 31, - PGSCAN_ANON = 32, - PGSCAN_FILE = 33, - PGSTEAL_ANON = 34, - PGSTEAL_FILE = 35, - PGINODESTEAL = 36, - SLABS_SCANNED = 37, - KSWAPD_INODESTEAL = 38, - KSWAPD_LOW_WMARK_HIT_QUICKLY = 39, - KSWAPD_HIGH_WMARK_HIT_QUICKLY = 40, - PAGEOUTRUN = 41, - PGROTATED = 42, - DROP_PAGECACHE = 43, - DROP_SLAB = 44, - OOM_KILL = 45, - UNEVICTABLE_PGCULLED = 46, - UNEVICTABLE_PGSCANNED = 47, - UNEVICTABLE_PGRESCUED = 48, - UNEVICTABLE_PGMLOCKED = 49, - UNEVICTABLE_PGMUNLOCKED = 50, - UNEVICTABLE_PGCLEARED = 51, - UNEVICTABLE_PGSTRANDED = 52, - NR_VM_EVENT_ITEMS = 53, + PGSCAN_KSWAPD = 25, + PGSCAN_DIRECT = 26, + PGSCAN_KHUGEPAGED = 27, + PGSCAN_DIRECT_THROTTLE = 28, + PGSCAN_ANON = 29, + PGSCAN_FILE = 30, + PGSTEAL_ANON = 31, + PGSTEAL_FILE = 32, + PGINODESTEAL = 33, + SLABS_SCANNED = 34, + KSWAPD_INODESTEAL = 35, + KSWAPD_LOW_WMARK_HIT_QUICKLY = 36, + KSWAPD_HIGH_WMARK_HIT_QUICKLY = 37, + PAGEOUTRUN = 38, + PGROTATED = 39, + DROP_PAGECACHE = 40, + DROP_SLAB = 41, + OOM_KILL = 42, + UNEVICTABLE_PGCULLED = 43, + UNEVICTABLE_PGSCANNED = 44, + UNEVICTABLE_PGRESCUED = 45, + UNEVICTABLE_PGMLOCKED = 46, + UNEVICTABLE_PGMUNLOCKED = 47, + UNEVICTABLE_PGCLEARED = 48, + UNEVICTABLE_PGSTRANDED = 49, + NR_VM_EVENT_ITEMS = 50, }; enum vm_fault_reason { @@ -9225,6 +10322,18 @@ enum vm_fault_reason { VM_FAULT_HINDEX_MASK = 983040, }; +enum vma_merge_flags { + VMG_FLAG_DEFAULT = 0, + VMG_FLAG_JUST_EXPAND = 1, +}; + +enum vma_merge_state { + VMA_MERGE_START = 0, + VMA_MERGE_ERROR_NOMEM = 1, + VMA_MERGE_NOMERGE = 2, + VMA_MERGE_SUCCESS = 3, +}; + enum vmscan_throttle_state { VMSCAN_THROTTLE_WRITEBACK = 0, VMSCAN_THROTTLE_ISOLATED = 1, @@ -9266,6 +10375,56 @@ enum wb_state { WB_start_all = 3, }; +enum work_bits { + WORK_STRUCT_PENDING_BIT = 0, + WORK_STRUCT_INACTIVE_BIT = 1, + WORK_STRUCT_PWQ_BIT = 2, + WORK_STRUCT_LINKED_BIT = 3, + WORK_STRUCT_FLAG_BITS = 4, + WORK_STRUCT_COLOR_SHIFT = 4, + WORK_STRUCT_COLOR_BITS = 4, + WORK_STRUCT_PWQ_SHIFT = 8, + WORK_OFFQ_FLAG_SHIFT = 4, + WORK_OFFQ_BH_BIT = 4, + WORK_OFFQ_FLAG_END = 5, + WORK_OFFQ_FLAG_BITS = 1, + WORK_OFFQ_DISABLE_SHIFT = 5, + WORK_OFFQ_DISABLE_BITS = 16, + WORK_OFFQ_POOL_SHIFT = 21, + WORK_OFFQ_LEFT = 43, + WORK_OFFQ_POOL_BITS = 31, +}; + +enum work_cancel_flags { + WORK_CANCEL_DELAYED = 1, + WORK_CANCEL_DISABLE = 2, +}; + +enum work_flags { + WORK_STRUCT_PENDING = 1, + WORK_STRUCT_INACTIVE = 2, + WORK_STRUCT_PWQ = 4, + WORK_STRUCT_LINKED = 8, + WORK_STRUCT_STATIC = 0, +}; + +enum worker_flags { + WORKER_DIE = 2, + WORKER_IDLE = 4, + WORKER_PREP = 8, + WORKER_CPU_INTENSIVE = 64, + WORKER_UNBOUND = 128, + WORKER_REBOUND = 256, + WORKER_NOT_RUNNING = 456, +}; + +enum worker_pool_flags { + POOL_BH = 1, + POOL_MANAGER_ACTIVE = 2, + POOL_DISASSOCIATED = 4, + POOL_BH_DRAINING = 8, +}; + enum wq_affn_scope { WQ_AFFN_DFL = 0, WQ_AFFN_CPU = 1, @@ -9276,6 +10435,52 @@ enum wq_affn_scope { WQ_AFFN_NR_TYPES = 6, }; +enum wq_consts { + WQ_MAX_ACTIVE = 2048, + WQ_UNBOUND_MAX_ACTIVE = 2048, + WQ_DFL_ACTIVE = 1024, + WQ_DFL_MIN_ACTIVE = 8, +}; + +enum wq_flags { + WQ_BH = 1, + WQ_UNBOUND = 2, + WQ_FREEZABLE = 4, + WQ_MEM_RECLAIM = 8, + WQ_HIGHPRI = 16, + WQ_CPU_INTENSIVE = 32, + WQ_SYSFS = 64, + WQ_POWER_EFFICIENT = 128, + __WQ_DESTROYING = 32768, + __WQ_DRAINING = 65536, + __WQ_ORDERED = 131072, + __WQ_LEGACY = 262144, + __WQ_BH_ALLOWS = 17, +}; + +enum wq_internal_consts { + NR_STD_WORKER_POOLS = 2, + UNBOUND_POOL_HASH_ORDER = 6, + BUSY_WORKER_HASH_ORDER = 6, + MAX_IDLE_WORKERS_RATIO = 4, + IDLE_WORKER_TIMEOUT = 75000, + MAYDAY_INITIAL_TIMEOUT = 2, + MAYDAY_INTERVAL = 25, + CREATE_COOLDOWN = 250, + RESCUER_NICE_LEVEL = -20, + HIGHPRI_NICE_LEVEL = -20, + WQ_NAME_LEN = 32, + WORKER_ID_LEN = 42, +}; + +enum wq_misc_consts { + WORK_NR_COLORS = 16, + WORK_CPU_UNBOUND = 1, + WORK_BUSY_PENDING = 1, + WORK_BUSY_RUNNING = 2, + WORKER_DESC_LEN = 32, +}; + enum writeback_sync_modes { WB_SYNC_NONE = 0, WB_SYNC_ALL = 1, @@ -9316,6 +10521,7 @@ enum xdp_rss_hash_type { XDP_RSS_L4_UDP = 32, XDP_RSS_L4_SCTP = 64, XDP_RSS_L4_IPSEC = 128, + XDP_RSS_L4_ICMP = 256, XDP_RSS_TYPE_NONE = 0, XDP_RSS_TYPE_L2 = 0, XDP_RSS_TYPE_L3_IPV4 = 1, @@ -9327,15 +10533,24 @@ enum xdp_rss_hash_type { XDP_RSS_TYPE_L4_IPV4_UDP = 41, XDP_RSS_TYPE_L4_IPV4_SCTP = 73, XDP_RSS_TYPE_L4_IPV4_IPSEC = 137, + XDP_RSS_TYPE_L4_IPV4_ICMP = 265, XDP_RSS_TYPE_L4_IPV6_TCP = 26, XDP_RSS_TYPE_L4_IPV6_UDP = 42, XDP_RSS_TYPE_L4_IPV6_SCTP = 74, XDP_RSS_TYPE_L4_IPV6_IPSEC = 138, + XDP_RSS_TYPE_L4_IPV6_ICMP = 266, XDP_RSS_TYPE_L4_IPV6_TCP_EX = 30, XDP_RSS_TYPE_L4_IPV6_UDP_EX = 46, XDP_RSS_TYPE_L4_IPV6_SCTP_EX = 78, }; +enum xdp_rx_metadata { + XDP_METADATA_KFUNC_RX_TIMESTAMP = 0, + XDP_METADATA_KFUNC_RX_HASH = 1, + XDP_METADATA_KFUNC_RX_VLAN_TAG = 2, + MAX_XDP_METADATA_KFUNC = 3, +}; + enum xfrm_attr_type_t { XFRMA_UNSPEC = 0, XFRMA_ALG_AUTH = 1, @@ -9370,7 +10585,16 @@ enum xfrm_attr_type_t { XFRMA_SET_MARK_MASK = 30, XFRMA_IF_ID = 31, XFRMA_MTIMER_THRESH = 32, - __XFRMA_MAX = 33, + XFRMA_SA_DIR = 33, + XFRMA_NAT_KEEPALIVE_INTERVAL = 34, + XFRMA_SA_PCPU = 35, + XFRMA_IPTFS_DROP_TIME = 36, + XFRMA_IPTFS_REORDER_WINDOW = 37, + XFRMA_IPTFS_DONT_FRAG = 38, + XFRMA_IPTFS_INIT_DELAY = 39, + XFRMA_IPTFS_MAX_QSIZE = 40, + XFRMA_IPTFS_PKT_SIZE = 41, + __XFRMA_MAX = 42, }; enum xfrm_replay_mode { @@ -9382,6 +10606,7 @@ enum xfrm_replay_mode { enum zone_flags { ZONE_BOOSTED_WATERMARK = 0, ZONE_RECLAIM_ACTIVE = 1, + ZONE_BELOW_HIGH = 2, }; enum zone_stat_item { @@ -9416,6 +10641,10 @@ enum zone_watermarks { typedef _Bool bool; +typedef __int128 unsigned __u128; + +typedef __u128 u128; + typedef const char (* const ethnl_string_array_t)[32]; typedef int __kernel_clockid_t; @@ -9430,6 +10659,8 @@ typedef int __kernel_timer_t; typedef int __s32; +typedef int class_get_unused_fd_t; + typedef __kernel_clockid_t clockid_t; typedef __s32 s32; @@ -9438,12 +10669,18 @@ typedef s32 compat_int_t; typedef s32 compat_ssize_t; +typedef int folio_walk_flags_t; + +typedef int fpb_t; + typedef int fpi_t; typedef s32 int32_t; typedef s32 old_time32_t; +typedef int pci_power_t; + typedef __kernel_pid_t pid_t; typedef int rmap_t; @@ -9520,6 +10757,8 @@ typedef u64 efi_physical_addr_t; typedef __be64 fdt64_t; +typedef u64 io_req_flags_t; + typedef u64 netdev_features_t; typedef u64 phys_addr_t; @@ -9548,6 +10787,8 @@ typedef long unsigned int irq_hw_number_t; typedef long unsigned int kernel_ulong_t; +typedef long unsigned int netmem_ref; + typedef long unsigned int perf_trace_t[1024]; typedef long unsigned int pte_marker; @@ -9588,16 +10829,12 @@ typedef short unsigned int pci_dev_flags_t; typedef __kernel_sa_family_t sa_family_t; -typedef u16 u_int16_t; - typedef u16 ucs2_char_t; typedef u16 uint16_t; typedef short unsigned int umode_t; -typedef short unsigned int ushort; - typedef signed char __s8; typedef __s8 s8; @@ -9648,6 +10885,10 @@ typedef __u32 __wsum; typedef u32 acpi_status; +typedef unsigned int blk_features_t; + +typedef unsigned int blk_flags_t; + typedef unsigned int blk_mode_t; typedef __u32 blk_opf_t; @@ -9670,6 +10911,14 @@ typedef u32 depot_stack_handle_t; typedef __kernel_dev_t dev_t; +typedef u32 efi_cc_event_algorithm_bitmap_t; + +typedef u32 efi_cc_event_log_bitmap_t; + +typedef u32 efi_cc_event_log_format_t; + +typedef u32 efi_cc_mr_index_t; + typedef u32 efi_tcg2_event_log_format; typedef u32 errseq_t; @@ -9680,14 +10929,14 @@ typedef unsigned int fgf_t; typedef unsigned int fmode_t; +typedef unsigned int fop_flags_t; + typedef unsigned int gfp_t; typedef __kernel_gid32_t gid_t; typedef unsigned int iov_iter_extraction_t; -typedef unsigned int isolate_mode_t; - typedef unsigned int kasan_vmalloc_flags_t; typedef u32 kprobe_opcode_t; @@ -9702,6 +10951,8 @@ typedef unsigned int pgtbl_mod_mask; typedef u32 phandle; +typedef unsigned int pipe_index_t; + typedef u32 probe_opcode_t; typedef __kernel_uid32_t projid_t; @@ -9716,8 +10967,6 @@ typedef unsigned int t_key; typedef unsigned int tcflag_t; -typedef u32 u_int32_t; - typedef __kernel_uid32_t uid_t; typedef unsigned int uint; @@ -9771,6 +11020,30 @@ typedef struct { unsigned int timeout; } cisco_proto; +typedef struct { + void *lock; +} class_cpus_read_lock_t; + +struct rq; + +typedef struct { + struct rq *lock; + struct rq *lock2; +} class_double_rq_lock_t; + +typedef struct { + void *lock; + long unsigned int flags; +} class_irqsave_t; + +typedef struct { + void *lock; +} class_jump_label_lock_t; + +typedef struct { + void *lock; +} class_preempt_notrace_t; + typedef struct { void *lock; } class_preempt_t; @@ -9779,11 +11052,75 @@ struct raw_spinlock; typedef struct raw_spinlock raw_spinlock_t; +typedef struct { + raw_spinlock_t *lock; +} class_raw_spinlock_irq_t; + typedef struct { raw_spinlock_t *lock; long unsigned int flags; } class_raw_spinlock_irqsave_t; +typedef struct { + raw_spinlock_t *lock; +} class_raw_spinlock_t; + +typedef struct { + void *lock; +} class_rcu_t; + +typedef struct { + void *lock; +} class_rcu_tasks_trace_t; + +struct pin_cookie {}; + +struct rq_flags { + long unsigned int flags; + struct pin_cookie cookie; +}; + +typedef struct { + struct rq *lock; + struct rq_flags rf; +} class_rq_lock_t; + +struct spinlock; + +typedef struct spinlock spinlock_t; + +typedef struct { + spinlock_t *lock; + long unsigned int flags; +} class_spinlock_irqsave_t; + +typedef struct { + spinlock_t *lock; +} class_spinlock_t; + +struct srcu_struct; + +typedef struct { + struct srcu_struct *lock; + int idx; +} class_srcu_t; + +struct task_struct; + +typedef struct { + struct task_struct *lock; + struct rq *rq; + struct rq_flags rf; +} class_task_rq_lock_t; + +typedef struct { + arch_rwlock_t raw_lock; +} rwlock_t; + +typedef struct { + rwlock_t *lock; +} class_write_lock_irq_t; + typedef struct { __u8 b[16]; } guid_t; @@ -9797,6 +11134,25 @@ typedef struct { u32 imagesize; } efi_capsule_header_t; +typedef struct { + u8 major; + u8 minor; +} efi_cc_version_t; + +typedef struct { + u8 type; + u8 sub_type; +} efi_cc_type_t; + +typedef struct { + u8 size; + efi_cc_version_t structure_version; + efi_cc_version_t protocol_version; + efi_cc_event_algorithm_bitmap_t hash_algorithm_bitmap; + efi_cc_event_log_bitmap_t supported_event_logs; + efi_cc_type_t cc_type; +} efi_cc_boot_service_cap_t; + typedef struct { efi_guid_t guid; u32 table; @@ -10091,6 +11447,10 @@ typedef struct { long unsigned int *res_ex; } fd_set_bits; +typedef struct { + atomic64_t refcnt; +} file_ref_t; + typedef struct { unsigned int t391; unsigned int t392; @@ -10118,10 +11478,6 @@ typedef struct { long unsigned int key[2]; } hsiphash_key_t; -typedef struct { - long unsigned int pd; -} hugepd_t; - typedef struct { unsigned int __softirq_pending; long: 64; @@ -10164,6 +11520,7 @@ typedef struct {} lockdep_map_p; typedef struct { atomic_long_t id; void *vdso; + long unsigned int flags; } mm_context_t; typedef struct {} netdevice_tracker; @@ -10226,10 +11583,6 @@ typedef struct { typedef union { } release_pages_arg; -typedef struct { - arch_rwlock_t raw_lock; -} rwlock_t; - struct seqcount { unsigned int sequence; }; @@ -10256,8 +11609,6 @@ struct spinlock { }; }; -typedef struct spinlock spinlock_t; - typedef struct { seqcount_spinlock_t seqcount; spinlock_t lock; @@ -10355,8 +11706,6 @@ struct hlist_node { struct hlist_node **pprev; }; -struct net_rate_estimator; - struct refcount_struct { atomic_t refs; }; @@ -10410,12 +11759,16 @@ struct callback_head { void (*func)(struct callback_head *); }; +struct lock_class_key {}; + struct Qdisc_ops; struct qdisc_size_table; struct netdev_queue; +struct net_rate_estimator; + struct Qdisc { int (*enqueue)(struct sk_buff *, struct Qdisc *, struct sk_buff **); struct sk_buff * (*dequeue)(struct Qdisc *); @@ -10437,6 +11790,7 @@ struct Qdisc { long: 64; struct gnet_stats_basic_sync bstats; struct gnet_stats_queue qstats; + int owner; long unsigned int state; long unsigned int state2; struct Qdisc *next_sched; @@ -10445,6 +11799,7 @@ struct Qdisc { spinlock_t seqlock; struct callback_head rcu; netdevice_tracker dev_tracker; + struct lock_class_key root_lock_key; long: 64; long: 64; long: 64; @@ -10511,6 +11866,27 @@ struct Qdisc_ops { struct module *owner; }; +struct __arch_ftrace_regs { + long unsigned int epc; + long unsigned int ra; + long unsigned int sp; + long unsigned int s0; + long unsigned int t1; + union { + long unsigned int args[8]; + struct { + long unsigned int a0; + long unsigned int a1; + long unsigned int a2; + long unsigned int a3; + long unsigned int a4; + long unsigned int a5; + long unsigned int a6; + long unsigned int a7; + }; + }; +}; + struct llist_node { struct llist_node *next; }; @@ -10540,6 +11916,7 @@ struct tracepoint; struct __find_tracepoint_cb_data { const char *tp_name; struct tracepoint *tpoint; + struct module *mod; }; struct genradix_root; @@ -10801,7 +12178,6 @@ struct __vdso_info { const char *vdso_code_start; const char *vdso_code_end; long unsigned int vdso_pages; - struct vm_special_mapping *dm; struct vm_special_mapping *cm; }; @@ -10843,6 +12219,24 @@ struct acpi_device_id { __u32 cls_msk; }; +struct acpi_subtable_header { + u8 type; + u8 length; +}; + +struct acpi_madt_imsic { + struct acpi_subtable_header header; + u8 version; + u8 reserved; + u32 flags; + u16 num_ids; + u16 num_guest_ids; + u8 guest_index_bits; + u8 hart_index_bits; + u8 group_index_bits; + u8 group_index_shift; +}; + struct acpi_table_header { char signature[4]; u32 length; @@ -10905,11 +12299,11 @@ struct address_space { long unsigned int writeback_index; const struct address_space_operations *a_ops; long unsigned int flags; - struct rw_semaphore i_mmap_rwsem; errseq_t wb_err; - spinlock_t private_lock; - struct list_head private_list; - void *private_data; + spinlock_t i_private_lock; + struct list_head i_private_list; + struct rw_semaphore i_mmap_rwsem; + void *i_private_data; }; struct page; @@ -10934,8 +12328,8 @@ struct address_space_operations { int (*writepages)(struct address_space *, struct writeback_control *); bool (*dirty_folio)(struct address_space *, struct folio *); void (*readahead)(struct readahead_control *); - int (*write_begin)(struct file *, struct address_space *, loff_t, unsigned int, struct page **, void **); - int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct page *, void *); + int (*write_begin)(struct file *, struct address_space *, loff_t, unsigned int, struct folio **, void **); + int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct folio *, void *); sector_t (*bmap)(struct address_space *, sector_t); void (*invalidate_folio)(struct folio *, size_t, size_t); bool (*release_folio)(struct folio *, gfp_t); @@ -10945,7 +12339,7 @@ struct address_space_operations { int (*launder_folio)(struct folio *); bool (*is_partially_uptodate)(struct folio *, size_t, size_t); void (*is_dirty_writeback)(struct folio *, bool *, bool *); - int (*error_remove_page)(struct address_space *, struct page *); + int (*error_remove_folio)(struct address_space *, struct folio *); int (*swap_activate)(struct swap_info_struct *, struct file *, sector_t *); void (*swap_deactivate)(struct file *); int (*swap_rw)(struct kiocb *, struct iov_iter *); @@ -10973,6 +12367,29 @@ struct aggregate_device { struct component_match *match; }; +typedef void (*crypto_completion_t)(void *, int); + +struct crypto_tfm; + +struct crypto_async_request { + struct list_head list; + crypto_completion_t complete; + void *data; + struct crypto_tfm *tfm; + u32 flags; +}; + +struct scatterlist; + +struct ahash_request { + struct crypto_async_request base; + unsigned int nbytes; + struct scatterlist *src; + u8 *result; + void *priv; + void *__ctx[0]; +}; + struct rb_node { long unsigned int __rb_parent_color; struct rb_node *rb_right; @@ -11000,7 +12417,7 @@ struct hrtimer { struct alarm { struct timerqueue_node node; struct hrtimer timer; - enum alarmtimer_restart (*function)(struct alarm *, ktime_t); + void (*function)(struct alarm *, ktime_t); enum alarmtimer_type type; int state; void *data; @@ -11015,7 +12432,7 @@ struct timespec64; struct alarm_base { spinlock_t lock; struct timerqueue_head timerqueue; - ktime_t (*get_ktime)(); + ktime_t (*get_ktime)(void); void (*get_timespec)(struct timespec64 *); clockid_t base_clockid; }; @@ -11043,6 +12460,26 @@ struct alloc_context { bool spread_dirty_pages; }; +struct codetag { + unsigned int flags; + unsigned int lineno; + const char *modname; + const char *function; + const char *filename; +}; + +struct alloc_tag_counters; + +struct alloc_tag { + struct codetag ct; + struct alloc_tag_counters *counters; +}; + +struct alloc_tag_counters { + u64 bytes; + u64 calls; +}; + struct alt_entry { s32 old_offset; s32 alt_offset; @@ -11108,8 +12545,8 @@ struct dev_pm_qos; struct dev_pm_info { pm_message_t power_state; - unsigned int can_wakeup: 1; - unsigned int async_suspend: 1; + bool can_wakeup: 1; + bool async_suspend: 1; bool in_dpm_list: 1; bool is_prepared: 1; bool is_suspended: 1; @@ -11120,13 +12557,20 @@ struct dev_pm_info { bool direct_complete: 1; u32 driver_flags; spinlock_t lock; - unsigned int should_wakeup: 1; + bool should_wakeup: 1; struct pm_subsys_data *subsys_data; void (*set_latency_tolerance)(struct device *, s32); struct dev_pm_qos *qos; }; -struct dev_msi_info {}; +struct irq_domain; + +struct msi_device_data; + +struct dev_msi_info { + struct irq_domain *domain; + struct msi_device_data *data; +}; struct dev_archdata {}; @@ -11202,6 +12646,7 @@ struct device { bool of_node_reused: 1; bool state_synced: 1; bool can_match: 1; + bool dma_skip_sync: 1; }; struct resource { @@ -11317,6 +12762,40 @@ struct anon_vma_name { char name[0]; }; +struct aplic_msicfg { + phys_addr_t base_ppn; + u32 hhxs; + u32 hhxw; + u32 lhxs; + u32 lhxw; +}; + +struct aplic_priv { + struct device *dev; + u32 gsi_base; + u32 nr_irqs; + u32 nr_idcs; + u32 acpi_aplic_id; + void *regs; + struct aplic_msicfg msicfg; +}; + +struct cpumask { + long unsigned int bits[1]; +}; + +struct aplic_direct { + struct aplic_priv priv; + struct irq_domain *irqdomain; + struct cpumask lmask; +}; + +struct aplic_idc { + unsigned int hart_index; + void *regs; + struct aplic_direct *direct; +}; + struct workqueue_struct; struct workqueue_attrs; @@ -11368,6 +12847,10 @@ struct arch_specific_insn { struct arch_probe_insn api; }; +struct arch_tlbflush_unmap_batch { + struct cpumask cpumask; +}; + struct arch_uprobe { union { u8 insn[8]; @@ -11382,8 +12865,8 @@ struct arch_uprobe_task { long unsigned int saved_cause; }; -struct arch_vdso_data { - __u64 all_cpu_hwprobe_values[6]; +struct arch_vdso_time_data { + __u64 all_cpu_hwprobe_values[12]; __u8 homogeneous_cpus; }; @@ -11429,10 +12912,10 @@ struct arpreq { char arp_dev[16]; }; -struct trace_buffer; - struct trace_array; +struct trace_buffer; + struct trace_array_cpu; struct array_buffer { @@ -11487,9 +12970,13 @@ struct bin_attribute; struct attribute_group { const char *name; umode_t (*is_visible)(struct kobject *, struct attribute *, int); - umode_t (*is_bin_visible)(struct kobject *, struct bin_attribute *, int); + umode_t (*is_bin_visible)(struct kobject *, const struct bin_attribute *, int); + size_t (*bin_size)(struct kobject *, const struct bin_attribute *, int); struct attribute **attrs; - struct bin_attribute **bin_attrs; + union { + struct bin_attribute **bin_attrs; + const struct bin_attribute * const *bin_attrs_new; + }; }; struct audit_ntp_data {}; @@ -11545,7 +13032,6 @@ struct bdi_writeback { struct list_head work_list; struct delayed_work dwork; struct delayed_work bw_dwork; - long unsigned int dirty_sleep; struct list_head bdi_node; }; @@ -11561,6 +13047,7 @@ struct backing_dev_info { unsigned int max_ratio; unsigned int max_prop_frac; atomic_long_t tot_write_bandwidth; + long unsigned int last_bdp_sleep; struct bdi_writeback wb; struct list_head wb_list; wait_queue_head_t wb_waitq; @@ -11570,15 +13057,13 @@ struct backing_dev_info { struct timer_list laptop_mode_wb_timer; }; -struct pid; +struct vfsmount; -struct fown_struct { - rwlock_t lock; - struct pid *pid; - enum pid_type pid_type; - kuid_t uid; - kuid_t euid; - int signum; +struct dentry; + +struct path { + struct vfsmount *mnt; + struct dentry *dentry; }; struct file_ra_state { @@ -11590,47 +13075,46 @@ struct file_ra_state { loff_t prev_pos; }; -struct vfsmount; - -struct dentry; - -struct path { - struct vfsmount *mnt; - struct dentry *dentry; -}; +struct file_operations; struct cred; -struct file_operations; +struct fown_struct; struct file { - union { - struct llist_node f_llist; - struct callback_head f_rcuhead; - unsigned int f_iocb_flags; - }; + file_ref_t f_ref; spinlock_t f_lock; fmode_t f_mode; - atomic_long_t f_count; - struct mutex f_pos_lock; - loff_t f_pos; + const struct file_operations *f_op; + struct address_space *f_mapping; + void *private_data; + struct inode *f_inode; unsigned int f_flags; - struct fown_struct f_owner; + unsigned int f_iocb_flags; const struct cred *f_cred; - struct file_ra_state f_ra; struct path f_path; - struct inode *f_inode; - const struct file_operations *f_op; - u64 f_version; - void *private_data; - struct address_space *f_mapping; + union { + struct mutex f_pos_lock; + u64 f_pipe; + }; + loff_t f_pos; + struct fown_struct *f_owner; errseq_t f_wb_err; errseq_t f_sb_err; + union { + struct callback_head f_task_work; + struct llist_node f_llist; + struct file_ra_state f_ra; + freeptr_t f_freeptr; + }; }; struct backing_file { struct file file; - struct path real_path; + union { + struct path user_path; + freeptr_t bf_freeptr; + }; }; struct bpf_verifier_env; @@ -11642,8 +13126,6 @@ struct backtrack_state { u64 stack_masks[8]; }; -struct rq; - struct balance_callback { struct balance_callback *next; void (*func)(struct rq *); @@ -11709,10 +13191,13 @@ struct bin_attribute { struct attribute attr; size_t size; void *private; - struct address_space * (*f_mapping)(); + struct address_space * (*f_mapping)(void); ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t); + ssize_t (*read_new)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t); ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t); - int (*mmap)(struct file *, struct kobject *, struct bin_attribute *, struct vm_area_struct *); + ssize_t (*write_new)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t); + loff_t (*llseek)(struct file *, struct kobject *, const struct bin_attribute *, loff_t, int); + int (*mmap)(struct file *, struct kobject *, const struct bin_attribute *, struct vm_area_struct *); }; struct bvec_iter { @@ -11742,13 +13227,16 @@ struct bio { blk_opf_t bi_opf; short unsigned int bi_flags; short unsigned int bi_ioprio; + enum rw_hint bi_write_hint; blk_status_t bi_status; atomic_t __bi_remaining; struct bvec_iter bi_iter; - blk_qc_t bi_cookie; + union { + blk_qc_t bi_cookie; + unsigned int __bi_nr_segments; + }; bio_end_io_t *bi_end_io; void *bi_private; - union {}; short unsigned int bi_vcnt; short unsigned int bi_max_vecs; atomic_t __bi_cnt; @@ -11797,8 +13285,6 @@ struct bio_set { struct hlist_node cpuhp_dead; }; -typedef struct bio_vec skb_frag_t; - struct blacklist_entry { struct list_head next; char *buf; @@ -11816,6 +13302,8 @@ struct blake2s_state { struct blk_holder_ops { void (*mark_dead)(struct block_device *, bool); void (*sync)(struct block_device *); + int (*freeze)(struct block_device *); + int (*thaw)(struct block_device *); }; struct blk_independent_access_range { @@ -11831,6 +13319,15 @@ struct blk_independent_access_ranges { struct blk_independent_access_range ia_range[0]; }; +struct blk_integrity { + unsigned char flags; + enum blk_integrity_checksum csum_type; + unsigned char tuple_size; + unsigned char pi_offset; + unsigned char interval_exp; + unsigned char tag_size; +}; + struct blk_plug {}; struct blk_zone { @@ -11852,8 +13349,6 @@ struct gendisk; struct request_queue; -struct super_block; - struct partition_meta_info; struct block_device { @@ -11863,24 +13358,21 @@ struct block_device { struct request_queue *bd_queue; struct disk_stats *bd_stats; long unsigned int bd_stamp; - bool bd_read_only; - u8 bd_partno; - bool bd_write_holder; - bool bd_has_submit_bio; + atomic_t __bd_flags; dev_t bd_dev; + struct address_space *bd_mapping; atomic_t bd_openers; spinlock_t bd_size_lock; - struct inode *bd_inode; void *bd_claiming; void *bd_holder; const struct blk_holder_ops *bd_holder_ops; struct mutex bd_holder_lock; - int bd_fsfreeze_count; int bd_holders; struct kobject *bd_holder_dir; + atomic_t bd_fsfreeze_count; struct mutex bd_fsfreeze_mutex; - struct super_block *bd_fsfreeze_sb; struct partition_meta_info *bd_meta_info; + int bd_writers; struct device bd_device; }; @@ -11923,17 +13415,14 @@ struct boot_triggers { char *trigger; }; -struct bpf_active_lock { - void *ptr; - u32 id; -}; - struct bpf_map_ops; struct btf_record; struct btf; +struct btf_type; + struct bpf_map { const struct bpf_map_ops *ops; struct bpf_map *inner_map_meta; @@ -11951,16 +13440,16 @@ struct bpf_map { u32 btf_vmlinux_value_type_id; struct btf *btf; char name[16]; - long: 64; - long: 64; - long: 64; - long: 64; + struct mutex freeze_mutex; atomic64_t refcnt; atomic64_t usercnt; - struct work_struct work; - struct mutex freeze_mutex; + union { + struct work_struct work; + struct callback_head rcu; + }; atomic64_t writecnt; struct { + const struct btf_type *attach_func_proto; spinlock_t lock; enum bpf_prog_type type; bool jited; @@ -11968,10 +13457,27 @@ struct bpf_map { } owner; bool bypass_spec_v1; bool frozen; + bool free_after_mult_rcu_gp; + bool free_after_rcu_gp; + atomic64_t sleepable_refcnt; s64 *elem_count; - long: 64; - long: 64; - long: 64; +}; + +struct range_tree { + struct rb_root_cached it_root; + struct rb_root_cached range_size_root; +}; + +struct vm_struct; + +struct bpf_arena { + struct bpf_map map; + u64 user_vm_start; + u64 user_vm_end; + struct vm_struct *kern_vm; + struct range_tree rt; + struct list_head vma_list; + struct mutex lock; }; struct bpf_array_aux; @@ -11995,12 +13501,6 @@ struct bpf_array { void *pptrs[0]; }; }; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_array_aux { @@ -12010,6 +13510,37 @@ struct bpf_array_aux { struct work_struct work; }; +struct bpf_prog; + +struct bpf_async_cb { + struct bpf_map *map; + struct bpf_prog *prog; + void *callback_fn; + void *value; + union { + struct callback_head rcu; + struct work_struct delete_work; + }; + u64 flags; +}; + +struct bpf_spin_lock { + __u32 val; +}; + +struct bpf_hrtimer; + +struct bpf_work; + +struct bpf_async_kern { + union { + struct bpf_async_cb *cb; + struct bpf_hrtimer *timer; + struct bpf_work *work; + }; + struct bpf_spin_lock lock; +}; + struct btf_func_model { u8 ret_size; u8 ret_flags; @@ -12018,8 +13549,6 @@ struct btf_func_model { u8 arg_flags[12]; }; -struct btf_type; - struct bpf_attach_target_info { struct btf_func_model fmodel; long int tgt_addr; @@ -12044,6 +13573,8 @@ union bpf_attr { __u32 btf_value_type_id; __u32 btf_vmlinux_value_type_id; __u64 map_extra; + __s32 value_type_btf_obj_fd; + __s32 map_token_fd; }; struct { __u32 map_fd; @@ -12094,6 +13625,8 @@ union bpf_attr { __u64 core_relos; __u32 core_relo_rec_size; __u32 log_true_size; + __s32 prog_token_fd; + __u32 fd_array_cnt; }; struct { __u64 pathname; @@ -12170,6 +13703,7 @@ union bpf_attr { struct { __u64 name; __u32 prog_fd; + __u64 cookie; } raw_tracepoint; struct { __u64 btf; @@ -12178,6 +13712,8 @@ union bpf_attr { __u32 btf_log_size; __u32 btf_log_level; __u32 btf_log_true_size; + __u32 btf_flags; + __s32 btf_token_fd; }; struct { __u32 pid; @@ -12243,6 +13779,13 @@ union bpf_attr { __u32 flags; __u32 pid; } uprobe_multi; + struct { + union { + __u32 relative_fd; + __u32 relative_id; + }; + __u64 expected_revision; + } netkit; }; } link_create; struct { @@ -12272,6 +13815,10 @@ union bpf_attr { __u32 map_fd; __u32 flags; } prog_bind_map; + struct { + __u32 flags; + __u32 bpffs_fd; + } token_create; }; struct bpf_binary_header { @@ -12286,12 +13833,6 @@ struct bpf_bloom_filter { u32 hash_seed; u32 nr_hash_funcs; long unsigned int bitset[0]; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_bprintf_buffers { @@ -12336,6 +13877,7 @@ struct bpf_call_arg_meta { u32 ret_btf_id; u32 subprogno; struct btf_field *kptr_field; + s64 const_map_key; }; struct bpf_cand_cache { @@ -12431,13 +13973,6 @@ struct bpf_cpu_map_entry; struct bpf_cpu_map { struct bpf_map map; struct bpf_cpu_map_entry **cpu_map; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_cpumap_val { @@ -12468,10 +14003,6 @@ struct xdp_bulk_queue; struct ptr_ring; -struct task_struct; - -struct bpf_prog; - struct bpf_cpu_map_entry { u32 cpu; int map_id; @@ -12484,10 +14015,6 @@ struct bpf_cpu_map_entry { struct rcu_work free_work; }; -struct cpumask { - long unsigned int bits[1]; -}; - typedef struct cpumask cpumask_t; struct bpf_cpumask { @@ -12498,6 +14025,7 @@ struct bpf_cpumask { struct bpf_ctx_arg_aux { u32 offset; enum bpf_reg_type reg_type; + struct btf *btf; u32 btf_id; }; @@ -12517,10 +14045,7 @@ struct sk_buff { struct list_head list; struct llist_node ll_node; }; - union { - struct sock *sk; - int ip_defrag_offset; - }; + struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; @@ -12556,7 +14081,7 @@ struct sk_buff { __u8 ip_summed: 2; __u8 ooo_okay: 1; __u8 __mono_tc_offset[0]; - __u8 mono_delivery_time: 1; + __u8 tstamp_type: 2; __u8 tc_at_ingress: 1; __u8 tc_skip_classify: 1; __u8 remcsum_offload: 1; @@ -12574,6 +14099,7 @@ struct sk_buff { __u8 ndisc_nodetype: 2; __u8 redirected: 1; __u8 slow_gro: 1; + __u8 unreadable: 1; __u16 tc_index; u16 alloc_cpu; union { @@ -12621,7 +14147,7 @@ struct sk_buff { __u8 ip_summed: 2; __u8 ooo_okay: 1; __u8 __mono_tc_offset[0]; - __u8 mono_delivery_time: 1; + __u8 tstamp_type: 2; __u8 tc_at_ingress: 1; __u8 tc_skip_classify: 1; __u8 remcsum_offload: 1; @@ -12639,6 +14165,7 @@ struct sk_buff { __u8 ndisc_nodetype: 2; __u8 redirected: 1; __u8 slow_gro: 1; + __u8 unreadable: 1; __u16 tc_index; u16 alloc_cpu; union { @@ -13001,13 +14528,6 @@ struct bpf_sk_lookup_kern { bool no_reuseport; }; -struct nf_hook_state; - -struct bpf_nf_ctx { - const struct nf_hook_state *state; - struct sk_buff *skb; -}; - struct bpf_ctx_convert { struct __sk_buff BPF_PROG_TYPE_SOCKET_FILTER_prog; struct sk_buff BPF_PROG_TYPE_SOCKET_FILTER_kern; @@ -13055,8 +14575,6 @@ struct bpf_ctx_convert { void *BPF_PROG_TYPE_EXT_kern; void *BPF_PROG_TYPE_SYSCALL_prog; void *BPF_PROG_TYPE_SYSCALL_kern; - struct bpf_nf_ctx BPF_PROG_TYPE_NETFILTER_prog; - struct bpf_nf_ctx BPF_PROG_TYPE_NETFILTER_kern; }; struct bpf_devmap_val { @@ -13108,9 +14626,6 @@ struct bpf_dtab { spinlock_t index_lock; unsigned int items; u32 n_buckets; - long: 64; - long: 64; - long: 64; }; struct bpf_dtab_netdev { @@ -13140,8 +14655,7 @@ struct bpf_dummy_ops_test_args { }; struct bpf_dynptr { - long: 64; - long: 64; + __u64 __opaque[2]; }; struct bpf_dynptr_kern { @@ -13211,8 +14725,15 @@ struct bpf_fib_lookup { }; __u32 tbid; }; - __u8 smac[6]; - __u8 dmac[6]; + union { + struct { + __u32 mark; + }; + struct { + __u8 smac[6]; + __u8 dmac[6]; + }; + }; }; struct bpf_flow_keys { @@ -13248,6 +14769,8 @@ struct bpf_func_info { struct bpf_func_info_aux { u16 linkage; bool unreliable; + bool called: 1; + bool verified: 1; }; struct bpf_func_proto { @@ -13255,6 +14778,7 @@ struct bpf_func_proto { bool gpl_only; bool pkt_access; bool might_sleep; + bool allow_fastcall; enum bpf_return_type ret_type; union { struct { @@ -13344,7 +14868,10 @@ struct bpf_reg_state { bool precise; }; -struct bpf_reference_state; +struct bpf_retval_range { + s32 minval; + s32 maxval; +}; struct bpf_stack_state; @@ -13354,23 +14881,23 @@ struct bpf_func_state { u32 frameno; u32 subprogno; u32 async_entry_cnt; + struct bpf_retval_range callback_ret_range; bool in_callback_fn; - struct tnum callback_ret_range; bool in_async_callback_fn; - int acquired_refs; - struct bpf_reference_state *refs; - int allocated_stack; + bool in_exception_callback_fn; + u32 callback_depth; struct bpf_stack_state *stack; + int allocated_stack; }; struct bpf_hrtimer { + struct bpf_async_cb cb; struct hrtimer timer; - struct bpf_map *map; - struct bpf_prog *prog; - void *callback_fn; - void *value; + atomic_t cancelling; }; +struct obj_cgroup; + struct bpf_mem_caches; struct bpf_mem_cache; @@ -13378,6 +14905,8 @@ struct bpf_mem_cache; struct bpf_mem_alloc { struct bpf_mem_caches *caches; struct bpf_mem_cache *cache; + struct obj_cgroup *objcg; + bool percpu; struct work_struct work; }; @@ -13409,8 +14938,6 @@ struct bpf_lru { bool percpu; }; -struct lock_class_key {}; - struct bucket; struct htab_elem; @@ -13451,11 +14978,6 @@ struct bpf_idset { u32 ids[600]; }; -struct bpf_idx_pair { - u32 prev_idx; - u32 idx; -}; - struct bpf_insn { __u8 code; __u8 dst_reg: 4; @@ -13466,6 +14988,7 @@ struct bpf_insn { struct bpf_insn_access_aux { enum bpf_reg_type reg_type; + bool is_ldsx; union { int ctx_field_size; struct { @@ -13474,6 +14997,13 @@ struct bpf_insn_access_aux { }; }; struct bpf_verifier_log *log; + bool is_retval; +}; + +struct bpf_map_ptr_state { + struct bpf_map *map_ptr; + bool poison; + bool unpriv; }; struct bpf_loop_inline_state { @@ -13487,7 +15017,7 @@ struct btf_struct_meta; struct bpf_insn_aux_data { union { enum bpf_reg_type ptr_type; - long unsigned int map_ptr_state; + struct bpf_map_ptr_state map_ptr_state; s32 call_imm; u32 alu_limit; struct { @@ -13516,13 +15046,18 @@ struct bpf_insn_aux_data { u32 seen; bool sanitize_stack_spill; bool zext_dst; + bool needs_zext; bool storage_get_func_atomic; bool is_iter_next; + bool call_with_percpu_alloc_ptr; u8 alu_state; + u8 fastcall_pattern: 1; + u8 fastcall_spills_num: 3; unsigned int orig_idx; bool jmp_point; bool prune_point; bool force_checkpoint; + bool calls_callback; }; typedef void (*bpf_insn_print_t)(void *, const char *, ...); @@ -13538,6 +15073,13 @@ struct bpf_insn_cbs { void *private_data; }; +struct bpf_insn_hist_entry { + u32 idx; + u32 prev_idx: 22; + u32 flags: 10; + u64 linked_regs; +}; + struct bpf_iter_meta; struct bpf_link; @@ -13599,6 +15141,15 @@ struct bpf_iter__bpf_sk_storage_map { }; }; +struct bpf_iter__kmem_cache { + union { + struct bpf_iter_meta *meta; + }; + union { + struct kmem_cache *s; + }; +}; + struct kallsym_iter; struct bpf_iter__ksym { @@ -13676,6 +15227,27 @@ struct bpf_iter_aux_info { } task; }; +struct bpf_iter_bits { + __u64 __opaque[2]; +}; + +struct bpf_iter_bits_kern { + union { + __u64 *bits; + __u64 bits_copy; + }; + int nr_bits; + int bit; +}; + +struct bpf_iter_kmem_cache { + __u64 __opaque[1]; +}; + +struct bpf_iter_kmem_cache_kern { + struct kmem_cache *pos; +}; + struct bpf_link_ops; struct bpf_link { @@ -13684,7 +15256,11 @@ struct bpf_link { enum bpf_link_type type; const struct bpf_link_ops *ops; struct bpf_prog *prog; - struct work_struct work; + bool sleepable; + union { + struct callback_head rcu; + struct work_struct work; + }; }; struct bpf_iter_target_info; @@ -13856,6 +15432,61 @@ struct bpf_iter_target_info { u32 btf_id; }; +struct bpf_iter_task { + __u64 __opaque[3]; +}; + +struct bpf_iter_task_kern { + struct task_struct *task; + struct task_struct *pos; + unsigned int flags; +}; + +struct bpf_iter_task_vma { + __u64 __opaque[1]; +}; + +struct bpf_iter_task_vma_kern_data; + +struct bpf_iter_task_vma_kern { + struct bpf_iter_task_vma_kern_data *data; +}; + +struct maple_enode; + +struct maple_tree; + +struct maple_alloc; + +struct ma_state { + struct maple_tree *tree; + long unsigned int index; + long unsigned int last; + struct maple_enode *node; + long unsigned int min; + long unsigned int max; + struct maple_alloc *alloc; + enum maple_status status; + unsigned char depth; + unsigned char offset; + unsigned char mas_flags; + unsigned char end; + enum store_type store_type; +}; + +struct vma_iterator { + struct ma_state mas; +}; + +struct mmap_unlock_irq_work; + +struct bpf_iter_task_vma_kern_data { + struct task_struct *task; + struct mm_struct *mm; + struct mmap_unlock_irq_work *work; + struct vma_iterator vmi; +}; + struct bpf_jit_poke_descriptor { void *tailcall_target; void *tailcall_bypass; @@ -13918,6 +15549,10 @@ struct bpf_kfunc_call_arg_meta { u8 spi; u8 frameno; } iter; + struct { + struct bpf_map *ptr; + int uid; + } map; u64 mem_size; }; @@ -13934,48 +15569,23 @@ struct bpf_kfunc_desc_tab { u32 nr_descs; }; -struct ftrace_ops; +struct fprobe; struct ftrace_regs; -typedef void (*ftrace_func_t)(long unsigned int, long unsigned int, struct ftrace_ops *, struct ftrace_regs *); - -struct ftrace_hash; - -struct ftrace_ops_hash { - struct ftrace_hash *notrace_hash; - struct ftrace_hash *filter_hash; - struct mutex regex_lock; -}; - -typedef int (*ftrace_ops_func_t)(struct ftrace_ops *, enum ftrace_ops_cmd); +typedef int (*fprobe_entry_cb)(struct fprobe *, long unsigned int, long unsigned int, struct ftrace_regs *, void *); -struct ftrace_ops { - ftrace_func_t func; - struct ftrace_ops *next; - long unsigned int flags; - void *private; - ftrace_func_t saved_func; - struct ftrace_ops_hash local_hash; - struct ftrace_ops_hash *func_hash; - struct ftrace_ops_hash old_hash; - long unsigned int trampoline; - long unsigned int trampoline_size; - struct list_head list; - ftrace_ops_func_t ops_func; -}; +typedef void (*fprobe_exit_cb)(struct fprobe *, long unsigned int, long unsigned int, struct ftrace_regs *, void *); -struct rethook; +struct fprobe_hlist; struct fprobe { - struct ftrace_ops ops; long unsigned int nmissed; unsigned int flags; - struct rethook *rethook; size_t entry_data_size; - int nr_maxactive; - int (*entry_handler)(struct fprobe *, long unsigned int, long unsigned int, struct pt_regs *, void *); - void (*exit_handler)(struct fprobe *, long unsigned int, long unsigned int, struct pt_regs *, void *); + fprobe_entry_cb entry_handler; + fprobe_exit_cb exit_handler; + struct fprobe_hlist *hlist_array; }; struct bpf_kprobe_multi_link { @@ -13989,8 +15599,14 @@ struct bpf_kprobe_multi_link { u32 flags; }; -struct bpf_kprobe_multi_run_ctx { +struct bpf_session_run_ctx { struct bpf_run_ctx run_ctx; + bool is_return; + void *data; +}; + +struct bpf_kprobe_multi_run_ctx { + struct bpf_session_run_ctx session_ctx; struct bpf_kprobe_multi_link *link; long unsigned int entry_ip; }; @@ -14059,7 +15675,19 @@ struct bpf_link_info { __u64 addrs; __u32 count; __u32 flags; + __u64 missed; + __u64 cookies; } kprobe_multi; + struct { + __u64 path; + __u64 offsets; + __u64 ref_ctr_offsets; + __u64 cookies; + __u32 path_size; + __u32 count; + __u32 flags; + __u32 pid; + } uprobe_multi; struct { __u32 type; union { @@ -14067,20 +15695,25 @@ struct bpf_link_info { __u64 file_name; __u32 name_len; __u32 offset; + __u64 cookie; } uprobe; struct { __u64 func_name; __u32 name_len; __u32 offset; __u64 addr; + __u64 missed; + __u64 cookie; } kprobe; struct { __u64 tp_name; __u32 name_len; + __u64 cookie; } tracepoint; struct { __u64 config; __u32 type; + __u64 cookie; } event; }; } perf_event; @@ -14088,17 +15721,29 @@ struct bpf_link_info { __u32 ifindex; __u32 attach_type; } tcx; + struct { + __u32 ifindex; + __u32 attach_type; + } netkit; + struct { + __u32 map_id; + __u32 attach_type; + } sockmap; }; }; +struct poll_table_struct; + struct bpf_link_ops { void (*release)(struct bpf_link *); void (*dealloc)(struct bpf_link *); + void (*dealloc_deferred)(struct bpf_link *); int (*detach)(struct bpf_link *); int (*update_prog)(struct bpf_link *, struct bpf_prog *, struct bpf_prog *); void (*show_fdinfo)(const struct bpf_link *, struct seq_file *); int (*fill_link_info)(const struct bpf_link *, struct bpf_link_info *); int (*update_map)(struct bpf_link *, struct bpf_map *, struct bpf_map *); + __poll_t (*poll)(struct file *, struct poll_table_struct *); }; struct bpf_link_primer { @@ -14109,14 +15754,11 @@ struct bpf_link_primer { }; struct bpf_list_head { - long: 64; - long: 64; + __u64 __opaque[2]; }; struct bpf_list_node { - long: 64; - long: 64; - long: 64; + __u64 __opaque[3]; }; struct bpf_list_node_kern { @@ -14155,7 +15797,10 @@ struct bpf_local_storage_elem { struct hlist_node map_node; struct hlist_node snode; struct bpf_local_storage *local_storage; - struct callback_head rcu; + union { + struct callback_head rcu; + struct hlist_node free_node; + }; long: 64; struct bpf_local_storage_data sdata; long: 64; @@ -14178,7 +15823,6 @@ struct bpf_local_storage_map { struct bpf_mem_alloc selem_ma; struct bpf_mem_alloc storage_ma; bool bpf_ma; - long: 64; }; struct bpf_local_storage_map_bucket { @@ -14186,8 +15830,15 @@ struct bpf_local_storage_map_bucket { raw_spinlock_t lock; }; -struct bpf_lpm_trie_key { +struct bpf_lpm_trie_key_hdr { __u32 prefixlen; +}; + +struct bpf_lpm_trie_key_u8 { + union { + struct bpf_lpm_trie_key_hdr hdr; + __u32 prefixlen; + }; __u8 data[0]; }; @@ -14228,6 +15879,7 @@ struct bpf_map_info { __u32 btf_id; __u32 btf_key_type_id; __u32 btf_value_type_id; + __u32 btf_vmlinux_id; __u64 map_extra; }; @@ -14235,8 +15887,6 @@ typedef u64 (*bpf_callback_t)(u64, u64, u64, u64, u64); struct bpf_prog_aux; -struct poll_table_struct; - struct bpf_map_ops { int (*map_alloc_check)(union bpf_attr *); struct bpf_map * (*map_alloc)(union bpf_attr *); @@ -14258,7 +15908,7 @@ struct bpf_map_ops { long int (*map_peek_elem)(struct bpf_map *, void *); void * (*map_lookup_percpu_elem)(struct bpf_map *, void *, u32); void * (*map_fd_get_ptr)(struct bpf_map *, struct file *, int); - void (*map_fd_put_ptr)(void *); + void (*map_fd_put_ptr)(struct bpf_map *, void *, bool); int (*map_gen_lookup)(struct bpf_map *, struct bpf_insn *); u32 (*map_fd_sys_lookup_elem)(void *); void (*map_seq_show_elem)(struct bpf_map *, void *, struct seq_file *); @@ -14270,6 +15920,7 @@ struct bpf_map_ops { int (*map_direct_value_meta)(const struct bpf_map *, u64, u32 *); int (*map_mmap)(struct bpf_map *, struct vm_area_struct *); __poll_t (*map_poll)(struct bpf_map *, struct file *, struct poll_table_struct *); + long unsigned int (*map_get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); int (*map_local_storage_charge)(struct bpf_local_storage_map *, void *, u32); void (*map_local_storage_uncharge)(struct bpf_local_storage_map *, void *, u32); struct bpf_local_storage ** (*map_owner_storage_ptr)(void *); @@ -14296,8 +15947,6 @@ struct irq_work { struct rcuwait irqwait; }; -struct obj_cgroup; - struct bpf_mem_cache { struct llist_head free_llist; local_t active; @@ -14330,7 +15979,13 @@ struct bpf_mem_caches { }; struct bpf_mount_opts { + kuid_t uid; + kgid_t gid; umode_t mode; + u64 delegate_cmds; + u64 delegate_maps; + u64 delegate_progs; + u64 delegate_attachs; }; struct bpf_mprog_fp { @@ -14361,42 +16016,45 @@ struct bpf_nested_pt_regs { struct pt_regs regs[3]; }; -struct bpf_netns_link { - struct bpf_link link; - enum bpf_attach_type type; - enum netns_bpf_attach_type netns_type; - struct net *net; - struct list_head node; +struct bpf_nh_params { + u32 nh_family; + union { + u32 ipv4_nh; + struct in6_addr ipv6_nh; + }; }; -typedef unsigned int nf_hookfn(void *, struct sk_buff *, const struct nf_hook_state *); - -struct nf_hook_ops { - nf_hookfn *hook; - struct net_device *dev; - void *priv; - u8 pf; - enum nf_hook_ops_type hook_ops_type: 8; - unsigned int hooknum; - int priority; +struct bpf_redirect_info { + u64 tgt_index; + void *tgt_value; + struct bpf_map *map; + u32 flags; + u32 map_id; + enum bpf_map_type map_type; + struct bpf_nh_params nh; + u32 kern_flags; }; -struct nf_defrag_hook; +struct bpf_net_context { + struct bpf_redirect_info ri; + struct list_head cpu_map_flush_list; + struct list_head dev_map_flush_list; + struct list_head xskmap_map_flush_list; +}; -struct bpf_nf_link { +struct bpf_netns_link { struct bpf_link link; - struct nf_hook_ops hook_ops; + enum bpf_attach_type type; + enum netns_bpf_attach_type netns_type; struct net *net; - u32 dead; - const struct nf_defrag_hook *defrag_hook; + struct list_head node; }; -struct bpf_nh_params { - u32 nh_family; - union { - u32 ipv4_nh; - struct in6_addr ipv6_nh; - }; +struct nf_hook_state; + +struct bpf_nf_ctx { + const struct nf_hook_state *state; + struct sk_buff *skb; }; struct bpf_prog_offload_ops; @@ -14426,9 +16084,6 @@ struct bpf_offloaded_map { const struct bpf_map_dev_ops *dev_ops; void *dev_priv; struct list_head offloads; - long: 64; - long: 64; - long: 64; }; struct bpf_perf_event_value { @@ -14484,6 +16139,7 @@ struct bpf_prog { u16 call_get_stack: 1; u16 call_get_func_ip: 1; u16 tstamp_type_access: 1; + u16 sleepable: 1; enum bpf_prog_type type; enum bpf_attach_type expected_attach_type; u32 len; @@ -14514,6 +16170,8 @@ struct btf_mod_pair; struct user_struct; +struct bpf_token; + struct bpf_prog_offload; struct exception_table_entry; @@ -14528,6 +16186,7 @@ struct bpf_prog_aux { u32 stack_depth; u32 id; u32 func_cnt; + u32 real_func_cnt; u32 func_idx; u32 attach_btf_id; u32 ctx_arg_info_size; @@ -14535,6 +16194,7 @@ struct bpf_prog_aux { u32 max_rdwr_access; struct btf *attach_btf; const struct bpf_ctx_arg_aux *ctx_arg_info; + void *priv_stack_ptr; struct mutex dst_mutex; struct bpf_prog *dst_prog; struct bpf_trampoline *dst_trampoline; @@ -14544,10 +16204,20 @@ struct bpf_prog_aux { bool dev_bound; bool offload_requested; bool attach_btf_trace; + bool attach_tracing_prog; bool func_proto_unreliable; - bool sleepable; bool tail_call_reachable; bool xdp_has_frags; + bool exception_cb; + bool exception_boundary; + bool is_extended; + bool jits_use_priv_stack; + bool priv_stack_requested; + bool changes_pkt_data; + u64 prog_array_member_cnt; + struct mutex ext_mutex; + struct bpf_arena *arena; + void (*recursion_detected)(struct bpf_prog *); const struct btf_type *attach_func_proto; const char *attach_func_name; struct bpf_prog **func; @@ -14568,6 +16238,8 @@ struct bpf_prog_aux { int cgroup_atype; struct bpf_map *cgroup_storage[2]; char name[16]; + u64 (*bpf_exception_cb)(u64, u64, u64, u64, u64); + struct bpf_token *token; struct bpf_prog_offload *offload; struct btf *btf; struct bpf_func_info *func_info; @@ -14685,12 +16357,6 @@ struct bpf_queue_stack { u32 size; long: 0; char elements[0]; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_raw_event_map { @@ -14704,6 +16370,12 @@ struct bpf_raw_event_map { struct bpf_raw_tp_link { struct bpf_link link; struct bpf_raw_event_map *btp; + u64 cookie; +}; + +struct bpf_raw_tp_null_args { + const char *func; + u64 mask; }; struct bpf_raw_tp_regs { @@ -14717,10 +16389,7 @@ struct bpf_raw_tp_test_run_info { }; struct bpf_rb_node { - long: 64; - long: 64; - long: 64; - long: 64; + __u64 __opaque[4]; }; struct bpf_rb_node_kern { @@ -14729,8 +16398,7 @@ struct bpf_rb_node_kern { }; struct bpf_rb_root { - long: 64; - long: 64; + __u64 __opaque[2]; }; struct bpf_redir_neigh { @@ -14741,25 +16409,15 @@ struct bpf_redir_neigh { }; }; -struct bpf_redirect_info { - u64 tgt_index; - void *tgt_value; - struct bpf_map *map; - u32 flags; - u32 kern_flags; - u32 map_id; - enum bpf_map_type map_type; - struct bpf_nh_params nh; -}; - struct bpf_refcount { - int: 32; + __u32 __opaque[1]; }; struct bpf_reference_state { + enum ref_state_type type; int id; int insn_idx; - int callback_ref; + void *ptr; }; struct bpf_reg_types { @@ -14773,7 +16431,7 @@ struct bpf_ringbuf { u64 mask; struct page **pages; int nr_pages; - spinlock_t spinlock; + raw_spinlock_t spinlock; atomic_t busy; long: 64; long: 64; @@ -15791,7 +17449,7 @@ struct bpf_ringbuf { long: 64; long: 64; long unsigned int producer_pos; - long: 64; + long unsigned int pending_pos; long: 64; long: 64; long: 64; @@ -16313,13 +17971,6 @@ struct bpf_ringbuf_hdr { struct bpf_ringbuf_map { struct bpf_map map; struct bpf_ringbuf *rb; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_sanitize_info { @@ -16327,18 +17978,15 @@ struct bpf_sanitize_info { bool mask_to_left; }; -struct bpf_scratchpad { - union { - __be32 diff[128]; - u8 buff[512]; - }; -}; - struct sk_psock_progs { struct bpf_prog *msg_parser; struct bpf_prog *stream_parser; struct bpf_prog *stream_verdict; struct bpf_prog *skb_verdict; + struct bpf_link *msg_parser_link; + struct bpf_link *stream_parser_link; + struct bpf_link *stream_verdict_link; + struct bpf_link *skb_verdict_link; }; struct bpf_shtab_bucket; @@ -16350,7 +17998,6 @@ struct bpf_shtab { u32 elem_size; struct sk_psock_progs progs; atomic_t count; - long: 64; }; struct bpf_shtab_bucket { @@ -16423,6 +18070,7 @@ struct bpf_sock_addr_kern { struct sockaddr *uaddr; u64 tmp_reg; void *t_ctx; + u32 uaddrlen; }; struct bpf_sock_tuple { @@ -16442,18 +18090,11 @@ struct bpf_sock_tuple { }; }; -struct bpf_spin_lock { - __u32 val; -}; - struct bpf_stab { struct bpf_map map; struct sock **sks; struct sk_psock_progs progs; spinlock_t lock; - long: 64; - long: 64; - long: 64; }; struct bpf_stack_build_id { @@ -16473,10 +18114,6 @@ struct bpf_stack_map { struct pcpu_freelist freelist; u32 n_buckets; struct stack_map_bucket *buckets[0]; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_stack_state { @@ -16493,50 +18130,63 @@ struct bpf_struct_ops { int (*init)(struct btf *); int (*check_member)(const struct btf_type *, const struct btf_member *, const struct bpf_prog *); int (*init_member)(const struct btf_type *, const struct btf_member *, void *, const void *); - int (*reg)(void *); - void (*unreg)(void *); - int (*update)(void *, void *); + int (*reg)(void *, struct bpf_link *); + void (*unreg)(void *, struct bpf_link *); + int (*update)(void *, void *, struct bpf_link *); int (*validate)(void *); - const struct btf_type *type; - const struct btf_type *value_type; + void *cfi_stubs; + struct module *owner; const char *name; struct btf_func_model func_models[64]; - u32 type_id; - u32 value_id; }; -struct bpf_struct_ops_bpf_dummy_ops { +struct bpf_struct_ops_arg_info { + struct bpf_ctx_arg_aux *info; + u32 cnt; +}; + +struct bpf_struct_ops_common_value { refcount_t refcnt; enum bpf_struct_ops_state state; +}; + +struct bpf_struct_ops_bpf_dummy_ops { + struct bpf_struct_ops_common_value common; struct bpf_dummy_ops data; }; +struct bpf_struct_ops_desc { + struct bpf_struct_ops *st_ops; + const struct btf_type *type; + const struct btf_type *value_type; + u32 type_id; + u32 value_id; + struct bpf_struct_ops_arg_info *arg_info; +}; + struct bpf_struct_ops_link { struct bpf_link link; struct bpf_map *map; + wait_queue_head_t wait_hup; }; struct bpf_struct_ops_value { - refcount_t refcnt; - enum bpf_struct_ops_state state; + struct bpf_struct_ops_common_value common; char data[0]; }; struct bpf_struct_ops_map { struct bpf_map map; - struct callback_head rcu; - const struct bpf_struct_ops *st_ops; + const struct bpf_struct_ops_desc *st_ops_desc; struct mutex lock; struct bpf_link **links; - void *image; + struct bpf_ksym **ksyms; + u32 funcs_cnt; + u32 image_pages_cnt; + void *image_pages[8]; + struct btf *btf; struct bpf_struct_ops_value *uvalue; struct bpf_struct_ops_value kvalue; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct rate_sample; @@ -16551,7 +18201,7 @@ struct tcp_congestion_ops { void (*in_ack_event)(struct sock *, u32); void (*pkts_acked)(struct sock *, const struct ack_sample *); u32 (*min_tso_segs)(struct sock *); - void (*cong_control)(struct sock *, const struct rate_sample *); + void (*cong_control)(struct sock *, u32, int, const struct rate_sample *); u32 (*undo_cwnd)(struct sock *); u32 (*sndbuf_expand)(struct sock *); size_t (*get_info)(struct sock *, u32, int *, union tcp_cc_info *); @@ -16565,19 +18215,50 @@ struct tcp_congestion_ops { }; struct bpf_struct_ops_tcp_congestion_ops { - refcount_t refcnt; - enum bpf_struct_ops_state state; + struct bpf_struct_ops_common_value common; struct tcp_congestion_ops data; }; +struct bpf_subprog_arg_info { + enum bpf_arg_type arg_type; + union { + u32 mem_size; + u32 btf_id; + }; +}; + struct bpf_subprog_info { u32 start; u32 linfo_idx; u16 stack_depth; - bool has_tail_call; - bool tail_call_reachable; - bool has_ld_abs; - bool is_async_cb; + u16 stack_extra; + s16 fastcall_stack_off; + bool has_tail_call: 1; + bool tail_call_reachable: 1; + bool has_ld_abs: 1; + bool is_cb: 1; + bool is_async_cb: 1; + bool is_exception_cb: 1; + bool args_cached: 1; + bool keep_fastcall_stack: 1; + bool changes_pkt_data: 1; + enum priv_stack_mode priv_stack_mode; + u8 arg_cnt; + struct bpf_subprog_arg_info args[5]; +}; + +struct bpf_tcp_req_attrs { + u32 rcv_tsval; + u32 rcv_tsecr; + u16 mss; + u8 rcv_wscale; + u8 snd_wscale; + u8 ecn_ok; + u8 wscale_ok; + u8 sack_ok; + u8 tstamp_ok; + u8 usec_ts_ok; + u8 reserved[3]; }; struct bpf_tcp_sock { @@ -16619,14 +18300,27 @@ struct bpf_test_timer { u64 time_spent; }; +struct bpf_throw_ctx { + struct bpf_prog_aux *aux; + u64 sp; + u64 bp; + int cnt; +}; + struct bpf_timer { - long: 64; - long: 64; + __u64 __opaque[2]; }; -struct bpf_timer_kern { - struct bpf_hrtimer *timer; - struct bpf_spin_lock lock; +struct user_namespace; + +struct bpf_token { + struct work_struct work; + atomic64_t refcnt; + struct user_namespace *userns; + u64 allowed_cmds; + u64 allowed_maps; + u64 allowed_progs; + u64 allowed_attachs; }; struct bpf_trace_module { @@ -16696,6 +18390,7 @@ struct perf_sample_data { struct perf_callchain_entry *callchain; struct perf_raw_record *raw; struct perf_branch_stack *br_stack; + u64 *br_stack_cntr; union perf_sample_weight weight; union perf_mem_data_src data_src; u64 txn; @@ -16713,7 +18408,6 @@ struct perf_sample_data { long: 64; long: 64; long: 64; - long: 64; }; struct bpf_trace_sample_data { @@ -16742,6 +18436,7 @@ struct percpu_ref { struct bpf_tramp_image { void *image; + int size; struct bpf_ksym ksym; struct percpu_ref pcref; void *ip_after_call; @@ -16763,6 +18458,8 @@ struct bpf_tramp_run_ctx { struct bpf_run_ctx *saved_run_ctx; }; +struct ftrace_ops; + struct bpf_trampoline { struct hlist_node hlist; struct ftrace_ops *fops; @@ -16779,7 +18476,6 @@ struct bpf_trampoline { struct hlist_head progs_hlist[3]; int progs_cnt[3]; struct bpf_tramp_image *cur_image; - struct module *mod; }; struct bpf_tunnel_key { @@ -16807,31 +18503,38 @@ struct bpf_tuple { }; struct uprobe_consumer { - int (*handler)(struct uprobe_consumer *, struct pt_regs *); - int (*ret_handler)(struct uprobe_consumer *, long unsigned int, struct pt_regs *); - bool (*filter)(struct uprobe_consumer *, enum uprobe_filter_ctx, struct mm_struct *); - struct uprobe_consumer *next; + int (*handler)(struct uprobe_consumer *, struct pt_regs *, __u64 *); + int (*ret_handler)(struct uprobe_consumer *, long unsigned int, struct pt_regs *, __u64 *); + bool (*filter)(struct uprobe_consumer *, struct mm_struct *); + struct list_head cons_node; + __u64 id; }; struct bpf_uprobe_multi_link; +struct uprobe; + struct bpf_uprobe { struct bpf_uprobe_multi_link *link; loff_t offset; + long unsigned int ref_ctr_offset; u64 cookie; + struct uprobe *uprobe; struct uprobe_consumer consumer; + bool session; }; struct bpf_uprobe_multi_link { struct path path; struct bpf_link link; u32 cnt; + u32 flags; struct bpf_uprobe *uprobes; struct task_struct *task; }; struct bpf_uprobe_multi_run_ctx { - struct bpf_run_ctx run_ctx; + struct bpf_session_run_ctx session_ctx; long unsigned int entry_ip; struct bpf_uprobe *uprobe; }; @@ -16862,10 +18565,12 @@ struct bpf_verifier_env { u32 prev_insn_idx; struct bpf_prog *prog; const struct bpf_verifier_ops *ops; + struct module *attach_btf_mod; struct bpf_verifier_stack_elem *head; int stack_size; bool strict_alignment; bool test_state_freq; + bool test_reg_invariants; struct bpf_verifier_state *cur_state; struct bpf_verifier_state_list **explored_states; struct bpf_verifier_state_list *free_list; @@ -16874,6 +18579,8 @@ struct bpf_verifier_env { u32 used_map_cnt; u32 used_btf_cnt; u32 id_gen; + u32 hidden_subprog_cnt; + int exception_callback_subprog; bool explore_alu_limits; bool allow_ptr_leaks; bool allow_uninit_stack; @@ -16881,10 +18588,11 @@ struct bpf_verifier_env { bool bypass_spec_v1; bool bypass_spec_v4; bool seen_direct_write; + bool seen_exception; struct bpf_insn_aux_data *insn_aux_data; const struct bpf_line_info *prev_linfo; struct bpf_verifier_log log; - struct bpf_subprog_info subprog_info[257]; + struct bpf_subprog_info subprog_info[258]; union { struct bpf_idmap idmap_scratch; struct bpf_idset idset_scratch; @@ -16895,6 +18603,9 @@ struct bpf_verifier_env { int cur_stack; } cfg; struct backtrack_state bt; + struct bpf_insn_hist_entry *insn_hist; + struct bpf_insn_hist_entry *cur_hist_ent; + u32 insn_hist_cap; u32 pass_cnt; u32 subprog_cnt; u32 prev_insn_processed; @@ -16911,13 +18622,17 @@ struct bpf_verifier_env { u64 scratched_stack_slots; u64 prev_log_pos; u64 prev_insn_print_pos; + struct bpf_reg_state fake_reg[2]; char tmp_str_buf[320]; + struct bpf_insn insn_buf[32]; + struct bpf_insn epilogue_buf[32]; }; struct bpf_verifier_ops { const struct bpf_func_proto * (*get_func_proto)(enum bpf_func_id, const struct bpf_prog *); bool (*is_valid_access)(int, int, enum bpf_access_type, const struct bpf_prog *, struct bpf_insn_access_aux *); int (*gen_prologue)(struct bpf_insn *, bool, const struct bpf_prog *); + int (*gen_epilogue)(struct bpf_insn *, const struct bpf_prog *, s16); int (*gen_ld_abs)(const struct bpf_insn *, struct bpf_insn *); u32 (*convert_ctx_access)(enum bpf_access_type, const struct bpf_insn *, struct bpf_insn *, struct bpf_prog *, u32 *); int (*btf_struct_access)(struct bpf_verifier_log *, const struct bpf_reg_state *, int, int); @@ -16926,16 +18641,26 @@ struct bpf_verifier_ops { struct bpf_verifier_state { struct bpf_func_state *frame[8]; struct bpf_verifier_state *parent; + struct bpf_reference_state *refs; u32 branches; u32 insn_idx; u32 curframe; - struct bpf_active_lock active_lock; - bool speculative; + u32 acquired_refs; + u32 active_locks; + u32 active_preempt_locks; + u32 active_irq_id; bool active_rcu_lock; + bool speculative; + bool used_as_loop_entry; + bool in_sleepable; u32 first_insn_idx; u32 last_insn_idx; - struct bpf_idx_pair *jmp_history; - u32 jmp_history_cnt; + struct bpf_verifier_state *loop_entry; + u32 insn_hist_start; + u32 insn_hist_end; + u32 dfs_depth; + u32 callback_unroll_depth; + u32 may_goto_depth; }; struct bpf_verifier_stack_elem { @@ -16953,6 +18678,16 @@ struct bpf_verifier_state_list { int hit_cnt; }; +struct bpf_work { + struct bpf_async_cb cb; + struct work_struct work; + struct work_struct delete_work; +}; + +struct bpf_wq { + __u64 __opaque[2]; +}; + struct bpf_xdp_link; struct bpf_xdp_entity { @@ -16970,6 +18705,14 @@ struct bpf_xdp_sock { __u32 queue_id; }; +struct bpffs_btf_enums { + const struct btf *btf; + const struct btf_type *cmd_t; + const struct btf_type *map_t; + const struct btf_type *prog_t; + const struct btf_type *attach_t; +}; + struct trace_entry { short unsigned int type; unsigned char flags; @@ -16990,14 +18733,6 @@ struct bputs_entry { const char *str; }; -struct br_input_skb_cb { - struct net_device *brdev; - u16 frag_max_size; - u8 proxyarp_replied: 1; - u8 src_port_isolated: 1; - u32 backup_nhid; -}; - struct br_mdb_entry { __u32 ifindex; __u8 state; @@ -17040,6 +18775,8 @@ struct btf_id_dtor_kfunc_tab; struct btf_struct_metas; +struct btf_struct_ops_tab; + struct btf { void *data; struct btf_type **types; @@ -17057,11 +18794,13 @@ struct btf { struct btf_kfunc_set_tab *kfunc_set_tab; struct btf_id_dtor_kfunc_tab *dtor_kfunc_tab; struct btf_struct_metas *struct_meta_tab; + struct btf_struct_ops_tab *struct_ops_tab; struct btf *base_btf; u32 start_id; u32 start_str_off; char name[56]; bool kernel_btf; + __u32 *base_id_map; }; struct btf_anon_stack { @@ -17116,6 +18855,14 @@ struct btf_field { }; }; +struct btf_field_desc { + int t_off_cnt; + int t_offs[2]; + int m_sz; + int m_off_cnt; + int m_offs[1]; +}; + struct btf_field_info { enum btf_field_type type; u32 off; @@ -17130,6 +18877,14 @@ struct btf_field_info { }; }; +struct btf_field_iter { + struct btf_field_desc desc; + void *p; + int m_idx; + int off_idx; + int vlen; +}; + struct btf_id_dtor_kfunc { u32 btf_id; u32 kfunc_btf_id; @@ -17168,8 +18923,8 @@ struct btf_kfunc_id_set { }; struct btf_kfunc_set_tab { - struct btf_id_set8 *sets[13]; - struct btf_kfunc_hook_filter hook_filters[13]; + struct btf_id_set8 *sets[14]; + struct btf_kfunc_hook_filter hook_filters[14]; }; struct btf_verifier_env; @@ -17201,6 +18956,13 @@ struct btf_module { int flags; }; +struct btf_name_info { + const char *name; + bool needs_size: 1; + unsigned int size: 31; + __u32 id; +}; + struct btf_param { __u32 name_off; __u32 type; @@ -17217,10 +18979,24 @@ struct btf_record { u32 field_mask; int spin_lock_off; int timer_off; + int wq_off; int refcount_off; struct btf_field fields[0]; }; +struct btf_relocate { + struct btf *btf; + const struct btf *base_btf; + const struct btf *dist_base_btf; + unsigned int nr_base_types; + unsigned int nr_split_types; + unsigned int nr_dist_base_types; + int dist_str_len; + int base_str_len; + __u32 *id_map; + __u32 *str_map; +}; + struct btf_sec_info { u32 off; u32 len; @@ -17270,6 +19046,12 @@ struct btf_struct_metas { struct btf_struct_meta types[0]; }; +struct btf_struct_ops_tab { + u32 cnt; + u32 capacity; + struct bpf_struct_ops_desc ops[0]; +}; + struct btf_type { __u32 name_off; __u32 info; @@ -17338,12 +19120,20 @@ struct buffer_data_page { unsigned char data[0]; }; +struct buffer_data_read_page { + unsigned int order; + struct buffer_data_page *data; +}; + struct buffer_page { struct list_head list; local_t write; unsigned int read; local_t entries; long unsigned int real_end; + unsigned int order; + u32 id: 30; + u32 range: 1; struct buffer_data_page *page; }; @@ -17364,23 +19154,21 @@ struct bus_dma_region { phys_addr_t cpu_start; dma_addr_t dma_start; u64 size; - u64 offset; }; -struct iommu_ops; - struct bus_type { const char *name; const char *dev_name; const struct attribute_group **bus_groups; const struct attribute_group **dev_groups; const struct attribute_group **drv_groups; - int (*match)(struct device *, struct device_driver *); + int (*match)(struct device *, const struct device_driver *); int (*uevent)(const struct device *, struct kobj_uevent_env *); int (*probe)(struct device *); void (*sync_state)(struct device *); void (*remove)(struct device *); void (*shutdown)(struct device *); + const struct cpumask * (*irq_get_affinity)(struct device *, unsigned int); int (*online)(struct device *); int (*offline)(struct device *); int (*suspend)(struct device *, pm_message_t); @@ -17389,7 +19177,6 @@ struct bus_type { int (*dma_configure)(struct device *); void (*dma_cleanup)(struct device *); const struct dev_pm_ops *pm; - const struct iommu_ops *iommu_ops; bool need_parent_lock; }; @@ -17445,13 +19232,12 @@ struct sched_entity; struct cfs_rq { struct load_weight load; - unsigned int nr_running; - unsigned int h_nr_running; - unsigned int idle_nr_running; - unsigned int idle_h_nr_running; + unsigned int nr_queued; + unsigned int h_nr_queued; + unsigned int h_nr_runnable; + unsigned int h_nr_idle; s64 avg_vruntime; u64 avg_load; - u64 exec_clock; u64 min_vruntime; struct rb_root_cached tasks_timeline; struct sched_entity *curr; @@ -17465,7 +19251,7 @@ struct cgroup__safe_rcu { struct proc_ns_operations; struct ns_common { - atomic_long_t stashed; + struct dentry *stashed; const struct proc_ns_operations *ops; unsigned int inum; refcount_t count; @@ -17473,8 +19259,6 @@ struct ns_common { struct css_set; -struct user_namespace; - struct ucounts; struct cgroup_namespace { @@ -17519,8 +19303,6 @@ struct check_mount { unsigned int mounted; }; -struct crypto_tfm; - struct cipher_alg { unsigned int cia_min_keysize; unsigned int cia_max_keysize; @@ -17530,8 +19312,8 @@ struct cipher_alg { }; struct cipher_context { - char *iv; - char *rec_seq; + char iv[20]; + char rec_seq[8]; }; struct class_attribute { @@ -17661,6 +19443,7 @@ struct clk_core { struct clk_hw *hw; struct module *owner; struct device *dev; + struct hlist_node rpm_node; struct device_node *of_node; struct clk_core *parent; struct clk_parent_map *parents; @@ -17699,7 +19482,7 @@ struct clk_divider { void *reg; u8 shift; u8 width; - u8 flags; + u16 flags; const struct clk_div_table *table; spinlock_t *lock; }; @@ -17708,6 +19491,8 @@ struct clk_fixed_factor { struct clk_hw hw; unsigned int mult; unsigned int div; + long unsigned int acc; + unsigned int flags; }; struct clk_fixed_rate { @@ -17744,6 +19529,14 @@ struct clk_gpio { struct gpio_desc *gpiod; }; +struct regulator; + +struct clk_gated_fixed { + struct clk_gpio clk_gpio; + struct regulator *supply; + long unsigned int rate; +}; + struct clk_hw_onecell_data { unsigned int num; struct clk_hw *hws[0]; @@ -17771,7 +19564,7 @@ struct clk_lookup { struct clk_lookup_alloc { struct clk_lookup cl; - char dev_id[20]; + char dev_id[24]; char con_id[16]; }; @@ -17865,7 +19658,7 @@ struct clock_read_data { u64 epoch_ns; u64 epoch_cyc; u64 sched_clock_mask; - u64 (*read_sched_clock)(); + u64 (*read_sched_clock)(void); u32 mult; u32 shift; }; @@ -17875,7 +19668,7 @@ struct clock_data { struct clock_read_data read_data[2]; ktime_t wrap_kt; long unsigned int rate; - u64 (*actual_read_sched_clock)(); + u64 (*actual_read_sched_clock)(void); }; struct clock_event_device { @@ -17925,6 +19718,8 @@ struct clock_provider { struct list_head node; }; +struct clocksource_base; + struct clocksource { u64 (*read)(struct clocksource *); u64 mask; @@ -17934,12 +19729,15 @@ struct clocksource { u32 maxadj; u32 uncertainty_margin; u64 max_cycles; + u64 max_raw_delta; const char *name; struct list_head list; + u32 freq_khz; int rating; enum clocksource_ids id; enum vdso_clock_mode vdso_clock_mode; long unsigned int flags; + struct clocksource_base *base; int (*enable)(struct clocksource *); void (*disable)(struct clocksource *); void (*suspend)(struct clocksource *); @@ -17949,6 +19747,14 @@ struct clocksource { struct module *owner; }; +struct clocksource_base { + enum clocksource_ids id; + u32 freq_khz; + u64 offset; + u32 numerator; + u32 denominator; +}; + struct clone_args { __u64 flags; __u64 pidfd; @@ -17963,6 +19769,94 @@ struct clone_args { __u64 cgroup; }; +struct cmis_cdb_advert_rpl { + u8 inst_supported; + u8 read_write_len_ext; + u8 resv1; + u8 resv2; +}; + +struct cmis_cdb_fw_mng_features_rpl { + u8 resv1; + u8 resv2; + u8 start_cmd_payload_size; + u8 resv3; + u8 read_write_len_ext; + u8 write_mechanism; + u8 resv4; + u8 resv5; + __be16 max_duration_start; + __be16 resv6; + __be16 max_duration_write; + __be16 max_duration_complete; + __be16 resv7; +}; + +struct cmis_cdb_module_features_rpl { + u8 resv1[34]; + __be16 max_completion_time; +}; + +struct cmis_cdb_query_status_pl { + u16 response_delay; +}; + +struct cmis_cdb_query_status_rpl { + u8 length; + u8 status; +}; + +struct cmis_cdb_run_fw_image_pl { + u8 resv1; + u8 image_to_run; + u16 delay_to_reset; +}; + +struct cmis_cdb_start_fw_download_pl_h { + __be32 image_size; + __be32 resv1; +}; + +struct cmis_cdb_start_fw_download_pl { + union { + struct { + __be32 image_size; + __be32 resv1; + }; + struct cmis_cdb_start_fw_download_pl_h head; + }; + u8 vendor_data[112]; +}; + +struct cmis_cdb_write_fw_block_epl_pl { + u8 fw_block[2048]; +}; + +struct cmis_cdb_write_fw_block_lpl_pl { + __be32 block_address; + u8 fw_block[116]; +}; + +struct cmis_fw_update_fw_mng_features { + u8 start_cmd_payload_size; + u8 write_mechanism; + u16 max_duration_start; + u16 max_duration_write; + u16 max_duration_complete; +}; + +struct cmis_password_entry_pl { + __be32 password; +}; + +struct cmis_rev_rpl { + u8 rev; +}; + +struct cmis_wait_for_cond_rpl { + u8 state; +}; + struct cmsghdr { __kernel_size_t cmsg_len; int cmsg_level; @@ -18157,14 +20051,30 @@ struct compress_format { decompress_fn decompressor; }; +struct console; + +struct printk_buffers; + +struct nbcon_context { + struct console *console; + unsigned int spinwait_max_us; + enum nbcon_prio prio; + unsigned int allow_unsafe_takeover: 1; + unsigned int backlog: 1; + struct printk_buffers *pbufs; + u64 seq; +}; + struct tty_driver; +struct nbcon_write_context; + struct console { char name[16]; void (*write)(struct console *, const char *, unsigned int); int (*read)(struct console *, char *, unsigned int); struct tty_driver * (*device)(struct console *, int *); - void (*unblank)(); + void (*unblank)(void); int (*setup)(struct console *, char *); int (*exit)(struct console *); int (*match)(struct console *, char *, int, char *); @@ -18177,15 +20087,35 @@ struct console { long unsigned int dropped; void *data; struct hlist_node node; + void (*write_atomic)(struct console *, struct nbcon_write_context *); + void (*write_thread)(struct console *, struct nbcon_write_context *); + void (*device_lock)(struct console *, long unsigned int *); + void (*device_unlock)(struct console *, long unsigned int); + atomic_t nbcon_state; + atomic_long_t nbcon_seq; + struct nbcon_context nbcon_device_ctxt; + atomic_long_t nbcon_prev_seq; + struct printk_buffers *pbufs; + struct task_struct *kthread; + struct rcuwait rcuwait; + struct irq_work irq_work; }; struct console_cmdline { char name[16]; int index; + char devname[32]; bool user_specified; char *options; }; +struct console_flush_type { + bool nbcon_atomic; + bool nbcon_offload; + bool legacy_direct; + bool legacy_offload; +}; + struct constant_table { const char *name; int value; @@ -18232,6 +20162,7 @@ struct cpu_attr { struct cpu_cacheinfo { struct cacheinfo *info_list; + unsigned int per_cpu_data_slice_size; unsigned int num_levels; unsigned int num_leaves; bool cpu_map_populated; @@ -18240,8 +20171,9 @@ struct cpu_cacheinfo { struct folio_batch { unsigned char nr; + unsigned char i; bool percpu_pvec_drained; - struct folio *folios[15]; + struct folio *folios[31]; }; struct cpu_fbatches { @@ -18250,6 +20182,8 @@ struct cpu_fbatches { struct folio_batch lru_deactivate_file; struct folio_batch lru_deactivate; struct folio_batch lru_lazyfree; + local_lock_t lock_irq; + struct folio_batch lru_move_tail; }; struct cpu_hw_events { @@ -18258,6 +20192,10 @@ struct cpu_hw_events { struct perf_event *events[64]; long unsigned int used_hw_ctrs[1]; long unsigned int used_fw_ctrs[1]; + void *snapshot_addr; + phys_addr_t snapshot_addr_phys; + bool snapshot_set_done; + u64 snapshot_cval_shcopy[64]; }; struct cpu_manufacturer_info_t { @@ -18469,7 +20407,7 @@ struct cpuidle_state { int power_usage; unsigned int target_residency; int (*enter)(struct cpuidle_device *, struct cpuidle_driver *, int); - int (*enter_dead)(struct cpuidle_device *, int); + void (*enter_dead)(struct cpuidle_device *, int); int (*enter_s2idle)(struct cpuidle_device *, struct cpuidle_driver *, int); }; @@ -18484,10 +20422,21 @@ struct cpuidle_driver { const char *governor; }; +struct cpumap { + unsigned int available; + unsigned int allocated; + unsigned int managed; + unsigned int managed_allocated; + bool initialized; + bool online; + long unsigned int *managed_map; + long unsigned int alloc_map[0]; +}; + struct group_info; struct cred { - atomic_t usage; + atomic_long_t usage; kuid_t uid; kgid_t gid; kuid_t suid; @@ -18586,7 +20535,7 @@ struct ctl_node; struct ctl_table_header { union { struct { - struct ctl_table *ctl_table; + const struct ctl_table *ctl_table; int ctl_table_size; int used; int count; @@ -18595,12 +20544,16 @@ struct ctl_table_header { struct callback_head rcu; }; struct completion *unregistering; - struct ctl_table *ctl_table_arg; + const struct ctl_table *ctl_table_arg; struct ctl_table_root *root; struct ctl_table_set *set; struct ctl_dir *parent; struct ctl_node *node; struct hlist_head inodes; + enum { + SYSCTL_TABLE_TYPE_DEFAULT = 0, + SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY = 1, + } type; }; struct ctl_dir { @@ -18613,7 +20566,7 @@ struct ctl_node { struct ctl_table_header *header; }; -typedef int proc_handler(struct ctl_table *, int, void *, size_t *, loff_t *); +typedef int proc_handler(const struct ctl_table *, int, void *, size_t *, loff_t *); struct ctl_table_poll; @@ -18622,10 +20575,6 @@ struct ctl_table { void *data; int maxlen; umode_t mode; - enum { - SYSCTL_TABLE_TYPE_DEFAULT = 0, - SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY = 1, - } type; proc_handler *proc_handler; struct ctl_table_poll *poll; void *extra1; @@ -18645,8 +20594,8 @@ struct ctl_table_set { struct ctl_table_root { struct ctl_table_set default_set; struct ctl_table_set * (*lookup)(struct ctl_table_root *); - void (*set_ownership)(struct ctl_table_header *, struct ctl_table *, kuid_t *, kgid_t *); - int (*permissions)(struct ctl_table_header *, struct ctl_table *); + void (*set_ownership)(struct ctl_table_header *, kuid_t *, kgid_t *); + int (*permissions)(struct ctl_table_header *, const struct ctl_table *); }; struct netlink_policy_dump_state; @@ -18676,24 +20625,6 @@ struct ctx_switch_entry { unsigned char next_state; }; -struct wait_queue_entry; - -typedef int (*wait_queue_func_t)(struct wait_queue_entry *, unsigned int, int, void *); - -struct wait_queue_entry { - unsigned int flags; - void *private; - wait_queue_func_t func; - struct list_head entry; -}; - -typedef struct wait_queue_entry wait_queue_entry_t; - -struct cwt_wait { - wait_queue_entry_t wait; - struct work_struct *work; -}; - struct cyclecounter { u64 (*read)(const struct cyclecounter *); u64 mask; @@ -18711,8 +20642,6 @@ struct delayed_call { void *arg; }; -struct uprobe; - struct delayed_uprobe { struct list_head list; struct uprobe *uprobe; @@ -18735,6 +20664,11 @@ struct qstr { const unsigned char *name; }; +union shortname_store { + unsigned char string[40]; + long unsigned int words[5]; +}; + struct lockref { union { struct { @@ -18746,6 +20680,8 @@ struct lockref { struct dentry_operations; +struct super_block; + struct dentry { unsigned int d_flags; seqcount_spinlock_t d_seq; @@ -18753,18 +20689,18 @@ struct dentry { struct dentry *d_parent; struct qstr d_name; struct inode *d_inode; - unsigned char d_iname[32]; - struct lockref d_lockref; + union shortname_store d_shortname; const struct dentry_operations *d_op; struct super_block *d_sb; long unsigned int d_time; void *d_fsdata; + struct lockref d_lockref; union { struct list_head d_lru; wait_queue_head_t *d_wait; }; - struct list_head d_child; - struct list_head d_subdirs; + struct hlist_node d_sib; + struct hlist_head d_children; union { struct hlist_node d_alias; struct hlist_bl_node d_in_lookup_hash; @@ -18776,13 +20712,8 @@ struct dentry__safe_trusted { struct inode *d_inode; }; -struct dentry_list { - void *cursor; - struct dentry **dentries; -}; - struct dentry_operations { - int (*d_revalidate)(struct dentry *, unsigned int); + int (*d_revalidate)(struct inode *, const struct qstr *, struct dentry *, unsigned int); int (*d_weak_revalidate)(struct dentry *, unsigned int); int (*d_hash)(const struct dentry *, struct qstr *); int (*d_compare)(const struct dentry *, unsigned int, const char *, const struct qstr *); @@ -18794,9 +20725,9 @@ struct dentry_operations { char * (*d_dname)(struct dentry *, char *, int); struct vfsmount * (*d_automount)(struct path *); int (*d_manage)(const struct path *, bool); - struct dentry * (*d_real)(struct dentry *, const struct inode *); - long: 64; - long: 64; + struct dentry * (*d_real)(struct dentry *, enum d_real_type); + bool (*d_unalias_trylock)(const struct dentry *); + void (*d_unalias_unlock)(const struct dentry *); long: 64; }; @@ -18831,6 +20762,7 @@ struct vmem_altmap { long unsigned int free; long unsigned int align; long unsigned int alloc; + bool inaccessible; }; struct range { @@ -18900,6 +20832,7 @@ struct dev_pm_domain { int (*activate)(struct device *); void (*sync)(struct device *); void (*dismiss)(struct device *); + int (*set_performance_state)(struct device *, unsigned int); }; struct pm_qos_flags { @@ -18946,11 +20879,6 @@ struct dev_pm_qos_request { struct device *dev; }; -struct dev_printk_info { - char subsystem[16]; - char device[48]; -}; - struct device_attach_data { struct device *dev; bool check_async; @@ -19051,7 +20979,7 @@ struct device_private { struct klist_node knode_bus; struct klist_node knode_class; struct list_head deferred_probe; - struct device_driver *async_driver; + const struct device_driver *async_driver; char *deferred_probe_reason; struct device *device; u8 dead: 1; @@ -19148,6 +21076,7 @@ struct devlink_port { struct list_head reporter_list; struct devlink_rate *devlink_rate; struct devlink_linecard *linecard; + u32 rel_index; }; struct devlink_port_ops { @@ -19167,6 +21096,8 @@ struct devlink_port_ops { int (*port_fn_ipsec_crypto_set)(struct devlink_port *, bool, struct netlink_ext_ack *); int (*port_fn_ipsec_packet_get)(struct devlink_port *, bool *, struct netlink_ext_ack *); int (*port_fn_ipsec_packet_set)(struct devlink_port *, bool, struct netlink_ext_ack *); + int (*port_fn_max_io_eqs_get)(struct devlink_port *, u32 *, struct netlink_ext_ack *); + int (*port_fn_max_io_eqs_set)(struct devlink_port *, u32, struct netlink_ext_ack *); }; struct devlink_rate { @@ -19221,6 +21152,56 @@ struct die_args { int signr; }; +struct dim_stats { + int ppms; + int bpms; + int epms; + int cpms; + int cpe_ratio; +}; + +struct dim_sample { + ktime_t time; + u32 pkt_ctr; + u32 byte_ctr; + u16 event_ctr; + u32 comp_ctr; +}; + +struct dim { + u8 state; + struct dim_stats prev_stats; + struct dim_sample start_sample; + struct dim_sample measuring_sample; + struct work_struct work; + void *priv; + u8 profile_ix; + u8 mode; + u8 tune_state; + u8 steps_right; + u8 steps_left; + u8 tired; +}; + +struct dim_cq_moder { + u16 usec; + u16 pkts; + u16 comps; + u8 cq_period_mode; + struct callback_head rcu; +}; + +struct dim_irq_moder { + u8 profile_flags; + u8 coal_flags; + u8 dim_rx_mode; + u8 dim_tx_mode; + struct dim_cq_moder *rx_profile; + struct dim_cq_moder *tx_profile; + void (*rx_dim_work)(struct work_struct *); + void (*tx_dim_work)(struct work_struct *); +}; + struct dir_context; typedef bool (*filldir_t)(struct dir_context *, const char *, int, loff_t, u64, unsigned int); @@ -19241,6 +21222,8 @@ struct dirty_throttle_control { long unsigned int wb_thresh; long unsigned int wb_bg_thresh; long unsigned int pos_ratio; + bool freerun; + bool dirty_exceeded; }; struct dl_bw { @@ -19285,13 +21268,10 @@ struct dma_devres { struct sg_table; struct dma_map_ops { - unsigned int flags; void * (*alloc)(struct device *, size_t, dma_addr_t *, gfp_t, long unsigned int); void (*free)(struct device *, size_t, void *, dma_addr_t, long unsigned int); - struct page * (*alloc_pages)(struct device *, size_t, dma_addr_t *, enum dma_data_direction, gfp_t); + struct page * (*alloc_pages_op)(struct device *, size_t, dma_addr_t *, enum dma_data_direction, gfp_t); void (*free_pages)(struct device *, size_t, struct page *, dma_addr_t, enum dma_data_direction); - struct sg_table * (*alloc_noncontiguous)(struct device *, size_t, enum dma_data_direction, gfp_t, long unsigned int); - void (*free_noncontiguous)(struct device *, size_t, struct sg_table *, enum dma_data_direction); int (*mmap)(struct device *, struct vm_area_struct *, void *, dma_addr_t, size_t, long unsigned int); int (*get_sgtable)(struct device *, struct sg_table *, void *, dma_addr_t, size_t, long unsigned int); dma_addr_t (*map_page)(struct device *, struct page *, long unsigned int, size_t, enum dma_data_direction, long unsigned int); @@ -19308,7 +21288,7 @@ struct dma_map_ops { int (*dma_supported)(struct device *, u64); u64 (*get_required_mask)(struct device *); size_t (*max_mapping_size)(struct device *); - size_t (*opt_mapping_size)(); + size_t (*opt_mapping_size)(void); long unsigned int (*get_merge_boundary)(struct device *); }; @@ -19333,15 +21313,17 @@ struct dma_pool { struct list_head pools; }; -struct sg_table { - struct scatterlist *sgl; - unsigned int nents; - unsigned int orig_nents; +struct dmabuf_cmsg { + __u64 frag_offset; + __u32 frag_size; + __u32 frag_token; + __u32 dmabuf_id; + __u32 flags; }; -struct dma_sgt_handle { - struct sg_table sgt; - struct page **pages; +struct dmabuf_token { + __u32 token_start; + __u32 token_count; }; struct kqid { @@ -19486,7 +21468,7 @@ struct dst_ops { u32 * (*cow_metrics)(struct dst_entry *, long unsigned int); void (*destroy)(struct dst_entry *); void (*ifdown)(struct dst_entry *, struct net_device *); - struct dst_entry * (*negative_advice)(struct dst_entry *); + void (*negative_advice)(struct sock *, struct dst_entry *); void (*link_failure)(struct sk_buff *); void (*update_pmtu)(struct dst_entry *, struct sock *, struct sk_buff *, u32, bool); void (*redirect)(struct dst_entry *, struct sock *, struct sk_buff *); @@ -19537,7 +21519,6 @@ struct seq_buf { char *buffer; size_t size; size_t len; - loff_t readpos; }; struct dynevent_cmd; @@ -19553,21 +21534,25 @@ struct dynevent_cmd { void *private_data; }; -struct ethtool_eee { - __u32 cmd; - __u32 supported; - __u32 advertised; - __u32 lp_advertised; - __u32 eee_active; - __u32 eee_enabled; - __u32 tx_lpi_enabled; - __u32 tx_lpi_timer; - __u32 reserved[2]; +struct eee_config { + u32 tx_lpi_timer; + bool tx_lpi_enabled; + bool eee_enabled; +}; + +struct ethtool_keee { + long unsigned int supported[2]; + long unsigned int advertised[2]; + long unsigned int lp_advertised[2]; + u32 tx_lpi_timer; + bool tx_lpi_enabled; + bool eee_active; + bool eee_enabled; }; struct eee_reply_data { struct ethnl_reply_data base; - struct ethtool_eee eee; + struct ethtool_keee eee; }; struct eeprom_reply_data { @@ -19580,6 +21565,7 @@ struct ethnl_req_info { struct net_device *dev; netdevice_tracker dev_tracker; u32 flags; + u32 phy_index; }; struct eeprom_req_info { @@ -19685,7 +21671,7 @@ union efi_boot_services { void *close_protocol; void *open_protocol_information; void *protocols_per_handle; - void *locate_handle_buffer; + efi_status_t (*locate_handle_buffer)(int, efi_guid_t *, void *, long unsigned int *, efi_handle_t **); efi_status_t (*locate_protocol)(efi_guid_t *, void *, void **); efi_status_t (*install_multiple_protocol_interfaces)(efi_handle_t *, ...); efi_status_t (*uninstall_multiple_protocol_interfaces)(efi_handle_t, ...); @@ -19743,6 +21729,37 @@ union efi_boot_services { } mixed_mode; }; +struct efi_cc_event { + u32 event_size; + struct { + u32 header_size; + u16 header_version; + u32 mr_index; + u32 event_type; + } __attribute__((packed)) event_header; +} __attribute__((packed)); + +typedef struct efi_cc_event efi_cc_event_t; + +union efi_cc_protocol; + +typedef union efi_cc_protocol efi_cc_protocol_t; + +union efi_cc_protocol { + struct { + efi_status_t (*get_capability)(efi_cc_protocol_t *, efi_cc_boot_service_cap_t *); + efi_status_t (*get_event_log)(efi_cc_protocol_t *, efi_cc_event_log_format_t, efi_physical_addr_t *, efi_physical_addr_t *, efi_bool_t *); + efi_status_t (*hash_log_extend_event)(efi_cc_protocol_t *, u64, efi_physical_addr_t, u64, const efi_cc_event_t *); + efi_status_t (*map_pcr_to_mr_index)(efi_cc_protocol_t *, u32, efi_cc_mr_index_t *); + }; + struct { + u32 get_capability; + u32 get_event_log; + u32 hash_log_extend_event; + u32 map_pcr_to_mr_index; + } mixed_mode; +}; + struct efi_generic_dev_path { u8 type; u8 sub_type; @@ -19791,31 +21808,6 @@ union efi_graphics_output_protocol_mode { } mixed_mode; }; -struct efi_tcg2_event { - u32 event_size; - struct { - u32 header_size; - u16 header_version; - u32 pcr_index; - u32 event_type; - } __attribute__((packed)) event_header; -} __attribute__((packed)); - -typedef struct efi_tcg2_event efi_tcg2_event_t; - -struct efi_tcg2_tagged_event { - u32 tagged_event_id; - u32 tagged_event_data_size; -}; - -typedef struct efi_tcg2_tagged_event efi_tcg2_tagged_event_t; - -struct efi_measured_event { - efi_tcg2_event_t event_data; - efi_tcg2_tagged_event_t tagged_event; - u8 tagged_event_data[0]; -} __attribute__((packed)); - union efi_memory_attribute_protocol; typedef union efi_memory_attribute_protocol efi_memory_attribute_protocol_t; @@ -20012,6 +22004,18 @@ struct efi_system_resource_table { u8 entries[0]; }; +struct efi_tcg2_event { + u32 event_size; + struct { + u32 header_size; + u16 header_version; + u32 pcr_index; + u32 event_type; + } __attribute__((packed)) event_header; +} __attribute__((packed)); + +typedef struct efi_tcg2_event efi_tcg2_event_t; + struct efi_tcg2_final_events_table { u64 version; u64 nr_events; @@ -20057,6 +22061,24 @@ struct efi_vendor_dev_path { u8 vendordata[0]; }; +union efistub_event { + efi_tcg2_event_t tcg2_data; + efi_cc_event_t cc_data; +}; + +struct tdTCG_PCClientTaggedEvent { + u32 tagged_event_id; + u32 tagged_event_data_size; + u8 tagged_event_data[0]; +}; + +typedef struct tdTCG_PCClientTaggedEvent TCG_PCClientTaggedEvent; + +struct efistub_measured_event { + union efistub_event event_data; + TCG_PCClientTaggedEvent tagged_event; +} __attribute__((packed)); + typedef efi_status_t efi_query_variable_store_t(u32, long unsigned int, bool); struct efivar_operations { @@ -20237,7 +22259,6 @@ struct esre_entry; struct esre_attribute { struct attribute attr; ssize_t (*show)(struct esre_entry *, char *); - ssize_t (*store)(struct esre_entry *, const char *, size_t); }; struct esre_entry { @@ -20263,6 +22284,20 @@ struct ethnl_dump_ctx { long unsigned int pos_ifindex; }; +struct ethnl_module_fw_flash_ntf_params { + u32 portid; + u32 seq; + bool closed_sock; +}; + +struct phy_req_info; + +struct ethnl_phy_dump_ctx { + struct phy_req_info *phy_req_info; + long unsigned int ifindex; + long unsigned int phy_index; +}; + struct genl_info; struct ethnl_request_ops { @@ -20282,6 +22317,25 @@ struct ethnl_request_ops { int (*set)(struct ethnl_req_info *, struct genl_info *); }; +struct ethnl_sock_priv { + struct net_device *dev; + u32 portid; + enum ethnl_sock_type type; +}; + +struct tsinfo_req_info; + +struct tsinfo_reply_data; + +struct ethnl_tsinfo_dump_ctx { + struct tsinfo_req_info *req_info; + struct tsinfo_reply_data *reply_data; + long unsigned int pos_ifindex; + bool netdev_dump_done; + long unsigned int pos_phyindex; + enum hwtstamp_provider_qualifier pos_phcqualifier; +}; + struct ethnl_tunnel_info_dump_ctx { struct ethnl_req_info req_info; long unsigned int ifindex; @@ -20301,6 +22355,25 @@ struct ethtool_ah_espip6_spec { __u8 tclass; }; +struct ethtool_c33_pse_ext_state_info { + enum ethtool_c33_pse_ext_state c33_pse_ext_state; + union { + enum ethtool_c33_pse_ext_substate_error_condition error_condition; + enum ethtool_c33_pse_ext_substate_mr_pse_enable mr_pse_enable; + enum ethtool_c33_pse_ext_substate_option_detect_ted option_detect_ted; + enum ethtool_c33_pse_ext_substate_option_vport_lim option_vport_lim; + enum ethtool_c33_pse_ext_substate_ovld_detected ovld_detected; + enum ethtool_c33_pse_ext_substate_power_not_available power_not_available; + enum ethtool_c33_pse_ext_substate_short_detected short_detected; + u32 __c33_pse_ext_substate; + }; +}; + +struct ethtool_c33_pse_pw_limit_range { + u32 min; + u32 max; +}; + struct ethtool_cmd { __u32 cmd; __u32 supported; @@ -20321,6 +22394,69 @@ struct ethtool_cmd { __u32 reserved[2]; }; +struct ethtool_cmis_cdb { + u8 cmis_rev; + u8 read_write_len_ext; + u16 max_completion_time; +}; + +struct ethtool_cmis_cdb_request { + __be16 id; + union { + struct { + __be16 epl_len; + u8 lpl_len; + u8 chk_code; + u8 resv1; + u8 resv2; + u8 payload[120]; + }; + struct { + __be16 epl_len; + u8 lpl_len; + u8 chk_code; + u8 resv1; + u8 resv2; + u8 payload[120]; + } body; + }; + u8 *epl; +}; + +struct ethtool_cmis_cdb_cmd_args { + struct ethtool_cmis_cdb_request req; + u16 max_duration; + u8 read_write_len_ext; + u8 msleep_pre_rpl; + u8 rpl_exp_len; + u8 flags; + char *err_msg; +}; + +struct ethtool_cmis_cdb_rpl_hdr { + u8 rpl_len; + u8 rpl_chk_code; +}; + +struct ethtool_cmis_cdb_rpl { + struct ethtool_cmis_cdb_rpl_hdr hdr; + u8 payload[120]; +}; + +struct ethtool_module_fw_flash_params { + __be32 password; + u8 password_valid: 1; +}; + +struct firmware; + +struct ethtool_cmis_fw_update_params { + struct net_device *dev; + struct ethtool_module_fw_flash_params params; + struct ethnl_module_fw_flash_ntf_params ntf_params; + const struct firmware *fw; +}; + struct ethtool_flash { __u32 cmd; __u32 region; @@ -20358,6 +22494,18 @@ struct ethtool_dump { __u8 data[0]; }; +struct ethtool_eee { + __u32 cmd; + __u32 supported; + __u32 advertised; + __u32 lp_advertised; + __u32 eee_active; + __u32 eee_enabled; + __u32 tx_lpi_enabled; + __u32 tx_lpi_timer; + __u32 reserved[2]; +}; + struct ethtool_eeprom { __u32 cmd; __u32 magic; @@ -20524,6 +22672,13 @@ union ethtool_flow_union { __u8 hdata[52]; }; +struct ethtool_forced_speed_map { + u32 speed; + long unsigned int caps[2]; + const u32 *cap_arr; + u32 arr_size; +}; + struct ethtool_get_features_block { __u32 available; __u32 requested; @@ -20577,7 +22732,6 @@ struct ethtool_link_settings { __u8 master_slave_state; __u8 rate_matching; __u32 reserved[7]; - __u32 link_mode_masks[0]; }; struct ethtool_link_ksettings { @@ -20644,11 +22798,25 @@ struct ethtool_module_eeprom { u8 *data; }; +struct ethtool_module_fw_flash { + struct list_head list; + netdevice_tracker dev_tracker; + struct work_struct work; + struct ethtool_cmis_fw_update_params fw_update; +}; + struct ethtool_module_power_mode_params { enum ethtool_module_power_mode_policy policy; enum ethtool_module_power_mode mode; }; +struct ethtool_netdev_state { + struct xarray rss_ctx; + struct mutex rss_lock; + unsigned int wol_enabled: 1; + unsigned int module_fw_flash_in_progress: 1; +}; + struct ethtool_regs; struct ethtool_wolinfo; @@ -20667,7 +22835,13 @@ struct ethtool_stats; struct ethtool_rxnfc; -struct ethtool_ts_info; +struct ethtool_rxfh_param; + +struct ethtool_rxfh_context; + +struct kernel_ethtool_ts_info; + +struct ethtool_ts_stats; struct ethtool_tunable; @@ -20677,8 +22851,17 @@ struct ethtool_rmon_hist_range; struct ethtool_ops { u32 cap_link_lanes_supported: 1; + u32 cap_rss_ctx_supported: 1; + u32 cap_rss_sym_xor_supported: 1; + u32 rxfh_per_ctx_key: 1; + u32 cap_rss_rxnfc_adds: 1; + u32 rxfh_indir_space; + u16 rxfh_key_space; + u16 rxfh_priv_size; + u32 rxfh_max_num_contexts; u32 supported_coalesce_params; u32 supported_ring_params; + u32 supported_hwtstamp_qualifiers; void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *); int (*get_regs_len)(struct net_device *); void (*get_regs)(struct net_device *, struct ethtool_regs *, void *); @@ -20715,20 +22898,22 @@ struct ethtool_ops { int (*reset)(struct net_device *, u32 *); u32 (*get_rxfh_key_size)(struct net_device *); u32 (*get_rxfh_indir_size)(struct net_device *); - int (*get_rxfh)(struct net_device *, u32 *, u8 *, u8 *); - int (*set_rxfh)(struct net_device *, const u32 *, const u8 *, const u8); - int (*get_rxfh_context)(struct net_device *, u32 *, u8 *, u8 *, u32); - int (*set_rxfh_context)(struct net_device *, const u32 *, const u8 *, const u8, u32 *, bool); + int (*get_rxfh)(struct net_device *, struct ethtool_rxfh_param *); + int (*set_rxfh)(struct net_device *, struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*create_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, const struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*modify_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, const struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*remove_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, u32, struct netlink_ext_ack *); void (*get_channels)(struct net_device *, struct ethtool_channels *); int (*set_channels)(struct net_device *, struct ethtool_channels *); int (*get_dump_flag)(struct net_device *, struct ethtool_dump *); int (*get_dump_data)(struct net_device *, struct ethtool_dump *, void *); int (*set_dump)(struct net_device *, struct ethtool_dump *); - int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *); + int (*get_ts_info)(struct net_device *, struct kernel_ethtool_ts_info *); + void (*get_ts_stats)(struct net_device *, struct ethtool_ts_stats *); int (*get_module_info)(struct net_device *, struct ethtool_modinfo *); int (*get_module_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *); - int (*get_eee)(struct net_device *, struct ethtool_eee *); - int (*set_eee)(struct net_device *, struct ethtool_eee *); + int (*get_eee)(struct net_device *, struct ethtool_keee *); + int (*set_eee)(struct net_device *, struct ethtool_keee *); int (*get_tunable)(struct net_device *, const struct ethtool_tunable *, void *); int (*set_tunable)(struct net_device *, const struct ethtool_tunable *, const void *); int (*get_per_queue_coalesce)(struct net_device *, u32, struct ethtool_coalesce *); @@ -20742,6 +22927,7 @@ struct ethtool_ops { int (*get_phy_tunable)(struct net_device *, const struct ethtool_tunable *, void *); int (*set_phy_tunable)(struct net_device *, const struct ethtool_tunable *, const void *); int (*get_module_eeprom_by_page)(struct net_device *, const struct ethtool_module_eeprom *, struct netlink_ext_ack *); + int (*set_module_eeprom_by_page)(struct net_device *, const struct ethtool_module_eeprom *, struct netlink_ext_ack *); void (*get_eth_phy_stats)(struct net_device *, struct ethtool_eth_phy_stats *); void (*get_eth_mac_stats)(struct net_device *, struct ethtool_eth_mac_stats *); void (*get_eth_ctrl_stats)(struct net_device *, struct ethtool_eth_ctrl_stats *); @@ -20806,6 +22992,28 @@ struct ethtool_phy_ops { int (*start_cable_test_tdr)(struct phy_device *, struct netlink_ext_ack *, const struct phy_tdr_config *); }; +struct ethtool_phy_stats { + u64 rx_packets; + u64 rx_bytes; + u64 rx_errors; + u64 tx_packets; + u64 tx_bytes; + u64 tx_errors; +}; + +struct ethtool_pse_control_status { + enum ethtool_podl_pse_admin_state podl_admin_state; + enum ethtool_podl_pse_pw_d_status podl_pw_status; + enum ethtool_c33_pse_admin_state c33_admin_state; + enum ethtool_c33_pse_pw_d_status c33_pw_status; + u32 c33_pw_class; + u32 c33_actual_pw; + struct ethtool_c33_pse_ext_state_info c33_ext_state_info; + u32 c33_avail_pw_limit; + struct ethtool_c33_pse_pw_limit_range *c33_pw_limit_ranges; + u32 c33_pw_limit_nb_ranges; +}; + struct ethtool_regs { __u32 cmd; __u32 version; @@ -20953,11 +23161,36 @@ struct ethtool_rxfh { __u32 indir_size; __u32 key_size; __u8 hfunc; - __u8 rsvd8[3]; + __u8 input_xfrm; + __u8 rsvd8[2]; __u32 rsvd32; __u32 rss_config[0]; }; +struct ethtool_rxfh_context { + u32 indir_size; + u32 key_size; + u16 priv_size; + u8 hfunc; + u8 input_xfrm; + u8 indir_configured: 1; + u8 key_configured: 1; + u32 key_off; + long: 0; + u8 data[0]; +}; + +struct ethtool_rxfh_param { + u8 hfunc; + u32 indir_size; + u32 *indir; + u32 key_size; + u8 *key; + u32 rss_context; + u8 rss_delete; + u8 input_xfrm; +}; + struct ethtool_rxnfc { __u32 cmd; __u32 flow_type; @@ -21012,6 +23245,23 @@ struct ethtool_ts_info { __u32 rx_reserved[3]; }; +struct ethtool_ts_stats { + union { + struct { + u64 pkts; + u64 onestep_pkts_unconfirmed; + u64 lost; + u64 err; + }; + struct { + u64 pkts; + u64 onestep_pkts_unconfirmed; + u64 lost; + u64 err; + } tx_stats; + }; +}; + struct ethtool_tunable { __u32 cmd; __u32 id; @@ -21073,6 +23323,14 @@ struct event_function_struct { void *data; }; +struct event_mod_load { + struct list_head list; + char *module; + char *match; + char *system; + char *event; +}; + struct event_probe_data { struct trace_event_file *file; long unsigned int count; @@ -21113,29 +23371,43 @@ struct event_trigger_ops { int (*print)(struct seq_file *, struct event_trigger_data *); }; -struct eventfs_inode; +struct eventfs_attr { + int mode; + kuid_t uid; + kgid_t gid; +}; -struct inode_operations; +typedef int (*eventfs_callback)(const char *, umode_t *, void **, const struct file_operations **); -struct eventfs_file { +typedef void (*eventfs_release)(const char *, void *); + +struct eventfs_entry { const char *name; - struct dentry *d_parent; - struct dentry *dentry; - struct list_head list; - struct eventfs_inode *ei; - const struct file_operations *fop; - const struct inode_operations *iop; + eventfs_callback callback; + eventfs_release release; +}; + +struct eventfs_inode { union { - struct list_head del_list; + struct list_head list; struct callback_head rcu; - long unsigned int is_freed; }; + struct list_head children; + const struct eventfs_entry *entries; + const char *name; + struct eventfs_attr *entry_attrs; void *data; - umode_t mode; + struct eventfs_attr attr; + struct kref kref; + unsigned int is_freed: 1; + unsigned int is_events: 1; + unsigned int nr_entries: 30; + unsigned int ino; }; -struct eventfs_inode { - struct list_head e_top_files; +struct eventfs_root_inode { + struct eventfs_inode ei; + struct dentry *events_dir; }; struct exception_table_entry { @@ -21145,6 +23417,20 @@ struct exception_table_entry { short int data; }; +struct execmem_range { + long unsigned int start; + long unsigned int end; + long unsigned int fallback_start; + long unsigned int fallback_end; + pgprot_t pgprot; + unsigned int alignment; + enum execmem_range_flags flags; +}; + +struct execmem_info { + struct execmem_range ranges[5]; +}; + struct execute_work { struct work_struct work; }; @@ -21162,6 +23448,8 @@ struct fid; struct iattr; +struct handle_to_path_ctx; + struct export_operations { int (*encode_fh)(struct inode *, __u32 *, int *, struct inode *); struct dentry * (*fh_to_dentry)(struct super_block *, struct fid *, int, int); @@ -21172,14 +23460,14 @@ struct export_operations { int (*get_uuid)(struct super_block *, u8 *, u32 *, u64 *); int (*map_blocks)(struct inode *, loff_t, u64, struct iomap *, bool, u32 *); int (*commit_blocks)(struct inode *, struct iomap *, int, struct iattr *); + int (*permission)(struct handle_to_path_ctx *, unsigned int); + struct file * (*open)(struct path *, unsigned int); long unsigned int flags; }; struct external_name { - union { - atomic_t count; - struct callback_head head; - } u; + atomic_t count; + struct callback_head head; unsigned char name[0]; }; @@ -21217,6 +23505,20 @@ struct fasync_struct { struct callback_head fa_rcu; }; +struct faux_device { + struct device dev; +}; + +struct faux_device_ops { + int (*probe)(struct faux_device *); + void (*remove)(struct faux_device *); +}; + +struct faux_object { + struct faux_device faux_dev; + const struct faux_device_ops *faux_ops; +}; + struct fc_log { refcount_t usage; u8 head; @@ -21227,8 +23529,18 @@ struct fc_log { }; struct fd { - struct file *file; - unsigned int flags; + long unsigned int word; +}; + +typedef struct fd class_fd_pos_t; + +typedef struct fd class_fd_raw_t; + +typedef struct fd class_fd_t; + +struct fd_range { + unsigned int from; + unsigned int to; }; struct fdt_errtabent { @@ -21363,38 +23675,75 @@ struct ftrace_graph_ret { long unsigned int func; int depth; unsigned int overrun; - long long unsigned int calltime; - long long unsigned int rettime; }; struct ftrace_graph_ret_entry { struct trace_entry ent; struct ftrace_graph_ret ret; + long long unsigned int calltime; + long long unsigned int rettime; }; struct fgraph_data { struct fgraph_cpu_data *cpu_data; - struct ftrace_graph_ent_entry ent; + union { + struct ftrace_graph_ent_entry ent; + struct ftrace_graph_ent_entry rent; + } ent; struct ftrace_graph_ret_entry ret; int failed; int cpu; long: 0; } __attribute__((packed)); -typedef int (*trace_func_graph_ent_t)(struct ftrace_graph_ent *); +struct fgraph_ops; + +typedef int (*trace_func_graph_ent_t)(struct ftrace_graph_ent *, struct fgraph_ops *, struct ftrace_regs *); + +typedef void (*trace_func_graph_ret_t)(struct ftrace_graph_ret *, struct fgraph_ops *, struct ftrace_regs *); + +typedef void (*ftrace_func_t)(long unsigned int, long unsigned int, struct ftrace_ops *, struct ftrace_regs *); + +struct ftrace_hash; + +struct ftrace_ops_hash { + struct ftrace_hash *notrace_hash; + struct ftrace_hash *filter_hash; + struct mutex regex_lock; +}; + +typedef int (*ftrace_ops_func_t)(struct ftrace_ops *, enum ftrace_ops_cmd); -typedef void (*trace_func_graph_ret_t)(struct ftrace_graph_ret *); +struct ftrace_ops { + ftrace_func_t func; + struct ftrace_ops *next; + long unsigned int flags; + void *private; + ftrace_func_t saved_func; + struct ftrace_ops_hash local_hash; + struct ftrace_ops_hash *func_hash; + struct ftrace_ops_hash old_hash; + long unsigned int trampoline; + long unsigned int trampoline_size; + struct list_head list; + struct list_head subop_list; + ftrace_ops_func_t ops_func; + struct ftrace_ops *managed; + long unsigned int direct_call; +}; struct fgraph_ops { trace_func_graph_ent_t entryfunc; trace_func_graph_ret_t retfunc; + struct ftrace_ops ops; + void *private; + trace_func_graph_ent_t saved_func; + int idx; }; -struct fgraph_ret_regs { - long unsigned int a1; - long unsigned int a0; - long unsigned int s0; - long unsigned int ra; +struct fgraph_times { + long long unsigned int calltime; + long long unsigned int sleeptime; }; struct fib6_node; @@ -21713,6 +24062,7 @@ struct fib_dump_filter { bool filter_set; bool dump_routes; bool dump_exceptions; + bool rtnl_held; unsigned char protocol; unsigned char rt_type; unsigned int flags; @@ -21789,7 +24139,7 @@ struct fib_notifier_net { struct fib_notifier_ops { int family; struct list_head list; - unsigned int (*fib_seq_read)(struct net *); + unsigned int (*fib_seq_read)(const struct net *); int (*fib_dump)(struct net *, struct notifier_block *, struct netlink_ext_ack *); struct module *owner; struct callback_head rcu; @@ -21809,6 +24159,7 @@ struct fib_result { unsigned char type; unsigned char scope; u32 tclassid; + dscp_t dscp; struct fib_nh_common *nhc; struct fib_info *fi; struct fib_table *table; @@ -21859,6 +24210,10 @@ struct fid { u32 parent_ino; u32 parent_gen; } i32; + struct { + u64 ino; + u32 gen; + } __attribute__((packed)) i64; struct { u32 block; u16 partref; @@ -21930,6 +24285,31 @@ struct file_dedupe_range { typedef void *fl_owner_t; +struct file_lock_core { + struct file_lock_core *flc_blocker; + struct list_head flc_list; + struct hlist_node flc_link; + struct list_head flc_blocked_requests; + struct list_head flc_blocked_member; + fl_owner_t flc_owner; + unsigned int flc_flags; + unsigned char flc_type; + pid_t flc_pid; + int flc_link_cpu; + wait_queue_head_t flc_wait; + struct file *flc_file; +}; + +struct lease_manager_operations; + +struct file_lease { + struct file_lock_core c; + struct fasync_struct *fl_fasync; + long unsigned int fl_break_time; + long unsigned int fl_downgrade_time; + const struct lease_manager_operations *fl_lmops; +}; + struct nlm_lockowner; struct nfs_lock_info { @@ -21949,23 +24329,9 @@ struct file_lock_operations; struct lock_manager_operations; struct file_lock { - struct file_lock *fl_blocker; - struct list_head fl_list; - struct hlist_node fl_link; - struct list_head fl_blocked_requests; - struct list_head fl_blocked_member; - fl_owner_t fl_owner; - unsigned int fl_flags; - unsigned char fl_type; - unsigned int fl_pid; - int fl_link_cpu; - wait_queue_head_t fl_wait; - struct file *fl_file; + struct file_lock_core c; loff_t fl_start; loff_t fl_end; - struct fasync_struct *fl_fasync; - long unsigned int fl_break_time; - long unsigned int fl_downgrade_time; const struct file_lock_operations *fl_ops; const struct lock_manager_operations *fl_lmops; union { @@ -21994,12 +24360,13 @@ struct file_lock_operations { void (*fl_release_private)(struct file_lock *); }; -struct pipe_inode_info; - struct io_uring_cmd; +struct pipe_inode_info; + struct file_operations { struct module *owner; + fop_flags_t fop_flags; loff_t (*llseek)(struct file *, loff_t, int); ssize_t (*read)(struct file *, char *, size_t, loff_t *); ssize_t (*write)(struct file *, const char *, size_t, loff_t *); @@ -22011,7 +24378,6 @@ struct file_operations { long int (*unlocked_ioctl)(struct file *, unsigned int, long unsigned int); long int (*compat_ioctl)(struct file *, unsigned int, long unsigned int); int (*mmap)(struct file *, struct vm_area_struct *); - long unsigned int mmap_supported_flags; int (*open)(struct inode *, struct file *); int (*flush)(struct file *, fl_owner_t); int (*release)(struct inode *, struct file *); @@ -22024,7 +24390,7 @@ struct file_operations { ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int); ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int); void (*splice_eof)(struct file *); - int (*setlease)(struct file *, int, struct file_lock **, void **); + int (*setlease)(struct file *, int, struct file_lease **, void **); long int (*fallocate)(struct file *, int, loff_t, loff_t); void (*show_fdinfo)(struct seq_file *, struct file *); ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t, size_t, unsigned int); @@ -22104,6 +24470,14 @@ struct filter_list { struct event_filter *filter; }; +struct filter_match_data { + const char *filter; + const char *notfilter; + size_t index; + size_t size; + long unsigned int *addrs; +}; + struct filter_parse_error { int lasterr; int lasterr_pos; @@ -22133,11 +24507,17 @@ struct find_symbol_arg { bool gplok; bool warn; struct module *owner; - const s32 *crc; + const u32 *crc; const struct kernel_symbol *sym; enum mod_license license; }; +struct firmware { + size_t size; + const u8 *data; + void *priv; +}; + struct flock { short int l_type; short int l_whence; @@ -22148,14 +24528,14 @@ struct flock { typedef void (*action_destr)(void *); -struct ip_tunnel_info; - struct psample_group; struct nf_flowtable; struct action_gate_entry; +struct ip_tunnel_info; + struct flow_action_cookie; struct flow_action_entry { @@ -22360,7 +24740,7 @@ struct flow_dissector_key_ct { struct flow_dissector_key_enc_opts { u8 data[255]; u8 len; - __be16 dst_opt_type; + u32 dst_opt_type; }; struct flow_dissector_key_hash { @@ -22621,8 +25001,8 @@ struct flowi_common { __u8 flowic_flags; __u32 flowic_secid; kuid_t flowic_uid; - struct flowi_tunnel flowic_tun_key; __u32 flowic_multipath_hash; + struct flowi_tunnel flowic_tun_key; }; union flowi_uli { @@ -22664,6 +25044,24 @@ struct flowi { } u; }; +struct flush_backlogs { + cpumask_t flush_cpus; + struct work_struct w[0]; +}; + +struct flush_tlb_range_data { + long unsigned int asid; + long unsigned int start; + long unsigned int size; + long unsigned int stride; +}; + +struct fmt { + const char *str; + unsigned char state; + unsigned char size; +}; + struct fnhe_hash_bucket { struct fib_nh_exception *chain; }; @@ -22695,10 +25093,7 @@ struct page { struct page_pool *pp; long unsigned int _pp_mapping_pad; long unsigned int dma_addr; - union { - long unsigned int dma_addr_upper; - atomic_long_t pp_frag_count; - }; + atomic_long_t pp_ref_count; }; struct { long unsigned int compound_head; @@ -22710,10 +25105,11 @@ struct page { struct callback_head callback_head; }; union { - atomic_t _mapcount; unsigned int page_type; + atomic_t _mapcount; }; atomic_t _refcount; + long: 64; }; struct folio { @@ -22742,7 +25138,7 @@ struct folio { struct { long unsigned int _flags_1; long unsigned int _head_1; - long unsigned int _folio_avail; + atomic_t _large_mapcount; atomic_t _entire_mapcount; atomic_t _nr_pages_mapped; atomic_t _pincount; @@ -22768,6 +25164,18 @@ struct folio { }; }; +struct folio_queue { + struct folio_batch vec; + u8 orders[31]; + struct folio_queue *next; + struct folio_queue *prev; + long unsigned int marks; + long unsigned int marks2; + long unsigned int marks3; + unsigned int rreq_id; + unsigned int debug_id; +}; + struct mem_cgroup; struct folio_referenced_arg { @@ -22777,32 +25185,70 @@ struct folio_referenced_arg { struct mem_cgroup *memcg; }; +struct folio_walk { + struct page *page; + enum folio_walk_level level; + union { + pte_t *ptep; + pud_t *pudp; + pmd_t *pmdp; + }; + union { + pte_t pte; + pud_t pud; + pmd_t pmd; + }; + struct vm_area_struct *vma; + spinlock_t *ptl; +}; + struct follow_page_context { struct dev_pagemap *pgmap; unsigned int page_mask; }; -struct freelist_node { - atomic_t refs; - struct freelist_node *next; +struct follow_pfnmap_args { + struct vm_area_struct *vma; + long unsigned int address; + spinlock_t *lock; + pte_t *ptep; + long unsigned int pfn; + pgprot_t pgprot; + bool writable; + bool special; }; -struct rethook_node { - union { - struct freelist_node freelist; - struct callback_head rcu; - }; - struct llist_node llist; - struct rethook *rethook; - long unsigned int ret_addr; - long unsigned int frame; +struct format_state___2 { + unsigned char state; + unsigned char size; + unsigned char flags_or_double_size; + unsigned char base; }; -struct fprobe_rethook_node { - struct rethook_node node; - long unsigned int entry_ip; - long unsigned int entry_parent_ip; - char data[0]; +struct pid; + +struct fown_struct { + struct file *file; + rwlock_t lock; + struct pid *pid; + enum pid_type pid_type; + kuid_t uid; + kuid_t euid; + int signum; +}; + +struct fprobe_hlist_node { + struct hlist_node hlist; + long unsigned int addr; + struct fprobe *fp; +}; + +struct fprobe_hlist { + struct hlist_node hlist; + struct callback_head rcu; + struct fprobe *fp; + int size; + struct fprobe_hlist_node array[0]; }; struct fprop_global { @@ -22811,12 +25257,6 @@ struct fprop_global { seqcount_t sequence; }; -struct fprop_local_single { - long unsigned int events; - unsigned int period; - raw_spinlock_t lock; -}; - typedef u32 (*rht_hashfn_t)(const void *, u32, u32); typedef u32 (*rht_obj_hashfn_t)(const void *, u32, u32); @@ -22905,7 +25345,7 @@ struct inet_frag_queue { ktime_t stamp; int len; int meat; - u8 mono_delivery_time; + u8 tstamp_type; __u8 flags; u16 max_size; struct fqdir *fqdir; @@ -22919,15 +25359,30 @@ struct frag_queue { u8 ecn; }; +struct freader { + void *buf; + u32 buf_sz; + int err; + union { + struct { + struct file *file; + struct folio *folio; + void *addr; + loff_t folio_off; + bool may_fault; + }; + struct { + const char *data; + u64 data_sz; + }; + }; +}; + struct free_area { struct list_head free_list[4]; long unsigned int nr_free; }; -struct freelist_head { - struct freelist_node *head; -}; - struct p_log { const char *prefix; struct fc_log *log; @@ -23003,6 +25458,8 @@ struct fs_parse_result { int int_32; unsigned int uint_32; u64 uint_64; + kuid_t uid; + kgid_t gid; }; }; @@ -23024,6 +25481,33 @@ struct fs_struct { struct path pwd; }; +struct fs_sysfs_path { + __u8 len; + __u8 name[128]; +}; + +struct fsnotify_mark_connector { + spinlock_t lock; + unsigned char type; + unsigned char prio; + short unsigned int flags; + union { + void *obj; + struct fsnotify_mark_connector *destroy_next; + }; + struct hlist_head list; +}; + +struct fsnotify_sb_info { + struct fsnotify_mark_connector *sb_marks; + atomic_long_t watched_objects[3]; +}; + +struct fsuuid2 { + __u8 len; + __u8 uuid[16]; +}; + struct fsxattr { __u32 fsx_xflags; __u32 fsx_extsize; @@ -23034,8 +25518,9 @@ struct fsxattr { }; struct trace_seq { - char buffer[4096]; + char buffer[8156]; struct seq_buf seq; + size_t readpos; int full; }; @@ -23056,9 +25541,10 @@ struct trace_iterator { unsigned int temp_size; char *fmt; unsigned int fmt_size; - long int wait_index; + atomic_t wait_index; struct trace_seq tmp_seq; cpumask_var_t started; + bool closed; bool snapshot; struct trace_seq seq; struct trace_entry *ent; @@ -23075,6 +25561,7 @@ struct ftrace_buffer_info { struct trace_iterator iter; void *spare; unsigned int spare_cpu; + unsigned int spare_size; unsigned int read; }; @@ -23091,7 +25578,8 @@ struct ftrace_event_field { int filter_type; int offset; int size; - int is_signed; + unsigned int is_signed: 1; + unsigned int needs_test: 1; int len; }; @@ -23207,6 +25695,11 @@ struct ftrace_mod_map { unsigned int num_funcs; }; +struct ftrace_modify_param { + int command; + atomic_t cpu_count; +}; + struct ftrace_page { struct ftrace_page *next; struct dyn_ftrace *records; @@ -23226,14 +25719,11 @@ struct ftrace_rec_iter { int index; }; -struct ftrace_regs { - struct pt_regs regs; -}; +struct ftrace_regs {}; struct ftrace_ret_stack { long unsigned int ret; long unsigned int func; - long long unsigned int calltime; long unsigned int fp; long unsigned int *retp; }; @@ -23295,6 +25785,7 @@ struct fwnode_operations { bool (*device_dma_supported)(const struct fwnode_handle *); enum dev_dma_attr (*device_get_dma_attr)(const struct fwnode_handle *); bool (*property_present)(const struct fwnode_handle *, const char *); + bool (*property_read_bool)(const struct fwnode_handle *, const char *); int (*property_read_int_array)(const struct fwnode_handle *, const char *, unsigned int, void *, size_t); int (*property_read_string_array)(const struct fwnode_handle *, const char *, const char **, size_t); const char * (*get_name)(const struct fwnode_handle *); @@ -23408,7 +25899,10 @@ struct genl_info { struct genlmsghdr *genlhdr; struct nlattr **attrs; possible_net_t _net; - void *user_ptr[2]; + union { + u8 ctx[48]; + void *user_ptr[2]; + }; struct netlink_ext_ack *extack; }; @@ -23438,13 +25932,19 @@ struct genl_family { const struct nla_policy *policy; int (*pre_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); void (*post_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); + int (*bind)(int); + void (*unbind)(int); const struct genl_ops *ops; const struct genl_small_ops *small_ops; const struct genl_split_ops *split_ops; const struct genl_multicast_group *mcgrps; struct module *module; + size_t sock_priv_size; + void (*sock_priv_init)(void *); + void (*sock_priv_destroy)(void *); int id; unsigned int mcgrp_offset; + struct xarray *sock_privs; }; struct genl_multicast_group { @@ -23505,8 +26005,8 @@ struct genradix_iter { struct genradix_node { union { - struct genradix_node *children[512]; - u8 data[4096]; + struct genradix_node *children[64]; + u8 data[512]; }; }; @@ -23577,10 +26077,6 @@ struct gnet_stats_rate_est64 { __u64 pps; }; -struct got_entry { - long unsigned int symbol_addr; -}; - struct gre_base_hdr { __be16 flags; __be16 protocol; @@ -23599,11 +26095,13 @@ struct gro_list { int count; }; +struct napi_config; + struct napi_struct { struct list_head poll_list; long unsigned int state; int weight; - int defer_hard_irqs_count; + u32 defer_hard_irqs_count; long unsigned int gro_bitmask; int (*poll)(struct napi_struct *, int); int list_owner; @@ -23615,8 +26113,14 @@ struct napi_struct { unsigned int napi_id; struct hrtimer timer; struct task_struct *thread; + long unsigned int gro_flush_timeout; + long unsigned int irq_suspend_timeout; + u32 defer_hard_irqs; struct list_head dev_list; struct hlist_node napi_hash_node; + int irq; + int index; + struct napi_config *config; }; struct gro_cell { @@ -23648,7 +26152,7 @@ struct group_filter { }; struct group_info { - atomic_t usage; + refcount_t usage; int ngroups; kgid_t gid[0]; }; @@ -23664,6 +26168,12 @@ struct group_source_req { struct __kernel_sockaddr_storage gsr_source; }; +struct handle_to_path_ctx { + struct path root; + enum handle_to_path_flags flags; + unsigned int fh_flags; +}; + struct hh_cache; struct header_ops { @@ -23698,6 +26208,12 @@ struct hop_jumbo_hdr { __be32 jumbo_payload_len; }; +struct hprobe { + enum hprobe_state state; + int srcu_idx; + struct uprobe *uprobe; +}; + struct seqcount_raw_spinlock { seqcount_t seqcount; }; @@ -23713,7 +26229,7 @@ struct hrtimer_clock_base { seqcount_raw_spinlock_t seq; struct hrtimer *running; struct timerqueue_head active; - ktime_t (*get_time)(); + ktime_t (*get_time)(void); ktime_t offset; }; @@ -23726,6 +26242,7 @@ struct hrtimer_cpu_base { unsigned int in_hrtirq: 1; unsigned int hang_detected: 1; unsigned int softirq_activated: 1; + unsigned int online: 1; ktime_t expires_next; struct hrtimer *next_timer; ktime_t softirq_expires_next; @@ -23733,6 +26250,11 @@ struct hrtimer_cpu_base { long: 64; long: 64; struct hrtimer_clock_base clock_base[8]; + call_single_data_t csd; + long: 64; + long: 64; + long: 64; + long: 64; }; struct hrtimer_sleeper { @@ -23807,6 +26329,10 @@ struct hw_perf_event { struct hw_perf_event_extra extra_reg; struct hw_perf_event_extra branch_reg; }; + struct { + u64 aux_config; + unsigned int aux_paused; + }; struct { struct hrtimer hrtimer; }; @@ -23874,6 +26400,18 @@ struct hwtstamp_config { int rx_filter; }; +struct hwtstamp_provider_desc { + int index; + enum hwtstamp_provider_qualifier qualifier; +}; + +struct hwtstamp_provider { + struct callback_head callback_head; + enum hwtstamp_source source; + struct phy_device *phydev; + struct hwtstamp_provider_desc desc; +}; + struct iattr { unsigned int ia_valid; umode_t ia_mode; @@ -24358,6 +26896,51 @@ struct igmphdr { __be32 group; }; +struct imsic_local_config; + +struct imsic_global_config { + u32 guest_index_bits; + u32 hart_index_bits; + u32 group_index_bits; + u32 group_index_shift; + phys_addr_t base_addr; + u32 nr_ids; + u32 nr_guest_ids; + struct imsic_local_config *local; +}; + +struct imsic_local_config { + phys_addr_t msi_pa; + void *msi_va; +}; + +struct imsic_vector; + +struct imsic_local_priv { + raw_spinlock_t lock; + long unsigned int *dirty_bitmap; + struct imsic_vector *vectors; +}; + +struct irq_matrix; + +struct imsic_priv { + struct fwnode_handle *fwnode; + struct imsic_global_config global; + struct imsic_local_priv *lpriv; + raw_spinlock_t matrix_lock; + struct irq_matrix *matrix; + struct irq_domain *base_domain; +}; + +struct imsic_vector { + unsigned int cpu; + unsigned int local_id; + unsigned int hwirq; + bool enable; + struct imsic_vector *move; +}; + struct in6_flowlabel_req { struct in6_addr flr_dst; __be32 flr_label; @@ -24438,7 +27021,7 @@ struct in_device { }; struct in_ifaddr { - struct hlist_node hash; + struct hlist_node addr_lst; struct in_ifaddr *ifa_next; struct in_device *ifa_dev; struct callback_head callback_head; @@ -24484,9 +27067,14 @@ struct ipv6_stable_secret { }; struct ipv6_devconf { - __s32 forwarding; + __u8 __cacheline_group_begin__ipv6_devconf_read_txrx[0]; + __s32 disable_ipv6; __s32 hop_limit; __s32 mtu6; + __s32 forwarding; + __s32 disable_policy; + __s32 proxy_ndp; + __u8 __cacheline_group_end__ipv6_devconf_read_txrx[0]; __s32 accept_ra; __s32 accept_redirects; __s32 autoconf; @@ -24501,6 +27089,7 @@ struct ipv6_devconf { __s32 use_tempaddr; __s32 temp_valid_lft; __s32 temp_prefered_lft; + __s32 regen_min_advance; __s32 regen_max_retry; __s32 max_desync_factor; __s32 max_addresses; @@ -24510,10 +27099,8 @@ struct ipv6_devconf { __s32 accept_ra_min_lft; __s32 accept_ra_pinfo; __s32 ignore_routes_with_linkdown; - __s32 proxy_ndp; __s32 accept_source_route; __s32 accept_ra_from_local; - __s32 disable_ipv6; __s32 drop_unicast_in_l2_multicast; __s32 accept_dad; __s32 force_tllao; @@ -24528,13 +27115,14 @@ struct ipv6_devconf { __s32 seg6_enabled; __u32 enhanced_dad; __u32 addr_gen_mode; - __s32 disable_policy; __s32 ndisc_tclass; __s32 rpl_seg_enabled; __u32 ioam6_id; __u32 ioam6_id_wide; __u8 ioam6_enabled; __u8 ndisc_evict_nocarrier; + __u8 ra_honor_pio_life; + __u8 ra_honor_pio_pflag; struct ctl_table_header *sysctl_header; }; @@ -24600,6 +27188,7 @@ struct inet6_fill_args { int netnsid; int ifindex; enum addr_type_t type; + bool force_rt_scope_universe; }; struct inet6_ifaddr { @@ -24639,6 +27228,7 @@ struct inet6_protocol { int (*handler)(struct sk_buff *); int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int, __be32); unsigned int flags; + u32 secret; }; struct inet6_skb_parm { @@ -24658,14 +27248,11 @@ struct inet_bind2_bucket { possible_net_t ib_net; int l3mdev; short unsigned int port; - short unsigned int family; - union { - struct in6_addr v6_rcv_saddr; - __be32 rcv_saddr; - }; + short unsigned int addr_type; + struct in6_addr v6_rcv_saddr; struct hlist_node node; + struct hlist_node bhash_node; struct hlist_head owners; - struct hlist_head deathrow; }; struct inet_bind_bucket { @@ -24680,7 +27267,7 @@ struct inet_bind_bucket { short unsigned int fast_sk_family; bool fast_ipv6_only; struct hlist_node node; - struct hlist_head owners; + struct hlist_head bhash2; }; struct inet_bind_hashbucket { @@ -24770,12 +27357,9 @@ struct sock_reuseport; struct sock { struct sock_common __sk_common; - struct dst_entry *sk_rx_dst; - int sk_rx_dst_ifindex; - u32 sk_rx_dst_cookie; - socket_lock_t sk_lock; + __u8 __cacheline_group_begin__sock_write_rx[0]; atomic_t sk_drops; - int sk_rcvlowat; + __s32 sk_peek_off; struct sk_buff_head sk_error_queue; struct sk_buff_head sk_receive_queue; struct { @@ -24784,18 +27368,39 @@ struct sock { struct sk_buff *head; struct sk_buff *tail; } sk_backlog; - int sk_forward_alloc; - u32 sk_reserved_mem; + __u8 __cacheline_group_end__sock_write_rx[0]; + __u8 __cacheline_group_begin__sock_read_rx[0]; + struct dst_entry *sk_rx_dst; + int sk_rx_dst_ifindex; + u32 sk_rx_dst_cookie; unsigned int sk_ll_usec; unsigned int sk_napi_id; + u16 sk_busy_poll_budget; + u8 sk_prefer_busy_poll; + u8 sk_userlocks; int sk_rcvbuf; - int sk_disconnects; struct sk_filter *sk_filter; union { struct socket_wq *sk_wq; struct socket_wq *sk_wq_raw; }; - struct dst_entry *sk_dst_cache; + void (*sk_data_ready)(struct sock *); + long int sk_rcvtimeo; + int sk_rcvlowat; + __u8 __cacheline_group_end__sock_read_rx[0]; + __u8 __cacheline_group_begin__sock_read_rxtx[0]; + int sk_err; + struct socket *sk_socket; + struct mem_cgroup *sk_memcg; + __u8 __cacheline_group_end__sock_read_rxtx[0]; + __u8 __cacheline_group_begin__sock_write_rxtx[0]; + socket_lock_t sk_lock; + u32 sk_reserved_mem; + int sk_forward_alloc; + u32 sk_tsflags; + __u8 __cacheline_group_end__sock_write_rxtx[0]; + __u8 __cacheline_group_begin__sock_write_tx[0]; + int sk_write_pending; atomic_t sk_omem_alloc; int sk_sndbuf; int sk_wmem_queued; @@ -24806,63 +27411,57 @@ struct sock { struct rb_root tcp_rtx_queue; }; struct sk_buff_head sk_write_queue; - __s32 sk_peek_off; - int sk_write_pending; - __u32 sk_dst_pending_confirm; + u32 sk_dst_pending_confirm; u32 sk_pacing_status; - long int sk_sndtimeo; + struct page_frag sk_frag; struct timer_list sk_timer; - __u32 sk_priority; - __u32 sk_mark; long unsigned int sk_pacing_rate; + atomic_t sk_zckey; + atomic_t sk_tskey; + __u8 __cacheline_group_end__sock_write_tx[0]; + __u8 __cacheline_group_begin__sock_read_tx[0]; long unsigned int sk_max_pacing_rate; - struct page_frag sk_frag; + long int sk_sndtimeo; + u32 sk_priority; + u32 sk_mark; + struct dst_entry *sk_dst_cache; netdev_features_t sk_route_caps; - int sk_gso_type; + u16 sk_gso_type; + u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; - __u32 sk_txhash; + u32 sk_txhash; + u8 sk_pacing_shift; + bool sk_use_task_frag; + __u8 __cacheline_group_end__sock_read_tx[0]; u8 sk_gso_disabled: 1; u8 sk_kern_sock: 1; u8 sk_no_check_tx: 1; u8 sk_no_check_rx: 1; - u8 sk_userlocks: 4; - u8 sk_pacing_shift; + u8 sk_shutdown; u16 sk_type; u16 sk_protocol; - u16 sk_gso_max_segs; long unsigned int sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; - int sk_err; int sk_err_soft; u32 sk_ack_backlog; u32 sk_max_ack_backlog; kuid_t sk_uid; - u8 sk_txrehash; - u8 sk_prefer_busy_poll; - u16 sk_busy_poll_budget; spinlock_t sk_peer_lock; int sk_bind_phc; struct pid *sk_peer_pid; const struct cred *sk_peer_cred; - long int sk_rcvtimeo; ktime_t sk_stamp; - atomic_t sk_tskey; - atomic_t sk_zckey; - u32 sk_tsflags; - u8 sk_shutdown; + int sk_disconnects; + u8 sk_txrehash; u8 sk_clockid; u8 sk_txtime_deadline_mode: 1; u8 sk_txtime_report_errors: 1; u8 sk_txtime_unused: 6; - bool sk_use_task_frag; - struct socket *sk_socket; void *sk_user_data; struct sock_cgroup_data sk_cgrp_data; - struct mem_cgroup *sk_memcg; void (*sk_state_change)(struct sock *); - void (*sk_data_ready)(struct sock *); void (*sk_write_space)(struct sock *); void (*sk_error_report)(struct sock *); int (*sk_backlog_rcv)(struct sock *, struct sk_buff *); @@ -24871,7 +27470,7 @@ struct sock { struct bpf_local_storage *sk_bpf_storage; struct callback_head sk_rcu; netns_tracker ns_tracker; - struct hlist_node sk_bind2_node; + struct xarray sk_user_frags; }; struct inet_cork { @@ -24884,8 +27483,9 @@ struct inet_cork { u8 tx_flags; __u8 ttl; __s16 tos; - char priority; + u32 priority; __u16 gso_size; + u32 ts_opt_id; u64 transmit_time; u32 mark; }; @@ -24917,10 +27517,7 @@ struct inet_sock { int uc_index; int mc_index; __be32 mc_addr; - struct { - __u16 lo; - __u16 hi; - } local_port_range; + u32 local_port_range; struct ip_mc_socklist *mc_list; struct inet_cork_full cork; }; @@ -24973,7 +27570,9 @@ struct inet_connection_sock { __u8 quick; __u8 pingpong; __u8 retry; - __u32 ato; + __u32 ato: 8; + __u32 lrcv_flowlabel: 20; + __u32 unused: 4; long unsigned int timeout; __u32 lrcvtime; __u16 last_seg_size; @@ -24999,7 +27598,6 @@ struct inet_connection_sock_af_ops { int (*conn_request)(struct sock *, struct sk_buff *); struct sock * (*syn_recv_sock)(const struct sock *, struct sk_buff *, struct request_sock *, struct dst_entry *, struct request_sock *, bool *); u16 net_header_len; - u16 net_frag_header_len; u16 sockaddr_len; int (*setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); int (*getsockopt)(struct sock *, int, int, char *, int *); @@ -25013,8 +27611,6 @@ struct inet_diag_bc_op { short unsigned int no; }; -struct bpf_sk_storage_diag; - struct inet_diag_dump_data { struct nlattr *req_nlas[4]; struct bpf_sk_storage_diag *bpf_stg_diag; @@ -25036,6 +27632,7 @@ struct inet_diag_req_v2; struct inet_diag_msg; struct inet_diag_handler { + struct module *owner; void (*dump)(struct sk_buff *, struct netlink_callback *, const struct inet_diag_req_v2 *); int (*dump_one)(struct netlink_callback *, const struct inet_diag_req_v2 *); void (*idiag_get_info)(struct sock *, struct inet_diag_msg *, void *); @@ -25268,21 +27865,24 @@ struct inet_timewait_death_row { struct inet_timewait_sock { struct sock_common __tw_common; __u32 tw_mark; - volatile unsigned char tw_substate; + unsigned char tw_substate; unsigned char tw_rcv_wscale; __be16 tw_sport; unsigned int tw_transparent: 1; unsigned int tw_flowlabel: 20; - unsigned int tw_pad: 3; + unsigned int tw_usec_ts: 1; + unsigned int tw_pad: 2; unsigned int tw_tos: 8; u32 tw_txhash; u32 tw_priority; + u32 tw_entry_stamp; struct timer_list tw_timer; struct inet_bind_bucket *tw_tb; struct inet_bind2_bucket *tw_tb2; - struct hlist_node tw_bind2_node; }; +struct inode_operations; + struct inode { umode_t i_mode; short unsigned int i_opflags; @@ -25299,15 +27899,19 @@ struct inode { }; dev_t i_rdev; loff_t i_size; - struct timespec64 i_atime; - struct timespec64 i_mtime; - struct timespec64 __i_ctime; + time64_t i_atime_sec; + time64_t i_mtime_sec; + time64_t i_ctime_sec; + u32 i_atime_nsec; + u32 i_mtime_nsec; + u32 i_ctime_nsec; + u32 i_generation; spinlock_t i_lock; short unsigned int i_bytes; u8 i_blkbits; - u8 i_write_hint; + enum rw_hint i_write_hint; blkcnt_t i_blocks; - long unsigned int i_state; + u32 i_state; struct rw_semaphore i_rwsem; long unsigned int dirtied_when; long unsigned int dirtied_time_when; @@ -25331,14 +27935,16 @@ struct inode { }; struct file_lock_context *i_flctx; struct address_space i_data; - struct list_head i_devices; + union { + struct list_head i_devices; + int i_linklen; + }; union { struct pipe_inode_info *i_pipe; struct cdev *i_cdev; char *i_link; unsigned int i_dir_seq; }; - __u32 i_generation; void *i_private; }; @@ -25393,8 +27999,13 @@ struct internal_container { struct request; +struct rq_list { + struct request *head; + struct request *tail; +}; + struct io_comp_batch { - struct request *req_list; + struct rq_list req_list; bool need_ts; void (*complete)(struct io_comp_batch *); }; @@ -25436,83 +28047,8 @@ struct io_tlb_mem { struct io_tlb_slot { phys_addr_t orig_addr; size_t alloc_size; - unsigned int list; -}; - -struct io_uring_sqe; - -struct io_uring_cmd { - struct file *file; - const struct io_uring_sqe *sqe; - union { - void (*task_work_cb)(struct io_uring_cmd *, unsigned int); - void *cookie; - }; - u32 cmd_op; - u32 flags; - u8 pdu[32]; -}; - -struct io_uring_sqe { - __u8 opcode; - __u8 flags; - __u16 ioprio; - __s32 fd; - union { - __u64 off; - __u64 addr2; - struct { - __u32 cmd_op; - __u32 __pad1; - }; - }; - union { - __u64 addr; - __u64 splice_off_in; - }; - __u32 len; - union { - __kernel_rwf_t rw_flags; - __u32 fsync_flags; - __u16 poll_events; - __u32 poll32_events; - __u32 sync_range_flags; - __u32 msg_flags; - __u32 timeout_flags; - __u32 accept_flags; - __u32 cancel_flags; - __u32 open_flags; - __u32 statx_flags; - __u32 fadvise_advice; - __u32 splice_flags; - __u32 rename_flags; - __u32 unlink_flags; - __u32 hardlink_flags; - __u32 xattr_flags; - __u32 msg_ring_flags; - __u32 uring_cmd_flags; - }; - __u64 user_data; - union { - __u16 buf_index; - __u16 buf_group; - }; - __u16 personality; - union { - __s32 splice_fd_in; - __u32 file_index; - struct { - __u16 addr_len; - __u16 __pad3[1]; - }; - }; - union { - struct { - __u64 addr3; - __u64 __pad2[1]; - }; - __u8 cmd[0]; - }; + short unsigned int list; + short unsigned int pad_slots; }; struct ioam6_hdr { @@ -25589,8 +28125,6 @@ struct ioam6_trace_hdr { struct iommu_group {}; -struct iommu_ops {}; - struct iovec { void *iov_base; __kernel_size_t iov_len; @@ -25600,14 +28134,9 @@ struct kvec; struct iov_iter { u8 iter_type; - bool copy_mc; bool nofault; bool data_source; - bool user_backed; - union { - size_t iov_offset; - int last_offset; - }; + size_t iov_offset; union { struct iovec __ubuf_iovec; struct { @@ -25615,6 +28144,7 @@ struct iov_iter { const struct iovec *__iov; const struct kvec *kvec; const struct bio_vec *bvec; + const struct folio_queue *folioq; struct xarray *xarray; void *ubuf; }; @@ -25623,6 +28153,7 @@ struct iov_iter { }; union { long unsigned int nr_segs; + u8 folioq_slot; loff_t xarray_start; }; }; @@ -25695,12 +28226,6 @@ struct ip6_ra_chain { void (*destructor)(struct sock *); }; -struct ip6_rt_info { - struct in6_addr daddr; - struct in6_addr saddr; - u_int32_t mark; -}; - struct ip6_sf_list { struct ip6_sf_list *sf_next; struct in6_addr sf_addr; @@ -25806,6 +28331,8 @@ struct ip_mc_list { char loaded; unsigned char gsquery; unsigned char crcount; + long unsigned int mca_cstamp; + long unsigned int mca_tstamp; struct callback_head rcu; }; @@ -25870,13 +28397,6 @@ struct ip_reply_arg { kuid_t uid; }; -struct ip_rt_info { - __be32 daddr; - __be32 saddr; - u_int8_t tos; - u_int32_t mark; -}; - struct ip_sf_list { struct ip_sf_list *sf_next; long unsigned int sf_count[2]; @@ -25915,13 +28435,13 @@ struct iphdr { }; }; -struct ip_tunnel_parm { +struct ip_tunnel_parm_kern { char name[16]; - int link; - __be16 i_flags; - __be16 o_flags; + long unsigned int i_flags[1]; + long unsigned int o_flags[1]; __be32 i_key; __be32 o_key; + int link; struct iphdr iph; }; @@ -25950,7 +28470,7 @@ struct ip_tunnel { u8 dir; u16 hwid; struct dst_cache dst_cache; - struct ip_tunnel_parm parms; + struct ip_tunnel_parm_kern parms; int mlink; int encap_hlen; int hlen; @@ -25982,11 +28502,11 @@ struct ip_tunnel_key { struct in6_addr dst; } ipv6; } u; - __be16 tun_flags; - u8 tos; - u8 ttl; + long unsigned int tun_flags[1]; __be32 label; u32 nhid; + u8 tos; + u8 ttl; __be16 tp_src; __be16 tp_dst; __u8 flow_flags; @@ -26010,6 +28530,16 @@ struct ip_tunnel_net { int type; }; +struct ip_tunnel_parm { + char name[16]; + int link; + __be16 i_flags; + __be16 o_flags; + __be32 i_key; + __be32 o_key; + struct iphdr iph; +}; + struct ip_tunnel_prl { __be32 addr; __u16 flags; @@ -26071,6 +28601,8 @@ struct sockcm_cookie { u64 transmit_time; u32 mark; u32 tsflags; + u32 ts_opt_id; + u32 priority; }; struct ipcm6_cookie { @@ -26090,7 +28622,6 @@ struct ipcm_cookie { __u8 protocol; __u8 ttl; __s16 tos; - char priority; __u16 gso_size; }; @@ -26101,6 +28632,7 @@ struct ipfrag_skb_cb { }; struct sk_buff *next_frag; int frag_run_len; + int ip_defrag_offset; }; struct ipq { @@ -26113,7 +28645,7 @@ struct ipq { }; struct ipstats_mib { - u64 mibs[37]; + u64 mibs[38]; struct u64_stats_sync syncp; }; @@ -26127,9 +28659,10 @@ struct udp_table; struct ipv6_bpf_stub { int (*inet6_bind)(struct sock *, struct sockaddr *, int, u32); - struct sock * (*udp6_lib_lookup)(struct net *, const struct in6_addr *, __be16, const struct in6_addr *, __be16, int, int, struct udp_table *, struct sk_buff *); + struct sock * (*udp6_lib_lookup)(const struct net *, const struct in6_addr *, __be16, const struct in6_addr *, __be16, int, int, struct udp_table *, struct sk_buff *); int (*ipv6_setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); int (*ipv6_getsockopt)(struct sock *, int, int, sockptr_t, sockptr_t); + int (*ipv6_dev_get_saddr)(struct net *, const struct net_device *, const struct in6_addr *, unsigned int, struct in6_addr *); }; struct ipv6_fl_socklist { @@ -26168,11 +28701,8 @@ struct ipv6_pinfo { const struct in6_addr *daddr_cache; __be32 flow_label; __u32 frag_size; - __u16 __unused_1: 7; - __s16 hop_limit: 9; - __u16 mc_loop: 1; - __u16 __unused_2: 6; - __s16 mcast_hops: 9; + s16 hop_limit; + u8 mcast_hops; int ucast_oif; int mcast_oif; union { @@ -26195,18 +28725,8 @@ struct ipv6_pinfo { } bits; __u16 all; } rxopt; - __u16 recverr: 1; - __u16 sndflow: 1; - __u16 repflow: 1; - __u16 pmtudisc: 3; - __u16 padding: 1; - __u16 srcprefs: 3; - __u16 dontfrag: 1; - __u16 autoflowlabel: 1; - __u16 autoflowlabel_set: 1; - __u16 mc_all: 1; - __u16 recverr_rfc4884: 1; - __u16 rtalert_isolate: 1; + __u8 srcprefs; + __u8 pmtudisc; __u8 min_hopcount; __u8 tclass; __be32 rcv_flowinfo; @@ -26295,11 +28815,12 @@ struct ipv6_stub { void (*fib6_update_sernum)(struct net *, struct fib6_info *); int (*ip6_del_rt)(struct net *, struct fib6_info *, bool); void (*fib6_rt_update)(struct net *, struct fib6_info *, struct nl_info *); - void (*udpv6_encap_enable)(); + void (*udpv6_encap_enable)(void); void (*ndisc_send_na)(struct net_device *, const struct in6_addr *, const struct in6_addr *, bool, bool, bool, bool); struct neigh_table *nd_tbl; int (*ipv6_fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *)); struct net_device * (*ipv6_dev_find)(struct net *, const struct in6_addr *, struct net_device *); + int (*ip6_xmit)(const struct sock *, struct sk_buff *, struct flowi6 *, __u32, struct ipv6_txoptions *, int, u32); }; struct ipv6_txoptions { @@ -26399,7 +28920,6 @@ struct irq_chip_regs { long unsigned int ack; long unsigned int eoi; long unsigned int type; - long unsigned int polarity; }; struct irq_desc; @@ -26415,8 +28935,6 @@ struct irq_chip_type { u32 *mask_cache; }; -struct irq_domain; - struct irq_chip_generic { raw_spinlock_t lock; void *reg_base; @@ -26427,8 +28945,6 @@ struct irq_chip_generic { unsigned int irq_base; unsigned int irq_cnt; u32 mask_cache; - u32 type_cache; - u32 polarity_cache; u32 wake_enabled; u32 wake_active; unsigned int num_ct; @@ -26451,7 +28967,7 @@ struct irq_common_data { struct irq_data { u32 mask; unsigned int irq; - long unsigned int hwirq; + irq_hw_number_t hwirq; struct irq_common_data *common; struct irq_chip *chip; struct irq_domain *domain; @@ -26459,12 +28975,14 @@ struct irq_data { void *chip_data; }; +struct irqstat; + struct irqaction; struct irq_desc { struct irq_common_data irq_common_data; struct irq_data irq_data; - unsigned int *kstat_irqs; + struct irqstat *kstat_irqs; irq_flow_handler_t handle_irq; struct irqaction *action; unsigned int status_use_accessors; @@ -26506,6 +29024,8 @@ struct irq_domain_ops; struct irq_domain_chip_generic; +struct msi_parent_ops; + struct irq_domain { struct list_head link; const char *name; @@ -26521,6 +29041,8 @@ struct irq_domain { struct device *dev; struct device *pm_dev; struct irq_domain *parent; + const struct msi_parent_ops *msi_parent_ops; + void (*exit)(struct irq_domain *); irq_hw_number_t hwirq_max; unsigned int revmap_size; struct xarray revmap_tree; @@ -26533,9 +29055,40 @@ struct irq_domain_chip_generic { unsigned int irq_flags_to_clear; unsigned int irq_flags_to_set; enum irq_gc_flags gc_flags; + void (*exit)(struct irq_chip_generic *); struct irq_chip_generic *gc[0]; }; +struct irq_domain_chip_generic_info { + const char *name; + irq_flow_handler_t handler; + unsigned int irqs_per_chip; + unsigned int num_ct; + unsigned int irq_flags_to_clear; + unsigned int irq_flags_to_set; + enum irq_gc_flags gc_flags; + int (*init)(struct irq_chip_generic *); + void (*exit)(struct irq_chip_generic *); +}; + +struct irq_domain_info { + struct fwnode_handle *fwnode; + unsigned int domain_flags; + unsigned int size; + irq_hw_number_t hwirq_max; + int direct_max; + unsigned int hwirq_base; + unsigned int virq_base; + enum irq_domain_bus_token bus_token; + const char *name_suffix; + const struct irq_domain_ops *ops; + void *host_data; + struct irq_domain *parent; + struct irq_domain_chip_generic_info *dgc_info; + int (*init)(struct irq_domain *); + void (*exit)(struct irq_domain *); +}; + struct irq_fwspec; struct irq_domain_ops { @@ -26557,6 +29110,21 @@ struct irq_fwspec { u32 param[16]; }; +struct irq_matrix { + unsigned int matrix_bits; + unsigned int alloc_start; + unsigned int alloc_end; + unsigned int alloc_size; + unsigned int global_available; + unsigned int global_reserved; + unsigned int systembits_inalloc; + unsigned int total_allocated; + unsigned int online_maps; + struct cpumap *maps; + long unsigned int *system_map; + long unsigned int scratch_map[0]; +}; + typedef irqreturn_t (*irq_handler_t)(int, void *); struct irqaction { @@ -26591,6 +29159,10 @@ struct irqentry_state { typedef struct irqentry_state irqentry_state_t; +struct irqstat { + unsigned int cnt; +}; + struct itimerspec64 { struct timespec64 it_interval; struct timespec64 it_value; @@ -26653,6 +29225,7 @@ struct kernel_clone_args { void *fn_arg; struct cgroup *cgrp; struct css_set *cset; + unsigned int kill_seq; }; struct kernel_cpustat { @@ -26667,6 +29240,17 @@ struct kernel_ethtool_ringparam { u32 cqe_size; u32 tx_push_buf_len; u32 tx_push_buf_max_len; + u32 hds_thresh; + u32 hds_thresh_max; +}; + +struct kernel_ethtool_ts_info { + u32 cmd; + u32 so_timestamping; + int phc_index; + enum hwtstamp_provider_qualifier phc_qualifier; + enum hwtstamp_tx_types tx_types; + enum hwtstamp_rx_filters rx_filters; }; struct kernel_hwtstamp_config { @@ -26676,6 +29260,7 @@ struct kernel_hwtstamp_config { struct ifreq *ifr; bool copied_to_user; enum hwtstamp_source source; + enum hwtstamp_provider_qualifier qualifier; }; struct kernel_mapping { @@ -26686,7 +29271,6 @@ struct kernel_mapping { uintptr_t size; long unsigned int va_pa_offset; long unsigned int va_kernel_pa_offset; - long unsigned int va_kernel_xip_pa_offset; }; struct kernel_param_ops; @@ -26738,6 +29322,19 @@ struct kernel_symbol { const char *namespace; }; +struct xattr_name; + +struct kernel_xattr_ctx { + union { + const void *cvalue; + void *value; + }; + void *kvalue; + size_t size; + struct xattr_name *kname; + unsigned int flags; +}; + struct kernfs_open_node; struct kernfs_ops; @@ -26772,16 +29369,17 @@ struct kernfs_node { struct rb_node rb; const void *ns; unsigned int hash; + short unsigned int flags; + umode_t mode; union { struct kernfs_elem_dir dir; struct kernfs_elem_symlink symlink; struct kernfs_elem_attr attr; }; - void *priv; u64 id; - short unsigned int flags; - umode_t mode; + void *priv; struct kernfs_iattrs *iattr; + struct callback_head rcu; }; struct vm_operations_struct; @@ -26815,6 +29413,7 @@ struct kernfs_ops { ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t); __poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *); int (*mmap)(struct kernfs_open_file *, struct vm_area_struct *); + loff_t (*llseek)(struct kernfs_open_file *, loff_t, int); }; struct key_vector { @@ -26831,6 +29430,38 @@ struct key_vector { }; }; +struct rcu_gp_oldstate { + long unsigned int rgos_norm; +}; + +struct kfree_rcu_cpu; + +struct kfree_rcu_cpu_work { + struct rcu_work rcu_work; + struct callback_head *head_free; + struct rcu_gp_oldstate head_free_gp_snap; + struct list_head bulk_head_free[2]; + struct kfree_rcu_cpu *krcp; +}; + +struct kfree_rcu_cpu { + struct callback_head *head; + long unsigned int head_gp_snap; + atomic_t head_count; + struct list_head bulk_head[2]; + atomic_t bulk_count[2]; + struct kfree_rcu_cpu_work krw_arr[2]; + raw_spinlock_t lock; + struct delayed_work monitor_work; + bool initialized; + struct delayed_work page_cache_work; + atomic_t backoff_page_cache_fill; + atomic_t work_in_progress; + struct hrtimer hrtimer; + struct llist_head bkvcache; + int nr_bkv_objs; +}; + struct wait_page_queue; struct kiocb { @@ -26865,6 +29496,8 @@ struct kmalloced_param { struct kmap_ctrl {}; +typedef struct kmem_cache *kmem_buckets[14]; + struct reciprocal_value { u32 m; u8 sh1; @@ -26897,6 +29530,20 @@ struct kmem_cache { struct kmem_cache_node *node[1]; }; +struct kmem_cache_args { + unsigned int align; + unsigned int useroffset; + unsigned int usersize; + unsigned int freeptr_offset; + bool use_freeptr_offset; + void (*ctor)(void *); +}; + +union kmem_cache_iter_priv { + struct bpf_iter_kmem_cache it; + struct bpf_iter_kmem_cache_kern kit; +}; + struct kmem_cache_node { spinlock_t list_lock; long unsigned int nr_partial; @@ -26918,10 +29565,10 @@ struct kobj_map { struct kobj_ns_type_operations { enum kobj_ns_type type; - bool (*current_may_mount)(); - void * (*grab_current_ns)(); + bool (*current_may_mount)(void); + void * (*grab_current_ns)(void); const void * (*netlink_ns)(struct sock *); - const void * (*initial_ns)(); + const void * (*initial_ns)(void); void (*drop_ns)(void *); }; @@ -26996,7 +29643,7 @@ struct kprobe_ctlblk { struct kprobe_insn_cache { struct mutex mutex; - void * (*alloc)(); + void * (*alloc)(void); void (*free)(void *); const char *sym; struct list_head pages; @@ -27022,6 +29669,8 @@ struct kretprobe_instance; typedef int (*kretprobe_handler_t)(struct kretprobe_instance *, struct pt_regs *); +struct rethook; + struct kretprobe { struct kprobe kp; kretprobe_handler_t handler; @@ -27032,6 +29681,14 @@ struct kretprobe { struct rethook *rh; }; +struct rethook_node { + struct callback_head rcu; + struct llist_node llist; + struct rethook *rethook; + long unsigned int ret_addr; + long unsigned int frame; +}; + struct kretprobe_instance { struct rethook_node node; char data[0]; @@ -27083,9 +29740,14 @@ struct kstat { struct timespec64 btime; u64 blocks; u64 mnt_id; + u64 change_cookie; + u64 subvol; u32 dio_mem_align; u32 dio_offset_align; - u64 change_cookie; + u32 dio_read_offset_align; + u32 atomic_write_unit_min; + u32 atomic_write_unit_max; + u32 atomic_write_segments_max; }; struct kstatfs { @@ -27103,6 +29765,62 @@ struct kstatfs { long int f_spare[4]; }; +struct statmount { + __u32 size; + __u32 mnt_opts; + __u64 mask; + __u32 sb_dev_major; + __u32 sb_dev_minor; + __u64 sb_magic; + __u32 sb_flags; + __u32 fs_type; + __u64 mnt_id; + __u64 mnt_parent_id; + __u32 mnt_id_old; + __u32 mnt_parent_id_old; + __u64 mnt_attr; + __u64 mnt_propagation; + __u64 mnt_peer_group; + __u64 mnt_master; + __u64 propagate_from; + __u32 mnt_root; + __u32 mnt_point; + __u64 mnt_ns_id; + __u32 fs_subtype; + __u32 sb_source; + __u32 opt_num; + __u32 opt_array; + __u32 opt_sec_num; + __u32 opt_sec_array; + __u64 __spare2[46]; + char str[0]; +}; + +struct seq_file { + char *buf; + size_t size; + size_t from; + size_t count; + size_t pad_until; + loff_t index; + loff_t read_pos; + struct mutex lock; + const struct seq_operations *op; + int poll_event; + const struct file *file; + void *private; +}; + +struct kstatmount { + struct statmount *buf; + size_t bufsize; + struct vfsmount *mnt; + u64 mask; + struct path root; + struct statmount sm; + struct seq_file seq; +}; + struct ktermios { tcflag_t c_iflag; tcflag_t c_oflag; @@ -27117,12 +29835,17 @@ struct ktermios { struct kthread { long unsigned int flags; unsigned int cpu; + unsigned int node; + int started; int result; int (*threadfn)(void *); void *data; struct completion parked; struct completion exited; char *full_name; + struct task_struct *task; + struct list_head hotplug_node; + struct cpumask *preferred_affinity; }; struct kthread_create_info { @@ -27167,10 +29890,11 @@ struct kthread_worker { struct kthread_work *current_work; }; -struct ktime_timestamps { - u64 mono; - u64 boot; - u64 real; +struct kvfree_rcu_bulk_data { + struct list_head list; + struct rcu_gp_oldstate gp_snap; + long unsigned int nr_records; + void *records[0]; }; struct latch_tree_ops { @@ -27191,6 +29915,13 @@ struct ld_semaphore { struct list_head write_wait; }; +struct lease_manager_operations { + bool (*lm_break)(struct file_lease *); + int (*lm_change)(struct file_lease *, int, struct list_head *); + void (*lm_setup)(struct file_lease *, void **); + bool (*lm_breaker_owns_lease)(struct file_lease *); +}; + struct legacy_fs_context { char *legacy_data; size_t data_size; @@ -27208,6 +29939,20 @@ struct link_mode_info { u8 duplex; }; +struct linked_reg { + u8 frameno; + union { + u8 spi; + u8 regno; + }; + bool is_reg; +}; + +struct linked_regs { + int cnt; + struct linked_reg entries[6]; +}; + struct linkinfo_reply_data { struct ethnl_reply_data base; struct ethtool_link_ksettings ksettings; @@ -27248,13 +29993,15 @@ struct rlimit { struct linux_binprm { struct vm_area_struct *vma; long unsigned int vma_pages; + long unsigned int argmin; struct mm_struct *mm; long unsigned int p; - long unsigned int argmin; unsigned int have_execfd: 1; unsigned int execfd_creds: 1; unsigned int secureexec: 1; unsigned int point_of_no_return: 1; + unsigned int comm_from_dentry: 1; + unsigned int is_check: 1; struct file *executable; struct file *interpreter; struct file *file; @@ -27321,7 +30068,7 @@ struct linux_efi_tpm_eventlog { }; struct linux_mib { - long unsigned int mibs[127]; + long unsigned int mibs[133]; }; struct list_lru_node; @@ -27333,12 +30080,12 @@ struct list_lru { struct list_lru_one { struct list_head list; long int nr_items; + spinlock_t lock; }; struct list_lru_node { - spinlock_t lock; struct list_lru_one lru; - long int nr_items; + atomic_long_t nr_items; }; struct listeners { @@ -27367,12 +30114,13 @@ struct load_info { unsigned int vers; unsigned int info; unsigned int pcpu; + unsigned int vers_ext_crc; + unsigned int vers_ext_name; } index; }; struct local_ports { - seqlock_t lock; - int range[2]; + u32 range; bool warned; }; @@ -27382,12 +30130,8 @@ struct lock_manager_operations { void (*lm_put_owner)(fl_owner_t); void (*lm_notify)(struct file_lock *); int (*lm_grant)(struct file_lock *, int); - bool (*lm_break)(struct file_lock *); - int (*lm_change)(struct file_lock *, int, struct list_head *); - void (*lm_setup)(struct file_lock *, void **); - bool (*lm_breaker_owns_lease)(struct file_lock *); bool (*lm_lock_expirable)(struct file_lock *); - void (*lm_expire_lock)(); + void (*lm_expire_lock)(void); }; struct logic_pio_host_ops { @@ -27399,7 +30143,7 @@ struct logic_pio_host_ops { struct logic_pio_hwaddr { struct list_head list; - struct fwnode_handle *fwnode; + const struct fwnode_handle *fwnode; resource_size_t hw_start; resource_size_t io_start; resource_size_t size; @@ -27423,28 +30167,21 @@ struct lpm_trie_node; struct lpm_trie { struct bpf_map map; struct lpm_trie_node *root; + struct bpf_mem_alloc ma; size_t n_entries; size_t max_prefixlen; size_t data_size; - spinlock_t lock; - long: 64; - long: 64; - long: 64; - long: 64; + raw_spinlock_t lock; }; struct lpm_trie_node { - struct callback_head rcu; struct lpm_trie_node *child[2]; u32 prefixlen; u32 flags; u8 data[0]; }; -struct lru_rotate { - local_lock_t lock; - struct folio_batch fbatch; -}; +struct zswap_lruvec_state {}; struct lruvec { struct list_head lists[5]; @@ -27454,6 +30191,19 @@ struct lruvec { atomic_long_t nonresident_age; long unsigned int refaults[2]; long unsigned int flags; + struct zswap_lruvec_state zswap_lruvec_state; +}; + +struct lsm_context { + char *context; + u32 len; + int id; +}; + +struct lwq { + spinlock_t lock; + struct llist_node *ready; + struct llist_head new; }; struct lwtunnel_encap_ops { @@ -27479,25 +30229,6 @@ struct lwtunnel_state { __u8 data[0]; }; -struct maple_enode; - -struct maple_tree; - -struct maple_alloc; - -struct ma_state { - struct maple_tree *tree; - long unsigned int index; - long unsigned int last; - struct maple_enode *node; - long unsigned int min; - long unsigned int max; - struct maple_alloc *alloc; - unsigned char depth; - unsigned char offset; - unsigned char mas_flags; -}; - struct ma_topiary { struct maple_enode *head; struct maple_enode *tail; @@ -27513,7 +30244,6 @@ struct ma_wr_state { long unsigned int r_max; enum maple_type type; unsigned char offset_end; - unsigned char node_end; long unsigned int *pivots; long unsigned int end_piv; void **slots; @@ -27559,7 +30289,6 @@ struct maple_arange_64 { }; struct maple_big_node { - struct maple_pnode *parent; long unsigned int pivot[33]; union { struct maple_enode *slot[34]; @@ -27630,6 +30359,12 @@ struct maple_tree { void *ma_root; }; +struct match { + u32 mode; + u32 area; + u8 depth; +}; + struct match_token { int token; const char *pattern; @@ -27651,11 +30386,12 @@ struct mdio_device { struct device dev; struct mii_bus *bus; char modalias[32]; - int (*bus_match)(struct device *, struct device_driver *); + int (*bus_match)(struct device *, const struct device_driver *); void (*device_free)(struct mdio_device *); void (*device_remove)(struct mdio_device *); int addr; int flags; + int reset_state; struct gpio_desc *reset_gpio; struct reset_control *reset_ctrl; unsigned int reset_assert_delay; @@ -27673,7 +30409,7 @@ typedef struct pglist_data pg_data_t; struct mem_cgroup_reclaim_cookie { pg_data_t *pgdat; - unsigned int generation; + int generation; }; struct quota_format_type; @@ -27726,6 +30462,8 @@ struct memdev { }; struct memory_notify { + long unsigned int altmap_start_pfn; + long unsigned int altmap_nr_pages; long unsigned int start_pfn; long unsigned int nr_pages; int status_change_nid_normal; @@ -27755,6 +30493,7 @@ struct migration_target_control { int nid; nodemask_t *nmask; gfp_t gfp_mask; + enum migrate_reason reason; }; struct phy_package_shared; @@ -27793,24 +30532,26 @@ struct mii_bus { struct mii_timestamper { bool (*rxtstamp)(struct mii_timestamper *, struct sk_buff *, int); void (*txtstamp)(struct mii_timestamper *, struct sk_buff *, int); - int (*hwtstamp)(struct mii_timestamper *, struct ifreq *); + int (*hwtstamp)(struct mii_timestamper *, struct kernel_hwtstamp_config *, struct netlink_ext_ack *); void (*link_state)(struct mii_timestamper *, struct phy_device *); - int (*ts_info)(struct mii_timestamper *, struct ethtool_ts_info *); + int (*ts_info)(struct mii_timestamper *, struct kernel_ethtool_ts_info *); struct device *device; }; -struct min_heap { - void *data; - int nr; - int size; +struct min_heap_callbacks { + bool (*less)(const void *, const void *, void *); + void (*swp)(void *, void *, void *); }; -struct min_heap_callbacks { - int elem_size; - bool (*less)(const void *, const void *); - void (*swp)(void *, void *); +struct min_heap_char { + size_t nr; + size_t size; + char *data; + char preallocated[0]; }; +typedef struct min_heap_char min_heap_char; + struct tcf_proto; struct mini_Qdisc { @@ -27900,7 +30641,6 @@ struct mm_struct { atomic_t mm_count; }; struct maple_tree mm_mt; - long unsigned int (*get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); long unsigned int mmap_base; long unsigned int mmap_legacy_base; long unsigned int task_size; @@ -27933,7 +30673,7 @@ struct mm_struct { long unsigned int arg_end; long unsigned int env_start; long unsigned int env_end; - long unsigned int saved_auxv[64]; + long unsigned int saved_auxv[66]; struct percpu_counter rss_stat[4]; struct linux_binfmt *binfmt; mm_context_t context; @@ -27941,6 +30681,7 @@ struct mm_struct { struct user_namespace *user_ns; struct file *exe_file; atomic_t tlb_flush_pending; + atomic_t tlb_flush_batched; struct uprobes_state uprobes_state; struct work_struct async_put_work; }; @@ -27974,9 +30715,49 @@ struct mm_walk_ops { int (*test_walk)(long unsigned int, long unsigned int, struct mm_walk *); int (*pre_vma)(long unsigned int, long unsigned int, struct mm_walk *); void (*post_vma)(struct mm_walk *); + int (*install_pte)(long unsigned int, long unsigned int, pte_t *, struct mm_walk *); enum page_walk_lock walk_lock; }; +struct vma_munmap_struct { + struct vma_iterator *vmi; + struct vm_area_struct *vma; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct list_head *uf; + long unsigned int start; + long unsigned int end; + long unsigned int unmap_start; + long unsigned int unmap_end; + int vma_count; + bool unlock; + bool clear_ptes; + long unsigned int nr_pages; + long unsigned int locked_vm; + long unsigned int nr_accounted; + long unsigned int exec_vm; + long unsigned int stack_vm; + long unsigned int data_vm; +}; + +struct mmap_state { + struct mm_struct *mm; + struct vma_iterator *vmi; + long unsigned int addr; + long unsigned int end; + long unsigned int pgoff; + long unsigned int pglen; + long unsigned int flags; + struct file *file; + long unsigned int charged; + bool retry_merge; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct vma_munmap_struct vms; + struct ma_state mas_detach; + struct maple_tree mt_detach; +}; + struct mmap_unlock_irq_work { struct irq_work irq_work; struct mm_struct *mm; @@ -28037,8 +30818,36 @@ struct mmu_notifier_range { long unsigned int end; }; +struct mnt_id_req { + __u32 size; + __u32 spare; + __u64 mnt_id; + __u64 param; + __u64 mnt_ns_id; +}; + +struct uid_gid_extent { + u32 first; + u32 lower_first; + u32 count; +}; + +struct uid_gid_map { + union { + struct { + struct uid_gid_extent extent[5]; + u32 nr_extents; + }; + struct { + struct uid_gid_extent *forward; + struct uid_gid_extent *reverse; + }; + }; +}; + struct mnt_idmap { - struct user_namespace *owner; + struct uid_gid_map uid_map; + struct uid_gid_map gid_map; refcount_t count; }; @@ -28047,28 +30856,33 @@ struct mount; struct mnt_namespace { struct ns_common ns; struct mount *root; - struct list_head list; - spinlock_t ns_lock; + struct { + struct rb_root mounts; + struct rb_node *mnt_last_node; + struct rb_node *mnt_first_node; + }; struct user_namespace *user_ns; struct ucounts *ucounts; u64 seq; - wait_queue_head_t poll; + union { + wait_queue_head_t poll; + struct callback_head mnt_ns_rcu; + }; u64 event; - unsigned int mounts; + unsigned int nr_mounts; unsigned int pending_mounts; + struct rb_node mnt_ns_tree_node; + struct list_head mnt_ns_list; + refcount_t passive; }; -struct mod_section { - Elf64_Shdr *shdr; - int num_entries; - int max_entries; +struct mnt_ns_info { + __u32 size; + __u32 nr_mounts; + __u64 mnt_ns_id; }; -struct mod_arch_specific { - struct mod_section got; - struct mod_section plt; - struct mod_section got_plt; -}; +struct mod_arch_specific {}; struct mod_initfree { struct llist_node node; @@ -28107,6 +30921,8 @@ struct module_kobject { struct module_memory { void *base; + void *rw_copy; + bool is_rox; unsigned int size; struct mod_tree_node mtn; }; @@ -28133,18 +30949,18 @@ struct module { const char *srcversion; struct kobject *holders_dir; const struct kernel_symbol *syms; - const s32 *crcs; + const u32 *crcs; unsigned int num_syms; struct kernel_param *kp; unsigned int num_kp; unsigned int num_gpl_syms; const struct kernel_symbol *gpl_syms; - const s32 *gpl_crcs; + const u32 *gpl_crcs; bool using_gplonly_symbols; bool async_probe_requested; unsigned int num_exentries; struct exception_table_entry *extable; - int (*init)(); + int (*init)(void); long: 64; long: 64; long: 64; @@ -28164,7 +30980,9 @@ struct module { unsigned int num_bpf_raw_events; struct bpf_raw_event_map *bpf_raw_events; unsigned int btf_data_size; + unsigned int btf_base_data_size; void *btf_data; + void *btf_base_data; unsigned int num_trace_bprintk_fmt; const char **trace_bprintk_fmt_start; struct trace_event_call **trace_events; @@ -28177,12 +30995,18 @@ struct module { unsigned int kprobes_text_size; long unsigned int *kprobe_blacklist; unsigned int num_kprobe_blacklist; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; }; struct module_attribute { struct attribute attr; - ssize_t (*show)(struct module_attribute *, struct module_kobject *, char *); - ssize_t (*store)(struct module_attribute *, struct module_kobject *, const char *, size_t); + ssize_t (*show)(const struct module_attribute *, struct module_kobject *, char *); + ssize_t (*store)(const struct module_attribute *, struct module_kobject *, const char *, size_t); void (*setup)(struct module *, const char *); int (*test)(struct module *); void (*free)(struct module *); @@ -28231,6 +31055,7 @@ struct mount { struct dentry *mnt_mountpoint; struct vfsmount mnt; union { + struct rb_node mnt_node; struct callback_head mnt_rcu; struct llist_node mnt_llist; }; @@ -28254,6 +31079,7 @@ struct mount { }; struct list_head mnt_umounting; int mnt_id; + u64 mnt_id_unique; int mnt_group_id; int mnt_expiry_mark; struct hlist_head mnt_pins; @@ -28317,7 +31143,26 @@ struct msghdr { __kernel_size_t msg_controllen; struct kiocb *msg_iocb; struct ubuf_info *msg_ubuf; - int (*sg_from_iter)(struct sock *, struct sk_buff *, struct iov_iter *, size_t); + int (*sg_from_iter)(struct sk_buff *, struct iov_iter *, size_t); +}; + +struct msi_alloc_info { + struct msi_desc *desc; + irq_hw_number_t hwirq; + long unsigned int flags; + union { + long unsigned int ul; + void *ptr; + } scratchpad[2]; +}; + +typedef struct msi_alloc_info msi_alloc_info_t; + +struct msi_ctrl { + unsigned int domid; + unsigned int first; + unsigned int last; + unsigned int nirqs; }; struct msi_msg { @@ -28386,6 +31231,67 @@ struct msi_desc { }; }; +struct msi_dev_domain { + struct xarray store; + struct irq_domain *domain; +}; + +struct msi_device_data { + long unsigned int properties; + struct mutex mutex; + struct msi_dev_domain __domains[1]; + long unsigned int __iter_idx; +}; + +struct msi_domain_ops; + +struct msi_domain_info { + u32 flags; + enum irq_domain_bus_token bus_token; + unsigned int hwsize; + struct msi_domain_ops *ops; + struct irq_chip *chip; + void *chip_data; + irq_flow_handler_t handler; + void *handler_data; + const char *handler_name; + void *data; +}; + +struct msi_domain_ops { + irq_hw_number_t (*get_hwirq)(struct msi_domain_info *, msi_alloc_info_t *); + int (*msi_init)(struct irq_domain *, struct msi_domain_info *, unsigned int, irq_hw_number_t, msi_alloc_info_t *); + void (*msi_free)(struct irq_domain *, struct msi_domain_info *, unsigned int); + int (*msi_prepare)(struct irq_domain *, struct device *, int, msi_alloc_info_t *); + void (*prepare_desc)(struct irq_domain *, msi_alloc_info_t *, struct msi_desc *); + void (*set_desc)(msi_alloc_info_t *, struct msi_desc *); + int (*domain_alloc_irqs)(struct irq_domain *, struct device *, int); + void (*domain_free_irqs)(struct irq_domain *, struct device *); + void (*msi_post_free)(struct irq_domain *, struct device *); + int (*msi_translate)(struct irq_domain *, struct irq_fwspec *, irq_hw_number_t *, unsigned int *); +}; + +struct msi_domain_template { + char name[48]; + struct irq_chip chip; + struct msi_domain_ops ops; + struct msi_domain_info info; +}; + +struct msi_map { + int index; + int virq; +}; + +struct msi_parent_ops { + u32 supported_flags; + u32 required_flags; + u32 bus_select_token; + u32 bus_select_mask; + const char *prefix; + bool (*init_dev_msi_info)(struct device *, struct irq_domain *, struct irq_domain *, struct msi_domain_info *); +}; + struct multi_symbols_sort { const char **funcs; u64 *cookies; @@ -28396,6 +31302,10 @@ struct multiprocess_signals { struct hlist_node node; }; +typedef struct mutex *class_mutex_t; + +typedef class_mutex_t class_mutex_intr_t; + struct ww_acquire_ctx; struct mutex_waiter { @@ -28406,7 +31316,7 @@ struct mutex_waiter { struct name_snapshot { struct qstr name; - unsigned char inline_name[32]; + union shortname_store inline_name; }; struct saved { @@ -28433,6 +31343,7 @@ struct nameidata { struct saved *stack; struct saved internal[2]; struct filename *name; + const char *pathname; struct nameidata *saved; unsigned int root_seq; int dfd; @@ -28441,26 +31352,25 @@ struct nameidata { }; struct page_frag_cache { - void *va; - __u16 offset; - __u16 size; - unsigned int pagecnt_bias; - bool pfmemalloc; -}; - -struct page_frag_1k { - void *va; - u16 offset; - bool pfmemalloc; + long unsigned int encoded_page; + __u32 offset; + __u32 pagecnt_bias; }; struct napi_alloc_cache { + local_lock_t bh_lock; struct page_frag_cache page; - struct page_frag_1k page_small; unsigned int skb_count; void *skb_cache[64]; }; +struct napi_config { + u64 gro_flush_timeout; + u64 irq_suspend_timeout; + u32 defer_hard_irqs; + unsigned int napi_id; +}; + struct napi_gro_cb { union { struct { @@ -28474,9 +31384,9 @@ struct napi_gro_cb { }; int data_offset; u16 flush; - u16 flush_id; u16 count; u16 proto; + u16 pad; union { struct { u16 gro_remcsum_start; @@ -28487,7 +31397,7 @@ struct napi_gro_cb { u8 free: 2; u8 is_ipv6: 1; u8 is_fou: 1; - u8 is_atomic: 1; + u8 ip_fixedid: 1; u8 recursion_counter: 4; u8 is_flist: 1; }; @@ -28500,12 +31410,26 @@ struct napi_gro_cb { u8 free: 2; u8 is_ipv6: 1; u8 is_fou: 1; - u8 is_atomic: 1; + u8 ip_fixedid: 1; u8 recursion_counter: 4; u8 is_flist: 1; } zeroed; }; __wsum csum; + union { + struct { + u16 network_offset; + u16 inner_network_offset; + }; + u16 network_offsets[2]; + }; +}; + +struct nbcon_write_context { + struct nbcon_context ctxt; + char *outbuf; + unsigned int len; + bool unsafe_takeover; }; struct nd_msg { @@ -28531,7 +31455,6 @@ struct ndisc_options; struct prefix_info; struct ndisc_ops { - int (*is_useropt)(u8); int (*parse_options)(const struct net_device *, struct nd_opt_hdr *, struct ndisc_options *); void (*update)(const struct net_device *, struct neighbour *, u32, u8, const struct ndisc_options *); int (*opt_addr_space)(const struct net_device *, u8, struct neighbour *, u8 *, u8 **); @@ -28555,6 +31478,11 @@ struct ndmsg { __u8 ndm_type; }; +struct ndo_fdb_dump_context { + long unsigned int ifindex; + long unsigned int fdb_idx; +}; + struct ndt_config { __u16 ndtc_key_len; __u16 ndtc_entry_size; @@ -28604,7 +31532,7 @@ struct neigh_dump_filter { }; struct neigh_hash_table { - struct neighbour **hash_buckets; + struct hlist_head *hash_heads; unsigned int hash_shift; __u32 hash_rnd[4]; struct callback_head rcu; @@ -28689,7 +31617,8 @@ struct neigh_table { }; struct neighbour { - struct neighbour *next; + struct hlist_node hash; + struct hlist_node dev_list; struct neigh_table *tbl; struct neigh_parms *parms; long unsigned int confirmed; @@ -28738,7 +31667,9 @@ struct raw_notifier_head { struct netns_core { struct ctl_table_header *sysctl_hdr; int sysctl_somaxconn; + int sysctl_optmem_max; u8 sysctl_txrehash; + u8 sysctl_tstamp_allow_data; }; struct tcp_mib; @@ -28780,6 +31711,28 @@ struct ping_group_range { }; struct netns_ipv4 { + __u8 __cacheline_group_begin__netns_ipv4_read_tx[0]; + u8 sysctl_tcp_early_retrans; + u8 sysctl_tcp_tso_win_divisor; + u8 sysctl_tcp_tso_rtt_log; + u8 sysctl_tcp_autocorking; + int sysctl_tcp_min_snd_mss; + unsigned int sysctl_tcp_notsent_lowat; + int sysctl_tcp_limit_output_bytes; + int sysctl_tcp_min_rtt_wlen; + int sysctl_tcp_wmem[3]; + u8 sysctl_ip_fwd_use_pmtu; + __u8 __cacheline_group_end__netns_ipv4_read_tx[0]; + __u8 __cacheline_group_begin__netns_ipv4_read_txrx[0]; + u8 sysctl_tcp_moderate_rcvbuf; + __u8 __cacheline_group_end__netns_ipv4_read_txrx[0]; + __u8 __cacheline_group_begin__netns_ipv4_read_rx[0]; + u8 sysctl_ip_early_demux; + u8 sysctl_tcp_early_demux; + u8 sysctl_tcp_l3mdev_accept; + int sysctl_tcp_reordering; + int sysctl_tcp_rmem[3]; + __u8 __cacheline_group_end__netns_ipv4_read_rx[0]; struct inet_timewait_death_row tcp_death_row; struct udp_table *udp_table; struct ipv4_devconf *devconf_all; @@ -28801,6 +31754,10 @@ struct netns_ipv4 { u8 sysctl_icmp_errors_use_inbound_ifaddr; int sysctl_icmp_ratelimit; int sysctl_icmp_ratemask; + int sysctl_icmp_msgs_per_sec; + int sysctl_icmp_msgs_burst; + atomic_t icmp_global_credit; + u32 icmp_global_stamp; u32 ip_rt_min_pmtu; int ip_rt_mtu_expires; int ip_rt_min_advmss; @@ -28809,13 +31766,10 @@ struct netns_ipv4 { u8 sysctl_tcp_ecn_fallback; u8 sysctl_ip_default_ttl; u8 sysctl_ip_no_pmtu_disc; - u8 sysctl_ip_fwd_use_pmtu; u8 sysctl_ip_fwd_update_priority; u8 sysctl_ip_nonlocal_bind; u8 sysctl_ip_autobind_reuse; u8 sysctl_ip_dynaddr; - u8 sysctl_ip_early_demux; - u8 sysctl_tcp_early_demux; u8 sysctl_udp_early_demux; u8 sysctl_nexthop_compat_mode; u8 sysctl_fwmark_reflect; @@ -28823,7 +31777,6 @@ struct netns_ipv4 { u8 sysctl_tcp_mtu_probing; int sysctl_tcp_mtu_probe_floor; int sysctl_tcp_base_mss; - int sysctl_tcp_min_snd_mss; int sysctl_tcp_probe_threshold; u32 sysctl_tcp_probe_interval; int sysctl_tcp_keepalive_time; @@ -28834,17 +31787,18 @@ struct netns_ipv4 { u8 sysctl_tcp_syncookies; u8 sysctl_tcp_migrate_req; u8 sysctl_tcp_comp_sack_nr; - int sysctl_tcp_reordering; + u8 sysctl_tcp_backlog_ack_defer; + u8 sysctl_tcp_pingpong_thresh; u8 sysctl_tcp_retries1; u8 sysctl_tcp_retries2; u8 sysctl_tcp_orphan_retries; u8 sysctl_tcp_tw_reuse; + unsigned int sysctl_tcp_tw_reuse_delay; int sysctl_tcp_fin_timeout; - unsigned int sysctl_tcp_notsent_lowat; u8 sysctl_tcp_sack; u8 sysctl_tcp_window_scaling; u8 sysctl_tcp_timestamps; - u8 sysctl_tcp_early_retrans; + int sysctl_tcp_rto_min_us; u8 sysctl_tcp_recovery; u8 sysctl_tcp_thin_linear_timeouts; u8 sysctl_tcp_slow_start_after_idle; @@ -28860,21 +31814,13 @@ struct netns_ipv4 { u8 sysctl_tcp_frto; u8 sysctl_tcp_nometrics_save; u8 sysctl_tcp_no_ssthresh_metrics_save; - u8 sysctl_tcp_moderate_rcvbuf; - u8 sysctl_tcp_tso_win_divisor; u8 sysctl_tcp_workaround_signed_windows; - int sysctl_tcp_limit_output_bytes; int sysctl_tcp_challenge_ack_limit; - int sysctl_tcp_min_rtt_wlen; u8 sysctl_tcp_min_tso_segs; - u8 sysctl_tcp_tso_rtt_log; - u8 sysctl_tcp_autocorking; u8 sysctl_tcp_reflect_tos; int sysctl_tcp_invalid_ratelimit; int sysctl_tcp_pacing_ss_ratio; int sysctl_tcp_pacing_ca_ratio; - int sysctl_tcp_wmem[3]; - int sysctl_tcp_rmem[3]; unsigned int sysctl_tcp_child_ehash_entries; long unsigned int sysctl_tcp_comp_sack_delay_ns; long unsigned int sysctl_tcp_comp_sack_slack_ns; @@ -28909,6 +31855,8 @@ struct netns_ipv4 { unsigned int ipmr_seq; atomic_t rt_genid; siphash_key_t ip_id_key; + struct hlist_head *inet_addr_lst; + struct delayed_work addr_chk_work; }; struct netns_sysctl_ipv6 { @@ -28994,16 +31942,6 @@ struct netns_ipv6 { struct ioam6_pernet_data *ioam6_data; }; -struct nf_logger; - -struct nf_hook_entries; - -struct netns_nf { - const struct nf_logger *nf_loggers[11]; - struct nf_hook_entries *hooks_ipv4[5]; - struct nf_hook_entries *hooks_ipv6[5]; -}; - struct netns_bpf { struct bpf_prog_array *run_array[2]; struct bpf_prog *progs[2]; @@ -29017,13 +31955,13 @@ struct net_generic; struct net { refcount_t passive; spinlock_t rules_mod_lock; - atomic_t dev_unreg_count; unsigned int dev_base_seq; u32 ifindex; spinlock_t nsid_lock; atomic_t fnhe_genid; struct list_head list; struct list_head exit_list; + struct llist_node defer_free_list; struct llist_node cleanup_list; struct user_namespace *user_ns; struct ucounts *ucounts; @@ -29050,13 +31988,19 @@ struct net { struct netns_nexthop nexthop; struct netns_ipv4 ipv4; struct netns_ipv6 ipv6; - struct netns_nf nf; struct net_generic *gen; struct netns_bpf bpf; u64 net_cookie; struct sock *diag_nlsk; }; +struct netdev_tc_txq { + u16 count; + u16 offset; +}; + +typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **); + struct net_device_stats { union { long unsigned int rx_packets; @@ -29158,75 +32102,118 @@ struct netdev_hw_addr_list { struct rb_root tree; }; -typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **); +struct sfp_bus; -struct pcpu_dstats; +struct udp_tunnel_nic; -struct netdev_tc_txq { - u16 count; - u16 offset; -}; +struct net_device_ops; -struct sfp_bus; +struct pcpu_lstats; -struct udp_tunnel_nic; +struct pcpu_sw_netstats; -struct netdev_name_node; +struct pcpu_dstats; -struct net_device_ops; +struct netdev_rx_queue; + +struct netdev_name_node; struct xdp_metadata_ops; -struct net_device_core_stats; +struct xsk_tx_metadata_ops; -struct netdev_rx_queue; +struct net_device_core_stats; struct xdp_dev_bulk_queue; -struct pcpu_lstats; +struct netdev_stat_ops; -struct pcpu_sw_netstats; +struct netdev_queue_mgmt_ops; + +struct phy_link_topology; struct udp_tunnel_nic_info; +struct netdev_config; + struct rtnl_hw_stats64; struct net_device { + __u8 __cacheline_group_begin__net_device_read_tx[0]; + union { + struct { + long unsigned int priv_flags: 32; + long unsigned int lltx: 1; + }; + struct { + long unsigned int priv_flags: 32; + long unsigned int lltx: 1; + } priv_flags_fast; + }; + const struct net_device_ops *netdev_ops; + const struct header_ops *header_ops; + struct netdev_queue *_tx; + netdev_features_t gso_partial_features; + unsigned int real_num_tx_queues; + unsigned int gso_max_size; + unsigned int gso_ipv4_max_size; + u16 gso_max_segs; + s16 num_tc; + unsigned int mtu; + short unsigned int needed_headroom; + struct netdev_tc_txq tc_to_txq[16]; + struct bpf_mprog_entry *tcx_egress; + __u8 __cacheline_group_end__net_device_read_tx[0]; + __u8 __cacheline_group_begin__net_device_read_txrx[0]; + union { + struct pcpu_lstats *lstats; + struct pcpu_sw_netstats *tstats; + struct pcpu_dstats *dstats; + }; + long unsigned int state; + unsigned int flags; + short unsigned int hard_header_len; + netdev_features_t features; + struct inet6_dev *ip6_ptr; + __u8 __cacheline_group_end__net_device_read_txrx[0]; + __u8 __cacheline_group_begin__net_device_read_rx[0]; + struct bpf_prog *xdp_prog; + struct list_head ptype_specific; + int ifindex; + unsigned int real_num_rx_queues; + struct netdev_rx_queue *_rx; + unsigned int gro_max_size; + unsigned int gro_ipv4_max_size; + rx_handler_func_t *rx_handler; + void *rx_handler_data; + possible_net_t nd_net; + struct bpf_mprog_entry *tcx_ingress; + __u8 __cacheline_group_end__net_device_read_rx[0]; char name[16]; struct netdev_name_node *name_node; struct dev_ifalias *ifalias; long unsigned int mem_end; long unsigned int mem_start; long unsigned int base_addr; - long unsigned int state; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; - struct list_head ptype_specific; struct { struct list_head upper; struct list_head lower; } adj_list; - unsigned int flags; xdp_features_t xdp_features; - long long unsigned int priv_flags; - const struct net_device_ops *netdev_ops; const struct xdp_metadata_ops *xdp_metadata_ops; - int ifindex; + const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; short unsigned int gflags; - short unsigned int hard_header_len; - unsigned int mtu; - short unsigned int needed_headroom; short unsigned int needed_tailroom; - netdev_features_t features; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; - netdev_features_t gso_partial_features; unsigned int min_mtu; unsigned int max_mtu; short unsigned int type; @@ -29239,8 +32226,7 @@ struct net_device { atomic_t carrier_down_count; const struct ethtool_ops *ethtool_ops; const struct ndisc_ops *ndisc_ops; - const struct header_ops *header_ops; - unsigned char operstate; + unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; @@ -29252,9 +32238,9 @@ struct net_device { short unsigned int neigh_priv_len; short unsigned int dev_id; short unsigned int dev_port; - short unsigned int padded; - spinlock_t addr_list_lock; int irq; + u32 priv_len; + spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; @@ -29262,33 +32248,18 @@ struct net_device { unsigned int allmulti; bool uc_promisc; struct in_device *ip_ptr; - struct inet6_dev *ip6_ptr; + struct hlist_head fib_nh_head; const unsigned char *dev_addr; - struct netdev_rx_queue *_rx; unsigned int num_rx_queues; - unsigned int real_num_rx_queues; - struct bpf_prog *xdp_prog; - long unsigned int gro_flush_timeout; - int napi_defer_hard_irqs; - unsigned int gro_max_size; - unsigned int gro_ipv4_max_size; unsigned int xdp_zc_max_segs; - rx_handler_func_t *rx_handler; - void *rx_handler_data; - struct bpf_mprog_entry *tcx_ingress; struct netdev_queue *ingress_queue; - struct nf_hook_entries *nf_hooks_ingress; unsigned char broadcast[32]; struct hlist_node index_hlist; - struct netdev_queue *_tx; unsigned int num_tx_queues; - unsigned int real_num_tx_queues; struct Qdisc *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue *xdp_bulkq; - struct bpf_mprog_entry *tcx_egress; - struct nf_hook_entries *nf_hooks_egress; struct timer_list watchdog_timer; int watchdog_timeo; u32 proto_down_reason; @@ -29296,14 +32267,7 @@ struct net_device { refcount_t dev_refcnt; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; - enum { - NETREG_UNINITIALIZED = 0, - NETREG_REGISTERED = 1, - NETREG_UNREGISTERING = 2, - NETREG_UNREGISTERED = 3, - NETREG_RELEASED = 4, - NETREG_DUMMY = 5, - } reg_state: 8; + u8 reg_state; bool dismantle; enum { RTNL_LINK_INITIALIZED = 0, @@ -29311,35 +32275,34 @@ struct net_device { } rtnl_link_state: 16; bool needs_free_netdev; void (*priv_destructor)(struct net_device *); - possible_net_t nd_net; void *ml_priv; enum netdev_ml_priv_type ml_priv_type; - union { - struct pcpu_lstats *lstats; - struct pcpu_sw_netstats *tstats; - struct pcpu_dstats *dstats; - }; + enum netdev_stat_type pcpu_stat_type: 8; struct device dev; const struct attribute_group *sysfs_groups[4]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; - unsigned int gso_max_size; + const struct netdev_stat_ops *stat_ops; + const struct netdev_queue_mgmt_ops *queue_mgmt_ops; unsigned int tso_max_size; - u16 gso_max_segs; u16 tso_max_segs; - unsigned int gso_ipv4_max_size; - s16 num_tc; - struct netdev_tc_txq tc_to_txq[16]; u8 prio_tc_map[16]; + struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; - unsigned int wol_enabled: 1; - unsigned int threaded: 1; + bool threaded; + long unsigned int see_all_hwtstamp_requests: 1; + long unsigned int change_proto_down: 1; + long unsigned int netns_local: 1; + long unsigned int fcoe_mtu: 1; struct list_head net_notifier_list; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; + struct netdev_config *cfg; + struct netdev_config *cfg_pending; + struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[3]; u8 dev_addr_shadow[32]; netdevice_tracker linkwatch_dev_tracker; @@ -29347,6 +32310,21 @@ struct net_device { netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; + struct hlist_head page_pools; + struct dim_irq_moder *irq_moder; + u64 max_pacing_offload_horizon; + struct napi_config *napi_config; + long unsigned int gro_flush_timeout; + u32 napi_defer_hard_irqs; + bool up; + struct mutex lock; + struct hlist_head neighbours[2]; + struct hwtstamp_provider *hwprov; + long: 64; + long: 64; + long: 64; + long: 64; + u8 priv[0]; }; struct net_device_core_stats { @@ -29421,14 +32399,16 @@ struct net_device_ops { int (*ndo_set_features)(struct net_device *, netdev_features_t); int (*ndo_neigh_construct)(struct net_device *, struct neighbour *); void (*ndo_neigh_destroy)(struct net_device *, struct neighbour *); - int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, struct netlink_ext_ack *); - int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, struct netlink_ext_ack *); - int (*ndo_fdb_del_bulk)(struct ndmsg *, struct nlattr **, struct net_device *, u16, struct netlink_ext_ack *); + int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, bool *, struct netlink_ext_ack *); + int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, bool *, struct netlink_ext_ack *); + int (*ndo_fdb_del_bulk)(struct nlmsghdr *, struct net_device *, struct netlink_ext_ack *); int (*ndo_fdb_dump)(struct sk_buff *, struct netlink_callback *, struct net_device *, struct net_device *, int *); int (*ndo_fdb_get)(struct sk_buff *, struct nlattr **, struct net_device *, const unsigned char *, u16, u32, u32, struct netlink_ext_ack *); int (*ndo_mdb_add)(struct net_device *, struct nlattr **, u16, struct netlink_ext_ack *); int (*ndo_mdb_del)(struct net_device *, struct nlattr **, struct netlink_ext_ack *); + int (*ndo_mdb_del_bulk)(struct net_device *, struct nlattr **, struct netlink_ext_ack *); int (*ndo_mdb_dump)(struct net_device *, struct sk_buff *, struct netlink_callback *); + int (*ndo_mdb_get)(struct net_device *, struct nlattr **, u32, u32, struct netlink_ext_ack *); int (*ndo_bridge_setlink)(struct net_device *, struct nlmsghdr *, u16, struct netlink_ext_ack *); int (*ndo_bridge_getlink)(struct sk_buff *, u32, u32, struct net_device *, u32, int); int (*ndo_bridge_dellink)(struct net_device *, struct nlmsghdr *, u16); @@ -29446,7 +32426,7 @@ struct net_device_ops { int (*ndo_xdp_xmit)(struct net_device *, int, struct xdp_frame **, u32); struct net_device * (*ndo_xdp_get_xmit_slave)(struct net_device *, struct xdp_buff *); int (*ndo_xsk_wakeup)(struct net_device *, u32, u32); - int (*ndo_tunnel_ctl)(struct net_device *, struct ip_tunnel_parm *, int); + int (*ndo_tunnel_ctl)(struct net_device *, struct ip_tunnel_parm_kern *, int); struct net_device * (*ndo_get_peer_dev)(struct net_device *); int (*ndo_fill_forward_path)(struct net_device_path_ctx *, struct net_device_path *); ktime_t (*ndo_get_tstamp)(struct net_device *, const struct skb_shared_hwtstamps *, bool); @@ -29482,6 +32462,7 @@ struct net_device_path { u8 queue; u16 wcid; u8 bss; + u8 amsdu; } mtk_wdma; }; }; @@ -29501,6 +32482,24 @@ struct net_device_path_stack { struct net_device_path path[5]; }; +struct dma_buf; + +struct dma_buf_attachment; + +struct gen_pool; + +struct net_devmem_dmabuf_binding { + struct dma_buf *dmabuf; + struct dma_buf_attachment *attachment; + struct sg_table *sgt; + struct net_device *dev; + struct gen_pool *chunk_pool; + refcount_t ref; + struct list_head list; + struct xarray bound_rxqs; + u32 id; +}; + struct net_fill_args { u32 portid; u32 seq; @@ -29530,15 +32529,17 @@ struct offload_callbacks { int (*gro_complete)(struct sk_buff *, int); }; -struct net_offload { +struct packet_offload { + __be16 type; + u16 priority; struct offload_callbacks callbacks; - unsigned int flags; + struct list_head list; }; -struct net_proto_family { - int family; - int (*create)(struct net *, struct socket *, int, int); - struct module *owner; +struct net_offload { + struct offload_callbacks callbacks; + unsigned int flags; + u32 secret; }; struct net_protocol { @@ -29546,6 +32547,52 @@ struct net_protocol { int (*err_handler)(struct sk_buff *, u32); unsigned int no_policy: 1; unsigned int icmp_strict_tag_validation: 1; + u32 secret; +}; + +struct net_hotdata { + struct packet_offload ip_packet_offload; + struct net_offload tcpv4_offload; + struct net_protocol tcp_protocol; + struct net_offload udpv4_offload; + struct net_protocol udp_protocol; + struct packet_offload ipv6_packet_offload; + struct net_offload tcpv6_offload; + struct inet6_protocol tcpv6_protocol; + struct inet6_protocol udpv6_protocol; + struct net_offload udpv6_offload; + struct list_head offload_base; + struct list_head ptype_all; + struct kmem_cache *skbuff_cache; + struct kmem_cache *skbuff_fclone_cache; + struct kmem_cache *skb_small_head_cache; + int gro_normal_batch; + int netdev_budget; + int netdev_budget_usecs; + int tstamp_prequeue; + int max_backlog; + int dev_tx_weight; + int dev_rx_weight; + int sysctl_max_skb_frags; + int sysctl_skb_defer_max; + int sysctl_mem_pcpu_rsv; +}; + +struct dmabuf_genpool_chunk_owner; + +struct net_iov { + long unsigned int __unused_padding; + long unsigned int pp_magic; + struct page_pool *pp; + struct dmabuf_genpool_chunk_owner *owner; + long unsigned int dma_addr; + atomic_long_t pp_ref_count; +}; + +struct net_proto_family { + int family; + int (*create)(struct net *, struct socket *, int, int); + struct module *owner; }; struct net_rate_estimator { @@ -29605,6 +32652,11 @@ struct netdev_bpf { }; }; +struct netdev_config { + u32 hds_thresh; + u8 hds_config; +}; + struct netdev_hw_addr { struct list_head list; struct rb_node node; @@ -29622,6 +32674,7 @@ struct netdev_name_node { struct list_head list; struct net_device *dev; const char *name; + struct callback_head rcu; }; struct netdev_nested_priv { @@ -29634,6 +32687,13 @@ struct netdev_net_notifier { struct notifier_block *nb; }; +struct netdev_nl_dump_ctx { + long unsigned int ifindex; + unsigned int rxq_idx; + unsigned int txq_idx; + unsigned int napi_id; +}; + struct netdev_notifier_info { struct net_device *dev; struct netlink_ext_ack *extack; @@ -29720,6 +32780,47 @@ struct netdev_queue { int xmit_lock_owner; long unsigned int trans_start; long unsigned int state; + struct napi_struct *napi; +}; + +struct netdev_queue_mgmt_ops { + size_t ndo_queue_mem_size; + int (*ndo_queue_mem_alloc)(struct net_device *, void *, int); + void (*ndo_queue_mem_free)(struct net_device *, void *); + int (*ndo_queue_start)(struct net_device *, void *, int); + int (*ndo_queue_stop)(struct net_device *, void *, int); +}; + +struct netdev_queue_stats_rx { + u64 bytes; + u64 packets; + u64 alloc_fail; + u64 hw_drops; + u64 hw_drop_overruns; + u64 csum_unnecessary; + u64 csum_none; + u64 csum_bad; + u64 hw_gro_packets; + u64 hw_gro_bytes; + u64 hw_gro_wire_packets; + u64 hw_gro_wire_bytes; + u64 hw_drop_ratelimits; +}; + +struct netdev_queue_stats_tx { + u64 bytes; + u64 packets; + u64 hw_drops; + u64 hw_drop_errors; + u64 csum_none; + u64 needs_csum; + u64 hw_gso_packets; + u64 hw_gso_bytes; + u64 hw_gso_wire_packets; + u64 hw_gso_wire_bytes; + u64 hw_drop_ratelimits; + u64 stop; + u64 wake; }; struct xdp_mem_info { @@ -29732,7 +32833,6 @@ struct xdp_rxq_info { u32 queue_index; u32 reg_state; struct xdp_mem_info mem; - unsigned int napi_id; u32 frag_size; long: 64; long: 64; @@ -29740,13 +32840,17 @@ struct xdp_rxq_info { long: 64; }; +struct pp_memory_provider_params { + void *mp_priv; +}; + struct netdev_rx_queue { struct xdp_rxq_info xdp_rxq; struct kobject kobj; struct net_device *dev; netdevice_tracker dev_tracker; - long: 64; - long: 64; + struct napi_struct *napi; + struct pp_memory_provider_params mp_params; long: 64; long: 64; long: 64; @@ -29754,6 +32858,18 @@ struct netdev_rx_queue { long: 64; }; +struct netdev_stat_ops { + void (*get_queue_stats_rx)(struct net_device *, int, struct netdev_queue_stats_rx *); + void (*get_queue_stats_tx)(struct net_device *, int, struct netdev_queue_stats_tx *); + void (*get_base_stats)(struct net_device *, struct netdev_queue_stats_rx *, struct netdev_queue_stats_tx *); +}; + +struct netdev_xmit { + u16 recursion; + u8 more; + u8 skip_txqueue; +}; + struct netevent_redirect { struct dst_entry *old; struct dst_entry *new; @@ -29790,6 +32906,7 @@ struct netlink_callback { u32 min_dump_alloc; unsigned int prev_seq; unsigned int seq; + int flags; bool strict_check; union { u8 ctx[48]; @@ -29810,6 +32927,7 @@ struct netlink_dump_control { void *data; struct module *module; u32 min_dump_alloc; + int flags; }; struct netlink_ext_ack { @@ -29827,7 +32945,6 @@ struct netlink_kernel_cfg { unsigned int groups; unsigned int flags; void (*input)(struct sk_buff *); - struct mutex *cb_mutex; int (*bind)(struct net *, int); void (*unbind)(struct net *, int); void (*release)(struct sock *, long unsigned int *); @@ -29898,8 +33015,7 @@ struct netlink_sock { bool cb_running; int dump_done_errno; struct netlink_callback cb; - struct mutex *cb_mutex; - struct mutex cb_def_mutex; + struct mutex nl_cb_mutex; void (*netlink_rcv)(struct sk_buff *); int (*netlink_bind)(struct net *, int); void (*netlink_unbind)(struct net *, int); @@ -29907,7 +33023,6 @@ struct netlink_sock { struct module *module; struct rhash_head node; struct callback_head rcu; - struct work_struct work; }; struct netlink_table { @@ -29970,43 +33085,10 @@ struct nexthop { struct nexthop_grp { __u32 id; __u8 weight; - __u8 resvd1; + __u8 weight_high; __u16 resvd2; }; -struct nf_conntrack; - -struct nf_conntrack_tuple; - -struct nf_ct_hook { - int (*update)(struct net *, struct sk_buff *); - void (*destroy)(struct nf_conntrack *); - bool (*get_tuple_skb)(struct nf_conntrack_tuple *, const struct sk_buff *); - void (*attach)(struct sk_buff *, const struct sk_buff *); - void (*set_closing)(struct nf_conntrack *); -}; - -struct nf_defrag_hook { - struct module *owner; - int (*enable)(struct net *); - void (*disable)(struct net *); -}; - -struct nf_hook_entry { - nf_hookfn *hook; - void *priv; -}; - -struct nf_hook_entries { - u16 num_hook_entries; - struct nf_hook_entry hooks[0]; -}; - -struct nf_hook_entries_rcu_head { - struct callback_head head; - void *allocation; -}; - struct nf_hook_state { u8 hook; u8 pf; @@ -30017,82 +33099,6 @@ struct nf_hook_state { int (*okfn)(struct net *, struct sock *, struct sk_buff *); }; -struct nf_queue_entry; - -struct nf_ipv6_ops { - void (*route_input)(struct sk_buff *); - int (*fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *)); - int (*reroute)(struct sk_buff *, const struct nf_queue_entry *); -}; - -struct nf_log_buf { - unsigned int count; - char buf[1020]; -}; - -struct nf_loginfo; - -typedef void nf_logfn(struct net *, u_int8_t, unsigned int, const struct sk_buff *, const struct net_device *, const struct net_device *, const struct nf_loginfo *, const char *); - -struct nf_logger { - char *name; - enum nf_log_type type; - nf_logfn *logfn; - struct module *me; -}; - -struct nf_loginfo { - u_int8_t type; - union { - struct { - u_int32_t copy_len; - u_int16_t group; - u_int16_t qthreshold; - u_int16_t flags; - } ulog; - struct { - u_int8_t level; - u_int8_t logflags; - } log; - } u; -}; - -struct nf_queue_entry { - struct list_head list; - struct sk_buff *skb; - unsigned int id; - unsigned int hook_index; - struct nf_hook_state state; - u16 size; -}; - -struct nf_queue_handler { - int (*outfn)(struct nf_queue_entry *, unsigned int); - void (*nf_hook_drop)(struct net *); -}; - -struct nf_sockopt_ops { - struct list_head list; - u_int8_t pf; - int set_optmin; - int set_optmax; - int (*set)(struct sock *, int, sockptr_t, unsigned int); - int get_optmin; - int get_optmax; - int (*get)(struct sock *, int, void *, int *); - struct module *owner; -}; - -struct nf_conn; - -struct nfnl_ct_hook { - size_t (*build_size)(const struct nf_conn *); - int (*build)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, u_int16_t, u_int16_t); - int (*parse)(const struct nlattr *, struct nf_conn *); - int (*attach_expect)(const struct nlattr *, struct nf_conn *, u32, u32); - void (*seq_adjust)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, s32); -}; - struct nh_config { u32 nh_id; u8 nh_family; @@ -30114,6 +33120,7 @@ struct nh_config { bool nh_grp_res_has_num_buckets; bool nh_grp_res_has_idle_timer; bool nh_grp_res_has_unbalanced_timer; + bool nh_hw_stats; struct nlattr *nh_encap; u16 nh_encap_type; u32 nlflags; @@ -30127,11 +33134,15 @@ struct nh_dump_filter { bool group_filter; bool fdb_filter; u32 res_bucket_nh_id; + u32 op_flags; }; +struct nh_grp_entry_stats; + struct nh_grp_entry { struct nexthop *nh; - u8 weight; + struct nh_grp_entry_stats *stats; + u16 weight; union { struct { atomic_t upper_bound; @@ -30144,6 +33155,7 @@ struct nh_grp_entry { }; struct list_head nh_list; struct nexthop *nh_parent; + u64 packets_hw; }; struct nh_res_table; @@ -30156,10 +33168,16 @@ struct nh_group { bool resilient; bool fdb_nh; bool has_v4; + bool hw_stats; struct nh_res_table *res_table; struct nh_grp_entry nh_entries[0]; }; +struct nh_grp_entry_stats { + u64_stats_t packets; + struct u64_stats_sync syncp; +}; + struct nh_info { struct hlist_node dev_hash; struct nexthop *nh_parent; @@ -30180,20 +33198,32 @@ struct nh_notifier_single_info { __be32 ipv4; struct in6_addr ipv6; }; + u32 id; u8 is_reject: 1; u8 is_fdb: 1; u8 has_encap: 1; }; struct nh_notifier_grp_entry_info { - u8 weight; - u32 id; + u16 weight; struct nh_notifier_single_info nh; }; +struct nh_notifier_grp_hw_stats_entry_info { + u32 id; + u64 packets; +}; + +struct nh_notifier_grp_hw_stats_info { + u16 num_nh; + bool hw_stats_used; + struct nh_notifier_grp_hw_stats_entry_info stats[0]; +}; + struct nh_notifier_grp_info { u16 num_nh; bool is_fdb; + bool hw_stats; struct nh_notifier_grp_entry_info nh_entries[0]; }; @@ -30211,6 +33241,7 @@ struct nh_notifier_info { struct nh_notifier_grp_info *nh_grp; struct nh_notifier_res_table_info *nh_res_table; struct nh_notifier_res_bucket_info *nh_res_bucket; + struct nh_notifier_grp_hw_stats_info *nh_grp_hw_stats; }; }; @@ -30224,6 +33255,7 @@ struct nh_notifier_res_bucket_info { struct nh_notifier_res_table_info { u16 num_nh_buckets; + bool hw_stats; struct nh_notifier_single_info nhs[0]; }; @@ -30274,8 +33306,8 @@ struct nla_policy { const u32 mask; const char *reject_message; const struct nla_policy *nested_policy; - struct netlink_range_validation *range; - struct netlink_range_validation_signed *range_signed; + const struct netlink_range_validation *range; + const struct netlink_range_validation_signed *range_signed; struct { s16 min; s16 max; @@ -30340,6 +33372,50 @@ struct nsset { const struct cred *cred; }; +struct ntp_data { + long unsigned int tick_usec; + u64 tick_length; + u64 tick_length_base; + int time_state; + int time_status; + s64 time_offset; + long int time_constant; + long int time_maxerror; + long int time_esterror; + s64 time_freq; + time64_t time_reftime; + long int time_adjust; + s64 ntp_tick_adj; + time64_t ntp_next_leap_sec; +}; + +struct objpool_head; + +typedef int (*objpool_fini_cb)(struct objpool_head *, void *); + +struct objpool_slot; + +struct objpool_head { + int obj_size; + int nr_objs; + int nr_possible_cpus; + int capacity; + gfp_t gfp; + refcount_t ref; + long unsigned int flags; + struct objpool_slot **cpu_slots; + objpool_fini_cb release; + void *context; +}; + +struct objpool_slot { + uint32_t head; + uint32_t tail; + uint32_t last; + uint32_t mask; + void *entries[0]; +}; + struct obs_kernel_param { const char *str; int (*setup_func)(char *); @@ -30347,20 +33423,20 @@ struct obs_kernel_param { }; struct of_bus { - const char *name; - const char *addresses; - int (*match)(struct device_node *); - void (*count_cells)(struct device_node *, int *, int *); + void (*count_cells)(const void *, int, int *, int *); u64 (*map)(__be32 *, const __be32 *, int, int, int); int (*translate)(__be32 *, u64, int); - bool has_flags; - unsigned int (*get_flags)(const __be32 *); }; struct of_bus___2 { - void (*count_cells)(const void *, int, int *, int *); - u64 (*map)(__be32 *, const __be32 *, int, int, int); + const char *name; + const char *addresses; + int (*match)(struct device_node *); + void (*count_cells)(struct device_node *, int *, int *); + u64 (*map)(__be32 *, const __be32 *, int, int, int, int); int (*translate)(__be32 *, u64, int); + int flag_cells; + unsigned int (*get_flags)(const __be32 *); }; struct of_phandle_args; @@ -30408,13 +33484,14 @@ struct of_pci_range { u64 bus_addr; }; u64 cpu_addr; + u64 parent_bus_addr; u64 size; u32 flags; }; struct of_pci_range_parser { struct device_node *node; - struct of_bus *bus; + const struct of_bus___2 *bus; const __be32 *range; const __be32 *end; int na; @@ -30458,15 +33535,14 @@ struct of_timer_clk { struct of_timer_irq { int irq; int index; - int percpu; const char *name; long unsigned int flags; irq_handler_t handler; }; struct offset_ctx { - struct xarray xa; - u32 next_offset; + struct maple_tree mt; + long unsigned int next_offset; }; struct old_timespec32 { @@ -30530,13 +33606,6 @@ struct osnoise_entry { unsigned int thread_count; }; -struct packet_offload { - __be16 type; - u16 priority; - struct offload_callbacks callbacks; - struct list_head list; -}; - struct packet_type { __be16 type; bool ignore_outgoing; @@ -30562,8 +33631,7 @@ struct page_flags_fields { const char *name; }; -struct page_pool_params { - unsigned int flags; +struct page_pool_params_fast { unsigned int order; unsigned int pool_size; int nid; @@ -30572,13 +33640,11 @@ struct page_pool_params { enum dma_data_direction dma_dir; unsigned int max_len; unsigned int offset; - void (*init_callback)(struct page *, void *); - void *init_arg; }; struct pp_alloc_cache { u32 count; - struct page *cache[128]; + netmem_ref cache[128]; }; struct ptr_ring { @@ -30592,12 +33658,31 @@ struct ptr_ring { void **queue; }; +struct page_pool_params_slow { + struct net_device *netdev; + unsigned int queue_idx; + unsigned int flags; + void (*init_callback)(netmem_ref, void *); + void *init_arg; +}; + struct page_pool { - struct page_pool_params p; + struct page_pool_params_fast p; + int cpuid; + u32 pages_state_hold_cnt; + bool has_init_callback: 1; + bool dma_map: 1; + bool dma_sync: 1; + bool dma_sync_for_cpu: 1; + long: 0; + __u8 __cacheline_group_begin__frag[0]; long int frag_users; - struct page *frag_page; + netmem_ref frag_page; unsigned int frag_offset; - u32 pages_state_hold_cnt; + long: 0; + __u8 __cacheline_group_end__frag[0]; + long: 64; + struct {} __cacheline_group_pad__frag; struct delayed_work release_dw; void (*disconnect)(void *); long unsigned int defer_start; @@ -30605,9 +33690,48 @@ struct page_pool { u32 xdp_mem_id; struct pp_alloc_cache alloc; struct ptr_ring ring; + void *mp_priv; atomic_t pages_state_release_cnt; refcount_t user_cnt; u64 destroy_cnt; + struct page_pool_params_slow slow; + struct { + struct hlist_node list; + u64 detach_time; + u32 id; + } user; + long: 64; +}; + +struct page_pool_dump_cb { + long unsigned int ifindex; + u32 pp_id; +}; + +struct page_pool_params { + union { + struct { + unsigned int order; + unsigned int pool_size; + int nid; + struct device *dev; + struct napi_struct *napi; + enum dma_data_direction dma_dir; + unsigned int max_len; + unsigned int offset; + }; + struct page_pool_params_fast fast; + }; + union { + struct { + struct net_device *netdev; + unsigned int queue_idx; + unsigned int flags; + void (*init_callback)(netmem_ref, void *); + void *init_arg; + }; + struct page_pool_params_slow slow; + }; }; struct page_vma_mapped_walk { @@ -30633,9 +33757,9 @@ struct pages_devres { }; struct partial_context { - struct slab **slab; gfp_t flags; unsigned int orig_size; + void *object; }; struct partial_page { @@ -30652,7 +33776,7 @@ struct partition_meta_info { struct patch_insn { void *addr; u32 *insns; - int ninsns; + size_t len; atomic_t cpu_count; }; @@ -30667,12 +33791,236 @@ struct pause_req_info { enum ethtool_mac_stats_src src; }; +struct pci_dev; + +struct pci_ops; + +struct pci_bus { + struct list_head node; + struct pci_bus *parent; + struct list_head children; + struct list_head devices; + struct pci_dev *self; + struct list_head slots; + struct resource *resource[4]; + struct list_head resources; + struct resource busn_res; + struct pci_ops *ops; + void *sysdata; + struct proc_dir_entry *procdir; + unsigned char number; + unsigned char primary; + unsigned char max_bus_speed; + unsigned char cur_bus_speed; + char name[48]; + short unsigned int bridge_ctl; + pci_bus_flags_t bus_flags; + struct device *bridge; + struct device dev; + struct bin_attribute *legacy_io; + struct bin_attribute *legacy_mem; + unsigned int is_added: 1; + unsigned int unsafe_warn: 1; +}; + +struct pci_vpd { + struct mutex lock; + unsigned int len; + u8 cap; +}; + +struct pcie_bwctrl_data; + +struct pci_slot; + +struct pci_driver; + +struct pci_dev { + struct list_head bus_list; + struct pci_bus *bus; + struct pci_bus *subordinate; + void *sysdata; + struct proc_dir_entry *procent; + struct pci_slot *slot; + unsigned int devfn; + short unsigned int vendor; + short unsigned int device; + short unsigned int subsystem_vendor; + short unsigned int subsystem_device; + unsigned int class; + u8 revision; + u8 hdr_type; + u32 devcap; + u8 pcie_cap; + u8 msi_cap; + u8 msix_cap; + u8 pcie_mpss: 3; + u8 rom_base_reg; + u8 pin; + u16 pcie_flags_reg; + long unsigned int *dma_alias_mask; + struct pci_driver *driver; + u64 dma_mask; + struct device_dma_parameters dma_parms; + pci_power_t current_state; + u8 pm_cap; + unsigned int pme_support: 5; + unsigned int pme_poll: 1; + unsigned int pinned: 1; + unsigned int config_rrs_sv: 1; + unsigned int imm_ready: 1; + unsigned int d1_support: 1; + unsigned int d2_support: 1; + unsigned int no_d1d2: 1; + unsigned int no_d3cold: 1; + unsigned int bridge_d3: 1; + unsigned int d3cold_allowed: 1; + unsigned int mmio_always_on: 1; + unsigned int wakeup_prepared: 1; + unsigned int skip_bus_pm: 1; + unsigned int ignore_hotplug: 1; + unsigned int hotplug_user_indicators: 1; + unsigned int clear_retrain_link: 1; + unsigned int d3hot_delay; + unsigned int d3cold_delay; + u16 l1ss; + unsigned int pasid_no_tlp: 1; + unsigned int eetlp_prefix_max: 3; + pci_channel_state_t error_state; + struct device dev; + int cfg_size; + unsigned int irq; + struct resource resource[11]; + struct resource driver_exclusive_resource; + bool match_driver; + unsigned int transparent: 1; + unsigned int io_window: 1; + unsigned int pref_window: 1; + unsigned int pref_64_window: 1; + unsigned int multifunction: 1; + unsigned int is_busmaster: 1; + unsigned int no_msi: 1; + unsigned int no_64bit_msi: 1; + unsigned int block_cfg_access: 1; + unsigned int broken_parity_status: 1; + unsigned int irq_reroute_variant: 2; + unsigned int msi_enabled: 1; + unsigned int msix_enabled: 1; + unsigned int ari_enabled: 1; + unsigned int ats_enabled: 1; + unsigned int pasid_enabled: 1; + unsigned int pri_enabled: 1; + unsigned int tph_enabled: 1; + unsigned int is_managed: 1; + unsigned int is_msi_managed: 1; + unsigned int needs_freset: 1; + unsigned int state_saved: 1; + unsigned int is_physfn: 1; + unsigned int is_virtfn: 1; + unsigned int is_hotplug_bridge: 1; + unsigned int shpc_managed: 1; + unsigned int is_thunderbolt: 1; + unsigned int untrusted: 1; + unsigned int external_facing: 1; + unsigned int broken_intx_masking: 1; + unsigned int io_window_1k: 1; + unsigned int irq_managed: 1; + unsigned int non_compliant_bars: 1; + unsigned int is_probed: 1; + unsigned int link_active_reporting: 1; + unsigned int no_vf_scan: 1; + unsigned int no_command_memory: 1; + unsigned int rom_bar_overlap: 1; + unsigned int rom_attr_enabled: 1; + pci_dev_flags_t dev_flags; + atomic_t enable_cnt; + spinlock_t pcie_cap_lock; + u32 saved_config_space[16]; + struct hlist_head saved_cap_space; + struct bin_attribute *res_attr[11]; + struct bin_attribute *res_attr_wc[11]; + struct pci_vpd vpd; + struct pcie_bwctrl_data *link_bwctrl; + u16 acs_cap; + u8 supported_speeds; + phys_addr_t rom; + size_t romlen; + const char *driver_override; + long unsigned int priv_flags; + u8 reset_methods[8]; +}; + +struct pci_device_id { + __u32 vendor; + __u32 device; + __u32 subvendor; + __u32 subdevice; + __u32 class; + __u32 class_mask; + kernel_ulong_t driver_data; + __u32 override_only; +}; + +struct pci_dynids { + spinlock_t lock; + struct list_head list; +}; + +struct pci_error_handlers; + +struct pci_driver { + const char *name; + const struct pci_device_id *id_table; + int (*probe)(struct pci_dev *, const struct pci_device_id *); + void (*remove)(struct pci_dev *); + int (*suspend)(struct pci_dev *, pm_message_t); + int (*resume)(struct pci_dev *); + void (*shutdown)(struct pci_dev *); + int (*sriov_configure)(struct pci_dev *, int); + int (*sriov_set_msix_vec_count)(struct pci_dev *, int); + u32 (*sriov_get_vf_total_msix)(struct pci_dev *); + const struct pci_error_handlers *err_handler; + const struct attribute_group **groups; + const struct attribute_group **dev_groups; + struct device_driver driver; + struct pci_dynids dynids; + bool driver_managed_dma; +}; + +struct pci_error_handlers { + pci_ers_result_t (*error_detected)(struct pci_dev *, pci_channel_state_t); + pci_ers_result_t (*mmio_enabled)(struct pci_dev *); + pci_ers_result_t (*slot_reset)(struct pci_dev *); + void (*reset_prepare)(struct pci_dev *); + void (*reset_done)(struct pci_dev *); + void (*resume)(struct pci_dev *); + void (*cor_error_detected)(struct pci_dev *); +}; + +struct pci_ops { + int (*add_bus)(struct pci_bus *); + void (*remove_bus)(struct pci_bus *); + void * (*map_bus)(struct pci_bus *, unsigned int, int); + int (*read)(struct pci_bus *, unsigned int, int, int, u32 *); + int (*write)(struct pci_bus *, unsigned int, int, int, u32); +}; + struct pci_p2pdma_map_state { struct dev_pagemap *pgmap; int map; u64 bus_off; }; +struct hotplug_slot; + +struct pci_slot { + struct pci_bus *bus; + struct list_head list; + struct hotplug_slot *hotplug; + unsigned char number; + struct kobject kobj; +}; + struct pcpu_group_info { int nr_units; long unsigned int base_offset; @@ -30721,6 +34069,18 @@ struct pcpu_chunk { long unsigned int populated[0]; }; +struct pcpu_dstats { + u64_stats_t rx_packets; + u64_stats_t rx_bytes; + u64_stats_t tx_packets; + u64_stats_t tx_bytes; + u64_stats_t rx_drops; + u64_stats_t tx_drops; + struct u64_stats_sync syncp; + long: 64; + long: 64; +}; + struct pcpu_gen_cookie { local_t nesting; u64 last; @@ -30744,29 +34104,27 @@ struct pdev_archdata {}; struct per_cpu_nodestat { s8 stat_threshold; - s8 vm_node_stat_diff[40]; + s8 vm_node_stat_diff[43]; }; struct per_cpu_pages { spinlock_t lock; int count; int high; + int high_min; + int high_max; int batch; - short int free_factor; + u8 flags; + u8 alloc_factor; + short int free_count; struct list_head lists[12]; }; struct per_cpu_zonestat {}; -struct swap_cluster_info { - spinlock_t lock; - unsigned int data: 24; - unsigned int flags: 8; -}; - struct percpu_cluster { - struct swap_cluster_info index; - unsigned int next; + local_lock_t lock; + unsigned int next[1]; }; struct percpu_free_defer { @@ -30897,6 +34255,7 @@ struct perf_buffer { atomic_t mmap_count; long unsigned int mmap_locked; struct user_struct *mmap_user; + struct mutex aux_mutex; long int aux_head; unsigned int aux_nest; long int aux_wakeup; @@ -30908,6 +34267,7 @@ struct perf_buffer { void (*free_aux)(void *); refcount_t aux_refcount; int aux_in_sampling; + int aux_in_pause_resume; void **aux_pages; void *aux_priv; struct perf_event_mmap_page *user_page; @@ -30967,7 +34327,7 @@ struct perf_event_context { u64 generation; int pin_count; struct callback_head callback_head; - local_t nr_pending; + local_t nr_no_switch_fast; }; struct perf_cpu_context { @@ -30987,6 +34347,8 @@ struct perf_event_pmu_context { struct list_head flexible_active; unsigned int embedded: 1; unsigned int nr_events; + unsigned int nr_cgroups; + unsigned int nr_freq; atomic_t refcount; struct callback_head callback_head; void *task_ctx_data; @@ -31080,7 +34442,15 @@ struct perf_event_attr { __u16 sample_max_stack; __u16 __reserved_2; __u32 aux_sample_size; - __u32 __reserved_3; + union { + __u32 aux_action; + struct { + __u32 aux_start_paused: 1; + __u32 aux_pause: 1; + __u32 aux_resume: 1; + __u32 __reserved_3: 29; + }; + }; __u64 sig_data; __u64 config3; }; @@ -31138,11 +34508,12 @@ struct perf_event { unsigned int pending_wakeup; unsigned int pending_kill; unsigned int pending_disable; - unsigned int pending_sigtrap; long unsigned int pending_addr; struct irq_work pending_irq; + struct irq_work pending_disable_irq; struct callback_head pending_task; unsigned int pending_work; + struct rcuwait pending_work_wait; atomic_t event_limit; struct perf_addr_filters_head addr_filters; struct perf_addr_filter_range *addr_filter_ranges; @@ -31153,10 +34524,9 @@ struct perf_event { struct pid_namespace *ns; u64 id; atomic64_t lost_samples; - u64 (*clock)(); + u64 (*clock)(void); perf_overflow_handler_t overflow_handler; void *overflow_handler_context; - perf_overflow_handler_t orig_overflow_handler; struct bpf_prog *prog; u64 bpf_cookie; struct trace_event_call *tp_event; @@ -31166,6 +34536,13 @@ struct perf_event { __u32 orig_type; }; +struct perf_event_min_heap { + size_t nr; + size_t size; + struct perf_event **data; + struct perf_event *preallocated[0]; +}; + struct perf_event_mmap_page { __u32 version; __u32 compat_version; @@ -31351,8 +34728,9 @@ struct pernet_operations { void (*pre_exit)(struct net *); void (*exit)(struct net *); void (*exit_batch)(struct list_head *); - unsigned int *id; - size_t size; + void (*exit_batch_rtnl)(struct list_head *, struct list_head *); + unsigned int * const id; + const size_t size; }; struct skb_array { @@ -31367,11 +34745,13 @@ struct zone { long unsigned int _watermark[4]; long unsigned int watermark_boost; long unsigned int nr_reserved_highatomic; + long unsigned int nr_free_highatomic; long int lowmem_reserve[3]; struct pglist_data *zone_pgdat; struct per_cpu_pages *per_cpu_pageset; struct per_cpu_zonestat *per_cpu_zonestats; - int pageset_high; + int pageset_high_min; + int pageset_high_max; int pageset_batch; long unsigned int *pageblock_flags; long unsigned int zone_start_pfn; @@ -31420,7 +34800,7 @@ struct pglist_data { struct lruvec __lruvec; long unsigned int flags; struct per_cpu_nodestat *per_cpu_nodestats; - atomic_long_t vm_stat[40]; + atomic_long_t vm_stat[43]; }; struct phc_vclocks_reply_data { @@ -31443,8 +34823,9 @@ struct phy_driver; struct phy_device { struct mdio_device mdio; - struct phy_driver *drv; + const struct phy_driver *drv; struct device_link *devlink; + u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned int is_c45: 1; @@ -31466,10 +34847,12 @@ struct phy_device { unsigned int interrupts: 1; unsigned int irq_suspended: 1; unsigned int irq_rerun: 1; + unsigned int default_timestamp: 1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; + long unsigned int possible_interfaces[1]; int speed; int duplex; int port; @@ -31484,9 +34867,11 @@ struct phy_device { long unsigned int adv_old[2]; long unsigned int supported_eee[2]; long unsigned int advertising_eee[2]; - bool eee_enabled; + long unsigned int eee_broken_modes[2]; + bool enable_tx_lpi; + bool eee_active; + struct eee_config eee_cfg; long unsigned int host_interfaces[1]; - u32 eee_broken_modes; struct list_head leds; int irq; void *priv; @@ -31510,6 +34895,16 @@ struct phy_device { void (*adjust_link)(struct net_device *); }; +struct phy_device_node { + enum phy_upstream upstream_type; + union { + struct net_device *netdev; + struct phy_device *phydev; + } upstream; + struct sfp_bus *parent_sfp_bus; + struct phy_device *phy; +}; + struct phy_driver { struct mdio_driver_common mdiodrv; u32 phy_id; @@ -31522,6 +34917,8 @@ struct phy_driver { int (*config_init)(struct phy_device *); int (*probe)(struct phy_device *); int (*get_features)(struct phy_device *); + unsigned int (*inband_caps)(struct phy_device *, phy_interface_t); + int (*config_inband)(struct phy_device *, unsigned int); int (*get_rate_matching)(struct phy_device *, phy_interface_t); int (*suspend)(struct phy_device *); int (*resume)(struct phy_device *); @@ -31544,6 +34941,9 @@ struct phy_driver { int (*cable_test_start)(struct phy_device *); int (*cable_test_tdr_start)(struct phy_device *, const struct phy_tdr_config *); int (*cable_test_get_status)(struct phy_device *, bool *); + void (*get_phy_stats)(struct phy_device *, struct ethtool_eth_phy_stats *, struct ethtool_phy_stats *); + void (*get_link_stats)(struct phy_device *, struct ethtool_link_ext_stats *); + int (*update_stats)(struct phy_device *); int (*get_sset_count)(struct phy_device *); void (*get_strings)(struct phy_device *, u8 *); void (*get_stats)(struct phy_device *, struct ethtool_stats *, u64 *); @@ -31560,10 +34960,17 @@ struct phy_driver { int (*led_hw_is_supported)(struct phy_device *, u8, long unsigned int); int (*led_hw_control_set)(struct phy_device *, u8, long unsigned int); int (*led_hw_control_get)(struct phy_device *, u8, long unsigned int *); + int (*led_polarity_set)(struct phy_device *, int, long unsigned int); +}; + +struct phy_link_topology { + struct xarray phys; + u32 next_phy_index; }; struct phy_package_shared { - int addr; + u8 base_addr; + struct device_node *np; refcount_t refcnt; long unsigned int flags; size_t priv_size; @@ -31584,6 +34991,11 @@ struct phy_plca_status { bool pst; }; +struct phy_req_info { + struct ethnl_req_info base; + struct phy_device_node *pdn; +}; + struct phy_tdr_config { u32 first; u32 last; @@ -31600,6 +35012,9 @@ struct pid { refcount_t count; unsigned int level; spinlock_t lock; + struct dentry *stashed; + u64 ino; + struct rb_node pidfs_node; struct hlist_head tasks[4]; struct hlist_head inodes; wait_queue_head_t wait_pidfd; @@ -31614,14 +35029,31 @@ struct pid_namespace { struct task_struct *child_reaper; struct kmem_cache *pid_cachep; unsigned int level; + int pid_max; struct pid_namespace *parent; struct user_namespace *user_ns; struct ucounts *ucounts; int reboot; struct ns_common ns; + struct work_struct work; }; -struct pin_cookie {}; +struct pidfd_info { + __u64 mask; + __u64 cgroupid; + __u32 pid; + __u32 tgid; + __u32 ppid; + __u32 ruid; + __u32 rgid; + __u32 euid; + __u32 egid; + __u32 suid; + __u32 sgid; + __u32 fsuid; + __u32 fsgid; + __u32 spare0[1]; +}; struct ping_table { struct hlist_head hash[64]; @@ -31662,12 +35094,25 @@ struct pipe_buffer { long unsigned int private; }; +union pipe_index { + long unsigned int head_tail; + struct { + pipe_index_t head; + pipe_index_t tail; + }; +}; + struct pipe_inode_info { struct mutex mutex; wait_queue_head_t rd_wait; wait_queue_head_t wr_wait; - unsigned int head; - unsigned int tail; + union { + long unsigned int head_tail; + struct { + pipe_index_t head; + pipe_index_t tail; + }; + }; unsigned int max_usage; unsigned int ring_size; unsigned int nr_accounted; @@ -31684,6 +35129,11 @@ struct pipe_inode_info { struct user_struct *user; }; +struct pipe_wait { + struct trace_iterator *iter; + int wait_index; +}; + struct mfd_cell; struct platform_device_id; @@ -31726,8 +35176,7 @@ struct platform_device_info { struct platform_driver { int (*probe)(struct platform_device *); - int (*remove)(struct platform_device *); - void (*remove_new)(struct platform_device *); + void (*remove)(struct platform_device *); void (*shutdown)(struct platform_device *); int (*suspend)(struct platform_device *, pm_message_t); int (*resume)(struct platform_device *); @@ -31760,18 +35209,15 @@ struct plic_handler { }; struct plic_priv { + struct fwnode_handle *fwnode; struct cpumask lmask; struct irq_domain *irqdomain; void *regs; long unsigned int plic_quirks; unsigned int nr_irqs; long unsigned int *prio_save; -}; - -struct plt_entry { - u32 insn_auipc; - u32 insn_ld; - u32 insn_jr; + u32 gsi_base; + int acpi_plic_id; }; struct pm_clk_notifier_block { @@ -31795,6 +35241,7 @@ struct pmu { const char *name; int type; int capabilities; + unsigned int scope; int *pmu_disable_count; struct perf_cpu_pmu_context *cpu_pmu_context; atomic_t exclusive_cnt; @@ -31851,10 +35298,23 @@ struct pollfd { struct poll_list { struct poll_list *next; - int len; + unsigned int len; struct pollfd entries[0]; }; +struct wait_queue_entry; + +typedef int (*wait_queue_func_t)(struct wait_queue_entry *, unsigned int, int, void *); + +struct wait_queue_entry { + unsigned int flags; + void *private; + wait_queue_func_t func; + struct list_head entry; +}; + +typedef struct wait_queue_entry wait_queue_entry_t; + struct poll_table_entry { struct file *filp; __poll_t key; @@ -31896,9 +35356,10 @@ struct pool_workqueue { int flush_color; int refcnt; int nr_in_flight[16]; + bool plugged; int nr_active; - int max_active; struct list_head inactive_works; + struct list_head pending_node; struct list_head pwqs_node; struct list_head mayday_node; u64 stats[8]; @@ -31932,8 +35393,6 @@ struct pool_workqueue { long: 64; long: 64; long: 64; - long: 64; - long: 64; }; struct port_identity { @@ -31952,8 +35411,8 @@ struct posix_acl_entry { struct posix_acl { refcount_t a_refcount; - struct callback_head a_rcu; unsigned int a_count; + struct callback_head a_rcu; struct posix_acl_entry a_entries[0]; }; @@ -32014,9 +35473,16 @@ struct prefix_info { __u8 type; __u8 length; __u8 prefix_len; - __u8 reserved: 6; - __u8 autoconf: 1; - __u8 onlink: 1; + union { + __u8 flags; + struct { + __u8 reserved: 4; + __u8 preferpd: 1; + __u8 routeraddr: 1; + __u8 autoconf: 1; + __u8 onlink: 1; + }; + }; __be32 valid; __be32 prefered; __be32 reserved2; @@ -32052,11 +35518,10 @@ struct print_entry { }; struct printf_spec { - unsigned int type: 8; - int field_width: 24; - unsigned int flags: 8; - unsigned int base: 8; - int precision: 16; + unsigned char flags; + unsigned char base; + short int precision; + int field_width; }; struct printk_buffers { @@ -32064,30 +35529,6 @@ struct printk_buffers { char scratchbuf[0]; }; -struct printk_info { - u64 seq; - u64 ts_nsec; - u16 text_len; - u8 facility; - u8 flags: 5; - u8 level: 3; - u32 caller_id; - struct dev_printk_info dev_info; -}; - -struct printk_message { - struct printk_buffers *pbufs; - unsigned int outbuf_len; - u64 seq; - long unsigned int dropped; -}; - -struct printk_record { - struct printk_info *info; - char *text_buf; - unsigned int text_buf_size; -}; - struct privflags_reply_data { struct ethnl_reply_data base; const char (*priv_flag_names)[32]; @@ -32118,6 +35559,11 @@ struct probe_arg { const struct fetch_type *type; }; +struct probe_entry_arg { + struct fetch_insn *code; + unsigned int size; +}; + struct proc_ns_operations { const char *name; const char *real_ns_name; @@ -32202,6 +35648,8 @@ struct property_entry { struct smc_hashinfo; +struct proto_accept_arg; + struct sk_psock; struct timewait_sock_ops; @@ -32213,7 +35661,7 @@ struct proto { int (*pre_connect)(struct sock *, struct sockaddr *, int); int (*connect)(struct sock *, struct sockaddr *, int); int (*disconnect)(struct sock *, int); - struct sock * (*accept)(struct sock *, int, int *, bool); + struct sock * (*accept)(struct sock *, struct proto_accept_arg *); int (*ioctl)(struct sock *, int, int *); int (*init)(struct sock *); void (*destroy)(struct sock *); @@ -32271,6 +35719,13 @@ struct proto { int (*diag_destroy)(struct sock *, int); }; +struct proto_accept_arg { + int flags; + int err; + int is_empty; + bool kern; +}; + typedef int (*sk_read_actor_t)(read_descriptor_t *, struct sk_buff *, unsigned int, size_t); typedef int (*skb_read_actor_t)(struct sock *, struct sk_buff *); @@ -32282,7 +35737,7 @@ struct proto_ops { int (*bind)(struct socket *, struct sockaddr *, int); int (*connect)(struct socket *, struct sockaddr *, int, int); int (*socketpair)(struct socket *, struct socket *); - int (*accept)(struct socket *, struct socket *, int, bool); + int (*accept)(struct socket *, struct socket *, struct proto_accept_arg *); int (*getname)(struct socket *, struct sockaddr *, int); __poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *); int (*ioctl)(struct socket *, unsigned int, long unsigned int); @@ -32321,17 +35776,13 @@ struct psched_ratecfg { }; struct pse_control_config { - enum ethtool_podl_pse_admin_state admin_cotrol; -}; - -struct pse_control_status { - enum ethtool_podl_pse_admin_state podl_admin_state; - enum ethtool_podl_pse_pw_d_status podl_pw_status; + enum ethtool_podl_pse_admin_state podl_admin_control; + enum ethtool_c33_pse_admin_state c33_admin_control; }; struct pse_reply_data { struct ethnl_reply_data base; - struct pse_control_status status; + struct ethtool_pse_control_status status; }; struct super_operations; @@ -32340,7 +35791,8 @@ struct xattr_handler; struct pseudo_fs_context { const struct super_operations *ops; - const struct xattr_handler **xattr; + const struct export_operations *eops; + const struct xattr_handler * const *xattr; const struct dentry_operations *dops; long unsigned int magic; }; @@ -32373,6 +35825,7 @@ struct ptdesc { }; long unsigned int __page_mapping; union { + long unsigned int pt_index; struct mm_struct *pt_mm; atomic_t pt_frag_refcount; }; @@ -32381,7 +35834,7 @@ struct ptdesc { spinlock_t ptl; }; unsigned int __page_type; - atomic_t _refcount; + atomic_t __page_refcount; }; struct ptp_header { @@ -32510,7 +35963,8 @@ struct qdisc_walker { }; struct queue_limits { - enum blk_bounce bounce; + blk_features_t features; + blk_flags_t flags; long unsigned int seg_boundary_mask; long unsigned int virt_boundary_mask; unsigned int max_hw_sectors; @@ -32519,6 +35973,7 @@ struct queue_limits { unsigned int max_sectors; unsigned int max_user_sectors; unsigned int max_segment_size; + unsigned int min_segment_size; unsigned int physical_block_size; unsigned int logical_block_size; unsigned int alignment_offset; @@ -32526,20 +35981,30 @@ struct queue_limits { unsigned int io_opt; unsigned int max_discard_sectors; unsigned int max_hw_discard_sectors; + unsigned int max_user_discard_sectors; unsigned int max_secure_erase_sectors; unsigned int max_write_zeroes_sectors; + unsigned int max_hw_zone_append_sectors; unsigned int max_zone_append_sectors; unsigned int discard_granularity; unsigned int discard_alignment; unsigned int zone_write_granularity; + unsigned int atomic_write_hw_max; + unsigned int atomic_write_max_sectors; + unsigned int atomic_write_hw_boundary; + unsigned int atomic_write_boundary_sectors; + unsigned int atomic_write_hw_unit_min; + unsigned int atomic_write_unit_min; + unsigned int atomic_write_hw_unit_max; + unsigned int atomic_write_unit_max; short unsigned int max_segments; short unsigned int max_integrity_segments; short unsigned int max_discard_segments; - unsigned char misaligned; - unsigned char discard_misaligned; - unsigned char raid_partial_stripes_expensive; - enum blk_zoned_model zoned; + unsigned int max_open_zones; + unsigned int max_active_zones; unsigned int dma_alignment; + unsigned int dma_pad_mask; + struct blk_integrity integrity; }; struct quota_format_ops { @@ -32611,6 +36076,14 @@ struct ramfs_fs_info { struct ramfs_mount_opts mount_opts; }; +struct range_node { + struct rb_node rn_rbnode; + struct rb_node rb_range_size; + u32 rn_start; + u32 rn_last; + u32 __rn_subtree_last; +}; + struct rate_sample { u64 prior_mstamp; u32 prior_delivered; @@ -32636,8 +36109,8 @@ struct ratelimit_state { int burst; int printed; int missed; + unsigned int flags; long unsigned int begin; - long unsigned int flags; }; struct raw6_frag_vec { @@ -32701,18 +36174,29 @@ struct rb_irq_work { struct irq_work work; wait_queue_head_t waiters; wait_queue_head_t full_waiters; - long int wait_index; + atomic_t seq; bool waiters_pending; bool full_waiters_pending; bool wakeup_full; }; +struct rb_list { + struct rb_root root; + struct list_head head; + spinlock_t lock; +}; + struct rb_time_struct { local64_t time; }; typedef struct rb_time_struct rb_time_t; +struct rb_wait_data { + struct rb_irq_work *irq_work; + int seq; +}; + struct rcu_cblist { struct callback_head *head; struct callback_head **tail; @@ -32726,10 +36210,6 @@ struct rcu_ctrlblk { long unsigned int gp_seq; }; -struct rcu_gp_oldstate { - long unsigned int rgos_norm; -}; - struct rcu_segcblist { struct callback_head *head; struct callback_head **tails[4]; @@ -32795,7 +36275,9 @@ struct rcu_tasks { holdouts_func_t holdouts_func; postgp_func_t postgp_func; call_rcu_func_t call_func; + unsigned int wait_state; struct rcu_tasks_percpu *rtpcpu; + struct rcu_tasks_percpu **rtpcp_array; int percpu_enqueue_shift; int percpu_enqueue_lim; int percpu_dequeue_lim; @@ -32804,6 +36286,7 @@ struct rcu_tasks { atomic_t barrier_q_count; struct completion barrier_q_completion; long unsigned int barrier_q_seq; + long unsigned int barrier_q_start; char *name; char *kname; }; @@ -32819,7 +36302,9 @@ struct rcu_tasks_percpu { struct irq_work rtp_irq_work; struct callback_head barrier_q_head; struct list_head rtp_blkd_tasks; + struct list_head rtp_exit_list; int cpu; + int index; struct rcu_tasks *rtpp; }; @@ -32837,6 +36322,7 @@ struct readahead_control { long unsigned int _index; unsigned int _nr_pages; unsigned int _batch_count; + bool dropbehind; bool _workingset; long unsigned int _pflags; }; @@ -32859,12 +36345,19 @@ struct reclaim_stat { unsigned int nr_ref_keep; unsigned int nr_unmap_fail; unsigned int nr_lazyfree_fail; + unsigned int nr_demoted; }; struct reclaim_state { long unsigned int reclaimed; }; +union reg_data { + u8 data_bytes[8]; + ulong data_ulong; + u64 data_u64; +}; + typedef int (*regex_match_func)(char *, struct regex *, int); struct regex { @@ -32888,6 +36381,23 @@ struct region_devres { resource_size_t n; }; +struct relocation_entry { + struct list_head head; + Elf64_Addr value; + unsigned int type; +}; + +struct relocation_handlers { + int (*reloc_handler)(struct module *, void *, Elf64_Addr); + int (*accumulate_handler)(struct module *, void *, long int); +}; + +struct relocation_head { + struct hlist_node node; + struct list_head rel_entry; + void *location; +}; + typedef int (*remote_function_f)(void *); struct remote_function_call { @@ -32915,14 +36425,14 @@ struct renamedata { struct elevator_queue; -struct blk_queue_stats; - -struct rq_qos; - struct blk_mq_ops; struct blk_mq_ctx; +struct blk_queue_stats; + +struct rq_qos; + struct blk_mq_tags; struct blk_flush_queue; @@ -32930,57 +36440,58 @@ struct blk_flush_queue; struct blk_mq_tag_set; struct request_queue { - struct request *last_merge; + void *queuedata; struct elevator_queue *elevator; - struct percpu_ref q_usage_counter; - struct blk_queue_stats *stats; - struct rq_qos *rq_qos; - struct mutex rq_qos_mutex; const struct blk_mq_ops *mq_ops; struct blk_mq_ctx *queue_ctx; + long unsigned int queue_flags; + unsigned int rq_timeout; unsigned int queue_depth; - struct xarray hctx_table; + refcount_t refs; unsigned int nr_hw_queues; - void *queuedata; - long unsigned int queue_flags; - atomic_t pm_only; - int id; + struct xarray hctx_table; + struct percpu_ref q_usage_counter; + struct lock_class_key io_lock_cls_key; + struct lockdep_map io_lockdep_map; + struct lock_class_key q_lock_cls_key; + struct lockdep_map q_lockdep_map; + struct request *last_merge; spinlock_t queue_lock; + int quiesce_depth; struct gendisk *disk; - refcount_t refs; struct kobject *mq_kobj; + struct queue_limits limits; + atomic_t pm_only; + struct blk_queue_stats *stats; + struct rq_qos *rq_qos; + struct mutex rq_qos_mutex; + int id; long unsigned int nr_requests; - unsigned int dma_pad_mask; - unsigned int rq_timeout; struct timer_list timeout; struct work_struct timeout_work; atomic_t nr_active_requests_shared_tags; struct blk_mq_tags *sched_shared_tags; struct list_head icq_list; - struct queue_limits limits; - unsigned int required_elevator_features; int node; - struct blk_flush_queue *fq; - struct list_head flush_list; - struct list_head requeue_list; spinlock_t requeue_lock; + struct list_head requeue_list; struct delayed_work requeue_work; + struct blk_flush_queue *fq; + struct list_head flush_list; struct mutex sysfs_lock; - struct mutex sysfs_dir_lock; + struct mutex limits_lock; struct list_head unused_hctx_list; spinlock_t unused_hctx_lock; int mq_freeze_depth; struct callback_head callback_head; wait_queue_head_t mq_freeze_wq; struct mutex mq_freeze_lock; - int quiesce_depth; struct blk_mq_tag_set *tag_set; struct list_head tag_set_list; struct dentry *debugfs_dir; struct dentry *sched_debugfs_dir; struct dentry *rqos_debugfs_dir; struct mutex debugfs_mutex; - bool mq_sysfs_init_done; }; struct request_sock__safe_rcu_or_null { @@ -32994,17 +36505,22 @@ struct request_sock_ops { char *slab_name; int (*rtx_syn_ack)(const struct sock *, struct request_sock *); void (*send_ack)(const struct sock *, struct sk_buff *, struct request_sock *); - void (*send_reset)(const struct sock *, struct sk_buff *); + void (*send_reset)(const struct sock *, struct sk_buff *, enum sk_rst_reason); void (*destructor)(struct request_sock *); void (*syn_ack_timeout)(const struct request_sock *); }; +struct reserve_mem_table { + char name[16]; + phys_addr_t start; + phys_addr_t size; +}; + struct reserved_mem_ops; struct reserved_mem { const char *name; long unsigned int fdt_node; - long unsigned int phandle; const struct reserved_mem_ops *ops; phys_addr_t base; phys_addr_t size; @@ -33016,11 +36532,13 @@ struct reserved_mem_ops { void (*device_release)(struct reserved_mem *, struct device *); }; +typedef resource_size_t (*resource_alignf)(void *, const struct resource *, resource_size_t, resource_size_t); + struct resource_constraint { resource_size_t min; resource_size_t max; resource_size_t align; - resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t); + resource_alignf alignf; void *alignf_data; }; @@ -33062,23 +36580,38 @@ struct restart_block { }; }; -typedef void (*rethook_handler_t)(struct rethook_node *, void *, long unsigned int, struct pt_regs *); - struct rethook { void *data; - rethook_handler_t handler; - struct freelist_head pool; - refcount_t ref; + void (*handler)(struct rethook_node *, void *, long unsigned int, struct pt_regs *); + struct objpool_head pool; struct callback_head rcu; }; +struct return_address_data { + unsigned int level; + void *addr; +}; + +struct return_consumer { + __u64 cookie; + __u64 id; +}; + struct return_instance { - struct uprobe *uprobe; + struct hprobe hprobe; long unsigned int func; long unsigned int stack; long unsigned int orig_ret_vaddr; bool chained; + int cons_cnt; struct return_instance *next; + struct callback_head rcu; + struct return_consumer consumer; + struct return_consumer *extra_consumers; + long: 64; + long: 64; + long: 64; + long: 64; }; struct reuseport_array { @@ -33138,10 +36671,24 @@ struct ring_buffer_iter { u64 read_stamp; u64 page_stamp; struct ring_buffer_event *event; + size_t event_size; int missed_events; }; -struct trace_buffer; +struct ring_buffer_meta { + int magic; + int struct_size; + long unsigned int text_addr; + long unsigned int data_addr; + long unsigned int first_buffer; + long unsigned int head_buffer; + long unsigned int commit_buffer; + __u32 subbuf_size; + __u32 nr_subbufs; + int buffers[0]; +}; + +struct trace_buffer_meta; struct ring_buffer_per_cpu { int cpu; @@ -33155,6 +36702,7 @@ struct ring_buffer_per_cpu { long unsigned int nr_pages; unsigned int current_context; struct list_head *pages; + long unsigned int cnt; struct buffer_page *head_page; struct buffer_page *tail_page; struct buffer_page *commit_page; @@ -33181,6 +36729,12 @@ struct ring_buffer_per_cpu { u64 event_stamp[5]; u64 read_stamp; long unsigned int pages_removed; + unsigned int mapped; + unsigned int user_mapped; + struct mutex mapping_lock; + long unsigned int *subbuf_ids; + struct trace_buffer_meta *meta_page; + struct ring_buffer_meta *ring_meta; long int nr_pages_to_update; struct list_head new_pages; struct work_struct update_pages_work; @@ -33219,12 +36773,27 @@ struct riscv_isa_ext_data { const unsigned int id; const char *name; const char *property; + const unsigned int *subset_ext_ids; + const unsigned int subset_ext_size; + int (*validate)(const struct riscv_isa_ext_data *, const long unsigned int *); }; -struct riscv_isainfo { +struct riscv_isavendorinfo { long unsigned int isa[1]; }; +struct riscv_isa_vendor_ext_data_list { + bool is_initialized; + const size_t ext_data_count; + const struct riscv_isa_ext_data *ext_data; + struct riscv_isavendorinfo per_hart_isa_bitmap[1]; + struct riscv_isavendorinfo all_harts_isa_bitmap; +}; + +struct riscv_isainfo { + long unsigned int isa[2]; +}; + struct riscv_pmu { struct pmu pmu; char *name; @@ -33246,6 +36815,12 @@ struct riscv_pmu { struct notifier_block riscv_pm_nb; }; +struct riscv_pmu_snapshot_data { + u64 ctr_overflow_mask; + u64 ctr_values[64]; + u64 reserved[447]; +}; + struct rlimit64 { __u64 rlim_cur; __u64 rlim_max; @@ -33257,7 +36832,7 @@ struct rmap_walk_control { bool contended; bool (*rmap_one)(struct folio *, struct vm_area_struct *, long unsigned int, void *); int (*done)(struct folio *); - struct anon_vma * (*anon_lock)(struct folio *, struct rmap_walk_control *); + struct anon_vma * (*anon_lock)(const struct folio *, struct rmap_walk_control *); bool (*invalid_vma)(struct vm_area_struct *, void *); }; @@ -33289,10 +36864,38 @@ struct rt_rq { unsigned int rt_nr_running; unsigned int rr_nr_running; int rt_queued; - int rt_throttled; - u64 rt_time; - u64 rt_runtime; - raw_spinlock_t rt_runtime_lock; +}; + +struct sched_dl_entity; + +typedef bool (*dl_server_has_tasks_f)(struct sched_dl_entity *); + +typedef struct task_struct * (*dl_server_pick_f)(struct sched_dl_entity *); + +struct sched_dl_entity { + struct rb_node rb_node; + u64 dl_runtime; + u64 dl_deadline; + u64 dl_period; + u64 dl_bw; + u64 dl_density; + s64 runtime; + u64 deadline; + unsigned int flags; + unsigned int dl_throttled: 1; + unsigned int dl_yielded: 1; + unsigned int dl_non_contending: 1; + unsigned int dl_overrun: 1; + unsigned int dl_server: 1; + unsigned int dl_server_active: 1; + unsigned int dl_defer: 1; + unsigned int dl_defer_armed: 1; + unsigned int dl_defer_running: 1; + struct hrtimer dl_timer; + struct hrtimer inactive_timer; + struct rq *rq; + dl_server_has_tasks_f server_has_tasks; + dl_server_pick_f server_pick_task; }; struct rq { @@ -33302,8 +36905,13 @@ struct rq { struct cfs_rq cfs; struct rt_rq rt; struct dl_rq dl; + struct sched_dl_entity fair_server; unsigned int nr_uninterruptible; - struct task_struct *curr; + union { + struct task_struct *donor; + struct task_struct *curr; + }; + struct sched_dl_entity *dl_server; struct task_struct *idle; struct task_struct *stop; long unsigned int next_balance; @@ -33312,6 +36920,10 @@ struct rq { u64 clock; long: 64; long: 64; + long: 64; + long: 64; + long: 64; + long: 64; u64 clock_task; u64 clock_pelt; long unsigned int lost_idle_time; @@ -33325,21 +36937,25 @@ struct rq { cpumask_var_t scratch_mask; }; -struct rq_flags { - long unsigned int flags; - struct pin_cookie cookie; -}; - struct rs_msg { struct icmp6hdr icmph; __u8 opt[0]; }; +struct rss_nl_dump_ctx { + long unsigned int ifindex; + long unsigned int ctx_idx; + unsigned int match_ifindex; + unsigned int start_ctx; +}; + struct rss_reply_data { struct ethnl_reply_data base; + bool no_key_fields; u32 indir_size; u32 hkey_size; u32 hfunc; + u32 input_xfrm; u32 *indir_table; u8 *hkey; }; @@ -33407,14 +37023,6 @@ struct rt6_statistics { atomic_t fib_rt_alloc; }; -struct rt_bandwidth { - raw_spinlock_t rt_runtime_lock; - ktime_t rt_period; - u64 rt_runtime; - struct hrtimer rt_period_timer; - unsigned int rt_period_active; -}; - struct rt_cache_stat { unsigned int in_slow_tot; unsigned int in_slow_mc; @@ -33566,6 +37174,7 @@ struct rtnexthop { struct rtnl_af_ops { struct list_head list; + struct srcu_struct srcu; int family; int (*fill_link_af)(struct sk_buff *, const struct net_device *, u32); size_t (*get_link_af_size)(const struct net_device *, u32); @@ -33598,11 +37207,13 @@ struct rtnl_link_ifmap { struct rtnl_link_ops { struct list_head list; + struct srcu_struct srcu; const char *kind; size_t priv_size; struct net_device * (*alloc)(struct nlattr **, const char *, unsigned char, unsigned int, unsigned int); void (*setup)(struct net_device *); bool netns_refund; + const u16 peer_type; unsigned int maxtype; const struct nla_policy *policy; int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *); @@ -33613,8 +37224,8 @@ struct rtnl_link_ops { int (*fill_info)(struct sk_buff *, const struct net_device *); size_t (*get_xstats_size)(const struct net_device *); int (*fill_xstats)(struct sk_buff *, const struct net_device *); - unsigned int (*get_num_tx_queues)(); - unsigned int (*get_num_rx_queues)(); + unsigned int (*get_num_tx_queues)(void); + unsigned int (*get_num_rx_queues)(void); unsigned int slave_maxtype; const struct nla_policy *slave_policy; int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *); @@ -33684,6 +37295,15 @@ struct rtnl_mdb_dump_ctx { long int idx; }; +struct rtnl_msg_handler { + struct module *owner; + int protocol; + int msgtype; + rtnl_doit_func doit; + rtnl_dumpit_func dumpit; + int flags; +}; + struct rtnl_net_dump_cb { struct net *tgt_net; struct net *ref_net; @@ -33693,8 +37313,14 @@ struct rtnl_net_dump_cb { int s_idx; }; +struct rtnl_nets { + struct net *net[3]; + unsigned char len; +}; + struct rtnl_newlink_tbs { - struct nlattr *tb[65]; + struct nlattr *tb[67]; + struct nlattr *linkinfo[6]; struct nlattr *attr[51]; struct nlattr *slave_attr[45]; }; @@ -33743,6 +37369,8 @@ struct rv_jit_context { int nexentries; long unsigned int flags; int stack_size; + u64 arena_vm_start; + u64 user_vm_start; }; struct rv_jit_data { @@ -33753,6 +37381,8 @@ struct rv_jit_data { struct rv_jit_context ctx; }; +typedef struct rw_semaphore *class_rwsem_read_t; + struct rwsem_waiter { struct list_head list; struct task_struct *task; @@ -33762,11 +37392,11 @@ struct rwsem_waiter { }; struct saved_cmdlines_buffer { - unsigned int map_pid_to_cmdline[4097]; + unsigned int map_pid_to_cmdline[32769]; unsigned int *map_cmdline_to_pid; unsigned int cmdline_num; int cmdline_idx; - char *saved_cmdlines; + char saved_cmdlines[0]; }; struct saved_syn { @@ -33778,7 +37408,8 @@ struct saved_syn { struct sb_writers { short unsigned int frozen; - short unsigned int freeze_holders; + int freeze_kcount; + int freeze_ucount; struct percpu_rw_semaphore rw_sem[3]; }; @@ -33809,7 +37440,7 @@ struct sbiret { struct scale_freq_data { enum scale_freq_source source; - void (*set_freq_scale)(); + void (*set_freq_scale)(void); }; struct scan_control { @@ -33824,9 +37455,12 @@ struct scan_control { unsigned int may_writepage: 1; unsigned int may_unmap: 1; unsigned int may_swap: 1; + unsigned int no_cache_trim_mode: 1; + unsigned int cache_trim_mode_failed: 1; unsigned int proactive: 1; unsigned int memcg_low_reclaim: 1; unsigned int memcg_low_skipped: 1; + unsigned int memcg_full_walk: 1; unsigned int hibernation_mode: 1; unsigned int compaction_ready: 1; unsigned int cache_trim_mode: 1; @@ -33876,48 +37510,38 @@ struct sched_attr { struct sched_class { void (*enqueue_task)(struct rq *, struct task_struct *, int); - void (*dequeue_task)(struct rq *, struct task_struct *, int); + bool (*dequeue_task)(struct rq *, struct task_struct *, int); void (*yield_task)(struct rq *); bool (*yield_to_task)(struct rq *, struct task_struct *); - void (*check_preempt_curr)(struct rq *, struct task_struct *, int); - struct task_struct * (*pick_next_task)(struct rq *); - void (*put_prev_task)(struct rq *, struct task_struct *); + void (*wakeup_preempt)(struct rq *, struct task_struct *, int); + int (*balance)(struct rq *, struct task_struct *, struct rq_flags *); + struct task_struct * (*pick_task)(struct rq *); + struct task_struct * (*pick_next_task)(struct rq *, struct task_struct *); + void (*put_prev_task)(struct rq *, struct task_struct *, struct task_struct *); void (*set_next_task)(struct rq *, struct task_struct *, bool); void (*task_tick)(struct rq *, struct task_struct *, int); void (*task_fork)(struct task_struct *); void (*task_dead)(struct task_struct *); + void (*switching_to)(struct rq *, struct task_struct *); void (*switched_from)(struct rq *, struct task_struct *); void (*switched_to)(struct rq *, struct task_struct *); + void (*reweight_task)(struct rq *, struct task_struct *, const struct load_weight *); void (*prio_changed)(struct rq *, struct task_struct *, int); unsigned int (*get_rr_interval)(struct rq *, struct task_struct *); void (*update_curr)(struct rq *); }; -struct sched_dl_entity { - struct rb_node rb_node; - u64 dl_runtime; - u64 dl_deadline; - u64 dl_period; - u64 dl_bw; - u64 dl_density; - s64 runtime; - u64 deadline; - unsigned int flags; - unsigned int dl_throttled: 1; - unsigned int dl_yielded: 1; - unsigned int dl_non_contending: 1; - unsigned int dl_overrun: 1; - struct hrtimer dl_timer; - struct hrtimer inactive_timer; -}; - struct sched_entity { struct load_weight load; struct rb_node run_node; u64 deadline; - u64 min_deadline; + u64 min_vruntime; + u64 min_slice; struct list_head group_node; - unsigned int on_rq; + unsigned char on_rq; + unsigned char sched_delayed; + unsigned char rel_deadline; + unsigned char custom_slice; u64 exec_start; u64 sum_exec_runtime; u64 prev_sum_exec_runtime; @@ -33955,11 +37579,17 @@ struct scm_cookie { struct scm_fp_list { short int count; + short int count_unix; short int max; struct user_struct *user; struct file *fp[253]; }; +struct scm_stat { + atomic_t nr_fds; + long unsigned int nr_unix_fds; +}; + struct scm_timestamping { struct __kernel_old_timespec ts[3]; }; @@ -34024,6 +37654,7 @@ struct xfrm_offload { } seq; __u32 flags; __u32 status; + __u32 orig_mac_len; __u8 proto; __u8 inner_ipproto; }; @@ -34078,21 +37709,8 @@ struct send_signal_irq_work { struct task_struct *task; u32 sig; enum pid_type type; -}; - -struct seq_file { - char *buf; - size_t size; - size_t from; - size_t count; - size_t pad_until; - loff_t index; - loff_t read_pos; - struct mutex lock; - const struct seq_operations *op; - int poll_event; - const struct file *file; - void *private; + bool has_siginfo; + struct kernel_siginfo info; }; struct seq_operations { @@ -34102,6 +37720,12 @@ struct seq_operations { int (*show)(struct seq_file *, void *); }; +struct seqcount_rwlock { + seqcount_t seqcount; +}; + +typedef struct seqcount_rwlock seqcount_rwlock_t; + struct serial_icounter_struct { int cts; int dsr; @@ -34138,6 +37762,20 @@ struct serial_struct { long unsigned int iomap_base; }; +struct set_event_iter { + enum set_event_iter_type type; + union { + struct trace_event_file *file; + struct event_mod_load *event_mod; + }; +}; + +struct sg_table { + struct scatterlist *sgl; + unsigned int nents; + unsigned int orig_nents; +}; + struct sg_append_table { struct sg_table sgt; struct scatterlist *prv; @@ -34180,6 +37818,10 @@ struct shrinker { long int batch; int seeks; unsigned int flags; + refcount_t refcount; + struct completion done; + struct callback_head rcu; + void *private_data; struct list_head list; atomic_long_t *nr_deferred; }; @@ -34358,6 +38000,7 @@ struct sk_psock { struct mutex work_mutex; struct sk_psock_work_state work_state; struct delayed_work work; + struct sock *sk_pair; struct rcu_work rwork; }; @@ -34384,6 +38027,14 @@ struct skb_checksum_ops { __wsum (*combine)(__wsum, __wsum, int, int); }; +struct skb_frag { + netmem_ref netmem; + unsigned int len; + unsigned int offset; +}; + +typedef struct skb_frag skb_frag_t; + struct skb_free_array { unsigned int skb_count; void *skb_array[16]; @@ -34417,6 +38068,10 @@ struct skb_shared_hwtstamps { }; }; +struct xsk_tx_metadata_compl { + __u64 *tx_timestamp; +}; + struct skb_shared_info { __u8 flags; __u8 meta_len; @@ -34425,12 +38080,20 @@ struct skb_shared_info { short unsigned int gso_size; short unsigned int gso_segs; struct sk_buff *frag_list; - struct skb_shared_hwtstamps hwtstamps; + union { + struct skb_shared_hwtstamps hwtstamps; + struct xsk_tx_metadata_compl xsk_meta; + }; unsigned int gso_type; u32 tskey; atomic_t dataref; - unsigned int xdp_frags_size; - void *destructor_arg; + union { + struct { + u32 xdp_frags_size; + u32 xdp_frags_truesize; + }; + void *destructor_arg; + }; skb_frag_t frags[17]; }; @@ -34458,7 +38121,7 @@ struct slab { }; struct callback_head callback_head; }; - unsigned int __unused; + unsigned int __page_type; atomic_t __page_refcount; }; @@ -34487,13 +38150,24 @@ struct so_timestamping { int bind_phc; }; +struct sock_bh_locked { + struct sock *sock; + local_lock_t bh_lock; +}; + struct sock_diag_handler { + struct module *owner; __u8 family; int (*dump)(struct sk_buff *, struct nlmsghdr *); int (*get_info)(struct sk_buff *, struct sock *); int (*destroy)(struct sk_buff *, struct nlmsghdr *); }; +struct sock_diag_inet_compat { + struct module *owner; + int (*fn)(struct sk_buff *, struct nlmsghdr *); +}; + struct sock_diag_req { __u8 sdiag_family; __u8 sdiag_protocol; @@ -34589,6 +38263,11 @@ struct sockaddr_nl { __u32 nl_groups; }; +struct sockaddr_un { + __kernel_sa_family_t sun_family; + char sun_path[108]; +}; + struct socket_wq { wait_queue_head_t wait; struct fasync_struct *fasync_list; @@ -34606,7 +38285,7 @@ struct socket { struct socket_wq wq; }; -struct socket__safe_trusted { +struct socket__safe_trusted_or_null { struct sock *sk; }; @@ -34615,35 +38294,37 @@ struct socket_alloc { struct inode vfs_inode; }; +struct sockmap_link { + struct bpf_link link; + struct bpf_map *map; + enum bpf_attach_type attach_type; +}; + struct softirq_action { - void (*action)(struct softirq_action *); + void (*action)(void); }; struct softnet_data { struct list_head poll_list; struct sk_buff_head process_queue; + local_lock_t process_queue_bh_lock; unsigned int processed; unsigned int time_squeeze; + unsigned int received_rps; bool in_net_rx_action; bool in_napi_threaded_poll; struct Qdisc *output_queue; struct Qdisc **output_queue_tailp; struct sk_buff *completion_queue; - struct { - u16 recursion; - u8 more; - u8 skip_txqueue; - } xmit; - unsigned int received_rps; - unsigned int dropped; + struct netdev_xmit xmit; struct sk_buff_head input_pkt_queue; struct napi_struct backlog; + atomic_t dropped; spinlock_t defer_lock; int defer_count; int defer_ipi_scheduled; struct sk_buff *defer_list; long: 64; - long: 64; call_single_data_t defer_csd; }; @@ -34725,6 +38406,11 @@ struct stacktrace_cookie { unsigned int len; }; +struct stashed_operations { + void (*put_data)(void *); + int (*init_inode)(struct inode *, void *); +}; + struct stat { long unsigned int st_dev; long unsigned int st_ino; @@ -34821,12 +38507,14 @@ struct stats_reply_data { struct ethtool_eth_mac_stats mac_stats; struct ethtool_eth_ctrl_stats ctrl_stats; struct ethtool_rmon_stats rmon_stats; + struct ethtool_phy_stats phydev_stats; }; struct { struct ethtool_eth_phy_stats phy_stats; struct ethtool_eth_mac_stats mac_stats; struct ethtool_eth_ctrl_stats ctrl_stats; struct ethtool_rmon_stats rmon_stats; + struct ethtool_phy_stats phydev_stats; } stats; }; const struct ethtool_rmon_hist_range *rmon_ranges; @@ -34868,7 +38556,12 @@ struct statx { __u64 stx_mnt_id; __u32 stx_dio_mem_align; __u32 stx_dio_offset_align; - __u64 __spare3[12]; + __u64 stx_subvol; + __u32 stx_atomic_write_unit_min; + __u32 stx_atomic_write_unit_max; + __u32 stx_atomic_write_segments_max; + __u32 stx_dio_read_offset_align; + __u64 __spare3[9]; }; struct stop_event_data { @@ -34890,7 +38583,7 @@ struct strset_info { struct strset_reply_data { struct ethnl_reply_data base; - struct strset_info sets[21]; + struct strset_info sets[23]; }; struct strset_req_info { @@ -34919,7 +38612,7 @@ struct subsys_dev_iter { struct subsys_interface { const char *name; - struct bus_type *subsys; + const struct bus_type *subsys; struct list_head node; int (*add_dev)(struct device *, struct subsys_interface *); void (*remove_dev)(struct device *, struct subsys_interface *); @@ -34962,10 +38655,11 @@ struct super_block { struct rw_semaphore s_umount; int s_count; atomic_t s_active; - const struct xattr_handler **s_xattr; + const struct xattr_handler * const *s_xattr; struct hlist_bl_head s_roots; struct list_head s_mounts; struct block_device *s_bdev; + struct file *s_bdev_file; struct backing_dev_info *s_bdi; struct mtd_info *s_mtd; struct hlist_node s_instances; @@ -34978,13 +38672,14 @@ struct super_block { time64_t s_time_max; char s_id[32]; uuid_t s_uuid; + u8 s_uuid_len; + char s_sysfs_name[37]; unsigned int s_max_links; struct mutex s_vfs_rename_mutex; const char *s_subtype; const struct dentry_operations *s_d_op; - struct shrinker s_shrink; + struct shrinker *s_shrink; atomic_long_t s_remove_count; - atomic_long_t s_fsnotify_connectors; int s_readonly_remount; errseq_t s_wb_err; struct workqueue_struct *s_dio_done_wq; @@ -35030,8 +38725,9 @@ struct super_operations { struct supplier_bindings { struct device_node * (*parse_prop)(struct device_node *, const char *, int); + struct device_node * (*get_con_dev)(struct device_node *); bool optional; - bool node_not_dev; + u8 fwlink_flags; }; struct swait_queue { @@ -35039,9 +38735,12 @@ struct swait_queue { struct list_head task_list; }; -struct swap_cluster_list { - struct swap_cluster_info head; - struct swap_cluster_info tail; +struct swap_cluster_info { + spinlock_t lock; + u16 count; + u8 flags; + u8 order; + struct list_head list; }; struct swap_info_struct { @@ -35052,25 +38751,27 @@ struct swap_info_struct { signed char type; unsigned int max; unsigned char *swap_map; + long unsigned int *zeromap; struct swap_cluster_info *cluster_info; - struct swap_cluster_list free_clusters; - unsigned int lowest_bit; - unsigned int highest_bit; + struct list_head free_clusters; + struct list_head full_clusters; + struct list_head nonfull_clusters[1]; + struct list_head frag_clusters[1]; + atomic_long_t frag_cluster_nr[1]; unsigned int pages; - unsigned int inuse_pages; - unsigned int cluster_next; - unsigned int cluster_nr; - unsigned int *cluster_next_cpu; + atomic_long_t inuse_pages; struct percpu_cluster *percpu_cluster; + struct percpu_cluster *global_cluster; + spinlock_t global_cluster_lock; struct rb_root swap_extent_root; struct block_device *bdev; struct file *swap_file; - unsigned int old_block_size; struct completion comp; spinlock_t lock; spinlock_t cont_lock; struct work_struct discard_work; - struct swap_cluster_list discard_clusters; + struct work_struct reclaim_work; + struct list_head discard_clusters; struct plist_node avail_lists[0]; }; @@ -35083,7 +38784,6 @@ struct swevent_htable { struct swevent_hlist *swevent_hlist; struct mutex hlist_mutex; int hlist_refcount; - int recursion[4]; }; struct swnode { @@ -35107,7 +38807,7 @@ struct sym_count_ctx { struct symsearch { const struct kernel_symbol *start; const struct kernel_symbol *stop; - const s32 *crcs; + const u32 *crcs; enum mod_license license; }; @@ -35115,6 +38815,7 @@ struct sys_off_data { int mode; void *cb_data; const char *cmd; + struct device *dev; }; struct sys_off_handler { @@ -35124,6 +38825,7 @@ struct sys_off_handler { enum sys_off_mode mode; bool blocking; void *list; + struct device *dev; }; struct syscall_info { @@ -35140,9 +38842,9 @@ struct syscall_user_dispatch { struct syscore_ops { struct list_head node; - int (*suspend)(); - void (*resume)(); - void (*shutdown)(); + int (*suspend)(void); + void (*resume)(void); + void (*shutdown)(void); }; struct sysfs_ops { @@ -35169,7 +38871,8 @@ struct sysinfo { struct system_counterval_t { u64 cycles; - struct clocksource *cs; + enum clocksource_ids cs_id; + bool use_nsecs; }; struct system_device_crosststamp { @@ -35181,6 +38884,7 @@ struct system_device_crosststamp { struct system_time_snapshot { u64 cycles; ktime_t real; + ktime_t boot; ktime_t raw; enum clocksource_ids cs_id; unsigned int clock_was_set_seq; @@ -35191,6 +38895,7 @@ struct taint_flag { char c_true; char c_false; bool module; + const char *desc; }; struct task_cputime { @@ -35205,6 +38910,10 @@ struct task_cputime_atomic { atomic64_t sum_exec_runtime; }; +typedef struct task_struct *class_find_get_task_t; + +typedef struct task_struct *class_task_lock_t; + struct thread_info { long unsigned int flags; int preempt_count; @@ -35212,13 +38921,20 @@ struct thread_info { long int user_sp; int cpu; long unsigned int syscall_work; + long unsigned int a0; + long unsigned int a1; + long unsigned int a2; }; struct wake_q_node { struct wake_q_node *next; }; -struct tlbflush_unmap_batch {}; +struct tlbflush_unmap_batch { + struct arch_tlbflush_unmap_batch arch; + bool flush_required; + bool writable; +}; struct thread_struct { long unsigned int ra; @@ -35226,8 +38942,12 @@ struct thread_struct { long unsigned int s[12]; struct __riscv_d_ext_state fstate; long unsigned int bad_cause; - long unsigned int vstate_ctrl; + long unsigned int envcfg; + u32 riscv_v_flags; + u32 vstate_ctrl; struct __riscv_v_ext_state vstate; + long unsigned int align_ctl; + struct __riscv_v_ext_state kernel_vstate; }; struct uprobe_task; @@ -35235,6 +38955,7 @@ struct uprobe_task; struct task_struct { struct thread_info thread_info; unsigned int __state; + unsigned int saved_state; void *stack; refcount_t usage; unsigned int flags; @@ -35247,10 +38968,12 @@ struct task_struct { struct sched_entity se; struct sched_rt_entity rt; struct sched_dl_entity dl; + struct sched_dl_entity *dl_server; const struct sched_class *sched_class; long: 64; struct sched_statistics stats; unsigned int policy; + long unsigned int max_allowed_capacity; int nr_cpus_allowed; const cpumask_t *cpus_ptr; cpumask_t *user_cpus_ptr; @@ -35267,6 +38990,7 @@ struct task_struct { struct list_head tasks; struct mm_struct *mm; struct mm_struct *active_mm; + struct address_space *faults_disabled_mapping; int exit_state; int exit_code; int exit_signal; @@ -35276,7 +39000,8 @@ struct task_struct { unsigned int sched_reset_on_fork: 1; unsigned int sched_contributes_to_load: 1; unsigned int sched_migrated: 1; - long: 29; + unsigned int sched_task_hot: 1; + long: 28; unsigned int sched_remote_wakeup: 1; unsigned int in_execve: 1; unsigned int in_iowait: 1; @@ -35293,7 +39018,6 @@ struct task_struct { struct list_head ptrace_entry; struct pid *thread_pid; struct hlist_node pid_links[4]; - struct list_head thread_group; struct list_head thread_node; struct completion *vfork_done; int *set_child_tid; @@ -35343,6 +39067,7 @@ struct task_struct { long unsigned int ptrace_message; kernel_siginfo_t *last_siginfo; struct task_io_accounting ioac; + u8 perf_recursion[4]; struct perf_event_context *perf_event_ctxp; struct mutex perf_event_mutex; struct list_head perf_event_list; @@ -35356,8 +39081,9 @@ struct task_struct { u64 default_timer_slack_ns; int curr_ret_stack; int curr_ret_depth; - struct ftrace_ret_stack *ret_stack; + long unsigned int *ret_stack; long long unsigned int ftrace_timestamp; + long long unsigned int ftrace_sleeptime; atomic_t trace_overrun; atomic_t tracing_graph_pause; long unsigned int trace_recursion; @@ -35371,9 +39097,12 @@ struct task_struct { refcount_t stack_refcount; struct bpf_local_storage *bpf_storage; struct bpf_run_ctx *bpf_ctx; + struct bpf_net_context *bpf_net_context; struct llist_head kretprobe_instances; struct llist_head rethooks; struct thread_struct thread; + long: 64; + long: 64; }; struct task_struct__safe_rcu { @@ -35437,16 +39166,18 @@ struct tc_ratespec { struct tc_skb_cb { struct qdisc_skb_cb qdisc_cb; + u32 drop_reason; + u16 zone; u16 mru; u8 post_ct: 1; u8 post_ct_snat: 1; u8 post_ct_dnat: 1; - u16 zone; }; struct tcf_chain; struct tcf_block { + struct xarray ports; struct mutex lock; struct list_head chain_list; u32 index; @@ -35458,6 +39189,7 @@ struct tcf_block { struct flow_block flow_block; struct list_head owner_list; bool keep_dst; + atomic_t useswcnt; atomic_t offloadcnt; unsigned int nooffloaddevcnt; unsigned int lockeddevcnt; @@ -35505,6 +39237,8 @@ struct tcf_proto { struct tcf_chain *chain; spinlock_t lock; bool deleting; + bool counted; + bool usesw; refcount_t refcnt; struct callback_head rcu; struct hlist_node destroy_ht_node; @@ -35530,6 +39264,7 @@ struct tcf_proto_ops { void (*bind_class)(void *, u32, long unsigned int, void *, long unsigned int); void * (*tmplt_create)(struct net *, struct tcf_chain *, struct nlattr **, struct netlink_ext_ack *); void (*tmplt_destroy)(void *); + void (*tmplt_reoffload)(struct tcf_chain *, bool, flow_setup_cb_t *, void *); struct tcf_exts * (*get_exts)(const struct tcf_proto *, u32); int (*dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool); int (*terse_dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool); @@ -35608,17 +39343,6 @@ struct tcmsg { __u32 tcm_info; }; -struct tcp_rack { - u64 mstamp; - u32 rtt_us; - u32 end_seq; - u32 last_delivered; - u8 reo_wnd_steps; - u8 reo_wnd_persist: 5; - u8 dsack_seen: 1; - u8 advanced: 1; -}; - struct tcp_options_received { int ts_recent_stamp; u32 ts_recent; @@ -35639,6 +39363,17 @@ struct tcp_options_received { u16 mss_clamp; }; +struct tcp_rack { + u64 mstamp; + u32 rtt_us; + u32 end_seq; + u32 last_delivered; + u8 reo_wnd_steps; + u8 reo_wnd_persist: 5; + u8 dsack_seen: 1; + u8 advanced: 1; +}; + struct tcp_sack_block { u32 start_seq; u32 end_seq; @@ -35648,55 +39383,120 @@ struct tcp_fastopen_request; struct tcp_sock { struct inet_connection_sock inet_conn; - u16 tcp_header_len; + __u8 __cacheline_group_begin__tcp_sock_read_tx[0]; + u32 max_window; + u32 rcv_ssthresh; + u32 reordering; + u32 notsent_lowat; u16 gso_segs; + struct sk_buff *lost_skb_hint; + struct sk_buff *retransmit_skb_hint; + __u8 __cacheline_group_end__tcp_sock_read_tx[0]; + __u8 __cacheline_group_begin__tcp_sock_read_txrx[0]; + u32 tsoffset; + u32 snd_wnd; + u32 mss_cache; + u32 snd_cwnd; + u32 prr_out; + u32 lost_out; + u32 sacked_out; + u16 tcp_header_len; + u8 scaling_ratio; + u8 chrono_type: 2; + u8 repair: 1; + u8 tcp_usec_ts: 1; + u8 is_sack_reneg: 1; + u8 is_cwnd_limited: 1; + __u8 __cacheline_group_end__tcp_sock_read_txrx[0]; + __u8 __cacheline_group_begin__tcp_sock_read_rx[0]; + u32 copied_seq; + u32 rcv_tstamp; + u32 snd_wl1; + u32 tlp_high_seq; + u32 rttvar_us; + u32 retrans_out; + u16 advmss; + u16 urg_data; + u32 lost; + struct minmax rtt_min; + struct rb_root out_of_order_queue; + u32 snd_ssthresh; + u8 recvmsg_inq: 1; + __u8 __cacheline_group_end__tcp_sock_read_rx[0]; + long: 64; + __u8 __cacheline_group_begin__tcp_sock_write_tx[0]; + u32 segs_out; + u32 data_segs_out; + u64 bytes_sent; + u32 snd_sml; + u32 chrono_start; + u32 chrono_stat[3]; + u32 write_seq; + u32 pushed_seq; + u32 lsndtime; + u32 mdev_us; + u32 rtt_seq; + u64 tcp_wstamp_ns; + struct list_head tsorted_sent_queue; + struct sk_buff *highest_sack; + u8 ecn_flags; + __u8 __cacheline_group_end__tcp_sock_write_tx[0]; + __u8 __cacheline_group_begin__tcp_sock_write_txrx[0]; __be32 pred_flags; + u64 tcp_clock_cache; + u64 tcp_mstamp; + u32 rcv_nxt; + u32 snd_nxt; + u32 snd_una; + u32 window_clamp; + u32 srtt_us; + u32 packets_out; + u32 snd_up; + u32 delivered; + u32 delivered_ce; + u32 app_limited; + u32 rcv_wnd; + struct tcp_options_received rx_opt; + u8 nonagle: 4; + u8 rate_app_limited: 1; + __u8 __cacheline_group_end__tcp_sock_write_txrx[0]; + long: 0; + __u8 __cacheline_group_begin__tcp_sock_write_rx[0]; u64 bytes_received; u32 segs_in; u32 data_segs_in; - u32 rcv_nxt; - u32 copied_seq; u32 rcv_wup; - u32 snd_nxt; - u32 segs_out; - u32 data_segs_out; - u64 bytes_sent; + u32 max_packets_out; + u32 cwnd_usage_seq; + u32 rate_delivered; + u32 rate_interval_us; + u32 rcv_rtt_last_tsecr; + u64 first_tx_mstamp; + u64 delivered_mstamp; u64 bytes_acked; + struct { + u32 rtt_us; + u32 seq; + u64 time; + } rcv_rtt_est; + struct { + u32 space; + u32 seq; + u64 time; + } rcvq_space; + __u8 __cacheline_group_end__tcp_sock_write_rx[0]; u32 dsack_dups; - u32 snd_una; - u32 snd_sml; - u32 rcv_tstamp; - u32 lsndtime; - u32 last_oow_ack_time; u32 compressed_ack_rcv_nxt; - u32 tsoffset; struct list_head tsq_node; - struct list_head tsorted_sent_queue; - u32 snd_wl1; - u32 snd_wnd; - u32 max_window; - u32 mss_cache; - u32 window_clamp; - u32 rcv_ssthresh; - u8 scaling_ratio; struct tcp_rack rack; - u16 advmss; u8 compressed_ack; u8 dup_ack_counter: 2; u8 tlp_retrans: 1; u8 unused: 5; - u32 chrono_start; - u32 chrono_stat[3]; - u8 chrono_type: 2; - u8 rate_app_limited: 1; + u8 thin_lto: 1; u8 fastopen_connect: 1; u8 fastopen_no_cookie: 1; - u8 is_sack_reneg: 1; u8 fastopen_client_fail: 2; - u8 nonagle: 4; - u8 thin_lto: 1; - u8 recvmsg_inq: 1; - u8 repair: 1; u8 frto: 1; u8 repair_queue; u8 save_syn: 2; @@ -35705,62 +39505,23 @@ struct tcp_sock { u8 syn_fastopen_exp: 1; u8 syn_fastopen_ch: 1; u8 syn_data_acked: 1; - u8 is_cwnd_limited: 1; - u32 tlp_high_seq; + u8 keepalive_probes; u32 tcp_tx_delay; - u64 tcp_wstamp_ns; - u64 tcp_clock_cache; - u64 tcp_mstamp; - u32 srtt_us; - u32 mdev_us; u32 mdev_max_us; - u32 rttvar_us; - u32 rtt_seq; - struct minmax rtt_min; - u32 packets_out; - u32 retrans_out; - u32 max_packets_out; - u32 cwnd_usage_seq; - u16 urg_data; - u8 ecn_flags; - u8 keepalive_probes; - u32 reordering; u32 reord_seen; - u32 snd_up; - struct tcp_options_received rx_opt; - u32 snd_ssthresh; - u32 snd_cwnd; u32 snd_cwnd_cnt; u32 snd_cwnd_clamp; u32 snd_cwnd_used; u32 snd_cwnd_stamp; u32 prior_cwnd; u32 prr_delivered; - u32 prr_out; - u32 delivered; - u32 delivered_ce; - u32 lost; - u32 app_limited; - u64 first_tx_mstamp; - u64 delivered_mstamp; - u32 rate_delivered; - u32 rate_interval_us; - u32 rcv_wnd; - u32 write_seq; - u32 notsent_lowat; - u32 pushed_seq; - u32 lost_out; - u32 sacked_out; + u32 last_oow_ack_time; struct hrtimer pacing_timer; struct hrtimer compressed_ack_timer; - struct sk_buff *lost_skb_hint; - struct sk_buff *retransmit_skb_hint; - struct rb_root out_of_order_queue; struct sk_buff *ooo_last_skb; struct tcp_sack_block duplicate_sack[1]; struct tcp_sack_block selective_acks[4]; struct tcp_sack_block recv_sack_cache[4]; - struct sk_buff *highest_sack; int lost_cnt_hint; u32 prior_ssthresh; u32 high_seq; @@ -35769,6 +39530,10 @@ struct tcp_sock { int undo_retrans; u64 bytes_retrans; u32 total_retrans; + u32 rto_stamp; + u16 total_rto; + u16 total_rto_recoveries; + u32 total_rto_time; u32 urg_seq; unsigned int keepalive_time; unsigned int keepalive_intvl; @@ -35777,17 +39542,6 @@ struct tcp_sock { u8 bpf_chg_cc_inprogress: 1; u16 timeout_rehash; u32 rcv_ooopack; - u32 rcv_rtt_last_tsecr; - struct { - u32 rtt_us; - u32 seq; - u64 time; - } rcv_rtt_est; - struct { - u32 space; - u32 seq; - u64 time; - } rcvq_space; struct { u32 probe_seq_start; u32 probe_seq_end; @@ -35797,11 +39551,49 @@ struct tcp_sock { struct tcp_fastopen_request *fastopen_req; struct request_sock *fastopen_rsk; struct saved_syn *saved_syn; + long: 64; }; struct tcp6_sock { struct tcp_sock tcp; struct ipv6_pinfo inet6; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; +}; + +union tcp_ao_addr { + struct in_addr a4; + struct in6_addr a6; +}; + +struct tcp_ao_hdr { + u8 kind; + u8 length; + u8 keyid; + u8 rnext_keyid; +}; + +struct tcp_ao_key { + struct hlist_node node; + union tcp_ao_addr addr; + u8 key[80]; + unsigned int tcp_sigpool_id; + unsigned int digest_size; + int l3index; + u8 prefixlen; + u8 family; + u8 keylen; + u8 keyflags; + u8 sndid; + u8 rcvid; + u8 maclen; + struct callback_head rcu; + atomic64_t pkt_good; + atomic64_t pkt_bad; + u8 traffic_keys[0]; }; struct tcp_bbr_info { @@ -35920,11 +39712,28 @@ struct tcp_info { __u32 tcpi_snd_wnd; __u32 tcpi_rcv_wnd; __u32 tcpi_rehash; + __u16 tcpi_total_rto; + __u16 tcpi_total_rto_recoveries; + __u32 tcpi_total_rto_time; }; -union tcp_md5_addr { - struct in_addr a4; - struct in6_addr a6; +struct tcp_md5sig_key; + +struct tcp_key { + union { + struct { + struct tcp_ao_key *ao_key; + char *traffic_key; + u32 sne; + u8 rcv_next; + }; + struct tcp_md5sig_key *md5_key; + }; + enum { + TCP_KEY_NONE = 0, + TCP_KEY_MD5 = 1, + TCP_KEY_AO = 2, + } type; }; struct tcp_md5sig_key { @@ -35933,7 +39742,7 @@ struct tcp_md5sig_key { u8 family; u8 prefixlen; u8 flags; - union tcp_md5_addr addr; + union tcp_ao_addr addr; int l3index; u8 key[80]; struct callback_head rcu; @@ -35996,6 +39805,7 @@ struct tcp_request_sock { u64 snt_synack; bool tfo_listener; bool is_mptcp; + bool req_usec_ts; u32 txhash; u32 rcv_isn; u32 snt_isn; @@ -36007,7 +39817,7 @@ struct tcp_request_sock { struct tcp_request_sock_ops { u16 mss_clamp; - struct dst_entry * (*route_req)(const struct sock *, struct sk_buff *, struct flowi *, struct request_sock *); + struct dst_entry * (*route_req)(const struct sock *, struct sk_buff *, struct flowi *, struct request_sock *, u32); u32 (*init_seq)(const struct sk_buff *); u32 (*init_ts_off)(const struct net *, const struct sk_buff *); int (*send_synack)(const struct sock *, struct dst_entry *, struct flowi *, struct request_sock *, struct tcp_fastopen_cookie *, enum tcp_synack_type, struct sk_buff *); @@ -36032,7 +39842,6 @@ struct tcp_skb_cb { __u32 seq; __u32 end_seq; union { - __u32 tcp_tw_isn; struct { u16 tcp_gso_segs; u16 tcp_gso_size; @@ -36083,7 +39892,7 @@ struct tcp_ulp_ops { int (*init)(struct sock *); void (*update)(struct sock *, struct proto *, void (*)(struct sock *)); void (*release)(struct sock *); - int (*get_info)(const struct sock *, struct sk_buff *); + int (*get_info)(struct sock *, struct sk_buff *); size_t (*get_info_size)(const struct sock *); void (*clone)(const struct request_sock *, struct sock *, const gfp_t); char name[16]; @@ -36115,6 +39924,13 @@ union tcp_word_hdr { __be32 words[5]; }; +struct tcp_xa_pool { + u8 max; + u8 idx; + __u32 tokens[17]; + netmem_ref netmems[17]; +}; + struct tcp_zerocopy_receive { __u64 address; __u32 length; @@ -36145,7 +39961,7 @@ struct tcpm_hash_bucket { struct tcx_entry { struct mini_Qdisc *miniq; struct bpf_mprog_bundle bundle; - bool miniq_active; + u32 miniq_active; struct callback_head rcu; }; @@ -36199,7 +40015,6 @@ struct tk_read_base { struct timekeeper { struct tk_read_base tkr_mono; - struct tk_read_base tkr_raw; u64 xtime_sec; long unsigned int ktime_sec; struct timespec64 wall_to_monotonic; @@ -36207,15 +40022,16 @@ struct timekeeper { ktime_t offs_boot; ktime_t offs_tai; s32 tai_offset; + struct tk_read_base tkr_raw; + u64 raw_sec; unsigned int clock_was_set_seq; u8 cs_was_changed_seq; - ktime_t next_leap_ktime; - u64 raw_sec; struct timespec64 monotonic_to_boot; u64 cycle_interval; u64 xtime_interval; s64 xtime_remainder; u64 raw_interval; + ktime_t next_leap_ktime; u64 ntp_tick; s64 ntp_error; u32 ntp_error_shift; @@ -36260,6 +40076,7 @@ struct timer_of { void *private_data; long: 64; long: 64; + long: 64; }; struct timer_rand_state { @@ -36279,7 +40096,6 @@ struct timewait_sock_ops { struct kmem_cache *twsk_slab; char *twsk_slab_name; unsigned int twsk_obj_size; - int (*twsk_unique)(struct sock *, struct sock *, void *); void (*twsk_destructor)(struct sock *); }; @@ -36292,6 +40108,14 @@ struct tipc_basic_hdr { __be32 w[4]; }; +struct tk_data { + seqcount_raw_spinlock_t seq; + struct timekeeper timekeeper; + struct timekeeper shadow_timekeeper; + raw_spinlock_t lock; + long: 64; +}; + struct tk_fast { seqcount_latch_t seq; struct tk_read_base base[2]; @@ -36401,7 +40225,7 @@ struct tls_strparser { u32 stopped: 1; u32 copy_mode: 1; u32 mixed_decrypted: 1; - u32 msg_ready: 1; + bool msg_ready; struct strp_msg stm; struct sk_buff *anchor; struct work_struct work; @@ -36416,9 +40240,9 @@ struct tls_sw_context_rx { u8 async_capable: 1; u8 zc_capable: 1; u8 reader_contended: 1; + bool key_update_pending; struct tls_strparser strp; atomic_t decrypt_pending; - spinlock_t decrypt_compl_lock; struct sk_buff_head async_hold; struct wait_queue_head wq; }; @@ -36437,8 +40261,6 @@ struct tls_sw_context_tx { struct tls_rec *open_rec; struct list_head tx_list; atomic_t encrypt_pending; - spinlock_t encrypt_compl_lock; - int async_notify; u8 async_capable: 1; long unsigned int tx_bitmask; }; @@ -36462,7 +40284,7 @@ struct tms { }; struct tnl_ptk_info { - __be16 flags; + long unsigned int flags[1]; __be16 proto; __be32 key; __be32 seq; @@ -36495,7 +40317,6 @@ struct tp_probes { struct tp_transition_snapshot { long unsigned int rcu; - long unsigned int srcu; bool ongoing; }; @@ -36509,6 +40330,11 @@ struct trace_array { struct list_head list; char *name; struct array_buffer array_buffer; + unsigned int mapped; + long unsigned int range_addr_start; + long unsigned int range_addr_size; + long int text_delta; + long int data_delta; struct trace_pid_list *filtered_pids; struct trace_pid_list *filtered_no_pids; arch_spinlock_t max_lock; @@ -36524,11 +40350,12 @@ struct trace_array { unsigned char trace_flags_index[32]; unsigned int flags; raw_spinlock_t start_lock; + const char *system_names; struct list_head err_log; struct dentry *dir; struct dentry *options; struct dentry *percpu_dir; - struct dentry *event_dir; + struct eventfs_inode *event_dir; struct trace_options *topts; struct list_head systems; struct list_head events; @@ -36537,9 +40364,11 @@ struct trace_array { cpumask_var_t pipe_cpumask; int ref; int trace_ref; + struct list_head mod_events; struct ftrace_ops *ops; struct trace_pid_list *function_pids; struct trace_pid_list *function_no_pids; + struct fgraph_ops *gops; struct list_head func_probes; struct list_head mod_trace; struct list_head mod_notrace; @@ -36547,6 +40376,7 @@ struct trace_array { int no_filter_buffering_ref; struct list_head hist_vars; struct trace_func_repeats *last_func_repeats; + bool ring_buffer_expanded; }; struct trace_array_cpu { @@ -36584,9 +40414,34 @@ struct trace_buffer { struct mutex mutex; struct ring_buffer_per_cpu **buffers; struct hlist_node node; - u64 (*clock)(); + u64 (*clock)(void); struct rb_irq_work irq_work; bool time_stamp_abs; + long unsigned int range_addr_start; + long unsigned int range_addr_end; + long int last_text_delta; + long int last_data_delta; + unsigned int subbuf_size; + unsigned int subbuf_order; + unsigned int max_data_size; +}; + +struct trace_buffer_meta { + __u32 meta_page_size; + __u32 meta_struct_len; + __u32 subbuf_size; + __u32 nr_subbufs; + struct { + __u64 lost_events; + __u32 id; + __u32 read; + } reader; + __u64 flags; + __u64 entries; + __u64 overrun; + __u64 read; + __u64 Reserved1; + __u64 Reserved2; }; struct trace_buffer_struct { @@ -36601,6 +40456,7 @@ struct trace_probe { struct trace_probe_event *event; ssize_t size; unsigned int nr_args; + struct probe_entry_arg *entry_arg; struct probe_arg args[0]; }; @@ -36642,12 +40498,11 @@ struct trace_event_call { struct list_head list; struct trace_event_class *class; union { - char *name; + const char *name; struct tracepoint *tp; }; struct trace_event event; char *print_fmt; - struct event_filter *filter; union { void *module; atomic_t refcnt; @@ -36687,48 +40542,65 @@ struct trace_event_data_offsets_bpf_test_finish {}; struct trace_event_data_offsets_bpf_trace_printk { u32 bpf_string; + const void *bpf_string_ptr_; }; +struct trace_event_data_offsets_bpf_trigger_tp {}; + struct trace_event_data_offsets_bpf_xdp_link_attach_failed { u32 msg; + const void *msg_ptr_; }; +struct trace_event_data_offsets_cap_capable {}; + struct trace_event_data_offsets_clk { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_clk_duty_cycle { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_clk_parent { u32 name; + const void *name_ptr_; u32 pname; + const void *pname_ptr_; }; struct trace_event_data_offsets_clk_phase { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_clk_rate { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_clk_rate_range { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_clk_rate_request { u32 name; + const void *name_ptr_; u32 pname; + const void *pname_ptr_; }; struct trace_event_data_offsets_clock { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_console { u32 msg; + const void *msg_ptr_; }; struct trace_event_data_offsets_consume_skb {}; @@ -36751,26 +40623,115 @@ struct trace_event_data_offsets_cpuhp_exit {}; struct trace_event_data_offsets_cpuhp_multi_enter {}; +struct trace_event_data_offsets_ctime {}; + +struct trace_event_data_offsets_ctime_ns_xchg {}; + struct trace_event_data_offsets_dev_pm_qos_request { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_device_pm_callback_end { u32 device; + const void *device_ptr_; u32 driver; + const void *driver_ptr_; }; struct trace_event_data_offsets_device_pm_callback_start { u32 device; + const void *device_ptr_; u32 driver; + const void *driver_ptr_; u32 parent; + const void *parent_ptr_; u32 pm_ops; + const void *pm_ops_ptr_; }; struct trace_event_data_offsets_devres { u32 devname; + const void *devname_ptr_; + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_dma_alloc_class { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_alloc_sgt { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_free_class { + u32 device; + const void *device_ptr_; }; +struct trace_event_data_offsets_dma_free_sgt { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_map { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_map_sg { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; + u32 dma_addrs; + const void *dma_addrs_ptr_; + u32 lengths; + const void *lengths_ptr_; +}; + +struct trace_event_data_offsets_dma_map_sg_err { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_sync_sg { + u32 device; + const void *device_ptr_; + u32 dma_addrs; + const void *dma_addrs_ptr_; + u32 lengths; + const void *lengths_ptr_; +}; + +struct trace_event_data_offsets_dma_sync_single { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_unmap { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_unmap_sg { + u32 device; + const void *device_ptr_; + u32 addrs; + const void *addrs_ptr_; +}; + +struct trace_event_data_offsets_dql_stall_detected {}; + struct trace_event_data_offsets_error_report_template {}; struct trace_event_data_offsets_exit_mmap {}; @@ -36783,6 +40744,8 @@ struct trace_event_data_offsets_file_check_and_advance_wb_err {}; struct trace_event_data_offsets_filemap_set_wb_err {}; +struct trace_event_data_offsets_fill_mg_cmtime {}; + struct trace_event_data_offsets_finish_task_reaping {}; struct trace_event_data_offsets_free_vmap_area_noflush {}; @@ -36799,6 +40762,10 @@ struct trace_event_data_offsets_hrtimer_init {}; struct trace_event_data_offsets_hrtimer_start {}; +struct trace_event_data_offsets_hw_pressure_update {}; + +struct trace_event_data_offsets_icmp_send {}; + struct trace_event_data_offsets_inet_sk_error_report {}; struct trace_event_data_offsets_inet_sock_set_state {}; @@ -36807,6 +40774,7 @@ struct trace_event_data_offsets_initcall_finish {}; struct trace_event_data_offsets_initcall_level { u32 level; + const void *level_ptr_; }; struct trace_event_data_offsets_initcall_start {}; @@ -36815,20 +40783,29 @@ struct trace_event_data_offsets_ipi_handler {}; struct trace_event_data_offsets_ipi_raise { u32 target_cpus; + const void *target_cpus_ptr_; }; struct trace_event_data_offsets_ipi_send_cpu {}; struct trace_event_data_offsets_ipi_send_cpumask { u32 cpumask; + const void *cpumask_ptr_; }; struct trace_event_data_offsets_irq_handler_entry { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_irq_handler_exit {}; +struct trace_event_data_offsets_irq_matrix_cpu {}; + +struct trace_event_data_offsets_irq_matrix_global {}; + +struct trace_event_data_offsets_irq_matrix_global_update {}; + struct trace_event_data_offsets_itimer_expire {}; struct trace_event_data_offsets_itimer_state {}; @@ -36843,6 +40820,7 @@ struct trace_event_data_offsets_kmem_cache_alloc {}; struct trace_event_data_offsets_kmem_cache_free { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_ma_op {}; @@ -36851,7 +40829,10 @@ struct trace_event_data_offsets_ma_read {}; struct trace_event_data_offsets_ma_write {}; -struct trace_event_data_offsets_mark_victim {}; +struct trace_event_data_offsets_mark_victim { + u32 comm; + const void *comm_ptr_; +}; struct trace_event_data_offsets_mem_connect {}; @@ -36861,8 +40842,14 @@ struct trace_event_data_offsets_mem_return_failed {}; struct trace_event_data_offsets_migration_pte {}; +struct trace_event_data_offsets_mm_alloc_contig_migrate_range_info {}; + +struct trace_event_data_offsets_mm_filemap_fault {}; + struct trace_event_data_offsets_mm_filemap_op_page_cache {}; +struct trace_event_data_offsets_mm_filemap_op_page_cache_range {}; + struct trace_event_data_offsets_mm_lru_activate {}; struct trace_event_data_offsets_mm_lru_insertion {}; @@ -36903,73 +40890,85 @@ struct trace_event_data_offsets_mm_vmscan_lru_shrink_inactive {}; struct trace_event_data_offsets_mm_vmscan_node_reclaim_begin {}; +struct trace_event_data_offsets_mm_vmscan_reclaim_pages {}; + struct trace_event_data_offsets_mm_vmscan_throttled {}; struct trace_event_data_offsets_mm_vmscan_wakeup_kswapd {}; struct trace_event_data_offsets_mm_vmscan_write_folio {}; -struct trace_event_data_offsets_mmap_lock { - u32 memcg_path; -}; +struct trace_event_data_offsets_mmap_lock {}; -struct trace_event_data_offsets_mmap_lock_acquire_returned { - u32 memcg_path; -}; +struct trace_event_data_offsets_mmap_lock_acquire_returned {}; struct trace_event_data_offsets_module_free { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_module_load { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_module_request { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_napi_poll { u32 dev_name; + const void *dev_name_ptr_; }; struct trace_event_data_offsets_neigh__update { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_neigh_create { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_neigh_update { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_net_dev_rx_exit_template {}; struct trace_event_data_offsets_net_dev_rx_verbose_template { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_start_xmit { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_template { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_xmit { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_xmit_timeout { u32 name; + const void *name_ptr_; u32 driver; + const void *driver_ptr_; }; struct trace_event_data_offsets_netlink_extack { u32 msg; + const void *msg_ptr_; }; struct trace_event_data_offsets_notifier_info {}; @@ -36998,10 +40997,12 @@ struct trace_event_data_offsets_pm_qos_update {}; struct trace_event_data_offsets_power_domain { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_powernv_throttle { u32 reason; + const void *reason_ptr_; }; struct trace_event_data_offsets_pstate_sample {}; @@ -37010,21 +41011,27 @@ struct trace_event_data_offsets_purge_vmap_area_lazy {}; struct trace_event_data_offsets_qdisc_create { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_qdisc_dequeue {}; struct trace_event_data_offsets_qdisc_destroy { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_qdisc_enqueue {}; struct trace_event_data_offsets_qdisc_reset { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_rcu_utilization {}; @@ -37033,6 +41040,10 @@ struct trace_event_data_offsets_reclaim_retry_zone {}; struct trace_event_data_offsets_rss_stat {}; +struct trace_event_data_offsets_sbi_call {}; + +struct trace_event_data_offsets_sbi_return {}; + struct trace_event_data_offsets_sched_kthread_stop {}; struct trace_event_data_offsets_sched_kthread_stop_ret {}; @@ -37051,8 +41062,18 @@ struct trace_event_data_offsets_sched_numa_pair_template {}; struct trace_event_data_offsets_sched_pi_setprio {}; +struct trace_event_data_offsets_sched_prepare_exec { + u32 interp; + const void *interp_ptr_; + u32 filename; + const void *filename_ptr_; + u32 comm; + const void *comm_ptr_; +}; + struct trace_event_data_offsets_sched_process_exec { u32 filename; + const void *filename_ptr_; }; struct trace_event_data_offsets_sched_process_fork {}; @@ -37093,6 +41114,7 @@ struct trace_event_data_offsets_suspend_resume {}; struct trace_event_data_offsets_swiotlb_bounced { u32 dev_name; + const void *dev_name_ptr_; }; struct trace_event_data_offsets_sys_enter {}; @@ -37101,10 +41123,18 @@ struct trace_event_data_offsets_sys_exit {}; struct trace_event_data_offsets_task_newtask {}; +struct trace_event_data_offsets_task_prctl_unknown {}; + struct trace_event_data_offsets_task_rename {}; struct trace_event_data_offsets_tasklet {}; +struct trace_event_data_offsets_tcp_ao_event {}; + +struct trace_event_data_offsets_tcp_ao_event_sk {}; + +struct trace_event_data_offsets_tcp_ao_event_sne {}; + struct trace_event_data_offsets_tcp_cong_state_set {}; struct trace_event_data_offsets_tcp_event_sk {}; @@ -37113,11 +41143,15 @@ struct trace_event_data_offsets_tcp_event_sk_skb {}; struct trace_event_data_offsets_tcp_event_skb {}; +struct trace_event_data_offsets_tcp_hash_event {}; + struct trace_event_data_offsets_tcp_probe {}; struct trace_event_data_offsets_tcp_retransmit_synack {}; -struct trace_event_data_offsets_thermal_pressure_update {}; +struct trace_event_data_offsets_tcp_send_reset {}; + +struct trace_event_data_offsets_timer_base_idle {}; struct trace_event_data_offsets_timer_class {}; @@ -37139,6 +41173,7 @@ struct trace_event_data_offsets_wake_reaper {}; struct trace_event_data_offsets_wakeup_source { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_wbc_class {}; @@ -37151,6 +41186,7 @@ struct trace_event_data_offsets_workqueue_execute_start {}; struct trace_event_data_offsets_workqueue_queue_work { u32 workqueue; + const void *workqueue_ptr_; }; struct trace_event_data_offsets_writeback_bdi_register {}; @@ -37194,7 +41230,8 @@ struct trace_event_fields { const char *name; const int size; const int align; - const int is_signed; + const unsigned int is_signed: 1; + unsigned int needs_test: 1; const int filter_type; const int len; }; @@ -37202,19 +41239,18 @@ struct trace_event_fields { }; }; -struct eventfs_file; - struct trace_subsystem_dir; struct trace_event_file { struct list_head list; struct trace_event_call *event_call; struct event_filter *filter; - struct eventfs_file *ef; + struct eventfs_inode *ei; struct trace_array *tr; struct trace_subsystem_dir *system; struct list_head triggers; long unsigned int flags; + refcount_t ref; atomic_t sm_ref; atomic_t tm_ref; }; @@ -37300,12 +41336,28 @@ struct trace_event_raw_bpf_trace_printk { char __data[0]; }; +struct trace_event_raw_bpf_trigger_tp { + struct trace_entry ent; + int nonce; + char __data[0]; +}; + struct trace_event_raw_bpf_xdp_link_attach_failed { struct trace_entry ent; u32 __data_loc_msg; char __data[0]; }; +struct trace_event_raw_cap_capable { + struct trace_entry ent; + const struct cred *cred; + struct user_namespace *target_ns; + const struct user_namespace *capable_ns; + int cap; + int ret; + char __data[0]; +}; + struct trace_event_raw_clk { struct trace_entry ent; u32 __data_loc_name; @@ -37450,6 +41502,27 @@ struct trace_event_raw_cpuhp_multi_enter { char __data[0]; }; +struct trace_event_raw_ctime { + struct trace_entry ent; + dev_t dev; + ino_t ino; + time64_t ctime_s; + u32 ctime_ns; + u32 gen; + char __data[0]; +}; + +struct trace_event_raw_ctime_ns_xchg { + struct trace_entry ent; + dev_t dev; + ino_t ino; + u32 gen; + u32 old; + u32 new; + u32 cur; + char __data[0]; +}; + struct trace_event_raw_dev_pm_qos_request { struct trace_entry ent; u32 __data_loc_name; @@ -37482,11 +41555,136 @@ struct trace_event_raw_devres { struct device *dev; const char *op; void *node; - const char *name; + u32 __data_loc_name; size_t size; char __data[0]; }; +struct trace_event_raw_dma_alloc_class { + struct trace_entry ent; + u32 __data_loc_device; + void *virt_addr; + u64 dma_addr; + size_t size; + gfp_t flags; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_alloc_sgt { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + gfp_t flags; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_free_class { + struct trace_entry ent; + u32 __data_loc_device; + void *virt_addr; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_free_sgt { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_map { + struct trace_entry ent; + u32 __data_loc_device; + u64 phys_addr; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_map_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u32 __data_loc_dma_addrs; + u32 __data_loc_lengths; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_map_sg_err { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + int err; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_sync_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_dma_addrs; + u32 __data_loc_lengths; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_sync_single { + struct trace_entry ent; + u32 __data_loc_device; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_unmap { + struct trace_entry ent; + u32 __data_loc_device; + u64 addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_unmap_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_addrs; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dql_stall_detected { + struct trace_entry ent; + short unsigned int thrs; + unsigned int len; + long unsigned int last_reap; + long unsigned int hist_head; + long unsigned int now; + long unsigned int hist[4]; + char __data[0]; +}; + struct trace_event_raw_error_report_template { struct trace_entry ent; enum error_detector error_detector; @@ -37507,6 +41705,7 @@ struct trace_event_raw_fib6_table_lookup { int err; int oif; int iif; + u32 flowlabel; __u8 tos; __u8 scope; __u8 flags; @@ -37559,6 +41758,18 @@ struct trace_event_raw_filemap_set_wb_err { char __data[0]; }; +struct trace_event_raw_fill_mg_cmtime { + struct trace_entry ent; + dev_t dev; + ino_t ino; + time64_t ctime_s; + time64_t mtime_s; + u32 ctime_ns; + u32 mtime_ns; + u32 gen; + char __data[0]; +}; + struct trace_event_raw_finish_task_reaping { struct trace_entry ent; int pid; @@ -37625,6 +41836,26 @@ struct trace_event_raw_hrtimer_start { char __data[0]; }; +struct trace_event_raw_hw_pressure_update { + struct trace_entry ent; + long unsigned int hw_pressure; + int cpu; + char __data[0]; +}; + +struct trace_event_raw_icmp_send { + struct trace_entry ent; + const void *skbaddr; + int type; + int code; + __u8 saddr[4]; + __u8 daddr[4]; + __u16 sport; + __u16 dport; + short unsigned int ulen; + char __data[0]; +}; + struct trace_event_raw_inet_sk_error_report { struct trace_entry ent; int error; @@ -37655,7 +41886,7 @@ struct trace_event_raw_inet_sock_set_state { char __data[0]; }; -typedef int (*initcall_t)(); +typedef int (*initcall_t)(void); struct trace_event_raw_initcall_finish { struct trace_entry ent; @@ -37719,6 +41950,40 @@ struct trace_event_raw_irq_handler_exit { char __data[0]; }; +struct trace_event_raw_irq_matrix_cpu { + struct trace_entry ent; + int bit; + unsigned int cpu; + bool online; + unsigned int available; + unsigned int allocated; + unsigned int managed; + unsigned int online_maps; + unsigned int global_available; + unsigned int global_reserved; + unsigned int total_allocated; + char __data[0]; +}; + +struct trace_event_raw_irq_matrix_global { + struct trace_entry ent; + unsigned int online_maps; + unsigned int global_available; + unsigned int global_reserved; + unsigned int total_allocated; + char __data[0]; +}; + +struct trace_event_raw_irq_matrix_global_update { + struct trace_entry ent; + int bit; + unsigned int online_maps; + unsigned int global_available; + unsigned int global_reserved; + unsigned int total_allocated; + char __data[0]; +}; + struct trace_event_raw_itimer_expire { struct trace_entry ent; int which; @@ -37749,6 +42014,7 @@ struct trace_event_raw_kfree_skb { struct trace_entry ent; void *skbaddr; void *location; + void *rx_sk; short unsigned int protocol; enum skb_drop_reason reason; char __data[0]; @@ -37823,6 +42089,14 @@ struct trace_event_raw_ma_write { struct trace_event_raw_mark_victim { struct trace_entry ent; int pid; + u32 __data_loc_comm; + long unsigned int total_vm; + long unsigned int anon_rss; + long unsigned int file_rss; + long unsigned int shmem_rss; + uid_t uid; + long unsigned int pgtables; + short int oom_score_adj; char __data[0]; }; @@ -37864,6 +42138,25 @@ struct trace_event_raw_migration_pte { char __data[0]; }; +struct trace_event_raw_mm_alloc_contig_migrate_range_info { + struct trace_entry ent; + long unsigned int start; + long unsigned int end; + long unsigned int nr_migrated; + long unsigned int nr_reclaimed; + long unsigned int nr_mapped; + int migratetype; + char __data[0]; +}; + +struct trace_event_raw_mm_filemap_fault { + struct trace_entry ent; + long unsigned int i_ino; + dev_t s_dev; + long unsigned int index; + char __data[0]; +}; + struct trace_event_raw_mm_filemap_op_page_cache { struct trace_entry ent; long unsigned int pfn; @@ -37874,6 +42167,15 @@ struct trace_event_raw_mm_filemap_op_page_cache { char __data[0]; }; +struct trace_event_raw_mm_filemap_op_page_cache_range { + struct trace_entry ent; + long unsigned int i_ino; + dev_t s_dev; + long unsigned int index; + long unsigned int last_index; + char __data[0]; +}; + struct trace_event_raw_mm_lru_activate { struct trace_entry ent; struct folio *folio; @@ -37897,6 +42199,7 @@ struct trace_event_raw_mm_migrate_pages { long unsigned int thp_succeeded; long unsigned int thp_failed; long unsigned int thp_split; + long unsigned int large_folio_split; enum migrate_mode mode; int reason; char __data[0]; @@ -38020,7 +42323,6 @@ struct trace_event_raw_mm_vmscan_lru_isolate { long unsigned int nr_scanned; long unsigned int nr_skipped; long unsigned int nr_taken; - unsigned int isolate_mode; int lru; char __data[0]; }; @@ -38063,6 +42365,22 @@ struct trace_event_raw_mm_vmscan_node_reclaim_begin { char __data[0]; }; +struct trace_event_raw_mm_vmscan_reclaim_pages { + struct trace_entry ent; + int nid; + long unsigned int nr_scanned; + long unsigned int nr_reclaimed; + long unsigned int nr_dirty; + long unsigned int nr_writeback; + long unsigned int nr_congested; + long unsigned int nr_immediate; + unsigned int nr_activate0; + unsigned int nr_activate1; + long unsigned int nr_ref_keep; + long unsigned int nr_unmap_fail; + char __data[0]; +}; + struct trace_event_raw_mm_vmscan_throttled { struct trace_entry ent; int nid; @@ -38091,7 +42409,7 @@ struct trace_event_raw_mm_vmscan_write_folio { struct trace_event_raw_mmap_lock { struct trace_entry ent; struct mm_struct *mm; - u32 __data_loc_memcg_path; + u64 memcg_id; bool write; char __data[0]; }; @@ -38099,7 +42417,7 @@ struct trace_event_raw_mmap_lock { struct trace_event_raw_mmap_lock_acquire_returned { struct trace_entry ent; struct mm_struct *mm; - u32 __data_loc_memcg_path; + u64 memcg_id; bool write; bool success; char __data[0]; @@ -38300,7 +42618,7 @@ struct trace_event_raw_page_pool_release { struct trace_event_raw_page_pool_state_hold { struct trace_entry ent; const struct page_pool *pool; - const struct page *page; + long unsigned int netmem; u32 hold; long unsigned int pfn; char __data[0]; @@ -38309,7 +42627,7 @@ struct trace_event_raw_page_pool_state_hold { struct trace_event_raw_page_pool_state_release { struct trace_entry ent; const struct page_pool *pool; - const struct page *page; + long unsigned int netmem; u32 release; long unsigned int pfn; char __data[0]; @@ -38491,6 +42809,20 @@ struct trace_event_raw_rss_stat { char __data[0]; }; +struct trace_event_raw_sbi_call { + struct trace_entry ent; + int ext; + int fid; + char __data[0]; +}; + +struct trace_event_raw_sbi_return { + struct trace_entry ent; + long int error; + long int value; + char __data[0]; +}; + struct trace_event_raw_sched_kthread_stop { struct trace_entry ent; char comm[16]; @@ -38572,6 +42904,15 @@ struct trace_event_raw_sched_pi_setprio { char __data[0]; }; +struct trace_event_raw_sched_prepare_exec { + struct trace_entry ent; + u32 __data_loc_interp; + u32 __data_loc_filename; + pid_t pid; + u32 __data_loc_comm; + char __data[0]; +}; + struct trace_event_raw_sched_process_exec { struct trace_entry ent; u32 __data_loc_filename; @@ -38610,7 +42951,6 @@ struct trace_event_raw_sched_stat_runtime { char comm[16]; pid_t pid; u64 runtime; - u64 vruntime; char __data[0]; }; @@ -38770,9 +43110,18 @@ struct trace_event_raw_task_newtask { char __data[0]; }; +struct trace_event_raw_task_prctl_unknown { + struct trace_entry ent; + int option; + long unsigned int arg2; + long unsigned int arg3; + long unsigned int arg4; + long unsigned int arg5; + char __data[0]; +}; + struct trace_event_raw_task_rename { struct trace_entry ent; - pid_t pid; char oldcomm[16]; char newcomm[16]; short int oom_score_adj; @@ -38786,6 +43135,58 @@ struct trace_event_raw_tasklet { char __data[0]; }; +struct trace_event_raw_tcp_ao_event { + struct trace_entry ent; + __u64 net_cookie; + const void *skbaddr; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + int l3index; + __u16 sport; + __u16 dport; + __u16 family; + bool fin; + bool syn; + bool rst; + bool psh; + bool ack; + __u8 keyid; + __u8 rnext; + __u8 maclen; + char __data[0]; +}; + +struct trace_event_raw_tcp_ao_event_sk { + struct trace_entry ent; + __u64 net_cookie; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + __u16 sport; + __u16 dport; + __u16 family; + __u8 keyid; + __u8 rnext; + char __data[0]; +}; + +struct trace_event_raw_tcp_ao_event_sne { + struct trace_entry ent; + __u64 net_cookie; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + __u16 sport; + __u16 dport; + __u16 family; + __u32 new_sne; + char __data[0]; +}; + struct trace_event_raw_tcp_cong_state_set { struct trace_entry ent; const void *skaddr; @@ -38837,6 +43238,26 @@ struct trace_event_raw_tcp_event_skb { char __data[0]; }; +struct trace_event_raw_tcp_hash_event { + struct trace_entry ent; + __u64 net_cookie; + const void *skbaddr; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + int l3index; + __u16 sport; + __u16 dport; + __u16 family; + bool fin; + bool syn; + bool rst; + bool psh; + bool ack; + char __data[0]; +}; + struct trace_event_raw_tcp_probe { struct trace_entry ent; __u8 saddr[28]; @@ -38854,6 +43275,8 @@ struct trace_event_raw_tcp_probe { __u32 srtt; __u32 rcv_wnd; __u64 sock_cookie; + const void *skbaddr; + const void *skaddr; char __data[0]; }; @@ -38871,10 +43294,21 @@ struct trace_event_raw_tcp_retransmit_synack { char __data[0]; }; -struct trace_event_raw_thermal_pressure_update { +struct trace_event_raw_tcp_send_reset { struct trace_entry ent; - long unsigned int thermal_pressure; - int cpu; + const void *skbaddr; + const void *skaddr; + int state; + enum sk_rst_reason reason; + __u8 saddr[28]; + __u8 daddr[28]; + char __data[0]; +}; + +struct trace_event_raw_timer_base_idle { + struct trace_entry ent; + bool is_idle; + unsigned int cpu; char __data[0]; }; @@ -38898,6 +43332,7 @@ struct trace_event_raw_timer_start { void *timer; void *function; long unsigned int expires; + long unsigned int bucket_expiry; long unsigned int now; unsigned int flags; char __data[0]; @@ -38913,7 +43348,11 @@ struct trace_event_raw_tlb_flush { struct trace_event_raw_udp_fail_queue_rcv_skb { struct trace_entry ent; int rc; - __u16 lport; + __u16 sport; + __u16 dport; + __u16 family; + __u8 saddr[28]; + __u8 daddr[28]; char __data[0]; }; @@ -38979,6 +43418,7 @@ struct trace_event_raw_wbc_class { struct trace_event_raw_workqueue_activate_work { struct trace_entry ent; void *work; + void *function; char __data[0]; }; @@ -39276,7 +43716,7 @@ struct trace_subsystem_dir { struct list_head list; struct event_subsystem *subsystem; struct trace_array *tr; - struct eventfs_file *ef; + struct eventfs_inode *ei; int ref_count; int nr_events; }; @@ -39285,11 +43725,11 @@ struct trace_uprobe { struct dyn_event devent; struct uprobe_consumer consumer; struct path path; - struct inode *inode; char *filename; + struct uprobe *uprobe; long unsigned int offset; long unsigned int ref_ctr_offset; - long unsigned int nhit; + long unsigned int *nhits; struct trace_probe tp; }; @@ -39298,33 +43738,37 @@ struct tracefs_dir_ops { int (*rmdir)(const char *); }; -struct tracefs_mount_opts { +struct tracefs_fs_info { kuid_t uid; kgid_t gid; umode_t mode; unsigned int opts; }; -struct tracefs_fs_info { - struct tracefs_mount_opts mount_opts; -}; - struct tracefs_inode { + struct inode vfs_inode; + struct list_head list; long unsigned int flags; void *private; - struct inode vfs_inode; }; +struct tracepoint_ext; + struct tracepoint { const char *name; - struct static_key key; + struct static_key_false key; struct static_call_key *static_call_key; void *static_call_tramp; void *iterator; void *probestub; - int (*regfunc)(); - void (*unregfunc)(); struct tracepoint_func *funcs; + struct tracepoint_ext *ext; +}; + +struct tracepoint_ext { + int (*regfunc)(void); + void (*unregfunc)(void); + unsigned int faultable: 1; }; struct traceprobe_parse_context { @@ -39337,6 +43781,7 @@ struct traceprobe_parse_context { const struct btf_type *last_type; u32 last_bitoffs; u32 last_bitsize; + struct trace_probe *tp; unsigned int flags; int offset; }; @@ -39444,9 +43889,29 @@ struct ts_state { char cb[48]; }; +struct tsconfig_reply_data { + struct ethnl_reply_data base; + struct hwtstamp_provider_desc hwprov_desc; + struct { + u32 tx_type; + u32 rx_filter; + u32 flags; + } hwtst_config; +}; + +struct tsconfig_req_info { + struct ethnl_req_info base; +}; + struct tsinfo_reply_data { struct ethnl_reply_data base; - struct ethtool_ts_info ts_info; + struct kernel_ethtool_ts_info ts_info; + struct ethtool_ts_stats stats; +}; + +struct tsinfo_req_info { + struct ethnl_req_info base; + struct hwtstamp_provider_desc hwprov_desc; }; struct tso_t { @@ -39572,9 +44037,10 @@ struct tty_operations { void (*hangup)(struct tty_struct *); int (*break_ctl)(struct tty_struct *, int); void (*flush_buffer)(struct tty_struct *); + int (*ldisc_ok)(struct tty_struct *, int); void (*set_ldisc)(struct tty_struct *); void (*wait_until_sent)(struct tty_struct *, int); - void (*send_xchar)(struct tty_struct *, char); + void (*send_xchar)(struct tty_struct *, u8); int (*tiocmget)(struct tty_struct *); int (*tiocmset)(struct tty_struct *, unsigned int, unsigned int); int (*resize)(struct tty_struct *, struct winsize *); @@ -39605,17 +44071,17 @@ struct tty_port { unsigned char console: 1; struct mutex mutex; struct mutex buf_mutex; - unsigned char *xmit_buf; + u8 *xmit_buf; struct { union { struct __kfifo kfifo; - unsigned char *type; - const unsigned char *const_type; + u8 *type; + const u8 *const_type; char (*rectype)[0]; - unsigned char *ptr; - const unsigned char *ptr_const; + u8 *ptr; + const u8 *ptr_const; }; - unsigned char buf[0]; + u8 buf[0]; } xmit_fifo; unsigned int close_delay; unsigned int closing_wait; @@ -39670,7 +44136,6 @@ struct tty_struct { spinlock_t lock; bool stopped; bool tco_stopped; - long unsigned int unused[0]; } flow; struct { struct pid *pgrp; @@ -39678,7 +44143,6 @@ struct tty_struct { spinlock_t lock; unsigned char pktstatus; bool packet; - long unsigned int unused[0]; } ctrl; bool hw_stopped; bool closing; @@ -39692,7 +44156,7 @@ struct tty_struct { void *driver_data; spinlock_t files_lock; int write_cnt; - unsigned char *write_buf; + u8 *write_buf; struct list_head tty_files; struct work_struct SAK_work; }; @@ -39702,8 +44166,10 @@ struct u32_fract { __u32 denominator; }; +struct ubuf_info_ops; + struct ubuf_info { - void (*callback)(struct sk_buff *, struct ubuf_info *, bool); + const struct ubuf_info_ops *ops; refcount_t refcnt; u8 flags; }; @@ -39725,6 +44191,11 @@ struct ubuf_info_msgzc { struct mmpin mmp; }; +struct ubuf_info_ops { + void (*complete)(struct sk_buff *, struct ubuf_info *, bool); + int (*link_skb)(struct sk_buff *, struct ubuf_info *); +}; + struct ucounts { struct hlist_node node; struct user_namespace *ns; @@ -39742,21 +44213,15 @@ struct ucred { struct udp_sock { struct inet_sock inet; + long unsigned int udp_flags; int pending; - unsigned int corkflag; __u8 encap_type; - unsigned char no_check6_tx: 1; - unsigned char no_check6_rx: 1; - unsigned char encap_enabled: 1; - unsigned char gro_enabled: 1; - unsigned char accept_udp_l4: 1; - unsigned char accept_udp_fraglist: 1; + __u16 udp_lrpa_hash; + struct hlist_nulls_node udp_lrpa_node; __u16 len; __u16 gso_size; __u16 pcslen; __u16 pcrlen; - __u8 pcflag; - __u8 unused[3]; int (*encap_rcv)(struct sock *, struct sk_buff *); void (*encap_err_rcv)(struct sock *, struct sk_buff *, int, __be16, u32, u8 *); int (*encap_err_lookup)(struct sock *, struct sk_buff *); @@ -39766,6 +44231,7 @@ struct udp_sock { struct sk_buff_head reader_queue; int forward_deficit; int forward_threshold; + bool peeking_with_offset; }; struct udp6_sock { @@ -39781,11 +44247,20 @@ struct udp_dev_scratch { }; struct udp_hslot { - struct hlist_head head; + union { + struct hlist_head head; + struct hlist_nulls_head nulls_head; + }; int count; spinlock_t lock; }; +struct udp_hslot_main { + struct udp_hslot hslot; + u32 hash4_cnt; + long: 64; +}; + struct udp_mib { long unsigned int mibs[10]; }; @@ -39801,7 +44276,8 @@ struct udp_skb_cb { struct udp_table { struct udp_hslot *hash; - struct udp_hslot *hash2; + struct udp_hslot_main *hash2; + struct udp_hslot *hash4; unsigned int mask; unsigned int log; }; @@ -39856,27 +44332,46 @@ struct uevent_sock { struct sock *sk; }; -struct uid_gid_extent { - u32 first; - u32 lower_first; - u32 count; +struct uncached_list { + spinlock_t lock; + struct list_head head; }; -struct uid_gid_map { - u32 nr_extents; - union { - struct uid_gid_extent extent[5]; - struct { - struct uid_gid_extent *forward; - struct uid_gid_extent *reverse; - }; - }; +struct unix_address { + refcount_t refcnt; + int len; + struct sockaddr_un name[0]; }; -struct uncached_list { +struct unix_vertex; + +struct unix_sock { + struct sock sk; + struct unix_address *addr; + struct path path; + struct mutex iolock; + struct mutex bindlock; + struct sock *peer; + struct sock *listener; + struct unix_vertex *vertex; spinlock_t lock; - struct list_head head; - struct list_head quarantine; + struct socket_wq peer_wq; + wait_queue_entry_t peer_wake; + struct scm_stat scm_stat; +}; + +struct unix_vertex { + struct list_head edges; + struct list_head entry; + struct list_head scc_entry; + long unsigned int out_degree; + long unsigned int index; + long unsigned int scc_index; +}; + +struct unlink_vma_file_batch { + int count; + struct vm_area_struct *vmas[8]; }; union upper_chunk { @@ -39890,8 +44385,12 @@ struct uprobe { struct rw_semaphore register_rwsem; struct rw_semaphore consumer_rwsem; struct list_head pending_list; - struct uprobe_consumer *consumers; + struct list_head consumers; struct inode *inode; + union { + struct callback_head rcu; + struct work_struct work; + }; loff_t offset; loff_t ref_ctr_offset; long unsigned int flags; @@ -39901,6 +44400,7 @@ struct uprobe { struct uprobe_cpu_buffer { struct mutex mutex; void *buf; + int dsize; }; struct uprobe_dispatch_data { @@ -39910,6 +44410,11 @@ struct uprobe_dispatch_data { struct uprobe_task { enum uprobe_task_state state; + unsigned int depth; + struct return_instance *return_instances; + struct return_instance *ri_pool; + struct timer_list ri_timer; + seqcount_t ri_seqcount; union { struct { struct arch_uprobe_task autask; @@ -39922,8 +44427,7 @@ struct uprobe_task { }; struct uprobe *active_uprobe; long unsigned int xol_vaddr; - struct return_instance *return_instances; - unsigned int depth; + struct arch_uprobe *auprobe; }; struct uprobe_trace_entry_head { @@ -39936,6 +44440,11 @@ struct used_address { unsigned int name_len; }; +struct used_bucket { + struct list_head head; + struct hlist_head *bucket; +}; + struct user_arg_ptr { union { const char * const *native; @@ -40054,7 +44563,12 @@ struct vdso_data { s32 tz_dsttime; u32 hrtimer_res; u32 __unused; - struct arch_vdso_data arch_data; + struct arch_vdso_time_data arch_data; +}; + +union vdso_data_store { + struct vdso_data data[2]; + u8 page[4096]; }; struct vfree_deferred { @@ -40172,6 +44686,7 @@ struct vm_special_mapping { struct page **pages; vm_fault_t (*fault)(const struct vm_special_mapping *, struct vm_area_struct *, struct vm_fault *); int (*mremap)(const struct vm_special_mapping *, struct vm_area_struct *); + void (*close)(const struct vm_special_mapping *, struct vm_area_struct *); }; struct vm_struct { @@ -40193,10 +44708,32 @@ struct vm_unmapped_area_info { long unsigned int high_limit; long unsigned int align_mask; long unsigned int align_offset; + long unsigned int start_gap; }; -struct vma_iterator { - struct ma_state mas; +struct vma_list { + struct vm_area_struct *vma; + struct list_head head; + refcount_t mmap_count; +}; + +struct vma_merge_struct { + struct mm_struct *mm; + struct vma_iterator *vmi; + long unsigned int pgoff; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct vm_area_struct *vma; + long unsigned int start; + long unsigned int end; + long unsigned int flags; + struct file *file; + struct anon_vma *anon_vma; + struct mempolicy *policy; + struct vm_userfaultfd_ctx uffd_ctx; + struct anon_vma_name *anon_name; + enum vma_merge_flags merge_flags; + enum vma_merge_state state; }; struct vma_prepare { @@ -40233,6 +44770,7 @@ struct vmap_block { struct list_head free_list; struct callback_head callback_head; struct list_head purge; + unsigned int cpu; }; struct vmap_block_queue { @@ -40241,12 +44779,28 @@ struct vmap_block_queue { struct xarray vmap_blocks; }; +struct vmap_pool { + struct list_head head; + long unsigned int len; +}; + +struct vmap_node { + struct vmap_pool pool[256]; + spinlock_t pool_lock; + bool skip_populate; + struct rb_list busy; + struct rb_list lazy; + struct list_head purge_list; + struct work_struct purge_work; + long unsigned int nr_purged; +}; + struct vxlan_metadata { u32 gbp; }; struct wait_bit_key { - void *flags; + long unsigned int *flags; int bit_nr; long unsigned int timeout; }; @@ -40343,6 +44897,12 @@ struct word_at_a_time { const long unsigned int high_bits; }; +struct work_offq_data { + u32 pool_id; + u32 disable; + u32 flags; +}; + struct worker { union { struct list_head entry; @@ -40362,7 +44922,7 @@ struct worker { long unsigned int last_active; unsigned int flags; int id; - char desc[24]; + char desc[32]; struct workqueue_struct *rescue_wq; }; @@ -40385,8 +44945,6 @@ struct worker_pool { struct hlist_head busy_hash[64]; struct worker *manager; struct list_head workers; - struct list_head dying_workers; - struct completion *detach_completion; struct ida worker_ida; struct workqueue_attrs *attrs; struct hlist_node hash_node; @@ -40405,6 +44963,8 @@ struct workqueue_attrs { struct wq_flusher; +struct wq_node_nr_active; + struct workqueue_struct { struct list_head pwqs; struct list_head list; @@ -40418,20 +44978,21 @@ struct workqueue_struct { struct list_head maydays; struct worker *rescuer; int nr_drainers; + int max_active; + int min_active; int saved_max_active; + int saved_min_active; struct workqueue_attrs *unbound_attrs; struct pool_workqueue *dfl_pwq; - char name[24]; + char name[32]; struct callback_head rcu; long: 64; long: 64; long: 64; long: 64; - long: 64; - long: 64; - long: 64; unsigned int flags; struct pool_workqueue **cpu_pwq; + struct wq_node_nr_active *node_nr_active[0]; long: 64; long: 64; long: 64; @@ -40446,12 +45007,25 @@ struct wq_barrier { struct task_struct *task; }; +struct wq_drain_dead_softirq_work { + struct work_struct work; + struct worker_pool *pool; + struct completion done; +}; + struct wq_flusher { struct list_head list; int flush_color; struct completion done; }; +struct wq_node_nr_active { + int max; + atomic_t nr; + raw_spinlock_t lock; + struct list_head pending_pwqs; +}; + struct wq_pod_type { int nr_pods; cpumask_var_t *pod_cpus; @@ -40480,9 +45054,13 @@ struct writeback_control { unsigned int for_reclaim: 1; unsigned int range_cyclic: 1; unsigned int for_sync: 1; - unsigned int unpinned_fscache_wb: 1; + unsigned int unpinned_netfs_wb: 1; unsigned int no_cgroup_owner: 1; struct swap_iocb **swap_plug; + struct list_head *list; + struct folio_batch fbatch; + long unsigned int index; + int saved_err; }; struct ww_acquire_ctx { @@ -40514,7 +45092,7 @@ struct xa_node { struct list_head private_list; struct callback_head callback_head; }; - void *slots[16]; + void *slots[64]; union { long unsigned int tags[3]; long unsigned int marks[3]; @@ -40536,17 +45114,10 @@ struct xa_state { struct list_lru *xa_lru; }; -struct xattr_name; - -struct xattr_ctx { - union { - const void *cvalue; - void *value; - }; - void *kvalue; - size_t size; - struct xattr_name *kname; - unsigned int flags; +struct xattr_args { + __u64 value; + __u32 size; + __u32 flags; }; struct xattr_handler { @@ -40573,9 +45144,8 @@ struct xdp_buff_xsk { dma_addr_t dma; dma_addr_t frame_dma; struct xsk_buff_pool *pool; - u64 orig_addr; - struct list_head free_list_node; - struct list_head xskb_list_node; + struct list_head list_node; + long: 64; }; struct xdp_bulk_queue { @@ -40608,10 +45178,10 @@ struct xdp_dev_bulk_queue { struct xdp_frame { void *data; - u16 len; - u16 headroom; + u32 len; + u32 headroom; u32 metasize; - struct xdp_mem_info mem; + enum xdp_mem_type mem_type: 32; struct net_device *dev_rx; u32 frame_sz; u32 flags; @@ -40619,8 +45189,7 @@ struct xdp_frame { struct xdp_frame_bulk { int count; - void *xa; - void *q[16]; + netmem_ref q[16]; }; struct xdp_mem_allocator { @@ -40636,6 +45205,7 @@ struct xdp_mem_allocator { struct xdp_metadata_ops { int (*xmo_rx_timestamp)(const struct xdp_md *, u64 *); int (*xmo_rx_hash)(const struct xdp_md *, u32 *, enum xdp_rss_hash_type *); + int (*xmo_rx_vlan_tag)(const struct xdp_md *, __be16 *, u16 *); }; struct xdp_page_head { @@ -40674,6 +45244,7 @@ struct xdp_sock { } state; struct xsk_queue *tx; struct list_head tx_list; + u32 tx_budget_spent; spinlock_t rx_lock; u64 rx_dropped; u64 rx_queue_full; @@ -40720,6 +45291,7 @@ struct xdp_umem { struct user_struct *user; refcount_t users; u8 flags; + u8 tx_metadata_len; bool zc; struct page **pgs; int id; @@ -40807,6 +45379,20 @@ struct xfrm_mode { u8 flags; }; +struct xfrm_mode_cbs { + struct module *owner; + int (*init_state)(struct xfrm_state *); + int (*clone_state)(struct xfrm_state *, struct xfrm_state *); + void (*destroy_state)(struct xfrm_state *); + int (*user_init)(struct net *, struct xfrm_state *, struct nlattr **, struct netlink_ext_ack *); + int (*copy_to_user)(struct xfrm_state *, struct sk_buff *); + unsigned int (*sa_len)(const struct xfrm_state *); + u32 (*get_inner_mtu)(struct xfrm_state *, int); + int (*input)(struct xfrm_state *, struct sk_buff *); + int (*output)(struct net *, struct sock *, struct sk_buff *); + int (*prepare_output)(struct xfrm_state *, struct sk_buff *); +}; + struct xfrm_replay_state { __u32 oseq; __u32 seq; @@ -40871,11 +45457,17 @@ struct xfrm_state { struct hlist_node gclist; struct hlist_node bydst; }; - struct hlist_node bysrc; + union { + struct hlist_node dev_gclist; + struct hlist_node bysrc; + }; struct hlist_node byspi; struct hlist_node byseq; + struct hlist_node state_cache; + struct hlist_node state_cache_input; refcount_t refcnt; spinlock_t lock; + u32 pcpu_num; struct xfrm_id id; struct xfrm_selector sel; struct xfrm_mark mark; @@ -40894,6 +45486,7 @@ struct xfrm_state { u16 family; xfrm_address_t saddr; int header_len; + int enc_hdr_len; int trailer_len; u32 extra_flags; struct xfrm_mark smark; @@ -40909,6 +45502,8 @@ struct xfrm_state { u32 mapping_maxage; struct xfrm_encap_tmpl *encap; struct sock *encap_sk; + u32 nat_keepalive_interval; + time64_t nat_keepalive_expiration; xfrm_address_t *coaddr; struct xfrm_state *tunnel; atomic_t tunnel_users; @@ -40935,6 +45530,9 @@ struct xfrm_state { const struct xfrm_type_offload *type_offload; struct xfrm_sec_ctx *security; void *data; + u8 dir; + const struct xfrm_mode_cbs *mode_cbs; + void *mode_data; }; struct xfrm_tunnel { @@ -40966,10 +45564,8 @@ struct xfrm_type_offload { struct xol_area { wait_queue_head_t wq; - atomic_t slot_count; long unsigned int *bitmap; - struct vm_special_mapping xol_mapping; - struct page *pages[2]; + struct page *page; long unsigned int vaddr; }; @@ -40999,18 +45595,27 @@ struct xsk_buff_pool { u32 chunk_size; u32 chunk_shift; u32 frame_len; + u32 xdp_zc_max_segs; + u8 tx_metadata_len; u8 cached_need_wakeup; bool uses_need_wakeup; - bool dma_need_sync; bool unaligned; + bool tx_sw_csum; void *addrs; spinlock_t cq_lock; struct xdp_buff_xsk *free_heads[0]; }; +struct xsk_tx_metadata_ops { + void (*tmo_request_timestamp)(void *); + u64 (*tmo_fill_timestamp)(void *); + void (*tmo_request_checksum)(u16, u16, void *); +}; + struct zap_details { struct folio *single_folio; bool even_cows; + bool reclaim_pt; zap_flags_t zap_flags; }; @@ -41050,8 +45655,6 @@ typedef u64 (*btf_bpf_csum_level)(struct sk_buff *, u64); typedef u64 (*btf_bpf_csum_update)(struct sk_buff *, __wsum); -typedef u64 (*btf_bpf_current_task_under_cgroup)(struct bpf_map *, u32); - typedef u64 (*btf_bpf_d_path)(struct path *, char *, u32); typedef u64 (*btf_bpf_dynptr_data)(const struct bpf_dynptr_kern *, u32, u32); @@ -41086,13 +45689,13 @@ typedef u64 (*btf_bpf_get_cgroup_classid)(const struct sk_buff *); typedef u64 (*btf_bpf_get_current_comm)(char *, u32); -typedef u64 (*btf_bpf_get_current_pid_tgid)(); +typedef u64 (*btf_bpf_get_current_pid_tgid)(void); -typedef u64 (*btf_bpf_get_current_task)(); +typedef u64 (*btf_bpf_get_current_task)(void); -typedef u64 (*btf_bpf_get_current_task_btf)(); +typedef u64 (*btf_bpf_get_current_task_btf)(void); -typedef u64 (*btf_bpf_get_current_uid_gid)(); +typedef u64 (*btf_bpf_get_current_uid_gid)(void); typedef u64 (*btf_bpf_get_func_ip_kprobe)(struct pt_regs *); @@ -41106,6 +45709,8 @@ typedef u64 (*btf_bpf_get_hash_recalc)(struct sk_buff *); typedef u64 (*btf_bpf_get_listener_sock)(struct sock *); +typedef u64 (*btf_bpf_get_netns_cookie)(struct sk_buff *); + typedef u64 (*btf_bpf_get_netns_cookie_sk_msg)(struct sk_msg *); typedef u64 (*btf_bpf_get_netns_cookie_sock)(struct sock *); @@ -41116,13 +45721,13 @@ typedef u64 (*btf_bpf_get_netns_cookie_sock_ops)(struct bpf_sock_ops_kern *); typedef u64 (*btf_bpf_get_ns_current_pid_tgid)(u64, u64, struct bpf_pidns_info *, u32); -typedef u64 (*btf_bpf_get_numa_node_id)(); +typedef u64 (*btf_bpf_get_numa_node_id)(void); -typedef u64 (*btf_bpf_get_raw_cpu_id)(); +typedef u64 (*btf_bpf_get_raw_cpu_id)(void); typedef u64 (*btf_bpf_get_route_realm)(const struct sk_buff *); -typedef u64 (*btf_bpf_get_smp_processor_id)(); +typedef u64 (*btf_bpf_get_smp_processor_id)(void); typedef u64 (*btf_bpf_get_socket_cookie)(struct sk_buff *); @@ -41142,6 +45747,8 @@ typedef u64 (*btf_bpf_get_stack_pe)(struct bpf_perf_event_data_kern *, void *, u typedef u64 (*btf_bpf_get_stack_raw_tp)(struct bpf_raw_tracepoint_args *, void *, u32, u64); +typedef u64 (*btf_bpf_get_stack_sleepable)(struct pt_regs *, void *, u32, u64); + typedef u64 (*btf_bpf_get_stack_tp)(void *, void *, u32, u64); typedef u64 (*btf_bpf_get_stackid)(struct pt_regs *, struct bpf_map *, u64); @@ -41154,19 +45761,21 @@ typedef u64 (*btf_bpf_get_stackid_tp)(void *, struct bpf_map *, u64); typedef u64 (*btf_bpf_get_task_stack)(struct task_struct *, void *, u32, u64); -typedef u64 (*btf_bpf_jiffies64)(); +typedef u64 (*btf_bpf_get_task_stack_sleepable)(struct task_struct *, void *, u32, u64); + +typedef u64 (*btf_bpf_jiffies64)(void); typedef u64 (*btf_bpf_kallsyms_lookup_name)(const char *, int, int, u64 *); typedef u64 (*btf_bpf_kptr_xchg)(void *, void *); -typedef u64 (*btf_bpf_ktime_get_boot_ns)(); +typedef u64 (*btf_bpf_ktime_get_boot_ns)(void); -typedef u64 (*btf_bpf_ktime_get_coarse_ns)(); +typedef u64 (*btf_bpf_ktime_get_coarse_ns)(void); -typedef u64 (*btf_bpf_ktime_get_ns)(); +typedef u64 (*btf_bpf_ktime_get_ns)(void); -typedef u64 (*btf_bpf_ktime_get_tai_ns)(); +typedef u64 (*btf_bpf_ktime_get_tai_ns)(void); typedef u64 (*btf_bpf_l3_csum_replace)(struct sk_buff *, u32, u64, u64, u64); @@ -41414,9 +46023,9 @@ typedef u64 (*btf_bpf_spin_unlock)(struct bpf_spin_lock *); typedef u64 (*btf_bpf_strncmp)(const char *, u32, const char *); -typedef u64 (*btf_bpf_strtol)(const char *, size_t, u64, long int *); +typedef u64 (*btf_bpf_strtol)(const char *, size_t, u64, s64 *); -typedef u64 (*btf_bpf_strtoul)(const char *, size_t, u64, long unsigned int *); +typedef u64 (*btf_bpf_strtoul)(const char *, size_t, u64, u64 *); typedef u64 (*btf_bpf_sys_bpf)(int, union bpf_attr *, u32); @@ -41448,13 +46057,13 @@ typedef u64 (*btf_bpf_tcp_sock)(struct sock *); typedef u64 (*btf_bpf_this_cpu_ptr)(const void *); -typedef u64 (*btf_bpf_timer_cancel)(struct bpf_timer_kern *); +typedef u64 (*btf_bpf_timer_cancel)(struct bpf_async_kern *); -typedef u64 (*btf_bpf_timer_init)(struct bpf_timer_kern *, struct bpf_map *, u64); +typedef u64 (*btf_bpf_timer_init)(struct bpf_async_kern *, struct bpf_map *, u64); -typedef u64 (*btf_bpf_timer_set_callback)(struct bpf_timer_kern *, void *, struct bpf_prog_aux *); +typedef u64 (*btf_bpf_timer_set_callback)(struct bpf_async_kern *, void *, struct bpf_prog_aux *); -typedef u64 (*btf_bpf_timer_start)(struct bpf_timer_kern *, u64, u64); +typedef u64 (*btf_bpf_timer_start)(struct bpf_async_kern *, u64, u64); typedef u64 (*btf_bpf_trace_printk)(char *, u32, u64, u64, u64); @@ -41466,7 +46075,7 @@ typedef u64 (*btf_bpf_unlocked_sk_setsockopt)(struct sock *, int, int, char *, i typedef u64 (*btf_bpf_user_ringbuf_drain)(struct bpf_map *, void *, void *, u64); -typedef u64 (*btf_bpf_user_rnd_u32)(); +typedef u64 (*btf_bpf_user_rnd_u32)(void); typedef u64 (*btf_bpf_xdp_adjust_head)(struct xdp_buff *, int); @@ -41534,8 +46143,12 @@ typedef void (*btf_trace_bpf_test_finish)(void *, int *); typedef void (*btf_trace_bpf_trace_printk)(void *, const char *); +typedef void (*btf_trace_bpf_trigger_tp)(void *, int); + typedef void (*btf_trace_bpf_xdp_link_attach_failed)(void *, const char *); +typedef void (*btf_trace_cap_capable)(void *, const struct cred *, struct user_namespace *, const struct user_namespace *, int, int); + typedef void (*btf_trace_clk_disable)(void *, struct clk_core *); typedef void (*btf_trace_clk_disable_complete)(void *, struct clk_core *); @@ -41606,6 +46219,10 @@ typedef void (*btf_trace_cpuhp_exit)(void *, unsigned int, int, int, int); typedef void (*btf_trace_cpuhp_multi_enter)(void *, unsigned int, int, int, int (*)(unsigned int, struct hlist_node *), struct hlist_node *); +typedef void (*btf_trace_ctime_ns_xchg)(void *, struct inode *, u32, u32, u32); + +typedef void (*btf_trace_ctime_xchg_skip)(void *, struct inode *, struct timespec64 *); + typedef void (*btf_trace_dev_pm_qos_add_request)(void *, const char *, enum dev_pm_qos_req_type, s32); typedef void (*btf_trace_dev_pm_qos_remove_request)(void *, const char *, enum dev_pm_qos_req_type, s32); @@ -41618,6 +46235,44 @@ typedef void (*btf_trace_device_pm_callback_start)(void *, struct device *, cons typedef void (*btf_trace_devres_log)(void *, struct device *, const char *, void *, const char *, size_t); +typedef void (*btf_trace_dma_alloc)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_pages)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_sgt)(void *, struct device *, struct sg_table *, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_sgt_err)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_free)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_free_pages)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_free_sgt)(void *, struct device *, struct sg_table *, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_map_page)(void *, struct device *, phys_addr_t, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_resource)(void *, struct device *, phys_addr_t, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_sg)(void *, struct device *, struct scatterlist *, int, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_sg_err)(void *, struct device *, struct scatterlist *, int, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_sync_sg_for_cpu)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_sg_for_device)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_single_for_cpu)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_single_for_device)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_unmap_page)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_unmap_resource)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_unmap_sg)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dql_stall_detected)(void *, short unsigned int, unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int *); + typedef void (*btf_trace_error_report_end)(void *, enum error_detector, long unsigned int); typedef void (*btf_trace_exit_mmap)(void *, struct mm_struct *); @@ -41630,6 +46285,8 @@ typedef void (*btf_trace_file_check_and_advance_wb_err)(void *, struct file *, e typedef void (*btf_trace_filemap_set_wb_err)(void *, struct address_space *, errseq_t); +typedef void (*btf_trace_fill_mg_cmtime)(void *, struct inode *, struct timespec64 *, struct timespec64 *); + typedef void (*btf_trace_finish_task_reaping)(void *, int); typedef void (*btf_trace_folio_wait_writeback)(void *, struct folio *, struct address_space *); @@ -41650,6 +46307,10 @@ typedef void (*btf_trace_hrtimer_init)(void *, struct hrtimer *, clockid_t, enum typedef void (*btf_trace_hrtimer_start)(void *, struct hrtimer *, enum hrtimer_mode); +typedef void (*btf_trace_hw_pressure_update)(void *, int, long unsigned int); + +typedef void (*btf_trace_icmp_send)(void *, const struct sk_buff *, int, int); + typedef void (*btf_trace_inet_sk_error_report)(void *, const struct sock *); typedef void (*btf_trace_inet_sock_set_state)(void *, const struct sock *, const int, const int); @@ -41660,6 +46321,8 @@ typedef void (*btf_trace_initcall_level)(void *, const char *); typedef void (*btf_trace_initcall_start)(void *, initcall_t); +typedef void (*btf_trace_inode_set_ctime_to_ts)(void *, struct inode *, struct timespec64 *); + typedef void (*btf_trace_ipi_entry)(void *, const char *); typedef void (*btf_trace_ipi_exit)(void *, const char *); @@ -41674,13 +46337,37 @@ typedef void (*btf_trace_irq_handler_entry)(void *, int, struct irqaction *); typedef void (*btf_trace_irq_handler_exit)(void *, int, struct irqaction *, int); +typedef void (*btf_trace_irq_matrix_alloc)(void *, int, unsigned int, struct irq_matrix *, struct cpumap *); + +typedef void (*btf_trace_irq_matrix_alloc_managed)(void *, int, unsigned int, struct irq_matrix *, struct cpumap *); + +typedef void (*btf_trace_irq_matrix_alloc_reserved)(void *, int, unsigned int, struct irq_matrix *, struct cpumap *); + +typedef void (*btf_trace_irq_matrix_assign)(void *, int, unsigned int, struct irq_matrix *, struct cpumap *); + +typedef void (*btf_trace_irq_matrix_assign_system)(void *, int, struct irq_matrix *); + +typedef void (*btf_trace_irq_matrix_free)(void *, int, unsigned int, struct irq_matrix *, struct cpumap *); + +typedef void (*btf_trace_irq_matrix_offline)(void *, struct irq_matrix *); + +typedef void (*btf_trace_irq_matrix_online)(void *, struct irq_matrix *); + +typedef void (*btf_trace_irq_matrix_remove_managed)(void *, int, unsigned int, struct irq_matrix *, struct cpumap *); + +typedef void (*btf_trace_irq_matrix_remove_reserved)(void *, struct irq_matrix *); + +typedef void (*btf_trace_irq_matrix_reserve)(void *, struct irq_matrix *); + +typedef void (*btf_trace_irq_matrix_reserve_managed)(void *, int, unsigned int, struct irq_matrix *, struct cpumap *); + typedef void (*btf_trace_itimer_expire)(void *, int, struct pid *, long long unsigned int); typedef void (*btf_trace_itimer_state)(void *, int, const struct itimerspec64 * const, long long unsigned int); typedef void (*btf_trace_kfree)(void *, long unsigned int, const void *); -typedef void (*btf_trace_kfree_skb)(void *, struct sk_buff *, void *, enum skb_drop_reason); +typedef void (*btf_trace_kfree_skb)(void *, struct sk_buff *, void *, enum skb_drop_reason, struct sock *); typedef void (*btf_trace_kmalloc)(void *, long unsigned int, const void *, size_t, size_t, gfp_t, int); @@ -41694,7 +46381,7 @@ typedef void (*btf_trace_ma_read)(void *, const char *, struct ma_state *); typedef void (*btf_trace_ma_write)(void *, const char *, struct ma_state *, long unsigned int, void *); -typedef void (*btf_trace_mark_victim)(void *, int); +typedef void (*btf_trace_mark_victim)(void *, struct task_struct *, uid_t); typedef void (*btf_trace_mem_connect)(void *, const struct xdp_mem_allocator *, const struct xdp_rxq_info *); @@ -41702,15 +46389,23 @@ typedef void (*btf_trace_mem_disconnect)(void *, const struct xdp_mem_allocator typedef void (*btf_trace_mem_return_failed)(void *, const struct xdp_mem_info *, const struct page *); +typedef void (*btf_trace_mm_alloc_contig_migrate_range_info)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int); + typedef void (*btf_trace_mm_filemap_add_to_page_cache)(void *, struct folio *); typedef void (*btf_trace_mm_filemap_delete_from_page_cache)(void *, struct folio *); +typedef void (*btf_trace_mm_filemap_fault)(void *, struct address_space *, long unsigned int); + +typedef void (*btf_trace_mm_filemap_get_pages)(void *, struct address_space *, long unsigned int, long unsigned int); + +typedef void (*btf_trace_mm_filemap_map_pages)(void *, struct address_space *, long unsigned int, long unsigned int); + typedef void (*btf_trace_mm_lru_activate)(void *, struct folio *); typedef void (*btf_trace_mm_lru_insertion)(void *, struct folio *); -typedef void (*btf_trace_mm_migrate_pages)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, enum migrate_mode, int); +typedef void (*btf_trace_mm_migrate_pages)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, enum migrate_mode, int); typedef void (*btf_trace_mm_migrate_pages_start)(void *, enum migrate_mode, int); @@ -41738,7 +46433,7 @@ typedef void (*btf_trace_mm_vmscan_kswapd_sleep)(void *, int); typedef void (*btf_trace_mm_vmscan_kswapd_wake)(void *, int, int, int); -typedef void (*btf_trace_mm_vmscan_lru_isolate)(void *, int, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, isolate_mode_t, int); +typedef void (*btf_trace_mm_vmscan_lru_isolate)(void *, int, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int); typedef void (*btf_trace_mm_vmscan_lru_shrink_active)(void *, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int, int); @@ -41748,17 +46443,19 @@ typedef void (*btf_trace_mm_vmscan_node_reclaim_begin)(void *, int, int, gfp_t); typedef void (*btf_trace_mm_vmscan_node_reclaim_end)(void *, long unsigned int); +typedef void (*btf_trace_mm_vmscan_reclaim_pages)(void *, int, long unsigned int, long unsigned int, struct reclaim_stat *); + typedef void (*btf_trace_mm_vmscan_throttled)(void *, int, int, int, int); typedef void (*btf_trace_mm_vmscan_wakeup_kswapd)(void *, int, int, int, gfp_t); typedef void (*btf_trace_mm_vmscan_write_folio)(void *, struct folio *); -typedef void (*btf_trace_mmap_lock_acquire_returned)(void *, struct mm_struct *, const char *, bool, bool); +typedef void (*btf_trace_mmap_lock_acquire_returned)(void *, struct mm_struct *, bool, bool); -typedef void (*btf_trace_mmap_lock_released)(void *, struct mm_struct *, const char *, bool); +typedef void (*btf_trace_mmap_lock_released)(void *, struct mm_struct *, bool); -typedef void (*btf_trace_mmap_lock_start_locking)(void *, struct mm_struct *, const char *, bool); +typedef void (*btf_trace_mmap_lock_start_locking)(void *, struct mm_struct *, bool); typedef void (*btf_trace_module_free)(void *, struct module *); @@ -41826,9 +46523,9 @@ typedef void (*btf_trace_oom_score_adj_update)(void *, struct task_struct *); typedef void (*btf_trace_page_pool_release)(void *, const struct page_pool *, s32, u32, u32); -typedef void (*btf_trace_page_pool_state_hold)(void *, const struct page_pool *, const struct page *, u32); +typedef void (*btf_trace_page_pool_state_hold)(void *, const struct page_pool *, netmem_ref, u32); -typedef void (*btf_trace_page_pool_state_release)(void *, const struct page_pool *, const struct page *, u32); +typedef void (*btf_trace_page_pool_state_release)(void *, const struct page_pool *, netmem_ref, u32); typedef void (*btf_trace_page_pool_update_nid)(void *, const struct page_pool *, int); @@ -41836,14 +46533,14 @@ typedef void (*btf_trace_pelt_cfs_tp)(void *, struct cfs_rq *); typedef void (*btf_trace_pelt_dl_tp)(void *, struct rq *); +typedef void (*btf_trace_pelt_hw_tp)(void *, struct rq *); + typedef void (*btf_trace_pelt_irq_tp)(void *, struct rq *); typedef void (*btf_trace_pelt_rt_tp)(void *, struct rq *); typedef void (*btf_trace_pelt_se_tp)(void *, struct sched_entity *); -typedef void (*btf_trace_pelt_thermal_tp)(void *, struct rq *); - typedef void (*btf_trace_percpu_alloc_percpu)(void *, long unsigned int, bool, bool, size_t, size_t, void *, int, void *, size_t, gfp_t); typedef void (*btf_trace_percpu_alloc_percpu_fail)(void *, bool, bool, size_t, size_t); @@ -41894,6 +46591,12 @@ typedef void (*btf_trace_sb_clear_inode_writeback)(void *, struct inode *); typedef void (*btf_trace_sb_mark_inode_writeback)(void *, struct inode *); +typedef void (*btf_trace_sbi_call)(void *, int, int); + +typedef void (*btf_trace_sbi_return)(void *, int, long int, long int); + +typedef void (*btf_trace_sched_compute_energy_tp)(void *, struct task_struct *, int, long unsigned int, long unsigned int, long unsigned int); + typedef void (*btf_trace_sched_cpu_capacity_tp)(void *, struct rq *); typedef void (*btf_trace_sched_kthread_stop)(void *, struct task_struct *); @@ -41916,6 +46619,8 @@ typedef void (*btf_trace_sched_overutilized_tp)(void *, struct root_domain *, bo typedef void (*btf_trace_sched_pi_setprio)(void *, struct task_struct *, struct task_struct *); +typedef void (*btf_trace_sched_prepare_exec)(void *, struct task_struct *, struct linux_binprm *); + typedef void (*btf_trace_sched_process_exec)(void *, struct task_struct *, pid_t, struct linux_binprm *); typedef void (*btf_trace_sched_process_exit)(void *, struct task_struct *); @@ -41926,7 +46631,7 @@ typedef void (*btf_trace_sched_process_free)(void *, struct task_struct *); typedef void (*btf_trace_sched_process_wait)(void *, struct pid *); -typedef void (*btf_trace_sched_stat_runtime)(void *, struct task_struct *, u64, u64); +typedef void (*btf_trace_sched_stat_runtime)(void *, struct task_struct *, u64); typedef void (*btf_trace_sched_stick_numa)(void *, struct task_struct *, int, struct task_struct *, int); @@ -41988,18 +46693,46 @@ typedef void (*btf_trace_sys_exit)(void *, struct pt_regs *, long int); typedef void (*btf_trace_task_newtask)(void *, struct task_struct *, long unsigned int); +typedef void (*btf_trace_task_prctl_unknown)(void *, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int); + typedef void (*btf_trace_task_rename)(void *, struct task_struct *, const char *); typedef void (*btf_trace_tasklet_entry)(void *, struct tasklet_struct *, void *); typedef void (*btf_trace_tasklet_exit)(void *, struct tasklet_struct *, void *); +typedef void (*btf_trace_tcp_ao_handshake_failure)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_key_not_found)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_mismatch)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_rcv_sne_update)(void *, const struct sock *, __u32); + +typedef void (*btf_trace_tcp_ao_rnext_request)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_snd_sne_update)(void *, const struct sock *, __u32); + +typedef void (*btf_trace_tcp_ao_synack_no_key)(void *, const struct sock *, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_wrong_maclen)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + typedef void (*btf_trace_tcp_bad_csum)(void *, const struct sk_buff *); typedef void (*btf_trace_tcp_cong_state_set)(void *, struct sock *, const u8); typedef void (*btf_trace_tcp_destroy_sock)(void *, struct sock *); +typedef void (*btf_trace_tcp_hash_ao_required)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_bad_header)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_mismatch)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_required)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_unexpected)(void *, const struct sock *, const struct sk_buff *); + typedef void (*btf_trace_tcp_probe)(void *, struct sock *, struct sk_buff *); typedef void (*btf_trace_tcp_rcv_space_adjust)(void *, struct sock *); @@ -42010,9 +46743,9 @@ typedef void (*btf_trace_tcp_retransmit_skb)(void *, const struct sock *, const typedef void (*btf_trace_tcp_retransmit_synack)(void *, const struct sock *, const struct request_sock *); -typedef void (*btf_trace_tcp_send_reset)(void *, const struct sock *, const struct sk_buff *); +typedef void (*btf_trace_tcp_send_reset)(void *, const struct sock *, const struct sk_buff *, const enum sk_rst_reason); -typedef void (*btf_trace_thermal_pressure_update)(void *, int, long unsigned int); +typedef void (*btf_trace_timer_base_idle)(void *, bool, unsigned int); typedef void (*btf_trace_timer_cancel)(void *, struct timer_list *); @@ -42022,11 +46755,11 @@ typedef void (*btf_trace_timer_expire_exit)(void *, struct timer_list *); typedef void (*btf_trace_timer_init)(void *, struct timer_list *); -typedef void (*btf_trace_timer_start)(void *, struct timer_list *, long unsigned int, unsigned int); +typedef void (*btf_trace_timer_start)(void *, struct timer_list *, long unsigned int); typedef void (*btf_trace_tlb_flush)(void *, int, long unsigned int); -typedef void (*btf_trace_udp_fail_queue_rcv_skb)(void *, int, struct sock *); +typedef void (*btf_trace_udp_fail_queue_rcv_skb)(void *, int, struct sock *, struct sk_buff *); typedef void (*btf_trace_vm_unmapped_area)(void *, long unsigned int, struct vm_unmapped_area_info *); @@ -42118,6 +46851,10 @@ typedef struct vfsmount * (*debugfs_automount_t)(struct dentry *, void *); typedef void * (*devcon_match_fn_t)(const struct fwnode_handle *, const char *, void *); +typedef int (*device_iter_t)(struct device *, void *); + +typedef int (*device_match_t)(struct device *, const void *); + typedef int (*dr_match_t)(struct device *, void *, void *); typedef int (*dummy_ops_test_ret_fn)(struct bpf_dummy_ops_state *, ...); @@ -42130,11 +46867,11 @@ typedef int (*efi_memattr_perm_setter)(struct mm_struct *, efi_memory_desc_t *, typedef void (*ethnl_notify_handler_t)(struct net_device *, unsigned int, const void *); -typedef void (*exitcall_t)(); +typedef void (*exitcall_t)(void); typedef int filler_t(struct file *, struct folio *); -typedef bool (*filter_func_t)(struct uprobe_consumer *, enum uprobe_filter_ctx, struct mm_struct *); +typedef bool (*filter_func_t)(struct uprobe_consumer *, struct mm_struct *); typedef void free_folio_t(struct folio *, long unsigned int); @@ -42150,20 +46887,34 @@ typedef u32 inet_ehashfn_t(const struct net *, const __be32, const __u16, const typedef initcall_t initcall_entry_t; +struct xattr; + +typedef int (*initxattrs)(struct inode *, const struct xattr *, void *); + +typedef size_t (*iov_step_f)(void *, size_t, size_t, void *, void *); + +typedef size_t (*iov_ustep_f)(void *, size_t, size_t, void *, void *); + typedef void ip6_icmp_send_t(struct sk_buff *, u8, u8, __u32, const struct in6_addr *, const struct inet6_skb_parm *); +typedef void (*irq_write_msi_msg_t)(struct msi_desc *, struct msi_msg *); + typedef void (*jump_kernel_func)(long unsigned int, long unsigned int); typedef int (*list_cmp_func_t)(void *, const struct list_head *, const struct list_head *); -typedef enum lru_status (*list_lru_walk_cb)(struct list_head *, struct list_lru_one *, spinlock_t *, void *); +typedef enum lru_status (*list_lru_walk_cb)(struct list_head *, struct list_lru_one *, void *); typedef void (*move_fn_t)(struct lruvec *, struct folio *); +typedef int (*netlink_filter_fn)(struct sock *, struct sk_buff *, void *); + typedef struct folio *new_folio_t(struct folio *, long unsigned int); typedef struct ns_common *ns_get_path_helper_t(void *); +typedef int (*objpool_init_obj_cb)(void *, void *); + typedef void (*of_init_fn_1)(struct device_node *); typedef int (*of_init_fn_1_ret)(struct device_node *); @@ -42172,16 +46923,26 @@ typedef int (*of_init_fn_2)(struct device_node *, struct device_node *); typedef int (*parse_pred_fn)(const char *, void *, int, struct filter_parse_error *, struct filter_pred **); +typedef int (*parse_unknown_fn)(char *, char *, const char *, void *); + typedef void perf_iterate_f(struct perf_event *, void *); +typedef int perf_snapshot_branch_stack_t(struct perf_branch_entry *, unsigned int); + typedef struct rt6_info * (*pol_lookup_t)(struct net *, struct fib6_table *, struct flowi6 *, const struct sk_buff *, int); +typedef int (*pp_nl_fill_cb)(struct sk_buff *, const struct page_pool *, const struct genl_info *); + typedef int (*proc_visitor)(struct task_struct *, void *); typedef int (*pte_fn_t)(pte_t *, long unsigned int, void *); typedef int (*reservedmem_of_init_fn)(struct reserved_mem *); +typedef void (*rethook_handler_t)(struct rethook_node *, void *, long unsigned int, struct pt_regs *); + +typedef bool (*ring_buffer_cond_fn)(void *); + typedef int (*sendmsg_func)(struct sock *, struct msghdr *); typedef int (*set_callee_state_fn)(struct bpf_verifier_env *, struct bpf_func_state *, struct bpf_func_state *, int); @@ -42212,15 +46973,11 @@ typedef int wait_bit_action_f(struct wait_bit_key *, int); typedef int (*writepage_t)(struct folio *, struct writeback_control *, void *); -struct ahash_request; - -struct task_group; +struct net_bridge; struct iomap_ops; -struct net_bridge; - -struct nf_bridge_frag_data; +struct task_group; typedef void *acpi_handle; @@ -42230,37 +46987,123 @@ struct audit_buffer; struct audit_context; -struct bpf_cpu_map_entry; - -struct bpf_dtab_netdev; - struct bpf_iter; -struct btf_iter_num; - struct capture_control; -struct ftrace_func_mapper; - -struct kobj_map; - -struct metadata_dst; - struct nvmem_cell; -struct screen_info; - -struct sys_off_handler; - -struct task_struct; - -struct unix_sock; - -struct xfrm_state; - /* BPF kfuncs */ #ifndef BPF_NO_KFUNC_PROTOTYPES +extern void *bpf_arena_alloc_pages(void *p__map, void *addr__ign, u32 page_cnt, int node_id, u64 flags) __weak __ksym; +extern void bpf_arena_free_pages(void *p__map, void *ptr__ign, u32 page_cnt) __weak __ksym; +extern __bpf_fastcall void *bpf_cast_to_kern_ctx(void *obj) __weak __ksym; +extern int bpf_copy_from_user_str(void *dst, u32 dst__sz, const void *unsafe_ptr__ign, u64 flags) __weak __ksym; +extern struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_and(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_any_and_distribute(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_any_distribute(const struct cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_clear(struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_copy(struct bpf_cpumask *dst, const struct cpumask *src) __weak __ksym; +extern struct bpf_cpumask *bpf_cpumask_create(void) __weak __ksym; +extern bool bpf_cpumask_empty(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_first(const struct cpumask *cpumask) __weak __ksym; +extern u32 bpf_cpumask_first_and(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_full(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_intersects(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern void bpf_cpumask_or(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern void bpf_cpumask_release(struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_setall(struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_subset(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern bool bpf_cpumask_test_and_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_test_and_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __weak __ksym; +extern u32 bpf_cpumask_weight(const struct cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_xor(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern int bpf_dynptr_adjust(const struct bpf_dynptr *p, u32 start, u32 end) __weak __ksym; +extern int bpf_dynptr_clone(const struct bpf_dynptr *p, struct bpf_dynptr *clone__uninit) __weak __ksym; +extern int bpf_dynptr_from_skb(struct __sk_buff *s, u64 flags, struct bpf_dynptr *ptr__uninit) __weak __ksym; +extern int bpf_dynptr_from_xdp(struct xdp_md *x, u64 flags, struct bpf_dynptr *ptr__uninit) __weak __ksym; +extern bool bpf_dynptr_is_null(const struct bpf_dynptr *p) __weak __ksym; +extern bool bpf_dynptr_is_rdonly(const struct bpf_dynptr *p) __weak __ksym; +extern __u32 bpf_dynptr_size(const struct bpf_dynptr *p) __weak __ksym; +extern void *bpf_dynptr_slice(const struct bpf_dynptr *p, u32 offset, void *buffer__opt, u32 buffer__szk) __weak __ksym; +extern void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *p, u32 offset, void *buffer__opt, u32 buffer__szk) __weak __ksym; +extern int bpf_fentry_test1(int a) __weak __ksym; +extern struct kmem_cache *bpf_get_kmem_cache(u64 addr) __weak __ksym; +extern void bpf_iter_bits_destroy(struct bpf_iter_bits *it) __weak __ksym; +extern int bpf_iter_bits_new(struct bpf_iter_bits *it, const u64 *unsafe_ptr__ign, u32 nr_words) __weak __ksym; +extern int *bpf_iter_bits_next(struct bpf_iter_bits *it) __weak __ksym; +extern void bpf_iter_kmem_cache_destroy(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern int bpf_iter_kmem_cache_new(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern struct kmem_cache *bpf_iter_kmem_cache_next(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern void bpf_iter_num_destroy(struct bpf_iter_num *it) __weak __ksym; +extern int bpf_iter_num_new(struct bpf_iter_num *it, int start, int end) __weak __ksym; +extern int *bpf_iter_num_next(struct bpf_iter_num *it) __weak __ksym; +extern void bpf_iter_task_destroy(struct bpf_iter_task *it) __weak __ksym; +extern int bpf_iter_task_new(struct bpf_iter_task *it, struct task_struct *task__nullable, unsigned int flags) __weak __ksym; +extern struct task_struct *bpf_iter_task_next(struct bpf_iter_task *it) __weak __ksym; +extern void bpf_iter_task_vma_destroy(struct bpf_iter_task_vma *it) __weak __ksym; +extern int bpf_iter_task_vma_new(struct bpf_iter_task_vma *it, struct task_struct *task, u64 addr) __weak __ksym; +extern struct vm_area_struct *bpf_iter_task_vma_next(struct bpf_iter_task_vma *it) __weak __ksym; +extern void bpf_kfunc_call_memb_release(struct prog_test_member *p) __weak __ksym; +extern void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) __weak __ksym; +extern struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) __weak __ksym; +extern struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) __weak __ksym; +extern int bpf_list_push_back_impl(struct bpf_list_head *head, struct bpf_list_node *node, void *meta__ign, u64 off) __weak __ksym; +extern int bpf_list_push_front_impl(struct bpf_list_head *head, struct bpf_list_node *node, void *meta__ign, u64 off) __weak __ksym; +extern void bpf_local_irq_restore(long unsigned int *flags__irq_flag) __weak __ksym; +extern void bpf_local_irq_save(long unsigned int *flags__irq_flag) __weak __ksym; +extern s64 bpf_map_sum_elem_count(const struct bpf_map *map) __weak __ksym; +extern int bpf_modify_return_test(int a, int *b) __weak __ksym; +extern int bpf_modify_return_test2(int a, int *b, short int c, int d, void *e, char f, int g) __weak __ksym; +extern int bpf_modify_return_test_tp(int nonce) __weak __ksym; +extern void bpf_obj_drop_impl(void *p__alloc, void *meta__ign) __weak __ksym; +extern void *bpf_obj_new_impl(u64 local_type_id__k, void *meta__ign) __weak __ksym; +extern void bpf_percpu_obj_drop_impl(void *p__alloc, void *meta__ign) __weak __ksym; +extern void *bpf_percpu_obj_new_impl(u64 local_type_id__k, void *meta__ign) __weak __ksym; +extern void bpf_preempt_disable(void) __weak __ksym; +extern void bpf_preempt_enable(void) __weak __ksym; +extern int bpf_rbtree_add_impl(struct bpf_rb_root *root, struct bpf_rb_node *node, bool (*less)(struct bpf_rb_node *, const struct bpf_rb_node *), void *meta__ign, u64 off) __weak __ksym; +extern struct bpf_rb_node *bpf_rbtree_first(struct bpf_rb_root *root) __weak __ksym; +extern struct bpf_rb_node *bpf_rbtree_remove(struct bpf_rb_root *root, struct bpf_rb_node *node) __weak __ksym; +extern void bpf_rcu_read_lock(void) __weak __ksym; +extern void bpf_rcu_read_unlock(void) __weak __ksym; +extern __bpf_fastcall void *bpf_rdonly_cast(const void *obj__ign, u32 btf_id__k) __weak __ksym; +extern void *bpf_refcount_acquire_impl(void *p__refcounted_kptr, void *meta__ign) __weak __ksym; +extern int bpf_send_signal_task(struct task_struct *task, int sig, enum pid_type type, u64 value) __weak __ksym; +extern __u64 *bpf_session_cookie(void) __weak __ksym; +extern bool bpf_session_is_return(void) __weak __ksym; +extern int bpf_sk_assign_tcp_reqsk(struct __sk_buff *s, struct sock *sk, struct bpf_tcp_req_attrs *attrs, int attrs__sz) __weak __ksym; +extern int bpf_sock_addr_set_sun_path(struct bpf_sock_addr_kern *sa_kern, const u8 *sun_path, u32 sun_path__sz) __weak __ksym; +extern int bpf_sock_destroy(struct sock_common *sock) __weak __ksym; +extern struct task_struct *bpf_task_acquire(struct task_struct *p) __weak __ksym; +extern struct task_struct *bpf_task_from_pid(s32 pid) __weak __ksym; +extern struct task_struct *bpf_task_from_vpid(s32 vpid) __weak __ksym; +extern void bpf_task_release(struct task_struct *p) __weak __ksym; +extern void bpf_throw(u64 cookie) __weak __ksym; +extern int bpf_wq_init(struct bpf_wq *wq, void *p__map, unsigned int flags) __weak __ksym; +extern int bpf_wq_set_callback_impl(struct bpf_wq *wq, int (*callback_fn)(void *, int *, void *), unsigned int flags, void *aux__ign) __weak __ksym; +extern int bpf_wq_start(struct bpf_wq *wq, unsigned int flags) __weak __ksym; +extern int bpf_xdp_metadata_rx_hash(const struct xdp_md *ctx, u32 *hash, enum xdp_rss_hash_type *rss_type) __weak __ksym; +extern int bpf_xdp_metadata_rx_timestamp(const struct xdp_md *ctx, u64 *timestamp) __weak __ksym; +extern int bpf_xdp_metadata_rx_vlan_tag(const struct xdp_md *ctx, __be16 *vlan_proto, u16 *vlan_tci) __weak __ksym; +extern void cubictcp_acked(struct sock *sk, const struct ack_sample *sample) __weak __ksym; +extern void cubictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) __weak __ksym; +extern void cubictcp_cwnd_event(struct sock *sk, enum tcp_ca_event event) __weak __ksym; +extern void cubictcp_init(struct sock *sk) __weak __ksym; +extern u32 cubictcp_recalc_ssthresh(struct sock *sk) __weak __ksym; +extern void cubictcp_state(struct sock *sk, u8 new_state) __weak __ksym; +extern void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked) __weak __ksym; +extern void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked) __weak __ksym; +extern u32 tcp_reno_ssthresh(struct sock *sk) __weak __ksym; +extern u32 tcp_reno_undo_cwnd(struct sock *sk) __weak __ksym; +extern u32 tcp_slow_start(struct tcp_sock *tp, u32 acked) __weak __ksym; #endif #ifndef BPF_NO_PRESERVE_ACCESS_INDEX diff --git a/include/s390x/vmlinux.h b/include/s390x/vmlinux.h index 0a07c47..f254767 120000 --- a/include/s390x/vmlinux.h +++ b/include/s390x/vmlinux.h @@ -1 +1 @@ -vmlinux_6.6.h \ No newline at end of file +vmlinux_6.14.h \ No newline at end of file diff --git a/include/s390x/vmlinux_6.6.h b/include/s390x/vmlinux_6.14.h similarity index 85% rename from include/s390x/vmlinux_6.6.h rename to include/s390x/vmlinux_6.14.h index 2fd176f..949fc39 100644 --- a/include/s390x/vmlinux_6.6.h +++ b/include/s390x/vmlinux_6.14.h @@ -13,6 +13,14 @@ #define __weak __attribute__((weak)) #endif +#ifndef __bpf_fastcall +#if __has_attribute(bpf_fastcall) +#define __bpf_fastcall __attribute__((bpf_fastcall)) +#else +#define __bpf_fastcall +#endif +#endif + enum { AX25_VALUES_IPDEFMODE = 0, AX25_VALUES_AXDEFMODE = 1, @@ -27,8 +35,7 @@ enum { AX25_VALUES_N2 = 10, AX25_VALUES_PACLEN = 11, AX25_VALUES_PROTOCOL = 12, - AX25_VALUES_DS_TIMEOUT = 13, - AX25_MAX_VALUES = 14, + AX25_MAX_VALUES = 13, }; enum { @@ -60,6 +67,7 @@ enum { BPF_FIB_LKUP_RET_UNSUPP_LWT = 6, BPF_FIB_LKUP_RET_NO_NEIGH = 7, BPF_FIB_LKUP_RET_FRAG_NEEDED = 8, + BPF_FIB_LKUP_RET_NO_SRC_ADDR = 9, }; enum { @@ -67,6 +75,8 @@ enum { BPF_FIB_LOOKUP_OUTPUT = 2, BPF_FIB_LOOKUP_SKIP_NEIGH = 4, BPF_FIB_LOOKUP_TBID = 8, + BPF_FIB_LOOKUP_SRC = 16, + BPF_FIB_LOOKUP_MARK = 32, }; enum { @@ -87,11 +97,6 @@ enum { BPF_F_ADJ_ROOM_DECAP_L3_IPV6 = 256, }; -enum { - BPF_F_BROADCAST = 8, - BPF_F_EXCLUDE_INGRESS = 16, -}; - enum { BPF_F_GET_BRANCH_RECORDS_SIZE = 1, }; @@ -108,6 +113,8 @@ enum { enum { BPF_F_INGRESS = 1, + BPF_F_BROADCAST = 8, + BPF_F_EXCLUDE_INGRESS = 16, }; enum { @@ -115,9 +122,9 @@ enum { }; enum { - BPF_F_NEIGH = 2, - BPF_F_PEER = 4, - BPF_F_NEXTHOP = 8, + BPF_F_NEIGH = 65536, + BPF_F_PEER = 131072, + BPF_F_NEXTHOP = 262144, }; enum { @@ -136,6 +143,10 @@ enum { BPF_F_INNER_MAP = 4096, BPF_F_LINK = 8192, BPF_F_PATH_FD = 16384, + BPF_F_VTYPE_BTF_OBJ_FD = 32768, + BPF_F_TOKEN_FD = 65536, + BPF_F_SEGV_ON_FAULT = 131072, + BPF_F_NO_USER_CONV = 262144, }; enum { @@ -159,6 +170,7 @@ enum { enum { BPF_F_TIMER_ABS = 1, + BPF_F_TIMER_CPU_PIN = 2, }; enum { @@ -233,6 +245,9 @@ enum { enum { BPF_SKB_TSTAMP_UNSPEC = 0, BPF_SKB_TSTAMP_DELIVERY_MONO = 1, + BPF_SKB_CLOCK_REALTIME = 0, + BPF_SKB_CLOCK_MONOTONIC = 1, + BPF_SKB_CLOCK_TAI = 2, }; enum { @@ -271,9 +286,9 @@ enum { }; enum { - BPF_STRUCT_OPS_TYPE_bpf_dummy_ops = 0, - BPF_STRUCT_OPS_TYPE_tcp_congestion_ops = 1, - __NR_BPF_STRUCT_OPS_TYPE = 2, + BPF_TASK_ITER_ALL_PROCS = 0, + BPF_TASK_ITER_ALL_THREADS = 1, + BPF_TASK_ITER_PROC_THREADS = 2, }; enum { @@ -289,7 +304,8 @@ enum { BPF_TCP_LISTEN = 10, BPF_TCP_CLOSING = 11, BPF_TCP_NEW_SYN_RECV = 12, - BPF_TCP_MAX_STATES = 13, + BPF_TCP_BOUND_INACTIVE = 13, + BPF_TCP_MAX_STATES = 14, }; enum { @@ -299,7 +315,7 @@ enum { }; enum { - BTF_FIELDS_MAX = 10, + BTF_FIELDS_MAX = 11, }; enum { @@ -395,6 +411,11 @@ enum { CACHE_TI_INSTRUCTION = 1, }; +enum { + CMIS_MODULE_LOW_PWR = 1, + CMIS_MODULE_READY = 3, +}; + enum { CPU_STATE_STANDBY = 0, CPU_STATE_CONFIGURED = 1, @@ -425,6 +446,12 @@ enum { CSD_FLAG_TYPE_MASK = 240, }; +enum { + CTLREG_SET_BIT = 0, + CTLREG_CLEAR_BIT = 1, + CTLREG_LOAD = 2, +}; + enum { CTRL_ATTR_MCAST_GRP_UNSPEC = 0, CTRL_ATTR_MCAST_GRP_NAME = 1, @@ -553,6 +580,16 @@ enum { DEVCONF_MAX = 59, }; +enum { + DIR_OFFSET_FIRST = 2, + DIR_OFFSET_EOD = 2147483647, +}; + +enum { + DIR_OFFSET_MIN = 3, + DIR_OFFSET_MAX = 2147483646, +}; + enum { DISCOVERED = 16, EXPLORED = 32, @@ -622,6 +659,14 @@ enum { ETHTOOL_A_BITSET_MAX = 5, }; +enum { + ETHTOOL_A_C33_PSE_PW_LIMIT_UNSPEC = 0, + ETHTOOL_A_C33_PSE_PW_LIMIT_MIN = 1, + ETHTOOL_A_C33_PSE_PW_LIMIT_MAX = 2, + __ETHTOOL_A_C33_PSE_PW_LIMIT_CNT = 3, + __ETHTOOL_A_C33_PSE_PW_LIMIT_MAX = 2, +}; + enum { ETHTOOL_A_CABLE_AMPLITUDE_UNSPEC = 0, ETHTOOL_A_CABLE_AMPLITUDE_PAIR = 1, @@ -634,8 +679,15 @@ enum { ETHTOOL_A_CABLE_FAULT_LENGTH_UNSPEC = 0, ETHTOOL_A_CABLE_FAULT_LENGTH_PAIR = 1, ETHTOOL_A_CABLE_FAULT_LENGTH_CM = 2, - __ETHTOOL_A_CABLE_FAULT_LENGTH_CNT = 3, - ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 2, + ETHTOOL_A_CABLE_FAULT_LENGTH_SRC = 3, + __ETHTOOL_A_CABLE_FAULT_LENGTH_CNT = 4, + ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 3, +}; + +enum { + ETHTOOL_A_CABLE_INF_SRC_UNSPEC = 0, + ETHTOOL_A_CABLE_INF_SRC_TDR = 1, + ETHTOOL_A_CABLE_INF_SRC_ALCD = 2, }; enum { @@ -664,8 +716,9 @@ enum { ETHTOOL_A_CABLE_RESULT_UNSPEC = 0, ETHTOOL_A_CABLE_RESULT_PAIR = 1, ETHTOOL_A_CABLE_RESULT_CODE = 2, - __ETHTOOL_A_CABLE_RESULT_CNT = 3, - ETHTOOL_A_CABLE_RESULT_MAX = 2, + ETHTOOL_A_CABLE_RESULT_SRC = 3, + __ETHTOOL_A_CABLE_RESULT_CNT = 4, + ETHTOOL_A_CABLE_RESULT_MAX = 3, }; enum { @@ -771,8 +824,10 @@ enum { ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES = 26, ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES = 27, ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS = 28, - __ETHTOOL_A_COALESCE_CNT = 29, - ETHTOOL_A_COALESCE_MAX = 28, + ETHTOOL_A_COALESCE_RX_PROFILE = 29, + ETHTOOL_A_COALESCE_TX_PROFILE = 30, + __ETHTOOL_A_COALESCE_CNT = 31, + ETHTOOL_A_COALESCE_MAX = 30, }; enum { @@ -833,8 +888,18 @@ enum { ETHTOOL_A_HEADER_DEV_INDEX = 1, ETHTOOL_A_HEADER_DEV_NAME = 2, ETHTOOL_A_HEADER_FLAGS = 3, - __ETHTOOL_A_HEADER_CNT = 4, - ETHTOOL_A_HEADER_MAX = 3, + ETHTOOL_A_HEADER_PHY_INDEX = 4, + __ETHTOOL_A_HEADER_CNT = 5, + ETHTOOL_A_HEADER_MAX = 4, +}; + +enum { + ETHTOOL_A_IRQ_MODERATION_UNSPEC = 0, + ETHTOOL_A_IRQ_MODERATION_USEC = 1, + ETHTOOL_A_IRQ_MODERATION_PKTS = 2, + ETHTOOL_A_IRQ_MODERATION_COMPS = 3, + __ETHTOOL_A_IRQ_MODERATION_CNT = 4, + ETHTOOL_A_IRQ_MODERATION_MAX = 3, }; enum { @@ -921,6 +986,19 @@ enum { ETHTOOL_A_MODULE_EEPROM_MAX = 7, }; +enum { + ETHTOOL_A_MODULE_FW_FLASH_UNSPEC = 0, + ETHTOOL_A_MODULE_FW_FLASH_HEADER = 1, + ETHTOOL_A_MODULE_FW_FLASH_FILE_NAME = 2, + ETHTOOL_A_MODULE_FW_FLASH_PASSWORD = 3, + ETHTOOL_A_MODULE_FW_FLASH_STATUS = 4, + ETHTOOL_A_MODULE_FW_FLASH_STATUS_MSG = 5, + ETHTOOL_A_MODULE_FW_FLASH_DONE = 6, + ETHTOOL_A_MODULE_FW_FLASH_TOTAL = 7, + __ETHTOOL_A_MODULE_FW_FLASH_CNT = 8, + ETHTOOL_A_MODULE_FW_FLASH_MAX = 7, +}; + enum { ETHTOOL_A_MODULE_UNSPEC = 0, ETHTOOL_A_MODULE_HEADER = 1, @@ -960,6 +1038,20 @@ enum { ETHTOOL_A_PHC_VCLOCKS_MAX = 3, }; +enum { + ETHTOOL_A_PHY_UNSPEC = 0, + ETHTOOL_A_PHY_HEADER = 1, + ETHTOOL_A_PHY_INDEX = 2, + ETHTOOL_A_PHY_DRVNAME = 3, + ETHTOOL_A_PHY_NAME = 4, + ETHTOOL_A_PHY_UPSTREAM_TYPE = 5, + ETHTOOL_A_PHY_UPSTREAM_INDEX = 6, + ETHTOOL_A_PHY_UPSTREAM_SFP_NAME = 7, + ETHTOOL_A_PHY_DOWNSTREAM_SFP_NAME = 8, + __ETHTOOL_A_PHY_CNT = 9, + ETHTOOL_A_PHY_MAX = 8, +}; + enum { ETHTOOL_A_PLCA_UNSPEC = 0, ETHTOOL_A_PLCA_HEADER = 1, @@ -983,14 +1075,30 @@ enum { ETHTOOL_A_PRIVFLAGS_MAX = 2, }; +enum { + ETHTOOL_A_PROFILE_UNSPEC = 0, + ETHTOOL_A_PROFILE_IRQ_MODERATION = 1, + __ETHTOOL_A_PROFILE_CNT = 2, + ETHTOOL_A_PROFILE_MAX = 1, +}; + enum { ETHTOOL_A_PSE_UNSPEC = 0, ETHTOOL_A_PSE_HEADER = 1, ETHTOOL_A_PODL_PSE_ADMIN_STATE = 2, ETHTOOL_A_PODL_PSE_ADMIN_CONTROL = 3, ETHTOOL_A_PODL_PSE_PW_D_STATUS = 4, - __ETHTOOL_A_PSE_CNT = 5, - ETHTOOL_A_PSE_MAX = 4, + ETHTOOL_A_C33_PSE_ADMIN_STATE = 5, + ETHTOOL_A_C33_PSE_ADMIN_CONTROL = 6, + ETHTOOL_A_C33_PSE_PW_D_STATUS = 7, + ETHTOOL_A_C33_PSE_PW_CLASS = 8, + ETHTOOL_A_C33_PSE_ACTUAL_PW = 9, + ETHTOOL_A_C33_PSE_EXT_STATE = 10, + ETHTOOL_A_C33_PSE_EXT_SUBSTATE = 11, + ETHTOOL_A_C33_PSE_AVAIL_PW_LIMIT = 12, + ETHTOOL_A_C33_PSE_PW_LIMIT_RANGES = 13, + __ETHTOOL_A_PSE_CNT = 14, + ETHTOOL_A_PSE_MAX = 13, }; enum { @@ -1011,8 +1119,10 @@ enum { ETHTOOL_A_RINGS_RX_PUSH = 14, ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN = 15, ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN_MAX = 16, - __ETHTOOL_A_RINGS_CNT = 17, - ETHTOOL_A_RINGS_MAX = 16, + ETHTOOL_A_RINGS_HDS_THRESH = 17, + ETHTOOL_A_RINGS_HDS_THRESH_MAX = 18, + __ETHTOOL_A_RINGS_CNT = 19, + ETHTOOL_A_RINGS_MAX = 18, }; enum { @@ -1022,8 +1132,10 @@ enum { ETHTOOL_A_RSS_HFUNC = 3, ETHTOOL_A_RSS_INDIR = 4, ETHTOOL_A_RSS_HKEY = 5, - __ETHTOOL_A_RSS_CNT = 6, - ETHTOOL_A_RSS_MAX = 5, + ETHTOOL_A_RSS_INPUT_XFRM = 6, + ETHTOOL_A_RSS_START_CONTEXT = 7, + __ETHTOOL_A_RSS_CNT = 8, + ETHTOOL_A_RSS_MAX = 7, }; enum { @@ -1082,6 +1194,17 @@ enum { ETHTOOL_A_STATS_GRP_MAX = 9, }; +enum { + ETHTOOL_A_STATS_PHY_RX_PKTS = 0, + ETHTOOL_A_STATS_PHY_RX_BYTES = 1, + ETHTOOL_A_STATS_PHY_RX_ERRORS = 2, + ETHTOOL_A_STATS_PHY_TX_PKTS = 3, + ETHTOOL_A_STATS_PHY_TX_BYTES = 4, + ETHTOOL_A_STATS_PHY_TX_ERRORS = 5, + __ETHTOOL_A_STATS_PHY_CNT = 6, + ETHTOOL_A_STATS_PHY_MAX = 5, +}; + enum { ETHTOOL_A_STATS_RMON_UNDERSIZE = 0, ETHTOOL_A_STATS_RMON_OVERSIZE = 1, @@ -1142,6 +1265,17 @@ enum { ETHTOOL_A_STRSET_MAX = 3, }; +enum { + ETHTOOL_A_TSCONFIG_UNSPEC = 0, + ETHTOOL_A_TSCONFIG_HEADER = 1, + ETHTOOL_A_TSCONFIG_HWTSTAMP_PROVIDER = 2, + ETHTOOL_A_TSCONFIG_TX_TYPES = 3, + ETHTOOL_A_TSCONFIG_RX_FILTERS = 4, + ETHTOOL_A_TSCONFIG_HWTSTAMP_FLAGS = 5, + __ETHTOOL_A_TSCONFIG_CNT = 6, + ETHTOOL_A_TSCONFIG_MAX = 5, +}; + enum { ETHTOOL_A_TSINFO_UNSPEC = 0, ETHTOOL_A_TSINFO_HEADER = 1, @@ -1149,8 +1283,28 @@ enum { ETHTOOL_A_TSINFO_TX_TYPES = 3, ETHTOOL_A_TSINFO_RX_FILTERS = 4, ETHTOOL_A_TSINFO_PHC_INDEX = 5, - __ETHTOOL_A_TSINFO_CNT = 6, - ETHTOOL_A_TSINFO_MAX = 5, + ETHTOOL_A_TSINFO_STATS = 6, + ETHTOOL_A_TSINFO_HWTSTAMP_PROVIDER = 7, + __ETHTOOL_A_TSINFO_CNT = 8, + ETHTOOL_A_TSINFO_MAX = 7, +}; + +enum { + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_UNSPEC = 0, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_INDEX = 1, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_QUALIFIER = 2, + __ETHTOOL_A_TS_HWTSTAMP_PROVIDER_CNT = 3, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_MAX = 2, +}; + +enum { + ETHTOOL_A_TS_STAT_UNSPEC = 0, + ETHTOOL_A_TS_STAT_TX_PKTS = 1, + ETHTOOL_A_TS_STAT_TX_LOST = 2, + ETHTOOL_A_TS_STAT_TX_ERR = 3, + ETHTOOL_A_TS_STAT_TX_ONESTEP_PKTS_UNCONFIRMED = 4, + __ETHTOOL_A_TS_STAT_CNT = 5, + ETHTOOL_A_TS_STAT_MAX = 4, }; enum { @@ -1239,8 +1393,13 @@ enum { ETHTOOL_MSG_PLCA_NTF = 41, ETHTOOL_MSG_MM_GET_REPLY = 42, ETHTOOL_MSG_MM_NTF = 43, - __ETHTOOL_MSG_KERNEL_CNT = 44, - ETHTOOL_MSG_KERNEL_MAX = 43, + ETHTOOL_MSG_MODULE_FW_FLASH_NTF = 44, + ETHTOOL_MSG_PHY_GET_REPLY = 45, + ETHTOOL_MSG_PHY_NTF = 46, + ETHTOOL_MSG_TSCONFIG_GET_REPLY = 47, + ETHTOOL_MSG_TSCONFIG_SET_REPLY = 48, + __ETHTOOL_MSG_KERNEL_CNT = 49, + ETHTOOL_MSG_KERNEL_MAX = 48, }; enum { @@ -1288,8 +1447,12 @@ enum { ETHTOOL_MSG_PLCA_GET_STATUS = 41, ETHTOOL_MSG_MM_GET = 42, ETHTOOL_MSG_MM_SET = 43, - __ETHTOOL_MSG_USER_CNT = 44, - ETHTOOL_MSG_USER_MAX = 43, + ETHTOOL_MSG_MODULE_FW_FLASH_ACT = 44, + ETHTOOL_MSG_PHY_GET = 45, + ETHTOOL_MSG_TSCONFIG_GET = 46, + ETHTOOL_MSG_TSCONFIG_SET = 47, + __ETHTOOL_MSG_USER_CNT = 48, + ETHTOOL_MSG_USER_MAX = 47, }; enum { @@ -1297,13 +1460,8 @@ enum { ETHTOOL_STATS_ETH_MAC = 1, ETHTOOL_STATS_ETH_CTRL = 2, ETHTOOL_STATS_RMON = 3, - __ETHTOOL_STATS_CNT = 4, -}; - -enum { - ETHTOOL_TCP_DATA_SPLIT_UNKNOWN = 0, - ETHTOOL_TCP_DATA_SPLIT_DISABLED = 1, - ETHTOOL_TCP_DATA_SPLIT_ENABLED = 2, + ETHTOOL_STATS_PHY = 4, + __ETHTOOL_STATS_CNT = 5, }; enum { @@ -1311,6 +1469,7 @@ enum { ETHTOOL_UDP_TUNNEL_TYPE_GENEVE = 1, ETHTOOL_UDP_TUNNEL_TYPE_VXLAN_GPE = 2, __ETHTOOL_UDP_TUNNEL_TYPE_CNT = 3, + ETHTOOL_UDP_TUNNEL_TYPE_MAX = 2, }; enum { @@ -1320,6 +1479,12 @@ enum { ETH_RSS_HASH_FUNCS_COUNT = 3, }; +enum { + EVENTFS_SAVE_MODE = 65536, + EVENTFS_SAVE_UID = 131072, + EVENTFS_SAVE_GID = 262144, +}; + enum { EVENT_FILE_FL_ENABLED = 1, EVENT_FILE_FL_RECORDED_CMD = 2, @@ -1332,6 +1497,7 @@ enum { EVENT_FILE_FL_TRIGGER_COND = 256, EVENT_FILE_FL_PID_FILTER = 512, EVENT_FILE_FL_WAS_ENABLED = 1024, + EVENT_FILE_FL_FREED = 2048, }; enum { @@ -1346,6 +1512,7 @@ enum { EVENT_FILE_FL_TRIGGER_COND_BIT = 8, EVENT_FILE_FL_PID_FILTER_BIT = 9, EVENT_FILE_FL_WAS_ENABLED_BIT = 10, + EVENT_FILE_FL_FREED_BIT = 11, }; enum { @@ -1359,6 +1526,12 @@ enum { EXTRACT_ASSOCIATIVITY = 3, }; +enum { + FGRAPH_TYPE_RESERVED = 0, + FGRAPH_TYPE_BITMAP = 1, + FGRAPH_TYPE_DATA = 2, +}; + enum { FIB6_NO_SERNUM_CHANGE = 0, }; @@ -1414,6 +1587,7 @@ enum { FOLL_PIN = 524288, FOLL_FAST_ONLY = 1048576, FOLL_UNLOCKABLE = 2097152, + FOLL_MADV_POPULATE = 4194304, }; enum { @@ -1494,6 +1668,7 @@ enum { FTRACE_OPS_FL_TRACE_ARRAY = 32768, FTRACE_OPS_FL_PERMANENT = 65536, FTRACE_OPS_FL_DIRECT = 131072, + FTRACE_OPS_FL_SUBOP = 262144, }; enum { @@ -1617,6 +1792,11 @@ enum { __ICMP_MIB_MAX = 30, }; +enum { + IDX_MODULE_ID = 0, + IDX_ST_OPS_COMMON_VALUE_ID = 1, +}; + enum { IFAL_ADDRESS = 1, IFAL_LABEL = 2, @@ -1883,7 +2063,9 @@ enum { IFLA_DEVLINK_PORT = 62, IFLA_GSO_IPV4_MAX_SIZE = 63, IFLA_GRO_IPV4_MAX_SIZE = 64, - __IFLA_MAX = 65, + IFLA_DPLL_PIN = 65, + IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, + __IFLA_MAX = 67, }; enum { @@ -2070,6 +2252,17 @@ enum { INET_FLAGS_NODEFRAG = 17, INET_FLAGS_BIND_ADDRESS_NO_PORT = 18, INET_FLAGS_DEFER_CONNECT = 19, + INET_FLAGS_MC6_LOOP = 20, + INET_FLAGS_RECVERR6_RFC4884 = 21, + INET_FLAGS_MC6_ALL = 22, + INET_FLAGS_AUTOFLOWLABEL_SET = 23, + INET_FLAGS_AUTOFLOWLABEL = 24, + INET_FLAGS_DONTFRAG = 25, + INET_FLAGS_RECVERR6 = 26, + INET_FLAGS_REPFLOW = 27, + INET_FLAGS_RTALERT_ISOLATE = 28, + INET_FLAGS_SNDFLOW = 29, + INET_FLAGS_RTALERT = 30, }; enum { @@ -2088,6 +2281,13 @@ enum { __INET_ULP_INFO_MAX = 4, }; +enum { + INSN_F_FRAMENO_MASK = 7, + INSN_F_SPI_MASK = 63, + INSN_F_SPI_SHIFT = 3, + INSN_F_STACK_ACCESS = 512, +}; + enum { INSTR_E = 0, INSTR_IE_UU = 1, @@ -2151,84 +2351,86 @@ enum { INSTR_RSL_R0RD = 59, INSTR_RSY_AARD = 60, INSTR_RSY_CCRD = 61, - INSTR_RSY_RDRU = 62, - INSTR_RSY_RRRD = 63, - INSTR_RSY_RURD = 64, - INSTR_RSY_RURD2 = 65, - INSTR_RS_AARD = 66, - INSTR_RS_CCRD = 67, - INSTR_RS_R0RD = 68, - INSTR_RS_RRRD = 69, - INSTR_RS_RURD = 70, - INSTR_RXE_FRRD = 71, - INSTR_RXE_RRRDU = 72, - INSTR_RXF_FRRDF = 73, - INSTR_RXY_FRRD = 74, - INSTR_RXY_RRRD = 75, - INSTR_RXY_URRD = 76, - INSTR_RX_FRRD = 77, - INSTR_RX_RRRD = 78, - INSTR_RX_URRD = 79, - INSTR_SIL_RDI = 80, - INSTR_SIL_RDU = 81, - INSTR_SIY_IRD = 82, - INSTR_SIY_RD = 83, - INSTR_SIY_URD = 84, - INSTR_SI_RD = 85, - INSTR_SI_URD = 86, - INSTR_SMI_U0RDP = 87, - INSTR_SSE_RDRD = 88, - INSTR_SSF_RRDRD = 89, - INSTR_SSF_RRDRD2 = 90, - INSTR_SS_L0RDRD = 91, - INSTR_SS_L2RDRD = 92, - INSTR_SS_LIRDRD = 93, - INSTR_SS_LLRDRD = 94, - INSTR_SS_RRRDRD = 95, - INSTR_SS_RRRDRD2 = 96, - INSTR_SS_RRRDRD3 = 97, - INSTR_S_00 = 98, - INSTR_S_RD = 99, - INSTR_VRI_V0IU = 100, - INSTR_VRI_V0U = 101, - INSTR_VRI_V0UU2 = 102, - INSTR_VRI_V0UUU = 103, - INSTR_VRI_VR0UU = 104, + INSTR_RSY_RRRD = 62, + INSTR_RSY_RURD = 63, + INSTR_RSY_RURD2 = 64, + INSTR_RS_AARD = 65, + INSTR_RS_CCRD = 66, + INSTR_RS_R0RD = 67, + INSTR_RS_RRRD = 68, + INSTR_RS_RURD = 69, + INSTR_RXE_FRRD = 70, + INSTR_RXE_RRRDU = 71, + INSTR_RXF_FRRDF = 72, + INSTR_RXY_FRRD = 73, + INSTR_RXY_RRRD = 74, + INSTR_RXY_URRD = 75, + INSTR_RX_FRRD = 76, + INSTR_RX_RRRD = 77, + INSTR_RX_URRD = 78, + INSTR_SIL_RDI = 79, + INSTR_SIL_RDU = 80, + INSTR_SIY_IRD = 81, + INSTR_SIY_RD = 82, + INSTR_SIY_URD = 83, + INSTR_SI_RD = 84, + INSTR_SI_URD = 85, + INSTR_SMI_U0RDP = 86, + INSTR_SSE_RDRD = 87, + INSTR_SSF_RRDRD = 88, + INSTR_SSF_RRDRD2 = 89, + INSTR_SS_L0RDRD = 90, + INSTR_SS_L2RDRD = 91, + INSTR_SS_LIRDRD = 92, + INSTR_SS_LLRDRD = 93, + INSTR_SS_RRRDRD = 94, + INSTR_SS_RRRDRD2 = 95, + INSTR_SS_RRRDRD3 = 96, + INSTR_S_00 = 97, + INSTR_S_RD = 98, + INSTR_VRI_V0IU = 99, + INSTR_VRI_V0U = 100, + INSTR_VRI_V0UU2 = 101, + INSTR_VRI_V0UUU = 102, + INSTR_VRI_VR0UU = 103, + INSTR_VRI_VV0UU = 104, INSTR_VRI_VVUU = 105, INSTR_VRI_VVUUU = 106, INSTR_VRI_VVUUU2 = 107, INSTR_VRI_VVV0U = 108, INSTR_VRI_VVV0UU = 109, INSTR_VRI_VVV0UU2 = 110, - INSTR_VRR_0V = 111, - INSTR_VRR_0VV0U = 112, - INSTR_VRR_RV0UU = 113, - INSTR_VRR_VRR = 114, - INSTR_VRR_VV = 115, - INSTR_VRR_VV0U = 116, - INSTR_VRR_VV0U0U = 117, - INSTR_VRR_VV0U2 = 118, - INSTR_VRR_VV0UU2 = 119, - INSTR_VRR_VV0UUU = 120, - INSTR_VRR_VVV = 121, - INSTR_VRR_VVV0U = 122, - INSTR_VRR_VVV0U0 = 123, - INSTR_VRR_VVV0U0U = 124, - INSTR_VRR_VVV0UU = 125, - INSTR_VRR_VVV0UUU = 126, - INSTR_VRR_VVV0V = 127, - INSTR_VRR_VVVU0UV = 128, - INSTR_VRR_VVVU0V = 129, - INSTR_VRR_VVVUU0V = 130, - INSTR_VRS_RRDV = 131, - INSTR_VRS_RVRDU = 132, - INSTR_VRS_VRRD = 133, - INSTR_VRS_VRRDU = 134, - INSTR_VRS_VVRDU = 135, - INSTR_VRV_VVXRDU = 136, - INSTR_VRX_VRRDU = 137, - INSTR_VRX_VV = 138, - INSTR_VSI_URDV = 139, + INSTR_VRI_VVV0UV = 111, + INSTR_VRR_0V0U = 112, + INSTR_VRR_0VV0U = 113, + INSTR_VRR_0VVU = 114, + INSTR_VRR_RV0UU = 115, + INSTR_VRR_VRR = 116, + INSTR_VRR_VV = 117, + INSTR_VRR_VV0U = 118, + INSTR_VRR_VV0U0U = 119, + INSTR_VRR_VV0U2 = 120, + INSTR_VRR_VV0UU2 = 121, + INSTR_VRR_VV0UUU = 122, + INSTR_VRR_VVV = 123, + INSTR_VRR_VVV0U = 124, + INSTR_VRR_VVV0U0 = 125, + INSTR_VRR_VVV0U0U = 126, + INSTR_VRR_VVV0UU = 127, + INSTR_VRR_VVV0UUU = 128, + INSTR_VRR_VVV0V = 129, + INSTR_VRR_VVVU0UV = 130, + INSTR_VRR_VVVU0V = 131, + INSTR_VRR_VVVUU0V = 132, + INSTR_VRS_RRDV = 133, + INSTR_VRS_RVRDU = 134, + INSTR_VRS_VRRD = 135, + INSTR_VRS_VRRDU = 136, + INSTR_VRS_VVRDU = 137, + INSTR_VRV_VVXRDU = 138, + INSTR_VRX_VRRDU = 139, + INSTR_VRX_VV = 140, + INSTR_VSI_URDV = 141, }; enum { @@ -2293,47 +2495,6 @@ enum { IORES_DESC_CXL = 9, }; -enum { - IORING_REGISTER_BUFFERS = 0, - IORING_UNREGISTER_BUFFERS = 1, - IORING_REGISTER_FILES = 2, - IORING_UNREGISTER_FILES = 3, - IORING_REGISTER_EVENTFD = 4, - IORING_UNREGISTER_EVENTFD = 5, - IORING_REGISTER_FILES_UPDATE = 6, - IORING_REGISTER_EVENTFD_ASYNC = 7, - IORING_REGISTER_PROBE = 8, - IORING_REGISTER_PERSONALITY = 9, - IORING_UNREGISTER_PERSONALITY = 10, - IORING_REGISTER_RESTRICTIONS = 11, - IORING_REGISTER_ENABLE_RINGS = 12, - IORING_REGISTER_FILES2 = 13, - IORING_REGISTER_FILES_UPDATE2 = 14, - IORING_REGISTER_BUFFERS2 = 15, - IORING_REGISTER_BUFFERS_UPDATE = 16, - IORING_REGISTER_IOWQ_AFF = 17, - IORING_UNREGISTER_IOWQ_AFF = 18, - IORING_REGISTER_IOWQ_MAX_WORKERS = 19, - IORING_REGISTER_RING_FDS = 20, - IORING_UNREGISTER_RING_FDS = 21, - IORING_REGISTER_PBUF_RING = 22, - IORING_UNREGISTER_PBUF_RING = 23, - IORING_REGISTER_SYNC_CANCEL = 24, - IORING_REGISTER_FILE_ALLOC_RANGE = 25, - IORING_REGISTER_LAST = 26, - IORING_REGISTER_USE_REGISTERED_RING = 2147483648, -}; - -enum { - IOSQE_FIXED_FILE_BIT = 0, - IOSQE_IO_DRAIN_BIT = 1, - IOSQE_IO_LINK_BIT = 2, - IOSQE_IO_HARDLINK_BIT = 3, - IOSQE_ASYNC_BIT = 4, - IOSQE_BUFFER_SELECT_BIT = 5, - IOSQE_CQE_SKIP_SUCCESS_BIT = 6, -}; - enum { IP6_FH_F_FRAG = 1, IP6_FH_F_AUTH = 2, @@ -2367,7 +2528,9 @@ enum { IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, + IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, + IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, IPPROTO_MAX = 263, }; @@ -2378,7 +2541,7 @@ enum { IPSTATS_MIB_INOCTETS = 2, IPSTATS_MIB_INDELIVERS = 3, IPSTATS_MIB_OUTFORWDATAGRAMS = 4, - IPSTATS_MIB_OUTPKTS = 5, + IPSTATS_MIB_OUTREQUESTS = 5, IPSTATS_MIB_OUTOCTETS = 6, IPSTATS_MIB_INHDRERRORS = 7, IPSTATS_MIB_INTOOBIGERRORS = 8, @@ -2410,7 +2573,8 @@ enum { IPSTATS_MIB_ECT0PKTS = 34, IPSTATS_MIB_CEPKTS = 35, IPSTATS_MIB_REASM_OVERLAPS = 36, - __IPSTATS_MIB_MAX = 37, + IPSTATS_MIB_OUTPKTS = 37, + __IPSTATS_MIB_MAX = 38, }; enum { @@ -2463,6 +2627,29 @@ enum { IPV6_SADDR_RULE_MAX = 9, }; +enum { + IP_TUNNEL_CSUM_BIT = 0, + IP_TUNNEL_ROUTING_BIT = 1, + IP_TUNNEL_KEY_BIT = 2, + IP_TUNNEL_SEQ_BIT = 3, + IP_TUNNEL_STRICT_BIT = 4, + IP_TUNNEL_REC_BIT = 5, + IP_TUNNEL_VERSION_BIT = 6, + IP_TUNNEL_NO_KEY_BIT = 7, + IP_TUNNEL_DONT_FRAGMENT_BIT = 8, + IP_TUNNEL_OAM_BIT = 9, + IP_TUNNEL_CRIT_OPT_BIT = 10, + IP_TUNNEL_GENEVE_OPT_BIT = 11, + IP_TUNNEL_VXLAN_OPT_BIT = 12, + IP_TUNNEL_NOCACHE_BIT = 13, + IP_TUNNEL_ERSPAN_OPT_BIT = 14, + IP_TUNNEL_GTP_OPT_BIT = 15, + IP_TUNNEL_VTI_BIT = 16, + IP_TUNNEL_SIT_ISATAP_BIT = 16, + IP_TUNNEL_PFCP_OPT_BIT = 17, + __IP_TUNNEL_FLAG_NUM = 18, +}; + enum { IRQCHIP_SET_TYPE_MASKED = 1, IRQCHIP_EOI_IF_HANDLED = 2, @@ -2476,6 +2663,7 @@ enum { IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND = 512, IRQCHIP_AFFINITY_PRE_STARTUP = 1024, IRQCHIP_IMMUTABLE = 2048, + IRQCHIP_MOVE_DEFERRED = 4096, }; enum { @@ -2492,7 +2680,6 @@ enum { IRQD_AFFINITY_SET = 4096, IRQD_LEVEL = 8192, IRQD_WAKEUP_STATE = 16384, - IRQD_MOVE_PCNTXT = 32768, IRQD_IRQ_DISABLED = 65536, IRQD_IRQ_MASKED = 131072, IRQD_IRQ_INPROGRESS = 262144, @@ -2504,11 +2691,10 @@ enum { IRQD_SINGLE_TARGET = 16777216, IRQD_DEFAULT_TRIGGER_SET = 33554432, IRQD_CAN_RESERVE = 67108864, - IRQD_MSI_NOMASK_QUIRK = 134217728, - IRQD_HANDLE_ENFORCE_IRQCTX = 268435456, - IRQD_AFFINITY_ON_ACTIVATE = 536870912, - IRQD_IRQ_ENABLED_ON_SUSPEND = 1073741824, - IRQD_RESEND_WHEN_IN_PROGRESS = 2147483648, + IRQD_HANDLE_ENFORCE_IRQCTX = 134217728, + IRQD_AFFINITY_ON_ACTIVATE = 268435456, + IRQD_IRQ_ENABLED_ON_SUSPEND = 536870912, + IRQD_RESEND_WHEN_IN_PROGRESS = 1073741824, }; enum { @@ -2562,7 +2748,6 @@ enum { IRQ_NOREQUEST = 2048, IRQ_NOAUTOEN = 4096, IRQ_NO_BALANCING = 8192, - IRQ_MOVE_PCNTXT = 16384, IRQ_NESTED_THREAD = 32768, IRQ_NOTHREAD = 65536, IRQ_PER_CPU_DEVID = 131072, @@ -2572,6 +2757,14 @@ enum { IRQ_NO_DEBUG = 2097152, }; +enum { + KERNEL_FPC_BIT = 0, + KERNEL_VXR_V0V7_BIT = 1, + KERNEL_VXR_V8V15_BIT = 2, + KERNEL_VXR_V16V23_BIT = 3, + KERNEL_VXR_V24V31_BIT = 4, +}; + enum { KERNEL_PARAM_FL_UNSAFE = 1, KERNEL_PARAM_FL_HWPARAM = 2, @@ -2587,6 +2780,7 @@ enum { KF_ARG_LIST_NODE_ID = 2, KF_ARG_RB_ROOT_ID = 3, KF_ARG_RB_NODE_ID = 4, + KF_ARG_WORKQUEUE_ID = 5, }; enum { @@ -2617,118 +2811,124 @@ enum { LINUX_MIB_TIMEWAITKILLED = 13, LINUX_MIB_PAWSACTIVEREJECTED = 14, LINUX_MIB_PAWSESTABREJECTED = 15, - LINUX_MIB_DELAYEDACKS = 16, - LINUX_MIB_DELAYEDACKLOCKED = 17, - LINUX_MIB_DELAYEDACKLOST = 18, - LINUX_MIB_LISTENOVERFLOWS = 19, - LINUX_MIB_LISTENDROPS = 20, - LINUX_MIB_TCPHPHITS = 21, - LINUX_MIB_TCPPUREACKS = 22, - LINUX_MIB_TCPHPACKS = 23, - LINUX_MIB_TCPRENORECOVERY = 24, - LINUX_MIB_TCPSACKRECOVERY = 25, - LINUX_MIB_TCPSACKRENEGING = 26, - LINUX_MIB_TCPSACKREORDER = 27, - LINUX_MIB_TCPRENOREORDER = 28, - LINUX_MIB_TCPTSREORDER = 29, - LINUX_MIB_TCPFULLUNDO = 30, - LINUX_MIB_TCPPARTIALUNDO = 31, - LINUX_MIB_TCPDSACKUNDO = 32, - LINUX_MIB_TCPLOSSUNDO = 33, - LINUX_MIB_TCPLOSTRETRANSMIT = 34, - LINUX_MIB_TCPRENOFAILURES = 35, - LINUX_MIB_TCPSACKFAILURES = 36, - LINUX_MIB_TCPLOSSFAILURES = 37, - LINUX_MIB_TCPFASTRETRANS = 38, - LINUX_MIB_TCPSLOWSTARTRETRANS = 39, - LINUX_MIB_TCPTIMEOUTS = 40, - LINUX_MIB_TCPLOSSPROBES = 41, - LINUX_MIB_TCPLOSSPROBERECOVERY = 42, - LINUX_MIB_TCPRENORECOVERYFAIL = 43, - LINUX_MIB_TCPSACKRECOVERYFAIL = 44, - LINUX_MIB_TCPRCVCOLLAPSED = 45, - LINUX_MIB_TCPDSACKOLDSENT = 46, - LINUX_MIB_TCPDSACKOFOSENT = 47, - LINUX_MIB_TCPDSACKRECV = 48, - LINUX_MIB_TCPDSACKOFORECV = 49, - LINUX_MIB_TCPABORTONDATA = 50, - LINUX_MIB_TCPABORTONCLOSE = 51, - LINUX_MIB_TCPABORTONMEMORY = 52, - LINUX_MIB_TCPABORTONTIMEOUT = 53, - LINUX_MIB_TCPABORTONLINGER = 54, - LINUX_MIB_TCPABORTFAILED = 55, - LINUX_MIB_TCPMEMORYPRESSURES = 56, - LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 57, - LINUX_MIB_TCPSACKDISCARD = 58, - LINUX_MIB_TCPDSACKIGNOREDOLD = 59, - LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 60, - LINUX_MIB_TCPSPURIOUSRTOS = 61, - LINUX_MIB_TCPMD5NOTFOUND = 62, - LINUX_MIB_TCPMD5UNEXPECTED = 63, - LINUX_MIB_TCPMD5FAILURE = 64, - LINUX_MIB_SACKSHIFTED = 65, - LINUX_MIB_SACKMERGED = 66, - LINUX_MIB_SACKSHIFTFALLBACK = 67, - LINUX_MIB_TCPBACKLOGDROP = 68, - LINUX_MIB_PFMEMALLOCDROP = 69, - LINUX_MIB_TCPMINTTLDROP = 70, - LINUX_MIB_TCPDEFERACCEPTDROP = 71, - LINUX_MIB_IPRPFILTER = 72, - LINUX_MIB_TCPTIMEWAITOVERFLOW = 73, - LINUX_MIB_TCPREQQFULLDOCOOKIES = 74, - LINUX_MIB_TCPREQQFULLDROP = 75, - LINUX_MIB_TCPRETRANSFAIL = 76, - LINUX_MIB_TCPRCVCOALESCE = 77, - LINUX_MIB_TCPBACKLOGCOALESCE = 78, - LINUX_MIB_TCPOFOQUEUE = 79, - LINUX_MIB_TCPOFODROP = 80, - LINUX_MIB_TCPOFOMERGE = 81, - LINUX_MIB_TCPCHALLENGEACK = 82, - LINUX_MIB_TCPSYNCHALLENGE = 83, - LINUX_MIB_TCPFASTOPENACTIVE = 84, - LINUX_MIB_TCPFASTOPENACTIVEFAIL = 85, - LINUX_MIB_TCPFASTOPENPASSIVE = 86, - LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 87, - LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 88, - LINUX_MIB_TCPFASTOPENCOOKIEREQD = 89, - LINUX_MIB_TCPFASTOPENBLACKHOLE = 90, - LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 91, - LINUX_MIB_BUSYPOLLRXPACKETS = 92, - LINUX_MIB_TCPAUTOCORKING = 93, - LINUX_MIB_TCPFROMZEROWINDOWADV = 94, - LINUX_MIB_TCPTOZEROWINDOWADV = 95, - LINUX_MIB_TCPWANTZEROWINDOWADV = 96, - LINUX_MIB_TCPSYNRETRANS = 97, - LINUX_MIB_TCPORIGDATASENT = 98, - LINUX_MIB_TCPHYSTARTTRAINDETECT = 99, - LINUX_MIB_TCPHYSTARTTRAINCWND = 100, - LINUX_MIB_TCPHYSTARTDELAYDETECT = 101, - LINUX_MIB_TCPHYSTARTDELAYCWND = 102, - LINUX_MIB_TCPACKSKIPPEDSYNRECV = 103, - LINUX_MIB_TCPACKSKIPPEDPAWS = 104, - LINUX_MIB_TCPACKSKIPPEDSEQ = 105, - LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 106, - LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 107, - LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 108, - LINUX_MIB_TCPWINPROBE = 109, - LINUX_MIB_TCPKEEPALIVE = 110, - LINUX_MIB_TCPMTUPFAIL = 111, - LINUX_MIB_TCPMTUPSUCCESS = 112, - LINUX_MIB_TCPDELIVERED = 113, - LINUX_MIB_TCPDELIVEREDCE = 114, - LINUX_MIB_TCPACKCOMPRESSED = 115, - LINUX_MIB_TCPZEROWINDOWDROP = 116, - LINUX_MIB_TCPRCVQDROP = 117, - LINUX_MIB_TCPWQUEUETOOBIG = 118, - LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 119, - LINUX_MIB_TCPTIMEOUTREHASH = 120, - LINUX_MIB_TCPDUPLICATEDATAREHASH = 121, - LINUX_MIB_TCPDSACKRECVSEGS = 122, - LINUX_MIB_TCPDSACKIGNOREDDUBIOUS = 123, - LINUX_MIB_TCPMIGRATEREQSUCCESS = 124, - LINUX_MIB_TCPMIGRATEREQFAILURE = 125, - LINUX_MIB_TCPPLBREHASH = 126, - __LINUX_MIB_MAX = 127, + LINUX_MIB_PAWS_OLD_ACK = 16, + LINUX_MIB_DELAYEDACKS = 17, + LINUX_MIB_DELAYEDACKLOCKED = 18, + LINUX_MIB_DELAYEDACKLOST = 19, + LINUX_MIB_LISTENOVERFLOWS = 20, + LINUX_MIB_LISTENDROPS = 21, + LINUX_MIB_TCPHPHITS = 22, + LINUX_MIB_TCPPUREACKS = 23, + LINUX_MIB_TCPHPACKS = 24, + LINUX_MIB_TCPRENORECOVERY = 25, + LINUX_MIB_TCPSACKRECOVERY = 26, + LINUX_MIB_TCPSACKRENEGING = 27, + LINUX_MIB_TCPSACKREORDER = 28, + LINUX_MIB_TCPRENOREORDER = 29, + LINUX_MIB_TCPTSREORDER = 30, + LINUX_MIB_TCPFULLUNDO = 31, + LINUX_MIB_TCPPARTIALUNDO = 32, + LINUX_MIB_TCPDSACKUNDO = 33, + LINUX_MIB_TCPLOSSUNDO = 34, + LINUX_MIB_TCPLOSTRETRANSMIT = 35, + LINUX_MIB_TCPRENOFAILURES = 36, + LINUX_MIB_TCPSACKFAILURES = 37, + LINUX_MIB_TCPLOSSFAILURES = 38, + LINUX_MIB_TCPFASTRETRANS = 39, + LINUX_MIB_TCPSLOWSTARTRETRANS = 40, + LINUX_MIB_TCPTIMEOUTS = 41, + LINUX_MIB_TCPLOSSPROBES = 42, + LINUX_MIB_TCPLOSSPROBERECOVERY = 43, + LINUX_MIB_TCPRENORECOVERYFAIL = 44, + LINUX_MIB_TCPSACKRECOVERYFAIL = 45, + LINUX_MIB_TCPRCVCOLLAPSED = 46, + LINUX_MIB_TCPDSACKOLDSENT = 47, + LINUX_MIB_TCPDSACKOFOSENT = 48, + LINUX_MIB_TCPDSACKRECV = 49, + LINUX_MIB_TCPDSACKOFORECV = 50, + LINUX_MIB_TCPABORTONDATA = 51, + LINUX_MIB_TCPABORTONCLOSE = 52, + LINUX_MIB_TCPABORTONMEMORY = 53, + LINUX_MIB_TCPABORTONTIMEOUT = 54, + LINUX_MIB_TCPABORTONLINGER = 55, + LINUX_MIB_TCPABORTFAILED = 56, + LINUX_MIB_TCPMEMORYPRESSURES = 57, + LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 58, + LINUX_MIB_TCPSACKDISCARD = 59, + LINUX_MIB_TCPDSACKIGNOREDOLD = 60, + LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 61, + LINUX_MIB_TCPSPURIOUSRTOS = 62, + LINUX_MIB_TCPMD5NOTFOUND = 63, + LINUX_MIB_TCPMD5UNEXPECTED = 64, + LINUX_MIB_TCPMD5FAILURE = 65, + LINUX_MIB_SACKSHIFTED = 66, + LINUX_MIB_SACKMERGED = 67, + LINUX_MIB_SACKSHIFTFALLBACK = 68, + LINUX_MIB_TCPBACKLOGDROP = 69, + LINUX_MIB_PFMEMALLOCDROP = 70, + LINUX_MIB_TCPMINTTLDROP = 71, + LINUX_MIB_TCPDEFERACCEPTDROP = 72, + LINUX_MIB_IPRPFILTER = 73, + LINUX_MIB_TCPTIMEWAITOVERFLOW = 74, + LINUX_MIB_TCPREQQFULLDOCOOKIES = 75, + LINUX_MIB_TCPREQQFULLDROP = 76, + LINUX_MIB_TCPRETRANSFAIL = 77, + LINUX_MIB_TCPRCVCOALESCE = 78, + LINUX_MIB_TCPBACKLOGCOALESCE = 79, + LINUX_MIB_TCPOFOQUEUE = 80, + LINUX_MIB_TCPOFODROP = 81, + LINUX_MIB_TCPOFOMERGE = 82, + LINUX_MIB_TCPCHALLENGEACK = 83, + LINUX_MIB_TCPSYNCHALLENGE = 84, + LINUX_MIB_TCPFASTOPENACTIVE = 85, + LINUX_MIB_TCPFASTOPENACTIVEFAIL = 86, + LINUX_MIB_TCPFASTOPENPASSIVE = 87, + LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 88, + LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 89, + LINUX_MIB_TCPFASTOPENCOOKIEREQD = 90, + LINUX_MIB_TCPFASTOPENBLACKHOLE = 91, + LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 92, + LINUX_MIB_BUSYPOLLRXPACKETS = 93, + LINUX_MIB_TCPAUTOCORKING = 94, + LINUX_MIB_TCPFROMZEROWINDOWADV = 95, + LINUX_MIB_TCPTOZEROWINDOWADV = 96, + LINUX_MIB_TCPWANTZEROWINDOWADV = 97, + LINUX_MIB_TCPSYNRETRANS = 98, + LINUX_MIB_TCPORIGDATASENT = 99, + LINUX_MIB_TCPHYSTARTTRAINDETECT = 100, + LINUX_MIB_TCPHYSTARTTRAINCWND = 101, + LINUX_MIB_TCPHYSTARTDELAYDETECT = 102, + LINUX_MIB_TCPHYSTARTDELAYCWND = 103, + LINUX_MIB_TCPACKSKIPPEDSYNRECV = 104, + LINUX_MIB_TCPACKSKIPPEDPAWS = 105, + LINUX_MIB_TCPACKSKIPPEDSEQ = 106, + LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 107, + LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 108, + LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 109, + LINUX_MIB_TCPWINPROBE = 110, + LINUX_MIB_TCPKEEPALIVE = 111, + LINUX_MIB_TCPMTUPFAIL = 112, + LINUX_MIB_TCPMTUPSUCCESS = 113, + LINUX_MIB_TCPDELIVERED = 114, + LINUX_MIB_TCPDELIVEREDCE = 115, + LINUX_MIB_TCPACKCOMPRESSED = 116, + LINUX_MIB_TCPZEROWINDOWDROP = 117, + LINUX_MIB_TCPRCVQDROP = 118, + LINUX_MIB_TCPWQUEUETOOBIG = 119, + LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 120, + LINUX_MIB_TCPTIMEOUTREHASH = 121, + LINUX_MIB_TCPDUPLICATEDATAREHASH = 122, + LINUX_MIB_TCPDSACKRECVSEGS = 123, + LINUX_MIB_TCPDSACKIGNOREDDUBIOUS = 124, + LINUX_MIB_TCPMIGRATEREQSUCCESS = 125, + LINUX_MIB_TCPMIGRATEREQFAILURE = 126, + LINUX_MIB_TCPPLBREHASH = 127, + LINUX_MIB_TCPAOREQUIRED = 128, + LINUX_MIB_TCPAOBAD = 129, + LINUX_MIB_TCPAOKEYNOTFOUND = 130, + LINUX_MIB_TCPAOGOOD = 131, + LINUX_MIB_TCPAODROPPEDICMPS = 132, + __LINUX_MIB_MAX = 133, }; enum { @@ -2745,7 +2945,12 @@ enum { LINUX_MIB_TLSRXDEVICERESYNC = 10, LINUX_MIB_TLSDECRYPTRETRY = 11, LINUX_MIB_TLSRXNOPADVIOL = 12, - __LINUX_MIB_TLSMAX = 13, + LINUX_MIB_TLSRXREKEYOK = 13, + LINUX_MIB_TLSRXREKEYERROR = 14, + LINUX_MIB_TLSTXREKEYOK = 15, + LINUX_MIB_TLSTXREKEYERROR = 16, + LINUX_MIB_TLSRXREKEYRECEIVED = 17, + __LINUX_MIB_TLSMAX = 18, }; enum { @@ -2778,7 +2983,11 @@ enum { LINUX_MIB_XFRMFWDHDRERROR = 26, LINUX_MIB_XFRMOUTSTATEINVALID = 27, LINUX_MIB_XFRMACQUIREERROR = 28, - __LINUX_MIB_XFRMMAX = 29, + LINUX_MIB_XFRMOUTSTATEDIRERROR = 29, + LINUX_MIB_XFRMINSTATEDIRERROR = 30, + LINUX_MIB_XFRMINIPTFSERROR = 31, + LINUX_MIB_XFRMOUTNOQSPACE = 32, + __LINUX_MIB_XFRMMAX = 33, }; enum { @@ -2874,27 +3083,28 @@ enum { LONG_INSN_TABORT = 84, LONG_INSN_TBEGIN = 85, LONG_INSN_TBEGINC = 86, - LONG_INSN_VBPERM = 87, - LONG_INSN_VCLFNH = 88, - LONG_INSN_VCLFNL = 89, - LONG_INSN_VCLZDP = 90, - LONG_INSN_VERLLV = 91, - LONG_INSN_VESRAV = 92, - LONG_INSN_VESRLV = 93, - LONG_INSN_VLBRREP = 94, - LONG_INSN_VLEBRF = 95, - LONG_INSN_VLEBRG = 96, - LONG_INSN_VLEBRH = 97, - LONG_INSN_VLLEBRZ = 98, - LONG_INSN_VPOPCT = 99, - LONG_INSN_VSBCBI = 100, - LONG_INSN_VSCSHP = 101, - LONG_INSN_VSTEBRF = 102, - LONG_INSN_VSTEBRG = 103, - LONG_INSN_VSTEBRH = 104, - LONG_INSN_VSTRLR = 105, - LONG_INSN_VUPKZH = 106, - LONG_INSN_VUPKZL = 107, + LONG_INSN_VBLEND = 87, + LONG_INSN_VBPERM = 88, + LONG_INSN_VCLFNH = 89, + LONG_INSN_VCLFNL = 90, + LONG_INSN_VCLZDP = 91, + LONG_INSN_VERLLV = 92, + LONG_INSN_VESRAV = 93, + LONG_INSN_VESRLV = 94, + LONG_INSN_VLBRREP = 95, + LONG_INSN_VLEBRF = 96, + LONG_INSN_VLEBRG = 97, + LONG_INSN_VLEBRH = 98, + LONG_INSN_VLLEBRZ = 99, + LONG_INSN_VPOPCT = 100, + LONG_INSN_VSBCBI = 101, + LONG_INSN_VSCSHP = 102, + LONG_INSN_VSTEBRF = 103, + LONG_INSN_VSTEBRG = 104, + LONG_INSN_VSTEBRH = 105, + LONG_INSN_VSTRLR = 106, + LONG_INSN_VUPKZH = 107, + LONG_INSN_VUPKZL = 108, }; enum { @@ -2937,6 +3147,13 @@ enum { MAX_OPT_ARGS = 3, }; +enum { + MDBA_GET_ENTRY_UNSPEC = 0, + MDBA_GET_ENTRY = 1, + MDBA_GET_ENTRY_ATTRS = 2, + __MDBA_GET_ENTRY_MAX = 3, +}; + enum { MDBA_SET_ENTRY_UNSPEC = 0, MDBA_SET_ENTRY = 1, @@ -2969,6 +3186,11 @@ enum { NAPIF_STATE_SCHED_THREADED = 512, }; +enum { + NAPI_F_PREFER_BUSY_POLL = 1, + NAPI_F_END_ON_RESCHED = 2, +}; + enum { NAPI_STATE_SCHED = 0, NAPI_STATE_MISSED = 1, @@ -3051,9 +3273,8 @@ enum { enum { NEIGH_ARP_TABLE = 0, NEIGH_ND_TABLE = 1, - NEIGH_DN_TABLE = 2, - NEIGH_NR_TABLES = 3, - NEIGH_LINK_TABLE = 3, + NEIGH_NR_TABLES = 2, + NEIGH_LINK_TABLE = 2, }; enum { @@ -3104,8 +3325,106 @@ enum { NETDEV_A_DEV_PAD = 2, NETDEV_A_DEV_XDP_FEATURES = 3, NETDEV_A_DEV_XDP_ZC_MAX_SEGS = 4, - __NETDEV_A_DEV_MAX = 5, - NETDEV_A_DEV_MAX = 4, + NETDEV_A_DEV_XDP_RX_METADATA_FEATURES = 5, + NETDEV_A_DEV_XSK_FEATURES = 6, + __NETDEV_A_DEV_MAX = 7, + NETDEV_A_DEV_MAX = 6, +}; + +enum { + NETDEV_A_DMABUF_IFINDEX = 1, + NETDEV_A_DMABUF_QUEUES = 2, + NETDEV_A_DMABUF_FD = 3, + NETDEV_A_DMABUF_ID = 4, + __NETDEV_A_DMABUF_MAX = 5, + NETDEV_A_DMABUF_MAX = 4, +}; + +enum { + NETDEV_A_NAPI_IFINDEX = 1, + NETDEV_A_NAPI_ID = 2, + NETDEV_A_NAPI_IRQ = 3, + NETDEV_A_NAPI_PID = 4, + NETDEV_A_NAPI_DEFER_HARD_IRQS = 5, + NETDEV_A_NAPI_GRO_FLUSH_TIMEOUT = 6, + NETDEV_A_NAPI_IRQ_SUSPEND_TIMEOUT = 7, + __NETDEV_A_NAPI_MAX = 8, + NETDEV_A_NAPI_MAX = 7, +}; + +enum { + NETDEV_A_PAGE_POOL_ID = 1, + NETDEV_A_PAGE_POOL_IFINDEX = 2, + NETDEV_A_PAGE_POOL_NAPI_ID = 3, + NETDEV_A_PAGE_POOL_INFLIGHT = 4, + NETDEV_A_PAGE_POOL_INFLIGHT_MEM = 5, + NETDEV_A_PAGE_POOL_DETACH_TIME = 6, + NETDEV_A_PAGE_POOL_DMABUF = 7, + __NETDEV_A_PAGE_POOL_MAX = 8, + NETDEV_A_PAGE_POOL_MAX = 7, +}; + +enum { + NETDEV_A_PAGE_POOL_STATS_INFO = 1, + NETDEV_A_PAGE_POOL_STATS_ALLOC_FAST = 8, + NETDEV_A_PAGE_POOL_STATS_ALLOC_SLOW = 9, + NETDEV_A_PAGE_POOL_STATS_ALLOC_SLOW_HIGH_ORDER = 10, + NETDEV_A_PAGE_POOL_STATS_ALLOC_EMPTY = 11, + NETDEV_A_PAGE_POOL_STATS_ALLOC_REFILL = 12, + NETDEV_A_PAGE_POOL_STATS_ALLOC_WAIVE = 13, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_CACHED = 14, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_CACHE_FULL = 15, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RING = 16, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RING_FULL = 17, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RELEASED_REFCNT = 18, + __NETDEV_A_PAGE_POOL_STATS_MAX = 19, + NETDEV_A_PAGE_POOL_STATS_MAX = 18, +}; + +enum { + NETDEV_A_QSTATS_IFINDEX = 1, + NETDEV_A_QSTATS_QUEUE_TYPE = 2, + NETDEV_A_QSTATS_QUEUE_ID = 3, + NETDEV_A_QSTATS_SCOPE = 4, + NETDEV_A_QSTATS_RX_PACKETS = 8, + NETDEV_A_QSTATS_RX_BYTES = 9, + NETDEV_A_QSTATS_TX_PACKETS = 10, + NETDEV_A_QSTATS_TX_BYTES = 11, + NETDEV_A_QSTATS_RX_ALLOC_FAIL = 12, + NETDEV_A_QSTATS_RX_HW_DROPS = 13, + NETDEV_A_QSTATS_RX_HW_DROP_OVERRUNS = 14, + NETDEV_A_QSTATS_RX_CSUM_COMPLETE = 15, + NETDEV_A_QSTATS_RX_CSUM_UNNECESSARY = 16, + NETDEV_A_QSTATS_RX_CSUM_NONE = 17, + NETDEV_A_QSTATS_RX_CSUM_BAD = 18, + NETDEV_A_QSTATS_RX_HW_GRO_PACKETS = 19, + NETDEV_A_QSTATS_RX_HW_GRO_BYTES = 20, + NETDEV_A_QSTATS_RX_HW_GRO_WIRE_PACKETS = 21, + NETDEV_A_QSTATS_RX_HW_GRO_WIRE_BYTES = 22, + NETDEV_A_QSTATS_RX_HW_DROP_RATELIMITS = 23, + NETDEV_A_QSTATS_TX_HW_DROPS = 24, + NETDEV_A_QSTATS_TX_HW_DROP_ERRORS = 25, + NETDEV_A_QSTATS_TX_CSUM_NONE = 26, + NETDEV_A_QSTATS_TX_NEEDS_CSUM = 27, + NETDEV_A_QSTATS_TX_HW_GSO_PACKETS = 28, + NETDEV_A_QSTATS_TX_HW_GSO_BYTES = 29, + NETDEV_A_QSTATS_TX_HW_GSO_WIRE_PACKETS = 30, + NETDEV_A_QSTATS_TX_HW_GSO_WIRE_BYTES = 31, + NETDEV_A_QSTATS_TX_HW_DROP_RATELIMITS = 32, + NETDEV_A_QSTATS_TX_STOP = 33, + NETDEV_A_QSTATS_TX_WAKE = 34, + __NETDEV_A_QSTATS_MAX = 35, + NETDEV_A_QSTATS_MAX = 34, +}; + +enum { + NETDEV_A_QUEUE_ID = 1, + NETDEV_A_QUEUE_IFINDEX = 2, + NETDEV_A_QUEUE_TYPE = 3, + NETDEV_A_QUEUE_NAPI_ID = 4, + NETDEV_A_QUEUE_DMABUF = 5, + __NETDEV_A_QUEUE_MAX = 6, + NETDEV_A_QUEUE_MAX = 5, }; enum { @@ -3113,12 +3432,23 @@ enum { NETDEV_CMD_DEV_ADD_NTF = 2, NETDEV_CMD_DEV_DEL_NTF = 3, NETDEV_CMD_DEV_CHANGE_NTF = 4, - __NETDEV_CMD_MAX = 5, - NETDEV_CMD_MAX = 4, + NETDEV_CMD_PAGE_POOL_GET = 5, + NETDEV_CMD_PAGE_POOL_ADD_NTF = 6, + NETDEV_CMD_PAGE_POOL_DEL_NTF = 7, + NETDEV_CMD_PAGE_POOL_CHANGE_NTF = 8, + NETDEV_CMD_PAGE_POOL_STATS_GET = 9, + NETDEV_CMD_QUEUE_GET = 10, + NETDEV_CMD_NAPI_GET = 11, + NETDEV_CMD_QSTATS_GET = 12, + NETDEV_CMD_BIND_RX = 13, + NETDEV_CMD_NAPI_SET = 14, + __NETDEV_CMD_MAX = 15, + NETDEV_CMD_MAX = 14, }; enum { NETDEV_NLGRP_MGMT = 0, + NETDEV_NLGRP_PAGE_POOL = 1, }; enum { @@ -3134,8 +3464,8 @@ enum { NETIF_F_HW_VLAN_CTAG_FILTER_BIT = 9, NETIF_F_VLAN_CHALLENGED_BIT = 10, NETIF_F_GSO_BIT = 11, - NETIF_F_LLTX_BIT = 12, - NETIF_F_NETNS_LOCAL_BIT = 13, + __UNUSED_NETIF_F_12 = 12, + __UNUSED_NETIF_F_13 = 13, NETIF_F_GRO_BIT = 14, NETIF_F_LRO_BIT = 15, NETIF_F_GSO_SHIFT = 16, @@ -3161,7 +3491,7 @@ enum { NETIF_F_GSO_LAST = 34, NETIF_F_FCOE_CRC_BIT = 35, NETIF_F_SCTP_CRC_BIT = 36, - NETIF_F_FCOE_MTU_BIT = 37, + __UNUSED_NETIF_F_37 = 37, NETIF_F_NTUPLE_BIT = 38, NETIF_F_RXHASH_BIT = 39, NETIF_F_RXCSUM_BIT = 40, @@ -3264,6 +3594,20 @@ enum { NFPROTO_NUMPROTO = 11, }; +enum { + NHA_GROUP_STATS_ENTRY_UNSPEC = 0, + NHA_GROUP_STATS_ENTRY_ID = 1, + NHA_GROUP_STATS_ENTRY_PACKETS = 2, + NHA_GROUP_STATS_ENTRY_PACKETS_HW = 3, + __NHA_GROUP_STATS_ENTRY_MAX = 4, +}; + +enum { + NHA_GROUP_STATS_UNSPEC = 0, + NHA_GROUP_STATS_ENTRY = 1, + __NHA_GROUP_STATS_MAX = 2, +}; + enum { NHA_RES_BUCKET_UNSPEC = 0, NHA_RES_BUCKET_PAD = 0, @@ -3298,7 +3642,11 @@ enum { NHA_FDB = 11, NHA_RES_GROUP = 12, NHA_RES_BUCKET = 13, - __NHA_MAX = 14, + NHA_OP_FLAGS = 14, + NHA_GROUP_STATS = 15, + NHA_HW_STATS_ENABLE = 16, + NHA_HW_STATS_USED = 17, + __NHA_MAX = 18, }; enum { @@ -3322,7 +3670,9 @@ enum { NLA_REJECT = 17, NLA_BE16 = 18, NLA_BE32 = 19, - __NLA_TYPE_MAX = 20, + NLA_SINT = 20, + NLA_UINT = 21, + __NLA_TYPE_MAX = 22, }; enum { @@ -3331,14 +3681,19 @@ enum { }; enum { - OPT_MODE = 0, + OPT_UID = 0, + OPT_GID = 1, + OPT_MODE = 2, + OPT_DELEGATE_CMDS = 3, + OPT_DELEGATE_MAPS = 4, + OPT_DELEGATE_PROGS = 5, + OPT_DELEGATE_ATTACHS = 6, }; enum { Opt_uid = 0, Opt_gid = 1, Opt_mode = 2, - Opt_err = 3, }; enum { @@ -3396,29 +3751,6 @@ enum { POOL_EARLY_BITS = 128, }; -enum { - POOL_MANAGER_ACTIVE = 1, - POOL_DISASSOCIATED = 4, - WORKER_DIE = 2, - WORKER_IDLE = 4, - WORKER_PREP = 8, - WORKER_CPU_INTENSIVE = 64, - WORKER_UNBOUND = 128, - WORKER_REBOUND = 256, - WORKER_NOT_RUNNING = 456, - NR_STD_WORKER_POOLS = 2, - UNBOUND_POOL_HASH_ORDER = 6, - BUSY_WORKER_HASH_ORDER = 6, - MAX_IDLE_WORKERS_RATIO = 4, - IDLE_WORKER_TIMEOUT = 75000, - MAYDAY_INITIAL_TIMEOUT = 2, - MAYDAY_INTERVAL = 25, - CREATE_COOLDOWN = 250, - RESCUER_NICE_LEVEL = -20, - HIGHPRI_NICE_LEVEL = -20, - WQ_NAME_LEN = 24, -}; - enum { PREFIX_UNSPEC = 0, PREFIX_ADDRESS = 1, @@ -3490,12 +3822,6 @@ enum { REGION_MIXED = 2, }; -enum { - REG_OP_ISFREE = 0, - REG_OP_ALLOC = 1, - REG_OP_RELEASE = 2, -}; - enum { REQ_F_FIXED_FILE_BIT = 0, REQ_F_IO_DRAIN_BIT = 1, @@ -3511,23 +3837,35 @@ enum { REQ_F_LINK_TIMEOUT_BIT = 12, REQ_F_NEED_CLEANUP_BIT = 13, REQ_F_POLLED_BIT = 14, - REQ_F_BUFFER_SELECTED_BIT = 15, - REQ_F_BUFFER_RING_BIT = 16, - REQ_F_REISSUE_BIT = 17, - REQ_F_CREDS_BIT = 18, - REQ_F_REFCOUNT_BIT = 19, - REQ_F_ARM_LTIMEOUT_BIT = 20, - REQ_F_ASYNC_DATA_BIT = 21, - REQ_F_SKIP_LINK_CQES_BIT = 22, - REQ_F_SINGLE_POLL_BIT = 23, - REQ_F_DOUBLE_POLL_BIT = 24, - REQ_F_PARTIAL_IO_BIT = 25, + REQ_F_HYBRID_IOPOLL_STATE_BIT = 15, + REQ_F_BUFFER_SELECTED_BIT = 16, + REQ_F_BUFFER_RING_BIT = 17, + REQ_F_REISSUE_BIT = 18, + REQ_F_CREDS_BIT = 19, + REQ_F_REFCOUNT_BIT = 20, + REQ_F_ARM_LTIMEOUT_BIT = 21, + REQ_F_ASYNC_DATA_BIT = 22, + REQ_F_SKIP_LINK_CQES_BIT = 23, + REQ_F_SINGLE_POLL_BIT = 24, + REQ_F_DOUBLE_POLL_BIT = 25, REQ_F_APOLL_MULTISHOT_BIT = 26, REQ_F_CLEAR_POLLIN_BIT = 27, - REQ_F_HASH_LOCKED_BIT = 28, - REQ_F_SUPPORT_NOWAIT_BIT = 29, - REQ_F_ISREG_BIT = 30, - __REQ_F_LAST_BIT = 31, + REQ_F_SUPPORT_NOWAIT_BIT = 28, + REQ_F_ISREG_BIT = 29, + REQ_F_POLL_NO_LAZY_BIT = 30, + REQ_F_CAN_POLL_BIT = 31, + REQ_F_BL_EMPTY_BIT = 32, + REQ_F_BL_NO_RECYCLE_BIT = 33, + REQ_F_BUFFERS_COMMIT_BIT = 34, + REQ_F_BUF_NODE_BIT = 35, + REQ_F_HAS_METADATA_BIT = 36, + __REQ_F_LAST_BIT = 37, +}; + +enum { + RS_INIT_FAILURE_BSDES = 2, + RS_INIT_FAILURE_ALRT = 3, + RS_INIT_FAILURE_PERF = 4, }; enum { @@ -3583,7 +3921,11 @@ enum { RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, + RTM_NEWMULTICAST = 56, + RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, + RTM_NEWANYCAST = 60, + RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -3681,12 +4023,13 @@ enum { SD_ASYM_CPUCAPACITY = 32, SD_ASYM_CPUCAPACITY_FULL = 64, SD_SHARE_CPUCAPACITY = 128, - SD_SHARE_PKG_RESOURCES = 256, - SD_SERIALIZE = 512, - SD_ASYM_PACKING = 1024, - SD_PREFER_SIBLING = 2048, - SD_OVERLAP = 4096, - SD_NUMA = 8192, + SD_CLUSTER = 256, + SD_SHARE_LLC = 512, + SD_SERIALIZE = 1024, + SD_ASYM_PACKING = 2048, + SD_PREFER_SIBLING = 4096, + SD_OVERLAP = 8192, + SD_NUMA = 16384, }; enum { @@ -3718,6 +4061,136 @@ enum { __SEG6_CMD_MAX = 5, }; +enum { + SFF8024_ID_UNK = 0, + SFF8024_ID_SFF_8472 = 2, + SFF8024_ID_SFP = 3, + SFF8024_ID_DWDM_SFP = 11, + SFF8024_ID_QSFP_8438 = 12, + SFF8024_ID_QSFP_8436_8636 = 13, + SFF8024_ID_QSFP28_8636 = 17, + SFF8024_ID_QSFP_DD = 24, + SFF8024_ID_OSFP = 25, + SFF8024_ID_DSFP = 27, + SFF8024_ID_QSFP_PLUS_CMIS = 30, + SFF8024_ID_SFP_DD_CMIS = 31, + SFF8024_ID_SFP_PLUS_CMIS = 32, + SFF8024_ENCODING_UNSPEC = 0, + SFF8024_ENCODING_8B10B = 1, + SFF8024_ENCODING_4B5B = 2, + SFF8024_ENCODING_NRZ = 3, + SFF8024_ENCODING_8472_MANCHESTER = 4, + SFF8024_ENCODING_8472_SONET = 5, + SFF8024_ENCODING_8472_64B66B = 6, + SFF8024_ENCODING_8436_MANCHESTER = 6, + SFF8024_ENCODING_8436_SONET = 4, + SFF8024_ENCODING_8436_64B66B = 5, + SFF8024_ENCODING_256B257B = 7, + SFF8024_ENCODING_PAM4 = 8, + SFF8024_CONNECTOR_UNSPEC = 0, + SFF8024_CONNECTOR_SC = 1, + SFF8024_CONNECTOR_FIBERJACK = 6, + SFF8024_CONNECTOR_LC = 7, + SFF8024_CONNECTOR_MT_RJ = 8, + SFF8024_CONNECTOR_MU = 9, + SFF8024_CONNECTOR_SG = 10, + SFF8024_CONNECTOR_OPTICAL_PIGTAIL = 11, + SFF8024_CONNECTOR_MPO_1X12 = 12, + SFF8024_CONNECTOR_MPO_2X16 = 13, + SFF8024_CONNECTOR_HSSDC_II = 32, + SFF8024_CONNECTOR_COPPER_PIGTAIL = 33, + SFF8024_CONNECTOR_RJ45 = 34, + SFF8024_CONNECTOR_NOSEPARATE = 35, + SFF8024_CONNECTOR_MXC_2X16 = 36, + SFF8024_ECC_UNSPEC = 0, + SFF8024_ECC_100G_25GAUI_C2M_AOC = 1, + SFF8024_ECC_100GBASE_SR4_25GBASE_SR = 2, + SFF8024_ECC_100GBASE_LR4_25GBASE_LR = 3, + SFF8024_ECC_100GBASE_ER4_25GBASE_ER = 4, + SFF8024_ECC_100GBASE_SR10 = 5, + SFF8024_ECC_100GBASE_CR4 = 11, + SFF8024_ECC_25GBASE_CR_S = 12, + SFF8024_ECC_25GBASE_CR_N = 13, + SFF8024_ECC_10GBASE_T_SFI = 22, + SFF8024_ECC_10GBASE_T_SR = 28, + SFF8024_ECC_5GBASE_T = 29, + SFF8024_ECC_2_5GBASE_T = 30, +}; + +enum { + SFP_PHYS_ID = 0, + SFP_PHYS_EXT_ID = 1, + SFP_PHYS_EXT_ID_SFP = 4, + SFP_CONNECTOR = 2, + SFP_COMPLIANCE = 3, + SFP_ENCODING = 11, + SFP_BR_NOMINAL = 12, + SFP_RATE_ID = 13, + SFF_RID_8079 = 1, + SFF_RID_8431_RX_ONLY = 2, + SFF_RID_8431_TX_ONLY = 4, + SFF_RID_8431 = 6, + SFF_RID_10G8G = 14, + SFP_LINK_LEN_SM_KM = 14, + SFP_LINK_LEN_SM_100M = 15, + SFP_LINK_LEN_50UM_OM2_10M = 16, + SFP_LINK_LEN_62_5UM_OM1_10M = 17, + SFP_LINK_LEN_COPPER_1M = 18, + SFP_LINK_LEN_50UM_OM4_10M = 18, + SFP_LINK_LEN_50UM_OM3_10M = 19, + SFP_VENDOR_NAME = 20, + SFP_VENDOR_OUI = 37, + SFP_VENDOR_PN = 40, + SFP_VENDOR_REV = 56, + SFP_OPTICAL_WAVELENGTH_MSB = 60, + SFP_OPTICAL_WAVELENGTH_LSB = 61, + SFP_CABLE_SPEC = 60, + SFP_CC_BASE = 63, + SFP_OPTIONS = 64, + SFP_OPTIONS_HIGH_POWER_LEVEL = 8192, + SFP_OPTIONS_PAGING_A2 = 4096, + SFP_OPTIONS_RETIMER = 2048, + SFP_OPTIONS_COOLED_XCVR = 1024, + SFP_OPTIONS_POWER_DECL = 512, + SFP_OPTIONS_RX_LINEAR_OUT = 256, + SFP_OPTIONS_RX_DECISION_THRESH = 128, + SFP_OPTIONS_TUNABLE_TX = 64, + SFP_OPTIONS_RATE_SELECT = 32, + SFP_OPTIONS_TX_DISABLE = 16, + SFP_OPTIONS_TX_FAULT = 8, + SFP_OPTIONS_LOS_INVERTED = 4, + SFP_OPTIONS_LOS_NORMAL = 2, + SFP_BR_MAX = 66, + SFP_BR_MIN = 67, + SFP_VENDOR_SN = 68, + SFP_DATECODE = 84, + SFP_DIAGMON = 92, + SFP_DIAGMON_DDM = 64, + SFP_DIAGMON_INT_CAL = 32, + SFP_DIAGMON_EXT_CAL = 16, + SFP_DIAGMON_RXPWR_AVG = 8, + SFP_DIAGMON_ADDRMODE = 4, + SFP_ENHOPTS = 93, + SFP_ENHOPTS_ALARMWARN = 128, + SFP_ENHOPTS_SOFT_TX_DISABLE = 64, + SFP_ENHOPTS_SOFT_TX_FAULT = 32, + SFP_ENHOPTS_SOFT_RX_LOS = 16, + SFP_ENHOPTS_SOFT_RATE_SELECT = 8, + SFP_ENHOPTS_APP_SELECT_SFF8079 = 4, + SFP_ENHOPTS_SOFT_RATE_SFF8431 = 2, + SFP_SFF8472_COMPLIANCE = 94, + SFP_SFF8472_COMPLIANCE_NONE = 0, + SFP_SFF8472_COMPLIANCE_REV9_3 = 1, + SFP_SFF8472_COMPLIANCE_REV9_5 = 2, + SFP_SFF8472_COMPLIANCE_REV10_2 = 3, + SFP_SFF8472_COMPLIANCE_REV10_4 = 4, + SFP_SFF8472_COMPLIANCE_REV11_0 = 5, + SFP_SFF8472_COMPLIANCE_REV11_3 = 6, + SFP_SFF8472_COMPLIANCE_REV11_4 = 7, + SFP_SFF8472_COMPLIANCE_REV12_0 = 8, + SFP_CC_EXT = 95, +}; + enum { SF_CYCLES_BASIC_ATTR_IDX = 0, SF_CYCLES_BASIC_DIAG_ATTR_IDX = 1, @@ -3828,8 +4301,9 @@ enum { SOF_TIMESTAMPING_OPT_TX_SWHW = 16384, SOF_TIMESTAMPING_BIND_PHC = 32768, SOF_TIMESTAMPING_OPT_ID_TCP = 65536, - SOF_TIMESTAMPING_LAST = 65536, - SOF_TIMESTAMPING_MASK = 131071, + SOF_TIMESTAMPING_OPT_RX_FILTER = 131072, + SOF_TIMESTAMPING_LAST = 131072, + SOF_TIMESTAMPING_MASK = 262143, }; enum { @@ -3846,7 +4320,6 @@ enum { SWP_PAGE_DISCARD = 1024, SWP_STABLE_WRITES = 2048, SWP_SYNCHRONOUS_IO = 4096, - SWP_SCANNING = 16384, }; enum { @@ -3865,6 +4338,16 @@ enum { TASK_COMM_LEN = 16, }; +enum { + TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT = 1, + TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST = 2, + TCA_FLOWER_KEY_FLAGS_TUNNEL_CSUM = 4, + TCA_FLOWER_KEY_FLAGS_TUNNEL_DONT_FRAGMENT = 8, + TCA_FLOWER_KEY_FLAGS_TUNNEL_OAM = 16, + TCA_FLOWER_KEY_FLAGS_TUNNEL_CRIT_OPT = 32, + __TCA_FLOWER_KEY_FLAGS_MAX = 33, +}; + enum { TCA_STATS_UNSPEC = 0, TCA_STATS_BASIC = 1, @@ -3912,6 +4395,7 @@ enum { TCPF_LISTEN = 1024, TCPF_CLOSING = 2048, TCPF_NEW_SYN_RECV = 4096, + TCPF_BOUND_INACTIVE = 8192, }; enum { @@ -3936,6 +4420,7 @@ enum { TCP_BPF_SYN = 1005, TCP_BPF_SYN_IP = 1006, TCP_BPF_SYN_MAC = 1007, + TCP_BPF_SOCK_OPS_CB_FLAGS = 1008, }; enum { @@ -3956,7 +4441,8 @@ enum { TCP_LISTEN = 10, TCP_CLOSING = 11, TCP_NEW_SYN_RECV = 12, - TCP_MAX_STATES = 13, + TCP_BOUND_INACTIVE = 13, + TCP_MAX_STATES = 14, }; enum { @@ -4055,6 +4541,12 @@ enum { TCP_QUEUES_NR = 3, }; +enum { + TEID_FSI_UNKNOWN = 0, + TEID_FSI_STORE = 1, + TEID_FSI_FETCH = 2, +}; + enum { TEST_ALIGNMENT = 16, }; @@ -4079,78 +4571,85 @@ enum { TP_ERR_NON_UNIQ_SYMBOL = 10, TP_ERR_BAD_RETPROBE = 11, TP_ERR_NO_TRACEPOINT = 12, - TP_ERR_BAD_ADDR_SUFFIX = 13, - TP_ERR_NO_GROUP_NAME = 14, - TP_ERR_GROUP_TOO_LONG = 15, - TP_ERR_BAD_GROUP_NAME = 16, - TP_ERR_NO_EVENT_NAME = 17, - TP_ERR_EVENT_TOO_LONG = 18, - TP_ERR_BAD_EVENT_NAME = 19, - TP_ERR_EVENT_EXIST = 20, - TP_ERR_RETVAL_ON_PROBE = 21, - TP_ERR_NO_RETVAL = 22, - TP_ERR_BAD_STACK_NUM = 23, - TP_ERR_BAD_ARG_NUM = 24, - TP_ERR_BAD_VAR = 25, - TP_ERR_BAD_REG_NAME = 26, - TP_ERR_BAD_MEM_ADDR = 27, - TP_ERR_BAD_IMM = 28, - TP_ERR_IMMSTR_NO_CLOSE = 29, - TP_ERR_FILE_ON_KPROBE = 30, - TP_ERR_BAD_FILE_OFFS = 31, - TP_ERR_SYM_ON_UPROBE = 32, - TP_ERR_TOO_MANY_OPS = 33, - TP_ERR_DEREF_NEED_BRACE = 34, - TP_ERR_BAD_DEREF_OFFS = 35, - TP_ERR_DEREF_OPEN_BRACE = 36, - TP_ERR_COMM_CANT_DEREF = 37, - TP_ERR_BAD_FETCH_ARG = 38, - TP_ERR_ARRAY_NO_CLOSE = 39, - TP_ERR_BAD_ARRAY_SUFFIX = 40, - TP_ERR_BAD_ARRAY_NUM = 41, - TP_ERR_ARRAY_TOO_BIG = 42, - TP_ERR_BAD_TYPE = 43, - TP_ERR_BAD_STRING = 44, - TP_ERR_BAD_SYMSTRING = 45, - TP_ERR_BAD_BITFIELD = 46, - TP_ERR_ARG_NAME_TOO_LONG = 47, - TP_ERR_NO_ARG_NAME = 48, - TP_ERR_BAD_ARG_NAME = 49, - TP_ERR_USED_ARG_NAME = 50, - TP_ERR_ARG_TOO_LONG = 51, - TP_ERR_NO_ARG_BODY = 52, - TP_ERR_BAD_INSN_BNDRY = 53, - TP_ERR_FAIL_REG_PROBE = 54, - TP_ERR_DIFF_PROBE_TYPE = 55, - TP_ERR_DIFF_ARG_TYPE = 56, - TP_ERR_SAME_PROBE = 57, - TP_ERR_NO_EVENT_INFO = 58, - TP_ERR_BAD_ATTACH_EVENT = 59, - TP_ERR_BAD_ATTACH_ARG = 60, - TP_ERR_NO_EP_FILTER = 61, - TP_ERR_NOSUP_BTFARG = 62, - TP_ERR_NO_BTFARG = 63, - TP_ERR_NO_BTF_ENTRY = 64, - TP_ERR_BAD_VAR_ARGS = 65, - TP_ERR_NOFENTRY_ARGS = 66, - TP_ERR_DOUBLE_ARGS = 67, - TP_ERR_ARGS_2LONG = 68, - TP_ERR_ARGIDX_2BIG = 69, - TP_ERR_NO_PTR_STRCT = 70, - TP_ERR_NOSUP_DAT_ARG = 71, - TP_ERR_BAD_HYPHEN = 72, - TP_ERR_NO_BTF_FIELD = 73, - TP_ERR_BAD_BTF_TID = 74, - TP_ERR_BAD_TYPE4STR = 75, + TP_ERR_BAD_TP_NAME = 13, + TP_ERR_BAD_ADDR_SUFFIX = 14, + TP_ERR_NO_GROUP_NAME = 15, + TP_ERR_GROUP_TOO_LONG = 16, + TP_ERR_BAD_GROUP_NAME = 17, + TP_ERR_NO_EVENT_NAME = 18, + TP_ERR_EVENT_TOO_LONG = 19, + TP_ERR_BAD_EVENT_NAME = 20, + TP_ERR_EVENT_EXIST = 21, + TP_ERR_RETVAL_ON_PROBE = 22, + TP_ERR_NO_RETVAL = 23, + TP_ERR_BAD_STACK_NUM = 24, + TP_ERR_BAD_ARG_NUM = 25, + TP_ERR_BAD_VAR = 26, + TP_ERR_BAD_REG_NAME = 27, + TP_ERR_BAD_MEM_ADDR = 28, + TP_ERR_BAD_IMM = 29, + TP_ERR_IMMSTR_NO_CLOSE = 30, + TP_ERR_FILE_ON_KPROBE = 31, + TP_ERR_BAD_FILE_OFFS = 32, + TP_ERR_SYM_ON_UPROBE = 33, + TP_ERR_TOO_MANY_OPS = 34, + TP_ERR_DEREF_NEED_BRACE = 35, + TP_ERR_BAD_DEREF_OFFS = 36, + TP_ERR_DEREF_OPEN_BRACE = 37, + TP_ERR_COMM_CANT_DEREF = 38, + TP_ERR_BAD_FETCH_ARG = 39, + TP_ERR_ARRAY_NO_CLOSE = 40, + TP_ERR_BAD_ARRAY_SUFFIX = 41, + TP_ERR_BAD_ARRAY_NUM = 42, + TP_ERR_ARRAY_TOO_BIG = 43, + TP_ERR_BAD_TYPE = 44, + TP_ERR_BAD_STRING = 45, + TP_ERR_BAD_SYMSTRING = 46, + TP_ERR_BAD_BITFIELD = 47, + TP_ERR_ARG_NAME_TOO_LONG = 48, + TP_ERR_NO_ARG_NAME = 49, + TP_ERR_BAD_ARG_NAME = 50, + TP_ERR_USED_ARG_NAME = 51, + TP_ERR_ARG_TOO_LONG = 52, + TP_ERR_NO_ARG_BODY = 53, + TP_ERR_BAD_INSN_BNDRY = 54, + TP_ERR_FAIL_REG_PROBE = 55, + TP_ERR_DIFF_PROBE_TYPE = 56, + TP_ERR_DIFF_ARG_TYPE = 57, + TP_ERR_SAME_PROBE = 58, + TP_ERR_NO_EVENT_INFO = 59, + TP_ERR_BAD_ATTACH_EVENT = 60, + TP_ERR_BAD_ATTACH_ARG = 61, + TP_ERR_NO_EP_FILTER = 62, + TP_ERR_NOSUP_BTFARG = 63, + TP_ERR_NO_BTFARG = 64, + TP_ERR_NO_BTF_ENTRY = 65, + TP_ERR_BAD_VAR_ARGS = 66, + TP_ERR_NOFENTRY_ARGS = 67, + TP_ERR_DOUBLE_ARGS = 68, + TP_ERR_ARGS_2LONG = 69, + TP_ERR_ARGIDX_2BIG = 70, + TP_ERR_NO_PTR_STRCT = 71, + TP_ERR_NOSUP_DAT_ARG = 72, + TP_ERR_BAD_HYPHEN = 73, + TP_ERR_NO_BTF_FIELD = 74, + TP_ERR_BAD_BTF_TID = 75, + TP_ERR_BAD_TYPE4STR = 76, + TP_ERR_NEED_STRING_TYPE = 77, + TP_ERR_TOO_MANY_EARGS = 78, }; enum { TRACEFS_EVENT_INODE = 2, - TRACEFS_EVENT_TOP_INODE = 4, + TRACEFS_GID_PERM_SET = 4, + TRACEFS_UID_PERM_SET = 8, + TRACEFS_INSTANCE_INODE = 16, }; enum { TRACE_ARRAY_FL_GLOBAL = 1, + TRACE_ARRAY_FL_BOOT = 2, + TRACE_ARRAY_FL_MOD_INIT = 4, }; enum { @@ -4162,31 +4661,31 @@ enum { }; enum { - TRACE_EVENT_FL_FILTERED = 1, - TRACE_EVENT_FL_CAP_ANY = 2, - TRACE_EVENT_FL_NO_SET_FILTER = 4, - TRACE_EVENT_FL_IGNORE_ENABLE = 8, - TRACE_EVENT_FL_TRACEPOINT = 16, - TRACE_EVENT_FL_DYNAMIC = 32, - TRACE_EVENT_FL_KPROBE = 64, - TRACE_EVENT_FL_UPROBE = 128, - TRACE_EVENT_FL_EPROBE = 256, - TRACE_EVENT_FL_FPROBE = 512, - TRACE_EVENT_FL_CUSTOM = 1024, + TRACE_EVENT_FL_CAP_ANY = 1, + TRACE_EVENT_FL_NO_SET_FILTER = 2, + TRACE_EVENT_FL_IGNORE_ENABLE = 4, + TRACE_EVENT_FL_TRACEPOINT = 8, + TRACE_EVENT_FL_DYNAMIC = 16, + TRACE_EVENT_FL_KPROBE = 32, + TRACE_EVENT_FL_UPROBE = 64, + TRACE_EVENT_FL_EPROBE = 128, + TRACE_EVENT_FL_FPROBE = 256, + TRACE_EVENT_FL_CUSTOM = 512, + TRACE_EVENT_FL_TEST_STR = 1024, }; enum { - TRACE_EVENT_FL_FILTERED_BIT = 0, - TRACE_EVENT_FL_CAP_ANY_BIT = 1, - TRACE_EVENT_FL_NO_SET_FILTER_BIT = 2, - TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 3, - TRACE_EVENT_FL_TRACEPOINT_BIT = 4, - TRACE_EVENT_FL_DYNAMIC_BIT = 5, - TRACE_EVENT_FL_KPROBE_BIT = 6, - TRACE_EVENT_FL_UPROBE_BIT = 7, - TRACE_EVENT_FL_EPROBE_BIT = 8, - TRACE_EVENT_FL_FPROBE_BIT = 9, - TRACE_EVENT_FL_CUSTOM_BIT = 10, + TRACE_EVENT_FL_CAP_ANY_BIT = 0, + TRACE_EVENT_FL_NO_SET_FILTER_BIT = 1, + TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 2, + TRACE_EVENT_FL_TRACEPOINT_BIT = 3, + TRACE_EVENT_FL_DYNAMIC_BIT = 4, + TRACE_EVENT_FL_KPROBE_BIT = 5, + TRACE_EVENT_FL_UPROBE_BIT = 6, + TRACE_EVENT_FL_EPROBE_BIT = 7, + TRACE_EVENT_FL_FPROBE_BIT = 8, + TRACE_EVENT_FL_CUSTOM_BIT = 9, + TRACE_EVENT_FL_TEST_STR_BIT = 10, }; enum { @@ -4202,11 +4701,7 @@ enum { TRACE_INTERNAL_TRANSITION_BIT = 9, TRACE_BRANCH_BIT = 10, TRACE_IRQ_BIT = 11, - TRACE_GRAPH_BIT = 12, - TRACE_GRAPH_DEPTH_START_BIT = 13, - TRACE_GRAPH_DEPTH_END_BIT = 14, - TRACE_GRAPH_NOTRACE_BIT = 15, - TRACE_RECORD_RECURSION_BIT = 16, + TRACE_RECORD_RECURSION_BIT = 12, }; enum { @@ -4216,6 +4711,13 @@ enum { TRACE_FUNC_OPT_HIGHEST_BIT = 4, }; +enum { + TRACE_GRAPH_FL = 1, + TRACE_GRAPH_DEPTH_START_BIT = 2, + TRACE_GRAPH_DEPTH_END_BIT = 3, + TRACE_GRAPH_NOTRACE_BIT = 4, +}; + enum { TRACE_NOP_OPT_ACCEPT = 1, TRACE_NOP_OPT_REFUSE = 2, @@ -4245,6 +4747,18 @@ enum { UDP_BPF_NUM_PROTS = 2, }; +enum { + UDP_FLAGS_CORK = 0, + UDP_FLAGS_NO_CHECK6_TX = 1, + UDP_FLAGS_NO_CHECK6_RX = 2, + UDP_FLAGS_GRO_ENABLED = 3, + UDP_FLAGS_ACCEPT_FRAGLIST = 4, + UDP_FLAGS_ACCEPT_L4 = 5, + UDP_FLAGS_ENCAP_ENABLED = 6, + UDP_FLAGS_UDPLITE_SEND_CC = 7, + UDP_FLAGS_UDPLITE_RECV_CC = 8, +}; + enum { UDP_MIB_NUM = 0, UDP_MIB_INDATAGRAMS = 1, @@ -4325,14 +4839,15 @@ enum { U8_32 = 48, U12_16 = 49, U16_16 = 50, - U16_32 = 51, - U32_16 = 52, - VX_12 = 53, - V_8 = 54, - V_12 = 55, - V_16 = 56, - V_32 = 57, - X_12 = 58, + U16_20 = 51, + U16_32 = 52, + U32_16 = 53, + VX_12 = 54, + V_8 = 55, + V_12 = 56, + V_16 = 57, + V_32 = 58, + X_12 = 59, }; enum { @@ -4341,50 +4856,6 @@ enum { WALK_NOFOLLOW = 4, }; -enum { - WORK_STRUCT_PENDING_BIT = 0, - WORK_STRUCT_INACTIVE_BIT = 1, - WORK_STRUCT_PWQ_BIT = 2, - WORK_STRUCT_LINKED_BIT = 3, - WORK_STRUCT_COLOR_SHIFT = 4, - WORK_STRUCT_COLOR_BITS = 4, - WORK_STRUCT_PENDING = 1, - WORK_STRUCT_INACTIVE = 2, - WORK_STRUCT_PWQ = 4, - WORK_STRUCT_LINKED = 8, - WORK_STRUCT_STATIC = 0, - WORK_NR_COLORS = 16, - WORK_CPU_UNBOUND = 64, - WORK_STRUCT_FLAG_BITS = 8, - WORK_OFFQ_FLAG_BASE = 4, - __WORK_OFFQ_CANCELING = 4, - WORK_OFFQ_FLAG_BITS = 1, - WORK_OFFQ_POOL_SHIFT = 5, - WORK_OFFQ_LEFT = 59, - WORK_OFFQ_POOL_BITS = 31, - WORK_BUSY_PENDING = 1, - WORK_BUSY_RUNNING = 2, - WORKER_DESC_LEN = 24, -}; - -enum { - WQ_UNBOUND = 2, - WQ_FREEZABLE = 4, - WQ_MEM_RECLAIM = 8, - WQ_HIGHPRI = 16, - WQ_CPU_INTENSIVE = 32, - WQ_SYSFS = 64, - WQ_POWER_EFFICIENT = 128, - __WQ_DESTROYING = 32768, - __WQ_DRAINING = 65536, - __WQ_ORDERED = 131072, - __WQ_LEGACY = 262144, - __WQ_ORDERED_EXPLICIT = 524288, - WQ_MAX_ACTIVE = 512, - WQ_UNBOUND_MAX_ACTIVE = 512, - WQ_DFL_ACTIVE = 256, -}; - enum { XA_CHECK_SCHED = 4096, }; @@ -4397,12 +4868,6 @@ enum { XDP_ATTACHED_MULTI = 4, }; -enum { - XDP_METADATA_KFUNC_RX_TIMESTAMP = 0, - XDP_METADATA_KFUNC_RX_HASH = 1, - MAX_XDP_METADATA_KFUNC = 2, -}; - enum { XFRM_LOOKUP_ICMP = 1, XFRM_LOOKUP_QUEUE = 2, @@ -4467,7 +4932,6 @@ enum { _IRQ_NOREQUEST = 2048, _IRQ_NOTHREAD = 65536, _IRQ_NOAUTOEN = 4096, - _IRQ_MOVE_PCNTXT = 16384, _IRQ_NO_BALANCING = 8192, _IRQ_NESTED_THREAD = 32768, _IRQ_PER_CPU_DEVID = 131072, @@ -4475,7 +4939,7 @@ enum { _IRQ_DISABLE_UNLAZY = 524288, _IRQ_HIDDEN = 1048576, _IRQ_NO_DEBUG = 2097152, - _IRQF_MODIFY_MASK = 2096911, + _IRQF_MODIFY_MASK = 2080527, }; enum { @@ -4516,48 +4980,59 @@ enum { enum { __SCHED_FEAT_PLACE_LAG = 0, __SCHED_FEAT_PLACE_DEADLINE_INITIAL = 1, - __SCHED_FEAT_RUN_TO_PARITY = 2, - __SCHED_FEAT_NEXT_BUDDY = 3, - __SCHED_FEAT_CACHE_HOT_BUDDY = 4, - __SCHED_FEAT_WAKEUP_PREEMPTION = 5, - __SCHED_FEAT_HRTICK = 6, - __SCHED_FEAT_HRTICK_DL = 7, - __SCHED_FEAT_DOUBLE_TICK = 8, - __SCHED_FEAT_NONTASK_CAPACITY = 9, - __SCHED_FEAT_TTWU_QUEUE = 10, - __SCHED_FEAT_SIS_PROP = 11, - __SCHED_FEAT_SIS_UTIL = 12, - __SCHED_FEAT_WARN_DOUBLE_CLOCK = 13, - __SCHED_FEAT_RT_PUSH_IPI = 14, - __SCHED_FEAT_RT_RUNTIME_SHARE = 15, - __SCHED_FEAT_LB_MIN = 16, - __SCHED_FEAT_ATTACH_AGE_LOAD = 17, - __SCHED_FEAT_WA_IDLE = 18, - __SCHED_FEAT_WA_WEIGHT = 19, - __SCHED_FEAT_WA_BIAS = 20, - __SCHED_FEAT_UTIL_EST = 21, - __SCHED_FEAT_UTIL_EST_FASTUP = 22, - __SCHED_FEAT_LATENCY_WARN = 23, - __SCHED_FEAT_HZ_BW = 24, - __SCHED_FEAT_NR = 25, -}; - -enum { - __SD_BALANCE_NEWIDLE = 0, - __SD_BALANCE_EXEC = 1, - __SD_BALANCE_FORK = 2, - __SD_BALANCE_WAKE = 3, - __SD_WAKE_AFFINE = 4, - __SD_ASYM_CPUCAPACITY = 5, - __SD_ASYM_CPUCAPACITY_FULL = 6, - __SD_SHARE_CPUCAPACITY = 7, - __SD_SHARE_PKG_RESOURCES = 8, - __SD_SERIALIZE = 9, - __SD_ASYM_PACKING = 10, - __SD_PREFER_SIBLING = 11, - __SD_OVERLAP = 12, - __SD_NUMA = 13, - __SD_FLAG_CNT = 14, + __SCHED_FEAT_PLACE_REL_DEADLINE = 2, + __SCHED_FEAT_RUN_TO_PARITY = 3, + __SCHED_FEAT_PREEMPT_SHORT = 4, + __SCHED_FEAT_NEXT_BUDDY = 5, + __SCHED_FEAT_PICK_BUDDY = 6, + __SCHED_FEAT_CACHE_HOT_BUDDY = 7, + __SCHED_FEAT_DELAY_DEQUEUE = 8, + __SCHED_FEAT_DELAY_ZERO = 9, + __SCHED_FEAT_WAKEUP_PREEMPTION = 10, + __SCHED_FEAT_HRTICK = 11, + __SCHED_FEAT_HRTICK_DL = 12, + __SCHED_FEAT_NONTASK_CAPACITY = 13, + __SCHED_FEAT_TTWU_QUEUE = 14, + __SCHED_FEAT_SIS_UTIL = 15, + __SCHED_FEAT_WARN_DOUBLE_CLOCK = 16, + __SCHED_FEAT_RT_PUSH_IPI = 17, + __SCHED_FEAT_RT_RUNTIME_SHARE = 18, + __SCHED_FEAT_LB_MIN = 19, + __SCHED_FEAT_ATTACH_AGE_LOAD = 20, + __SCHED_FEAT_WA_IDLE = 21, + __SCHED_FEAT_WA_WEIGHT = 22, + __SCHED_FEAT_WA_BIAS = 23, + __SCHED_FEAT_UTIL_EST = 24, + __SCHED_FEAT_LATENCY_WARN = 25, + __SCHED_FEAT_NR = 26, +}; + +enum { + ___GFP_DMA_BIT = 0, + ___GFP_HIGHMEM_BIT = 1, + ___GFP_DMA32_BIT = 2, + ___GFP_MOVABLE_BIT = 3, + ___GFP_RECLAIMABLE_BIT = 4, + ___GFP_HIGH_BIT = 5, + ___GFP_IO_BIT = 6, + ___GFP_FS_BIT = 7, + ___GFP_ZERO_BIT = 8, + ___GFP_UNUSED_BIT = 9, + ___GFP_DIRECT_RECLAIM_BIT = 10, + ___GFP_KSWAPD_RECLAIM_BIT = 11, + ___GFP_WRITE_BIT = 12, + ___GFP_NOWARN_BIT = 13, + ___GFP_RETRY_MAYFAIL_BIT = 14, + ___GFP_NOFAIL_BIT = 15, + ___GFP_NORETRY_BIT = 16, + ___GFP_MEMALLOC_BIT = 17, + ___GFP_COMP_BIT = 18, + ___GFP_NOMEMALLOC_BIT = 19, + ___GFP_HARDWALL_BIT = 20, + ___GFP_THISNODE_BIT = 21, + ___GFP_ACCOUNT_BIT = 22, + ___GFP_ZEROTAGS_BIT = 23, + ___GFP_LAST_BIT = 24, }; enum { @@ -4584,8 +5059,7 @@ enum { __ctx_convertBPF_PROG_TYPE_STRUCT_OPS = 20, __ctx_convertBPF_PROG_TYPE_EXT = 21, __ctx_convertBPF_PROG_TYPE_SYSCALL = 22, - __ctx_convertBPF_PROG_TYPE_NETFILTER = 23, - __ctx_convert_unused = 24, + __ctx_convert_unused = 23, }; enum { @@ -4654,7 +5128,8 @@ typedef enum { PHY_INTERFACE_MODE_10GKR = 30, PHY_INTERFACE_MODE_QUSGMII = 31, PHY_INTERFACE_MODE_1000BASEKX = 32, - PHY_INTERFACE_MODE_MAX = 33, + PHY_INTERFACE_MODE_10G_QXGMII = 33, + PHY_INTERFACE_MODE_MAX = 34, } phy_interface_t; typedef enum { @@ -4683,17 +5158,32 @@ enum __sk_action { __SK_NONE = 3, }; +enum _slab_flag_bits { + _SLAB_CONSISTENCY_CHECKS = 0, + _SLAB_RED_ZONE = 1, + _SLAB_POISON = 2, + _SLAB_KMALLOC = 3, + _SLAB_HWCACHE_ALIGN = 4, + _SLAB_CACHE_DMA = 5, + _SLAB_CACHE_DMA32 = 6, + _SLAB_STORE_USER = 7, + _SLAB_PANIC = 8, + _SLAB_TYPESAFE_BY_RCU = 9, + _SLAB_TRACE = 10, + _SLAB_NOLEAKTRACE = 11, + _SLAB_NO_MERGE = 12, + _SLAB_NO_USER_FLAGS = 13, + _SLAB_OBJECT_POISON = 14, + _SLAB_CMPXCHG_DOUBLE = 15, + _SLAB_FLAGS_LAST_BIT = 16, +}; + enum addr_type_t { UNICAST_ADDR = 0, MULTICAST_ADDR = 1, ANYCAST_ADDR = 2, }; -enum alarmtimer_restart { - ALARMTIMER_NORESTART = 0, - ALARMTIMER_RESTART = 1, -}; - enum alarmtimer_type { ALARM_REALTIME = 0, ALARM_BOOTTIME = 1, @@ -4753,10 +5243,12 @@ enum blake2s_lengths { BLAKE2S_256_HASH_SIZE = 32, }; -enum blk_bounce { - BLK_BOUNCE_NONE = 0, - BLK_BOUNCE_HIGH = 1, -}; +enum blk_integrity_checksum { + BLK_INTEGRITY_CSUM_NONE = 0, + BLK_INTEGRITY_CSUM_IP = 1, + BLK_INTEGRITY_CSUM_CRC = 2, + BLK_INTEGRITY_CSUM_CRC64 = 3, +} __attribute__((mode(byte))); enum blk_unique_id { BLK_UID_T10 = 1, @@ -4764,12 +5256,6 @@ enum blk_unique_id { BLK_UID_NAA = 3, }; -enum blk_zoned_model { - BLK_ZONED_NONE = 0, - BLK_ZONED_HA = 1, - BLK_ZONED_HM = 2, -}; - enum bpf_access_src { ACCESS_DIRECT = 1, ACCESS_HELPER = 2, @@ -4780,6 +5266,10 @@ enum bpf_access_type { BPF_WRITE = 2, }; +enum bpf_addr_space_cast { + BPF_ADDR_SPACE_CAST = 1, +}; + enum bpf_adj_room_mode { BPF_ADJ_ROOM_NET = 0, BPF_ADJ_ROOM_MAC = 1, @@ -4791,36 +5281,40 @@ enum bpf_arg_type { ARG_PTR_TO_MAP_KEY = 2, ARG_PTR_TO_MAP_VALUE = 3, ARG_PTR_TO_MEM = 4, - ARG_CONST_SIZE = 5, - ARG_CONST_SIZE_OR_ZERO = 6, - ARG_PTR_TO_CTX = 7, - ARG_ANYTHING = 8, - ARG_PTR_TO_SPIN_LOCK = 9, - ARG_PTR_TO_SOCK_COMMON = 10, - ARG_PTR_TO_INT = 11, - ARG_PTR_TO_LONG = 12, - ARG_PTR_TO_SOCKET = 13, - ARG_PTR_TO_BTF_ID = 14, - ARG_PTR_TO_RINGBUF_MEM = 15, - ARG_CONST_ALLOC_SIZE_OR_ZERO = 16, - ARG_PTR_TO_BTF_ID_SOCK_COMMON = 17, - ARG_PTR_TO_PERCPU_BTF_ID = 18, - ARG_PTR_TO_FUNC = 19, - ARG_PTR_TO_STACK = 20, - ARG_PTR_TO_CONST_STR = 21, - ARG_PTR_TO_TIMER = 22, - ARG_PTR_TO_KPTR = 23, - ARG_PTR_TO_DYNPTR = 24, - __BPF_ARG_TYPE_MAX = 25, + ARG_PTR_TO_ARENA = 5, + ARG_CONST_SIZE = 6, + ARG_CONST_SIZE_OR_ZERO = 7, + ARG_PTR_TO_CTX = 8, + ARG_ANYTHING = 9, + ARG_PTR_TO_SPIN_LOCK = 10, + ARG_PTR_TO_SOCK_COMMON = 11, + ARG_PTR_TO_SOCKET = 12, + ARG_PTR_TO_BTF_ID = 13, + ARG_PTR_TO_RINGBUF_MEM = 14, + ARG_CONST_ALLOC_SIZE_OR_ZERO = 15, + ARG_PTR_TO_BTF_ID_SOCK_COMMON = 16, + ARG_PTR_TO_PERCPU_BTF_ID = 17, + ARG_PTR_TO_FUNC = 18, + ARG_PTR_TO_STACK = 19, + ARG_PTR_TO_CONST_STR = 20, + ARG_PTR_TO_TIMER = 21, + ARG_KPTR_XCHG_DEST = 22, + ARG_PTR_TO_DYNPTR = 23, + __BPF_ARG_TYPE_MAX = 24, ARG_PTR_TO_MAP_VALUE_OR_NULL = 259, ARG_PTR_TO_MEM_OR_NULL = 260, - ARG_PTR_TO_CTX_OR_NULL = 263, - ARG_PTR_TO_SOCKET_OR_NULL = 269, - ARG_PTR_TO_STACK_OR_NULL = 276, - ARG_PTR_TO_BTF_ID_OR_NULL = 270, - ARG_PTR_TO_UNINIT_MEM = 32772, + ARG_PTR_TO_CTX_OR_NULL = 264, + ARG_PTR_TO_SOCKET_OR_NULL = 268, + ARG_PTR_TO_STACK_OR_NULL = 275, + ARG_PTR_TO_BTF_ID_OR_NULL = 269, + ARG_PTR_TO_UNINIT_MEM = 67141636, ARG_PTR_TO_FIXED_SIZE_MEM = 262148, - __BPF_ARG_TYPE_LIMIT = 33554431, + __BPF_ARG_TYPE_LIMIT = 134217727, +}; + +enum bpf_async_type { + BPF_ASYNC_TYPE_TIMER = 0, + BPF_ASYNC_TYPE_WQ = 1, }; enum bpf_attach_type { @@ -4873,7 +5367,16 @@ enum bpf_attach_type { BPF_TCX_INGRESS = 46, BPF_TCX_EGRESS = 47, BPF_TRACE_UPROBE_MULTI = 48, - __MAX_BPF_ATTACH_TYPE = 49, + BPF_CGROUP_UNIX_CONNECT = 49, + BPF_CGROUP_UNIX_SENDMSG = 50, + BPF_CGROUP_UNIX_RECVMSG = 51, + BPF_CGROUP_UNIX_GETPEERNAME = 52, + BPF_CGROUP_UNIX_GETSOCKNAME = 53, + BPF_NETKIT_PRIMARY = 54, + BPF_NETKIT_PEER = 55, + BPF_TRACE_KPROBE_SESSION = 56, + BPF_TRACE_UPROBE_SESSION = 57, + __MAX_BPF_ATTACH_TYPE = 58, }; enum bpf_audit { @@ -4944,6 +5447,12 @@ enum bpf_cmd { BPF_ITER_CREATE = 33, BPF_LINK_DETACH = 34, BPF_PROG_BIND_MAP = 35, + BPF_TOKEN_CREATE = 36, + __MAX_BPF_CMD = 37, +}; + +enum bpf_cond_pseudo_jmp { + BPF_MAY_GOTO = 0, }; enum bpf_core_relo_kind { @@ -5211,6 +5720,10 @@ enum bpf_jit_poke_reason { BPF_POKE_REASON_TAIL_CALL = 0, }; +enum bpf_kfunc_flags { + BPF_F_PAD_ZEROS = 1, +}; + enum bpf_link_type { BPF_LINK_TYPE_UNSPEC = 0, BPF_LINK_TYPE_RAW_TRACEPOINT = 1, @@ -5225,7 +5738,9 @@ enum bpf_link_type { BPF_LINK_TYPE_NETFILTER = 10, BPF_LINK_TYPE_TCX = 11, BPF_LINK_TYPE_UPROBE_MULTI = 12, - MAX_BPF_LINK_TYPE = 13, + BPF_LINK_TYPE_NETKIT = 13, + BPF_LINK_TYPE_SOCKMAP = 14, + __MAX_BPF_LINK_TYPE = 15, }; enum bpf_lru_list_type { @@ -5259,6 +5774,7 @@ enum bpf_map_type { BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED = 19, BPF_MAP_TYPE_CGROUP_STORAGE = 19, BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 20, + BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE_DEPRECATED = 21, BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 21, BPF_MAP_TYPE_QUEUE = 22, BPF_MAP_TYPE_STACK = 23, @@ -5271,6 +5787,8 @@ enum bpf_map_type { BPF_MAP_TYPE_BLOOM_FILTER = 30, BPF_MAP_TYPE_USER_RINGBUF = 31, BPF_MAP_TYPE_CGRP_STORAGE = 32, + BPF_MAP_TYPE_ARENA = 33, + __MAX_BPF_MAP_TYPE = 34, }; enum bpf_netdev_command { @@ -5325,6 +5843,7 @@ enum bpf_prog_type { BPF_PROG_TYPE_SK_LOOKUP = 30, BPF_PROG_TYPE_SYSCALL = 31, BPF_PROG_TYPE_NETFILTER = 32, + __MAX_BPF_PROG_TYPE = 33, }; enum bpf_reg_liveness { @@ -5355,16 +5874,17 @@ enum bpf_reg_type { PTR_TO_XDP_SOCK = 15, PTR_TO_BTF_ID = 16, PTR_TO_MEM = 17, - PTR_TO_BUF = 18, - PTR_TO_FUNC = 19, - CONST_PTR_TO_DYNPTR = 20, - __BPF_REG_TYPE_MAX = 21, + PTR_TO_ARENA = 18, + PTR_TO_BUF = 19, + PTR_TO_FUNC = 20, + CONST_PTR_TO_DYNPTR = 21, + __BPF_REG_TYPE_MAX = 22, PTR_TO_MAP_VALUE_OR_NULL = 260, PTR_TO_SOCKET_OR_NULL = 267, PTR_TO_SOCK_COMMON_OR_NULL = 268, PTR_TO_TCP_SOCK_OR_NULL = 269, PTR_TO_BTF_ID_OR_NULL = 272, - __BPF_REG_TYPE_LIMIT = 33554431, + __BPF_REG_TYPE_LIMIT = 134217727, }; enum bpf_ret_code { @@ -5394,7 +5914,7 @@ enum bpf_return_type { RET_PTR_TO_DYNPTR_MEM_OR_NULL = 262, RET_PTR_TO_BTF_ID_OR_NULL = 264, RET_PTR_TO_BTF_ID_TRUSTED = 1048584, - __BPF_RET_TYPE_LIMIT = 33554431, + __BPF_RET_TYPE_LIMIT = 134217727, }; enum bpf_stack_build_id_status { @@ -5410,6 +5930,7 @@ enum bpf_stack_slot_type { STACK_ZERO = 3, STACK_DYNPTR = 4, STACK_ITER = 5, + STACK_IRQ_FLAG = 6, }; enum bpf_stats_type { @@ -5482,8 +6003,10 @@ enum bpf_type_flag { NON_OWN_REF = 4194304, DYNPTR_TYPE_SKB = 8388608, DYNPTR_TYPE_XDP = 16777216, - __BPF_TYPE_FLAG_MAX = 16777217, - __BPF_TYPE_LAST_FLAG = 16777216, + MEM_ALIGNED = 33554432, + MEM_WRITE = 67108864, + __BPF_TYPE_FLAG_MAX = 67108865, + __BPF_TYPE_LAST_FLAG = 67108864, }; enum bpf_xdp_mode { @@ -5493,18 +6016,35 @@ enum bpf_xdp_mode { __MAX_XDP_MODE = 3, }; +enum btf_arg_tag { + ARG_TAG_CTX = 1, + ARG_TAG_NONNULL = 2, + ARG_TAG_TRUSTED = 4, + ARG_TAG_NULLABLE = 8, + ARG_TAG_ARENA = 16, +}; + +enum btf_field_iter_kind { + BTF_FIELD_ITER_IDS = 0, + BTF_FIELD_ITER_STRS = 1, +}; + enum btf_field_type { BPF_SPIN_LOCK = 1, BPF_TIMER = 2, BPF_KPTR_UNREF = 4, BPF_KPTR_REF = 8, - BPF_KPTR = 12, - BPF_LIST_HEAD = 16, - BPF_LIST_NODE = 32, - BPF_RB_ROOT = 64, - BPF_RB_NODE = 128, - BPF_GRAPH_NODE_OR_ROOT = 240, - BPF_REFCOUNT = 256, + BPF_KPTR_PERCPU = 16, + BPF_KPTR = 28, + BPF_LIST_HEAD = 32, + BPF_LIST_NODE = 64, + BPF_RB_ROOT = 128, + BPF_RB_NODE = 256, + BPF_GRAPH_NODE = 320, + BPF_GRAPH_ROOT = 160, + BPF_REFCOUNT = 512, + BPF_WORKQUEUE = 1024, + BPF_UPTR = 2048, }; enum btf_func_linkage { @@ -5521,13 +6061,14 @@ enum btf_kfunc_hook { BTF_KFUNC_HOOK_TRACING = 4, BTF_KFUNC_HOOK_SYSCALL = 5, BTF_KFUNC_HOOK_FMODRET = 6, - BTF_KFUNC_HOOK_CGROUP_SKB = 7, + BTF_KFUNC_HOOK_CGROUP = 7, BTF_KFUNC_HOOK_SCHED_ACT = 8, BTF_KFUNC_HOOK_SK_SKB = 9, BTF_KFUNC_HOOK_SOCKET_FILTER = 10, BTF_KFUNC_HOOK_LWT = 11, BTF_KFUNC_HOOK_NETFILTER = 12, - BTF_KFUNC_HOOK_MAX = 13, + BTF_KFUNC_HOOK_KPROBE = 13, + BTF_KFUNC_HOOK_MAX = 14, }; enum bug_trap_type { @@ -5562,7 +6103,8 @@ enum cc_attr { CC_ATTR_GUEST_STATE_ENCRYPT = 3, CC_ATTR_GUEST_UNROLL_STRING_IO = 4, CC_ATTR_GUEST_SEV_SNP = 5, - CC_ATTR_HOTPLUG_DISABLED = 6, + CC_ATTR_GUEST_SNP_SECURE_TSC = 6, + CC_ATTR_HOST_SEV_SNP = 7, }; enum cdev_todo { @@ -5587,6 +6129,10 @@ enum chacha_constants { CHACHA_CONSTANT_TE_K = 1797285236, }; +enum chsc_notify_type { + CHSC_NOTIFY_AP_CFG = 3, +}; + enum cleanup_prefix_rt_t { CLEANUP_PREFIX_RT_NOP = 0, CLEANUP_PREFIX_RT_DEL = 1, @@ -5604,7 +6150,12 @@ enum clock_event_state { enum clocksource_ids { CSID_GENERIC = 0, CSID_ARM_ARCH_COUNTER = 1, - CSID_MAX = 2, + CSID_S390_TOD = 2, + CSID_X86_TSC_EARLY = 3, + CSID_X86_TSC = 4, + CSID_X86_KVM_CLK = 5, + CSID_X86_ART = 6, + CSID_MAX = 7, }; enum cmb_format { @@ -5626,6 +6177,13 @@ enum cmb_index { cmb_initial_command_response_time = 8, }; +enum cmis_cdb_fw_write_mechanism { + CMIS_CDB_FW_WRITE_MECHANISM_NONE = 0, + CMIS_CDB_FW_WRITE_MECHANISM_LPL = 1, + CMIS_CDB_FW_WRITE_MECHANISM_EPL = 16, + CMIS_CDB_FW_WRITE_MECHANISM_BOTH = 17, +}; + enum compact_priority { COMPACT_PRIO_SYNC_FULL = 0, MIN_COMPACT_PRIORITY = 0, @@ -5667,6 +6225,7 @@ enum cons_flags { CON_BRL = 32, CON_EXTENDED = 64, CON_SUSPENDED = 128, + CON_NBCON = 256, }; enum cpio_fields { @@ -5688,8 +6247,8 @@ enum cpio_fields { }; enum cpu_idle_type { - CPU_IDLE = 0, - CPU_NOT_IDLE = 1, + __CPU_NOT_IDLE = 0, + CPU_IDLE = 1, CPU_NEWLY_IDLE = 2, CPU_MAX_IDLE_TYPES = 3, }; @@ -5714,11 +6273,6 @@ enum cpu_usage_stat { NR_STATS = 10, }; -enum cpu_util_type { - FREQUENCY_UTIL = 0, - ENERGY_UTIL = 1, -}; - enum cpufreq_table_sorting { CPUFREQ_TABLE_UNSORTED = 0, CPUFREQ_TABLE_SORTED_ASCENDING = 1, @@ -5735,186 +6289,180 @@ enum cpuhp_state { CPUHP_PERF_POWER = 5, CPUHP_PERF_SUPERH = 6, CPUHP_X86_HPET_DEAD = 7, - CPUHP_X86_APB_DEAD = 8, - CPUHP_X86_MCE_DEAD = 9, - CPUHP_VIRT_NET_DEAD = 10, - CPUHP_IBMVNIC_DEAD = 11, - CPUHP_SLUB_DEAD = 12, - CPUHP_DEBUG_OBJ_DEAD = 13, - CPUHP_MM_WRITEBACK_DEAD = 14, - CPUHP_MM_DEMOTION_DEAD = 15, - CPUHP_MM_VMSTAT_DEAD = 16, - CPUHP_SOFTIRQ_DEAD = 17, - CPUHP_NET_MVNETA_DEAD = 18, - CPUHP_CPUIDLE_DEAD = 19, - CPUHP_ARM64_FPSIMD_DEAD = 20, - CPUHP_ARM_OMAP_WAKE_DEAD = 21, - CPUHP_IRQ_POLL_DEAD = 22, - CPUHP_BLOCK_SOFTIRQ_DEAD = 23, - CPUHP_BIO_DEAD = 24, - CPUHP_ACPI_CPUDRV_DEAD = 25, - CPUHP_S390_PFAULT_DEAD = 26, - CPUHP_BLK_MQ_DEAD = 27, - CPUHP_FS_BUFF_DEAD = 28, - CPUHP_PRINTK_DEAD = 29, - CPUHP_MM_MEMCQ_DEAD = 30, - CPUHP_PERCPU_CNT_DEAD = 31, - CPUHP_RADIX_DEAD = 32, - CPUHP_PAGE_ALLOC = 33, - CPUHP_NET_DEV_DEAD = 34, - CPUHP_PCI_XGENE_DEAD = 35, - CPUHP_IOMMU_IOVA_DEAD = 36, - CPUHP_LUSTRE_CFS_DEAD = 37, - CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 38, - CPUHP_PADATA_DEAD = 39, - CPUHP_AP_DTPM_CPU_DEAD = 40, - CPUHP_RANDOM_PREPARE = 41, - CPUHP_WORKQUEUE_PREP = 42, - CPUHP_POWER_NUMA_PREPARE = 43, - CPUHP_HRTIMERS_PREPARE = 44, - CPUHP_PROFILE_PREPARE = 45, - CPUHP_X2APIC_PREPARE = 46, - CPUHP_SMPCFD_PREPARE = 47, - CPUHP_RELAY_PREPARE = 48, - CPUHP_SLAB_PREPARE = 49, - CPUHP_MD_RAID5_PREPARE = 50, - CPUHP_RCUTREE_PREP = 51, - CPUHP_CPUIDLE_COUPLED_PREPARE = 52, - CPUHP_POWERPC_PMAC_PREPARE = 53, - CPUHP_POWERPC_MMU_CTX_PREPARE = 54, - CPUHP_XEN_PREPARE = 55, - CPUHP_XEN_EVTCHN_PREPARE = 56, - CPUHP_ARM_SHMOBILE_SCU_PREPARE = 57, - CPUHP_SH_SH3X_PREPARE = 58, - CPUHP_NET_FLOW_PREPARE = 59, - CPUHP_TOPOLOGY_PREPARE = 60, - CPUHP_NET_IUCV_PREPARE = 61, - CPUHP_ARM_BL_PREPARE = 62, - CPUHP_TRACE_RB_PREPARE = 63, - CPUHP_MM_ZS_PREPARE = 64, - CPUHP_MM_ZSWP_MEM_PREPARE = 65, - CPUHP_MM_ZSWP_POOL_PREPARE = 66, - CPUHP_KVM_PPC_BOOK3S_PREPARE = 67, - CPUHP_ZCOMP_PREPARE = 68, - CPUHP_TIMERS_PREPARE = 69, - CPUHP_MIPS_SOC_PREPARE = 70, - CPUHP_BP_PREPARE_DYN = 71, - CPUHP_BP_PREPARE_DYN_END = 91, - CPUHP_BP_KICK_AP = 92, - CPUHP_BRINGUP_CPU = 93, - CPUHP_AP_IDLE_DEAD = 94, - CPUHP_AP_OFFLINE = 95, - CPUHP_AP_CACHECTRL_STARTING = 96, - CPUHP_AP_SCHED_STARTING = 97, - CPUHP_AP_RCUTREE_DYING = 98, - CPUHP_AP_CPU_PM_STARTING = 99, - CPUHP_AP_IRQ_GIC_STARTING = 100, - CPUHP_AP_IRQ_HIP04_STARTING = 101, - CPUHP_AP_IRQ_APPLE_AIC_STARTING = 102, - CPUHP_AP_IRQ_ARMADA_XP_STARTING = 103, - CPUHP_AP_IRQ_BCM2836_STARTING = 104, - CPUHP_AP_IRQ_MIPS_GIC_STARTING = 105, - CPUHP_AP_IRQ_RISCV_STARTING = 106, - CPUHP_AP_IRQ_LOONGARCH_STARTING = 107, - CPUHP_AP_IRQ_SIFIVE_PLIC_STARTING = 108, - CPUHP_AP_ARM_MVEBU_COHERENCY = 109, - CPUHP_AP_MICROCODE_LOADER = 110, - CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 111, - CPUHP_AP_PERF_X86_STARTING = 112, - CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 113, - CPUHP_AP_PERF_X86_CQM_STARTING = 114, - CPUHP_AP_PERF_X86_CSTATE_STARTING = 115, - CPUHP_AP_PERF_XTENSA_STARTING = 116, - CPUHP_AP_MIPS_OP_LOONGSON3_STARTING = 117, - CPUHP_AP_ARM_VFP_STARTING = 118, - CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 119, - CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 120, - CPUHP_AP_PERF_ARM_ACPI_STARTING = 121, - CPUHP_AP_PERF_ARM_STARTING = 122, - CPUHP_AP_PERF_RISCV_STARTING = 123, - CPUHP_AP_ARM_L2X0_STARTING = 124, - CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 125, - CPUHP_AP_ARM_ARCH_TIMER_STARTING = 126, - CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 127, - CPUHP_AP_JCORE_TIMER_STARTING = 128, - CPUHP_AP_ARM_TWD_STARTING = 129, - CPUHP_AP_QCOM_TIMER_STARTING = 130, - CPUHP_AP_TEGRA_TIMER_STARTING = 131, - CPUHP_AP_ARMADA_TIMER_STARTING = 132, - CPUHP_AP_MARCO_TIMER_STARTING = 133, - CPUHP_AP_MIPS_GIC_TIMER_STARTING = 134, - CPUHP_AP_ARC_TIMER_STARTING = 135, - CPUHP_AP_RISCV_TIMER_STARTING = 136, - CPUHP_AP_CLINT_TIMER_STARTING = 137, - CPUHP_AP_CSKY_TIMER_STARTING = 138, - CPUHP_AP_TI_GP_TIMER_STARTING = 139, - CPUHP_AP_HYPERV_TIMER_STARTING = 140, - CPUHP_AP_DUMMY_TIMER_STARTING = 141, - CPUHP_AP_ARM_XEN_STARTING = 142, - CPUHP_AP_ARM_CORESIGHT_STARTING = 143, - CPUHP_AP_ARM_CORESIGHT_CTI_STARTING = 144, - CPUHP_AP_ARM64_ISNDEP_STARTING = 145, - CPUHP_AP_SMPCFD_DYING = 146, - CPUHP_AP_X86_TBOOT_DYING = 147, - CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 148, - CPUHP_AP_ONLINE = 149, - CPUHP_TEARDOWN_CPU = 150, - CPUHP_AP_ONLINE_IDLE = 151, - CPUHP_AP_HYPERV_ONLINE = 152, - CPUHP_AP_KVM_ONLINE = 153, - CPUHP_AP_SCHED_WAIT_EMPTY = 154, - CPUHP_AP_SMPBOOT_THREADS = 155, - CPUHP_AP_X86_VDSO_VMA_ONLINE = 156, - CPUHP_AP_IRQ_AFFINITY_ONLINE = 157, - CPUHP_AP_BLK_MQ_ONLINE = 158, - CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 159, - CPUHP_AP_X86_INTEL_EPB_ONLINE = 160, - CPUHP_AP_PERF_ONLINE = 161, - CPUHP_AP_PERF_X86_ONLINE = 162, - CPUHP_AP_PERF_X86_UNCORE_ONLINE = 163, - CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 164, - CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 165, - CPUHP_AP_PERF_X86_RAPL_ONLINE = 166, - CPUHP_AP_PERF_X86_CQM_ONLINE = 167, - CPUHP_AP_PERF_X86_CSTATE_ONLINE = 168, - CPUHP_AP_PERF_X86_IDXD_ONLINE = 169, - CPUHP_AP_PERF_S390_CF_ONLINE = 170, - CPUHP_AP_PERF_S390_SF_ONLINE = 171, - CPUHP_AP_PERF_ARM_CCI_ONLINE = 172, - CPUHP_AP_PERF_ARM_CCN_ONLINE = 173, - CPUHP_AP_PERF_ARM_HISI_CPA_ONLINE = 174, - CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 175, - CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 176, - CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 177, - CPUHP_AP_PERF_ARM_HISI_PA_ONLINE = 178, - CPUHP_AP_PERF_ARM_HISI_SLLC_ONLINE = 179, - CPUHP_AP_PERF_ARM_HISI_PCIE_PMU_ONLINE = 180, - CPUHP_AP_PERF_ARM_HNS3_PMU_ONLINE = 181, - CPUHP_AP_PERF_ARM_L2X0_ONLINE = 182, - CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 183, - CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 184, - CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 185, - CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 186, - CPUHP_AP_PERF_ARM_MARVELL_CN10K_DDR_ONLINE = 187, - CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 188, - CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 189, - CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 190, - CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 191, - CPUHP_AP_PERF_POWERPC_HV_24x7_ONLINE = 192, - CPUHP_AP_PERF_POWERPC_HV_GPCI_ONLINE = 193, - CPUHP_AP_PERF_CSKY_ONLINE = 194, - CPUHP_AP_WATCHDOG_ONLINE = 195, - CPUHP_AP_WORKQUEUE_ONLINE = 196, - CPUHP_AP_RANDOM_ONLINE = 197, - CPUHP_AP_RCUTREE_ONLINE = 198, - CPUHP_AP_BASE_CACHEINFO_ONLINE = 199, - CPUHP_AP_ONLINE_DYN = 200, - CPUHP_AP_ONLINE_DYN_END = 230, - CPUHP_AP_MM_DEMOTION_ONLINE = 231, - CPUHP_AP_X86_HPET_ONLINE = 232, - CPUHP_AP_X86_KVM_CLK_ONLINE = 233, - CPUHP_AP_ACTIVE = 234, - CPUHP_ONLINE = 235, + CPUHP_X86_MCE_DEAD = 8, + CPUHP_VIRT_NET_DEAD = 9, + CPUHP_IBMVNIC_DEAD = 10, + CPUHP_SLUB_DEAD = 11, + CPUHP_DEBUG_OBJ_DEAD = 12, + CPUHP_MM_WRITEBACK_DEAD = 13, + CPUHP_MM_VMSTAT_DEAD = 14, + CPUHP_SOFTIRQ_DEAD = 15, + CPUHP_NET_MVNETA_DEAD = 16, + CPUHP_CPUIDLE_DEAD = 17, + CPUHP_ARM64_FPSIMD_DEAD = 18, + CPUHP_ARM_OMAP_WAKE_DEAD = 19, + CPUHP_IRQ_POLL_DEAD = 20, + CPUHP_BLOCK_SOFTIRQ_DEAD = 21, + CPUHP_BIO_DEAD = 22, + CPUHP_ACPI_CPUDRV_DEAD = 23, + CPUHP_S390_PFAULT_DEAD = 24, + CPUHP_BLK_MQ_DEAD = 25, + CPUHP_FS_BUFF_DEAD = 26, + CPUHP_PRINTK_DEAD = 27, + CPUHP_MM_MEMCQ_DEAD = 28, + CPUHP_PERCPU_CNT_DEAD = 29, + CPUHP_RADIX_DEAD = 30, + CPUHP_PAGE_ALLOC = 31, + CPUHP_NET_DEV_DEAD = 32, + CPUHP_PCI_XGENE_DEAD = 33, + CPUHP_IOMMU_IOVA_DEAD = 34, + CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 35, + CPUHP_PADATA_DEAD = 36, + CPUHP_AP_DTPM_CPU_DEAD = 37, + CPUHP_RANDOM_PREPARE = 38, + CPUHP_WORKQUEUE_PREP = 39, + CPUHP_POWER_NUMA_PREPARE = 40, + CPUHP_HRTIMERS_PREPARE = 41, + CPUHP_X2APIC_PREPARE = 42, + CPUHP_SMPCFD_PREPARE = 43, + CPUHP_RELAY_PREPARE = 44, + CPUHP_MD_RAID5_PREPARE = 45, + CPUHP_RCUTREE_PREP = 46, + CPUHP_CPUIDLE_COUPLED_PREPARE = 47, + CPUHP_POWERPC_PMAC_PREPARE = 48, + CPUHP_POWERPC_MMU_CTX_PREPARE = 49, + CPUHP_XEN_PREPARE = 50, + CPUHP_XEN_EVTCHN_PREPARE = 51, + CPUHP_ARM_SHMOBILE_SCU_PREPARE = 52, + CPUHP_SH_SH3X_PREPARE = 53, + CPUHP_TOPOLOGY_PREPARE = 54, + CPUHP_NET_IUCV_PREPARE = 55, + CPUHP_ARM_BL_PREPARE = 56, + CPUHP_TRACE_RB_PREPARE = 57, + CPUHP_MM_ZS_PREPARE = 58, + CPUHP_MM_ZSWP_POOL_PREPARE = 59, + CPUHP_KVM_PPC_BOOK3S_PREPARE = 60, + CPUHP_ZCOMP_PREPARE = 61, + CPUHP_TIMERS_PREPARE = 62, + CPUHP_TMIGR_PREPARE = 63, + CPUHP_MIPS_SOC_PREPARE = 64, + CPUHP_BP_PREPARE_DYN = 65, + CPUHP_BP_PREPARE_DYN_END = 85, + CPUHP_BP_KICK_AP = 86, + CPUHP_BRINGUP_CPU = 87, + CPUHP_AP_IDLE_DEAD = 88, + CPUHP_AP_OFFLINE = 89, + CPUHP_AP_CACHECTRL_STARTING = 90, + CPUHP_AP_SCHED_STARTING = 91, + CPUHP_AP_RCUTREE_DYING = 92, + CPUHP_AP_CPU_PM_STARTING = 93, + CPUHP_AP_IRQ_GIC_STARTING = 94, + CPUHP_AP_IRQ_HIP04_STARTING = 95, + CPUHP_AP_IRQ_APPLE_AIC_STARTING = 96, + CPUHP_AP_IRQ_ARMADA_XP_STARTING = 97, + CPUHP_AP_IRQ_BCM2836_STARTING = 98, + CPUHP_AP_IRQ_MIPS_GIC_STARTING = 99, + CPUHP_AP_IRQ_EIOINTC_STARTING = 100, + CPUHP_AP_IRQ_AVECINTC_STARTING = 101, + CPUHP_AP_IRQ_SIFIVE_PLIC_STARTING = 102, + CPUHP_AP_IRQ_THEAD_ACLINT_SSWI_STARTING = 103, + CPUHP_AP_IRQ_RISCV_IMSIC_STARTING = 104, + CPUHP_AP_IRQ_RISCV_SBI_IPI_STARTING = 105, + CPUHP_AP_ARM_MVEBU_COHERENCY = 106, + CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 107, + CPUHP_AP_PERF_X86_STARTING = 108, + CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 109, + CPUHP_AP_PERF_XTENSA_STARTING = 110, + CPUHP_AP_ARM_VFP_STARTING = 111, + CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 112, + CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 113, + CPUHP_AP_PERF_ARM_ACPI_STARTING = 114, + CPUHP_AP_PERF_ARM_STARTING = 115, + CPUHP_AP_PERF_RISCV_STARTING = 116, + CPUHP_AP_ARM_L2X0_STARTING = 117, + CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 118, + CPUHP_AP_ARM_ARCH_TIMER_STARTING = 119, + CPUHP_AP_ARM_ARCH_TIMER_EVTSTRM_STARTING = 120, + CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 121, + CPUHP_AP_JCORE_TIMER_STARTING = 122, + CPUHP_AP_ARM_TWD_STARTING = 123, + CPUHP_AP_QCOM_TIMER_STARTING = 124, + CPUHP_AP_TEGRA_TIMER_STARTING = 125, + CPUHP_AP_ARMADA_TIMER_STARTING = 126, + CPUHP_AP_MIPS_GIC_TIMER_STARTING = 127, + CPUHP_AP_ARC_TIMER_STARTING = 128, + CPUHP_AP_REALTEK_TIMER_STARTING = 129, + CPUHP_AP_RISCV_TIMER_STARTING = 130, + CPUHP_AP_CLINT_TIMER_STARTING = 131, + CPUHP_AP_CSKY_TIMER_STARTING = 132, + CPUHP_AP_TI_GP_TIMER_STARTING = 133, + CPUHP_AP_HYPERV_TIMER_STARTING = 134, + CPUHP_AP_DUMMY_TIMER_STARTING = 135, + CPUHP_AP_ARM_XEN_STARTING = 136, + CPUHP_AP_ARM_XEN_RUNSTATE_STARTING = 137, + CPUHP_AP_ARM_CORESIGHT_STARTING = 138, + CPUHP_AP_ARM_CORESIGHT_CTI_STARTING = 139, + CPUHP_AP_ARM64_ISNDEP_STARTING = 140, + CPUHP_AP_SMPCFD_DYING = 141, + CPUHP_AP_HRTIMERS_DYING = 142, + CPUHP_AP_TICK_DYING = 143, + CPUHP_AP_X86_TBOOT_DYING = 144, + CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 145, + CPUHP_AP_ONLINE = 146, + CPUHP_TEARDOWN_CPU = 147, + CPUHP_AP_ONLINE_IDLE = 148, + CPUHP_AP_HYPERV_ONLINE = 149, + CPUHP_AP_KVM_ONLINE = 150, + CPUHP_AP_SCHED_WAIT_EMPTY = 151, + CPUHP_AP_SMPBOOT_THREADS = 152, + CPUHP_AP_IRQ_AFFINITY_ONLINE = 153, + CPUHP_AP_BLK_MQ_ONLINE = 154, + CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 155, + CPUHP_AP_X86_INTEL_EPB_ONLINE = 156, + CPUHP_AP_PERF_ONLINE = 157, + CPUHP_AP_PERF_X86_ONLINE = 158, + CPUHP_AP_PERF_X86_UNCORE_ONLINE = 159, + CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 160, + CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 161, + CPUHP_AP_PERF_S390_CF_ONLINE = 162, + CPUHP_AP_PERF_S390_SF_ONLINE = 163, + CPUHP_AP_PERF_ARM_CCI_ONLINE = 164, + CPUHP_AP_PERF_ARM_CCN_ONLINE = 165, + CPUHP_AP_PERF_ARM_HISI_CPA_ONLINE = 166, + CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 167, + CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 168, + CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 169, + CPUHP_AP_PERF_ARM_HISI_PA_ONLINE = 170, + CPUHP_AP_PERF_ARM_HISI_SLLC_ONLINE = 171, + CPUHP_AP_PERF_ARM_HISI_PCIE_PMU_ONLINE = 172, + CPUHP_AP_PERF_ARM_HNS3_PMU_ONLINE = 173, + CPUHP_AP_PERF_ARM_L2X0_ONLINE = 174, + CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 175, + CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 176, + CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 177, + CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 178, + CPUHP_AP_PERF_ARM_MARVELL_CN10K_DDR_ONLINE = 179, + CPUHP_AP_PERF_ARM_MRVL_PEM_ONLINE = 180, + CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 181, + CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 182, + CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 183, + CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 184, + CPUHP_AP_PERF_POWERPC_HV_24x7_ONLINE = 185, + CPUHP_AP_PERF_POWERPC_HV_GPCI_ONLINE = 186, + CPUHP_AP_PERF_CSKY_ONLINE = 187, + CPUHP_AP_TMIGR_ONLINE = 188, + CPUHP_AP_WATCHDOG_ONLINE = 189, + CPUHP_AP_WORKQUEUE_ONLINE = 190, + CPUHP_AP_RANDOM_ONLINE = 191, + CPUHP_AP_RCUTREE_ONLINE = 192, + CPUHP_AP_KTHREADS_ONLINE = 193, + CPUHP_AP_BASE_CACHEINFO_ONLINE = 194, + CPUHP_AP_ONLINE_DYN = 195, + CPUHP_AP_ONLINE_DYN_END = 235, + CPUHP_AP_X86_HPET_ONLINE = 236, + CPUHP_AP_X86_KVM_CLK_ONLINE = 237, + CPUHP_AP_ACTIVE = 238, + CPUHP_ONLINE = 239, }; enum cpuhp_sync_state { @@ -5941,12 +6489,17 @@ enum css_eval_cond { }; enum ctx_state { - CONTEXT_DISABLED = -1, - CONTEXT_KERNEL = 0, - CONTEXT_IDLE = 1, - CONTEXT_USER = 2, - CONTEXT_GUEST = 3, - CONTEXT_MAX = 4, + CT_STATE_DISABLED = -1, + CT_STATE_KERNEL = 0, + CT_STATE_IDLE = 1, + CT_STATE_USER = 2, + CT_STATE_GUEST = 3, + CT_STATE_MAX = 4, +}; + +enum d_real_type { + D_REAL_DATA = 0, + D_REAL_METADATA = 1, }; enum d_walk_ret { @@ -5967,9 +6520,9 @@ enum dccp_state { DCCP_TIME_WAIT = 6, DCCP_CLOSED = 7, DCCP_NEW_SYN_RECV = 12, - DCCP_PARTOPEN = 13, - DCCP_PASSIVE_CLOSEREQ = 14, - DCCP_MAX_STATES = 15, + DCCP_PARTOPEN = 14, + DCCP_PASSIVE_CLOSEREQ = 15, + DCCP_MAX_STATES = 16, }; enum dentry_d_lock_class { @@ -6143,8 +6696,27 @@ enum diag308_subcode { DIAG308_LOAD_NORMAL = 7, }; -enum diag308_subcode_flags { - DIAG308_FLAG_EI = 65536, +enum diag310_retcode { + DIAG310_RET_SUCCESS = 1, + DIAG310_RET_BUSY = 257, + DIAG310_RET_OPNOTSUPP = 258, + DIAG310_RET_SC4_INVAL = 1025, + DIAG310_RET_SC4_NODATA = 1026, + DIAG310_RET_SC5_INVAL = 1281, + DIAG310_RET_SC5_NODATA = 1282, + DIAG310_RET_SC5_ESIZE = 1283, +}; + +enum diag310_sc { + DIAG310_SUBC_0 = 0, + DIAG310_SUBC_1 = 1, + DIAG310_SUBC_4 = 4, + DIAG310_SUBC_5 = 5, +}; + +enum diag49c_sc { + DIAG49C_SUBC_ACK = 0, + DIAG49C_SUBC_REG = 1, }; enum diag_stat_enum { @@ -6168,10 +6740,13 @@ enum diag_stat_enum { DIAG_STAT_X2FC = 17, DIAG_STAT_X304 = 18, DIAG_STAT_X308 = 19, - DIAG_STAT_X318 = 20, - DIAG_STAT_X320 = 21, - DIAG_STAT_X500 = 22, - NR_DIAG_STAT = 23, + DIAG_STAT_X310 = 20, + DIAG_STAT_X318 = 21, + DIAG_STAT_X320 = 22, + DIAG_STAT_X324 = 23, + DIAG_STAT_X49C = 24, + DIAG_STAT_X500 = 25, + NR_DIAG_STAT = 26, }; enum die_val { @@ -6189,8 +6764,39 @@ enum die_val { DIE_NMI_IPI = 12, }; +enum dim_cq_period_mode { + DIM_CQ_PERIOD_MODE_START_FROM_EQE = 0, + DIM_CQ_PERIOD_MODE_START_FROM_CQE = 1, + DIM_CQ_PERIOD_NUM_MODES = 2, +}; + +enum dim_state { + DIM_START_MEASURE = 0, + DIM_MEASURE_IN_PROGRESS = 1, + DIM_APPLY_NEW_PROFILE = 2, +}; + +enum dim_stats_state { + DIM_STATS_WORSE = 0, + DIM_STATS_SAME = 1, + DIM_STATS_BETTER = 2, +}; + +enum dim_step_result { + DIM_STEPPED = 0, + DIM_TOO_TIRED = 1, + DIM_ON_EDGE = 2, +}; + +enum dim_tune_state { + DIM_PARKING_ON_TOP = 0, + DIM_PARKING_TIRED = 1, + DIM_GOING_RIGHT = 2, + DIM_GOING_LEFT = 3, +}; + enum dl_bw_request { - dl_bw_req_check_overflow = 0, + dl_bw_req_deactivate = 0, dl_bw_req_alloc = 1, dl_bw_req_free = 2, }; @@ -6256,6 +6862,92 @@ enum error_detector { ERROR_DETECTOR_WARN = 2, }; +enum ethnl_sock_type { + ETHTOOL_SOCK_TYPE_MODULE_FW_FLASH = 0, +}; + +enum ethtool_c33_pse_admin_state { + ETHTOOL_C33_PSE_ADMIN_STATE_UNKNOWN = 1, + ETHTOOL_C33_PSE_ADMIN_STATE_DISABLED = 2, + ETHTOOL_C33_PSE_ADMIN_STATE_ENABLED = 3, +}; + +enum ethtool_c33_pse_ext_state { + ETHTOOL_C33_PSE_EXT_STATE_ERROR_CONDITION = 1, + ETHTOOL_C33_PSE_EXT_STATE_MR_MPS_VALID = 2, + ETHTOOL_C33_PSE_EXT_STATE_MR_PSE_ENABLE = 3, + ETHTOOL_C33_PSE_EXT_STATE_OPTION_DETECT_TED = 4, + ETHTOOL_C33_PSE_EXT_STATE_OPTION_VPORT_LIM = 5, + ETHTOOL_C33_PSE_EXT_STATE_OVLD_DETECTED = 6, + ETHTOOL_C33_PSE_EXT_STATE_PD_DLL_POWER_TYPE = 7, + ETHTOOL_C33_PSE_EXT_STATE_POWER_NOT_AVAILABLE = 8, + ETHTOOL_C33_PSE_EXT_STATE_SHORT_DETECTED = 9, +}; + +enum ethtool_c33_pse_ext_substate_error_condition { + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_NON_EXISTING_PORT = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_UNDEFINED_PORT = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_INTERNAL_HW_FAULT = 3, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_COMM_ERROR_AFTER_FORCE_ON = 4, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_UNKNOWN_PORT_STATUS = 5, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_HOST_CRASH_TURN_OFF = 6, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_HOST_CRASH_FORCE_SHUTDOWN = 7, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_CONFIG_CHANGE = 8, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_DETECTED_OVER_TEMP = 9, +}; + +enum ethtool_c33_pse_ext_substate_mr_pse_enable { + ETHTOOL_C33_PSE_EXT_SUBSTATE_MR_PSE_ENABLE_DISABLE_PIN_ACTIVE = 1, +}; + +enum ethtool_c33_pse_ext_substate_option_detect_ted { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_DETECT_TED_DET_IN_PROCESS = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_DETECT_TED_CONNECTION_CHECK_ERROR = 2, +}; + +enum ethtool_c33_pse_ext_substate_option_vport_lim { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_HIGH_VOLTAGE = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_LOW_VOLTAGE = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_VOLTAGE_INJECTION = 3, +}; + +enum ethtool_c33_pse_ext_substate_ovld_detected { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OVLD_DETECTED_OVERLOAD = 1, +}; + +enum ethtool_c33_pse_ext_substate_power_not_available { + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_BUDGET_EXCEEDED = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_PORT_PW_LIMIT_EXCEEDS_CONTROLLER_BUDGET = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_PD_REQUEST_EXCEEDS_PORT_LIMIT = 3, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_HW_PW_LIMIT = 4, +}; + +enum ethtool_c33_pse_ext_substate_short_detected { + ETHTOOL_C33_PSE_EXT_SUBSTATE_SHORT_DETECTED_SHORT_CONDITION = 1, +}; + +enum ethtool_c33_pse_pw_d_status { + ETHTOOL_C33_PSE_PW_D_STATUS_UNKNOWN = 1, + ETHTOOL_C33_PSE_PW_D_STATUS_DISABLED = 2, + ETHTOOL_C33_PSE_PW_D_STATUS_SEARCHING = 3, + ETHTOOL_C33_PSE_PW_D_STATUS_DELIVERING = 4, + ETHTOOL_C33_PSE_PW_D_STATUS_TEST = 5, + ETHTOOL_C33_PSE_PW_D_STATUS_FAULT = 6, + ETHTOOL_C33_PSE_PW_D_STATUS_OTHERFAULT = 7, +}; + +enum ethtool_cmis_cdb_cmd_id { + ETHTOOL_CMIS_CDB_CMD_QUERY_STATUS = 0, + ETHTOOL_CMIS_CDB_CMD_MODULE_FEATURES = 64, + ETHTOOL_CMIS_CDB_CMD_FW_MANAGMENT_FEATURES = 65, + ETHTOOL_CMIS_CDB_CMD_START_FW_DOWNLOAD = 257, + ETHTOOL_CMIS_CDB_CMD_WRITE_FW_BLOCK_LPL = 259, + ETHTOOL_CMIS_CDB_CMD_WRITE_FW_BLOCK_EPL = 260, + ETHTOOL_CMIS_CDB_CMD_COMPLETE_FW_DOWNLOAD = 263, + ETHTOOL_CMIS_CDB_CMD_RUN_FW_IMAGE = 265, + ETHTOOL_CMIS_CDB_CMD_COMMIT_FW_IMAGE = 266, +}; + enum ethtool_fec_config_bits { ETHTOOL_FEC_NONE_BIT = 0, ETHTOOL_FEC_AUTO_BIT = 1, @@ -6273,6 +6965,12 @@ enum ethtool_flags { ETH_FLAG_RXHASH = 268435456, }; +enum ethtool_header_flags { + ETHTOOL_FLAG_COMPACT_BITSETS = 1, + ETHTOOL_FLAG_OMIT_REPLY = 2, + ETHTOOL_FLAG_STATS = 4, +}; + enum ethtool_link_ext_state { ETHTOOL_LINK_EXT_STATE_AUTONEG = 0, ETHTOOL_LINK_EXT_STATE_LINK_TRAINING_FAILURE = 1, @@ -6430,7 +7128,8 @@ enum ethtool_link_mode_bit_indices { ETHTOOL_LINK_MODE_10baseT1S_Full_BIT = 99, ETHTOOL_LINK_MODE_10baseT1S_Half_BIT = 100, ETHTOOL_LINK_MODE_10baseT1S_P2MP_Half_BIT = 101, - __ETHTOOL_LINK_MODE_MASK_NBITS = 102, + ETHTOOL_LINK_MODE_10baseT1BRR_Full_BIT = 102, + __ETHTOOL_LINK_MODE_MASK_NBITS = 103, }; enum ethtool_mac_stats_src { @@ -6448,6 +7147,13 @@ enum ethtool_mm_verify_status { ETHTOOL_MM_VERIFY_STATUS_DISABLED = 5, }; +enum ethtool_module_fw_flash_status { + ETHTOOL_MODULE_FW_FLASH_STATUS_STARTED = 1, + ETHTOOL_MODULE_FW_FLASH_STATUS_IN_PROGRESS = 2, + ETHTOOL_MODULE_FW_FLASH_STATUS_COMPLETED = 3, + ETHTOOL_MODULE_FW_FLASH_STATUS_ERROR = 4, +}; + enum ethtool_module_power_mode { ETHTOOL_MODULE_POWER_MODE_LOW = 1, ETHTOOL_MODULE_POWER_MODE_HIGH = 2, @@ -6485,6 +7191,20 @@ enum ethtool_podl_pse_pw_d_status { ETHTOOL_PODL_PSE_PW_D_STATUS_ERROR = 7, }; +enum ethtool_reset_flags { + ETH_RESET_MGMT = 1, + ETH_RESET_IRQ = 2, + ETH_RESET_DMA = 4, + ETH_RESET_FILTER = 8, + ETH_RESET_OFFLOAD = 16, + ETH_RESET_MAC = 32, + ETH_RESET_PHY = 64, + ETH_RESET_RAM = 128, + ETH_RESET_AP = 256, + ETH_RESET_DEDICATED = 65535, + ETH_RESET_ALL = 4294967295, +}; + enum ethtool_sfeatures_retval_bits { ETHTOOL_F_UNSUPPORTED__BIT = 0, ETHTOOL_F_WISH__BIT = 1, @@ -6513,7 +7233,9 @@ enum ethtool_stringset { ETH_SS_STATS_ETH_MAC = 18, ETH_SS_STATS_ETH_CTRL = 19, ETH_SS_STATS_RMON = 20, - ETH_SS_COUNT = 21, + ETH_SS_STATS_PHY = 21, + ETH_SS_TS_FLAGS = 22, + ETH_SS_COUNT = 23, }; enum ethtool_supported_ring_param { @@ -6522,6 +7244,14 @@ enum ethtool_supported_ring_param { ETHTOOL_RING_USE_TX_PUSH = 4, ETHTOOL_RING_USE_RX_PUSH = 8, ETHTOOL_RING_USE_TX_PUSH_BUF_LEN = 16, + ETHTOOL_RING_USE_TCP_DATA_SPLIT = 32, + ETHTOOL_RING_USE_HDS_THRS = 64, +}; + +enum ethtool_tcp_data_split { + ETHTOOL_TCP_DATA_SPLIT_UNKNOWN = 0, + ETHTOOL_TCP_DATA_SPLIT_DISABLED = 1, + ETHTOOL_TCP_DATA_SPLIT_ENABLED = 2, }; enum event_command_flags { @@ -6544,8 +7274,32 @@ enum event_type_t { EVENT_FLEXIBLE = 1, EVENT_PINNED = 2, EVENT_TIME = 4, - EVENT_CPU = 8, + EVENT_FROZEN = 8, + EVENT_CPU = 16, + EVENT_CGROUP = 32, EVENT_ALL = 3, + EVENT_TIME_FROZEN = 12, +}; + +enum exact_level { + NOT_EXACT = 0, + EXACT = 1, + RANGE_WITHIN = 2, +}; + +enum execmem_range_flags { + EXECMEM_KASAN_SHADOW = 1, + EXECMEM_ROX_CACHE = 2, +}; + +enum execmem_type { + EXECMEM_DEFAULT = 0, + EXECMEM_MODULE_TEXT = 0, + EXECMEM_KPROBES = 1, + EXECMEM_FTRACE = 2, + EXECMEM_BPF = 3, + EXECMEM_MODULE_DATA = 4, + EXECMEM_TYPE_MAX = 5, }; enum fail_dup_mod_reason { @@ -6569,12 +7323,6 @@ enum fault_flag { FAULT_FLAG_VMA_LOCK = 4096, }; -enum fault_type { - KERNEL_FAULT = 0, - USER_FAULT = 1, - GMAP_FAULT = 2, -}; - enum fbq_type { regular = 0, remote = 1, @@ -6592,19 +7340,21 @@ enum fetch_op { FETCH_OP_ARG = 7, FETCH_OP_FOFFS = 8, FETCH_OP_DATA = 9, - FETCH_OP_DEREF = 10, - FETCH_OP_UDEREF = 11, - FETCH_OP_ST_RAW = 12, - FETCH_OP_ST_MEM = 13, - FETCH_OP_ST_UMEM = 14, - FETCH_OP_ST_STRING = 15, - FETCH_OP_ST_USTRING = 16, - FETCH_OP_ST_SYMSTR = 17, - FETCH_OP_MOD_BF = 18, - FETCH_OP_LP_ARRAY = 19, - FETCH_OP_TP_ARG = 20, - FETCH_OP_END = 21, - FETCH_NOP_SYMBOL = 22, + FETCH_OP_EDATA = 10, + FETCH_OP_DEREF = 11, + FETCH_OP_UDEREF = 12, + FETCH_OP_ST_RAW = 13, + FETCH_OP_ST_MEM = 14, + FETCH_OP_ST_UMEM = 15, + FETCH_OP_ST_STRING = 16, + FETCH_OP_ST_USTRING = 17, + FETCH_OP_ST_SYMSTR = 18, + FETCH_OP_ST_EDATA = 19, + FETCH_OP_MOD_BF = 20, + FETCH_OP_LP_ARRAY = 21, + FETCH_OP_TP_ARG = 22, + FETCH_OP_END = 23, + FETCH_NOP_SYMBOL = 24, }; enum fib6_walk_state { @@ -6640,7 +7390,11 @@ enum fid_type { FILEID_NILFS_WITH_PARENT = 98, FILEID_FAT_WITHOUT_PARENT = 113, FILEID_FAT_WITH_PARENT = 114, + FILEID_INO64_GEN = 129, + FILEID_INO64_GEN_PARENT = 130, FILEID_LUSTRE = 151, + FILEID_BCACHEFS_WITHOUT_PARENT = 177, + FILEID_BCACHEFS_WITH_PARENT = 178, FILEID_KERNFS = 254, FILEID_INVALID = 255, }; @@ -6790,6 +7544,16 @@ enum flow_dissect_ret { FLOW_DISSECT_RET_CONTINUE = 4, }; +enum flow_dissector_ctrl_flags { + FLOW_DIS_IS_FRAGMENT = 1, + FLOW_DIS_FIRST_FRAG = 2, + FLOW_DIS_F_TUNNEL_CSUM = 4, + FLOW_DIS_F_TUNNEL_DONT_FRAGMENT = 8, + FLOW_DIS_F_TUNNEL_OAM = 16, + FLOW_DIS_F_TUNNEL_CRIT_OPT = 32, + FLOW_DIS_ENCAPSULATION = 64, +}; + enum flow_dissector_key_id { FLOW_DISSECTOR_KEY_CONTROL = 0, FLOW_DISSECTOR_KEY_BASIC = 1, @@ -6840,31 +7604,28 @@ enum folio_references { FOLIOREF_ACTIVATE = 3, }; -enum format_type { - FORMAT_TYPE_NONE = 0, - FORMAT_TYPE_WIDTH = 1, - FORMAT_TYPE_PRECISION = 2, - FORMAT_TYPE_CHAR = 3, - FORMAT_TYPE_STR = 4, - FORMAT_TYPE_PTR = 5, - FORMAT_TYPE_PERCENT_CHAR = 6, - FORMAT_TYPE_INVALID = 7, - FORMAT_TYPE_LONG_LONG = 8, - FORMAT_TYPE_ULONG = 9, - FORMAT_TYPE_LONG = 10, - FORMAT_TYPE_UBYTE = 11, - FORMAT_TYPE_BYTE = 12, - FORMAT_TYPE_USHORT = 13, - FORMAT_TYPE_SHORT = 14, - FORMAT_TYPE_UINT = 15, - FORMAT_TYPE_INT = 16, - FORMAT_TYPE_SIZE_T = 17, - FORMAT_TYPE_PTRDIFF = 18, +enum folio_walk_level { + FW_LEVEL_PTE = 0, + FW_LEVEL_PMD = 1, + FW_LEVEL_PUD = 2, +}; + +enum format_state { + FORMAT_STATE_NONE = 0, + FORMAT_STATE_NUM = 1, + FORMAT_STATE_WIDTH = 2, + FORMAT_STATE_PRECISION = 3, + FORMAT_STATE_CHAR = 4, + FORMAT_STATE_STR = 5, + FORMAT_STATE_PTR = 6, + FORMAT_STATE_PERCENT_CHAR = 7, + FORMAT_STATE_INVALID = 8, }; enum freeze_holder { FREEZE_HOLDER_KERNEL = 1, FREEZE_HOLDER_USERSPACE = 2, + FREEZE_MAY_NEST = 4, }; enum freq_qos_req_type { @@ -6911,10 +7672,18 @@ enum fsconfig_command { enum fsnotify_data_type { FSNOTIFY_EVENT_NONE = 0, - FSNOTIFY_EVENT_PATH = 1, - FSNOTIFY_EVENT_INODE = 2, - FSNOTIFY_EVENT_DENTRY = 3, - FSNOTIFY_EVENT_ERROR = 4, + FSNOTIFY_EVENT_FILE_RANGE = 1, + FSNOTIFY_EVENT_PATH = 2, + FSNOTIFY_EVENT_INODE = 3, + FSNOTIFY_EVENT_DENTRY = 4, + FSNOTIFY_EVENT_ERROR = 5, +}; + +enum fsnotify_group_prio { + FSNOTIFY_PRIO_NORMAL = 0, + FSNOTIFY_PRIO_CONTENT = 1, + FSNOTIFY_PRIO_PRE_CONTENT = 2, + __FSNOTIFY_PRIO_NUM = 3, }; enum fsnotify_iter_type { @@ -6938,6 +7707,7 @@ enum ftrace_dump_mode { DUMP_NONE = 0, DUMP_ALL = 1, DUMP_ORIG = 2, + DUMP_PARAM = 3, }; enum ftrace_ops_cmd { @@ -6977,28 +7747,9 @@ enum group_type { group_overloaded = 6, }; -enum hash_algo { - HASH_ALGO_MD4 = 0, - HASH_ALGO_MD5 = 1, - HASH_ALGO_SHA1 = 2, - HASH_ALGO_RIPE_MD_160 = 3, - HASH_ALGO_SHA256 = 4, - HASH_ALGO_SHA384 = 5, - HASH_ALGO_SHA512 = 6, - HASH_ALGO_SHA224 = 7, - HASH_ALGO_RIPE_MD_128 = 8, - HASH_ALGO_RIPE_MD_256 = 9, - HASH_ALGO_RIPE_MD_320 = 10, - HASH_ALGO_WP_256 = 11, - HASH_ALGO_WP_384 = 12, - HASH_ALGO_WP_512 = 13, - HASH_ALGO_TGR_128 = 14, - HASH_ALGO_TGR_160 = 15, - HASH_ALGO_TGR_192 = 16, - HASH_ALGO_SM3_256 = 17, - HASH_ALGO_STREEBOG_256 = 18, - HASH_ALGO_STREEBOG_512 = 19, - HASH_ALGO__LAST = 20, +enum handle_to_path_flags { + HANDLE_CHECK_PERMS = 1, + HANDLE_CHECK_SUBTREE = 2, }; enum hdr_flags { @@ -7009,16 +7760,23 @@ enum hdr_flags { }; enum hk_type { - HK_TYPE_TIMER = 0, - HK_TYPE_RCU = 1, + HK_TYPE_DOMAIN = 0, + HK_TYPE_MANAGED_IRQ = 1, + HK_TYPE_KERNEL_NOISE = 2, + HK_TYPE_MAX = 3, + HK_TYPE_TICK = 2, + HK_TYPE_TIMER = 2, + HK_TYPE_RCU = 2, HK_TYPE_MISC = 2, - HK_TYPE_SCHED = 3, - HK_TYPE_TICK = 4, - HK_TYPE_DOMAIN = 5, - HK_TYPE_WQ = 6, - HK_TYPE_MANAGED_IRQ = 7, - HK_TYPE_KTHREAD = 8, - HK_TYPE_MAX = 9, + HK_TYPE_WQ = 2, + HK_TYPE_KTHREAD = 2, +}; + +enum hprobe_state { + HPROBE_LEASED = 0, + HPROBE_STABLE = 1, + HPROBE_GONE = 2, + HPROBE_CONSUMED = 3, }; enum hrtimer_base_type { @@ -7062,6 +7820,12 @@ enum hwtstamp_flags { HWTSTAMP_FLAG_MASK = 1, }; +enum hwtstamp_provider_qualifier { + HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, + HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, + HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +}; + enum hwtstamp_rx_filters { HWTSTAMP_FILTER_NONE = 0, HWTSTAMP_FILTER_ALL = 1, @@ -7083,8 +7847,9 @@ enum hwtstamp_rx_filters { }; enum hwtstamp_source { - HWTSTAMP_SOURCE_NETDEV = 0, - HWTSTAMP_SOURCE_PHYLIB = 1, + HWTSTAMP_SOURCE_UNSPEC = 0, + HWTSTAMP_SOURCE_NETDEV = 1, + HWTSTAMP_SOURCE_PHYLIB = 2, }; enum hwtstamp_tx_types { @@ -7134,27 +7899,28 @@ enum interruption_class { IRQEXT_CMS = 10, IRQEXT_CMC = 11, IRQEXT_FTP = 12, - IRQIO_CIO = 13, - IRQIO_DAS = 14, - IRQIO_C15 = 15, - IRQIO_C70 = 16, - IRQIO_TAP = 17, - IRQIO_VMR = 18, - IRQIO_LCS = 19, - IRQIO_CTC = 20, - IRQIO_ADM = 21, - IRQIO_CSC = 22, - IRQIO_VIR = 23, - IRQIO_QAI = 24, - IRQIO_APB = 25, - IRQIO_PCF = 26, - IRQIO_PCD = 27, - IRQIO_MSI = 28, - IRQIO_VAI = 29, - IRQIO_GAL = 30, - NMI_NMI = 31, - CPU_RST = 32, - NR_ARCH_IRQS = 33, + IRQEXT_WTI = 13, + IRQIO_CIO = 14, + IRQIO_DAS = 15, + IRQIO_C15 = 16, + IRQIO_C70 = 17, + IRQIO_TAP = 18, + IRQIO_VMR = 19, + IRQIO_LCS = 20, + IRQIO_CTC = 21, + IRQIO_ADM = 22, + IRQIO_CSC = 23, + IRQIO_VIR = 24, + IRQIO_QAI = 25, + IRQIO_APB = 26, + IRQIO_PCF = 27, + IRQIO_PCD = 28, + IRQIO_MSI = 29, + IRQIO_VAI = 30, + IRQIO_GAL = 31, + NMI_NMI = 32, + CPU_RST = 33, + NR_ARCH_IRQS = 34, }; enum io_sch_action { @@ -7168,6 +7934,7 @@ enum io_sch_action { IO_SCH_VERIFY = 7, IO_SCH_DISC = 8, IO_SCH_NOP = 9, + IO_SCH_ORPH_CDEV = 10, }; enum io_status { @@ -7229,7 +7996,79 @@ enum io_uring_op { IORING_OP_URING_CMD = 46, IORING_OP_SEND_ZC = 47, IORING_OP_SENDMSG_ZC = 48, - IORING_OP_LAST = 49, + IORING_OP_READ_MULTISHOT = 49, + IORING_OP_WAITID = 50, + IORING_OP_FUTEX_WAIT = 51, + IORING_OP_FUTEX_WAKE = 52, + IORING_OP_FUTEX_WAITV = 53, + IORING_OP_FIXED_FD_INSTALL = 54, + IORING_OP_FTRUNCATE = 55, + IORING_OP_BIND = 56, + IORING_OP_LISTEN = 57, + IORING_OP_LAST = 58, +}; + +enum io_uring_register_op { + IORING_REGISTER_BUFFERS = 0, + IORING_UNREGISTER_BUFFERS = 1, + IORING_REGISTER_FILES = 2, + IORING_UNREGISTER_FILES = 3, + IORING_REGISTER_EVENTFD = 4, + IORING_UNREGISTER_EVENTFD = 5, + IORING_REGISTER_FILES_UPDATE = 6, + IORING_REGISTER_EVENTFD_ASYNC = 7, + IORING_REGISTER_PROBE = 8, + IORING_REGISTER_PERSONALITY = 9, + IORING_UNREGISTER_PERSONALITY = 10, + IORING_REGISTER_RESTRICTIONS = 11, + IORING_REGISTER_ENABLE_RINGS = 12, + IORING_REGISTER_FILES2 = 13, + IORING_REGISTER_FILES_UPDATE2 = 14, + IORING_REGISTER_BUFFERS2 = 15, + IORING_REGISTER_BUFFERS_UPDATE = 16, + IORING_REGISTER_IOWQ_AFF = 17, + IORING_UNREGISTER_IOWQ_AFF = 18, + IORING_REGISTER_IOWQ_MAX_WORKERS = 19, + IORING_REGISTER_RING_FDS = 20, + IORING_UNREGISTER_RING_FDS = 21, + IORING_REGISTER_PBUF_RING = 22, + IORING_UNREGISTER_PBUF_RING = 23, + IORING_REGISTER_SYNC_CANCEL = 24, + IORING_REGISTER_FILE_ALLOC_RANGE = 25, + IORING_REGISTER_PBUF_STATUS = 26, + IORING_REGISTER_NAPI = 27, + IORING_UNREGISTER_NAPI = 28, + IORING_REGISTER_CLOCK = 29, + IORING_REGISTER_CLONE_BUFFERS = 30, + IORING_REGISTER_SEND_MSG_RING = 31, + IORING_REGISTER_RESIZE_RINGS = 33, + IORING_REGISTER_MEM_REGION = 34, + IORING_REGISTER_LAST = 35, + IORING_REGISTER_USE_REGISTERED_RING = 2147483648, +}; + +enum io_uring_sqe_flags_bit { + IOSQE_FIXED_FILE_BIT = 0, + IOSQE_IO_DRAIN_BIT = 1, + IOSQE_IO_LINK_BIT = 2, + IOSQE_IO_HARDLINK_BIT = 3, + IOSQE_ASYNC_BIT = 4, + IOSQE_BUFFER_SELECT_BIT = 5, + IOSQE_CQE_SKIP_SUCCESS_BIT = 6, +}; + +enum ioam6_event_attr { + IOAM6_EVENT_ATTR_UNSPEC = 0, + IOAM6_EVENT_ATTR_TRACE_NAMESPACE = 1, + IOAM6_EVENT_ATTR_TRACE_NODELEN = 2, + IOAM6_EVENT_ATTR_TRACE_TYPE = 3, + IOAM6_EVENT_ATTR_TRACE_DATA = 4, + __IOAM6_EVENT_ATTR_MAX = 5, +}; + +enum ioam6_event_type { + IOAM6_EVENT_UNSPEC = 0, + IOAM6_EVENT_TRACE = 1, }; enum ip6_defrag_users { @@ -7248,8 +8087,6 @@ enum ip_conntrack_dir { IP_CT_DIR_MAX = 2, }; -enum ip_conntrack_info; - enum ip_defrag_users { IP_DEFRAG_LOCAL_DELIVER = 0, IP_DEFRAG_CALL_RA_CHAIN = 1, @@ -7302,7 +8139,8 @@ enum irq_domain_bus_token { DOMAIN_BUS_PCI_DEVICE_MSIX = 12, DOMAIN_BUS_DMAR = 13, DOMAIN_BUS_AMDVI = 14, - DOMAIN_BUS_PCI_DEVICE_IMS = 15, + DOMAIN_BUS_DEVICE_MSI = 15, + DOMAIN_BUS_WIRED_TO_MSI = 16, }; enum irq_gc_flags { @@ -7316,6 +8154,7 @@ enum irq_gc_flags { enum irq_subclass { IRQ_SUBCLASS_MEASUREMENT_ALERT = 5, IRQ_SUBCLASS_SERVICE_SIGNAL = 9, + IRQ_SUBCLASS_WARNING_TRACK = 33, }; enum irqchip_irq_state { @@ -7334,12 +8173,13 @@ enum irqreturn { typedef enum irqreturn irqreturn_t; enum iter_type { - ITER_IOVEC = 0, - ITER_KVEC = 1, + ITER_UBUF = 0, + ITER_IOVEC = 1, ITER_BVEC = 2, - ITER_XARRAY = 3, - ITER_DISCARD = 4, - ITER_UBUF = 5, + ITER_KVEC = 3, + ITER_FOLIOQ = 4, + ITER_XARRAY = 5, + ITER_DISCARD = 6, }; enum iucv_command_codes { @@ -7388,16 +8228,6 @@ enum kernel_read_file_id { READING_MAX_ID = 7, }; -enum key_being_used_for { - VERIFYING_MODULE_SIGNATURE = 0, - VERIFYING_FIRMWARE_SIGNATURE = 1, - VERIFYING_KEXEC_PE_SIGNATURE = 2, - VERIFYING_KEY_SIGNATURE = 3, - VERIFYING_KEY_SELF_SIGNATURE = 4, - VERIFYING_UNSPECIFIED_SIGNATURE = 5, - NR__KEY_BEING_USED_FOR = 6, -}; - enum kfunc_ptr_arg_type { KF_ARG_PTR_TO_CTX = 0, KF_ARG_PTR_TO_ALLOC_BTF_ID = 1, @@ -7412,6 +8242,11 @@ enum kfunc_ptr_arg_type { KF_ARG_PTR_TO_CALLBACK = 10, KF_ARG_PTR_TO_RB_ROOT = 11, KF_ARG_PTR_TO_RB_NODE = 12, + KF_ARG_PTR_TO_NULL = 13, + KF_ARG_PTR_TO_CONST_STR = 14, + KF_ARG_PTR_TO_MAP = 15, + KF_ARG_PTR_TO_WORKQUEUE = 16, + KF_ARG_PTR_TO_IRQ_FLAG = 17, }; enum kmalloc_cache_type { @@ -7461,7 +8296,8 @@ enum kvm_bus { KVM_PIO_BUS = 1, KVM_VIRTIO_CCW_NOTIFY_BUS = 2, KVM_FAST_MMIO_BUS = 3, - KVM_NR_BUSES = 4, + KVM_IOCSR_BUS = 4, + KVM_NR_BUSES = 5, }; enum l2tp_debug_flags { @@ -7537,6 +8373,7 @@ enum lru_status { LRU_ROTATE = 2, LRU_SKIP = 3, LRU_RETRY = 4, + LRU_STOP = 5, }; enum lruvec_flags { @@ -7595,6 +8432,17 @@ enum mac_validity { MAC_CNT_VLD = 128, }; +enum maple_status { + ma_active = 0, + ma_start = 1, + ma_root = 2, + ma_none = 3, + ma_pause = 4, + ma_overflow = 5, + ma_underflow = 6, + ma_error = 7, +}; + enum maple_type { maple_dense = 0, maple_leaf_64 = 1, @@ -7609,8 +8457,12 @@ enum mapping_flags { AS_UNEVICTABLE = 3, AS_EXITING = 4, AS_NO_WRITEBACK_TAGS = 5, - AS_LARGE_FOLIO_SUPPORT = 6, - AS_RELEASE_ALWAYS = 7, + AS_RELEASE_ALWAYS = 6, + AS_STABLE_WRITES = 7, + AS_INACCESSIBLE = 8, + AS_FOLIO_ORDER_BITS = 5, + AS_FOLIO_ORDER_MIN = 16, + AS_FOLIO_ORDER_MAX = 21, }; enum memblock_flags { @@ -7619,6 +8471,7 @@ enum memblock_flags { MEMBLOCK_MIRROR = 2, MEMBLOCK_NOMAP = 4, MEMBLOCK_DRIVER_MANAGED = 8, + MEMBLOCK_RSRV_NOINIT = 16, }; enum memcg_memory_event { @@ -7635,14 +8488,14 @@ enum memcg_memory_event { }; enum memcg_stat_item { - MEMCG_SWAP = 40, - MEMCG_SOCK = 41, - MEMCG_PERCPU_B = 42, - MEMCG_VMALLOC = 43, - MEMCG_KMEM = 44, - MEMCG_ZSWAP_B = 45, - MEMCG_ZSWAPPED = 46, - MEMCG_NR_STAT = 47, + MEMCG_SWAP = 43, + MEMCG_SOCK = 44, + MEMCG_PERCPU_B = 45, + MEMCG_VMALLOC = 46, + MEMCG_KMEM = 47, + MEMCG_ZSWAP_B = 48, + MEMCG_ZSWAPPED = 49, + MEMCG_NR_STAT = 50, }; enum meminit_context { @@ -7669,7 +8522,6 @@ enum migrate_mode { MIGRATE_ASYNC = 0, MIGRATE_SYNC_LIGHT = 1, MIGRATE_SYNC = 2, - MIGRATE_SYNC_NO_COPY = 3, }; enum migrate_reason { @@ -7682,7 +8534,8 @@ enum migrate_reason { MR_CONTIG_RANGE = 6, MR_LONGTERM_PIN = 7, MR_DEMOTION = 8, - MR_TYPES = 9, + MR_DAMON = 9, + MR_TYPES = 10, }; enum migratetype { @@ -7736,10 +8589,25 @@ enum module_state { MODULE_STATE_UNFORMED = 3, }; -enum msi_domain_ids { - MSI_DEFAULT_DOMAIN = 0, - MSI_SECONDARY_DOMAIN = 1, - MSI_MAX_DEVICE_IRQDOMAINS = 2, +enum mthp_stat_item { + MTHP_STAT_ANON_FAULT_ALLOC = 0, + MTHP_STAT_ANON_FAULT_FALLBACK = 1, + MTHP_STAT_ANON_FAULT_FALLBACK_CHARGE = 2, + MTHP_STAT_ZSWPOUT = 3, + MTHP_STAT_SWPIN = 4, + MTHP_STAT_SWPIN_FALLBACK = 5, + MTHP_STAT_SWPIN_FALLBACK_CHARGE = 6, + MTHP_STAT_SWPOUT = 7, + MTHP_STAT_SWPOUT_FALLBACK = 8, + MTHP_STAT_SHMEM_ALLOC = 9, + MTHP_STAT_SHMEM_FALLBACK = 10, + MTHP_STAT_SHMEM_FALLBACK_CHARGE = 11, + MTHP_STAT_SPLIT = 12, + MTHP_STAT_SPLIT_FAILED = 13, + MTHP_STAT_SPLIT_DEFERRED = 14, + MTHP_STAT_NR_ANON = 15, + MTHP_STAT_NR_ANON_PARTIALLY_MAPPED = 16, + __MTHP_STAT_COUNT = 17, }; enum multi_stop_state { @@ -7750,6 +8618,14 @@ enum multi_stop_state { MULTI_STOP_EXIT = 4, }; +enum nbcon_prio { + NBCON_PRIO_NONE = 0, + NBCON_PRIO_NORMAL = 1, + NBCON_PRIO_EMERGENCY = 2, + NBCON_PRIO_PANIC = 3, + NBCON_PRIO_MAX = 4, +}; + enum net_device_flags { IFF_UP = 1, IFF_BROADCAST = 2, @@ -7834,40 +8710,42 @@ enum netdev_offload_xstats_type { }; enum netdev_priv_flags { - IFF_802_1Q_VLAN = 1ULL, - IFF_EBRIDGE = 2ULL, - IFF_BONDING = 4ULL, - IFF_ISATAP = 8ULL, - IFF_WAN_HDLC = 16ULL, - IFF_XMIT_DST_RELEASE = 32ULL, - IFF_DONT_BRIDGE = 64ULL, - IFF_DISABLE_NETPOLL = 128ULL, - IFF_MACVLAN_PORT = 256ULL, - IFF_BRIDGE_PORT = 512ULL, - IFF_OVS_DATAPATH = 1024ULL, - IFF_TX_SKB_SHARING = 2048ULL, - IFF_UNICAST_FLT = 4096ULL, - IFF_TEAM_PORT = 8192ULL, - IFF_SUPP_NOFCS = 16384ULL, - IFF_LIVE_ADDR_CHANGE = 32768ULL, - IFF_MACVLAN = 65536ULL, - IFF_XMIT_DST_RELEASE_PERM = 131072ULL, - IFF_L3MDEV_MASTER = 262144ULL, - IFF_NO_QUEUE = 524288ULL, - IFF_OPENVSWITCH = 1048576ULL, - IFF_L3MDEV_SLAVE = 2097152ULL, - IFF_TEAM = 4194304ULL, - IFF_RXFH_CONFIGURED = 8388608ULL, - IFF_PHONY_HEADROOM = 16777216ULL, - IFF_MACSEC = 33554432ULL, - IFF_NO_RX_HANDLER = 67108864ULL, - IFF_FAILOVER = 134217728ULL, - IFF_FAILOVER_SLAVE = 268435456ULL, - IFF_L3MDEV_RX_HANDLER = 536870912ULL, - IFF_NO_ADDRCONF = 1073741824ULL, - IFF_TX_SKB_NO_LINEAR = 2147483648ULL, - IFF_CHANGE_PROTO_DOWN = 4294967296ULL, - IFF_SEE_ALL_HWTSTAMP_REQUESTS = 8589934592ULL, + IFF_802_1Q_VLAN = 1, + IFF_EBRIDGE = 2, + IFF_BONDING = 4, + IFF_ISATAP = 8, + IFF_WAN_HDLC = 16, + IFF_XMIT_DST_RELEASE = 32, + IFF_DONT_BRIDGE = 64, + IFF_DISABLE_NETPOLL = 128, + IFF_MACVLAN_PORT = 256, + IFF_BRIDGE_PORT = 512, + IFF_OVS_DATAPATH = 1024, + IFF_TX_SKB_SHARING = 2048, + IFF_UNICAST_FLT = 4096, + IFF_TEAM_PORT = 8192, + IFF_SUPP_NOFCS = 16384, + IFF_LIVE_ADDR_CHANGE = 32768, + IFF_MACVLAN = 65536, + IFF_XMIT_DST_RELEASE_PERM = 131072, + IFF_L3MDEV_MASTER = 262144, + IFF_NO_QUEUE = 524288, + IFF_OPENVSWITCH = 1048576, + IFF_L3MDEV_SLAVE = 2097152, + IFF_TEAM = 4194304, + IFF_RXFH_CONFIGURED = 8388608, + IFF_PHONY_HEADROOM = 16777216, + IFF_MACSEC = 33554432, + IFF_NO_RX_HANDLER = 67108864, + IFF_FAILOVER = 134217728, + IFF_FAILOVER_SLAVE = 268435456, + IFF_L3MDEV_RX_HANDLER = 536870912, + IFF_NO_ADDRCONF = 1073741824, + IFF_TX_SKB_NO_LINEAR = 2147483648, +}; + +enum netdev_qstats_scope { + NETDEV_QSTATS_SCOPE_QUEUE = 1, }; enum netdev_queue_state_t { @@ -7876,6 +8754,27 @@ enum netdev_queue_state_t { __QUEUE_STATE_FROZEN = 2, }; +enum netdev_queue_type { + NETDEV_QUEUE_TYPE_RX = 0, + NETDEV_QUEUE_TYPE_TX = 1, +}; + +enum netdev_reg_state { + NETREG_UNINITIALIZED = 0, + NETREG_REGISTERED = 1, + NETREG_UNREGISTERING = 2, + NETREG_UNREGISTERED = 3, + NETREG_RELEASED = 4, + NETREG_DUMMY = 5, +}; + +enum netdev_stat_type { + NETDEV_PCPU_STAT_NONE = 0, + NETDEV_PCPU_STAT_LSTATS = 1, + NETDEV_PCPU_STAT_TSTATS = 2, + NETDEV_PCPU_STAT_DSTATS = 3, +}; + enum netdev_state_t { __LINK_STATE_START = 0, __LINK_STATE_PRESENT = 1, @@ -7904,6 +8803,17 @@ enum netdev_xdp_act { NETDEV_XDP_ACT_MASK = 127, }; +enum netdev_xdp_rx_metadata { + NETDEV_XDP_RX_METADATA_TIMESTAMP = 1, + NETDEV_XDP_RX_METADATA_HASH = 2, + NETDEV_XDP_RX_METADATA_VLAN_TAG = 4, +}; + +enum netdev_xsk_flags { + NETDEV_XSK_FLAGS_TX_TIMESTAMP = 1, + NETDEV_XSK_FLAGS_TX_CHECKSUM = 2, +}; + enum netevent_notif_type { NETEVENT_NEIGH_UPDATE = 1, NETEVENT_REDIRECT = 2, @@ -7930,6 +8840,8 @@ enum netlink_attribute_type { NL_ATTR_TYPE_NESTED = 13, NL_ATTR_TYPE_NESTED_ARRAY = 14, NL_ATTR_TYPE_BITFIELD32 = 15, + NL_ATTR_TYPE_SINT = 16, + NL_ATTR_TYPE_UINT = 17, }; enum netlink_policy_type_attr { @@ -7975,18 +8887,7 @@ enum nexthop_event_type { NEXTHOP_EVENT_REPLACE = 1, NEXTHOP_EVENT_RES_TABLE_PRE_REPLACE = 2, NEXTHOP_EVENT_BUCKET_REPLACE = 3, -}; - -enum nf_dev_hooks { - NF_NETDEV_INGRESS = 0, - NF_NETDEV_EGRESS = 1, - NF_NETDEV_NUMHOOKS = 2, -}; - -enum nf_hook_ops_type { - NF_HOOK_OP_UNDEFINED = 0, - NF_HOOK_OP_NF_TABLES = 1, - NF_HOOK_OP_BPF = 2, + NEXTHOP_EVENT_HW_STATS_REPORT_DELTA = 4, }; enum nf_inet_hooks { @@ -7999,30 +8900,6 @@ enum nf_inet_hooks { NF_INET_INGRESS = 5, }; -enum nf_ip_hook_priorities { - NF_IP_PRI_FIRST = -2147483648, - NF_IP_PRI_RAW_BEFORE_DEFRAG = -450, - NF_IP_PRI_CONNTRACK_DEFRAG = -400, - NF_IP_PRI_RAW = -300, - NF_IP_PRI_SELINUX_FIRST = -225, - NF_IP_PRI_CONNTRACK = -200, - NF_IP_PRI_MANGLE = -150, - NF_IP_PRI_NAT_DST = -100, - NF_IP_PRI_FILTER = 0, - NF_IP_PRI_SECURITY = 50, - NF_IP_PRI_NAT_SRC = 100, - NF_IP_PRI_SELINUX_LAST = 225, - NF_IP_PRI_CONNTRACK_HELPER = 300, - NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, - NF_IP_PRI_LAST = 2147483647, -}; - -enum nf_log_type { - NF_LOG_TYPE_LOG = 0, - NF_LOG_TYPE_ULOG = 1, - NF_LOG_TYPE_MAX = 2, -}; - enum nfs_opnum4 { OP_ACCESS = 3, OP_CLOSE = 4, @@ -8105,6 +8982,7 @@ enum nh_notifier_info_type { NH_NOTIFIER_INFO_TYPE_GRP = 1, NH_NOTIFIER_INFO_TYPE_RES_TABLE = 2, NH_NOTIFIER_INFO_TYPE_RES_BUCKET = 3, + NH_NOTIFIER_INFO_TYPE_GRP_HW_STATS = 4, }; enum nla_policy_validation { @@ -8175,7 +9053,10 @@ enum node_stat_item { NR_KERNEL_STACK_KB = 37, NR_PAGETABLE = 38, NR_SECONDARY_PAGETABLE = 39, - NR_VM_NODE_STAT_ITEMS = 40, + PGDEMOTE_KSWAPD = 40, + PGDEMOTE_DIRECT = 41, + PGDEMOTE_KHUGEPAGED = 42, + NR_VM_NODE_STAT_ITEMS = 43, }; enum node_states { @@ -8209,6 +9090,10 @@ enum owner_state { OWNER_NONSPINNABLE = 8, }; +enum page_size_enum { + __PAGE_SIZE = 4096, +}; + enum page_walk_action { ACTION_SUBTREE = 0, ACTION_CONTINUE = 1, @@ -8239,39 +9124,45 @@ enum pageflags { PG_waiters = 7, PG_active = 8, PG_workingset = 9, - PG_error = 10, - PG_slab = 11, - PG_owner_priv_1 = 12, - PG_arch_1 = 13, - PG_reserved = 14, - PG_private = 15, - PG_private_2 = 16, - PG_mappedtodisk = 17, - PG_reclaim = 18, - PG_swapbacked = 19, - PG_unevictable = 20, - PG_mlocked = 21, - __NR_PAGEFLAGS = 22, - PG_readahead = 18, - PG_anon_exclusive = 17, - PG_checked = 12, - PG_swapcache = 12, - PG_fscache = 16, - PG_pinned = 12, + PG_owner_priv_1 = 10, + PG_owner_2 = 11, + PG_arch_1 = 12, + PG_reserved = 13, + PG_private = 14, + PG_private_2 = 15, + PG_reclaim = 16, + PG_swapbacked = 17, + PG_unevictable = 18, + PG_dropbehind = 19, + PG_mlocked = 20, + __NR_PAGEFLAGS = 21, + PG_readahead = 16, + PG_swapcache = 10, + PG_checked = 10, + PG_anon_exclusive = 11, + PG_mappedtodisk = 11, + PG_fscache = 15, + PG_pinned = 10, PG_savepinned = 4, - PG_foreign = 12, - PG_xen_remapped = 12, - PG_isolated = 18, + PG_foreign = 10, + PG_xen_remapped = 10, + PG_isolated = 16, PG_reported = 3, - PG_has_hwpoisoned = 10, - PG_hugetlb = 8, + PG_has_hwpoisoned = 8, PG_large_rmappable = 9, + PG_partially_mapped = 16, }; -enum paievt_mode { - PAI_MODE_NONE = 0, - PAI_MODE_SAMPLING = 1, - PAI_MODE_COUNTING = 2, +enum pagetype { + PGTY_buddy = 240, + PGTY_offline = 241, + PGTY_table = 242, + PGTY_guard = 243, + PGTY_hugetlb = 244, + PGTY_slab = 245, + PGTY_zsmalloc = 246, + PGTY_unaccepted = 247, + PGTY_mapcount_underflow = 255, }; enum par_flag { @@ -8333,7 +9224,8 @@ enum perf_branch_sample_type { PERF_SAMPLE_BRANCH_TYPE_SAVE = 65536, PERF_SAMPLE_BRANCH_HW_INDEX = 131072, PERF_SAMPLE_BRANCH_PRIV_SAVE = 262144, - PERF_SAMPLE_BRANCH_MAX = 524288, + PERF_SAMPLE_BRANCH_COUNTERS = 524288, + PERF_SAMPLE_BRANCH_MAX = 1048576, }; enum perf_branch_sample_type_shift { @@ -8356,7 +9248,8 @@ enum perf_branch_sample_type_shift { PERF_SAMPLE_BRANCH_TYPE_SAVE_SHIFT = 16, PERF_SAMPLE_BRANCH_HW_INDEX_SHIFT = 17, PERF_SAMPLE_BRANCH_PRIV_SAVE_SHIFT = 18, - PERF_SAMPLE_BRANCH_MAX_SHIFT = 19, + PERF_SAMPLE_BRANCH_COUNTERS_SHIFT = 19, + PERF_SAMPLE_BRANCH_MAX_SHIFT = 20, }; enum perf_callchain_context { @@ -8504,6 +9397,16 @@ enum perf_hw_id { PERF_COUNT_HW_MAX = 10, }; +enum perf_pmu_scope { + PERF_PMU_SCOPE_NONE = 0, + PERF_PMU_SCOPE_CORE = 1, + PERF_PMU_SCOPE_DIE = 2, + PERF_PMU_SCOPE_CLUSTER = 3, + PERF_PMU_SCOPE_PKG = 4, + PERF_PMU_SCOPE_SYS_WIDE = 5, + PERF_PMU_MAX_SCOPE = 6, +}; + enum perf_probe_config { PERF_PROBE_CONFIG_IS_RETPROBE = 1, PERF_UPROBE_REF_CTR_OFFSET_BITS = 32, @@ -8581,6 +9484,11 @@ enum phy_tunable_id { __ETHTOOL_PHY_TUNABLE_COUNT = 4, }; +enum phy_upstream { + PHY_UPSTREAM_MAC = 0, + PHY_UPSTREAM_PHY = 1, +}; + enum pid_type { PIDTYPE_PID = 0, PIDTYPE_TGID = 1, @@ -8639,6 +9547,12 @@ enum print_line_t { TRACE_TYPE_NO_CONSUME = 3, }; +enum priv_stack_mode { + PRIV_STACK_UNKNOWN = 0, + NO_PRIV_STACK = 1, + PRIV_STACK_ADAPTIVE = 2, +}; + enum probe_print_type { PROBE_PRINT_NORMAL = 0, PROBE_PRINT_RETURN = 1, @@ -8686,16 +9600,6 @@ enum ramfs_param { Opt_mode___2 = 0, }; -enum rcutorture_type { - RCU_FLAVOR = 0, - RCU_TASKS_FLAVOR = 1, - RCU_TASKS_RUDE_FLAVOR = 2, - RCU_TASKS_TRACING_FLAVOR = 3, - RCU_TRIVIAL_FLAVOR = 4, - SRCU_FLAVOR = 5, - INVALID_RCU_FLAVOR = 6, -}; - enum reboot_mode { REBOOT_UNDEFINED = -1, REBOOT_COLD = 0, @@ -8715,6 +9619,12 @@ enum reboot_type { BOOT_CF9_SAFE = 113, }; +enum ref_state_type { + REF_TYPE_PTR = 1, + REF_TYPE_IRQ = 2, + REF_TYPE_LOCK = 3, +}; + enum refcount_saturation_type { REFCOUNT_ADD_NOT_ZERO_OVF = 0, REFCOUNT_ADD_OVF = 1, @@ -8745,7 +9655,7 @@ enum reserved_range_type { RR_AMODE31 = 3, RR_IPLREPORT = 4, RR_CERT_COMP_LIST = 5, - RR_MEM_DETECT_EXTENDED = 6, + RR_MEM_DETECT_EXT = 6, RR_VMEM = 7, RR_MAX = 8, }; @@ -8756,6 +9666,13 @@ enum resolve_mode { RESOLVE_STRUCT_OR_ARRAY = 2, }; +enum retcode { + DIAG324_RET_SUCCESS = 1, + DIAG324_RET_SUBC_NOTAVAIL = 259, + DIAG324_RET_INSUFFICIENT_SIZE = 260, + DIAG324_RET_READING_UNAVAILABLE = 261, +}; + enum ring_buffer_flags { RB_FL_OVERWRITE = 1, }; @@ -8775,6 +9692,11 @@ enum rlimit_type { UCOUNT_RLIMIT_COUNTS = 4, }; +enum rmap_level { + RMAP_LEVEL_PTE = 0, + RMAP_LEVEL_PMD = 1, +}; + enum rp_check { RP_CHECK_CALL = 0, RP_CHECK_CHAIN_CALL = 1, @@ -8853,7 +9775,8 @@ enum rtattr_type_t { RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, - __RTA_MAX = 31, + RTA_FLOWLABEL = 31, + __RTA_MAX = 32, }; enum rtnetlink_groups { @@ -8894,7 +9817,10 @@ enum rtnetlink_groups { RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, - __RTNLGRP_MAX = 37, + RTNLGRP_IPV4_MCADDR = 37, + RTNLGRP_IPV6_MCADDR = 38, + RTNLGRP_IPV6_ACADDR = 39, + __RTNLGRP_MAX = 40, }; enum rtnl_kinds { @@ -8907,6 +9833,8 @@ enum rtnl_kinds { enum rtnl_link_flags { RTNL_FLAG_DOIT_UNLOCKED = 1, RTNL_FLAG_BULK_DEL_SUPPORTED = 2, + RTNL_FLAG_DUMP_UNLOCKED = 4, + RTNL_FLAG_DUMP_SPLIT_NLM_DONE = 8, }; enum rw_hint { @@ -8916,7 +9844,7 @@ enum rw_hint { WRITE_LIFE_MEDIUM = 3, WRITE_LIFE_LONG = 4, WRITE_LIFE_EXTREME = 5, -}; +} __attribute__((mode(byte))); enum rwsem_waiter_type { RWSEM_WAITING_FOR_WRITE = 0, @@ -8992,6 +9920,11 @@ enum sctp_msg_flags { MSG_NOTIFICATION = 32768, }; +enum set_event_iter_type { + SET_EVENT_FILE = 0, + SET_EVENT_MOD = 1, +}; + enum sig_handler { HANDLER_CURRENT = 0, HANDLER_SIG_DFL = 1, @@ -9029,86 +9962,152 @@ enum sk_psock_state_bits { SK_PSOCK_RX_STRP_ENABLED = 1, }; +enum sk_rst_reason { + SK_RST_REASON_NOT_SPECIFIED = 0, + SK_RST_REASON_NO_SOCKET = 1, + SK_RST_REASON_TCP_INVALID_ACK_SEQUENCE = 2, + SK_RST_REASON_TCP_RFC7323_PAWS = 3, + SK_RST_REASON_TCP_TOO_OLD_ACK = 4, + SK_RST_REASON_TCP_ACK_UNSENT_DATA = 5, + SK_RST_REASON_TCP_FLAGS = 6, + SK_RST_REASON_TCP_OLD_ACK = 7, + SK_RST_REASON_TCP_ABORT_ON_DATA = 8, + SK_RST_REASON_TCP_TIMEWAIT_SOCKET = 9, + SK_RST_REASON_INVALID_SYN = 10, + SK_RST_REASON_TCP_ABORT_ON_CLOSE = 11, + SK_RST_REASON_TCP_ABORT_ON_LINGER = 12, + SK_RST_REASON_TCP_ABORT_ON_MEMORY = 13, + SK_RST_REASON_TCP_STATE = 14, + SK_RST_REASON_TCP_KEEPALIVE_TIMEOUT = 15, + SK_RST_REASON_TCP_DISCONNECT_WITH_DATA = 16, + SK_RST_REASON_MPTCP_RST_EUNSPEC = 17, + SK_RST_REASON_MPTCP_RST_EMPTCP = 18, + SK_RST_REASON_MPTCP_RST_ERESOURCE = 19, + SK_RST_REASON_MPTCP_RST_EPROHIBIT = 20, + SK_RST_REASON_MPTCP_RST_EWQ2BIG = 21, + SK_RST_REASON_MPTCP_RST_EBADPERF = 22, + SK_RST_REASON_MPTCP_RST_EMIDDLEBOX = 23, + SK_RST_REASON_ERROR = 24, + SK_RST_REASON_MAX = 25, +}; + enum skb_drop_reason { SKB_NOT_DROPPED_YET = 0, SKB_CONSUMED = 1, SKB_DROP_REASON_NOT_SPECIFIED = 2, SKB_DROP_REASON_NO_SOCKET = 3, - SKB_DROP_REASON_PKT_TOO_SMALL = 4, - SKB_DROP_REASON_TCP_CSUM = 5, - SKB_DROP_REASON_SOCKET_FILTER = 6, - SKB_DROP_REASON_UDP_CSUM = 7, - SKB_DROP_REASON_NETFILTER_DROP = 8, - SKB_DROP_REASON_OTHERHOST = 9, - SKB_DROP_REASON_IP_CSUM = 10, - SKB_DROP_REASON_IP_INHDR = 11, - SKB_DROP_REASON_IP_RPFILTER = 12, - SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST = 13, - SKB_DROP_REASON_XFRM_POLICY = 14, - SKB_DROP_REASON_IP_NOPROTO = 15, - SKB_DROP_REASON_SOCKET_RCVBUFF = 16, - SKB_DROP_REASON_PROTO_MEM = 17, - SKB_DROP_REASON_TCP_MD5NOTFOUND = 18, - SKB_DROP_REASON_TCP_MD5UNEXPECTED = 19, - SKB_DROP_REASON_TCP_MD5FAILURE = 20, - SKB_DROP_REASON_SOCKET_BACKLOG = 21, - SKB_DROP_REASON_TCP_FLAGS = 22, - SKB_DROP_REASON_TCP_ZEROWINDOW = 23, - SKB_DROP_REASON_TCP_OLD_DATA = 24, - SKB_DROP_REASON_TCP_OVERWINDOW = 25, - SKB_DROP_REASON_TCP_OFOMERGE = 26, - SKB_DROP_REASON_TCP_RFC7323_PAWS = 27, - SKB_DROP_REASON_TCP_OLD_SEQUENCE = 28, - SKB_DROP_REASON_TCP_INVALID_SEQUENCE = 29, - SKB_DROP_REASON_TCP_RESET = 30, - SKB_DROP_REASON_TCP_INVALID_SYN = 31, - SKB_DROP_REASON_TCP_CLOSE = 32, - SKB_DROP_REASON_TCP_FASTOPEN = 33, - SKB_DROP_REASON_TCP_OLD_ACK = 34, - SKB_DROP_REASON_TCP_TOO_OLD_ACK = 35, - SKB_DROP_REASON_TCP_ACK_UNSENT_DATA = 36, - SKB_DROP_REASON_TCP_OFO_QUEUE_PRUNE = 37, - SKB_DROP_REASON_TCP_OFO_DROP = 38, - SKB_DROP_REASON_IP_OUTNOROUTES = 39, - SKB_DROP_REASON_BPF_CGROUP_EGRESS = 40, - SKB_DROP_REASON_IPV6DISABLED = 41, - SKB_DROP_REASON_NEIGH_CREATEFAIL = 42, - SKB_DROP_REASON_NEIGH_FAILED = 43, - SKB_DROP_REASON_NEIGH_QUEUEFULL = 44, - SKB_DROP_REASON_NEIGH_DEAD = 45, - SKB_DROP_REASON_TC_EGRESS = 46, - SKB_DROP_REASON_QDISC_DROP = 47, - SKB_DROP_REASON_CPU_BACKLOG = 48, - SKB_DROP_REASON_XDP = 49, - SKB_DROP_REASON_TC_INGRESS = 50, - SKB_DROP_REASON_UNHANDLED_PROTO = 51, - SKB_DROP_REASON_SKB_CSUM = 52, - SKB_DROP_REASON_SKB_GSO_SEG = 53, - SKB_DROP_REASON_SKB_UCOPY_FAULT = 54, - SKB_DROP_REASON_DEV_HDR = 55, - SKB_DROP_REASON_DEV_READY = 56, - SKB_DROP_REASON_FULL_RING = 57, - SKB_DROP_REASON_NOMEM = 58, - SKB_DROP_REASON_HDR_TRUNC = 59, - SKB_DROP_REASON_TAP_FILTER = 60, - SKB_DROP_REASON_TAP_TXFILTER = 61, - SKB_DROP_REASON_ICMP_CSUM = 62, - SKB_DROP_REASON_INVALID_PROTO = 63, - SKB_DROP_REASON_IP_INADDRERRORS = 64, - SKB_DROP_REASON_IP_INNOROUTES = 65, - SKB_DROP_REASON_PKT_TOO_BIG = 66, - SKB_DROP_REASON_DUP_FRAG = 67, - SKB_DROP_REASON_FRAG_REASM_TIMEOUT = 68, - SKB_DROP_REASON_FRAG_TOO_FAR = 69, - SKB_DROP_REASON_TCP_MINTTL = 70, - SKB_DROP_REASON_IPV6_BAD_EXTHDR = 71, - SKB_DROP_REASON_IPV6_NDISC_FRAG = 72, - SKB_DROP_REASON_IPV6_NDISC_HOP_LIMIT = 73, - SKB_DROP_REASON_IPV6_NDISC_BAD_CODE = 74, - SKB_DROP_REASON_IPV6_NDISC_BAD_OPTIONS = 75, - SKB_DROP_REASON_IPV6_NDISC_NS_OTHERHOST = 76, - SKB_DROP_REASON_QUEUE_PURGE = 77, - SKB_DROP_REASON_MAX = 78, + SKB_DROP_REASON_SOCKET_CLOSE = 4, + SKB_DROP_REASON_SOCKET_FILTER = 5, + SKB_DROP_REASON_SOCKET_RCVBUFF = 6, + SKB_DROP_REASON_UNIX_DISCONNECT = 7, + SKB_DROP_REASON_UNIX_SKIP_OOB = 8, + SKB_DROP_REASON_PKT_TOO_SMALL = 9, + SKB_DROP_REASON_TCP_CSUM = 10, + SKB_DROP_REASON_UDP_CSUM = 11, + SKB_DROP_REASON_NETFILTER_DROP = 12, + SKB_DROP_REASON_OTHERHOST = 13, + SKB_DROP_REASON_IP_CSUM = 14, + SKB_DROP_REASON_IP_INHDR = 15, + SKB_DROP_REASON_IP_RPFILTER = 16, + SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST = 17, + SKB_DROP_REASON_XFRM_POLICY = 18, + SKB_DROP_REASON_IP_NOPROTO = 19, + SKB_DROP_REASON_PROTO_MEM = 20, + SKB_DROP_REASON_TCP_AUTH_HDR = 21, + SKB_DROP_REASON_TCP_MD5NOTFOUND = 22, + SKB_DROP_REASON_TCP_MD5UNEXPECTED = 23, + SKB_DROP_REASON_TCP_MD5FAILURE = 24, + SKB_DROP_REASON_TCP_AONOTFOUND = 25, + SKB_DROP_REASON_TCP_AOUNEXPECTED = 26, + SKB_DROP_REASON_TCP_AOKEYNOTFOUND = 27, + SKB_DROP_REASON_TCP_AOFAILURE = 28, + SKB_DROP_REASON_SOCKET_BACKLOG = 29, + SKB_DROP_REASON_TCP_FLAGS = 30, + SKB_DROP_REASON_TCP_ABORT_ON_DATA = 31, + SKB_DROP_REASON_TCP_ZEROWINDOW = 32, + SKB_DROP_REASON_TCP_OLD_DATA = 33, + SKB_DROP_REASON_TCP_OVERWINDOW = 34, + SKB_DROP_REASON_TCP_OFOMERGE = 35, + SKB_DROP_REASON_TCP_RFC7323_PAWS = 36, + SKB_DROP_REASON_TCP_RFC7323_PAWS_ACK = 37, + SKB_DROP_REASON_TCP_OLD_SEQUENCE = 38, + SKB_DROP_REASON_TCP_INVALID_SEQUENCE = 39, + SKB_DROP_REASON_TCP_INVALID_ACK_SEQUENCE = 40, + SKB_DROP_REASON_TCP_RESET = 41, + SKB_DROP_REASON_TCP_INVALID_SYN = 42, + SKB_DROP_REASON_TCP_CLOSE = 43, + SKB_DROP_REASON_TCP_FASTOPEN = 44, + SKB_DROP_REASON_TCP_OLD_ACK = 45, + SKB_DROP_REASON_TCP_TOO_OLD_ACK = 46, + SKB_DROP_REASON_TCP_ACK_UNSENT_DATA = 47, + SKB_DROP_REASON_TCP_OFO_QUEUE_PRUNE = 48, + SKB_DROP_REASON_TCP_OFO_DROP = 49, + SKB_DROP_REASON_IP_OUTNOROUTES = 50, + SKB_DROP_REASON_BPF_CGROUP_EGRESS = 51, + SKB_DROP_REASON_IPV6DISABLED = 52, + SKB_DROP_REASON_NEIGH_CREATEFAIL = 53, + SKB_DROP_REASON_NEIGH_FAILED = 54, + SKB_DROP_REASON_NEIGH_QUEUEFULL = 55, + SKB_DROP_REASON_NEIGH_DEAD = 56, + SKB_DROP_REASON_TC_EGRESS = 57, + SKB_DROP_REASON_SECURITY_HOOK = 58, + SKB_DROP_REASON_QDISC_DROP = 59, + SKB_DROP_REASON_QDISC_OVERLIMIT = 60, + SKB_DROP_REASON_QDISC_CONGESTED = 61, + SKB_DROP_REASON_CAKE_FLOOD = 62, + SKB_DROP_REASON_FQ_BAND_LIMIT = 63, + SKB_DROP_REASON_FQ_HORIZON_LIMIT = 64, + SKB_DROP_REASON_FQ_FLOW_LIMIT = 65, + SKB_DROP_REASON_CPU_BACKLOG = 66, + SKB_DROP_REASON_XDP = 67, + SKB_DROP_REASON_TC_INGRESS = 68, + SKB_DROP_REASON_UNHANDLED_PROTO = 69, + SKB_DROP_REASON_SKB_CSUM = 70, + SKB_DROP_REASON_SKB_GSO_SEG = 71, + SKB_DROP_REASON_SKB_UCOPY_FAULT = 72, + SKB_DROP_REASON_DEV_HDR = 73, + SKB_DROP_REASON_DEV_READY = 74, + SKB_DROP_REASON_FULL_RING = 75, + SKB_DROP_REASON_NOMEM = 76, + SKB_DROP_REASON_HDR_TRUNC = 77, + SKB_DROP_REASON_TAP_FILTER = 78, + SKB_DROP_REASON_TAP_TXFILTER = 79, + SKB_DROP_REASON_ICMP_CSUM = 80, + SKB_DROP_REASON_INVALID_PROTO = 81, + SKB_DROP_REASON_IP_INADDRERRORS = 82, + SKB_DROP_REASON_IP_INNOROUTES = 83, + SKB_DROP_REASON_IP_LOCAL_SOURCE = 84, + SKB_DROP_REASON_IP_INVALID_SOURCE = 85, + SKB_DROP_REASON_IP_LOCALNET = 86, + SKB_DROP_REASON_IP_INVALID_DEST = 87, + SKB_DROP_REASON_PKT_TOO_BIG = 88, + SKB_DROP_REASON_DUP_FRAG = 89, + SKB_DROP_REASON_FRAG_REASM_TIMEOUT = 90, + SKB_DROP_REASON_FRAG_TOO_FAR = 91, + SKB_DROP_REASON_TCP_MINTTL = 92, + SKB_DROP_REASON_IPV6_BAD_EXTHDR = 93, + SKB_DROP_REASON_IPV6_NDISC_FRAG = 94, + SKB_DROP_REASON_IPV6_NDISC_HOP_LIMIT = 95, + SKB_DROP_REASON_IPV6_NDISC_BAD_CODE = 96, + SKB_DROP_REASON_IPV6_NDISC_BAD_OPTIONS = 97, + SKB_DROP_REASON_IPV6_NDISC_NS_OTHERHOST = 98, + SKB_DROP_REASON_QUEUE_PURGE = 99, + SKB_DROP_REASON_TC_COOKIE_ERROR = 100, + SKB_DROP_REASON_PACKET_SOCK_ERROR = 101, + SKB_DROP_REASON_TC_CHAIN_NOTFOUND = 102, + SKB_DROP_REASON_TC_RECLASSIFY_LOOP = 103, + SKB_DROP_REASON_VXLAN_INVALID_HDR = 104, + SKB_DROP_REASON_VXLAN_VNI_NOT_FOUND = 105, + SKB_DROP_REASON_MAC_INVALID_SOURCE = 106, + SKB_DROP_REASON_VXLAN_ENTRY_EXISTS = 107, + SKB_DROP_REASON_NO_TX_TARGET = 108, + SKB_DROP_REASON_IP_TUNNEL_ECN = 109, + SKB_DROP_REASON_TUNNEL_TXINFO = 110, + SKB_DROP_REASON_LOCAL_MAC = 111, + SKB_DROP_REASON_ARP_PVLAN_DISABLE = 112, + SKB_DROP_REASON_MAC_IEEE_MAC_CONTROL = 113, + SKB_DROP_REASON_BRIDGE_INGRESS_STP_STATE = 114, + SKB_DROP_REASON_MAX = 115, SKB_DROP_REASON_SUBSYS_MASK = 4294901760, }; @@ -9120,6 +10119,13 @@ enum skb_drop_reason_subsys { SKB_DROP_REASON_SUBSYS_NUM = 4, }; +enum skb_tstamp_type { + SKB_CLOCK_REALTIME = 0, + SKB_CLOCK_MONOTONIC = 1, + SKB_CLOCK_TAI = 2, + __SKB_CLOCK_MAX = 2, +}; + enum sknetlink_groups { SKNLGRP_NONE = 0, SKNLGRP_INET_TCP_DESTROY = 1, @@ -9132,9 +10138,8 @@ enum sknetlink_groups { enum slab_state { DOWN = 0, PARTIAL = 1, - PARTIAL_NODE = 2, - UP = 3, - FULL = 4, + UP = 2, + FULL = 3, }; enum sock_flags { @@ -9166,6 +10171,7 @@ enum sock_flags { SOCK_XDP = 25, SOCK_TSTAMP_NEW = 26, SOCK_RCVMARK = 27, + SOCK_RCVPRIORITY = 28, }; enum sock_shutdown_cmd { @@ -9204,6 +10210,20 @@ enum special_kfunc_type { KF_bpf_dynptr_slice = 16, KF_bpf_dynptr_slice_rdwr = 17, KF_bpf_dynptr_clone = 18, + KF_bpf_percpu_obj_new_impl = 19, + KF_bpf_percpu_obj_drop_impl = 20, + KF_bpf_throw = 21, + KF_bpf_wq_set_callback_impl = 22, + KF_bpf_preempt_disable = 23, + KF_bpf_preempt_enable = 24, + KF_bpf_iter_css_task_new = 25, + KF_bpf_session_cookie = 26, + KF_bpf_get_kmem_cache = 27, + KF_bpf_local_irq_save = 28, + KF_bpf_local_irq_restore = 29, + KF_bpf_iter_num_new = 30, + KF_bpf_iter_num_next = 31, + KF_bpf_iter_num_destroy = 32, }; enum stack_type { @@ -9254,9 +10274,31 @@ enum stcctm_ctr_set { MT_DIAG_CLEARING = 9, }; +enum store_type { + wr_invalid = 0, + wr_new_root = 1, + wr_store_root = 2, + wr_exact_fit = 3, + wr_spanning_store = 4, + wr_split_store = 5, + wr_rebalance = 6, + wr_append = 7, + wr_node_store = 8, + wr_slot_store = 9, +}; + enum string_size_units { STRING_UNITS_10 = 0, STRING_UNITS_2 = 1, + STRING_UNITS_MASK = 1, + STRING_UNITS_NO_SPACE = 1073741824, + STRING_UNITS_NO_BYTES = 2147483648, +}; + +enum subcode { + DIAG324_SUBC_0 = 0, + DIAG324_SUBC_1 = 1, + DIAG324_SUBC_2 = 2, }; enum sum_check_bits { @@ -9297,6 +10339,7 @@ enum task_work_notify_mode { TWA_RESUME = 1, TWA_SIGNAL = 2, TWA_SIGNAL_NO_IPI = 3, + TWA_NMI_CURRENT = 4, }; enum tc_mq_command { @@ -9384,6 +10427,16 @@ enum tcp_queue { TCP_FRAG_IN_RTX_QUEUE = 1, }; +enum tcp_skb_cb_sacked_flags { + TCPCB_SACKED_ACKED = 1, + TCPCB_SACKED_RETRANS = 2, + TCPCB_LOST = 4, + TCPCB_TAGBITS = 7, + TCPCB_REPAIRED = 16, + TCPCB_EVER_RETRANS = 128, + TCPCB_RETRANS = 146, +}; + enum tcp_synack_type { TCP_SYNACK_NORMAL = 0, TCP_SYNACK_FASTOPEN = 1, @@ -9447,7 +10500,8 @@ enum tlb_flush_reason { TLB_LOCAL_SHOOTDOWN = 2, TLB_LOCAL_MM_SHOOTDOWN = 3, TLB_REMOTE_SEND_IPI = 4, - NR_TLB_FLUSH_REASONS = 5, + TLB_REMOTE_WRONG_CPU = 5, + NR_TLB_FLUSH_REASONS = 6, }; enum tp_func_state { @@ -9465,7 +10519,7 @@ enum tp_transition_sync { enum trace_flag_type { TRACE_FLAG_IRQS_OFF = 1, - TRACE_FLAG_IRQS_NOSUPPORT = 2, + TRACE_FLAG_NEED_RESCHED_LAZY = 2, TRACE_FLAG_NEED_RESCHED = 4, TRACE_FLAG_HARDIRQ = 8, TRACE_FLAG_SOFTIRQ = 16, @@ -9504,13 +10558,14 @@ enum trace_iterator_bits { TRACE_ITER_IRQ_INFO_BIT = 20, TRACE_ITER_MARKERS_BIT = 21, TRACE_ITER_EVENT_FORK_BIT = 22, - TRACE_ITER_PAUSE_ON_TRACE_BIT = 23, - TRACE_ITER_HASH_PTR_BIT = 24, - TRACE_ITER_FUNCTION_BIT = 25, - TRACE_ITER_FUNC_FORK_BIT = 26, - TRACE_ITER_DISPLAY_GRAPH_BIT = 27, - TRACE_ITER_STACKTRACE_BIT = 28, - TRACE_ITER_LAST_BIT = 29, + TRACE_ITER_TRACE_PRINTK_BIT = 23, + TRACE_ITER_PAUSE_ON_TRACE_BIT = 24, + TRACE_ITER_HASH_PTR_BIT = 25, + TRACE_ITER_FUNCTION_BIT = 26, + TRACE_ITER_FUNC_FORK_BIT = 27, + TRACE_ITER_DISPLAY_GRAPH_BIT = 28, + TRACE_ITER_STACKTRACE_BIT = 29, + TRACE_ITER_LAST_BIT = 30, }; enum trace_iterator_flags { @@ -9537,12 +10592,13 @@ enum trace_iterator_flags { TRACE_ITER_IRQ_INFO = 1048576, TRACE_ITER_MARKERS = 2097152, TRACE_ITER_EVENT_FORK = 4194304, - TRACE_ITER_PAUSE_ON_TRACE = 8388608, - TRACE_ITER_HASH_PTR = 16777216, - TRACE_ITER_FUNCTION = 33554432, - TRACE_ITER_FUNC_FORK = 67108864, - TRACE_ITER_DISPLAY_GRAPH = 134217728, - TRACE_ITER_STACKTRACE = 268435456, + TRACE_ITER_TRACE_PRINTK = 8388608, + TRACE_ITER_PAUSE_ON_TRACE = 16777216, + TRACE_ITER_HASH_PTR = 33554432, + TRACE_ITER_FUNCTION = 67108864, + TRACE_ITER_FUNC_FORK = 134217728, + TRACE_ITER_DISPLAY_GRAPH = 268435456, + TRACE_ITER_STACKTRACE = 536870912, }; enum trace_reg { @@ -9569,15 +10625,16 @@ enum trace_type { TRACE_BRANCH = 9, TRACE_GRAPH_RET = 10, TRACE_GRAPH_ENT = 11, - TRACE_USER_STACK = 12, - TRACE_BLK = 13, - TRACE_BPUTS = 14, - TRACE_HWLAT = 15, - TRACE_OSNOISE = 16, - TRACE_TIMERLAT = 17, - TRACE_RAW_DATA = 18, - TRACE_FUNC_REPEATS = 19, - __TRACE_LAST_TYPE = 20, + TRACE_GRAPH_RETADDR_ENT = 12, + TRACE_USER_STACK = 13, + TRACE_BLK = 14, + TRACE_BPUTS = 15, + TRACE_HWLAT = 16, + TRACE_OSNOISE = 17, + TRACE_TIMERLAT = 18, + TRACE_RAW_DATA = 19, + TRACE_FUNC_REPEATS = 20, + __TRACE_LAST_TYPE = 21, }; enum tsq_enum { @@ -9587,6 +10644,7 @@ enum tsq_enum { TCP_WRITE_TIMER_DEFERRED = 3, TCP_DELACK_TIMER_DEFERRED = 4, TCP_MTU_REDUCED_DEFERRED = 5, + TCP_ACK_DEFERRED = 6, }; enum tsq_flags { @@ -9596,6 +10654,7 @@ enum tsq_flags { TCPF_WRITE_TIMER_DEFERRED = 8, TCPF_DELACK_TIMER_DEFERRED = 16, TCPF_MTU_REDUCED_DEFERRED = 32, + TCPF_ACK_DEFERRED = 64, }; enum ttu_flags { @@ -9607,6 +10666,12 @@ enum ttu_flags { TTU_RMAP_LOCKED = 128, }; +enum tty_flow_change { + TTY_FLOW_NO_CHANGE = 0, + TTY_THROTTLE_SAFE = 1, + TTY_UNTHROTTLE_SAFE = 2, +}; + enum tty_state_t { TTY_CLOSED = 0, TTY_OPENED = 1, @@ -9697,12 +10762,6 @@ enum umount_tree_flags { UMOUNT_CONNECTED = 4, }; -enum uprobe_filter_ctx { - UPROBE_FILTER_REGISTER = 0, - UPROBE_FILTER_UNREGISTER = 1, - UPROBE_FILTER_MMAP = 2, -}; - enum uprobe_task_state { UTASK_RUNNING = 0, UTASK_SSTEP = 1, @@ -9725,6 +10784,48 @@ enum uts_proc { UTS_PROC_DOMAINNAME = 5, }; +enum uv_cmds_inst { + BIT_UVC_CMD_QUI = 0, + BIT_UVC_CMD_INIT_UV = 1, + BIT_UVC_CMD_CREATE_SEC_CONF = 2, + BIT_UVC_CMD_DESTROY_SEC_CONF = 3, + BIT_UVC_CMD_CREATE_SEC_CPU = 4, + BIT_UVC_CMD_DESTROY_SEC_CPU = 5, + BIT_UVC_CMD_CONV_TO_SEC_STOR = 6, + BIT_UVC_CMD_CONV_FROM_SEC_STOR = 7, + BIT_UVC_CMD_SET_SHARED_ACCESS = 8, + BIT_UVC_CMD_REMOVE_SHARED_ACCESS = 9, + BIT_UVC_CMD_SET_SEC_PARMS = 11, + BIT_UVC_CMD_UNPACK_IMG = 13, + BIT_UVC_CMD_VERIFY_IMG = 14, + BIT_UVC_CMD_CPU_RESET = 15, + BIT_UVC_CMD_CPU_RESET_INITIAL = 16, + BIT_UVC_CMD_CPU_SET_STATE = 17, + BIT_UVC_CMD_PREPARE_RESET = 18, + BIT_UVC_CMD_CPU_PERFORM_CLEAR_RESET = 19, + BIT_UVC_CMD_UNSHARE_ALL = 20, + BIT_UVC_CMD_PIN_PAGE_SHARED = 21, + BIT_UVC_CMD_UNPIN_PAGE_SHARED = 22, + BIT_UVC_CMD_DESTROY_SEC_CONF_FAST = 23, + BIT_UVC_CMD_DUMP_INIT = 24, + BIT_UVC_CMD_DUMP_CONFIG_STOR_STATE = 25, + BIT_UVC_CMD_DUMP_CPU = 26, + BIT_UVC_CMD_DUMP_COMPLETE = 27, + BIT_UVC_CMD_RETR_ATTEST = 28, + BIT_UVC_CMD_ADD_SECRET = 29, + BIT_UVC_CMD_LIST_SECRETS = 30, + BIT_UVC_CMD_LOCK_SECRETS = 31, + BIT_UVC_CMD_RETR_SECRET = 33, + BIT_UVC_CMD_QUERY_KEYS = 34, +}; + +enum uv_feat_ind { + BIT_UV_FEAT_MISC = 0, + BIT_UV_FEAT_AIV = 1, + BIT_UV_FEAT_AP = 4, + BIT_UV_FEAT_AP_INTR = 5, +}; + enum vdso_clock_mode { VDSO_CLOCKMODE_NONE = 0, VDSO_CLOCKMODE_TOD = 1, @@ -9769,35 +10870,32 @@ enum vm_event_item { PGSTEAL_KSWAPD = 22, PGSTEAL_DIRECT = 23, PGSTEAL_KHUGEPAGED = 24, - PGDEMOTE_KSWAPD = 25, - PGDEMOTE_DIRECT = 26, - PGDEMOTE_KHUGEPAGED = 27, - PGSCAN_KSWAPD = 28, - PGSCAN_DIRECT = 29, - PGSCAN_KHUGEPAGED = 30, - PGSCAN_DIRECT_THROTTLE = 31, - PGSCAN_ANON = 32, - PGSCAN_FILE = 33, - PGSTEAL_ANON = 34, - PGSTEAL_FILE = 35, - PGINODESTEAL = 36, - SLABS_SCANNED = 37, - KSWAPD_INODESTEAL = 38, - KSWAPD_LOW_WMARK_HIT_QUICKLY = 39, - KSWAPD_HIGH_WMARK_HIT_QUICKLY = 40, - PAGEOUTRUN = 41, - PGROTATED = 42, - DROP_PAGECACHE = 43, - DROP_SLAB = 44, - OOM_KILL = 45, - UNEVICTABLE_PGCULLED = 46, - UNEVICTABLE_PGSCANNED = 47, - UNEVICTABLE_PGRESCUED = 48, - UNEVICTABLE_PGMLOCKED = 49, - UNEVICTABLE_PGMUNLOCKED = 50, - UNEVICTABLE_PGCLEARED = 51, - UNEVICTABLE_PGSTRANDED = 52, - NR_VM_EVENT_ITEMS = 53, + PGSCAN_KSWAPD = 25, + PGSCAN_DIRECT = 26, + PGSCAN_KHUGEPAGED = 27, + PGSCAN_DIRECT_THROTTLE = 28, + PGSCAN_ANON = 29, + PGSCAN_FILE = 30, + PGSTEAL_ANON = 31, + PGSTEAL_FILE = 32, + PGINODESTEAL = 33, + SLABS_SCANNED = 34, + KSWAPD_INODESTEAL = 35, + KSWAPD_LOW_WMARK_HIT_QUICKLY = 36, + KSWAPD_HIGH_WMARK_HIT_QUICKLY = 37, + PAGEOUTRUN = 38, + PGROTATED = 39, + DROP_PAGECACHE = 40, + DROP_SLAB = 41, + OOM_KILL = 42, + UNEVICTABLE_PGCULLED = 43, + UNEVICTABLE_PGSCANNED = 44, + UNEVICTABLE_PGRESCUED = 45, + UNEVICTABLE_PGMLOCKED = 46, + UNEVICTABLE_PGMUNLOCKED = 47, + UNEVICTABLE_PGCLEARED = 48, + UNEVICTABLE_PGSTRANDED = 49, + NR_VM_EVENT_ITEMS = 50, }; enum vm_fault_reason { @@ -9817,6 +10915,18 @@ enum vm_fault_reason { VM_FAULT_HINDEX_MASK = 983040, }; +enum vma_merge_flags { + VMG_FLAG_DEFAULT = 0, + VMG_FLAG_JUST_EXPAND = 1, +}; + +enum vma_merge_state { + VMA_MERGE_START = 0, + VMA_MERGE_ERROR_NOMEM = 1, + VMA_MERGE_NOMERGE = 2, + VMA_MERGE_SUCCESS = 3, +}; + enum vmscan_throttle_state { VMSCAN_THROTTLE_WRITEBACK = 0, VMSCAN_THROTTLE_ISOLATED = 1, @@ -9858,6 +10968,56 @@ enum wb_state { WB_start_all = 3, }; +enum work_bits { + WORK_STRUCT_PENDING_BIT = 0, + WORK_STRUCT_INACTIVE_BIT = 1, + WORK_STRUCT_PWQ_BIT = 2, + WORK_STRUCT_LINKED_BIT = 3, + WORK_STRUCT_FLAG_BITS = 4, + WORK_STRUCT_COLOR_SHIFT = 4, + WORK_STRUCT_COLOR_BITS = 4, + WORK_STRUCT_PWQ_SHIFT = 8, + WORK_OFFQ_FLAG_SHIFT = 4, + WORK_OFFQ_BH_BIT = 4, + WORK_OFFQ_FLAG_END = 5, + WORK_OFFQ_FLAG_BITS = 1, + WORK_OFFQ_DISABLE_SHIFT = 5, + WORK_OFFQ_DISABLE_BITS = 16, + WORK_OFFQ_POOL_SHIFT = 21, + WORK_OFFQ_LEFT = 43, + WORK_OFFQ_POOL_BITS = 31, +}; + +enum work_cancel_flags { + WORK_CANCEL_DELAYED = 1, + WORK_CANCEL_DISABLE = 2, +}; + +enum work_flags { + WORK_STRUCT_PENDING = 1, + WORK_STRUCT_INACTIVE = 2, + WORK_STRUCT_PWQ = 4, + WORK_STRUCT_LINKED = 8, + WORK_STRUCT_STATIC = 0, +}; + +enum worker_flags { + WORKER_DIE = 2, + WORKER_IDLE = 4, + WORKER_PREP = 8, + WORKER_CPU_INTENSIVE = 64, + WORKER_UNBOUND = 128, + WORKER_REBOUND = 256, + WORKER_NOT_RUNNING = 456, +}; + +enum worker_pool_flags { + POOL_BH = 1, + POOL_MANAGER_ACTIVE = 2, + POOL_DISASSOCIATED = 4, + POOL_BH_DRAINING = 8, +}; + enum wq_affn_scope { WQ_AFFN_DFL = 0, WQ_AFFN_CPU = 1, @@ -9868,6 +11028,52 @@ enum wq_affn_scope { WQ_AFFN_NR_TYPES = 6, }; +enum wq_consts { + WQ_MAX_ACTIVE = 2048, + WQ_UNBOUND_MAX_ACTIVE = 2048, + WQ_DFL_ACTIVE = 1024, + WQ_DFL_MIN_ACTIVE = 8, +}; + +enum wq_flags { + WQ_BH = 1, + WQ_UNBOUND = 2, + WQ_FREEZABLE = 4, + WQ_MEM_RECLAIM = 8, + WQ_HIGHPRI = 16, + WQ_CPU_INTENSIVE = 32, + WQ_SYSFS = 64, + WQ_POWER_EFFICIENT = 128, + __WQ_DESTROYING = 32768, + __WQ_DRAINING = 65536, + __WQ_ORDERED = 131072, + __WQ_LEGACY = 262144, + __WQ_BH_ALLOWS = 17, +}; + +enum wq_internal_consts { + NR_STD_WORKER_POOLS = 2, + UNBOUND_POOL_HASH_ORDER = 6, + BUSY_WORKER_HASH_ORDER = 6, + MAX_IDLE_WORKERS_RATIO = 4, + IDLE_WORKER_TIMEOUT = 75000, + MAYDAY_INITIAL_TIMEOUT = 2, + MAYDAY_INTERVAL = 25, + CREATE_COOLDOWN = 250, + RESCUER_NICE_LEVEL = -20, + HIGHPRI_NICE_LEVEL = -20, + WQ_NAME_LEN = 32, + WORKER_ID_LEN = 42, +}; + +enum wq_misc_consts { + WORK_NR_COLORS = 16, + WORK_CPU_UNBOUND = 64, + WORK_BUSY_PENDING = 1, + WORK_BUSY_RUNNING = 2, + WORKER_DESC_LEN = 32, +}; + enum writeback_sync_modes { WB_SYNC_NONE = 0, WB_SYNC_ALL = 1, @@ -9908,6 +11114,7 @@ enum xdp_rss_hash_type { XDP_RSS_L4_UDP = 32, XDP_RSS_L4_SCTP = 64, XDP_RSS_L4_IPSEC = 128, + XDP_RSS_L4_ICMP = 256, XDP_RSS_TYPE_NONE = 0, XDP_RSS_TYPE_L2 = 0, XDP_RSS_TYPE_L3_IPV4 = 1, @@ -9919,15 +11126,24 @@ enum xdp_rss_hash_type { XDP_RSS_TYPE_L4_IPV4_UDP = 41, XDP_RSS_TYPE_L4_IPV4_SCTP = 73, XDP_RSS_TYPE_L4_IPV4_IPSEC = 137, + XDP_RSS_TYPE_L4_IPV4_ICMP = 265, XDP_RSS_TYPE_L4_IPV6_TCP = 26, XDP_RSS_TYPE_L4_IPV6_UDP = 42, XDP_RSS_TYPE_L4_IPV6_SCTP = 74, XDP_RSS_TYPE_L4_IPV6_IPSEC = 138, + XDP_RSS_TYPE_L4_IPV6_ICMP = 266, XDP_RSS_TYPE_L4_IPV6_TCP_EX = 30, XDP_RSS_TYPE_L4_IPV6_UDP_EX = 46, XDP_RSS_TYPE_L4_IPV6_SCTP_EX = 78, }; +enum xdp_rx_metadata { + XDP_METADATA_KFUNC_RX_TIMESTAMP = 0, + XDP_METADATA_KFUNC_RX_HASH = 1, + XDP_METADATA_KFUNC_RX_VLAN_TAG = 2, + MAX_XDP_METADATA_KFUNC = 3, +}; + enum xfrm_attr_type_t { XFRMA_UNSPEC = 0, XFRMA_ALG_AUTH = 1, @@ -9962,7 +11178,16 @@ enum xfrm_attr_type_t { XFRMA_SET_MARK_MASK = 30, XFRMA_IF_ID = 31, XFRMA_MTIMER_THRESH = 32, - __XFRMA_MAX = 33, + XFRMA_SA_DIR = 33, + XFRMA_NAT_KEEPALIVE_INTERVAL = 34, + XFRMA_SA_PCPU = 35, + XFRMA_IPTFS_DROP_TIME = 36, + XFRMA_IPTFS_REORDER_WINDOW = 37, + XFRMA_IPTFS_DONT_FRAG = 38, + XFRMA_IPTFS_INIT_DELAY = 39, + XFRMA_IPTFS_MAX_QSIZE = 40, + XFRMA_IPTFS_PKT_SIZE = 41, + __XFRMA_MAX = 42, }; enum xfrm_replay_mode { @@ -9980,6 +11205,7 @@ enum xps_map_type { enum zone_flags { ZONE_BOOSTED_WATERMARK = 0, ZONE_RECLAIM_ACTIVE = 1, + ZONE_BELOW_HIGH = 2, }; enum zone_stat_item { @@ -10034,6 +11260,8 @@ typedef int __kernel_timer_t; typedef int __s32; +typedef int class_get_unused_fd_t; + typedef __kernel_clockid_t clockid_t; typedef __s32 s32; @@ -10042,6 +11270,10 @@ typedef s32 compat_int_t; typedef s32 compat_ssize_t; +typedef int folio_walk_flags_t; + +typedef int fpb_t; + typedef int fpi_t; typedef s32 old_time32_t; @@ -10124,8 +11356,12 @@ typedef u64 async_cookie_t; typedef u64 blkcnt_t; +typedef u64 dma64_t; + typedef u64 dma_addr_t; +typedef u64 io_req_flags_t; + typedef u64 netdev_features_t; typedef u64 pcp_op_T_____5; @@ -10158,7 +11394,7 @@ typedef long unsigned int irq_hw_number_t; typedef long unsigned int kernel_ulong_t; -typedef long unsigned int kimage_entry_t; +typedef long unsigned int netmem_ref; typedef long unsigned int old_sigset_t; @@ -10204,8 +11440,6 @@ typedef short unsigned int pci_dev_flags_t; typedef __kernel_sa_family_t sa_family_t; -typedef u16 u_int16_t; - typedef short unsigned int u_short; typedef short unsigned int umode_t; @@ -10262,6 +11496,10 @@ typedef __u32 __portpair; typedef __u32 __wsum; +typedef unsigned int blk_features_t; + +typedef unsigned int blk_flags_t; + typedef unsigned int blk_mode_t; typedef __u32 blk_opf_t; @@ -10282,24 +11520,24 @@ typedef u32 depot_stack_handle_t; typedef __kernel_dev_t dev_t; +typedef u32 dma32_t; + typedef u32 errseq_t; typedef unsigned int fgf_t; typedef unsigned int fmode_t; +typedef unsigned int fop_flags_t; + typedef unsigned int gfp_t; typedef __kernel_gid32_t gid_t; typedef unsigned int iov_iter_extraction_t; -typedef unsigned int isolate_mode_t; - typedef unsigned int kasan_vmalloc_flags_t; -typedef u32 note_buf_t[92]; - typedef unsigned int pci_channel_state_t; typedef unsigned int pci_ers_result_t; @@ -10314,6 +11552,8 @@ typedef unsigned int pgtbl_mod_mask; typedef u32 phandle; +typedef unsigned int pipe_index_t; + typedef __kernel_uid32_t projid_t; typedef unsigned int sclp_cmdw_t; @@ -10328,8 +11568,6 @@ typedef unsigned int t_key; typedef unsigned int tcflag_t; -typedef u32 u_int32_t; - typedef __kernel_uid32_t uid_t; typedef unsigned int uint; @@ -10390,26 +11628,10 @@ typedef struct { unsigned char __reserved[128]; } _sigregs_ext; -typedef struct { - int _[16]; -} acrstype; - typedef struct { char _[4096]; } addr_type; -typedef struct { - char _[8]; -} addrtype; - -typedef struct { - char _[128]; -} addrtype___2; - -typedef struct { - char _[24]; -} addrtype___3; - typedef struct { int lock; } arch_spinlock_t; @@ -10457,6 +11679,30 @@ typedef struct { unsigned int timeout; } cisco_proto; +typedef struct { + void *lock; +} class_cpus_read_lock_t; + +struct rq; + +typedef struct { + struct rq *lock; + struct rq *lock2; +} class_double_rq_lock_t; + +typedef struct { + void *lock; + long unsigned int flags; +} class_irqsave_t; + +typedef struct { + void *lock; +} class_jump_label_lock_t; + +typedef struct { + void *lock; +} class_preempt_notrace_t; + typedef struct { void *lock; } class_preempt_t; @@ -10465,15 +11711,27 @@ struct raw_spinlock; typedef struct raw_spinlock raw_spinlock_t; +typedef struct { + raw_spinlock_t *lock; +} class_raw_spinlock_irq_t; + typedef struct { raw_spinlock_t *lock; long unsigned int flags; } class_raw_spinlock_irqsave_t; +typedef struct { + raw_spinlock_t *lock; +} class_raw_spinlock_t; + typedef struct { void *lock; } class_rcu_t; +typedef struct { + void *lock; +} class_rcu_tasks_trace_t; + struct pin_cookie {}; struct rq_flags { @@ -10481,13 +11739,52 @@ struct rq_flags { struct pin_cookie cookie; }; -struct rq; - typedef struct { struct rq *lock; struct rq_flags rf; } class_rq_lock_irqsave_t; +typedef struct { + struct rq *lock; + struct rq_flags rf; +} class_rq_lock_t; + +struct spinlock; + +typedef struct spinlock spinlock_t; + +typedef struct { + spinlock_t *lock; + long unsigned int flags; +} class_spinlock_irqsave_t; + +typedef struct { + spinlock_t *lock; +} class_spinlock_t; + +struct srcu_struct; + +typedef struct { + struct srcu_struct *lock; + int idx; +} class_srcu_t; + +struct task_struct; + +typedef struct { + struct task_struct *lock; + struct rq *rq; + struct rq_flags rf; +} class_task_rq_lock_t; + +typedef struct { + arch_rwlock_t raw_lock; +} rwlock_t; + +typedef struct { + rwlock_t *lock; +} class_write_lock_irq_t; + typedef struct { unsigned char bytes[16]; } cpacf_mask_t; @@ -10497,15 +11794,6 @@ typedef struct { long int args[0]; } debug_sprintf_entry_t; -typedef struct { - psw_t psw; - long unsigned int gprs[16]; - unsigned int acrs[16]; - long unsigned int orig_gpr2; -} s390_regs; - -typedef s390_regs elf_gregset_t; - typedef __kernel_fd_set fd_set; typedef struct { @@ -10517,6 +11805,10 @@ typedef struct { long unsigned int *res_ex; } fd_set_bits; +typedef struct { + atomic64_t refcnt; +} file_ref_t; + typedef struct { unsigned int t391; unsigned int t392; @@ -10566,10 +11858,6 @@ typedef struct { long unsigned int key[2]; } hsiphash_key_t; -typedef struct { - long unsigned int pd; -} hugepd_t; - typedef struct { u64 val; } kernel_cap_t; @@ -10608,8 +11896,6 @@ struct spinlock { }; }; -typedef struct spinlock spinlock_t; - struct cpumask { long unsigned int bits[1]; }; @@ -10626,7 +11912,6 @@ typedef struct { cpumask_t cpu_attach_mask; atomic_t flush_count; unsigned int flush_mm; - struct list_head pgtable_list; struct list_head gmap_list; long unsigned int gmap_asce; long unsigned int asce; @@ -10637,6 +11922,7 @@ typedef struct { unsigned int has_pgste: 1; unsigned int uses_skeys: 1; unsigned int uses_cmm: 1; + unsigned int allow_cow_sharing: 1; unsigned int allow_gmap_hpage_1m: 1; } mm_context_t; @@ -10712,10 +11998,6 @@ typedef struct { typedef union { } release_pages_arg; -typedef struct { - arch_rwlock_t raw_lock; -} rwlock_t; - struct seqcount { unsigned int sequence; }; @@ -10824,8 +12106,6 @@ struct hlist_node { struct hlist_node **pprev; }; -struct net_rate_estimator; - struct refcount_struct { atomic_t refs; }; @@ -10879,12 +12159,16 @@ struct callback_head { void (*func)(struct callback_head *); }; +struct lock_class_key {}; + struct Qdisc_ops; struct qdisc_size_table; struct netdev_queue; +struct net_rate_estimator; + struct Qdisc { int (*enqueue)(struct sk_buff *, struct Qdisc *, struct sk_buff **); struct sk_buff * (*dequeue)(struct Qdisc *); @@ -10924,6 +12208,7 @@ struct Qdisc { struct qdisc_skb_head q; struct gnet_stats_basic_sync bstats; struct gnet_stats_queue qstats; + int owner; long unsigned int state; long unsigned int state2; struct Qdisc *next_sched; @@ -10947,6 +12232,7 @@ struct Qdisc { spinlock_t seqlock; struct callback_head rcu; netdevice_tracker dev_tracker; + struct lock_class_key root_lock_key; long: 64; long: 64; long: 64; @@ -11035,6 +12321,53 @@ struct Qdisc_ops { struct module *owner; }; +struct subchannel_id { + __u32 cssid: 8; + char: 4; + __u32 m: 1; + __u32 ssid: 2; + __u32 one: 1; + __u32 sch_no: 16; +}; + +struct tpi_info { + struct subchannel_id schid; + u32 intparm; + u32 adapter_IO: 1; + u32 directed_irq: 1; + u32 isc: 3; + short: 11; + char: 1; + u32 type: 3; +}; + +struct pt_regs { + union { + user_pt_regs user_regs; + struct { + long unsigned int args[1]; + psw_t psw; + long unsigned int gprs[16]; + }; + }; + long unsigned int orig_gpr2; + union { + struct { + unsigned int int_code; + unsigned int int_parm; + long unsigned int int_parm_long; + }; + struct tpi_info tpi_info; + }; + long unsigned int flags; + long unsigned int cr1; + long unsigned int last_break; +}; + +struct __arch_ftrace_regs { + struct pt_regs regs; +}; + struct llist_node { struct llist_node *next; }; @@ -11074,6 +12407,7 @@ struct tracepoint; struct __find_tracepoint_cb_data { const char *tp_name; struct tracepoint *tpoint; + struct module *mod; }; struct genradix_root; @@ -11320,6 +12654,10 @@ struct _strp_msg { int accum_len; }; +struct access_regs { + unsigned int regs[16]; +}; + struct ack_sample { u32 pkts_acked; s32 rtt_us; @@ -11380,11 +12718,11 @@ struct address_space { long unsigned int writeback_index; const struct address_space_operations *a_ops; long unsigned int flags; - struct rw_semaphore i_mmap_rwsem; errseq_t wb_err; - spinlock_t private_lock; - struct list_head private_list; - void *private_data; + spinlock_t i_private_lock; + struct list_head i_private_list; + struct rw_semaphore i_mmap_rwsem; + void *i_private_data; }; struct page; @@ -11409,8 +12747,8 @@ struct address_space_operations { int (*writepages)(struct address_space *, struct writeback_control *); bool (*dirty_folio)(struct address_space *, struct folio *); void (*readahead)(struct readahead_control *); - int (*write_begin)(struct file *, struct address_space *, loff_t, unsigned int, struct page **, void **); - int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct page *, void *); + int (*write_begin)(struct file *, struct address_space *, loff_t, unsigned int, struct folio **, void **); + int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct folio *, void *); sector_t (*bmap)(struct address_space *, sector_t); void (*invalidate_folio)(struct folio *, size_t, size_t); bool (*release_folio)(struct folio *, gfp_t); @@ -11420,21 +12758,29 @@ struct address_space_operations { int (*launder_folio)(struct folio *); bool (*is_partially_uptodate)(struct folio *, size_t, size_t); void (*is_dirty_writeback)(struct folio *, bool *, bool *); - int (*error_remove_page)(struct address_space *, struct page *); + int (*error_remove_folio)(struct address_space *, struct folio *); int (*swap_activate)(struct swap_info_struct *, struct file *, sector_t *); void (*swap_deactivate)(struct file *); int (*swap_rw)(struct kiocb *, struct iov_iter *); }; struct addrtype { - char _[32]; + char _[16]; }; struct addrtype___2 { - char _[16]; + char _[24]; }; struct addrtype___3 { + char _[32]; +}; + +struct addrtype___4 { + char _[128]; +}; + +struct addrtype___5 { char _[256]; }; @@ -11458,6 +12804,29 @@ struct aggregate_device { struct component_match *match; }; +typedef void (*crypto_completion_t)(void *, int); + +struct crypto_tfm; + +struct crypto_async_request { + struct list_head list; + crypto_completion_t complete; + void *data; + struct crypto_tfm *tfm; + u32 flags; +}; + +struct scatterlist; + +struct ahash_request { + struct crypto_async_request base; + unsigned int nbytes; + struct scatterlist *src; + u8 *result; + void *priv; + void *__ctx[0]; +}; + struct airq_iv { long unsigned int *vector; dma_addr_t vector_dma; @@ -11471,8 +12840,6 @@ struct airq_iv { spinlock_t lock; }; -struct tpi_info; - struct airq_struct { struct hlist_node list; void (*handler)(struct airq_struct *, struct tpi_info *); @@ -11508,7 +12875,7 @@ struct hrtimer { struct alarm { struct timerqueue_node node; struct hrtimer timer; - enum alarmtimer_restart (*function)(struct alarm *, ktime_t); + void (*function)(struct alarm *, ktime_t); enum alarmtimer_type type; int state; void *data; @@ -11523,7 +12890,7 @@ struct timespec64; struct alarm_base { spinlock_t lock; struct timerqueue_head timerqueue; - ktime_t (*get_ktime)(); + ktime_t (*get_ktime)(void); void (*get_timespec)(struct timespec64 *); clockid_t base_clockid; }; @@ -11541,10 +12908,37 @@ struct alloc_context { bool spread_dirty_pages; }; +struct codetag { + unsigned int flags; + unsigned int lineno; + const char *modname; + const char *function; + const char *filename; +}; + +struct alloc_tag_counters; + +struct alloc_tag { + struct codetag ct; + struct alloc_tag_counters *counters; +}; + +struct alloc_tag_counters { + u64 bytes; + u64 calls; +}; + struct alt_instr { s32 instr_offset; s32 repl_offset; - u16 facility; + union { + u32 feature; + struct { + u32 ctx: 4; + u32 type: 8; + u32 data: 20; + }; + }; u8 instrlen; } __attribute__((packed)); @@ -11682,7 +13076,7 @@ struct arch_uprobe { struct arch_uprobe_task {}; -struct arch_vdso_data { +struct arch_vdso_time_data { __s64 tod_steering_delta; __u64 tod_steering_end; }; @@ -11729,10 +13123,10 @@ struct arpreq { char arp_dev[16]; }; -struct trace_buffer; - struct trace_array; +struct trace_buffer; + struct trace_array_cpu; struct array_buffer { @@ -11745,6 +13139,7 @@ struct array_buffer { struct asym_cap_data { struct list_head link; + struct callback_head rcu; long unsigned int capacity; long unsigned int cpus[0]; }; @@ -11795,9 +13190,13 @@ struct bin_attribute; struct attribute_group { const char *name; umode_t (*is_visible)(struct kobject *, struct attribute *, int); - umode_t (*is_bin_visible)(struct kobject *, struct bin_attribute *, int); + umode_t (*is_bin_visible)(struct kobject *, const struct bin_attribute *, int); + size_t (*bin_size)(struct kobject *, const struct bin_attribute *, int); struct attribute **attrs; - struct bin_attribute **bin_attrs; + union { + struct bin_attribute **bin_attrs; + const struct bin_attribute * const *bin_attrs_new; + }; }; struct audit_ntp_data {}; @@ -11872,7 +13271,6 @@ struct bdi_writeback { struct list_head work_list; struct delayed_work dwork; struct delayed_work bw_dwork; - long unsigned int dirty_sleep; struct list_head bdi_node; }; @@ -11888,6 +13286,7 @@ struct backing_dev_info { unsigned int max_ratio; unsigned int max_prop_frac; atomic_long_t tot_write_bandwidth; + long unsigned int last_bdp_sleep; struct bdi_writeback wb; struct list_head wb_list; wait_queue_head_t wb_waitq; @@ -11897,6 +13296,15 @@ struct backing_dev_info { struct timer_list laptop_mode_wb_timer; }; +struct vfsmount; + +struct dentry; + +struct path { + struct vfsmount *mnt; + struct dentry *dentry; +}; + struct mutex { atomic_long_t owner; raw_spinlock_t wait_lock; @@ -11904,17 +13312,6 @@ struct mutex { struct list_head wait_list; }; -struct pid; - -struct fown_struct { - rwlock_t lock; - struct pid *pid; - enum pid_type pid_type; - kuid_t uid; - kuid_t euid; - int signum; -}; - struct file_ra_state { long unsigned int start; unsigned int size; @@ -11924,47 +13321,46 @@ struct file_ra_state { loff_t prev_pos; }; -struct vfsmount; - -struct dentry; - -struct path { - struct vfsmount *mnt; - struct dentry *dentry; -}; +struct file_operations; struct cred; -struct file_operations; +struct fown_struct; struct file { - union { - struct llist_node f_llist; - struct callback_head f_rcuhead; - unsigned int f_iocb_flags; - }; + file_ref_t f_ref; spinlock_t f_lock; fmode_t f_mode; - atomic_long_t f_count; - struct mutex f_pos_lock; - loff_t f_pos; + const struct file_operations *f_op; + struct address_space *f_mapping; + void *private_data; + struct inode *f_inode; unsigned int f_flags; - struct fown_struct f_owner; + unsigned int f_iocb_flags; const struct cred *f_cred; - struct file_ra_state f_ra; struct path f_path; - struct inode *f_inode; - const struct file_operations *f_op; - u64 f_version; - void *private_data; - struct address_space *f_mapping; + union { + struct mutex f_pos_lock; + u64 f_pipe; + }; + loff_t f_pos; + struct fown_struct *f_owner; errseq_t f_wb_err; errseq_t f_sb_err; + union { + struct callback_head f_task_work; + struct llist_node f_llist; + struct file_ra_state f_ra; + freeptr_t f_freeptr; + }; }; struct backing_file { struct file file; - struct path real_path; + union { + struct path user_path; + freeptr_t bf_freeptr; + }; }; struct bpf_verifier_env; @@ -12041,10 +13437,13 @@ struct bin_attribute { struct attribute attr; size_t size; void *private; - struct address_space * (*f_mapping)(); + struct address_space * (*f_mapping)(void); ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t); + ssize_t (*read_new)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t); ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t); - int (*mmap)(struct file *, struct kobject *, struct bin_attribute *, struct vm_area_struct *); + ssize_t (*write_new)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t); + loff_t (*llseek)(struct file *, struct kobject *, const struct bin_attribute *, loff_t, int); + int (*mmap)(struct file *, struct kobject *, const struct bin_attribute *, struct vm_area_struct *); }; struct bvec_iter { @@ -12074,13 +13473,16 @@ struct bio { blk_opf_t bi_opf; short unsigned int bi_flags; short unsigned int bi_ioprio; + enum rw_hint bi_write_hint; blk_status_t bi_status; atomic_t __bi_remaining; struct bvec_iter bi_iter; - blk_qc_t bi_cookie; + union { + blk_qc_t bi_cookie; + unsigned int __bi_nr_segments; + }; bio_end_io_t *bi_end_io; void *bi_private; - union {}; short unsigned int bi_vcnt; short unsigned int bi_max_vecs; atomic_t __bi_cnt; @@ -12129,8 +13531,6 @@ struct bio_set { struct hlist_node cpuhp_dead; }; -typedef struct bio_vec skb_frag_t; - struct blacklist_entry { struct list_head next; char *buf; @@ -12148,6 +13548,8 @@ struct blake2s_state { struct blk_holder_ops { void (*mark_dead)(struct block_device *, bool); void (*sync)(struct block_device *); + int (*freeze)(struct block_device *); + int (*thaw)(struct block_device *); }; struct kset; @@ -12184,6 +13586,15 @@ struct blk_independent_access_ranges { struct blk_independent_access_range ia_range[0]; }; +struct blk_integrity { + unsigned char flags; + enum blk_integrity_checksum csum_type; + unsigned char tuple_size; + unsigned char pi_offset; + unsigned char interval_exp; + unsigned char tag_size; +}; + struct blk_plug {}; struct blk_zone { @@ -12220,8 +13631,8 @@ struct dev_pm_qos; struct dev_pm_info { pm_message_t power_state; - unsigned int can_wakeup: 1; - unsigned int async_suspend: 1; + bool can_wakeup: 1; + bool async_suspend: 1; bool in_dpm_list: 1; bool is_prepared: 1; bool is_suspended: 1; @@ -12232,7 +13643,7 @@ struct dev_pm_info { bool direct_complete: 1; u32 driver_flags; spinlock_t lock; - unsigned int should_wakeup: 1; + bool should_wakeup: 1; struct pm_subsys_data *subsys_data; void (*set_latency_tolerance)(struct device *, s32); struct dev_pm_qos *qos; @@ -12309,14 +13720,13 @@ struct device { bool of_node_reused: 1; bool state_synced: 1; bool can_match: 1; + bool dma_skip_sync: 1; }; struct gendisk; struct request_queue; -struct super_block; - struct partition_meta_info; struct block_device { @@ -12326,24 +13736,21 @@ struct block_device { struct request_queue *bd_queue; struct disk_stats *bd_stats; long unsigned int bd_stamp; - bool bd_read_only; - u8 bd_partno; - bool bd_write_holder; - bool bd_has_submit_bio; + atomic_t __bd_flags; dev_t bd_dev; + struct address_space *bd_mapping; atomic_t bd_openers; spinlock_t bd_size_lock; - struct inode *bd_inode; void *bd_claiming; void *bd_holder; const struct blk_holder_ops *bd_holder_ops; struct mutex bd_holder_lock; - int bd_fsfreeze_count; int bd_holders; struct kobject *bd_holder_dir; + atomic_t bd_fsfreeze_count; struct mutex bd_fsfreeze_mutex; - struct super_block *bd_fsfreeze_sb; struct partition_meta_info *bd_meta_info; + int bd_writers; struct device bd_device; }; @@ -12386,17 +13793,14 @@ struct boot_triggers { char *trigger; }; -struct bpf_active_lock { - void *ptr; - u32 id; -}; - struct bpf_map_ops; struct btf_record; struct btf; +struct btf_type; + struct bpf_map { const struct bpf_map_ops *ops; struct bpf_map *inner_map_meta; @@ -12414,32 +13818,16 @@ struct bpf_map { u32 btf_vmlinux_value_type_id; struct btf *btf; char name[16]; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; + struct mutex freeze_mutex; atomic64_t refcnt; atomic64_t usercnt; - struct work_struct work; - struct mutex freeze_mutex; + union { + struct work_struct work; + struct callback_head rcu; + }; atomic64_t writecnt; struct { + const struct btf_type *attach_func_proto; spinlock_t lock; enum bpf_prog_type type; bool jited; @@ -12447,25 +13835,27 @@ struct bpf_map { } owner; bool bypass_spec_v1; bool frozen; + bool free_after_mult_rcu_gp; + bool free_after_rcu_gp; + atomic64_t sleepable_refcnt; s64 *elem_count; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; +}; + +struct range_tree { + struct rb_root_cached it_root; + struct rb_root_cached range_size_root; +}; + +struct vm_struct; + +struct bpf_arena { + struct bpf_map map; + u64 user_vm_start; + u64 user_vm_end; + struct vm_struct *kern_vm; + struct range_tree rt; + struct list_head vma_list; + struct mutex lock; }; struct bpf_array_aux; @@ -12489,36 +13879,6 @@ struct bpf_array { void *pptrs[0]; }; }; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_array_aux { @@ -12528,6 +13888,37 @@ struct bpf_array_aux { struct work_struct work; }; +struct bpf_prog; + +struct bpf_async_cb { + struct bpf_map *map; + struct bpf_prog *prog; + void *callback_fn; + void *value; + union { + struct callback_head rcu; + struct work_struct delete_work; + }; + u64 flags; +}; + +struct bpf_spin_lock { + __u32 val; +}; + +struct bpf_hrtimer; + +struct bpf_work; + +struct bpf_async_kern { + union { + struct bpf_async_cb *cb; + struct bpf_hrtimer *timer; + struct bpf_work *work; + }; + struct bpf_spin_lock lock; +}; + struct btf_func_model { u8 ret_size; u8 ret_flags; @@ -12536,8 +13927,6 @@ struct btf_func_model { u8 arg_flags[12]; }; -struct btf_type; - struct bpf_attach_target_info { struct btf_func_model fmodel; long int tgt_addr; @@ -12562,6 +13951,8 @@ union bpf_attr { __u32 btf_value_type_id; __u32 btf_vmlinux_value_type_id; __u64 map_extra; + __s32 value_type_btf_obj_fd; + __s32 map_token_fd; }; struct { __u32 map_fd; @@ -12612,6 +14003,8 @@ union bpf_attr { __u64 core_relos; __u32 core_relo_rec_size; __u32 log_true_size; + __s32 prog_token_fd; + __u32 fd_array_cnt; }; struct { __u64 pathname; @@ -12688,6 +14081,7 @@ union bpf_attr { struct { __u64 name; __u32 prog_fd; + __u64 cookie; } raw_tracepoint; struct { __u64 btf; @@ -12696,6 +14090,8 @@ union bpf_attr { __u32 btf_log_size; __u32 btf_log_level; __u32 btf_log_true_size; + __u32 btf_flags; + __s32 btf_token_fd; }; struct { __u32 pid; @@ -12761,6 +14157,13 @@ union bpf_attr { __u32 flags; __u32 pid; } uprobe_multi; + struct { + union { + __u32 relative_fd; + __u32 relative_id; + }; + __u64 expected_revision; + } netkit; }; } link_create; struct { @@ -12790,6 +14193,10 @@ union bpf_attr { __u32 map_fd; __u32 flags; } prog_bind_map; + struct { + __u32 flags; + __u32 bpffs_fd; + } token_create; }; struct bpf_binary_header { @@ -12804,36 +14211,6 @@ struct bpf_bloom_filter { u32 hash_seed; u32 nr_hash_funcs; long unsigned int bitset[0]; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_bprintf_buffers { @@ -12878,6 +14255,7 @@ struct bpf_call_arg_meta { u32 ret_btf_id; u32 subprogno; struct btf_field *kptr_field; + s64 const_map_key; }; struct bpf_cand_cache { @@ -13059,37 +14437,6 @@ struct bpf_cpu_map_entry; struct bpf_cpu_map { struct bpf_map map; struct bpf_cpu_map_entry **cpu_map; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_cpumap_val { @@ -13120,10 +14467,6 @@ struct xdp_bulk_queue; struct ptr_ring; -struct task_struct; - -struct bpf_prog; - struct bpf_cpu_map_entry { u32 cpu; int map_id; @@ -13144,6 +14487,7 @@ struct bpf_cpumask { struct bpf_ctx_arg_aux { u32 offset; enum bpf_reg_type reg_type; + struct btf *btf; u32 btf_id; }; @@ -13163,10 +14507,7 @@ struct sk_buff { struct list_head list; struct llist_node ll_node; }; - union { - struct sock *sk; - int ip_defrag_offset; - }; + struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; @@ -13202,7 +14543,7 @@ struct sk_buff { __u8 ip_summed: 2; __u8 ooo_okay: 1; __u8 __mono_tc_offset[0]; - __u8 mono_delivery_time: 1; + __u8 tstamp_type: 2; __u8 tc_at_ingress: 1; __u8 tc_skip_classify: 1; __u8 remcsum_offload: 1; @@ -13215,9 +14556,11 @@ struct sk_buff { __u8 encapsulation: 1; __u8 encap_hdr_csum: 1; __u8 csum_valid: 1; + char: 1; __u8 ndisc_nodetype: 2; __u8 redirected: 1; __u8 slow_gro: 1; + __u8 unreadable: 1; __u16 tc_index; u16 alloc_cpu; union { @@ -13265,7 +14608,7 @@ struct sk_buff { __u8 ip_summed: 2; __u8 ooo_okay: 1; __u8 __mono_tc_offset[0]; - __u8 mono_delivery_time: 1; + __u8 tstamp_type: 2; __u8 tc_at_ingress: 1; __u8 tc_skip_classify: 1; __u8 remcsum_offload: 1; @@ -13278,9 +14621,11 @@ struct sk_buff { __u8 encapsulation: 1; __u8 encap_hdr_csum: 1; __u8 csum_valid: 1; + char: 1; __u8 ndisc_nodetype: 2; __u8 redirected: 1; __u8 slow_gro: 1; + __u8 unreadable: 1; __u16 tc_index; u16 alloc_cpu; union { @@ -13480,49 +14825,6 @@ struct bpf_flow_dissector { const void *data_end; }; -struct subchannel_id { - __u32 cssid: 8; - char: 4; - __u32 m: 1; - __u32 ssid: 2; - __u32 one: 1; - __u32 sch_no: 16; -}; - -struct tpi_info { - struct subchannel_id schid; - u32 intparm; - u32 adapter_IO: 1; - u32 directed_irq: 1; - u32 isc: 3; - short: 11; - char: 1; - u32 type: 3; -}; - -struct pt_regs { - union { - user_pt_regs user_regs; - struct { - long unsigned int args[1]; - psw_t psw; - long unsigned int gprs[16]; - }; - }; - long unsigned int orig_gpr2; - union { - struct { - unsigned int int_code; - unsigned int int_parm; - long unsigned int int_parm_long; - }; - struct tpi_info tpi_info; - }; - long unsigned int flags; - long unsigned int cr1; - long unsigned int last_break; -}; - struct bpf_perf_event_data { bpf_user_pt_regs_t regs; __u64 sample_period; @@ -13610,13 +14912,6 @@ struct bpf_sk_lookup_kern { bool no_reuseport; }; -struct nf_hook_state; - -struct bpf_nf_ctx { - const struct nf_hook_state *state; - struct sk_buff *skb; -}; - struct bpf_ctx_convert { struct __sk_buff BPF_PROG_TYPE_SOCKET_FILTER_prog; struct sk_buff BPF_PROG_TYPE_SOCKET_FILTER_kern; @@ -13664,8 +14959,6 @@ struct bpf_ctx_convert { void *BPF_PROG_TYPE_EXT_kern; void *BPF_PROG_TYPE_SYSCALL_prog; void *BPF_PROG_TYPE_SYSCALL_kern; - struct bpf_nf_ctx BPF_PROG_TYPE_NETFILTER_prog; - struct bpf_nf_ctx BPF_PROG_TYPE_NETFILTER_kern; }; struct bpf_devmap_val { @@ -13717,32 +15010,6 @@ struct bpf_dtab { spinlock_t index_lock; unsigned int items; u32 n_buckets; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_dtab_netdev { @@ -13772,8 +15039,7 @@ struct bpf_dummy_ops_test_args { }; struct bpf_dynptr { - long: 64; - long: 64; + __u64 __opaque[2]; }; struct bpf_dynptr_kern { @@ -13843,8 +15109,15 @@ struct bpf_fib_lookup { }; __u32 tbid; }; - __u8 smac[6]; - __u8 dmac[6]; + union { + struct { + __u32 mark; + }; + struct { + __u8 smac[6]; + __u8 dmac[6]; + }; + }; }; struct bpf_flow_keys { @@ -13880,6 +15153,8 @@ struct bpf_func_info { struct bpf_func_info_aux { u16 linkage; bool unreliable; + bool called: 1; + bool verified: 1; }; struct bpf_func_proto { @@ -13887,6 +15162,7 @@ struct bpf_func_proto { bool gpl_only; bool pkt_access; bool might_sleep; + bool allow_fastcall; enum bpf_return_type ret_type; union { struct { @@ -13976,7 +15252,10 @@ struct bpf_reg_state { bool precise; }; -struct bpf_reference_state; +struct bpf_retval_range { + s32 minval; + s32 maxval; +}; struct bpf_stack_state; @@ -13986,23 +15265,23 @@ struct bpf_func_state { u32 frameno; u32 subprogno; u32 async_entry_cnt; + struct bpf_retval_range callback_ret_range; bool in_callback_fn; - struct tnum callback_ret_range; bool in_async_callback_fn; - int acquired_refs; - struct bpf_reference_state *refs; - int allocated_stack; + bool in_exception_callback_fn; + u32 callback_depth; struct bpf_stack_state *stack; + int allocated_stack; }; struct bpf_hrtimer { + struct bpf_async_cb cb; struct hrtimer timer; - struct bpf_map *map; - struct bpf_prog *prog; - void *callback_fn; - void *value; + atomic_t cancelling; }; +struct obj_cgroup; + struct bpf_mem_caches; struct bpf_mem_cache; @@ -14010,6 +15289,8 @@ struct bpf_mem_cache; struct bpf_mem_alloc { struct bpf_mem_caches *caches; struct bpf_mem_cache *cache; + struct obj_cgroup *objcg; + bool percpu; struct work_struct work; }; @@ -14069,8 +15350,6 @@ struct bpf_lru { long: 64; }; -struct lock_class_key {}; - struct bucket; struct htab_elem; @@ -14098,7 +15377,6 @@ struct bpf_htab { long: 64; long: 64; long: 64; - long: 64; union { struct pcpu_freelist freelist; struct bpf_lru lru; @@ -14144,11 +15422,6 @@ struct bpf_idset { u32 ids[600]; }; -struct bpf_idx_pair { - u32 prev_idx; - u32 idx; -}; - struct bpf_insn { __u8 code; __u8 dst_reg: 4; @@ -14159,6 +15432,7 @@ struct bpf_insn { struct bpf_insn_access_aux { enum bpf_reg_type reg_type; + bool is_ldsx; union { int ctx_field_size; struct { @@ -14167,6 +15441,13 @@ struct bpf_insn_access_aux { }; }; struct bpf_verifier_log *log; + bool is_retval; +}; + +struct bpf_map_ptr_state { + struct bpf_map *map_ptr; + bool poison; + bool unpriv; }; struct bpf_loop_inline_state { @@ -14180,7 +15461,7 @@ struct btf_struct_meta; struct bpf_insn_aux_data { union { enum bpf_reg_type ptr_type; - long unsigned int map_ptr_state; + struct bpf_map_ptr_state map_ptr_state; s32 call_imm; u32 alu_limit; struct { @@ -14209,13 +15490,18 @@ struct bpf_insn_aux_data { u32 seen; bool sanitize_stack_spill; bool zext_dst; + bool needs_zext; bool storage_get_func_atomic; bool is_iter_next; + bool call_with_percpu_alloc_ptr; u8 alu_state; + u8 fastcall_pattern: 1; + u8 fastcall_spills_num: 3; unsigned int orig_idx; bool jmp_point; bool prune_point; bool force_checkpoint; + bool calls_callback; }; typedef void (*bpf_insn_print_t)(void *, const char *, ...); @@ -14231,6 +15517,13 @@ struct bpf_insn_cbs { void *private_data; }; +struct bpf_insn_hist_entry { + u32 idx; + u32 prev_idx: 22; + u32 flags: 10; + u64 linked_regs; +}; + struct bpf_iter_meta; struct bpf_link; @@ -14292,6 +15585,15 @@ struct bpf_iter__bpf_sk_storage_map { }; }; +struct bpf_iter__kmem_cache { + union { + struct bpf_iter_meta *meta; + }; + union { + struct kmem_cache *s; + }; +}; + struct kallsym_iter; struct bpf_iter__ksym { @@ -14369,6 +15671,27 @@ struct bpf_iter_aux_info { } task; }; +struct bpf_iter_bits { + __u64 __opaque[2]; +}; + +struct bpf_iter_bits_kern { + union { + __u64 *bits; + __u64 bits_copy; + }; + int nr_bits; + int bit; +}; + +struct bpf_iter_kmem_cache { + __u64 __opaque[1]; +}; + +struct bpf_iter_kmem_cache_kern { + struct kmem_cache *pos; +}; + struct bpf_link_ops; struct bpf_link { @@ -14377,7 +15700,11 @@ struct bpf_link { enum bpf_link_type type; const struct bpf_link_ops *ops; struct bpf_prog *prog; - struct work_struct work; + bool sleepable; + union { + struct callback_head rcu; + struct work_struct work; + }; }; struct bpf_iter_target_info; @@ -14549,9 +15876,64 @@ struct bpf_iter_target_info { u32 btf_id; }; +struct bpf_iter_task { + __u64 __opaque[3]; +}; + +struct bpf_iter_task_kern { + struct task_struct *task; + struct task_struct *pos; + unsigned int flags; +}; + +struct bpf_iter_task_vma { + __u64 __opaque[1]; +}; + +struct bpf_iter_task_vma_kern_data; + +struct bpf_iter_task_vma_kern { + struct bpf_iter_task_vma_kern_data *data; +}; + +struct maple_enode; + +struct maple_tree; + +struct maple_alloc; + +struct ma_state { + struct maple_tree *tree; + long unsigned int index; + long unsigned int last; + struct maple_enode *node; + long unsigned int min; + long unsigned int max; + struct maple_alloc *alloc; + enum maple_status status; + unsigned char depth; + unsigned char offset; + unsigned char mas_flags; + unsigned char end; + enum store_type store_type; +}; + +struct vma_iterator { + struct ma_state mas; +}; + +struct mmap_unlock_irq_work; + +struct bpf_iter_task_vma_kern_data { + struct task_struct *task; + struct mm_struct *mm; + struct mmap_unlock_irq_work *work; + struct vma_iterator vmi; +}; + struct bpf_jit { u32 seen; - u32 seen_reg[16]; + u16 seen_regs; u32 *addrs; u8 *prg_buf; int size; @@ -14569,6 +15951,8 @@ struct bpf_jit { int excnt; int prologue_plt_ret; int prologue_plt; + int kern_arena; + u64 user_arena; }; struct bpf_jit_poke_descriptor { @@ -14588,6 +15972,13 @@ struct bpf_jit_poke_descriptor { u32 insn_idx; }; +struct bpf_jit_probe { + int prg; + int nop_prg; + int reg; + int arena_reg; +}; + struct bpf_kfunc_btf { struct btf *btf; struct module *module; @@ -14633,6 +16024,10 @@ struct bpf_kfunc_call_arg_meta { u8 spi; u8 frameno; } iter; + struct { + struct bpf_map *ptr; + int uid; + } map; u64 mem_size; }; @@ -14649,49 +16044,23 @@ struct bpf_kfunc_desc_tab { u32 nr_descs; }; -struct ftrace_ops; +struct fprobe; struct ftrace_regs; -typedef void (*ftrace_func_t)(long unsigned int, long unsigned int, struct ftrace_ops *, struct ftrace_regs *); +typedef int (*fprobe_entry_cb)(struct fprobe *, long unsigned int, long unsigned int, struct ftrace_regs *, void *); -struct ftrace_hash; - -struct ftrace_ops_hash { - struct ftrace_hash *notrace_hash; - struct ftrace_hash *filter_hash; - struct mutex regex_lock; -}; +typedef void (*fprobe_exit_cb)(struct fprobe *, long unsigned int, long unsigned int, struct ftrace_regs *, void *); -typedef int (*ftrace_ops_func_t)(struct ftrace_ops *, enum ftrace_ops_cmd); - -struct ftrace_ops { - ftrace_func_t func; - struct ftrace_ops *next; - long unsigned int flags; - void *private; - ftrace_func_t saved_func; - struct ftrace_ops_hash local_hash; - struct ftrace_ops_hash *func_hash; - struct ftrace_ops_hash old_hash; - long unsigned int trampoline; - long unsigned int trampoline_size; - struct list_head list; - ftrace_ops_func_t ops_func; - long unsigned int direct_call; -}; - -struct rethook; +struct fprobe_hlist; struct fprobe { - struct ftrace_ops ops; long unsigned int nmissed; unsigned int flags; - struct rethook *rethook; size_t entry_data_size; - int nr_maxactive; - int (*entry_handler)(struct fprobe *, long unsigned int, long unsigned int, struct pt_regs *, void *); - void (*exit_handler)(struct fprobe *, long unsigned int, long unsigned int, struct pt_regs *, void *); + fprobe_entry_cb entry_handler; + fprobe_exit_cb exit_handler; + struct fprobe_hlist *hlist_array; }; struct bpf_kprobe_multi_link { @@ -14705,8 +16074,14 @@ struct bpf_kprobe_multi_link { u32 flags; }; -struct bpf_kprobe_multi_run_ctx { +struct bpf_session_run_ctx { struct bpf_run_ctx run_ctx; + bool is_return; + void *data; +}; + +struct bpf_kprobe_multi_run_ctx { + struct bpf_session_run_ctx session_ctx; struct bpf_kprobe_multi_link *link; long unsigned int entry_ip; }; @@ -14775,7 +16150,19 @@ struct bpf_link_info { __u64 addrs; __u32 count; __u32 flags; + __u64 missed; + __u64 cookies; } kprobe_multi; + struct { + __u64 path; + __u64 offsets; + __u64 ref_ctr_offsets; + __u64 cookies; + __u32 path_size; + __u32 count; + __u32 flags; + __u32 pid; + } uprobe_multi; struct { __u32 type; union { @@ -14783,20 +16170,25 @@ struct bpf_link_info { __u64 file_name; __u32 name_len; __u32 offset; + __u64 cookie; } uprobe; struct { __u64 func_name; __u32 name_len; __u32 offset; __u64 addr; + __u64 missed; + __u64 cookie; } kprobe; struct { __u64 tp_name; __u32 name_len; + __u64 cookie; } tracepoint; struct { __u64 config; __u32 type; + __u64 cookie; } event; }; } perf_event; @@ -14804,17 +16196,29 @@ struct bpf_link_info { __u32 ifindex; __u32 attach_type; } tcx; + struct { + __u32 ifindex; + __u32 attach_type; + } netkit; + struct { + __u32 map_id; + __u32 attach_type; + } sockmap; }; }; +struct poll_table_struct; + struct bpf_link_ops { void (*release)(struct bpf_link *); void (*dealloc)(struct bpf_link *); + void (*dealloc_deferred)(struct bpf_link *); int (*detach)(struct bpf_link *); int (*update_prog)(struct bpf_link *, struct bpf_prog *, struct bpf_prog *); void (*show_fdinfo)(const struct bpf_link *, struct seq_file *); int (*fill_link_info)(const struct bpf_link *, struct bpf_link_info *); int (*update_map)(struct bpf_link *, struct bpf_map *, struct bpf_map *); + __poll_t (*poll)(struct file *, struct poll_table_struct *); }; struct bpf_link_primer { @@ -14825,14 +16229,11 @@ struct bpf_link_primer { }; struct bpf_list_head { - long: 64; - long: 64; + __u64 __opaque[2]; }; struct bpf_list_node { - long: 64; - long: 64; - long: 64; + __u64 __opaque[3]; }; struct bpf_list_node_kern { @@ -14871,7 +16272,10 @@ struct bpf_local_storage_elem { struct hlist_node map_node; struct hlist_node snode; struct bpf_local_storage *local_storage; - struct callback_head rcu; + union { + struct callback_head rcu; + struct hlist_node free_node; + }; long: 64; long: 64; long: 64; @@ -14942,23 +16346,6 @@ struct bpf_local_storage_map { struct bpf_mem_alloc selem_ma; struct bpf_mem_alloc storage_ma; bool bpf_ma; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_local_storage_map_bucket { @@ -14966,8 +16353,15 @@ struct bpf_local_storage_map_bucket { raw_spinlock_t lock; }; -struct bpf_lpm_trie_key { +struct bpf_lpm_trie_key_hdr { __u32 prefixlen; +}; + +struct bpf_lpm_trie_key_u8 { + union { + struct bpf_lpm_trie_key_hdr hdr; + __u32 prefixlen; + }; __u8 data[0]; }; @@ -15008,6 +16402,7 @@ struct bpf_map_info { __u32 btf_id; __u32 btf_key_type_id; __u32 btf_value_type_id; + __u32 btf_vmlinux_id; __u64 map_extra; }; @@ -15015,8 +16410,6 @@ typedef u64 (*bpf_callback_t)(u64, u64, u64, u64, u64); struct bpf_prog_aux; -struct poll_table_struct; - struct bpf_map_ops { int (*map_alloc_check)(union bpf_attr *); struct bpf_map * (*map_alloc)(union bpf_attr *); @@ -15038,7 +16431,7 @@ struct bpf_map_ops { long int (*map_peek_elem)(struct bpf_map *, void *); void * (*map_lookup_percpu_elem)(struct bpf_map *, void *, u32); void * (*map_fd_get_ptr)(struct bpf_map *, struct file *, int); - void (*map_fd_put_ptr)(void *); + void (*map_fd_put_ptr)(struct bpf_map *, void *, bool); int (*map_gen_lookup)(struct bpf_map *, struct bpf_insn *); u32 (*map_fd_sys_lookup_elem)(void *); void (*map_seq_show_elem)(struct bpf_map *, void *, struct seq_file *); @@ -15050,6 +16443,7 @@ struct bpf_map_ops { int (*map_direct_value_meta)(const struct bpf_map *, u64, u32 *); int (*map_mmap)(struct bpf_map *, struct vm_area_struct *); __poll_t (*map_poll)(struct bpf_map *, struct file *, struct poll_table_struct *); + long unsigned int (*map_get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); int (*map_local_storage_charge)(struct bpf_local_storage_map *, void *, u32); void (*map_local_storage_uncharge)(struct bpf_local_storage_map *, void *, u32); struct bpf_local_storage ** (*map_owner_storage_ptr)(void *); @@ -15076,8 +16470,6 @@ struct irq_work { struct rcuwait irqwait; }; -struct obj_cgroup; - struct bpf_mem_cache { struct llist_head free_llist; local_t active; @@ -15110,7 +16502,13 @@ struct bpf_mem_caches { }; struct bpf_mount_opts { + kuid_t uid; + kgid_t gid; umode_t mode; + u64 delegate_cmds; + u64 delegate_maps; + u64 delegate_progs; + u64 delegate_attachs; }; struct bpf_mprog_fp { @@ -15141,42 +16539,45 @@ struct bpf_nested_pt_regs { struct pt_regs regs[3]; }; -struct bpf_netns_link { - struct bpf_link link; - enum bpf_attach_type type; - enum netns_bpf_attach_type netns_type; - struct net *net; - struct list_head node; +struct bpf_nh_params { + u32 nh_family; + union { + u32 ipv4_nh; + struct in6_addr ipv6_nh; + }; }; -typedef unsigned int nf_hookfn(void *, struct sk_buff *, const struct nf_hook_state *); - -struct nf_hook_ops { - nf_hookfn *hook; - struct net_device *dev; - void *priv; - u8 pf; - enum nf_hook_ops_type hook_ops_type: 8; - unsigned int hooknum; - int priority; +struct bpf_redirect_info { + u64 tgt_index; + void *tgt_value; + struct bpf_map *map; + u32 flags; + u32 map_id; + enum bpf_map_type map_type; + struct bpf_nh_params nh; + u32 kern_flags; }; -struct nf_defrag_hook; +struct bpf_net_context { + struct bpf_redirect_info ri; + struct list_head cpu_map_flush_list; + struct list_head dev_map_flush_list; + struct list_head xskmap_map_flush_list; +}; -struct bpf_nf_link { +struct bpf_netns_link { struct bpf_link link; - struct nf_hook_ops hook_ops; + enum bpf_attach_type type; + enum netns_bpf_attach_type netns_type; struct net *net; - u32 dead; - const struct nf_defrag_hook *defrag_hook; + struct list_head node; }; -struct bpf_nh_params { - u32 nh_family; - union { - u32 ipv4_nh; - struct in6_addr ipv6_nh; - }; +struct nf_hook_state; + +struct bpf_nf_ctx { + const struct nf_hook_state *state; + struct sk_buff *skb; }; struct bpf_prog_offload_ops; @@ -15206,33 +16607,6 @@ struct bpf_offloaded_map { const struct bpf_map_dev_ops *dev_ops; void *dev_priv; struct list_head offloads; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_perf_event_value { @@ -15251,6 +16625,12 @@ struct bpf_pidns_info { __u32 tgid; }; +struct bpf_plt { + char code[16]; + void *ret; + void *target; +}; + struct bpf_preload_info { char link_name[16]; struct bpf_link *link; @@ -15288,6 +16668,7 @@ struct bpf_prog { u16 call_get_stack: 1; u16 call_get_func_ip: 1; u16 tstamp_type_access: 1; + u16 sleepable: 1; enum bpf_prog_type type; enum bpf_attach_type expected_attach_type; u32 len; @@ -15318,6 +16699,8 @@ struct btf_mod_pair; struct user_struct; +struct bpf_token; + struct bpf_prog_offload; struct exception_table_entry; @@ -15332,6 +16715,7 @@ struct bpf_prog_aux { u32 stack_depth; u32 id; u32 func_cnt; + u32 real_func_cnt; u32 func_idx; u32 attach_btf_id; u32 ctx_arg_info_size; @@ -15339,6 +16723,7 @@ struct bpf_prog_aux { u32 max_rdwr_access; struct btf *attach_btf; const struct bpf_ctx_arg_aux *ctx_arg_info; + void *priv_stack_ptr; struct mutex dst_mutex; struct bpf_prog *dst_prog; struct bpf_trampoline *dst_trampoline; @@ -15348,10 +16733,20 @@ struct bpf_prog_aux { bool dev_bound; bool offload_requested; bool attach_btf_trace; + bool attach_tracing_prog; bool func_proto_unreliable; - bool sleepable; bool tail_call_reachable; bool xdp_has_frags; + bool exception_cb; + bool exception_boundary; + bool is_extended; + bool jits_use_priv_stack; + bool priv_stack_requested; + bool changes_pkt_data; + u64 prog_array_member_cnt; + struct mutex ext_mutex; + struct bpf_arena *arena; + void (*recursion_detected)(struct bpf_prog *); const struct btf_type *attach_func_proto; const char *attach_func_name; struct bpf_prog **func; @@ -15372,6 +16767,8 @@ struct bpf_prog_aux { int cgroup_atype; struct bpf_map *cgroup_storage[2]; char name[16]; + u64 (*bpf_exception_cb)(u64, u64, u64, u64, u64); + struct bpf_token *token; struct bpf_prog_offload *offload; struct btf *btf; struct bpf_func_info *func_info; @@ -15488,36 +16885,6 @@ struct bpf_queue_stack { u32 tail; u32 size; char elements[0]; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_raw_event_map { @@ -15531,6 +16898,12 @@ struct bpf_raw_event_map { struct bpf_raw_tp_link { struct bpf_link link; struct bpf_raw_event_map *btp; + u64 cookie; +}; + +struct bpf_raw_tp_null_args { + const char *func; + u64 mask; }; struct bpf_raw_tp_regs { @@ -15544,10 +16917,7 @@ struct bpf_raw_tp_test_run_info { }; struct bpf_rb_node { - long: 64; - long: 64; - long: 64; - long: 64; + __u64 __opaque[4]; }; struct bpf_rb_node_kern { @@ -15556,8 +16926,7 @@ struct bpf_rb_node_kern { }; struct bpf_rb_root { - long: 64; - long: 64; + __u64 __opaque[2]; }; struct bpf_redir_neigh { @@ -15568,25 +16937,15 @@ struct bpf_redir_neigh { }; }; -struct bpf_redirect_info { - u64 tgt_index; - void *tgt_value; - struct bpf_map *map; - u32 flags; - u32 kern_flags; - u32 map_id; - enum bpf_map_type map_type; - struct bpf_nh_params nh; -}; - struct bpf_refcount { - int: 32; + __u32 __opaque[1]; }; struct bpf_reference_state { + enum ref_state_type type; int id; int insn_idx; - int callback_ref; + void *ptr; }; struct bpf_reg_types { @@ -15622,7 +16981,7 @@ struct bpf_ringbuf { long: 64; long: 64; long: 64; - spinlock_t spinlock; + raw_spinlock_t spinlock; long: 64; long: 64; long: 64; @@ -16615,7 +17974,7 @@ struct bpf_ringbuf { long: 64; long: 64; long unsigned int producer_pos; - long: 64; + long unsigned int pending_pos; long: 64; long: 64; long: 64; @@ -17137,37 +18496,6 @@ struct bpf_ringbuf_hdr { struct bpf_ringbuf_map { struct bpf_map map; struct bpf_ringbuf *rb; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_sanitize_info { @@ -17175,18 +18503,15 @@ struct bpf_sanitize_info { bool mask_to_left; }; -struct bpf_scratchpad { - union { - __be32 diff[128]; - u8 buff[512]; - }; -}; - struct sk_psock_progs { struct bpf_prog *msg_parser; struct bpf_prog *stream_parser; struct bpf_prog *stream_verdict; struct bpf_prog *skb_verdict; + struct bpf_link *msg_parser_link; + struct bpf_link *stream_parser_link; + struct bpf_link *stream_verdict_link; + struct bpf_link *skb_verdict_link; }; struct bpf_shtab_bucket; @@ -17198,31 +18523,6 @@ struct bpf_shtab { u32 elem_size; struct sk_psock_progs progs; atomic_t count; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_shtab_bucket { @@ -17295,6 +18595,7 @@ struct bpf_sock_addr_kern { struct sockaddr *uaddr; u64 tmp_reg; void *t_ctx; + u32 uaddrlen; }; struct bpf_sock_tuple { @@ -17314,41 +18615,11 @@ struct bpf_sock_tuple { }; }; -struct bpf_spin_lock { - __u32 val; -}; - struct bpf_stab { struct bpf_map map; struct sock **sks; struct sk_psock_progs progs; spinlock_t lock; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_stack_build_id { @@ -17368,33 +18639,6 @@ struct bpf_stack_map { struct pcpu_freelist freelist; u32 n_buckets; struct stack_map_bucket *buckets[0]; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_stack_state { @@ -17411,21 +18655,28 @@ struct bpf_struct_ops { int (*init)(struct btf *); int (*check_member)(const struct btf_type *, const struct btf_member *, const struct bpf_prog *); int (*init_member)(const struct btf_type *, const struct btf_member *, void *, const void *); - int (*reg)(void *); - void (*unreg)(void *); - int (*update)(void *, void *); + int (*reg)(void *, struct bpf_link *); + void (*unreg)(void *, struct bpf_link *); + int (*update)(void *, void *, struct bpf_link *); int (*validate)(void *); - const struct btf_type *type; - const struct btf_type *value_type; + void *cfi_stubs; + struct module *owner; const char *name; struct btf_func_model func_models[64]; - u32 type_id; - u32 value_id; }; -struct bpf_struct_ops_bpf_dummy_ops { +struct bpf_struct_ops_arg_info { + struct bpf_ctx_arg_aux *info; + u32 cnt; +}; + +struct bpf_struct_ops_common_value { refcount_t refcnt; enum bpf_struct_ops_state state; +}; + +struct bpf_struct_ops_bpf_dummy_ops { + struct bpf_struct_ops_common_value common; long: 64; long: 64; long: 64; @@ -17489,14 +18740,23 @@ struct bpf_struct_ops_bpf_dummy_ops { long: 64; }; +struct bpf_struct_ops_desc { + struct bpf_struct_ops *st_ops; + const struct btf_type *type; + const struct btf_type *value_type; + u32 type_id; + u32 value_id; + struct bpf_struct_ops_arg_info *arg_info; +}; + struct bpf_struct_ops_link { struct bpf_link link; struct bpf_map *map; + wait_queue_head_t wait_hup; }; struct bpf_struct_ops_value { - refcount_t refcnt; - enum bpf_struct_ops_state state; + struct bpf_struct_ops_common_value common; long: 64; long: 64; long: 64; @@ -17533,11 +18793,14 @@ struct bpf_struct_ops_value { struct bpf_struct_ops_map { struct bpf_map map; - struct callback_head rcu; - const struct bpf_struct_ops *st_ops; + const struct bpf_struct_ops_desc *st_ops_desc; struct mutex lock; struct bpf_link **links; - void *image; + struct bpf_ksym **ksyms; + u32 funcs_cnt; + u32 image_pages_cnt; + void *image_pages[8]; + struct btf *btf; struct bpf_struct_ops_value *uvalue; long: 64; long: 64; @@ -17556,11 +18819,6 @@ struct bpf_struct_ops_map { long: 64; long: 64; long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; struct bpf_struct_ops_value kvalue; }; @@ -17576,7 +18834,7 @@ struct tcp_congestion_ops { void (*in_ack_event)(struct sock *, u32); void (*pkts_acked)(struct sock *, const struct ack_sample *); u32 (*min_tso_segs)(struct sock *); - void (*cong_control)(struct sock *, const struct rate_sample *); + void (*cong_control)(struct sock *, u32, int, const struct rate_sample *); u32 (*undo_cwnd)(struct sock *); u32 (*sndbuf_expand)(struct sock *); size_t (*get_info)(struct sock *, u32, int *, union tcp_cc_info *); @@ -17603,8 +18861,7 @@ struct tcp_congestion_ops { }; struct bpf_struct_ops_tcp_congestion_ops { - refcount_t refcnt; - enum bpf_struct_ops_state state; + struct bpf_struct_ops_common_value common; long: 64; long: 64; long: 64; @@ -17639,14 +18896,46 @@ struct bpf_struct_ops_tcp_congestion_ops { struct tcp_congestion_ops data; }; +struct bpf_subprog_arg_info { + enum bpf_arg_type arg_type; + union { + u32 mem_size; + u32 btf_id; + }; +}; + struct bpf_subprog_info { u32 start; u32 linfo_idx; u16 stack_depth; - bool has_tail_call; - bool tail_call_reachable; - bool has_ld_abs; - bool is_async_cb; + u16 stack_extra; + s16 fastcall_stack_off; + bool has_tail_call: 1; + bool tail_call_reachable: 1; + bool has_ld_abs: 1; + bool is_cb: 1; + bool is_async_cb: 1; + bool is_exception_cb: 1; + bool args_cached: 1; + bool keep_fastcall_stack: 1; + bool changes_pkt_data: 1; + enum priv_stack_mode priv_stack_mode; + u8 arg_cnt; + struct bpf_subprog_arg_info args[5]; +}; + +struct bpf_tcp_req_attrs { + u32 rcv_tsval; + u32 rcv_tsecr; + u16 mss; + u8 rcv_wscale; + u8 snd_wscale; + u8 ecn_ok; + u8 wscale_ok; + u8 sack_ok; + u8 tstamp_ok; + u8 usec_ts_ok; + u8 reserved[3]; }; struct bpf_tcp_sock { @@ -17688,14 +18977,27 @@ struct bpf_test_timer { u64 time_spent; }; +struct bpf_throw_ctx { + struct bpf_prog_aux *aux; + u64 sp; + u64 bp; + int cnt; +}; + struct bpf_timer { - long: 64; - long: 64; + __u64 __opaque[2]; }; -struct bpf_timer_kern { - struct bpf_hrtimer *timer; - struct bpf_spin_lock lock; +struct user_namespace; + +struct bpf_token { + struct work_struct work; + atomic64_t refcnt; + struct user_namespace *userns; + u64 allowed_cmds; + u64 allowed_maps; + u64 allowed_progs; + u64 allowed_attachs; }; struct bpf_trace_module { @@ -17765,6 +19067,7 @@ struct perf_sample_data { struct perf_callchain_entry *callchain; struct perf_raw_record *raw; struct perf_branch_stack *br_stack; + u64 *br_stack_cntr; union perf_sample_weight weight; union perf_mem_data_src data_src; u64 txn; @@ -17782,7 +19085,6 @@ struct perf_sample_data { long: 64; long: 64; long: 64; - long: 64; }; struct bpf_trace_sample_data { @@ -17811,6 +19113,7 @@ struct percpu_ref { struct bpf_tramp_image { void *image; + int size; struct bpf_ksym ksym; struct percpu_ref pcref; void *ip_after_call; @@ -17850,6 +19153,8 @@ struct bpf_tramp_run_ctx { struct bpf_run_ctx *saved_run_ctx; }; +struct ftrace_ops; + struct bpf_trampoline { struct hlist_node hlist; struct ftrace_ops *fops; @@ -17866,7 +19171,6 @@ struct bpf_trampoline { struct hlist_head progs_hlist[3]; int progs_cnt[3]; struct bpf_tramp_image *cur_image; - struct module *mod; }; struct bpf_tunnel_key { @@ -17894,31 +19198,38 @@ struct bpf_tuple { }; struct uprobe_consumer { - int (*handler)(struct uprobe_consumer *, struct pt_regs *); - int (*ret_handler)(struct uprobe_consumer *, long unsigned int, struct pt_regs *); - bool (*filter)(struct uprobe_consumer *, enum uprobe_filter_ctx, struct mm_struct *); - struct uprobe_consumer *next; + int (*handler)(struct uprobe_consumer *, struct pt_regs *, __u64 *); + int (*ret_handler)(struct uprobe_consumer *, long unsigned int, struct pt_regs *, __u64 *); + bool (*filter)(struct uprobe_consumer *, struct mm_struct *); + struct list_head cons_node; + __u64 id; }; struct bpf_uprobe_multi_link; +struct uprobe; + struct bpf_uprobe { struct bpf_uprobe_multi_link *link; loff_t offset; + long unsigned int ref_ctr_offset; u64 cookie; + struct uprobe *uprobe; struct uprobe_consumer consumer; + bool session; }; struct bpf_uprobe_multi_link { struct path path; struct bpf_link link; u32 cnt; + u32 flags; struct bpf_uprobe *uprobes; struct task_struct *task; }; struct bpf_uprobe_multi_run_ctx { - struct bpf_run_ctx run_ctx; + struct bpf_session_run_ctx session_ctx; long unsigned int entry_ip; struct bpf_uprobe *uprobe; }; @@ -17949,10 +19260,12 @@ struct bpf_verifier_env { u32 prev_insn_idx; struct bpf_prog *prog; const struct bpf_verifier_ops *ops; + struct module *attach_btf_mod; struct bpf_verifier_stack_elem *head; int stack_size; bool strict_alignment; bool test_state_freq; + bool test_reg_invariants; struct bpf_verifier_state *cur_state; struct bpf_verifier_state_list **explored_states; struct bpf_verifier_state_list *free_list; @@ -17961,6 +19274,8 @@ struct bpf_verifier_env { u32 used_map_cnt; u32 used_btf_cnt; u32 id_gen; + u32 hidden_subprog_cnt; + int exception_callback_subprog; bool explore_alu_limits; bool allow_ptr_leaks; bool allow_uninit_stack; @@ -17968,10 +19283,11 @@ struct bpf_verifier_env { bool bypass_spec_v1; bool bypass_spec_v4; bool seen_direct_write; + bool seen_exception; struct bpf_insn_aux_data *insn_aux_data; const struct bpf_line_info *prev_linfo; struct bpf_verifier_log log; - struct bpf_subprog_info subprog_info[257]; + struct bpf_subprog_info subprog_info[258]; union { struct bpf_idmap idmap_scratch; struct bpf_idset idset_scratch; @@ -17982,6 +19298,9 @@ struct bpf_verifier_env { int cur_stack; } cfg; struct backtrack_state bt; + struct bpf_insn_hist_entry *insn_hist; + struct bpf_insn_hist_entry *cur_hist_ent; + u32 insn_hist_cap; u32 pass_cnt; u32 subprog_cnt; u32 prev_insn_processed; @@ -17998,13 +19317,17 @@ struct bpf_verifier_env { u64 scratched_stack_slots; u64 prev_log_pos; u64 prev_insn_print_pos; + struct bpf_reg_state fake_reg[2]; char tmp_str_buf[320]; + struct bpf_insn insn_buf[32]; + struct bpf_insn epilogue_buf[32]; }; struct bpf_verifier_ops { const struct bpf_func_proto * (*get_func_proto)(enum bpf_func_id, const struct bpf_prog *); bool (*is_valid_access)(int, int, enum bpf_access_type, const struct bpf_prog *, struct bpf_insn_access_aux *); int (*gen_prologue)(struct bpf_insn *, bool, const struct bpf_prog *); + int (*gen_epilogue)(struct bpf_insn *, const struct bpf_prog *, s16); int (*gen_ld_abs)(const struct bpf_insn *, struct bpf_insn *); u32 (*convert_ctx_access)(enum bpf_access_type, const struct bpf_insn *, struct bpf_insn *, struct bpf_prog *, u32 *); int (*btf_struct_access)(struct bpf_verifier_log *, const struct bpf_reg_state *, int, int); @@ -18013,16 +19336,26 @@ struct bpf_verifier_ops { struct bpf_verifier_state { struct bpf_func_state *frame[8]; struct bpf_verifier_state *parent; + struct bpf_reference_state *refs; u32 branches; u32 insn_idx; u32 curframe; - struct bpf_active_lock active_lock; - bool speculative; + u32 acquired_refs; + u32 active_locks; + u32 active_preempt_locks; + u32 active_irq_id; bool active_rcu_lock; + bool speculative; + bool used_as_loop_entry; + bool in_sleepable; u32 first_insn_idx; u32 last_insn_idx; - struct bpf_idx_pair *jmp_history; - u32 jmp_history_cnt; + struct bpf_verifier_state *loop_entry; + u32 insn_hist_start; + u32 insn_hist_end; + u32 dfs_depth; + u32 callback_unroll_depth; + u32 may_goto_depth; }; struct bpf_verifier_stack_elem { @@ -18040,6 +19373,16 @@ struct bpf_verifier_state_list { int hit_cnt; }; +struct bpf_work { + struct bpf_async_cb cb; + struct work_struct work; + struct work_struct delete_work; +}; + +struct bpf_wq { + __u64 __opaque[2]; +}; + struct bpf_xdp_link; struct bpf_xdp_entity { @@ -18057,6 +19400,14 @@ struct bpf_xdp_sock { __u32 queue_id; }; +struct bpffs_btf_enums { + const struct btf *btf; + const struct btf_type *cmd_t; + const struct btf_type *map_t; + const struct btf_type *prog_t; + const struct btf_type *attach_t; +}; + struct trace_entry { short unsigned int type; unsigned char flags; @@ -18077,14 +19428,6 @@ struct bputs_entry { const char *str; }; -struct br_input_skb_cb { - struct net_device *brdev; - u16 frag_max_size; - u8 proxyarp_replied: 1; - u8 src_port_isolated: 1; - u32 backup_nhid; -}; - struct br_mdb_entry { __u32 ifindex; __u8 state; @@ -18127,6 +19470,8 @@ struct btf_id_dtor_kfunc_tab; struct btf_struct_metas; +struct btf_struct_ops_tab; + struct btf { void *data; struct btf_type **types; @@ -18144,11 +19489,13 @@ struct btf { struct btf_kfunc_set_tab *kfunc_set_tab; struct btf_id_dtor_kfunc_tab *dtor_kfunc_tab; struct btf_struct_metas *struct_meta_tab; + struct btf_struct_ops_tab *struct_ops_tab; struct btf *base_btf; u32 start_id; u32 start_str_off; char name[56]; bool kernel_btf; + __u32 *base_id_map; }; struct btf_anon_stack { @@ -18203,6 +19550,14 @@ struct btf_field { }; }; +struct btf_field_desc { + int t_off_cnt; + int t_offs[2]; + int m_sz; + int m_off_cnt; + int m_offs[1]; +}; + struct btf_field_info { enum btf_field_type type; u32 off; @@ -18217,6 +19572,14 @@ struct btf_field_info { }; }; +struct btf_field_iter { + struct btf_field_desc desc; + void *p; + int m_idx; + int off_idx; + int vlen; +}; + struct btf_id_dtor_kfunc { u32 btf_id; u32 kfunc_btf_id; @@ -18255,8 +19618,8 @@ struct btf_kfunc_id_set { }; struct btf_kfunc_set_tab { - struct btf_id_set8 *sets[13]; - struct btf_kfunc_hook_filter hook_filters[13]; + struct btf_id_set8 *sets[14]; + struct btf_kfunc_hook_filter hook_filters[14]; }; struct btf_verifier_env; @@ -18288,6 +19651,13 @@ struct btf_module { int flags; }; +struct btf_name_info { + const char *name; + bool needs_size: 1; + unsigned int size: 31; + __u32 id; +}; + struct btf_param { __u32 name_off; __u32 type; @@ -18304,10 +19674,24 @@ struct btf_record { u32 field_mask; int spin_lock_off; int timer_off; + int wq_off; int refcount_off; struct btf_field fields[0]; }; +struct btf_relocate { + struct btf *btf; + const struct btf *base_btf; + const struct btf *dist_base_btf; + unsigned int nr_base_types; + unsigned int nr_split_types; + unsigned int nr_dist_base_types; + int dist_str_len; + int base_str_len; + __u32 *id_map; + __u32 *str_map; +}; + struct btf_sec_info { u32 off; u32 len; @@ -18355,6 +19739,12 @@ struct btf_struct_metas { struct btf_struct_meta types[0]; }; +struct btf_struct_ops_tab { + u32 cnt; + u32 capacity; + struct bpf_struct_ops_desc ops[0]; +}; + struct btf_type { __u32 name_off; __u32 info; @@ -18448,12 +19838,20 @@ struct buffer_data_page { unsigned char data[0]; }; +struct buffer_data_read_page { + unsigned int order; + struct buffer_data_page *data; +}; + struct buffer_page { struct list_head list; local_t write; unsigned int read; local_t entries; long unsigned int real_end; + unsigned int order; + u32 id: 30; + u32 range: 1; struct buffer_data_page *page; }; @@ -18474,23 +19872,21 @@ struct bus_dma_region { phys_addr_t cpu_start; dma_addr_t dma_start; u64 size; - u64 offset; }; -struct iommu_ops; - struct bus_type { const char *name; const char *dev_name; const struct attribute_group **bus_groups; const struct attribute_group **dev_groups; const struct attribute_group **drv_groups; - int (*match)(struct device *, struct device_driver *); + int (*match)(struct device *, const struct device_driver *); int (*uevent)(const struct device *, struct kobj_uevent_env *); int (*probe)(struct device *); void (*sync_state)(struct device *); void (*remove)(struct device *); void (*shutdown)(struct device *); + const struct cpumask * (*irq_get_affinity)(struct device *, unsigned int); int (*online)(struct device *); int (*offline)(struct device *); int (*suspend)(struct device *, pm_message_t); @@ -18499,7 +19895,6 @@ struct bus_type { int (*dma_configure)(struct device *); void (*dma_cleanup)(struct device *); const struct dev_pm_ops *pm; - const struct iommu_ops *iommu_ops; bool need_parent_lock; }; @@ -18562,7 +19957,7 @@ struct ccw1 { __u8 cmd_code; __u8 flags; __u16 count; - __u32 cda; + dma32_t cda; }; struct ccw_dev_id { @@ -18631,7 +20026,7 @@ struct cmd_scsw { __u32 fctl: 3; __u32 actl: 7; __u32 stctl: 5; - __u32 cpa; + dma32_t cpa; __u32 dstat: 8; __u32 cstat: 8; __u32 count: 16; @@ -18652,7 +20047,7 @@ struct tm_scsw { u32 fctl: 3; u32 actl: 7; u32 stctl: 5; - u32 tcw; + dma32_t tcw; u32 dstat: 8; u32 cstat: 8; u32 fcxs: 8; @@ -18672,7 +20067,7 @@ struct eadm_scsw { u32 fctl: 3; u32 actl: 7; u32 stctl: 5; - u32 aob; + dma32_t aob; u32 dstat: 8; u32 cstat: 8; }; @@ -18713,8 +20108,8 @@ struct erw { struct esw0 { struct sublog sublog; struct erw erw; - __u32 faddr[2]; - __u32 saddr; + dma32_t faddr[2]; + dma32_t saddr; }; struct esw1 { @@ -18968,11 +20363,6 @@ struct load_weight { u32 inv_weight; }; -struct util_est { - unsigned int enqueued; - unsigned int ewma; -}; - struct sched_avg { u64 last_update_time; u64 load_sum; @@ -18982,7 +20372,7 @@ struct sched_avg { long unsigned int load_avg; long unsigned int runnable_avg; long unsigned int util_avg; - struct util_est util_est; + unsigned int util_est; long: 64; long: 64; long: 64; @@ -19013,13 +20403,12 @@ struct sched_entity; struct cfs_rq { struct load_weight load; - unsigned int nr_running; - unsigned int h_nr_running; - unsigned int idle_nr_running; - unsigned int idle_h_nr_running; + unsigned int nr_queued; + unsigned int h_nr_queued; + unsigned int h_nr_runnable; + unsigned int h_nr_idle; s64 avg_vruntime; u64 avg_load; - u64 exec_clock; u64 min_vruntime; struct rb_root_cached tasks_timeline; struct sched_entity *curr; @@ -19044,6 +20433,7 @@ struct cfs_rq { long: 64; long: 64; long: 64; + long: 64; struct sched_avg avg; struct { raw_spinlock_t lock; @@ -19104,7 +20494,7 @@ struct cgroup__safe_rcu { struct proc_ns_operations; struct ns_common { - atomic_long_t stashed; + struct dentry *stashed; const struct proc_ns_operations *ops; unsigned int inum; refcount_t count; @@ -19112,8 +20502,6 @@ struct ns_common { struct css_set; -struct user_namespace; - struct ucounts; struct cgroup_namespace { @@ -19169,6 +20557,24 @@ struct cmg_chars { u32 values[5]; }; +struct cmg_cmcb { + u32 not_valid: 1; + u32 shared: 1; + u32 extended: 1; + short: 13; + char: 8; + u32 chpid: 8; + u32 cmcv: 5; + char: 3; + char: 4; + u32 cmgp: 4; + u32 cmgq: 8; + u32 cmg: 8; + short: 16; + u32 cmgs: 16; + u32 data[5]; +}; + struct channel_path { struct device dev; struct chp_id chpid; @@ -19179,7 +20585,10 @@ struct channel_path { struct channel_path_desc_fmt3 desc_fmt3; int cmg; int shared; + int extended; + long unsigned int speed; struct cmg_chars cmg_chars; + struct cmg_cmcb cmcb; }; struct channel_subsystem { @@ -19191,8 +20600,8 @@ struct channel_subsystem { struct pgid global_pgid; struct mutex mutex; int cm_enabled; - void *cub_addr1; - void *cub_addr2; + void *cub[2]; + void *ecub[4]; struct subchannel *pseudo_subchannel; }; @@ -20377,8 +21786,8 @@ struct chsc_scssc_area { struct chsc_header request; u16 operation_code; long: 64; - u64 summary_indicator_addr; - u64 subchannel_indicator_addr; + dma64_t summary_indicator_addr; + dma64_t subchannel_indicator_addr; u32 ks: 4; u32 kc: 4; short: 8; @@ -21926,8 +23335,6 @@ struct chsc_ssqd_area { long: 64; }; -struct crypto_tfm; - struct cipher_alg { unsigned int cia_min_keysize; unsigned int cia_max_keysize; @@ -21937,8 +23344,8 @@ struct cipher_alg { }; struct cipher_context { - char *iv; - char *rec_seq; + char iv[20]; + char rec_seq[8]; }; struct class_attribute { @@ -22028,6 +23435,8 @@ struct clock_sync_data { long int clock_delta; }; +struct clocksource_base; + struct clocksource { u64 (*read)(struct clocksource *); u64 mask; @@ -22037,12 +23446,15 @@ struct clocksource { u32 maxadj; u32 uncertainty_margin; u64 max_cycles; + u64 max_raw_delta; const char *name; struct list_head list; + u32 freq_khz; int rating; enum clocksource_ids id; enum vdso_clock_mode vdso_clock_mode; long unsigned int flags; + struct clocksource_base *base; int (*enable)(struct clocksource *); void (*disable)(struct clocksource *); void (*suspend)(struct clocksource *); @@ -22052,6 +23464,14 @@ struct clocksource { struct module *owner; }; +struct clocksource_base { + enum clocksource_ids id; + u32 freq_khz; + u64 offset; + u32 numerator; + u32 denominator; +}; + struct clone_args { __u64 flags; __u64 pidfd; @@ -22149,11 +23569,95 @@ struct cmd_orb { u32 ils: 1; u32 zero: 6; u32 orbx: 1; - u32 cpa; + dma32_t cpa; +}; + +struct cmis_cdb_advert_rpl { + u8 inst_supported; + u8 read_write_len_ext; + u8 resv1; + u8 resv2; +}; + +struct cmis_cdb_fw_mng_features_rpl { + u8 resv1; + u8 resv2; + u8 start_cmd_payload_size; + u8 resv3; + u8 read_write_len_ext; + u8 write_mechanism; + u8 resv4; + u8 resv5; + __be16 max_duration_start; + __be16 resv6; + __be16 max_duration_write; + __be16 max_duration_complete; + __be16 resv7; +}; + +struct cmis_cdb_module_features_rpl { + u8 resv1[34]; + __be16 max_completion_time; +}; + +struct cmis_cdb_query_status_pl { + u16 response_delay; +}; + +struct cmis_cdb_query_status_rpl { + u8 length; + u8 status; +}; + +struct cmis_cdb_run_fw_image_pl { + u8 resv1; + u8 image_to_run; + u16 delay_to_reset; +}; + +struct cmis_cdb_start_fw_download_pl_h { + __be32 image_size; + __be32 resv1; +}; + +struct cmis_cdb_start_fw_download_pl { + union { + struct { + __be32 image_size; + __be32 resv1; + }; + struct cmis_cdb_start_fw_download_pl_h head; + }; + u8 vendor_data[112]; +}; + +struct cmis_cdb_write_fw_block_epl_pl { + u8 fw_block[2048]; +}; + +struct cmis_cdb_write_fw_block_lpl_pl { + __be32 block_address; + u8 fw_block[116]; +}; + +struct cmis_fw_update_fw_mng_features { + u8 start_cmd_payload_size; + u8 write_mechanism; + u16 max_duration_start; + u16 max_duration_write; + u16 max_duration_complete; +}; + +struct cmis_password_entry_pl { + __be32 password; }; -struct cmg_entry { - u32 values[8]; +struct cmis_rev_rpl { + u8 rev; +}; + +struct cmis_wait_for_cond_rpl { + u8 state; }; struct cmsghdr { @@ -22355,14 +23859,30 @@ struct conf_mgm_data { u8 ev_qualifier; }; +struct console; + +struct printk_buffers; + +struct nbcon_context { + struct console *console; + unsigned int spinwait_max_us; + enum nbcon_prio prio; + unsigned int allow_unsafe_takeover: 1; + unsigned int backlog: 1; + struct printk_buffers *pbufs; + u64 seq; +}; + struct tty_driver; +struct nbcon_write_context; + struct console { char name[16]; void (*write)(struct console *, const char *, unsigned int); int (*read)(struct console *, char *, unsigned int); struct tty_driver * (*device)(struct console *, int *); - void (*unblank)(); + void (*unblank)(void); int (*setup)(struct console *, char *); int (*exit)(struct console *); int (*match)(struct console *, char *, int, char *); @@ -22375,15 +23895,35 @@ struct console { long unsigned int dropped; void *data; struct hlist_node node; + void (*write_atomic)(struct console *, struct nbcon_write_context *); + void (*write_thread)(struct console *, struct nbcon_write_context *); + void (*device_lock)(struct console *, long unsigned int *); + void (*device_unlock)(struct console *, long unsigned int); + atomic_t nbcon_state; + atomic_long_t nbcon_seq; + struct nbcon_context nbcon_device_ctxt; + atomic_long_t nbcon_prev_seq; + struct printk_buffers *pbufs; + struct task_struct *kthread; + struct rcuwait rcuwait; + struct irq_work irq_work; }; struct console_cmdline { char name[16]; int index; + char devname[32]; bool user_specified; char *options; }; +struct console_flush_type { + bool nbcon_atomic; + bool nbcon_offload; + bool legacy_direct; + bool legacy_offload; +}; + struct constant_table { const char *name; int value; @@ -22396,8 +23936,8 @@ struct container_dev { struct context_tracking { atomic_t state; - long int dynticks_nesting; - long int dynticks_nmi_nesting; + long int nesting; + long int nmi_nesting; }; struct copy_block_struct { @@ -22467,6 +24007,7 @@ struct cpu_attr { struct cpu_cacheinfo { struct cacheinfo *info_list; + unsigned int per_cpu_data_slice_size; unsigned int num_levels; unsigned int num_leaves; bool cpu_map_populated; @@ -22507,8 +24048,9 @@ struct cpu_down_work { struct folio_batch { unsigned char nr; + unsigned char i; bool percpu_pvec_drained; - struct folio *folios[15]; + struct folio *folios[31]; }; struct cpu_fbatches { @@ -22517,7 +24059,9 @@ struct cpu_fbatches { struct folio_batch lru_deactivate_file; struct folio_batch lru_deactivate; struct folio_batch lru_lazyfree; - struct folio_batch activate; + struct folio_batch lru_activate; + local_lock_t lock_irq; + struct folio_batch lru_move_tail; }; struct hws_qsi_info_block { @@ -22843,7 +24387,7 @@ struct cpuidle_state { int power_usage; unsigned int target_residency; int (*enter)(struct cpuidle_device *, struct cpuidle_driver *, int); - int (*enter_dead)(struct cpuidle_device *, int); + void (*enter_dead)(struct cpuidle_device *, int); int (*enter_s2idle)(struct cpuidle_device *, struct cpuidle_driver *, int); }; @@ -22885,21 +24429,10 @@ struct cpupri { int *cpu_to_pri; }; -struct range { - u64 start; - u64 end; -}; - -struct crash_mem { - unsigned int max_nr_ranges; - unsigned int nr_ranges; - struct range ranges[0]; -}; - struct group_info; struct cred { - atomic_t usage; + atomic_long_t usage; kuid_t uid; kgid_t gid; kuid_t suid; @@ -23018,7 +24551,7 @@ struct css_driver { int (*probe)(struct subchannel *); void (*remove)(struct subchannel *); void (*shutdown)(struct subchannel *); - int (*settle)(); + int (*settle)(void); }; struct css_general_char { @@ -23043,7 +24576,7 @@ struct css_general_char { u64 aiv: 1; long: 2; char: 3; - u64 aif_osa: 1; + u64 aif_qdio: 1; short: 12; u64 eadm_rf: 1; char: 1; @@ -23085,7 +24618,7 @@ struct ctl_node; struct ctl_table_header { union { struct { - struct ctl_table *ctl_table; + const struct ctl_table *ctl_table; int ctl_table_size; int used; int count; @@ -23094,12 +24627,16 @@ struct ctl_table_header { struct callback_head rcu; }; struct completion *unregistering; - struct ctl_table *ctl_table_arg; + const struct ctl_table *ctl_table_arg; struct ctl_table_root *root; struct ctl_table_set *set; struct ctl_dir *parent; struct ctl_node *node; struct hlist_head inodes; + enum { + SYSCTL_TABLE_TYPE_DEFAULT = 0, + SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY = 1, + } type; }; struct ctl_dir { @@ -23112,7 +24649,7 @@ struct ctl_node { struct ctl_table_header *header; }; -typedef int proc_handler(struct ctl_table *, int, void *, size_t *, loff_t *); +typedef int proc_handler(const struct ctl_table *, int, void *, size_t *, loff_t *); struct ctl_table_poll; @@ -23121,10 +24658,6 @@ struct ctl_table { void *data; int maxlen; umode_t mode; - enum { - SYSCTL_TABLE_TYPE_DEFAULT = 0, - SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY = 1, - } type; proc_handler *proc_handler; struct ctl_table_poll *poll; void *extra1; @@ -23144,12 +24677,17 @@ struct ctl_table_set { struct ctl_table_root { struct ctl_table_set default_set; struct ctl_table_set * (*lookup)(struct ctl_table_root *); - void (*set_ownership)(struct ctl_table_header *, struct ctl_table *, kuid_t *, kgid_t *); - int (*permissions)(struct ctl_table_header *, struct ctl_table *); + void (*set_ownership)(struct ctl_table_header *, kuid_t *, kgid_t *); + int (*permissions)(struct ctl_table_header *, const struct ctl_table *); +}; + +struct ctlreg { + long unsigned int val; }; union ctlreg0 { long unsigned int val; + struct ctlreg reg; struct { char: 8; long unsigned int tcx: 1; @@ -23157,7 +24695,10 @@ union ctlreg0 { char: 3; long unsigned int ccc: 1; long unsigned int pec: 1; - int: 17; + short: 1; + short: 14; + long unsigned int wti: 1; + int: 1; char: 3; long unsigned int lap: 1; char: 4; @@ -23175,6 +24716,7 @@ union ctlreg0 { union ctlreg15 { long unsigned int val; + struct ctlreg reg; struct { long unsigned int lsea: 61; }; @@ -23182,6 +24724,7 @@ union ctlreg15 { union ctlreg2 { long unsigned int val; + struct ctlreg reg; struct { long: 33; long unsigned int ducto: 25; @@ -23195,12 +24738,21 @@ union ctlreg2 { union ctlreg5 { long unsigned int val; + struct ctlreg reg; struct { long: 33; long unsigned int pasteo: 25; }; }; +struct ctlreg_parms { + long unsigned int andval; + long unsigned int orval; + long unsigned int val; + int request; + int cr; +}; + struct netlink_policy_dump_state; struct genl_family; @@ -23228,24 +24780,6 @@ struct ctx_switch_entry { unsigned char next_state; }; -struct wait_queue_entry; - -typedef int (*wait_queue_func_t)(struct wait_queue_entry *, unsigned int, int, void *); - -struct wait_queue_entry { - unsigned int flags; - void *private; - wait_queue_func_t func; - struct list_head entry; -}; - -typedef struct wait_queue_entry wait_queue_entry_t; - -struct cwt_wait { - wait_queue_entry_t wait; - struct work_struct *work; -}; - struct cyclecounter { u64 (*read)(const struct cyclecounter *); u64 mask; @@ -23313,11 +24847,11 @@ struct debug_reply_data { u32 msg_mask; }; -typedef int debug_prolog_proc_t(debug_info_t *, struct debug_view *, char *); +typedef int debug_prolog_proc_t(debug_info_t *, struct debug_view *, char *, size_t); -typedef int debug_header_proc_t(debug_info_t *, struct debug_view *, int, debug_entry_t *, char *); +typedef int debug_header_proc_t(debug_info_t *, struct debug_view *, int, debug_entry_t *, char *, size_t); -typedef int debug_format_proc_t(debug_info_t *, struct debug_view *, char *, const char *); +typedef int debug_format_proc_t(debug_info_t *, struct debug_view *, char *, size_t, const char *); typedef int debug_input_proc_t(debug_info_t *, struct debug_view *, struct file *, const char *, size_t, loff_t *); @@ -23335,8 +24869,6 @@ struct delayed_call { void *arg; }; -struct uprobe; - struct delayed_uprobe { struct list_head list; struct uprobe *uprobe; @@ -23359,6 +24891,11 @@ struct qstr { const unsigned char *name; }; +union shortname_store { + unsigned char string[40]; + long unsigned int words[5]; +}; + struct lockref { union { __u64 lock_count; @@ -23371,6 +24908,8 @@ struct lockref { struct dentry_operations; +struct super_block; + struct dentry { unsigned int d_flags; seqcount_spinlock_t d_seq; @@ -23378,18 +24917,18 @@ struct dentry { struct dentry *d_parent; struct qstr d_name; struct inode *d_inode; - unsigned char d_iname[32]; - struct lockref d_lockref; + union shortname_store d_shortname; const struct dentry_operations *d_op; struct super_block *d_sb; long unsigned int d_time; void *d_fsdata; + struct lockref d_lockref; union { struct list_head d_lru; wait_queue_head_t *d_wait; }; - struct list_head d_child; - struct list_head d_subdirs; + struct hlist_node d_sib; + struct hlist_head d_children; union { struct hlist_node d_alias; struct hlist_bl_node d_in_lookup_hash; @@ -23401,13 +24940,8 @@ struct dentry__safe_trusted { struct inode *d_inode; }; -struct dentry_list { - void *cursor; - struct dentry **dentries; -}; - struct dentry_operations { - int (*d_revalidate)(struct dentry *, unsigned int); + int (*d_revalidate)(struct inode *, const struct qstr *, struct dentry *, unsigned int); int (*d_weak_revalidate)(struct dentry *, unsigned int); int (*d_hash)(const struct dentry *, struct qstr *); int (*d_compare)(const struct dentry *, unsigned int, const char *, const struct qstr *); @@ -23419,9 +24953,9 @@ struct dentry_operations { char * (*d_dname)(struct dentry *, char *, int); struct vfsmount * (*d_automount)(struct path *); int (*d_manage)(const struct path *, bool); - struct dentry * (*d_real)(struct dentry *, const struct inode *); - long: 64; - long: 64; + struct dentry * (*d_real)(struct dentry *, enum d_real_type); + bool (*d_unalias_trylock)(const struct dentry *); + void (*d_unalias_unlock)(const struct dentry *); long: 64; long: 64; long: 64; @@ -23472,6 +25006,12 @@ struct vmem_altmap { long unsigned int free; long unsigned int align; long unsigned int alloc; + bool inaccessible; +}; + +struct range { + u64 start; + u64 end; }; struct dev_pagemap_ops; @@ -23536,6 +25076,7 @@ struct dev_pm_domain { int (*activate)(struct device *); void (*sync)(struct device *); void (*dismiss)(struct device *); + int (*set_performance_state)(struct device *, unsigned int); }; struct pm_qos_flags { @@ -23582,11 +25123,6 @@ struct dev_pm_qos_request { struct device *dev; }; -struct dev_printk_info { - char subsystem[16]; - char device[48]; -}; - struct device_attach_data { struct device *dev; bool check_async; @@ -23667,7 +25203,7 @@ struct device_private { struct klist_node knode_bus; struct klist_node knode_class; struct list_head deferred_probe; - struct device_driver *async_driver; + const struct device_driver *async_driver; char *deferred_probe_reason; struct device *device; u8 dead: 1; @@ -23764,6 +25300,7 @@ struct devlink_port { struct list_head reporter_list; struct devlink_rate *devlink_rate; struct devlink_linecard *linecard; + u32 rel_index; }; struct devlink_port_ops { @@ -23783,6 +25320,8 @@ struct devlink_port_ops { int (*port_fn_ipsec_crypto_set)(struct devlink_port *, bool, struct netlink_ext_ack *); int (*port_fn_ipsec_packet_get)(struct devlink_port *, bool *, struct netlink_ext_ack *); int (*port_fn_ipsec_packet_set)(struct devlink_port *, bool, struct netlink_ext_ack *); + int (*port_fn_max_io_eqs_get)(struct devlink_port *, u32 *, struct netlink_ext_ack *); + int (*port_fn_max_io_eqs_set)(struct devlink_port *, u32, struct netlink_ext_ack *); }; struct devlink_rate { @@ -23918,6 +25457,36 @@ struct diag210 { u8 vrdccrft; }; +struct diag310_memtop { + __u64 address; + __u64 nesting_lvl; +}; + +union diag310_req_size { + u64 size; + struct { + u64 page_count: 32; + }; +}; + +union diag310_req_subcode { + u64 subcode; + struct { + long: 48; + u64 st: 8; + u64 sc: 8; + }; +}; + +union diag310_response { + u64 response; + struct { + u64 result: 32; + short: 16; + u64 rc: 16; + }; +}; + union diag318_info { long unsigned int val; struct { @@ -23926,6 +25495,40 @@ union diag318_info { }; }; +struct diag324_pib { + __u64 address; + __u64 sequence; +}; + +union diag324_request { + u64 request; + struct { + int: 32; + u64 allocated: 16; + short: 12; + u64 sc: 4; + } sc2; +}; + +union diag324_response { + u64 response; + struct { + u64 installed: 32; + short: 16; + u64 rc: 16; + } sc0; + struct { + u64 format: 16; + int: 16; + u64 pib_len: 16; + u64 rc: 16; + } sc1; + struct { + long: 48; + u64 rc: 16; + } sc2; +}; + struct diag8c { u8 flags; u8 num_partitions; @@ -23940,19 +25543,17 @@ struct diag_desc { char *name; }; -struct hypfs_diag0c_entry; - struct diag_ops { int (*diag210)(struct diag210 *); - int (*diag26c)(void *, void *, enum diag26c_sc); + int (*diag26c)(long unsigned int, long unsigned int, enum diag26c_sc); int (*diag14)(long unsigned int, long unsigned int, long unsigned int); int (*diag8c)(struct diag8c *, struct ccw_dev_id *, size_t); - void (*diag0c)(struct hypfs_diag0c_entry *); - void (*diag308_reset)(); + void (*diag0c)(long unsigned int); + void (*diag308_reset)(void); }; struct diag_stat { - unsigned int counter[23]; + unsigned int counter[26]; }; struct die_args { @@ -23963,6 +25564,56 @@ struct die_args { int signr; }; +struct dim_stats { + int ppms; + int bpms; + int epms; + int cpms; + int cpe_ratio; +}; + +struct dim_sample { + ktime_t time; + u32 pkt_ctr; + u32 byte_ctr; + u16 event_ctr; + u32 comp_ctr; +}; + +struct dim { + u8 state; + struct dim_stats prev_stats; + struct dim_sample start_sample; + struct dim_sample measuring_sample; + struct work_struct work; + void *priv; + u8 profile_ix; + u8 mode; + u8 tune_state; + u8 steps_right; + u8 steps_left; + u8 tired; +}; + +struct dim_cq_moder { + u16 usec; + u16 pkts; + u16 comps; + u8 cq_period_mode; + struct callback_head rcu; +}; + +struct dim_irq_moder { + u8 profile_flags; + u8 coal_flags; + u8 dim_rx_mode; + u8 dim_tx_mode; + struct dim_cq_moder *rx_profile; + struct dim_cq_moder *tx_profile; + void (*rx_dim_work)(struct work_struct *); + void (*tx_dim_work)(struct work_struct *); +}; + struct dir_context; typedef bool (*filldir_t)(struct dir_context *, const char *, int, loff_t, u64, unsigned int); @@ -23983,6 +25634,8 @@ struct dirty_throttle_control { long unsigned int wb_thresh; long unsigned int wb_bg_thresh; long unsigned int pos_ratio; + bool freerun; + bool dirty_exceeded; }; struct dl_bw { @@ -23998,8 +25651,7 @@ struct dl_rq { u64 curr; u64 next; } earliest_dl; - unsigned int dl_nr_migratory; - int overloaded; + bool overloaded; struct rb_root_cached pushable_dl_tasks_root; u64 running_bw; u64 this_bw; @@ -24023,13 +25675,10 @@ struct dma_devres { struct sg_table; struct dma_map_ops { - unsigned int flags; void * (*alloc)(struct device *, size_t, dma_addr_t *, gfp_t, long unsigned int); void (*free)(struct device *, size_t, void *, dma_addr_t, long unsigned int); - struct page * (*alloc_pages)(struct device *, size_t, dma_addr_t *, enum dma_data_direction, gfp_t); + struct page * (*alloc_pages_op)(struct device *, size_t, dma_addr_t *, enum dma_data_direction, gfp_t); void (*free_pages)(struct device *, size_t, struct page *, dma_addr_t, enum dma_data_direction); - struct sg_table * (*alloc_noncontiguous)(struct device *, size_t, enum dma_data_direction, gfp_t, long unsigned int); - void (*free_noncontiguous)(struct device *, size_t, struct sg_table *, enum dma_data_direction); int (*mmap)(struct device *, struct vm_area_struct *, void *, dma_addr_t, size_t, long unsigned int); int (*get_sgtable)(struct device *, struct sg_table *, void *, dma_addr_t, size_t, long unsigned int); dma_addr_t (*map_page)(struct device *, struct page *, long unsigned int, size_t, enum dma_data_direction, long unsigned int); @@ -24046,7 +25695,7 @@ struct dma_map_ops { int (*dma_supported)(struct device *, u64); u64 (*get_required_mask)(struct device *); size_t (*max_mapping_size)(struct device *); - size_t (*opt_mapping_size)(); + size_t (*opt_mapping_size)(void); long unsigned int (*get_merge_boundary)(struct device *); }; @@ -24071,15 +25720,17 @@ struct dma_pool { struct list_head pools; }; -struct sg_table { - struct scatterlist *sgl; - unsigned int nents; - unsigned int orig_nents; +struct dmabuf_cmsg { + __u64 frag_offset; + __u32 frag_size; + __u32 frag_token; + __u32 dmabuf_id; + __u32 flags; }; -struct dma_sgt_handle { - struct sg_table sgt; - struct page **pages; +struct dmabuf_token { + __u32 token_start; + __u32 token_count; }; struct kqid { @@ -24224,7 +25875,7 @@ struct dst_ops { u32 * (*cow_metrics)(struct dst_entry *, long unsigned int); void (*destroy)(struct dst_entry *); void (*ifdown)(struct dst_entry *, struct net_device *); - struct dst_entry * (*negative_advice)(struct dst_entry *); + void (*negative_advice)(struct sock *, struct dst_entry *); void (*link_failure)(struct sk_buff *); void (*update_pmtu)(struct dst_entry *, struct sock *, struct sk_buff *, u32, bool); void (*redirect)(struct dst_entry *, struct sock *, struct sk_buff *); @@ -24318,7 +25969,6 @@ struct seq_buf { char *buffer; size_t size; size_t len; - loff_t readpos; }; struct dynevent_cmd; @@ -24343,7 +25993,7 @@ struct eadm_orb { short: 6; short: 15; u32 x: 1; - u32 aob; + dma32_t aob; u32 css_prio: 8; short: 8; u32 scm_prio: 8; @@ -24353,27 +26003,25 @@ struct eadm_orb { long: 64; }; -struct ec_creg_mask_parms { - long unsigned int orval; - long unsigned int andval; - int cr; +struct eee_config { + u32 tx_lpi_timer; + bool tx_lpi_enabled; + bool eee_enabled; }; -struct ethtool_eee { - __u32 cmd; - __u32 supported; - __u32 advertised; - __u32 lp_advertised; - __u32 eee_active; - __u32 eee_enabled; - __u32 tx_lpi_enabled; - __u32 tx_lpi_timer; - __u32 reserved[2]; +struct ethtool_keee { + long unsigned int supported[2]; + long unsigned int advertised[2]; + long unsigned int lp_advertised[2]; + u32 tx_lpi_timer; + bool tx_lpi_enabled; + bool eee_active; + bool eee_enabled; }; struct eee_reply_data { struct ethnl_reply_data base; - struct ethtool_eee eee; + struct ethtool_keee eee; }; struct eeprom_reply_data { @@ -24386,6 +26034,7 @@ struct ethnl_req_info { struct net_device *dev; netdevice_tracker dev_tracker; u32 flags; + u32 phy_index; }; struct eeprom_req_info { @@ -24456,12 +26105,6 @@ struct elf64_hdr { typedef struct elf64_hdr Elf64_Ehdr; -struct elf64_note { - Elf64_Word n_namesz; - Elf64_Word n_descsz; - Elf64_Word n_type; -}; - struct elf64_phdr { Elf64_Word p_type; Elf64_Word p_flags; @@ -24509,49 +26152,31 @@ struct elf64_sym { typedef struct elf64_sym Elf64_Sym; -struct elf_siginfo { - int si_signo; - int si_code; - int si_errno; -}; - -struct elf_prstatus_common { - struct elf_siginfo pr_info; - short int pr_cursig; - long unsigned int pr_sigpend; - long unsigned int pr_sighold; - pid_t pr_pid; - pid_t pr_ppid; - pid_t pr_pgrp; - pid_t pr_sid; - struct __kernel_old_timeval pr_utime; - struct __kernel_old_timeval pr_stime; - struct __kernel_old_timeval pr_cutime; - struct __kernel_old_timeval pr_cstime; -}; - -struct elf_prstatus { - struct elf_prstatus_common common; - elf_gregset_t pr_reg; - int pr_fpvalid; -}; - -struct em_perf_state; +struct em_perf_table; struct em_perf_domain { - struct em_perf_state *table; + struct em_perf_table *em_table; int nr_perf_states; + int min_perf_state; + int max_perf_state; long unsigned int flags; long unsigned int cpus[0]; }; struct em_perf_state { + long unsigned int performance; long unsigned int frequency; long unsigned int power; long unsigned int cost; long unsigned int flags; }; +struct em_perf_table { + struct callback_head rcu; + struct kref kref; + struct em_perf_state state[0]; +}; + struct trace_event_file; struct enable_trigger_data { @@ -24627,6 +26252,20 @@ struct ethnl_dump_ctx { long unsigned int pos_ifindex; }; +struct ethnl_module_fw_flash_ntf_params { + u32 portid; + u32 seq; + bool closed_sock; +}; + +struct phy_req_info; + +struct ethnl_phy_dump_ctx { + struct phy_req_info *phy_req_info; + long unsigned int ifindex; + long unsigned int phy_index; +}; + struct genl_info; struct ethnl_request_ops { @@ -24646,6 +26285,25 @@ struct ethnl_request_ops { int (*set)(struct ethnl_req_info *, struct genl_info *); }; +struct ethnl_sock_priv { + struct net_device *dev; + u32 portid; + enum ethnl_sock_type type; +}; + +struct tsinfo_req_info; + +struct tsinfo_reply_data; + +struct ethnl_tsinfo_dump_ctx { + struct tsinfo_req_info *req_info; + struct tsinfo_reply_data *reply_data; + long unsigned int pos_ifindex; + bool netdev_dump_done; + long unsigned int pos_phyindex; + enum hwtstamp_provider_qualifier pos_phcqualifier; +}; + struct ethnl_tunnel_info_dump_ctx { struct ethnl_req_info req_info; long unsigned int ifindex; @@ -24665,6 +26323,25 @@ struct ethtool_ah_espip6_spec { __u8 tclass; }; +struct ethtool_c33_pse_ext_state_info { + enum ethtool_c33_pse_ext_state c33_pse_ext_state; + union { + enum ethtool_c33_pse_ext_substate_error_condition error_condition; + enum ethtool_c33_pse_ext_substate_mr_pse_enable mr_pse_enable; + enum ethtool_c33_pse_ext_substate_option_detect_ted option_detect_ted; + enum ethtool_c33_pse_ext_substate_option_vport_lim option_vport_lim; + enum ethtool_c33_pse_ext_substate_ovld_detected ovld_detected; + enum ethtool_c33_pse_ext_substate_power_not_available power_not_available; + enum ethtool_c33_pse_ext_substate_short_detected short_detected; + u32 __c33_pse_ext_substate; + }; +}; + +struct ethtool_c33_pse_pw_limit_range { + u32 min; + u32 max; +}; + struct ethtool_cmd { __u32 cmd; __u32 supported; @@ -24685,6 +26362,69 @@ struct ethtool_cmd { __u32 reserved[2]; }; +struct ethtool_cmis_cdb { + u8 cmis_rev; + u8 read_write_len_ext; + u16 max_completion_time; +}; + +struct ethtool_cmis_cdb_request { + __be16 id; + union { + struct { + __be16 epl_len; + u8 lpl_len; + u8 chk_code; + u8 resv1; + u8 resv2; + u8 payload[120]; + }; + struct { + __be16 epl_len; + u8 lpl_len; + u8 chk_code; + u8 resv1; + u8 resv2; + u8 payload[120]; + } body; + }; + u8 *epl; +}; + +struct ethtool_cmis_cdb_cmd_args { + struct ethtool_cmis_cdb_request req; + u16 max_duration; + u8 read_write_len_ext; + u8 msleep_pre_rpl; + u8 rpl_exp_len; + u8 flags; + char *err_msg; +}; + +struct ethtool_cmis_cdb_rpl_hdr { + u8 rpl_len; + u8 rpl_chk_code; +}; + +struct ethtool_cmis_cdb_rpl { + struct ethtool_cmis_cdb_rpl_hdr hdr; + u8 payload[120]; +}; + +struct ethtool_module_fw_flash_params { + __be32 password; + u8 password_valid: 1; +}; + +struct firmware; + +struct ethtool_cmis_fw_update_params { + struct net_device *dev; + struct ethtool_module_fw_flash_params params; + struct ethnl_module_fw_flash_ntf_params ntf_params; + const struct firmware *fw; +}; + struct ethtool_flash { __u32 cmd; __u32 region; @@ -24722,6 +26462,18 @@ struct ethtool_dump { __u8 data[0]; }; +struct ethtool_eee { + __u32 cmd; + __u32 supported; + __u32 advertised; + __u32 lp_advertised; + __u32 eee_active; + __u32 eee_enabled; + __u32 tx_lpi_enabled; + __u32 tx_lpi_timer; + __u32 reserved[2]; +}; + struct ethtool_eeprom { __u32 cmd; __u32 magic; @@ -24888,6 +26640,13 @@ union ethtool_flow_union { __u8 hdata[52]; }; +struct ethtool_forced_speed_map { + u32 speed; + long unsigned int caps[2]; + const u32 *cap_arr; + u32 arr_size; +}; + struct ethtool_get_features_block { __u32 available; __u32 requested; @@ -24941,7 +26700,6 @@ struct ethtool_link_settings { __u8 master_slave_state; __u8 rate_matching; __u32 reserved[7]; - __u32 link_mode_masks[0]; }; struct ethtool_link_ksettings { @@ -25008,11 +26766,25 @@ struct ethtool_module_eeprom { u8 *data; }; +struct ethtool_module_fw_flash { + struct list_head list; + netdevice_tracker dev_tracker; + struct work_struct work; + struct ethtool_cmis_fw_update_params fw_update; +}; + struct ethtool_module_power_mode_params { enum ethtool_module_power_mode_policy policy; enum ethtool_module_power_mode mode; }; +struct ethtool_netdev_state { + struct xarray rss_ctx; + struct mutex rss_lock; + unsigned int wol_enabled: 1; + unsigned int module_fw_flash_in_progress: 1; +}; + struct ethtool_regs; struct ethtool_wolinfo; @@ -25031,7 +26803,13 @@ struct ethtool_stats; struct ethtool_rxnfc; -struct ethtool_ts_info; +struct ethtool_rxfh_param; + +struct ethtool_rxfh_context; + +struct kernel_ethtool_ts_info; + +struct ethtool_ts_stats; struct ethtool_tunable; @@ -25041,8 +26819,17 @@ struct ethtool_rmon_hist_range; struct ethtool_ops { u32 cap_link_lanes_supported: 1; + u32 cap_rss_ctx_supported: 1; + u32 cap_rss_sym_xor_supported: 1; + u32 rxfh_per_ctx_key: 1; + u32 cap_rss_rxnfc_adds: 1; + u32 rxfh_indir_space; + u16 rxfh_key_space; + u16 rxfh_priv_size; + u32 rxfh_max_num_contexts; u32 supported_coalesce_params; u32 supported_ring_params; + u32 supported_hwtstamp_qualifiers; void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *); int (*get_regs_len)(struct net_device *); void (*get_regs)(struct net_device *, struct ethtool_regs *, void *); @@ -25079,20 +26866,22 @@ struct ethtool_ops { int (*reset)(struct net_device *, u32 *); u32 (*get_rxfh_key_size)(struct net_device *); u32 (*get_rxfh_indir_size)(struct net_device *); - int (*get_rxfh)(struct net_device *, u32 *, u8 *, u8 *); - int (*set_rxfh)(struct net_device *, const u32 *, const u8 *, const u8); - int (*get_rxfh_context)(struct net_device *, u32 *, u8 *, u8 *, u32); - int (*set_rxfh_context)(struct net_device *, const u32 *, const u8 *, const u8, u32 *, bool); + int (*get_rxfh)(struct net_device *, struct ethtool_rxfh_param *); + int (*set_rxfh)(struct net_device *, struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*create_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, const struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*modify_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, const struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*remove_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, u32, struct netlink_ext_ack *); void (*get_channels)(struct net_device *, struct ethtool_channels *); int (*set_channels)(struct net_device *, struct ethtool_channels *); int (*get_dump_flag)(struct net_device *, struct ethtool_dump *); int (*get_dump_data)(struct net_device *, struct ethtool_dump *, void *); int (*set_dump)(struct net_device *, struct ethtool_dump *); - int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *); + int (*get_ts_info)(struct net_device *, struct kernel_ethtool_ts_info *); + void (*get_ts_stats)(struct net_device *, struct ethtool_ts_stats *); int (*get_module_info)(struct net_device *, struct ethtool_modinfo *); int (*get_module_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *); - int (*get_eee)(struct net_device *, struct ethtool_eee *); - int (*set_eee)(struct net_device *, struct ethtool_eee *); + int (*get_eee)(struct net_device *, struct ethtool_keee *); + int (*set_eee)(struct net_device *, struct ethtool_keee *); int (*get_tunable)(struct net_device *, const struct ethtool_tunable *, void *); int (*set_tunable)(struct net_device *, const struct ethtool_tunable *, const void *); int (*get_per_queue_coalesce)(struct net_device *, u32, struct ethtool_coalesce *); @@ -25106,6 +26895,7 @@ struct ethtool_ops { int (*get_phy_tunable)(struct net_device *, const struct ethtool_tunable *, void *); int (*set_phy_tunable)(struct net_device *, const struct ethtool_tunable *, const void *); int (*get_module_eeprom_by_page)(struct net_device *, const struct ethtool_module_eeprom *, struct netlink_ext_ack *); + int (*set_module_eeprom_by_page)(struct net_device *, const struct ethtool_module_eeprom *, struct netlink_ext_ack *); void (*get_eth_phy_stats)(struct net_device *, struct ethtool_eth_phy_stats *); void (*get_eth_mac_stats)(struct net_device *, struct ethtool_eth_mac_stats *); void (*get_eth_ctrl_stats)(struct net_device *, struct ethtool_eth_ctrl_stats *); @@ -25170,6 +26960,28 @@ struct ethtool_phy_ops { int (*start_cable_test_tdr)(struct phy_device *, struct netlink_ext_ack *, const struct phy_tdr_config *); }; +struct ethtool_phy_stats { + u64 rx_packets; + u64 rx_bytes; + u64 rx_errors; + u64 tx_packets; + u64 tx_bytes; + u64 tx_errors; +}; + +struct ethtool_pse_control_status { + enum ethtool_podl_pse_admin_state podl_admin_state; + enum ethtool_podl_pse_pw_d_status podl_pw_status; + enum ethtool_c33_pse_admin_state c33_admin_state; + enum ethtool_c33_pse_pw_d_status c33_pw_status; + u32 c33_pw_class; + u32 c33_actual_pw; + struct ethtool_c33_pse_ext_state_info c33_ext_state_info; + u32 c33_avail_pw_limit; + struct ethtool_c33_pse_pw_limit_range *c33_pw_limit_ranges; + u32 c33_pw_limit_nb_ranges; +}; + struct ethtool_regs { __u32 cmd; __u32 version; @@ -25317,11 +27129,36 @@ struct ethtool_rxfh { __u32 indir_size; __u32 key_size; __u8 hfunc; - __u8 rsvd8[3]; + __u8 input_xfrm; + __u8 rsvd8[2]; __u32 rsvd32; __u32 rss_config[0]; }; +struct ethtool_rxfh_context { + u32 indir_size; + u32 key_size; + u16 priv_size; + u8 hfunc; + u8 input_xfrm; + u8 indir_configured: 1; + u8 key_configured: 1; + u32 key_off; + long: 0; + u8 data[0]; +}; + +struct ethtool_rxfh_param { + u8 hfunc; + u32 indir_size; + u32 *indir; + u32 key_size; + u8 *key; + u32 rss_context; + u8 rss_delete; + u8 input_xfrm; +}; + struct ethtool_rxnfc { __u32 cmd; __u32 flow_type; @@ -25376,6 +27213,23 @@ struct ethtool_ts_info { __u32 rx_reserved[3]; }; +struct ethtool_ts_stats { + union { + struct { + u64 pkts; + u64 onestep_pkts_unconfirmed; + u64 lost; + u64 err; + }; + struct { + u64 pkts; + u64 onestep_pkts_unconfirmed; + u64 lost; + u64 err; + } tx_stats; + }; +}; + struct ethtool_tunable { __u32 cmd; __u32 id; @@ -25437,6 +27291,14 @@ struct event_function_struct { void *data; }; +struct event_mod_load { + struct list_head list; + char *module; + char *match; + char *system; + char *event; +}; + struct event_probe_data { struct trace_event_file *file; long unsigned int count; @@ -25477,29 +27339,43 @@ struct event_trigger_ops { int (*print)(struct seq_file *, struct event_trigger_data *); }; -struct eventfs_inode; +struct eventfs_attr { + int mode; + kuid_t uid; + kgid_t gid; +}; -struct inode_operations; +typedef int (*eventfs_callback)(const char *, umode_t *, void **, const struct file_operations **); -struct eventfs_file { +typedef void (*eventfs_release)(const char *, void *); + +struct eventfs_entry { const char *name; - struct dentry *d_parent; - struct dentry *dentry; - struct list_head list; - struct eventfs_inode *ei; - const struct file_operations *fop; - const struct inode_operations *iop; + eventfs_callback callback; + eventfs_release release; +}; + +struct eventfs_inode { union { - struct list_head del_list; + struct list_head list; struct callback_head rcu; - long unsigned int is_freed; }; + struct list_head children; + const struct eventfs_entry *entries; + const char *name; + struct eventfs_attr *entry_attrs; void *data; - umode_t mode; + struct eventfs_attr attr; + struct kref kref; + unsigned int is_freed: 1; + unsigned int is_events: 1; + unsigned int nr_entries: 30; + unsigned int ino; }; -struct eventfs_inode { - struct list_head e_top_files; +struct eventfs_root_inode { + struct eventfs_inode ei; + struct dentry *events_dir; }; struct exception_table_entry { @@ -25509,6 +27385,20 @@ struct exception_table_entry { short int data; }; +struct execmem_range { + long unsigned int start; + long unsigned int end; + long unsigned int fallback_start; + long unsigned int fallback_end; + pgprot_t pgprot; + unsigned int alignment; + enum execmem_range_flags flags; +}; + +struct execmem_info { + struct execmem_range ranges[5]; +}; + struct execute_work { struct work_struct work; }; @@ -25519,6 +27409,8 @@ struct fid; struct iattr; +struct handle_to_path_ctx; + struct export_operations { int (*encode_fh)(struct inode *, __u32 *, int *, struct inode *); struct dentry * (*fh_to_dentry)(struct super_block *, struct fid *, int, int); @@ -25529,6 +27421,8 @@ struct export_operations { int (*get_uuid)(struct super_block *, u8 *, u32 *, u64 *); int (*map_blocks)(struct inode *, loff_t, u64, struct iomap *, bool, u32 *); int (*commit_blocks)(struct inode *, struct iomap *, int, struct iattr *); + int (*permission)(struct handle_to_path_ctx *, unsigned int); + struct file * (*open)(struct path *, unsigned int); long unsigned int flags; }; @@ -25552,10 +27446,8 @@ struct ext_int_info { }; struct external_name { - union { - atomic_t count; - struct callback_head head; - } u; + atomic_t count; + struct callback_head head; unsigned char name[0]; }; @@ -25573,6 +27465,7 @@ struct stack_frame { long unsigned int sie_reason; long unsigned int sie_flags; long unsigned int sie_control_block_phys; + long unsigned int sie_guest_asce; }; }; long unsigned int gprs[10]; @@ -25613,6 +27506,20 @@ struct fasync_struct { struct callback_head fa_rcu; }; +struct faux_device { + struct device dev; +}; + +struct faux_device_ops { + int (*probe)(struct faux_device *); + void (*remove)(struct faux_device *); +}; + +struct faux_object { + struct faux_device faux_dev; + const struct faux_device_ops *faux_ops; +}; + struct fc_log { refcount_t usage; u8 head; @@ -25623,8 +27530,18 @@ struct fc_log { }; struct fd { - struct file *file; - unsigned int flags; + long unsigned int word; +}; + +typedef struct fd class_fd_pos_t; + +typedef struct fd class_fd_raw_t; + +typedef struct fd class_fd_t; + +struct fd_range { + unsigned int from; + unsigned int to; }; struct fdtable { @@ -25725,36 +27642,75 @@ struct ftrace_graph_ret { long unsigned int func; int depth; unsigned int overrun; - long long unsigned int calltime; - long long unsigned int rettime; }; struct ftrace_graph_ret_entry { struct trace_entry ent; struct ftrace_graph_ret ret; + long long unsigned int calltime; + long long unsigned int rettime; }; struct fgraph_data { struct fgraph_cpu_data *cpu_data; - struct ftrace_graph_ent_entry ent; + union { + struct ftrace_graph_ent_entry ent; + struct ftrace_graph_ent_entry rent; + } ent; struct ftrace_graph_ret_entry ret; int failed; int cpu; long: 0; } __attribute__((packed)); -typedef int (*trace_func_graph_ent_t)(struct ftrace_graph_ent *); +struct fgraph_ops; + +typedef int (*trace_func_graph_ent_t)(struct ftrace_graph_ent *, struct fgraph_ops *, struct ftrace_regs *); + +typedef void (*trace_func_graph_ret_t)(struct ftrace_graph_ret *, struct fgraph_ops *, struct ftrace_regs *); + +typedef void (*ftrace_func_t)(long unsigned int, long unsigned int, struct ftrace_ops *, struct ftrace_regs *); + +struct ftrace_hash; + +struct ftrace_ops_hash { + struct ftrace_hash *notrace_hash; + struct ftrace_hash *filter_hash; + struct mutex regex_lock; +}; -typedef void (*trace_func_graph_ret_t)(struct ftrace_graph_ret *); +typedef int (*ftrace_ops_func_t)(struct ftrace_ops *, enum ftrace_ops_cmd); + +struct ftrace_ops { + ftrace_func_t func; + struct ftrace_ops *next; + long unsigned int flags; + void *private; + ftrace_func_t saved_func; + struct ftrace_ops_hash local_hash; + struct ftrace_ops_hash *func_hash; + struct ftrace_ops_hash old_hash; + long unsigned int trampoline; + long unsigned int trampoline_size; + struct list_head list; + struct list_head subop_list; + ftrace_ops_func_t ops_func; + struct ftrace_ops *managed; + long unsigned int direct_call; +}; struct fgraph_ops { trace_func_graph_ent_t entryfunc; trace_func_graph_ret_t retfunc; + struct ftrace_ops ops; + void *private; + trace_func_graph_ent_t saved_func; + int idx; }; -struct fgraph_ret_regs { - long unsigned int gpr2; - long unsigned int fp; +struct fgraph_times { + long long unsigned int calltime; + long long unsigned int sleeptime; }; struct fib6_node; @@ -26073,6 +28029,7 @@ struct fib_dump_filter { bool filter_set; bool dump_routes; bool dump_exceptions; + bool rtnl_held; unsigned char protocol; unsigned char rt_type; unsigned int flags; @@ -26149,7 +28106,7 @@ struct fib_notifier_net { struct fib_notifier_ops { int family; struct list_head list; - unsigned int (*fib_seq_read)(struct net *); + unsigned int (*fib_seq_read)(const struct net *); int (*fib_dump)(struct net *, struct notifier_block *, struct netlink_ext_ack *); struct module *owner; struct callback_head rcu; @@ -26169,6 +28126,7 @@ struct fib_result { unsigned char type; unsigned char scope; u32 tclassid; + dscp_t dscp; struct fib_nh_common *nhc; struct fib_info *fi; struct fib_table *table; @@ -26219,6 +28177,10 @@ struct fid { u32 parent_ino; u32 parent_gen; } i32; + struct { + u64 ino; + u32 gen; + } __attribute__((packed)) i64; struct { u32 block; u16 partref; @@ -26290,6 +28252,31 @@ struct file_dedupe_range { typedef void *fl_owner_t; +struct file_lock_core { + struct file_lock_core *flc_blocker; + struct list_head flc_list; + struct hlist_node flc_link; + struct list_head flc_blocked_requests; + struct list_head flc_blocked_member; + fl_owner_t flc_owner; + unsigned int flc_flags; + unsigned char flc_type; + pid_t flc_pid; + int flc_link_cpu; + wait_queue_head_t flc_wait; + struct file *flc_file; +}; + +struct lease_manager_operations; + +struct file_lease { + struct file_lock_core c; + struct fasync_struct *fl_fasync; + long unsigned int fl_break_time; + long unsigned int fl_downgrade_time; + const struct lease_manager_operations *fl_lmops; +}; + struct nlm_lockowner; struct nfs_lock_info { @@ -26309,23 +28296,9 @@ struct file_lock_operations; struct lock_manager_operations; struct file_lock { - struct file_lock *fl_blocker; - struct list_head fl_list; - struct hlist_node fl_link; - struct list_head fl_blocked_requests; - struct list_head fl_blocked_member; - fl_owner_t fl_owner; - unsigned int fl_flags; - unsigned char fl_type; - unsigned int fl_pid; - int fl_link_cpu; - wait_queue_head_t fl_wait; - struct file *fl_file; + struct file_lock_core c; loff_t fl_start; loff_t fl_end; - struct fasync_struct *fl_fasync; - long unsigned int fl_break_time; - long unsigned int fl_downgrade_time; const struct file_lock_operations *fl_ops; const struct lock_manager_operations *fl_lmops; union { @@ -26354,12 +28327,13 @@ struct file_lock_operations { void (*fl_release_private)(struct file_lock *); }; -struct pipe_inode_info; - struct io_uring_cmd; +struct pipe_inode_info; + struct file_operations { struct module *owner; + fop_flags_t fop_flags; loff_t (*llseek)(struct file *, loff_t, int); ssize_t (*read)(struct file *, char *, size_t, loff_t *); ssize_t (*write)(struct file *, const char *, size_t, loff_t *); @@ -26371,7 +28345,6 @@ struct file_operations { long int (*unlocked_ioctl)(struct file *, unsigned int, long unsigned int); long int (*compat_ioctl)(struct file *, unsigned int, long unsigned int); int (*mmap)(struct file *, struct vm_area_struct *); - long unsigned int mmap_supported_flags; int (*open)(struct inode *, struct file *); int (*flush)(struct file *, fl_owner_t); int (*release)(struct inode *, struct file *); @@ -26384,7 +28357,7 @@ struct file_operations { ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int); ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int); void (*splice_eof)(struct file *); - int (*setlease)(struct file *, int, struct file_lock **, void **); + int (*setlease)(struct file *, int, struct file_lease **, void **); long int (*fallocate)(struct file *, int, loff_t, loff_t); void (*show_fdinfo)(struct seq_file *, struct file *); ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t, size_t, unsigned int); @@ -26526,6 +28499,14 @@ struct filter_list { struct event_filter *filter; }; +struct filter_match_data { + const char *filter; + const char *notfilter; + size_t index; + size_t size; + long unsigned int *addrs; +}; + struct filter_parse_error { int lasterr; int lasterr_pos; @@ -26555,11 +28536,17 @@ struct find_symbol_arg { bool gplok; bool warn; struct module *owner; - const s32 *crc; + const u32 *crc; const struct kernel_symbol *sym; enum mod_license license; }; +struct firmware { + size_t size; + const u8 *data; + void *priv; +}; + struct flock { short int l_type; short int l_whence; @@ -26570,14 +28557,14 @@ struct flock { typedef void (*action_destr)(void *); -struct ip_tunnel_info; - struct psample_group; struct nf_flowtable; struct action_gate_entry; +struct ip_tunnel_info; + struct flow_action_cookie; struct flow_action_entry { @@ -26782,7 +28769,7 @@ struct flow_dissector_key_ct { struct flow_dissector_key_enc_opts { u8 data[255]; u8 len; - __be16 dst_opt_type; + u32 dst_opt_type; }; struct flow_dissector_key_hash { @@ -27043,8 +29030,8 @@ struct flowi_common { __u8 flowic_flags; __u32 flowic_secid; kuid_t flowic_uid; - struct flowi_tunnel flowic_tun_key; __u32 flowic_multipath_hash; + struct flowi_tunnel flowic_tun_key; }; union flowi_uli { @@ -27086,6 +29073,17 @@ struct flowi { } u; }; +struct flush_backlogs { + cpumask_t flush_cpus; + struct work_struct w[0]; +}; + +struct fmt { + const char *str; + unsigned char state; + unsigned char size; +}; + struct fnhe_hash_bucket { struct fib_nh_exception *chain; }; @@ -27117,10 +29115,7 @@ struct page { struct page_pool *pp; long unsigned int _pp_mapping_pad; long unsigned int dma_addr; - union { - long unsigned int dma_addr_upper; - atomic_long_t pp_frag_count; - }; + atomic_long_t pp_ref_count; }; struct { long unsigned int compound_head; @@ -27132,8 +29127,8 @@ struct page { struct callback_head callback_head; }; union { - atomic_t _mapcount; unsigned int page_type; + atomic_t _mapcount; }; atomic_t _refcount; long: 64; @@ -27165,7 +29160,7 @@ struct folio { struct { long unsigned int _flags_1; long unsigned int _head_1; - long unsigned int _folio_avail; + atomic_t _large_mapcount; atomic_t _entire_mapcount; atomic_t _nr_pages_mapped; atomic_t _pincount; @@ -27191,6 +29186,18 @@ struct folio { }; }; +struct folio_queue { + struct folio_batch vec; + u8 orders[31]; + struct folio_queue *next; + struct folio_queue *prev; + long unsigned int marks; + long unsigned int marks2; + long unsigned int marks3; + unsigned int rreq_id; + unsigned int debug_id; +}; + struct mem_cgroup; struct folio_referenced_arg { @@ -27200,32 +29207,70 @@ struct folio_referenced_arg { struct mem_cgroup *memcg; }; +struct folio_walk { + struct page *page; + enum folio_walk_level level; + union { + pte_t *ptep; + pud_t *pudp; + pmd_t *pmdp; + }; + union { + pte_t pte; + pud_t pud; + pmd_t pmd; + }; + struct vm_area_struct *vma; + spinlock_t *ptl; +}; + struct follow_page_context { struct dev_pagemap *pgmap; unsigned int page_mask; }; -struct freelist_node { - atomic_t refs; - struct freelist_node *next; +struct follow_pfnmap_args { + struct vm_area_struct *vma; + long unsigned int address; + spinlock_t *lock; + pte_t *ptep; + long unsigned int pfn; + pgprot_t pgprot; + bool writable; + bool special; }; -struct rethook_node { - union { - struct freelist_node freelist; - struct callback_head rcu; - }; - struct llist_node llist; - struct rethook *rethook; - long unsigned int ret_addr; - long unsigned int frame; +struct format_state___2 { + unsigned char state; + unsigned char size; + unsigned char flags_or_double_size; + unsigned char base; }; -struct fprobe_rethook_node { - struct rethook_node node; - long unsigned int entry_ip; - long unsigned int entry_parent_ip; - char data[0]; +struct pid; + +struct fown_struct { + struct file *file; + rwlock_t lock; + struct pid *pid; + enum pid_type pid_type; + kuid_t uid; + kuid_t euid; + int signum; +}; + +struct fprobe_hlist_node { + struct hlist_node hlist; + long unsigned int addr; + struct fprobe *fp; +}; + +struct fprobe_hlist { + struct hlist_node hlist; + struct callback_head rcu; + struct fprobe *fp; + int size; + struct fprobe_hlist_node array[0]; }; struct fprop_global { @@ -27234,19 +29279,9 @@ struct fprop_global { seqcount_t sequence; }; -struct fprop_local_single { - long unsigned int events; - unsigned int period; - raw_spinlock_t lock; -}; - struct fpu { - __u32 fpc; - void *regs; - union { - freg_t fprs[16]; - __vector128 vxrs[32]; - }; + u32 fpc; + __vector128 vxrs[32]; }; typedef u32 (*rht_hashfn_t)(const void *, u32, u32); @@ -27404,7 +29439,7 @@ struct inet_frag_queue { ktime_t stamp; int len; int meat; - u8 mono_delivery_time; + u8 tstamp_type; __u8 flags; u16 max_size; struct fqdir *fqdir; @@ -27418,15 +29453,30 @@ struct frag_queue { u8 ecn; }; +struct freader { + void *buf; + u32 buf_sz; + int err; + union { + struct { + struct file *file; + struct folio *folio; + void *addr; + loff_t folio_off; + bool may_fault; + }; + struct { + const char *data; + u64 data_sz; + }; + }; +}; + struct free_area { struct list_head free_list[4]; long unsigned int nr_free; }; -struct freelist_head { - struct freelist_node *head; -}; - struct p_log { const char *prefix; struct fc_log *log; @@ -27502,6 +29552,8 @@ struct fs_parse_result { int int_32; unsigned int uint_32; u64 uint_64; + kuid_t uid; + kgid_t gid; }; }; @@ -27523,6 +29575,33 @@ struct fs_struct { struct path pwd; }; +struct fs_sysfs_path { + __u8 len; + __u8 name[128]; +}; + +struct fsnotify_mark_connector { + spinlock_t lock; + unsigned char type; + unsigned char prio; + short unsigned int flags; + union { + void *obj; + struct fsnotify_mark_connector *destroy_next; + }; + struct hlist_head list; +}; + +struct fsnotify_sb_info { + struct fsnotify_mark_connector *sb_marks; + atomic_long_t watched_objects[3]; +}; + +struct fsuuid2 { + __u8 len; + __u8 uuid[16]; +}; + struct fsxattr { __u32 fsx_xflags; __u32 fsx_extsize; @@ -27533,8 +29612,9 @@ struct fsxattr { }; struct trace_seq { - char buffer[4096]; + char buffer[8156]; struct seq_buf seq; + size_t readpos; int full; }; @@ -27555,9 +29635,10 @@ struct trace_iterator { unsigned int temp_size; char *fmt; unsigned int fmt_size; - long int wait_index; + atomic_t wait_index; struct trace_seq tmp_seq; cpumask_var_t started; + bool closed; bool snapshot; struct trace_seq seq; struct trace_entry *ent; @@ -27574,6 +29655,7 @@ struct ftrace_buffer_info { struct trace_iterator iter; void *spare; unsigned int spare_cpu; + unsigned int spare_size; unsigned int read; }; @@ -27590,7 +29672,8 @@ struct ftrace_event_field { int filter_type; int offset; int size; - int is_signed; + unsigned int is_signed: 1; + unsigned int needs_test: 1; int len; }; @@ -27738,14 +29821,11 @@ struct ftrace_rec_iter { int index; }; -struct ftrace_regs { - struct pt_regs regs; -}; +struct ftrace_regs {}; struct ftrace_ret_stack { long unsigned int ret; long unsigned int func; - long long unsigned int calltime; long unsigned int *retp; }; @@ -27806,6 +29886,7 @@ struct fwnode_operations { bool (*device_dma_supported)(const struct fwnode_handle *); enum dev_dma_attr (*device_get_dma_attr)(const struct fwnode_handle *); bool (*property_present)(const struct fwnode_handle *, const char *); + bool (*property_read_bool)(const struct fwnode_handle *, const char *); int (*property_read_int_array)(const struct fwnode_handle *, const char *, unsigned int, void *, size_t); int (*property_read_string_array)(const struct fwnode_handle *, const char *, const char **, size_t); const char * (*get_name)(const struct fwnode_handle *); @@ -28011,7 +30092,10 @@ struct genl_info { struct genlmsghdr *genlhdr; struct nlattr **attrs; possible_net_t _net; - void *user_ptr[2]; + union { + u8 ctx[48]; + void *user_ptr[2]; + }; struct netlink_ext_ack *extack; }; @@ -28041,13 +30125,19 @@ struct genl_family { const struct nla_policy *policy; int (*pre_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); void (*post_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); + int (*bind)(int); + void (*unbind)(int); const struct genl_ops *ops; const struct genl_small_ops *small_ops; const struct genl_split_ops *split_ops; const struct genl_multicast_group *mcgrps; struct module *module; + size_t sock_priv_size; + void (*sock_priv_init)(void *); + void (*sock_priv_destroy)(void *); int id; unsigned int mcgrp_offset; + struct xarray *sock_privs; }; struct genl_multicast_group { @@ -28116,8 +30206,8 @@ struct genradix_iter { struct genradix_node { union { - struct genradix_node *children[512]; - u8 data[4096]; + struct genradix_node *children[64]; + u8 data[512]; }; }; @@ -28145,31 +30235,6 @@ struct getdents_callback64 { int error; }; -struct gmap { - struct list_head list; - struct list_head crst_list; - struct mm_struct *mm; - struct xarray guest_to_host; - struct xarray host_to_guest; - spinlock_t guest_table_lock; - refcount_t ref_count; - long unsigned int *table; - long unsigned int asce; - long unsigned int asce_end; - void *private; - bool pfault_enabled; - long unsigned int guest_handle; - struct xarray host_to_rmap; - struct list_head children; - struct list_head pt_list; - spinlock_t shadow_lock; - struct gmap *parent; - long unsigned int orig_asce; - int edat_level; - bool removed; - bool initialized; -}; - struct tc_stats { __u64 bytes; __u32 packets; @@ -28246,11 +30311,13 @@ struct gro_list { int count; }; +struct napi_config; + struct napi_struct { struct list_head poll_list; long unsigned int state; int weight; - int defer_hard_irqs_count; + u32 defer_hard_irqs_count; long unsigned int gro_bitmask; int (*poll)(struct napi_struct *, int); int list_owner; @@ -28262,8 +30329,14 @@ struct napi_struct { unsigned int napi_id; struct hrtimer timer; struct task_struct *thread; + long unsigned int gro_flush_timeout; + long unsigned int irq_suspend_timeout; + u32 defer_hard_irqs; struct list_head dev_list; struct hlist_node napi_hash_node; + int irq; + int index; + struct napi_config *config; }; struct gro_cell { @@ -28295,7 +30368,7 @@ struct group_filter { }; struct group_info { - atomic_t usage; + refcount_t usage; int ngroups; kgid_t gid[0]; }; @@ -28318,6 +30391,12 @@ struct gs_cb { __u64 gs_epl_a; }; +struct handle_to_path_ctx { + struct path root; + enum handle_to_path_flags flags; + unsigned int fh_flags; +}; + struct hdr_sctn { u8 infhflg1; u8 infhflg2; @@ -28380,6 +30459,12 @@ struct hop_jumbo_hdr { __be32 jumbo_payload_len; }; +struct hprobe { + enum hprobe_state state; + int srcu_idx; + struct uprobe *uprobe; +}; + struct seqcount_raw_spinlock { seqcount_t seqcount; }; @@ -28395,7 +30480,7 @@ struct hrtimer_clock_base { seqcount_raw_spinlock_t seq; struct hrtimer *running; struct timerqueue_head active; - ktime_t (*get_time)(); + ktime_t (*get_time)(void); ktime_t offset; long: 64; long: 64; @@ -28432,6 +30517,7 @@ struct hrtimer_cpu_base { unsigned int in_hrtirq: 1; unsigned int hang_detected: 1; unsigned int softirq_activated: 1; + unsigned int online: 1; ktime_t expires_next; struct hrtimer *next_timer; ktime_t softirq_expires_next; @@ -28462,6 +30548,35 @@ struct hrtimer_cpu_base { long: 64; long: 64; struct hrtimer_clock_base clock_base[8]; + call_single_data_t csd; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; }; struct hrtimer_sleeper { @@ -28504,8 +30619,8 @@ struct htab_elem { struct hvc_struct; struct hv_ops { - int (*get_chars)(uint32_t, char *, int); - int (*put_chars)(uint32_t, const char *, int); + ssize_t (*get_chars)(uint32_t, u8 *, size_t); + ssize_t (*put_chars)(uint32_t, const u8 *, size_t); int (*flush)(uint32_t, bool); int (*notifier_add)(struct hvc_struct *, int); void (*notifier_del)(struct hvc_struct *, int); @@ -28584,17 +30699,17 @@ struct tty_port { unsigned char console: 1; struct mutex mutex; struct mutex buf_mutex; - unsigned char *xmit_buf; + u8 *xmit_buf; struct { union { struct __kfifo kfifo; - unsigned char *type; - const unsigned char *const_type; + u8 *type; + const u8 *const_type; char (*rectype)[0]; - unsigned char *ptr; - const unsigned char *ptr_const; + u8 *ptr; + const u8 *ptr_const; }; - unsigned char buf[0]; + u8 buf[0]; } xmit_fifo; unsigned int close_delay; unsigned int closing_wait; @@ -28615,7 +30730,6 @@ struct hvc_struct { spinlock_t lock; int index; int do_wakeup; - char *outbuf; int outbuf_size; int n_outbuf; uint32_t vtermno; @@ -28626,6 +30740,7 @@ struct hvc_struct { struct work_struct tty_resize; struct list_head next; long unsigned int flags; + u8 outbuf[0]; }; struct hw_perf_event_extra { @@ -28649,6 +30764,10 @@ struct hw_perf_event { struct hw_perf_event_extra extra_reg; struct hw_perf_event_extra branch_reg; }; + struct { + u64 aux_config; + unsigned int aux_paused; + }; struct { struct hrtimer hrtimer; }; @@ -28764,6 +30883,18 @@ struct hwtstamp_config { int rx_filter; }; +struct hwtstamp_provider_desc { + int index; + enum hwtstamp_provider_qualifier qualifier; +}; + +struct hwtstamp_provider { + struct callback_head callback_head; + enum hwtstamp_source source; + struct phy_device *phydev; + struct hwtstamp_provider_desc desc; +}; + struct iattr { unsigned int ia_valid; umode_t ia_mode; @@ -29333,7 +31464,7 @@ struct in_device { }; struct in_ifaddr { - struct hlist_node hash; + struct hlist_node addr_lst; struct in_ifaddr *ifa_next; struct in_device *ifa_dev; struct callback_head callback_head; @@ -29379,9 +31510,14 @@ struct ipv6_stable_secret { }; struct ipv6_devconf { - __s32 forwarding; + __u8 __cacheline_group_begin__ipv6_devconf_read_txrx[0]; + __s32 disable_ipv6; __s32 hop_limit; __s32 mtu6; + __s32 forwarding; + __s32 disable_policy; + __s32 proxy_ndp; + __u8 __cacheline_group_end__ipv6_devconf_read_txrx[0]; __s32 accept_ra; __s32 accept_redirects; __s32 autoconf; @@ -29396,6 +31532,7 @@ struct ipv6_devconf { __s32 use_tempaddr; __s32 temp_valid_lft; __s32 temp_prefered_lft; + __s32 regen_min_advance; __s32 regen_max_retry; __s32 max_desync_factor; __s32 max_addresses; @@ -29405,10 +31542,8 @@ struct ipv6_devconf { __s32 accept_ra_min_lft; __s32 accept_ra_pinfo; __s32 ignore_routes_with_linkdown; - __s32 proxy_ndp; __s32 accept_source_route; __s32 accept_ra_from_local; - __s32 disable_ipv6; __s32 drop_unicast_in_l2_multicast; __s32 accept_dad; __s32 force_tllao; @@ -29423,13 +31558,14 @@ struct ipv6_devconf { __s32 seg6_enabled; __u32 enhanced_dad; __u32 addr_gen_mode; - __s32 disable_policy; __s32 ndisc_tclass; __s32 rpl_seg_enabled; __u32 ioam6_id; __u32 ioam6_id_wide; __u8 ioam6_enabled; __u8 ndisc_evict_nocarrier; + __u8 ra_honor_pio_life; + __u8 ra_honor_pio_pflag; struct ctl_table_header *sysctl_header; }; @@ -29495,6 +31631,7 @@ struct inet6_fill_args { int netnsid; int ifindex; enum addr_type_t type; + bool force_rt_scope_universe; }; struct inet6_ifaddr { @@ -29534,6 +31671,7 @@ struct inet6_protocol { int (*handler)(struct sk_buff *); int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int, __be32); unsigned int flags; + u32 secret; }; struct inet6_skb_parm { @@ -29553,14 +31691,11 @@ struct inet_bind2_bucket { possible_net_t ib_net; int l3mdev; short unsigned int port; - short unsigned int family; - union { - struct in6_addr v6_rcv_saddr; - __be32 rcv_saddr; - }; + short unsigned int addr_type; + struct in6_addr v6_rcv_saddr; struct hlist_node node; + struct hlist_node bhash_node; struct hlist_head owners; - struct hlist_head deathrow; }; struct inet_bind_bucket { @@ -29575,7 +31710,7 @@ struct inet_bind_bucket { short unsigned int fast_sk_family; bool fast_ipv6_only; struct hlist_node node; - struct hlist_head owners; + struct hlist_head bhash2; }; struct inet_bind_hashbucket { @@ -29666,12 +31801,9 @@ struct sock_reuseport; struct sock { struct sock_common __sk_common; - struct dst_entry *sk_rx_dst; - int sk_rx_dst_ifindex; - u32 sk_rx_dst_cookie; - socket_lock_t sk_lock; + __u8 __cacheline_group_begin__sock_write_rx[0]; atomic_t sk_drops; - int sk_rcvlowat; + __s32 sk_peek_off; struct sk_buff_head sk_error_queue; struct sk_buff_head sk_receive_queue; struct { @@ -29680,18 +31812,39 @@ struct sock { struct sk_buff *head; struct sk_buff *tail; } sk_backlog; - int sk_forward_alloc; - u32 sk_reserved_mem; + __u8 __cacheline_group_end__sock_write_rx[0]; + __u8 __cacheline_group_begin__sock_read_rx[0]; + struct dst_entry *sk_rx_dst; + int sk_rx_dst_ifindex; + u32 sk_rx_dst_cookie; unsigned int sk_ll_usec; unsigned int sk_napi_id; + u16 sk_busy_poll_budget; + u8 sk_prefer_busy_poll; + u8 sk_userlocks; int sk_rcvbuf; - int sk_disconnects; struct sk_filter *sk_filter; union { struct socket_wq *sk_wq; struct socket_wq *sk_wq_raw; }; - struct dst_entry *sk_dst_cache; + void (*sk_data_ready)(struct sock *); + long int sk_rcvtimeo; + int sk_rcvlowat; + __u8 __cacheline_group_end__sock_read_rx[0]; + __u8 __cacheline_group_begin__sock_read_rxtx[0]; + int sk_err; + struct socket *sk_socket; + struct mem_cgroup *sk_memcg; + __u8 __cacheline_group_end__sock_read_rxtx[0]; + __u8 __cacheline_group_begin__sock_write_rxtx[0]; + socket_lock_t sk_lock; + u32 sk_reserved_mem; + int sk_forward_alloc; + u32 sk_tsflags; + __u8 __cacheline_group_end__sock_write_rxtx[0]; + __u8 __cacheline_group_begin__sock_write_tx[0]; + int sk_write_pending; atomic_t sk_omem_alloc; int sk_sndbuf; int sk_wmem_queued; @@ -29702,63 +31855,57 @@ struct sock { struct rb_root tcp_rtx_queue; }; struct sk_buff_head sk_write_queue; - __s32 sk_peek_off; - int sk_write_pending; - __u32 sk_dst_pending_confirm; + u32 sk_dst_pending_confirm; u32 sk_pacing_status; - long int sk_sndtimeo; + struct page_frag sk_frag; struct timer_list sk_timer; - __u32 sk_priority; - __u32 sk_mark; long unsigned int sk_pacing_rate; + atomic_t sk_zckey; + atomic_t sk_tskey; + __u8 __cacheline_group_end__sock_write_tx[0]; + __u8 __cacheline_group_begin__sock_read_tx[0]; long unsigned int sk_max_pacing_rate; - struct page_frag sk_frag; + long int sk_sndtimeo; + u32 sk_priority; + u32 sk_mark; + struct dst_entry *sk_dst_cache; netdev_features_t sk_route_caps; - int sk_gso_type; + u16 sk_gso_type; + u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; - __u32 sk_txhash; + u32 sk_txhash; + u8 sk_pacing_shift; + bool sk_use_task_frag; + __u8 __cacheline_group_end__sock_read_tx[0]; u8 sk_gso_disabled: 1; u8 sk_kern_sock: 1; u8 sk_no_check_tx: 1; u8 sk_no_check_rx: 1; - u8 sk_userlocks: 4; - u8 sk_pacing_shift; + u8 sk_shutdown; u16 sk_type; u16 sk_protocol; - u16 sk_gso_max_segs; long unsigned int sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; - int sk_err; int sk_err_soft; u32 sk_ack_backlog; u32 sk_max_ack_backlog; kuid_t sk_uid; - u8 sk_txrehash; - u8 sk_prefer_busy_poll; - u16 sk_busy_poll_budget; spinlock_t sk_peer_lock; int sk_bind_phc; struct pid *sk_peer_pid; const struct cred *sk_peer_cred; - long int sk_rcvtimeo; ktime_t sk_stamp; - atomic_t sk_tskey; - atomic_t sk_zckey; - u32 sk_tsflags; - u8 sk_shutdown; + int sk_disconnects; + u8 sk_txrehash; u8 sk_clockid; u8 sk_txtime_deadline_mode: 1; u8 sk_txtime_report_errors: 1; u8 sk_txtime_unused: 6; - bool sk_use_task_frag; - struct socket *sk_socket; void *sk_user_data; struct sock_cgroup_data sk_cgrp_data; - struct mem_cgroup *sk_memcg; void (*sk_state_change)(struct sock *); - void (*sk_data_ready)(struct sock *); void (*sk_write_space)(struct sock *); void (*sk_error_report)(struct sock *); int (*sk_backlog_rcv)(struct sock *, struct sk_buff *); @@ -29767,7 +31914,7 @@ struct sock { struct bpf_local_storage *sk_bpf_storage; struct callback_head sk_rcu; netns_tracker ns_tracker; - struct hlist_node sk_bind2_node; + struct xarray sk_user_frags; }; struct inet_cork { @@ -29780,8 +31927,9 @@ struct inet_cork { u8 tx_flags; __u8 ttl; __s16 tos; - char priority; + u32 priority; __u16 gso_size; + u32 ts_opt_id; u64 transmit_time; u32 mark; }; @@ -29813,10 +31961,7 @@ struct inet_sock { int uc_index; int mc_index; __be32 mc_addr; - struct { - __u16 lo; - __u16 hi; - } local_port_range; + u32 local_port_range; struct ip_mc_socklist *mc_list; struct inet_cork_full cork; }; @@ -29869,7 +32014,9 @@ struct inet_connection_sock { __u8 quick; __u8 pingpong; __u8 retry; - __u32 ato; + __u32 ato: 8; + __u32 lrcv_flowlabel: 20; + __u32 unused: 4; long unsigned int timeout; __u32 lrcvtime; __u16 last_seg_size; @@ -29895,7 +32042,6 @@ struct inet_connection_sock_af_ops { int (*conn_request)(struct sock *, struct sk_buff *); struct sock * (*syn_recv_sock)(const struct sock *, struct sk_buff *, struct request_sock *, struct dst_entry *, struct request_sock *, bool *); u16 net_header_len; - u16 net_frag_header_len; u16 sockaddr_len; int (*setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); int (*getsockopt)(struct sock *, int, int, char *, int *); @@ -29909,8 +32055,6 @@ struct inet_diag_bc_op { short unsigned int no; }; -struct bpf_sk_storage_diag; - struct inet_diag_dump_data { struct nlattr *req_nlas[4]; struct bpf_sk_storage_diag *bpf_stg_diag; @@ -29932,6 +32076,7 @@ struct inet_diag_req_v2; struct inet_diag_msg; struct inet_diag_handler { + struct module *owner; void (*dump)(struct sk_buff *, struct netlink_callback *, const struct inet_diag_req_v2 *); int (*dump_one)(struct netlink_callback *, const struct inet_diag_req_v2 *); void (*idiag_get_info)(struct sock *, struct inet_diag_msg *, void *); @@ -30247,19 +32392,20 @@ struct inet_timewait_death_row { struct inet_timewait_sock { struct sock_common __tw_common; __u32 tw_mark; - volatile unsigned char tw_substate; + unsigned char tw_substate; unsigned char tw_rcv_wscale; __be16 tw_sport; unsigned int tw_transparent: 1; unsigned int tw_flowlabel: 20; - unsigned int tw_pad: 3; + unsigned int tw_usec_ts: 1; + unsigned int tw_pad: 2; unsigned int tw_tos: 8; u32 tw_txhash; u32 tw_priority; + u32 tw_entry_stamp; struct timer_list tw_timer; struct inet_bind_bucket *tw_tb; struct inet_bind2_bucket *tw_tb2; - struct hlist_node tw_bind2_node; }; struct init_sccb { @@ -30269,6 +32415,8 @@ struct init_sccb { u8 masks[4084]; }; +struct inode_operations; + struct inode { umode_t i_mode; short unsigned int i_opflags; @@ -30285,15 +32433,19 @@ struct inode { }; dev_t i_rdev; loff_t i_size; - struct timespec64 i_atime; - struct timespec64 i_mtime; - struct timespec64 __i_ctime; + time64_t i_atime_sec; + time64_t i_mtime_sec; + time64_t i_ctime_sec; + u32 i_atime_nsec; + u32 i_mtime_nsec; + u32 i_ctime_nsec; + u32 i_generation; spinlock_t i_lock; short unsigned int i_bytes; u8 i_blkbits; - u8 i_write_hint; + enum rw_hint i_write_hint; blkcnt_t i_blocks; - long unsigned int i_state; + u32 i_state; struct rw_semaphore i_rwsem; long unsigned int dirtied_when; long unsigned int dirtied_time_when; @@ -30317,14 +32469,16 @@ struct inode { }; struct file_lock_context *i_flctx; struct address_space i_data; - struct list_head i_devices; + union { + struct list_head i_devices; + int i_linklen; + }; union { struct pipe_inode_info *i_pipe; struct cdev *i_cdev; char *i_link; unsigned int i_dir_seq; }; - __u32 i_generation; void *i_private; }; @@ -30386,8 +32540,13 @@ struct internal_container { struct request; +struct rq_list { + struct request *head; + struct request *tail; +}; + struct io_comp_batch { - struct request *req_list; + struct rq_list req_list; bool need_ts; void (*complete)(struct io_comp_batch *); }; @@ -30412,7 +32571,7 @@ struct tm_orb { u32 lpm: 8; char: 7; u32 x: 1; - u32 tcw; + dma32_t tcw; u32 prio: 8; short: 8; u32 rsvpgm: 8; @@ -30469,83 +32628,8 @@ struct io_tlb_mem { struct io_tlb_slot { phys_addr_t orig_addr; size_t alloc_size; - unsigned int list; -}; - -struct io_uring_sqe; - -struct io_uring_cmd { - struct file *file; - const struct io_uring_sqe *sqe; - union { - void (*task_work_cb)(struct io_uring_cmd *, unsigned int); - void *cookie; - }; - u32 cmd_op; - u32 flags; - u8 pdu[32]; -}; - -struct io_uring_sqe { - __u8 opcode; - __u8 flags; - __u16 ioprio; - __s32 fd; - union { - __u64 off; - __u64 addr2; - struct { - __u32 cmd_op; - __u32 __pad1; - }; - }; - union { - __u64 addr; - __u64 splice_off_in; - }; - __u32 len; - union { - __kernel_rwf_t rw_flags; - __u32 fsync_flags; - __u16 poll_events; - __u32 poll32_events; - __u32 sync_range_flags; - __u32 msg_flags; - __u32 timeout_flags; - __u32 accept_flags; - __u32 cancel_flags; - __u32 open_flags; - __u32 statx_flags; - __u32 fadvise_advice; - __u32 splice_flags; - __u32 rename_flags; - __u32 unlink_flags; - __u32 hardlink_flags; - __u32 xattr_flags; - __u32 msg_ring_flags; - __u32 uring_cmd_flags; - }; - __u64 user_data; - union { - __u16 buf_index; - __u16 buf_group; - }; - __u16 personality; - union { - __s32 splice_fd_in; - __u32 file_index; - struct { - __u16 addr_len; - __u16 __pad3[1]; - }; - }; - union { - struct { - __u64 addr3; - __u64 __pad2[1]; - }; - __u8 cmd[0]; - }; + short unsigned int list; + short unsigned int pad_slots; }; struct ioam6_hdr { @@ -30623,8 +32707,6 @@ struct ioam6_trace_hdr { struct iommu_group {}; -struct iommu_ops {}; - struct iovec { void *iov_base; __kernel_size_t iov_len; @@ -30634,14 +32716,9 @@ struct kvec; struct iov_iter { u8 iter_type; - bool copy_mc; bool nofault; bool data_source; - bool user_backed; - union { - size_t iov_offset; - int last_offset; - }; + size_t iov_offset; union { struct iovec __ubuf_iovec; struct { @@ -30649,6 +32726,7 @@ struct iov_iter { const struct iovec *__iov; const struct kvec *kvec; const struct bio_vec *bvec; + const struct folio_queue *folioq; struct xarray *xarray; void *ubuf; }; @@ -30657,6 +32735,7 @@ struct iov_iter { }; union { long unsigned int nr_segs; + u8 folioq_slot; loff_t xarray_start; }; }; @@ -30729,12 +32808,6 @@ struct ip6_ra_chain { void (*destructor)(struct sock *); }; -struct ip6_rt_info { - struct in6_addr daddr; - struct in6_addr saddr; - u_int32_t mark; -}; - struct ip6_sf_list { struct ip6_sf_list *sf_next; struct in6_addr sf_addr; @@ -30840,6 +32913,8 @@ struct ip_mc_list { char loaded; unsigned char gsquery; unsigned char crcount; + long unsigned int mca_cstamp; + long unsigned int mca_tstamp; struct callback_head rcu; }; @@ -30904,13 +32979,6 @@ struct ip_reply_arg { kuid_t uid; }; -struct ip_rt_info { - __be32 daddr; - __be32 saddr; - u_int8_t tos; - u_int32_t mark; -}; - struct ip_sf_list { struct ip_sf_list *sf_next; long unsigned int sf_count[2]; @@ -30949,13 +33017,13 @@ struct iphdr { }; }; -struct ip_tunnel_parm { +struct ip_tunnel_parm_kern { char name[16]; - int link; - __be16 i_flags; - __be16 o_flags; + long unsigned int i_flags[1]; + long unsigned int o_flags[1]; __be32 i_key; __be32 o_key; + int link; struct iphdr iph; }; @@ -30984,7 +33052,7 @@ struct ip_tunnel { u8 dir; u16 hwid; struct dst_cache dst_cache; - struct ip_tunnel_parm parms; + struct ip_tunnel_parm_kern parms; int mlink; int encap_hlen; int hlen; @@ -31016,11 +33084,11 @@ struct ip_tunnel_key { struct in6_addr dst; } ipv6; } u; - __be16 tun_flags; - u8 tos; - u8 ttl; + long unsigned int tun_flags[1]; __be32 label; u32 nhid; + u8 tos; + u8 ttl; __be16 tp_src; __be16 tp_dst; __u8 flow_flags; @@ -31044,6 +33112,16 @@ struct ip_tunnel_net { int type; }; +struct ip_tunnel_parm { + char name[16]; + int link; + __be16 i_flags; + __be16 o_flags; + __be32 i_key; + __be32 o_key; + struct iphdr iph; +}; + struct ip_tunnel_prl { __be32 addr; __u16 flags; @@ -31105,6 +33183,8 @@ struct sockcm_cookie { u64 transmit_time; u32 mark; u32 tsflags; + u32 ts_opt_id; + u32 priority; }; struct ipcm6_cookie { @@ -31124,7 +33204,6 @@ struct ipcm_cookie { __u8 protocol; __u8 ttl; __s16 tos; - char priority; __u16 gso_size; }; @@ -31135,6 +33214,7 @@ struct ipfrag_skb_cb { }; struct sk_buff *next_frag; int frag_run_len; + int ip_defrag_offset; }; struct ipl_info { @@ -31298,7 +33378,7 @@ struct ipq { }; struct ipstats_mib { - u64 mibs[37]; + u64 mibs[38]; struct u64_stats_sync syncp; }; @@ -31312,9 +33392,10 @@ struct udp_table; struct ipv6_bpf_stub { int (*inet6_bind)(struct sock *, struct sockaddr *, int, u32); - struct sock * (*udp6_lib_lookup)(struct net *, const struct in6_addr *, __be16, const struct in6_addr *, __be16, int, int, struct udp_table *, struct sk_buff *); + struct sock * (*udp6_lib_lookup)(const struct net *, const struct in6_addr *, __be16, const struct in6_addr *, __be16, int, int, struct udp_table *, struct sk_buff *); int (*ipv6_setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); int (*ipv6_getsockopt)(struct sock *, int, int, sockptr_t, sockptr_t); + int (*ipv6_dev_get_saddr)(struct net *, const struct net_device *, const struct in6_addr *, unsigned int, struct in6_addr *); }; struct ipv6_fl_socklist { @@ -31353,11 +33434,8 @@ struct ipv6_pinfo { const struct in6_addr *daddr_cache; __be32 flow_label; __u32 frag_size; - __s16 hop_limit: 9; - __u16 __unused_1: 7; - __s16 mcast_hops: 9; - __u16 __unused_2: 6; - __u16 mc_loop: 1; + s16 hop_limit; + u8 mcast_hops; int ucast_oif; int mcast_oif; union { @@ -31380,18 +33458,8 @@ struct ipv6_pinfo { } bits; __u16 all; } rxopt; - __u16 recverr: 1; - __u16 sndflow: 1; - __u16 repflow: 1; - __u16 pmtudisc: 3; - __u16 padding: 1; - __u16 srcprefs: 3; - __u16 dontfrag: 1; - __u16 autoflowlabel: 1; - __u16 autoflowlabel_set: 1; - __u16 mc_all: 1; - __u16 recverr_rfc4884: 1; - __u16 rtalert_isolate: 1; + __u8 srcprefs; + __u8 pmtudisc; __u8 min_hopcount; __u8 tclass; __be32 rcv_flowinfo; @@ -31479,11 +33547,12 @@ struct ipv6_stub { void (*fib6_update_sernum)(struct net *, struct fib6_info *); int (*ip6_del_rt)(struct net *, struct fib6_info *, bool); void (*fib6_rt_update)(struct net *, struct fib6_info *, struct nl_info *); - void (*udpv6_encap_enable)(); + void (*udpv6_encap_enable)(void); void (*ndisc_send_na)(struct net_device *, const struct in6_addr *, const struct in6_addr *, bool, bool, bool, bool); struct neigh_table *nd_tbl; int (*ipv6_fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *)); struct net_device * (*ipv6_dev_find)(struct net *, const struct in6_addr *, struct net_device *); + int (*ip6_xmit)(const struct sock *, struct sk_buff *, struct flowi6 *, __u32, struct ipv6_txoptions *, int, u32); }; struct ipv6_txoptions { @@ -31591,7 +33660,6 @@ struct irq_chip_regs { long unsigned int ack; long unsigned int eoi; long unsigned int type; - long unsigned int polarity; }; struct irq_desc; @@ -31619,8 +33687,6 @@ struct irq_chip_generic { unsigned int irq_base; unsigned int irq_cnt; u32 mask_cache; - u32 type_cache; - u32 polarity_cache; u32 wake_enabled; u32 wake_active; unsigned int num_ct; @@ -31650,19 +33716,21 @@ struct irq_common_data { struct irq_data { u32 mask; unsigned int irq; - long unsigned int hwirq; + irq_hw_number_t hwirq; struct irq_common_data *common; struct irq_chip *chip; struct irq_domain *domain; void *chip_data; }; +struct irqstat; + struct irqaction; struct irq_desc { struct irq_common_data irq_common_data; struct irq_data irq_data; - unsigned int *kstat_irqs; + struct irqstat *kstat_irqs; irq_flow_handler_t handle_irq; struct irqaction *action; unsigned int status_use_accessors; @@ -31738,6 +33806,7 @@ struct irq_domain { struct irq_domain_chip_generic *gc; struct device *dev; struct device *pm_dev; + void (*exit)(struct irq_domain *); irq_hw_number_t hwirq_max; unsigned int revmap_size; struct xarray revmap_tree; @@ -31750,6 +33819,7 @@ struct irq_domain_chip_generic { unsigned int irq_flags_to_clear; unsigned int irq_flags_to_set; enum irq_gc_flags gc_flags; + void (*exit)(struct irq_chip_generic *); struct irq_chip_generic *gc[0]; }; @@ -31770,7 +33840,7 @@ struct irq_fwspec { }; struct irq_stat { - unsigned int irqs[33]; + unsigned int irqs[34]; }; typedef irqreturn_t (*irq_handler_t)(int, void *); @@ -31820,6 +33890,10 @@ struct irqentry_state { typedef struct irqentry_state irqentry_state_t; +struct irqstat { + unsigned int cnt; +}; + struct tcw; struct itcw { @@ -31837,7 +33911,7 @@ struct itimerspec64 { }; struct iucv_array { - u32 address; + dma32_t address; u32 length; }; @@ -31858,11 +33932,11 @@ struct iucv_cmd_db { u8 iprcode; u32 ipmsgid; u32 iptrgcls; - u32 ipbfadr1; + dma32_t ipbfadr1; u32 ipbfln1f; u32 ipsrccls; u32 ipmsgtag; - u32 ipbfadr2; + dma32_t ipbfadr2; u32 ipbfln2f; u32 res; }; @@ -31876,7 +33950,7 @@ struct iucv_cmd_dpl { u8 iprmmsg[8]; u32 ipsrccls; u32 ipmsgtag; - u32 ipbfadr2; + dma32_t ipbfadr2; u32 ipbfln2f; u32 res; }; @@ -31931,7 +34005,7 @@ struct iucv_interface { int (*path_sever)(struct iucv_path *, u8 *); int (*iucv_register)(struct iucv_handler *, int); void (*iucv_unregister)(struct iucv_handler *, int); - struct bus_type *bus; + const struct bus_type *bus; struct device *root; }; @@ -32094,7 +34168,7 @@ typedef void __signalfn_t(int); typedef __signalfn_t *__sighandler_t; -typedef void __restorefn_t(); +typedef void __restorefn_t(void); typedef __restorefn_t *__sigrestore_t; @@ -32180,6 +34254,8 @@ struct kbsentry { unsigned char kb_string[512]; }; +struct kcsan_scoped_access {}; + struct kernel_clone_args { u64 flags; int *pidfd; @@ -32202,6 +34278,7 @@ struct kernel_clone_args { void *fn_arg; struct cgroup *cgrp; struct css_set *cset; + unsigned int kill_seq; }; struct kernel_cpustat { @@ -32216,15 +34293,37 @@ struct kernel_ethtool_ringparam { u32 cqe_size; u32 tx_push_buf_len; u32 tx_push_buf_max_len; + u32 hds_thresh; + u32 hds_thresh_max; }; -struct kernel_fpu { - u32 mask; +struct kernel_ethtool_ts_info { + u32 cmd; + u32 so_timestamping; + int phc_index; + enum hwtstamp_provider_qualifier phc_qualifier; + enum hwtstamp_tx_types tx_types; + enum hwtstamp_rx_filters rx_filters; +}; + +struct kernel_fpu_hdr { + int mask; u32 fpc; - union { - freg_t fprs[16]; - __vector128 vxrs[32]; - }; +}; + +struct kernel_fpu { + struct kernel_fpu_hdr hdr; + __vector128 vxrs[0]; +}; + +struct kernel_fpu_16 { + struct kernel_fpu_hdr hdr; + __vector128 vxrs[16]; +}; + +struct kernel_fpu_8 { + struct kernel_fpu_hdr hdr; + __vector128 vxrs[8]; }; struct kernel_hwtstamp_config { @@ -32234,6 +34333,7 @@ struct kernel_hwtstamp_config { struct ifreq *ifr; bool copied_to_user; enum hwtstamp_source source; + enum hwtstamp_provider_qualifier qualifier; }; struct kernel_param_ops; @@ -32285,6 +34385,19 @@ struct kernel_symbol { const char *namespace; }; +struct xattr_name; + +struct kernel_xattr_ctx { + union { + const void *cvalue; + void *value; + }; + void *kvalue; + size_t size; + struct xattr_name *kname; + unsigned int flags; +}; + struct kernfs_open_node; struct kernfs_ops; @@ -32319,16 +34432,17 @@ struct kernfs_node { struct rb_node rb; const void *ns; unsigned int hash; + short unsigned int flags; + umode_t mode; union { struct kernfs_elem_dir dir; struct kernfs_elem_symlink symlink; struct kernfs_elem_attr attr; }; - void *priv; u64 id; - short unsigned int flags; - umode_t mode; + void *priv; struct kernfs_iattrs *iattr; + struct callback_head rcu; }; struct vm_operations_struct; @@ -32362,21 +34476,7 @@ struct kernfs_ops { ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t); __poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *); int (*mmap)(struct kernfs_open_file *, struct vm_area_struct *); -}; - -struct kexec_load_limit { - struct mutex mutex; - int limit; -}; - -struct kexec_segment { - union { - void *buf; - void *kbuf; - }; - size_t bufsz; - long unsigned int mem; - size_t memsz; + loff_t (*llseek)(struct kernfs_open_file *, loff_t, int); }; struct key_vector { @@ -32426,33 +34526,6 @@ struct kfree_rcu_cpu { int nr_bkv_objs; }; -struct kimage_arch { - void *ipl_buf; -}; - -struct kimage { - kimage_entry_t head; - kimage_entry_t *entry; - kimage_entry_t *last_entry; - long unsigned int start; - struct page *control_code_page; - struct page *swap_page; - void *vmcoreinfo_data_copy; - long unsigned int nr_segments; - struct kexec_segment segment[16]; - struct list_head control_pages; - struct list_head dest_pages; - struct list_head unusable_pages; - long unsigned int control_page; - unsigned int type: 1; - unsigned int preserve_context: 1; - unsigned int file_mode: 1; - struct kimage_arch arch; - void *elf_headers; - long unsigned int elf_headers_sz; - long unsigned int elf_load_addr; -}; - struct wait_page_queue; struct kiocb { @@ -32487,6 +34560,8 @@ struct kmalloced_param { struct kmap_ctrl {}; +typedef struct kmem_cache *kmem_buckets[14]; + struct reciprocal_value { u32 m; u8 sh1; @@ -32519,6 +34594,20 @@ struct kmem_cache { struct kmem_cache_node *node[1]; }; +struct kmem_cache_args { + unsigned int align; + unsigned int useroffset; + unsigned int usersize; + unsigned int freeptr_offset; + bool use_freeptr_offset; + void (*ctor)(void *); +}; + +union kmem_cache_iter_priv { + struct bpf_iter_kmem_cache it; + struct bpf_iter_kmem_cache_kern kit; +}; + struct kmem_cache_node { spinlock_t list_lock; long unsigned int nr_partial; @@ -32540,10 +34629,10 @@ struct kobj_map { struct kobj_ns_type_operations { enum kobj_ns_type type; - bool (*current_may_mount)(); - void * (*grab_current_ns)(); + bool (*current_may_mount)(void); + void * (*grab_current_ns)(void); const void * (*netlink_ns)(struct sock *); - const void * (*initial_ns)(); + const void * (*initial_ns)(void); void (*drop_ns)(void *); }; @@ -32613,13 +34702,13 @@ struct prev_kprobe { struct kprobe_ctlblk { long unsigned int kprobe_status; long unsigned int kprobe_saved_imask; - long unsigned int kprobe_saved_ctl[3]; + struct ctlreg kprobe_saved_ctl[3]; struct prev_kprobe prev_kprobe; }; struct kprobe_insn_cache { struct mutex mutex; - void * (*alloc)(); + void * (*alloc)(void); void (*free)(void *); const char *sym; struct list_head pages; @@ -32645,6 +34734,8 @@ struct kretprobe_instance; typedef int (*kretprobe_handler_t)(struct kretprobe_instance *, struct pt_regs *); +struct rethook; + struct kretprobe { struct kprobe kp; kretprobe_handler_t handler; @@ -32660,6 +34751,14 @@ struct kretprobe_blackpoint { void *addr; }; +struct rethook_node { + struct callback_head rcu; + struct llist_node llist; + struct rethook *rethook; + long unsigned int ret_addr; + long unsigned int frame; +}; + struct kretprobe_instance { struct rethook_node node; char data[0]; @@ -32711,9 +34810,14 @@ struct kstat { struct timespec64 btime; u64 blocks; u64 mnt_id; + u64 change_cookie; + u64 subvol; u32 dio_mem_align; u32 dio_offset_align; - u64 change_cookie; + u32 dio_read_offset_align; + u32 atomic_write_unit_min; + u32 atomic_write_unit_max; + u32 atomic_write_segments_max; }; struct kstatfs { @@ -32731,6 +34835,62 @@ struct kstatfs { long int f_spare[4]; }; +struct statmount { + __u32 size; + __u32 mnt_opts; + __u64 mask; + __u32 sb_dev_major; + __u32 sb_dev_minor; + __u64 sb_magic; + __u32 sb_flags; + __u32 fs_type; + __u64 mnt_id; + __u64 mnt_parent_id; + __u32 mnt_id_old; + __u32 mnt_parent_id_old; + __u64 mnt_attr; + __u64 mnt_propagation; + __u64 mnt_peer_group; + __u64 mnt_master; + __u64 propagate_from; + __u32 mnt_root; + __u32 mnt_point; + __u64 mnt_ns_id; + __u32 fs_subtype; + __u32 sb_source; + __u32 opt_num; + __u32 opt_array; + __u32 opt_sec_num; + __u32 opt_sec_array; + __u64 __spare2[46]; + char str[0]; +}; + +struct seq_file { + char *buf; + size_t size; + size_t from; + size_t count; + size_t pad_until; + loff_t index; + loff_t read_pos; + struct mutex lock; + const struct seq_operations *op; + int poll_event; + const struct file *file; + void *private; +}; + +struct kstatmount { + struct statmount *buf; + size_t bufsize; + struct vfsmount *mnt; + u64 mask; + struct path root; + struct statmount sm; + struct seq_file seq; +}; + struct ktermios { tcflag_t c_iflag; tcflag_t c_oflag; @@ -32745,12 +34905,17 @@ struct ktermios { struct kthread { long unsigned int flags; unsigned int cpu; + unsigned int node; + int started; int result; int (*threadfn)(void *); void *data; struct completion parked; struct completion exited; char *full_name; + struct task_struct *task; + struct list_head hotplug_node; + struct cpumask *preferred_affinity; }; struct kthread_create_info { @@ -32795,12 +34960,6 @@ struct kthread_worker { struct kthread_work *current_work; }; -struct ktime_timestamps { - u64 mono; - u64 boot; - u64 real; -}; - struct kvfree_rcu_bulk_data { struct list_head list; struct rcu_gp_oldstate gp_snap; @@ -32973,6 +35132,13 @@ struct ldsem_waiter { struct task_struct *task; }; +struct lease_manager_operations { + bool (*lm_break)(struct file_lease *); + int (*lm_change)(struct file_lease *, int, struct list_head *); + void (*lm_setup)(struct file_lease *, void **); + bool (*lm_breaker_owns_lease)(struct file_lease *); +}; + struct legacy_fs_context { char *legacy_data; size_t data_size; @@ -33007,6 +35173,20 @@ struct link_mode_info { u8 duplex; }; +struct linked_reg { + u8 frameno; + union { + u8 spi; + u8 regno; + }; + bool is_reg; +}; + +struct linked_regs { + int cnt; + struct linked_reg entries[6]; +}; + struct linkinfo_reply_data { struct ethnl_reply_data base; struct ethtool_link_ksettings ksettings; @@ -33047,13 +35227,15 @@ struct rlimit { struct linux_binprm { struct vm_area_struct *vma; long unsigned int vma_pages; + long unsigned int argmin; struct mm_struct *mm; long unsigned int p; - long unsigned int argmin; unsigned int have_execfd: 1; unsigned int execfd_creds: 1; unsigned int secureexec: 1; unsigned int point_of_no_return: 1; + unsigned int comm_from_dentry: 1; + unsigned int is_check: 1; struct file *executable; struct file *interpreter; struct file *file; @@ -33093,7 +35275,7 @@ struct linux_dirent64 { }; struct linux_mib { - long unsigned int mibs[127]; + long unsigned int mibs[133]; }; struct node_descriptor { @@ -33136,12 +35318,12 @@ struct list_lru { struct list_lru_one { struct list_head list; long int nr_items; + spinlock_t lock; }; struct list_lru_node { - spinlock_t lock; struct list_lru_one lru; - long int nr_items; + atomic_long_t nr_items; long: 64; long: 64; long: 64; @@ -33197,12 +35379,13 @@ struct load_info { unsigned int vers; unsigned int info; unsigned int pcpu; + unsigned int vers_ext_crc; + unsigned int vers_ext_name; } index; }; struct local_ports { - seqlock_t lock; - int range[2]; + u32 range; bool warned; }; @@ -33212,12 +35395,8 @@ struct lock_manager_operations { void (*lm_put_owner)(fl_owner_t); void (*lm_notify)(struct file_lock *); int (*lm_grant)(struct file_lock *, int); - bool (*lm_break)(struct file_lock *); - int (*lm_change)(struct file_lock *, int, struct list_head *); - void (*lm_setup)(struct file_lock *, void **); - bool (*lm_breaker_owns_lease)(struct file_lock *); bool (*lm_lock_expirable)(struct file_lock *); - void (*lm_expire_lock)(); + void (*lm_expire_lock)(void); }; struct logic_pio_host_ops { @@ -33229,7 +35408,7 @@ struct logic_pio_host_ops { struct logic_pio_hwaddr { struct list_head list; - struct fwnode_handle *fwnode; + const struct fwnode_handle *fwnode; resource_size_t hw_start; resource_size_t io_start; resource_size_t size; @@ -33316,10 +35495,10 @@ struct lowcore { psw_t program_new_psw; psw_t mcck_new_psw; psw_t io_new_psw; - __u64 save_area_sync[8]; - __u64 save_area_async[8]; + __u64 save_area[8]; + __u8 pad_0x0240[64]; __u64 save_area_restart[1]; - __u64 cpu_flags; + __u64 pcpu; psw_t return_psw; psw_t return_mcck_psw; __u64 last_break; @@ -33349,8 +35528,8 @@ struct lowcore { __u64 restart_data; __u32 restart_source; __u32 restart_flags; - __u64 kernel_asce; - __u64 user_asce; + struct ctlreg kernel_asce; + struct ctlreg user_asce; __u32 lpp; __u32 current_pid; __u32 cpu_nr; @@ -33358,12 +35537,11 @@ struct lowcore { __s32 preempt_count; __u32 spinlock_lockval; __u32 spinlock_index; - __u32 fpu_flags; + __u8 pad_0x03b4[4]; __u64 percpu_offset; __u8 pad_0x03c0[8]; __u64 machine_flags; - __u64 gmap; - __u8 pad_0x03d8[40]; + __u8 pad_0x03d0[48]; __u32 return_lpswe; __u32 return_mcck_lpswe; __u8 pad_0x040a[2552]; @@ -33388,7 +35566,7 @@ struct lowcore { __u32 clock_comp_save_area[2]; __u64 last_break_save_area; __u32 access_regs_save_area[16]; - __u64 cregs_save_area[16]; + struct ctlreg cregs_save_area[16]; __u8 pad_0x1400[256]; __u64 ccd; __u64 aicd; @@ -33412,51 +35590,21 @@ struct lpm_trie_node; struct lpm_trie { struct bpf_map map; struct lpm_trie_node *root; + struct bpf_mem_alloc ma; size_t n_entries; size_t max_prefixlen; size_t data_size; - spinlock_t lock; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; + raw_spinlock_t lock; }; struct lpm_trie_node { - struct callback_head rcu; struct lpm_trie_node *child[2]; u32 prefixlen; u32 flags; u8 data[0]; }; -struct lru_rotate { - local_lock_t lock; - struct folio_batch fbatch; -}; +struct zswap_lruvec_state {}; struct lruvec { struct list_head lists[5]; @@ -33466,6 +35614,19 @@ struct lruvec { atomic_long_t nonresident_age; long unsigned int refaults[2]; long unsigned int flags; + struct zswap_lruvec_state zswap_lruvec_state; +}; + +struct lsm_context { + char *context; + u32 len; + int id; +}; + +struct lwq { + spinlock_t lock; + struct llist_node *ready; + struct llist_head new; }; struct lwtunnel_encap_ops { @@ -33491,25 +35652,6 @@ struct lwtunnel_state { __u8 data[0]; }; -struct maple_enode; - -struct maple_tree; - -struct maple_alloc; - -struct ma_state { - struct maple_tree *tree; - long unsigned int index; - long unsigned int last; - struct maple_enode *node; - long unsigned int min; - long unsigned int max; - struct maple_alloc *alloc; - unsigned char depth; - unsigned char offset; - unsigned char mas_flags; -}; - struct ma_topiary { struct maple_enode *head; struct maple_enode *tail; @@ -33525,7 +35667,6 @@ struct ma_wr_state { long unsigned int r_max; enum maple_type type; unsigned char offset_end; - unsigned char node_end; long unsigned int *pivots; long unsigned int end_piv; void **slots; @@ -33588,7 +35729,6 @@ struct maple_arange_64 { }; struct maple_big_node { - struct maple_pnode *parent; long unsigned int pivot[33]; union { struct maple_enode *slot[34]; @@ -33773,11 +35913,12 @@ struct mdio_device { struct device dev; struct mii_bus *bus; char modalias[32]; - int (*bus_match)(struct device *, struct device_driver *); + int (*bus_match)(struct device *, const struct device_driver *); void (*device_free)(struct mdio_device *); void (*device_remove)(struct mdio_device *); int addr; int flags; + int reset_state; struct gpio_desc *reset_gpio; struct reset_control *reset_ctrl; unsigned int reset_assert_delay; @@ -33795,7 +35936,7 @@ typedef struct pglist_data pg_data_t; struct mem_cgroup_reclaim_cookie { pg_data_t *pgdat; - unsigned int generation; + int generation; }; struct quota_format_type; @@ -33820,7 +35961,8 @@ struct mem_section { }; struct mem_section_usage { - long unsigned int subsection_map[2]; + struct callback_head rcu; + long unsigned int subsection_map[1]; long unsigned int pageblock_flags[0]; }; @@ -33860,6 +36002,8 @@ struct memdev { }; struct memory_notify { + long unsigned int altmap_start_pfn; + long unsigned int altmap_nr_pages; long unsigned int start_pfn; long unsigned int nr_pages; int status_change_nid_normal; @@ -33897,6 +36041,7 @@ struct migration_target_control { int nid; nodemask_t *nmask; gfp_t gfp_mask; + enum migrate_reason reason; }; struct phy_package_shared; @@ -33935,24 +36080,26 @@ struct mii_bus { struct mii_timestamper { bool (*rxtstamp)(struct mii_timestamper *, struct sk_buff *, int); void (*txtstamp)(struct mii_timestamper *, struct sk_buff *, int); - int (*hwtstamp)(struct mii_timestamper *, struct ifreq *); + int (*hwtstamp)(struct mii_timestamper *, struct kernel_hwtstamp_config *, struct netlink_ext_ack *); void (*link_state)(struct mii_timestamper *, struct phy_device *); - int (*ts_info)(struct mii_timestamper *, struct ethtool_ts_info *); + int (*ts_info)(struct mii_timestamper *, struct kernel_ethtool_ts_info *); struct device *device; }; -struct min_heap { - void *data; - int nr; - int size; +struct min_heap_callbacks { + bool (*less)(const void *, const void *, void *); + void (*swp)(void *, void *, void *); }; -struct min_heap_callbacks { - int elem_size; - bool (*less)(const void *, const void *); - void (*swp)(void *, void *); +struct min_heap_char { + size_t nr; + size_t size; + char *data; + char preallocated[0]; }; +typedef struct min_heap_char min_heap_char; + struct tcf_proto; struct mini_Qdisc { @@ -34073,7 +36220,6 @@ struct mm_struct { long: 64; }; struct maple_tree mm_mt; - long unsigned int (*get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); long unsigned int mmap_base; long unsigned int mmap_legacy_base; long unsigned int task_size; @@ -34084,7 +36230,7 @@ struct mm_struct { spinlock_t page_table_lock; struct rw_semaphore mmap_lock; struct list_head mmlist; - int mm_lock_seq; + seqcount_t mm_lock_seq; long unsigned int hiwater_rss; long unsigned int hiwater_vm; long unsigned int total_vm; @@ -34119,35 +36265,6 @@ struct mm_struct { struct work_struct async_put_work; long: 64; long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; long unsigned int cpu_bitmap[0]; }; @@ -34179,6 +36296,7 @@ struct mm_walk_ops { int (*test_walk)(long unsigned int, long unsigned int, struct mm_walk *); int (*pre_vma)(long unsigned int, long unsigned int, struct mm_walk *); void (*post_vma)(struct mm_walk *); + int (*install_pte)(long unsigned int, long unsigned int, pte_t *, struct mm_walk *); enum page_walk_lock walk_lock; }; @@ -34191,6 +36309,45 @@ struct mmap_arg_struct { long unsigned int offset; }; +struct vma_munmap_struct { + struct vma_iterator *vmi; + struct vm_area_struct *vma; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct list_head *uf; + long unsigned int start; + long unsigned int end; + long unsigned int unmap_start; + long unsigned int unmap_end; + int vma_count; + bool unlock; + bool clear_ptes; + long unsigned int nr_pages; + long unsigned int locked_vm; + long unsigned int nr_accounted; + long unsigned int exec_vm; + long unsigned int stack_vm; + long unsigned int data_vm; +}; + +struct mmap_state { + struct mm_struct *mm; + struct vma_iterator *vmi; + long unsigned int addr; + long unsigned int end; + long unsigned int pgoff; + long unsigned int pglen; + long unsigned int flags; + struct file *file; + long unsigned int charged; + bool retry_merge; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct vma_munmap_struct vms; + struct ma_state mas_detach; + struct maple_tree mt_detach; +}; + struct mmap_unlock_irq_work { struct irq_work irq_work; struct mm_struct *mm; @@ -34248,8 +36405,36 @@ struct mmu_table_batch { void *tables[0]; }; +struct mnt_id_req { + __u32 size; + __u32 spare; + __u64 mnt_id; + __u64 param; + __u64 mnt_ns_id; +}; + +struct uid_gid_extent { + u32 first; + u32 lower_first; + u32 count; +}; + +struct uid_gid_map { + union { + struct { + struct uid_gid_extent extent[5]; + u32 nr_extents; + }; + struct { + struct uid_gid_extent *forward; + struct uid_gid_extent *reverse; + }; + }; +}; + struct mnt_idmap { - struct user_namespace *owner; + struct uid_gid_map uid_map; + struct uid_gid_map gid_map; refcount_t count; }; @@ -34258,15 +36443,30 @@ struct mount; struct mnt_namespace { struct ns_common ns; struct mount *root; - struct list_head list; - spinlock_t ns_lock; + struct { + struct rb_root mounts; + struct rb_node *mnt_last_node; + struct rb_node *mnt_first_node; + }; struct user_namespace *user_ns; struct ucounts *ucounts; u64 seq; - wait_queue_head_t poll; + union { + wait_queue_head_t poll; + struct callback_head mnt_ns_rcu; + }; u64 event; - unsigned int mounts; + unsigned int nr_mounts; unsigned int pending_mounts; + struct rb_node mnt_ns_tree_node; + struct list_head mnt_ns_list; + refcount_t passive; +}; + +struct mnt_ns_info { + __u32 size; + __u32 nr_mounts; + __u64 mnt_ns_id; }; struct mnt_pcp { @@ -34332,6 +36532,8 @@ struct module_kobject { struct module_memory { void *base; + void *rw_copy; + bool is_rox; unsigned int size; struct mod_tree_node mtn; }; @@ -34344,8 +36546,6 @@ typedef struct tracepoint * const tracepoint_ptr_t; struct module_attribute; -struct srcu_struct; - struct trace_event_call; struct trace_eval_map; @@ -34360,18 +36560,18 @@ struct module { const char *srcversion; struct kobject *holders_dir; const struct kernel_symbol *syms; - const s32 *crcs; + const u32 *crcs; unsigned int num_syms; struct kernel_param *kp; unsigned int num_kp; unsigned int num_gpl_syms; const struct kernel_symbol *gpl_syms; - const s32 *gpl_crcs; + const u32 *gpl_crcs; bool using_gplonly_symbols; bool async_probe_requested; unsigned int num_exentries; struct exception_table_entry *extable; - int (*init)(); + int (*init)(void); long: 64; long: 64; long: 64; @@ -34419,7 +36619,9 @@ struct module { unsigned int num_bpf_raw_events; struct bpf_raw_event_map *bpf_raw_events; unsigned int btf_data_size; + unsigned int btf_base_data_size; void *btf_data; + void *btf_base_data; unsigned int num_trace_bprintk_fmt; const char **trace_bprintk_fmt_start; struct trace_event_call **trace_events; @@ -34449,20 +36651,12 @@ struct module { long: 64; long: 64; long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct module_attribute { struct attribute attr; - ssize_t (*show)(struct module_attribute *, struct module_kobject *, char *); - ssize_t (*store)(struct module_attribute *, struct module_kobject *, const char *, size_t); + ssize_t (*show)(const struct module_attribute *, struct module_kobject *, char *); + ssize_t (*store)(const struct module_attribute *, struct module_kobject *, const char *, size_t); void (*setup)(struct module *, const char *); int (*test)(struct module *); void (*free)(struct module *); @@ -34511,6 +36705,7 @@ struct mount { struct dentry *mnt_mountpoint; struct vfsmount mnt; union { + struct rb_node mnt_node; struct callback_head mnt_rcu; struct llist_node mnt_llist; }; @@ -34533,6 +36728,7 @@ struct mount { }; struct list_head mnt_umounting; int mnt_id; + u64 mnt_id_unique; int mnt_group_id; int mnt_expiry_mark; struct hlist_head mnt_pins; @@ -34601,7 +36797,7 @@ struct msghdr { __kernel_size_t msg_controllen; struct kiocb *msg_iocb; struct ubuf_info *msg_ubuf; - int (*sg_from_iter)(struct sock *, struct sk_buff *, struct iov_iter *, size_t); + int (*sg_from_iter)(struct sk_buff *, struct iov_iter *, size_t); }; struct msi_msg { @@ -34689,6 +36885,10 @@ struct multiprocess_signals { struct hlist_node node; }; +typedef struct mutex *class_mutex_t; + +typedef class_mutex_t class_mutex_intr_t; + struct ww_acquire_ctx; struct mutex_waiter { @@ -34729,7 +36929,7 @@ struct n_tty_data { struct name_snapshot { struct qstr name; - unsigned char inline_name[32]; + union shortname_store inline_name; }; struct saved { @@ -34756,6 +36956,7 @@ struct nameidata { struct saved *stack; struct saved internal[2]; struct filename *name; + const char *pathname; struct nameidata *saved; unsigned int root_seq; int dfd; @@ -34764,26 +36965,25 @@ struct nameidata { }; struct page_frag_cache { - void *va; - __u16 offset; - __u16 size; - unsigned int pagecnt_bias; - bool pfmemalloc; -}; - -struct page_frag_1k { - void *va; - u16 offset; - bool pfmemalloc; + long unsigned int encoded_page; + __u32 offset; + __u32 pagecnt_bias; }; struct napi_alloc_cache { + local_lock_t bh_lock; struct page_frag_cache page; - struct page_frag_1k page_small; unsigned int skb_count; void *skb_cache[64]; }; +struct napi_config { + u64 gro_flush_timeout; + u64 irq_suspend_timeout; + u32 defer_hard_irqs; + unsigned int napi_id; +}; + struct napi_gro_cb { union { struct { @@ -34797,9 +36997,9 @@ struct napi_gro_cb { }; int data_offset; u16 flush; - u16 flush_id; u16 count; u16 proto; + u16 pad; union { struct { u16 gro_remcsum_start; @@ -34810,7 +37010,7 @@ struct napi_gro_cb { u8 free: 2; u8 is_ipv6: 1; u8 is_fou: 1; - u8 is_atomic: 1; + u8 ip_fixedid: 1; u8 recursion_counter: 4; u8 is_flist: 1; }; @@ -34823,12 +37023,26 @@ struct napi_gro_cb { u8 free: 2; u8 is_ipv6: 1; u8 is_fou: 1; - u8 is_atomic: 1; + u8 ip_fixedid: 1; u8 recursion_counter: 4; u8 is_flist: 1; } zeroed; }; __wsum csum; + union { + struct { + u16 network_offset; + u16 inner_network_offset; + }; + u16 network_offsets[2]; + }; +}; + +struct nbcon_write_context { + struct nbcon_context ctxt; + char *outbuf; + unsigned int len; + bool unsafe_takeover; }; struct nd_msg { @@ -34854,7 +37068,6 @@ struct ndisc_options; struct prefix_info; struct ndisc_ops { - int (*is_useropt)(u8); int (*parse_options)(const struct net_device *, struct nd_opt_hdr *, struct ndisc_options *); void (*update)(const struct net_device *, struct neighbour *, u32, u8, const struct ndisc_options *); int (*opt_addr_space)(const struct net_device *, u8, struct neighbour *, u8 *, u8 **); @@ -34878,6 +37091,11 @@ struct ndmsg { __u8 ndm_type; }; +struct ndo_fdb_dump_context { + long unsigned int ifindex; + long unsigned int fdb_idx; +}; + struct ndt_config { __u16 ndtc_key_len; __u16 ndtc_entry_size; @@ -34927,7 +37145,7 @@ struct neigh_dump_filter { }; struct neigh_hash_table { - struct neighbour **hash_buckets; + struct hlist_head *hash_heads; unsigned int hash_shift; __u32 hash_rnd[4]; struct callback_head rcu; @@ -35012,7 +37230,8 @@ struct neigh_table { }; struct neighbour { - struct neighbour *next; + struct hlist_node hash; + struct hlist_node dev_list; struct neigh_table *tbl; struct neigh_parms *parms; long unsigned int confirmed; @@ -35062,7 +37281,9 @@ struct raw_notifier_head { struct netns_core { struct ctl_table_header *sysctl_hdr; int sysctl_somaxconn; + int sysctl_optmem_max; u8 sysctl_txrehash; + u8 sysctl_tstamp_allow_data; }; struct tcp_mib; @@ -35104,6 +37325,53 @@ struct ping_group_range { }; struct netns_ipv4 { + __u8 __cacheline_group_begin__netns_ipv4_read_tx[0]; + u8 sysctl_tcp_early_retrans; + u8 sysctl_tcp_tso_win_divisor; + u8 sysctl_tcp_tso_rtt_log; + u8 sysctl_tcp_autocorking; + int sysctl_tcp_min_snd_mss; + unsigned int sysctl_tcp_notsent_lowat; + int sysctl_tcp_limit_output_bytes; + int sysctl_tcp_min_rtt_wlen; + int sysctl_tcp_wmem[3]; + u8 sysctl_ip_fwd_use_pmtu; + __u8 __cacheline_group_end__netns_ipv4_read_tx[0]; + __u8 __cacheline_group_begin__netns_ipv4_read_txrx[0]; + u8 sysctl_tcp_moderate_rcvbuf; + __u8 __cacheline_group_end__netns_ipv4_read_txrx[0]; + __u8 __cacheline_group_begin__netns_ipv4_read_rx[0]; + u8 sysctl_ip_early_demux; + u8 sysctl_tcp_early_demux; + u8 sysctl_tcp_l3mdev_accept; + int sysctl_tcp_reordering; + int sysctl_tcp_rmem[3]; + __u8 __cacheline_group_end__netns_ipv4_read_rx[0]; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; struct inet_timewait_death_row tcp_death_row; struct udp_table *udp_table; struct ipv4_devconf *devconf_all; @@ -35125,6 +37393,10 @@ struct netns_ipv4 { u8 sysctl_icmp_errors_use_inbound_ifaddr; int sysctl_icmp_ratelimit; int sysctl_icmp_ratemask; + int sysctl_icmp_msgs_per_sec; + int sysctl_icmp_msgs_burst; + atomic_t icmp_global_credit; + u32 icmp_global_stamp; u32 ip_rt_min_pmtu; int ip_rt_mtu_expires; int ip_rt_min_advmss; @@ -35133,13 +37405,10 @@ struct netns_ipv4 { u8 sysctl_tcp_ecn_fallback; u8 sysctl_ip_default_ttl; u8 sysctl_ip_no_pmtu_disc; - u8 sysctl_ip_fwd_use_pmtu; u8 sysctl_ip_fwd_update_priority; u8 sysctl_ip_nonlocal_bind; u8 sysctl_ip_autobind_reuse; u8 sysctl_ip_dynaddr; - u8 sysctl_ip_early_demux; - u8 sysctl_tcp_early_demux; u8 sysctl_udp_early_demux; u8 sysctl_nexthop_compat_mode; u8 sysctl_fwmark_reflect; @@ -35147,7 +37416,6 @@ struct netns_ipv4 { u8 sysctl_tcp_mtu_probing; int sysctl_tcp_mtu_probe_floor; int sysctl_tcp_base_mss; - int sysctl_tcp_min_snd_mss; int sysctl_tcp_probe_threshold; u32 sysctl_tcp_probe_interval; int sysctl_tcp_keepalive_time; @@ -35158,17 +37426,18 @@ struct netns_ipv4 { u8 sysctl_tcp_syncookies; u8 sysctl_tcp_migrate_req; u8 sysctl_tcp_comp_sack_nr; - int sysctl_tcp_reordering; + u8 sysctl_tcp_backlog_ack_defer; + u8 sysctl_tcp_pingpong_thresh; u8 sysctl_tcp_retries1; u8 sysctl_tcp_retries2; u8 sysctl_tcp_orphan_retries; u8 sysctl_tcp_tw_reuse; + unsigned int sysctl_tcp_tw_reuse_delay; int sysctl_tcp_fin_timeout; - unsigned int sysctl_tcp_notsent_lowat; u8 sysctl_tcp_sack; u8 sysctl_tcp_window_scaling; u8 sysctl_tcp_timestamps; - u8 sysctl_tcp_early_retrans; + int sysctl_tcp_rto_min_us; u8 sysctl_tcp_recovery; u8 sysctl_tcp_thin_linear_timeouts; u8 sysctl_tcp_slow_start_after_idle; @@ -35184,21 +37453,13 @@ struct netns_ipv4 { u8 sysctl_tcp_frto; u8 sysctl_tcp_nometrics_save; u8 sysctl_tcp_no_ssthresh_metrics_save; - u8 sysctl_tcp_moderate_rcvbuf; - u8 sysctl_tcp_tso_win_divisor; u8 sysctl_tcp_workaround_signed_windows; - int sysctl_tcp_limit_output_bytes; int sysctl_tcp_challenge_ack_limit; - int sysctl_tcp_min_rtt_wlen; u8 sysctl_tcp_min_tso_segs; - u8 sysctl_tcp_tso_rtt_log; - u8 sysctl_tcp_autocorking; u8 sysctl_tcp_reflect_tos; int sysctl_tcp_invalid_ratelimit; int sysctl_tcp_pacing_ss_ratio; int sysctl_tcp_pacing_ca_ratio; - int sysctl_tcp_wmem[3]; - int sysctl_tcp_rmem[3]; unsigned int sysctl_tcp_child_ehash_entries; long unsigned int sysctl_tcp_comp_sack_delay_ns; long unsigned int sysctl_tcp_comp_sack_slack_ns; @@ -35233,6 +37494,32 @@ struct netns_ipv4 { unsigned int ipmr_seq; atomic_t rt_genid; siphash_key_t ip_id_key; + struct hlist_head *inet_addr_lst; + struct delayed_work addr_chk_work; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; long: 64; long: 64; long: 64; @@ -35323,16 +37610,6 @@ struct netns_ipv6 { long: 64; }; -struct nf_logger; - -struct nf_hook_entries; - -struct netns_nf { - const struct nf_logger *nf_loggers[11]; - struct nf_hook_entries *hooks_ipv4[5]; - struct nf_hook_entries *hooks_ipv6[5]; -}; - struct netns_bpf { struct bpf_prog_array *run_array[2]; struct bpf_prog *progs[2]; @@ -35346,13 +37623,13 @@ struct net_generic; struct net { refcount_t passive; spinlock_t rules_mod_lock; - atomic_t dev_unreg_count; unsigned int dev_base_seq; u32 ifindex; spinlock_t nsid_lock; atomic_t fnhe_genid; struct list_head list; struct list_head exit_list; + struct llist_node defer_free_list; struct llist_node cleanup_list; struct user_namespace *user_ns; struct ucounts *ucounts; @@ -35378,16 +37655,42 @@ struct net { struct netns_packet packet; struct netns_nexthop nexthop; long: 64; - long: 64; struct netns_ipv4 ipv4; struct netns_ipv6 ipv6; - struct netns_nf nf; struct net_generic *gen; struct netns_bpf bpf; u64 net_cookie; struct sock *diag_nlsk; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; }; +struct netdev_tc_txq { + u16 count; + u16 offset; +}; + +typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **); + struct net_device_stats { union { long unsigned int rx_packets; @@ -35489,77 +37792,121 @@ struct netdev_hw_addr_list { struct rb_root tree; }; -typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **); +struct sfp_bus; -struct pcpu_dstats; +struct udp_tunnel_nic; -struct netdev_tc_txq { - u16 count; - u16 offset; -}; +struct net_device_ops; -struct sfp_bus; +struct xps_dev_maps; -struct udp_tunnel_nic; +struct pcpu_lstats; -struct netdev_name_node; +struct pcpu_sw_netstats; -struct net_device_ops; +struct pcpu_dstats; + +struct netdev_rx_queue; + +struct netdev_name_node; struct xdp_metadata_ops; -struct net_device_core_stats; +struct xsk_tx_metadata_ops; -struct netdev_rx_queue; +struct net_device_core_stats; struct xdp_dev_bulk_queue; -struct xps_dev_maps; +struct netdev_stat_ops; -struct pcpu_lstats; +struct netdev_queue_mgmt_ops; -struct pcpu_sw_netstats; +struct phy_link_topology; struct udp_tunnel_nic_info; +struct netdev_config; + struct rtnl_hw_stats64; struct net_device { + __u8 __cacheline_group_begin__net_device_read_tx[0]; + union { + struct { + long unsigned int priv_flags: 32; + long unsigned int lltx: 1; + }; + struct { + long unsigned int priv_flags: 32; + long unsigned int lltx: 1; + } priv_flags_fast; + }; + const struct net_device_ops *netdev_ops; + const struct header_ops *header_ops; + struct netdev_queue *_tx; + netdev_features_t gso_partial_features; + unsigned int real_num_tx_queues; + unsigned int gso_max_size; + unsigned int gso_ipv4_max_size; + u16 gso_max_segs; + s16 num_tc; + unsigned int mtu; + short unsigned int needed_headroom; + struct netdev_tc_txq tc_to_txq[16]; + struct xps_dev_maps *xps_maps[2]; + struct bpf_mprog_entry *tcx_egress; + __u8 __cacheline_group_end__net_device_read_tx[0]; + __u8 __cacheline_group_begin__net_device_read_txrx[0]; + union { + struct pcpu_lstats *lstats; + struct pcpu_sw_netstats *tstats; + struct pcpu_dstats *dstats; + }; + long unsigned int state; + unsigned int flags; + short unsigned int hard_header_len; + netdev_features_t features; + struct inet6_dev *ip6_ptr; + __u8 __cacheline_group_end__net_device_read_txrx[0]; + __u8 __cacheline_group_begin__net_device_read_rx[0]; + struct bpf_prog *xdp_prog; + struct list_head ptype_specific; + int ifindex; + unsigned int real_num_rx_queues; + struct netdev_rx_queue *_rx; + unsigned int gro_max_size; + unsigned int gro_ipv4_max_size; + rx_handler_func_t *rx_handler; + void *rx_handler_data; + possible_net_t nd_net; + struct bpf_mprog_entry *tcx_ingress; + __u8 __cacheline_group_end__net_device_read_rx[0]; char name[16]; struct netdev_name_node *name_node; struct dev_ifalias *ifalias; long unsigned int mem_end; long unsigned int mem_start; long unsigned int base_addr; - long unsigned int state; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; - struct list_head ptype_specific; struct { struct list_head upper; struct list_head lower; } adj_list; - unsigned int flags; xdp_features_t xdp_features; - long long unsigned int priv_flags; - const struct net_device_ops *netdev_ops; const struct xdp_metadata_ops *xdp_metadata_ops; - int ifindex; + const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; short unsigned int gflags; - short unsigned int hard_header_len; - unsigned int mtu; - short unsigned int needed_headroom; short unsigned int needed_tailroom; - netdev_features_t features; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; - netdev_features_t gso_partial_features; unsigned int min_mtu; unsigned int max_mtu; short unsigned int type; @@ -35572,8 +37919,7 @@ struct net_device { atomic_t carrier_down_count; const struct ethtool_ops *ethtool_ops; const struct ndisc_ops *ndisc_ops; - const struct header_ops *header_ops; - unsigned char operstate; + unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; @@ -35585,9 +37931,9 @@ struct net_device { short unsigned int neigh_priv_len; short unsigned int dev_id; short unsigned int dev_port; - short unsigned int padded; - spinlock_t addr_list_lock; int irq; + u32 priv_len; + spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; @@ -35595,54 +37941,18 @@ struct net_device { unsigned int allmulti; bool uc_promisc; struct in_device *ip_ptr; - struct inet6_dev *ip6_ptr; + struct hlist_head fib_nh_head; const unsigned char *dev_addr; - struct netdev_rx_queue *_rx; unsigned int num_rx_queues; - unsigned int real_num_rx_queues; - struct bpf_prog *xdp_prog; - long unsigned int gro_flush_timeout; - int napi_defer_hard_irqs; - unsigned int gro_max_size; - unsigned int gro_ipv4_max_size; unsigned int xdp_zc_max_segs; - rx_handler_func_t *rx_handler; - void *rx_handler_data; - struct bpf_mprog_entry *tcx_ingress; struct netdev_queue *ingress_queue; - struct nf_hook_entries *nf_hooks_ingress; unsigned char broadcast[32]; struct hlist_node index_hlist; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - struct netdev_queue *_tx; unsigned int num_tx_queues; - unsigned int real_num_tx_queues; struct Qdisc *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue *xdp_bulkq; - struct xps_dev_maps *xps_maps[2]; - struct bpf_mprog_entry *tcx_egress; - struct nf_hook_entries *nf_hooks_egress; struct timer_list watchdog_timer; int watchdog_timeo; u32 proto_down_reason; @@ -35650,14 +37960,7 @@ struct net_device { int *pcpu_refcnt; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; - enum { - NETREG_UNINITIALIZED = 0, - NETREG_REGISTERED = 1, - NETREG_UNREGISTERING = 2, - NETREG_UNREGISTERED = 3, - NETREG_RELEASED = 4, - NETREG_DUMMY = 5, - } reg_state: 8; + u8 reg_state; bool dismantle; enum { RTNL_LINK_INITIALIZED = 0, @@ -35665,35 +37968,34 @@ struct net_device { } rtnl_link_state: 16; bool needs_free_netdev; void (*priv_destructor)(struct net_device *); - possible_net_t nd_net; void *ml_priv; enum netdev_ml_priv_type ml_priv_type; - union { - struct pcpu_lstats *lstats; - struct pcpu_sw_netstats *tstats; - struct pcpu_dstats *dstats; - }; + enum netdev_stat_type pcpu_stat_type: 8; struct device dev; const struct attribute_group *sysfs_groups[4]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; - unsigned int gso_max_size; + const struct netdev_stat_ops *stat_ops; + const struct netdev_queue_mgmt_ops *queue_mgmt_ops; unsigned int tso_max_size; - u16 gso_max_segs; u16 tso_max_segs; - unsigned int gso_ipv4_max_size; - s16 num_tc; - struct netdev_tc_txq tc_to_txq[16]; u8 prio_tc_map[16]; + struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; - unsigned int wol_enabled: 1; - unsigned int threaded: 1; + bool threaded; + long unsigned int see_all_hwtstamp_requests: 1; + long unsigned int change_proto_down: 1; + long unsigned int netns_local: 1; + long unsigned int fcoe_mtu: 1; struct list_head net_notifier_list; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; + struct netdev_config *cfg; + struct netdev_config *cfg_pending; + struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[3]; u8 dev_addr_shadow[32]; netdevice_tracker linkwatch_dev_tracker; @@ -35701,6 +38003,16 @@ struct net_device { netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; + struct hlist_head page_pools; + struct dim_irq_moder *irq_moder; + u64 max_pacing_offload_horizon; + struct napi_config *napi_config; + long unsigned int gro_flush_timeout; + u32 napi_defer_hard_irqs; + bool up; + struct mutex lock; + struct hlist_head neighbours[2]; + struct hwtstamp_provider *hwprov; long: 64; long: 64; long: 64; @@ -35710,6 +38022,7 @@ struct net_device { long: 64; long: 64; long: 64; + u8 priv[0]; }; struct net_device_core_stats { @@ -35784,14 +38097,16 @@ struct net_device_ops { int (*ndo_set_features)(struct net_device *, netdev_features_t); int (*ndo_neigh_construct)(struct net_device *, struct neighbour *); void (*ndo_neigh_destroy)(struct net_device *, struct neighbour *); - int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, struct netlink_ext_ack *); - int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, struct netlink_ext_ack *); - int (*ndo_fdb_del_bulk)(struct ndmsg *, struct nlattr **, struct net_device *, u16, struct netlink_ext_ack *); + int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, bool *, struct netlink_ext_ack *); + int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, bool *, struct netlink_ext_ack *); + int (*ndo_fdb_del_bulk)(struct nlmsghdr *, struct net_device *, struct netlink_ext_ack *); int (*ndo_fdb_dump)(struct sk_buff *, struct netlink_callback *, struct net_device *, struct net_device *, int *); int (*ndo_fdb_get)(struct sk_buff *, struct nlattr **, struct net_device *, const unsigned char *, u16, u32, u32, struct netlink_ext_ack *); int (*ndo_mdb_add)(struct net_device *, struct nlattr **, u16, struct netlink_ext_ack *); int (*ndo_mdb_del)(struct net_device *, struct nlattr **, struct netlink_ext_ack *); + int (*ndo_mdb_del_bulk)(struct net_device *, struct nlattr **, struct netlink_ext_ack *); int (*ndo_mdb_dump)(struct net_device *, struct sk_buff *, struct netlink_callback *); + int (*ndo_mdb_get)(struct net_device *, struct nlattr **, u32, u32, struct netlink_ext_ack *); int (*ndo_bridge_setlink)(struct net_device *, struct nlmsghdr *, u16, struct netlink_ext_ack *); int (*ndo_bridge_getlink)(struct sk_buff *, u32, u32, struct net_device *, u32, int); int (*ndo_bridge_dellink)(struct net_device *, struct nlmsghdr *, u16); @@ -35809,7 +38124,7 @@ struct net_device_ops { int (*ndo_xdp_xmit)(struct net_device *, int, struct xdp_frame **, u32); struct net_device * (*ndo_xdp_get_xmit_slave)(struct net_device *, struct xdp_buff *); int (*ndo_xsk_wakeup)(struct net_device *, u32, u32); - int (*ndo_tunnel_ctl)(struct net_device *, struct ip_tunnel_parm *, int); + int (*ndo_tunnel_ctl)(struct net_device *, struct ip_tunnel_parm_kern *, int); struct net_device * (*ndo_get_peer_dev)(struct net_device *); int (*ndo_fill_forward_path)(struct net_device_path_ctx *, struct net_device_path *); ktime_t (*ndo_get_tstamp)(struct net_device *, const struct skb_shared_hwtstamps *, bool); @@ -35845,6 +38160,7 @@ struct net_device_path { u8 queue; u16 wcid; u8 bss; + u8 amsdu; } mtk_wdma; }; }; @@ -35864,6 +38180,22 @@ struct net_device_path_stack { struct net_device_path path[5]; }; +struct dma_buf; + +struct dma_buf_attachment; + +struct net_devmem_dmabuf_binding { + struct dma_buf *dmabuf; + struct dma_buf_attachment *attachment; + struct sg_table *sgt; + struct net_device *dev; + struct gen_pool *chunk_pool; + refcount_t ref; + struct list_head list; + struct xarray bound_rxqs; + u32 id; +}; + struct net_fill_args { u32 portid; u32 seq; @@ -35893,15 +38225,17 @@ struct offload_callbacks { int (*gro_complete)(struct sk_buff *, int); }; -struct net_offload { +struct packet_offload { + __be16 type; + u16 priority; struct offload_callbacks callbacks; - unsigned int flags; + struct list_head list; }; -struct net_proto_family { - int family; - int (*create)(struct net *, struct socket *, int, int); - struct module *owner; +struct net_offload { + struct offload_callbacks callbacks; + unsigned int flags; + u32 secret; }; struct net_protocol { @@ -35909,6 +38243,52 @@ struct net_protocol { int (*err_handler)(struct sk_buff *, u32); unsigned int no_policy: 1; unsigned int icmp_strict_tag_validation: 1; + u32 secret; +}; + +struct net_hotdata { + struct packet_offload ip_packet_offload; + struct net_offload tcpv4_offload; + struct net_protocol tcp_protocol; + struct net_offload udpv4_offload; + struct net_protocol udp_protocol; + struct packet_offload ipv6_packet_offload; + struct net_offload tcpv6_offload; + struct inet6_protocol tcpv6_protocol; + struct inet6_protocol udpv6_protocol; + struct net_offload udpv6_offload; + struct list_head offload_base; + struct list_head ptype_all; + struct kmem_cache *skbuff_cache; + struct kmem_cache *skbuff_fclone_cache; + struct kmem_cache *skb_small_head_cache; + int gro_normal_batch; + int netdev_budget; + int netdev_budget_usecs; + int tstamp_prequeue; + int max_backlog; + int dev_tx_weight; + int dev_rx_weight; + int sysctl_max_skb_frags; + int sysctl_skb_defer_max; + int sysctl_mem_pcpu_rsv; +}; + +struct dmabuf_genpool_chunk_owner; + +struct net_iov { + long unsigned int __unused_padding; + long unsigned int pp_magic; + struct page_pool *pp; + struct dmabuf_genpool_chunk_owner *owner; + long unsigned int dma_addr; + atomic_long_t pp_ref_count; +}; + +struct net_proto_family { + int family; + int (*create)(struct net *, struct socket *, int, int); + struct module *owner; }; struct net_rate_estimator { @@ -35968,6 +38348,11 @@ struct netdev_bpf { }; }; +struct netdev_config { + u32 hds_thresh; + u8 hds_config; +}; + struct netdev_hw_addr { struct list_head list; struct rb_node node; @@ -35985,6 +38370,7 @@ struct netdev_name_node { struct list_head list; struct net_device *dev; const char *name; + struct callback_head rcu; }; struct netdev_nested_priv { @@ -35997,6 +38383,13 @@ struct netdev_net_notifier { struct notifier_block *nb; }; +struct netdev_nl_dump_ctx { + long unsigned int ifindex; + unsigned int rxq_idx; + unsigned int txq_idx; + unsigned int napi_id; +}; + struct netdev_notifier_info { struct net_device *dev; struct netlink_ext_ack *extack; @@ -36109,7 +38502,7 @@ struct netdev_queue { int xmit_lock_owner; long unsigned int trans_start; long unsigned int state; - long: 64; + struct napi_struct *napi; long: 64; long: 64; long: 64; @@ -36140,6 +38533,46 @@ struct netdev_queue { long: 64; }; +struct netdev_queue_mgmt_ops { + size_t ndo_queue_mem_size; + int (*ndo_queue_mem_alloc)(struct net_device *, void *, int); + void (*ndo_queue_mem_free)(struct net_device *, void *); + int (*ndo_queue_start)(struct net_device *, void *, int); + int (*ndo_queue_stop)(struct net_device *, void *, int); +}; + +struct netdev_queue_stats_rx { + u64 bytes; + u64 packets; + u64 alloc_fail; + u64 hw_drops; + u64 hw_drop_overruns; + u64 csum_unnecessary; + u64 csum_none; + u64 csum_bad; + u64 hw_gro_packets; + u64 hw_gro_bytes; + u64 hw_gro_wire_packets; + u64 hw_gro_wire_bytes; + u64 hw_drop_ratelimits; +}; + +struct netdev_queue_stats_tx { + u64 bytes; + u64 packets; + u64 hw_drops; + u64 hw_drop_errors; + u64 csum_none; + u64 needs_csum; + u64 hw_gso_packets; + u64 hw_gso_bytes; + u64 hw_gso_wire_packets; + u64 hw_gso_wire_bytes; + u64 hw_drop_ratelimits; + u64 stop; + u64 wake; +}; + struct xdp_mem_info { u32 type; u32 id; @@ -36150,7 +38583,6 @@ struct xdp_rxq_info { u32 queue_index; u32 reg_state; struct xdp_mem_info mem; - unsigned int napi_id; u32 frag_size; long: 64; long: 64; @@ -36182,13 +38614,17 @@ struct xdp_rxq_info { long: 64; }; +struct pp_memory_provider_params { + void *mp_priv; +}; + struct netdev_rx_queue { struct xdp_rxq_info xdp_rxq; struct kobject kobj; struct net_device *dev; netdevice_tracker dev_tracker; - long: 64; - long: 64; + struct napi_struct *napi; + struct pp_memory_provider_params mp_params; long: 64; long: 64; long: 64; @@ -36212,6 +38648,18 @@ struct netdev_rx_queue { long: 64; }; +struct netdev_stat_ops { + void (*get_queue_stats_rx)(struct net_device *, int, struct netdev_queue_stats_rx *); + void (*get_queue_stats_tx)(struct net_device *, int, struct netdev_queue_stats_tx *); + void (*get_base_stats)(struct net_device *, struct netdev_queue_stats_rx *, struct netdev_queue_stats_tx *); +}; + +struct netdev_xmit { + u16 recursion; + u8 more; + u8 skip_txqueue; +}; + struct netevent_redirect { struct dst_entry *old; struct dst_entry *new; @@ -36248,6 +38696,7 @@ struct netlink_callback { u32 min_dump_alloc; unsigned int prev_seq; unsigned int seq; + int flags; bool strict_check; union { u8 ctx[48]; @@ -36268,6 +38717,7 @@ struct netlink_dump_control { void *data; struct module *module; u32 min_dump_alloc; + int flags; }; struct netlink_ext_ack { @@ -36285,7 +38735,6 @@ struct netlink_kernel_cfg { unsigned int groups; unsigned int flags; void (*input)(struct sk_buff *); - struct mutex *cb_mutex; int (*bind)(struct net *, int); void (*unbind)(struct net *, int); void (*release)(struct sock *, long unsigned int *); @@ -36356,8 +38805,7 @@ struct netlink_sock { bool cb_running; int dump_done_errno; struct netlink_callback cb; - struct mutex *cb_mutex; - struct mutex cb_def_mutex; + struct mutex nl_cb_mutex; void (*netlink_rcv)(struct sk_buff *); int (*netlink_bind)(struct net *, int); void (*netlink_unbind)(struct net *, int); @@ -36365,7 +38813,6 @@ struct netlink_sock { struct module *module; struct rhash_head node; struct callback_head rcu; - struct work_struct work; }; struct netlink_table { @@ -36428,43 +38875,10 @@ struct nexthop { struct nexthop_grp { __u32 id; __u8 weight; - __u8 resvd1; + __u8 weight_high; __u16 resvd2; }; -struct nf_conntrack; - -struct nf_conntrack_tuple; - -struct nf_ct_hook { - int (*update)(struct net *, struct sk_buff *); - void (*destroy)(struct nf_conntrack *); - bool (*get_tuple_skb)(struct nf_conntrack_tuple *, const struct sk_buff *); - void (*attach)(struct sk_buff *, const struct sk_buff *); - void (*set_closing)(struct nf_conntrack *); -}; - -struct nf_defrag_hook { - struct module *owner; - int (*enable)(struct net *); - void (*disable)(struct net *); -}; - -struct nf_hook_entry { - nf_hookfn *hook; - void *priv; -}; - -struct nf_hook_entries { - u16 num_hook_entries; - struct nf_hook_entry hooks[0]; -}; - -struct nf_hook_entries_rcu_head { - struct callback_head head; - void *allocation; -}; - struct nf_hook_state { u8 hook; u8 pf; @@ -36475,82 +38889,6 @@ struct nf_hook_state { int (*okfn)(struct net *, struct sock *, struct sk_buff *); }; -struct nf_queue_entry; - -struct nf_ipv6_ops { - void (*route_input)(struct sk_buff *); - int (*fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *)); - int (*reroute)(struct sk_buff *, const struct nf_queue_entry *); -}; - -struct nf_log_buf { - unsigned int count; - char buf[1020]; -}; - -struct nf_loginfo; - -typedef void nf_logfn(struct net *, u_int8_t, unsigned int, const struct sk_buff *, const struct net_device *, const struct net_device *, const struct nf_loginfo *, const char *); - -struct nf_logger { - char *name; - enum nf_log_type type; - nf_logfn *logfn; - struct module *me; -}; - -struct nf_loginfo { - u_int8_t type; - union { - struct { - u_int32_t copy_len; - u_int16_t group; - u_int16_t qthreshold; - u_int16_t flags; - } ulog; - struct { - u_int8_t level; - u_int8_t logflags; - } log; - } u; -}; - -struct nf_queue_entry { - struct list_head list; - struct sk_buff *skb; - unsigned int id; - unsigned int hook_index; - struct nf_hook_state state; - u16 size; -}; - -struct nf_queue_handler { - int (*outfn)(struct nf_queue_entry *, unsigned int); - void (*nf_hook_drop)(struct net *); -}; - -struct nf_sockopt_ops { - struct list_head list; - u_int8_t pf; - int set_optmin; - int set_optmax; - int (*set)(struct sock *, int, sockptr_t, unsigned int); - int get_optmin; - int get_optmax; - int (*get)(struct sock *, int, void *, int *); - struct module *owner; -}; - -struct nf_conn; - -struct nfnl_ct_hook { - size_t (*build_size)(const struct nf_conn *); - int (*build)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, u_int16_t, u_int16_t); - int (*parse)(const struct nlattr *, struct nf_conn *); - int (*attach_expect)(const struct nlattr *, struct nf_conn *, u32, u32); - void (*seq_adjust)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, s32); -}; - struct nh_config { u32 nh_id; u8 nh_family; @@ -36572,6 +38910,7 @@ struct nh_config { bool nh_grp_res_has_num_buckets; bool nh_grp_res_has_idle_timer; bool nh_grp_res_has_unbalanced_timer; + bool nh_hw_stats; struct nlattr *nh_encap; u16 nh_encap_type; u32 nlflags; @@ -36585,11 +38924,15 @@ struct nh_dump_filter { bool group_filter; bool fdb_filter; u32 res_bucket_nh_id; + u32 op_flags; }; +struct nh_grp_entry_stats; + struct nh_grp_entry { struct nexthop *nh; - u8 weight; + struct nh_grp_entry_stats *stats; + u16 weight; union { struct { atomic_t upper_bound; @@ -36602,6 +38945,7 @@ struct nh_grp_entry { }; struct list_head nh_list; struct nexthop *nh_parent; + u64 packets_hw; }; struct nh_res_table; @@ -36614,10 +38958,16 @@ struct nh_group { bool resilient; bool fdb_nh; bool has_v4; + bool hw_stats; struct nh_res_table *res_table; struct nh_grp_entry nh_entries[0]; }; +struct nh_grp_entry_stats { + u64_stats_t packets; + struct u64_stats_sync syncp; +}; + struct nh_info { struct hlist_node dev_hash; struct nexthop *nh_parent; @@ -36638,20 +38988,32 @@ struct nh_notifier_single_info { __be32 ipv4; struct in6_addr ipv6; }; + u32 id; u8 is_reject: 1; u8 is_fdb: 1; u8 has_encap: 1; }; struct nh_notifier_grp_entry_info { - u8 weight; - u32 id; + u16 weight; struct nh_notifier_single_info nh; }; +struct nh_notifier_grp_hw_stats_entry_info { + u32 id; + u64 packets; +}; + +struct nh_notifier_grp_hw_stats_info { + u16 num_nh; + bool hw_stats_used; + struct nh_notifier_grp_hw_stats_entry_info stats[0]; +}; + struct nh_notifier_grp_info { u16 num_nh; bool is_fdb; + bool hw_stats; struct nh_notifier_grp_entry_info nh_entries[0]; }; @@ -36669,6 +39031,7 @@ struct nh_notifier_info { struct nh_notifier_grp_info *nh_grp; struct nh_notifier_res_table_info *nh_res_table; struct nh_notifier_res_bucket_info *nh_res_bucket; + struct nh_notifier_grp_hw_stats_info *nh_grp_hw_stats; }; }; @@ -36682,6 +39045,7 @@ struct nh_notifier_res_bucket_info { struct nh_notifier_res_table_info { u16 num_nh_buckets; + bool hw_stats; struct nh_notifier_single_info nhs[0]; }; @@ -36732,8 +39096,8 @@ struct nla_policy { const u32 mask; const char *reject_message; const struct nla_policy *nested_policy; - struct netlink_range_validation *range; - struct netlink_range_validation_signed *range_signed; + const struct netlink_range_validation *range; + const struct netlink_range_validation_signed *range_signed; struct { s16 min; s16 max; @@ -36806,6 +39170,23 @@ struct nsset { const struct cred *cred; }; +struct ntp_data { + long unsigned int tick_usec; + u64 tick_length; + u64 tick_length_base; + int time_state; + int time_status; + s64 time_offset; + long int time_constant; + long int time_maxerror; + long int time_esterror; + s64 time_freq; + time64_t time_reftime; + long int time_adjust; + s64 ntp_tick_adj; + time64_t ntp_next_leap_sec; +}; + union oac { unsigned int val; struct { @@ -36828,6 +39209,33 @@ union oac { }; }; +struct objpool_head; + +typedef int (*objpool_fini_cb)(struct objpool_head *, void *); + +struct objpool_slot; + +struct objpool_head { + int obj_size; + int nr_objs; + int nr_possible_cpus; + int capacity; + gfp_t gfp; + refcount_t ref; + long unsigned int flags; + struct objpool_slot **cpu_slots; + objpool_fini_cb release; + void *context; +}; + +struct objpool_slot { + uint32_t head; + uint32_t tail; + uint32_t last; + uint32_t mask; + void *entries[0]; +}; + struct obs_kernel_param { const char *str; int (*setup_func)(char *); @@ -36842,8 +39250,8 @@ struct of_device_id { }; struct offset_ctx { - struct xarray xa; - u32 next_offset; + struct maple_tree mt; + long unsigned int next_offset; }; struct old_timespec32 { @@ -36922,7 +39330,10 @@ struct optimistic_spin_node { }; struct os_info_entry { - u64 addr; + union { + u64 addr; + u64 val; + }; u64 size; u32 csum; } __attribute__((packed)); @@ -36934,8 +39345,8 @@ struct os_info { u16 version_minor; u64 crashkernel_addr; u64 crashkernel_size; - struct os_info_entry entry[3]; - u8 reserved[4004]; + struct os_info_entry entry[13]; + u8 reserved[3804]; }; struct osnoise_entry { @@ -36950,13 +39361,6 @@ struct osnoise_entry { unsigned int thread_count; }; -struct packet_offload { - __be16 type; - u16 priority; - struct offload_callbacks callbacks; - struct list_head list; -}; - struct packet_type { __be16 type; bool ignore_outgoing; @@ -36980,8 +39384,7 @@ struct page_flags_fields { const char *name; }; -struct page_pool_params { - unsigned int flags; +struct page_pool_params_fast { unsigned int order; unsigned int pool_size; int nid; @@ -36990,13 +39393,11 @@ struct page_pool_params { enum dma_data_direction dma_dir; unsigned int max_len; unsigned int offset; - void (*init_callback)(struct page *, void *); - void *init_arg; }; struct pp_alloc_cache { u32 count; - struct page *cache[128]; + netmem_ref cache[128]; }; struct ptr_ring { @@ -37101,12 +39502,31 @@ struct ptr_ring { long: 64; }; +struct page_pool_params_slow { + struct net_device *netdev; + unsigned int queue_idx; + unsigned int flags; + void (*init_callback)(netmem_ref, void *); + void *init_arg; +}; + struct page_pool { - struct page_pool_params p; + struct page_pool_params_fast p; + int cpuid; + u32 pages_state_hold_cnt; + bool has_init_callback: 1; + bool dma_map: 1; + bool dma_sync: 1; + bool dma_sync_for_cpu: 1; + long: 0; + __u8 __cacheline_group_begin__frag[0]; long int frag_users; - struct page *frag_page; + netmem_ref frag_page; unsigned int frag_offset; - u32 pages_state_hold_cnt; + long: 0; + __u8 __cacheline_group_end__frag[0]; + long: 64; + struct {} __cacheline_group_pad__frag; struct delayed_work release_dw; void (*disconnect)(void *); long unsigned int defer_start; @@ -37117,7 +39537,6 @@ struct page_pool { long: 64; long: 64; long: 64; - long: 64; struct pp_alloc_cache alloc; long: 64; long: 64; @@ -37151,18 +39570,16 @@ struct page_pool { long: 64; long: 64; struct ptr_ring ring; + void *mp_priv; atomic_t pages_state_release_cnt; refcount_t user_cnt; u64 destroy_cnt; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; + struct page_pool_params_slow slow; + struct { + struct hlist_node list; + u64 detach_time; + u32 id; + } user; long: 64; long: 64; long: 64; @@ -37186,6 +39603,37 @@ struct page_pool { long: 64; }; +struct page_pool_dump_cb { + long unsigned int ifindex; + u32 pp_id; +}; + +struct page_pool_params { + union { + struct { + unsigned int order; + unsigned int pool_size; + int nid; + struct device *dev; + struct napi_struct *napi; + enum dma_data_direction dma_dir; + unsigned int max_len; + unsigned int offset; + }; + struct page_pool_params_fast fast; + }; + union { + struct { + struct net_device *netdev; + unsigned int queue_idx; + unsigned int flags; + void (*init_callback)(netmem_ref, void *); + void *init_arg; + }; + struct page_pool_params_slow slow; + }; +}; + struct page_vma_mapped_walk { long unsigned int pfn; long unsigned int nr_pages; @@ -37213,8 +39661,17 @@ struct paicrypt_map { struct pai_userdata *save; unsigned int active_events; refcount_t refcnt; - enum paievt_mode mode; struct perf_event *event; + struct list_head syswide_list; +}; + +struct paicrypt_mapptr { + struct paicrypt_map *mapptr; +}; + +struct paicrypt_root { + refcount_t refcnt; + struct paicrypt_mapptr *mapptr; }; struct paiext_cb { @@ -37227,11 +39684,11 @@ struct paiext_cb { struct paiext_map { long unsigned int *area; struct pai_userdata *save; - enum paievt_mode mode; unsigned int active_events; refcount_t refcnt; struct perf_event *event; struct paiext_cb *paiext_cb; + struct list_head syswide_list; }; struct paiext_mapptr { @@ -37265,9 +39722,9 @@ struct par_sctn { }; struct partial_context { - struct slab **slab; gfp_t flags; unsigned int orig_size; + void *object; }; struct partial_page { @@ -37301,6 +39758,8 @@ struct pci_p2pdma_map_state { struct pcpu { long unsigned int ec_mask; long unsigned int ec_clk; + long unsigned int flags; + long unsigned int capacity; signed char state; signed char polarization; u16 address; @@ -37403,6 +39862,18 @@ struct pcpu_chunk { long: 64; }; +struct pcpu_dstats { + u64_stats_t rx_packets; + u64_stats_t rx_bytes; + u64_stats_t tx_packets; + u64_stats_t tx_bytes; + u64_stats_t rx_drops; + u64_stats_t tx_drops; + struct u64_stats_sync syncp; + long: 64; + long: 64; +}; + struct pcpu_gen_cookie { local_t nesting; u64 last; @@ -37426,21 +39897,24 @@ struct pdev_archdata {}; struct per_cpu_nodestat { s8 stat_threshold; - s8 vm_node_stat_diff[40]; + s8 vm_node_stat_diff[43]; }; struct per_cpu_pages { spinlock_t lock; int count; int high; + int high_min; + int high_max; int batch; - short int free_factor; + u8 flags; + u8 alloc_factor; + short int free_count; struct list_head lists[12]; long: 64; long: 64; long: 64; long: 64; - long: 64; }; struct per_cpu_zonestat { @@ -37460,15 +39934,9 @@ struct per_regs { long unsigned int end; }; -struct swap_cluster_info { - spinlock_t lock; - unsigned int data: 24; - unsigned int flags: 8; -}; - struct percpu_cluster { - struct swap_cluster_info index; - unsigned int next; + local_lock_t lock; + unsigned int next[1]; }; struct percpu_free_defer { @@ -37599,6 +40067,7 @@ struct perf_buffer { atomic_t mmap_count; long unsigned int mmap_locked; struct user_struct *mmap_user; + struct mutex aux_mutex; long int aux_head; unsigned int aux_nest; long int aux_wakeup; @@ -37610,6 +40079,7 @@ struct perf_buffer { void (*free_aux)(void *); refcount_t aux_refcount; int aux_in_sampling; + int aux_in_pause_resume; void **aux_pages; void *aux_priv; struct perf_event_mmap_page *user_page; @@ -37669,7 +40139,7 @@ struct perf_event_context { u64 generation; int pin_count; struct callback_head callback_head; - local_t nr_pending; + local_t nr_no_switch_fast; }; struct perf_cpu_context { @@ -37689,6 +40159,8 @@ struct perf_event_pmu_context { struct list_head flexible_active; unsigned int embedded: 1; unsigned int nr_events; + unsigned int nr_cgroups; + unsigned int nr_freq; atomic_t refcount; struct callback_head callback_head; void *task_ctx_data; @@ -37788,7 +40260,15 @@ struct perf_event_attr { __u16 sample_max_stack; __u16 __reserved_2; __u32 aux_sample_size; - __u32 __reserved_3; + union { + __u32 aux_action; + struct { + __u32 aux_start_paused: 1; + __u32 aux_pause: 1; + __u32 aux_resume: 1; + __u32 __reserved_3: 29; + }; + }; __u64 sig_data; __u64 config3; }; @@ -37846,11 +40326,12 @@ struct perf_event { unsigned int pending_wakeup; unsigned int pending_kill; unsigned int pending_disable; - unsigned int pending_sigtrap; long unsigned int pending_addr; struct irq_work pending_irq; + struct irq_work pending_disable_irq; struct callback_head pending_task; unsigned int pending_work; + struct rcuwait pending_work_wait; atomic_t event_limit; struct perf_addr_filters_head addr_filters; struct perf_addr_filter_range *addr_filter_ranges; @@ -37861,10 +40342,9 @@ struct perf_event { struct pid_namespace *ns; u64 id; atomic64_t lost_samples; - u64 (*clock)(); + u64 (*clock)(void); perf_overflow_handler_t overflow_handler; void *overflow_handler_context; - perf_overflow_handler_t orig_overflow_handler; struct bpf_prog *prog; u64 bpf_cookie; struct trace_event_call *tp_event; @@ -37874,6 +40354,13 @@ struct perf_event { __u32 orig_type; }; +struct perf_event_min_heap { + size_t nr; + size_t size; + struct perf_event **data; + struct perf_event *preallocated[0]; +}; + struct perf_event_mmap_page { __u32 version; __u32 compat_version; @@ -38051,8 +40538,9 @@ struct pernet_operations { void (*pre_exit)(struct net *); void (*exit)(struct net *); void (*exit_batch)(struct list_head *); - unsigned int *id; - size_t size; + void (*exit_batch_rtnl)(struct list_head *, struct list_head *); + unsigned int * const id; + const size_t size; }; struct skb_array { @@ -38067,11 +40555,13 @@ struct zone { long unsigned int _watermark[4]; long unsigned int watermark_boost; long unsigned int nr_reserved_highatomic; + long unsigned int nr_free_highatomic; long int lowmem_reserve[3]; struct pglist_data *zone_pgdat; struct per_cpu_pages *per_cpu_pageset; struct per_cpu_zonestat *per_cpu_zonestats; - int pageset_high; + int pageset_high_min; + int pageset_high_max; int pageset_batch; long unsigned int zone_start_pfn; atomic_long_t managed_pages; @@ -38090,8 +40580,6 @@ struct zone { long: 64; long: 64; long: 64; - long: 64; - long: 64; struct cacheline_padding _pad1_; struct free_area free_area[11]; long unsigned int flags; @@ -38256,10 +40744,7 @@ struct pglist_data { long: 64; struct cacheline_padding _pad2_; struct per_cpu_nodestat *per_cpu_nodestats; - atomic_long_t vm_stat[40]; - long: 64; - long: 64; - long: 64; + atomic_long_t vm_stat[43]; long: 64; long: 64; long: 64; @@ -38302,8 +40787,9 @@ struct phy_driver; struct phy_device { struct mdio_device mdio; - struct phy_driver *drv; + const struct phy_driver *drv; struct device_link *devlink; + u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned int is_c45: 1; @@ -38325,10 +40811,12 @@ struct phy_device { unsigned int interrupts: 1; unsigned int irq_suspended: 1; unsigned int irq_rerun: 1; + unsigned int default_timestamp: 1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; + long unsigned int possible_interfaces[1]; int speed; int duplex; int port; @@ -38343,9 +40831,11 @@ struct phy_device { long unsigned int adv_old[2]; long unsigned int supported_eee[2]; long unsigned int advertising_eee[2]; - bool eee_enabled; + long unsigned int eee_broken_modes[2]; + bool enable_tx_lpi; + bool eee_active; + struct eee_config eee_cfg; long unsigned int host_interfaces[1]; - u32 eee_broken_modes; struct list_head leds; int irq; void *priv; @@ -38369,6 +40859,16 @@ struct phy_device { void (*adjust_link)(struct net_device *); }; +struct phy_device_node { + enum phy_upstream upstream_type; + union { + struct net_device *netdev; + struct phy_device *phydev; + } upstream; + struct sfp_bus *parent_sfp_bus; + struct phy_device *phy; +}; + struct phy_driver { struct mdio_driver_common mdiodrv; u32 phy_id; @@ -38381,6 +40881,8 @@ struct phy_driver { int (*config_init)(struct phy_device *); int (*probe)(struct phy_device *); int (*get_features)(struct phy_device *); + unsigned int (*inband_caps)(struct phy_device *, phy_interface_t); + int (*config_inband)(struct phy_device *, unsigned int); int (*get_rate_matching)(struct phy_device *, phy_interface_t); int (*suspend)(struct phy_device *); int (*resume)(struct phy_device *); @@ -38403,6 +40905,9 @@ struct phy_driver { int (*cable_test_start)(struct phy_device *); int (*cable_test_tdr_start)(struct phy_device *, const struct phy_tdr_config *); int (*cable_test_get_status)(struct phy_device *, bool *); + void (*get_phy_stats)(struct phy_device *, struct ethtool_eth_phy_stats *, struct ethtool_phy_stats *); + void (*get_link_stats)(struct phy_device *, struct ethtool_link_ext_stats *); + int (*update_stats)(struct phy_device *); int (*get_sset_count)(struct phy_device *); void (*get_strings)(struct phy_device *, u8 *); void (*get_stats)(struct phy_device *, struct ethtool_stats *, u64 *); @@ -38419,10 +40924,17 @@ struct phy_driver { int (*led_hw_is_supported)(struct phy_device *, u8, long unsigned int); int (*led_hw_control_set)(struct phy_device *, u8, long unsigned int); int (*led_hw_control_get)(struct phy_device *, u8, long unsigned int *); + int (*led_polarity_set)(struct phy_device *, int, long unsigned int); +}; + +struct phy_link_topology { + struct xarray phys; + u32 next_phy_index; }; struct phy_package_shared { - int addr; + u8 base_addr; + struct device_node *np; refcount_t refcnt; long unsigned int flags; size_t priv_size; @@ -38443,6 +40955,11 @@ struct phy_plca_status { bool pst; }; +struct phy_req_info { + struct ethnl_req_info base; + struct phy_device_node *pdn; +}; + struct phy_tdr_config { u32 first; u32 last; @@ -38470,6 +40987,25 @@ struct physmem_info { struct physmem_range *online_extended; }; +struct pib { + char: 8; + u32 num: 8; + u32 len: 16; + int: 24; + u32 hlen: 8; + long: 64; + u64 intv; + u8 r[0]; +}; + +struct pibdata { + struct pib *pib; + ktime_t expire; + u64 sequence; + size_t len; + int rc; +}; + struct upid { int nr; struct pid_namespace *ns; @@ -38479,6 +41015,9 @@ struct pid { refcount_t count; unsigned int level; spinlock_t lock; + struct dentry *stashed; + u64 ino; + struct rb_node pidfs_node; struct hlist_head tasks[4]; struct hlist_head inodes; wait_queue_head_t wait_pidfd; @@ -38493,11 +41032,30 @@ struct pid_namespace { struct task_struct *child_reaper; struct kmem_cache *pid_cachep; unsigned int level; + int pid_max; struct pid_namespace *parent; struct user_namespace *user_ns; struct ucounts *ucounts; int reboot; struct ns_common ns; + struct work_struct work; +}; + +struct pidfd_info { + __u64 mask; + __u64 cgroupid; + __u32 pid; + __u32 tgid; + __u32 ppid; + __u32 ruid; + __u32 rgid; + __u32 euid; + __u32 egid; + __u32 suid; + __u32 sgid; + __u32 fsuid; + __u32 fsgid; + __u32 spare0[1]; }; struct ping_table { @@ -38539,12 +41097,25 @@ struct pipe_buffer { long unsigned int private; }; +union pipe_index { + long unsigned int head_tail; + struct { + pipe_index_t head; + pipe_index_t tail; + }; +}; + struct pipe_inode_info { struct mutex mutex; wait_queue_head_t rd_wait; wait_queue_head_t wr_wait; - unsigned int head; - unsigned int tail; + union { + long unsigned int head_tail; + struct { + pipe_index_t head; + pipe_index_t tail; + }; + }; unsigned int max_usage; unsigned int ring_size; unsigned int nr_accounted; @@ -38561,6 +41132,11 @@ struct pipe_inode_info { struct user_struct *user; }; +struct pipe_wait { + struct trace_iterator *iter; + int wait_index; +}; + struct mfd_cell; struct platform_device_id; @@ -38603,8 +41179,7 @@ struct platform_device_info { struct platform_driver { int (*probe)(struct platform_device *); - int (*remove)(struct platform_device *); - void (*remove_new)(struct platform_device *); + void (*remove)(struct platform_device *); void (*shutdown)(struct platform_device *); int (*suspend)(struct platform_device *, pm_message_t); int (*resume)(struct platform_device *); @@ -38669,6 +41244,7 @@ struct pmu { const char *name; int type; int capabilities; + unsigned int scope; int *pmu_disable_count; struct perf_cpu_pmu_context *cpu_pmu_context; atomic_t exclusive_cnt; @@ -38725,10 +41301,23 @@ struct pollfd { struct poll_list { struct poll_list *next; - int len; + unsigned int len; struct pollfd entries[0]; }; +struct wait_queue_entry; + +typedef int (*wait_queue_func_t)(struct wait_queue_entry *, unsigned int, int, void *); + +struct wait_queue_entry { + unsigned int flags; + void *private; + wait_queue_func_t func; + struct list_head entry; +}; + +typedef struct wait_queue_entry wait_queue_entry_t; + struct poll_table_entry { struct file *filp; __poll_t key; @@ -38770,9 +41359,10 @@ struct pool_workqueue { int flush_color; int refcnt; int nr_in_flight[16]; + bool plugged; int nr_active; - int max_active; struct list_head inactive_works; + struct list_head pending_node; struct list_head pwqs_node; struct list_head mayday_node; u64 stats[8]; @@ -38806,8 +41396,6 @@ struct pool_workqueue { long: 64; long: 64; long: 64; - long: 64; - long: 64; }; struct port_identity { @@ -38826,8 +41414,8 @@ struct posix_acl_entry { struct posix_acl { refcount_t a_refcount; - struct callback_head a_rcu; unsigned int a_count; + struct callback_head a_rcu; struct posix_acl_entry a_entries[0]; }; @@ -38888,9 +41476,16 @@ struct prefix_info { __u8 type; __u8 length; __u8 prefix_len; - __u8 onlink: 1; - __u8 autoconf: 1; - __u8 reserved: 6; + union { + __u8 flags; + struct { + __u8 onlink: 1; + __u8 autoconf: 1; + __u8 routeraddr: 1; + __u8 preferpd: 1; + __u8 reserved: 4; + }; + }; __be32 valid; __be32 prefered; __be32 reserved2; @@ -38922,11 +41517,10 @@ struct print_entry { }; struct printf_spec { - unsigned int type: 8; - int field_width: 24; - unsigned int flags: 8; - unsigned int base: 8; - int precision: 16; + unsigned char flags; + unsigned char base; + short int precision; + int field_width; }; struct printk_buffers { @@ -38934,30 +41528,6 @@ struct printk_buffers { char scratchbuf[0]; }; -struct printk_info { - u64 seq; - u64 ts_nsec; - u16 text_len; - u8 facility; - u8 flags: 5; - u8 level: 3; - u32 caller_id; - struct dev_printk_info dev_info; -}; - -struct printk_message { - struct printk_buffers *pbufs; - unsigned int outbuf_len; - u64 seq; - long unsigned int dropped; -}; - -struct printk_record { - struct printk_info *info; - char *text_buf; - unsigned int text_buf_size; -}; - struct privflags_reply_data { struct ethnl_reply_data base; const char (*priv_flag_names)[32]; @@ -38988,6 +41558,11 @@ struct probe_arg { const struct fetch_type *type; }; +struct probe_entry_arg { + struct fetch_insn *code; + unsigned int size; +}; + struct proc_ns_operations { const char *name; const char *real_ns_name; @@ -39072,6 +41647,8 @@ struct property_entry { struct smc_hashinfo; +struct proto_accept_arg; + struct sk_psock; struct timewait_sock_ops; @@ -39083,7 +41660,7 @@ struct proto { int (*pre_connect)(struct sock *, struct sockaddr *, int); int (*connect)(struct sock *, struct sockaddr *, int); int (*disconnect)(struct sock *, int); - struct sock * (*accept)(struct sock *, int, int *, bool); + struct sock * (*accept)(struct sock *, struct proto_accept_arg *); int (*ioctl)(struct sock *, int, int *); int (*init)(struct sock *); void (*destroy)(struct sock *); @@ -39141,6 +41718,13 @@ struct proto { int (*diag_destroy)(struct sock *, int); }; +struct proto_accept_arg { + int flags; + int err; + int is_empty; + bool kern; +}; + typedef int (*sk_read_actor_t)(read_descriptor_t *, struct sk_buff *, unsigned int, size_t); typedef int (*skb_read_actor_t)(struct sock *, struct sk_buff *); @@ -39152,7 +41736,7 @@ struct proto_ops { int (*bind)(struct socket *, struct sockaddr *, int); int (*connect)(struct socket *, struct sockaddr *, int, int); int (*socketpair)(struct socket *, struct socket *); - int (*accept)(struct socket *, struct socket *, int, bool); + int (*accept)(struct socket *, struct socket *, struct proto_accept_arg *); int (*getname)(struct socket *, struct sockaddr *, int); __poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *); int (*ioctl)(struct socket *, unsigned int, long unsigned int); @@ -39191,17 +41775,13 @@ struct psched_ratecfg { }; struct pse_control_config { - enum ethtool_podl_pse_admin_state admin_cotrol; -}; - -struct pse_control_status { - enum ethtool_podl_pse_admin_state podl_admin_state; - enum ethtool_podl_pse_pw_d_status podl_pw_status; + enum ethtool_podl_pse_admin_state podl_admin_control; + enum ethtool_c33_pse_admin_state c33_admin_control; }; struct pse_reply_data { struct ethnl_reply_data base; - struct pse_control_status status; + struct ethtool_pse_control_status status; }; struct super_operations; @@ -39210,7 +41790,8 @@ struct xattr_handler; struct pseudo_fs_context { const struct super_operations *ops; - const struct xattr_handler **xattr; + const struct export_operations *eops; + const struct xattr_handler * const *xattr; const struct dentry_operations *dops; long unsigned int magic; }; @@ -39249,6 +41830,7 @@ struct ptdesc { }; long unsigned int __page_mapping; union { + long unsigned int pt_index; struct mm_struct *pt_mm; atomic_t pt_frag_refcount; }; @@ -39257,7 +41839,7 @@ struct ptdesc { spinlock_t ptl; }; unsigned int __page_type; - atomic_t _refcount; + atomic_t __page_refcount; }; struct ptff_qto { @@ -39435,7 +42017,8 @@ struct qpaci_info_block { }; struct queue_limits { - enum blk_bounce bounce; + blk_features_t features; + blk_flags_t flags; long unsigned int seg_boundary_mask; long unsigned int virt_boundary_mask; unsigned int max_hw_sectors; @@ -39444,6 +42027,7 @@ struct queue_limits { unsigned int max_sectors; unsigned int max_user_sectors; unsigned int max_segment_size; + unsigned int min_segment_size; unsigned int physical_block_size; unsigned int logical_block_size; unsigned int alignment_offset; @@ -39451,20 +42035,30 @@ struct queue_limits { unsigned int io_opt; unsigned int max_discard_sectors; unsigned int max_hw_discard_sectors; + unsigned int max_user_discard_sectors; unsigned int max_secure_erase_sectors; unsigned int max_write_zeroes_sectors; + unsigned int max_hw_zone_append_sectors; unsigned int max_zone_append_sectors; unsigned int discard_granularity; unsigned int discard_alignment; unsigned int zone_write_granularity; + unsigned int atomic_write_hw_max; + unsigned int atomic_write_max_sectors; + unsigned int atomic_write_hw_boundary; + unsigned int atomic_write_boundary_sectors; + unsigned int atomic_write_hw_unit_min; + unsigned int atomic_write_unit_min; + unsigned int atomic_write_hw_unit_max; + unsigned int atomic_write_unit_max; short unsigned int max_segments; short unsigned int max_integrity_segments; short unsigned int max_discard_segments; - unsigned char misaligned; - unsigned char discard_misaligned; - unsigned char raid_partial_stripes_expensive; - enum blk_zoned_model zoned; + unsigned int max_open_zones; + unsigned int max_active_zones; unsigned int dma_alignment; + unsigned int dma_pad_mask; + struct blk_integrity integrity; }; struct quota_format_ops { @@ -39536,6 +42130,14 @@ struct ramfs_fs_info { struct ramfs_mount_opts mount_opts; }; +struct range_node { + struct rb_node rn_rbnode; + struct rb_node rb_range_size; + u32 rn_start; + u32 rn_last; + u32 __rn_subtree_last; +}; + struct rate_sample { u64 prior_mstamp; u32 prior_delivered; @@ -39561,8 +42163,8 @@ struct ratelimit_state { int burst; int printed; int missed; + unsigned int flags; long unsigned int begin; - long unsigned int flags; }; struct raw6_frag_vec { @@ -39657,18 +42259,29 @@ struct rb_irq_work { struct irq_work work; wait_queue_head_t waiters; wait_queue_head_t full_waiters; - long int wait_index; + atomic_t seq; bool waiters_pending; bool full_waiters_pending; bool wakeup_full; }; +struct rb_list { + struct rb_root root; + struct list_head head; + spinlock_t lock; +}; + struct rb_time_struct { local64_t time; }; typedef struct rb_time_struct rb_time_t; +struct rb_wait_data { + struct rb_irq_work *irq_work; + int seq; +}; + struct rcu_cblist { struct callback_head *head; struct callback_head **tail; @@ -39724,14 +42337,14 @@ struct rcu_data { long unsigned int n_cbs_invoked; long unsigned int n_force_qs_snap; long int blimit; - int dynticks_snap; + int watching_snap; bool rcu_need_heavy_qs; bool rcu_urgent_qs; bool rcu_forced_tick; bool rcu_forced_tick_exp; long unsigned int barrier_seq_snap; struct callback_head barrier_head; - int exp_dynticks_snap; + int exp_watching_snap; struct task_struct *rcu_cpu_kthread_task; unsigned int rcu_cpu_kthread_status; char rcu_cpu_has_work; @@ -39741,9 +42354,9 @@ struct rcu_data { bool rcu_iw_pending; long unsigned int rcu_iw_gp_seq; long unsigned int rcu_ofl_gp_seq; - short int rcu_ofl_gp_flags; + short int rcu_ofl_gp_state; long unsigned int rcu_onl_gp_seq; - short int rcu_onl_gp_flags; + short int rcu_onl_gp_state; long unsigned int last_fqs_resched; long unsigned int last_sched_clock; struct rcu_snap_record snap_record; @@ -39753,7 +42366,7 @@ struct rcu_data { struct rcu_exp_work { long unsigned int rew_s; - struct work_struct rew_work; + struct kthread_work rew_work; }; struct rt_mutex_base { @@ -39778,6 +42391,7 @@ struct rcu_node { long unsigned int expmask; long unsigned int expmaskinit; long unsigned int expmaskinitnext; + struct kthread_worker *exp_kworker; long unsigned int cbovldmask; long unsigned int ffmask; long unsigned int grpmask; @@ -39793,7 +42407,7 @@ struct rcu_node { struct list_head *boost_tasks; struct rt_mutex boost_mtx; long unsigned int boost_time; - struct mutex boost_kthread_mutex; + struct mutex kthread_mutex; struct task_struct *boost_kthread_task; unsigned int boost_kthread_status; long unsigned int n_boosts; @@ -39826,7 +42440,6 @@ struct rcu_node { long: 64; long: 64; long: 64; - long: 64; raw_spinlock_t fqslock; long: 64; long: 64; @@ -39873,7 +42486,6 @@ struct rcu_node { long: 64; long: 64; long: 64; - long: 64; }; union rcu_special { @@ -39886,6 +42498,11 @@ union rcu_special { u32 s; }; +struct sr_wait_node { + atomic_t inuse; + struct llist_node node; +}; + struct rcu_state { struct rcu_node node[5]; struct rcu_node *level[3]; @@ -39951,6 +42568,7 @@ struct rcu_state { long unsigned int gp_activity; long unsigned int gp_req_activity; long unsigned int jiffies_stall; + int nr_fqs_jiffies_stall; long unsigned int jiffies_resched; long unsigned int n_force_qs_gpstart; const char *name; @@ -39969,27 +42587,13 @@ struct rcu_state { long: 64; long: 64; long: 64; - long: 64; arch_spinlock_t ofl_lock; - int nocb_is_setup; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; + struct llist_head srs_next; + struct llist_node *srs_wait_tail; + struct llist_node *srs_done_tail; + struct sr_wait_node srs_wait_nodes[5]; + struct work_struct srs_cleanup_work; + atomic_t srs_cleanups_pending; long: 64; long: 64; long: 64; @@ -40051,7 +42655,9 @@ struct rcu_tasks { holdouts_func_t holdouts_func; postgp_func_t postgp_func; call_rcu_func_t call_func; + unsigned int wait_state; struct rcu_tasks_percpu *rtpcpu; + struct rcu_tasks_percpu **rtpcp_array; int percpu_enqueue_shift; int percpu_enqueue_lim; int percpu_dequeue_lim; @@ -40060,6 +42666,7 @@ struct rcu_tasks { atomic_t barrier_q_count; struct completion barrier_q_completion; long unsigned int barrier_q_seq; + long unsigned int barrier_q_start; char *name; char *kname; }; @@ -40075,7 +42682,9 @@ struct rcu_tasks_percpu { struct irq_work rtp_irq_work; struct callback_head barrier_q_head; struct list_head rtp_blkd_tasks; + struct list_head rtp_exit_list; int cpu; + int index; struct rcu_tasks *rtpp; }; @@ -40645,7 +43254,9 @@ struct read_info_sccb { u8 byte_134; u8 cpudirq; u16 cbl; - u8 _pad_138[12150]; + u8 byte_138; + u8 byte_139; + u8 _pad_140[12148]; }; struct read_storage_sccb { @@ -40663,6 +43274,7 @@ struct readahead_control { long unsigned int _index; unsigned int _nr_pages; unsigned int _batch_count; + bool dropbehind; bool _workingset; long unsigned int _pflags; }; @@ -40691,6 +43303,7 @@ struct reclaim_stat { unsigned int nr_ref_keep; unsigned int nr_unmap_fail; unsigned int nr_lazyfree_fail; + unsigned int nr_demoted; }; struct reclaim_state { @@ -40755,14 +43368,14 @@ struct renamedata { struct elevator_queue; -struct blk_queue_stats; - -struct rq_qos; - struct blk_mq_ops; struct blk_mq_ctx; +struct blk_queue_stats; + +struct rq_qos; + struct blk_mq_tags; struct blk_flush_queue; @@ -40770,57 +43383,58 @@ struct blk_flush_queue; struct blk_mq_tag_set; struct request_queue { - struct request *last_merge; + void *queuedata; struct elevator_queue *elevator; - struct percpu_ref q_usage_counter; - struct blk_queue_stats *stats; - struct rq_qos *rq_qos; - struct mutex rq_qos_mutex; const struct blk_mq_ops *mq_ops; struct blk_mq_ctx *queue_ctx; + long unsigned int queue_flags; + unsigned int rq_timeout; unsigned int queue_depth; - struct xarray hctx_table; + refcount_t refs; unsigned int nr_hw_queues; - void *queuedata; - long unsigned int queue_flags; - atomic_t pm_only; - int id; + struct xarray hctx_table; + struct percpu_ref q_usage_counter; + struct lock_class_key io_lock_cls_key; + struct lockdep_map io_lockdep_map; + struct lock_class_key q_lock_cls_key; + struct lockdep_map q_lockdep_map; + struct request *last_merge; spinlock_t queue_lock; + int quiesce_depth; struct gendisk *disk; - refcount_t refs; struct kobject *mq_kobj; + struct queue_limits limits; + atomic_t pm_only; + struct blk_queue_stats *stats; + struct rq_qos *rq_qos; + struct mutex rq_qos_mutex; + int id; long unsigned int nr_requests; - unsigned int dma_pad_mask; - unsigned int rq_timeout; struct timer_list timeout; struct work_struct timeout_work; atomic_t nr_active_requests_shared_tags; struct blk_mq_tags *sched_shared_tags; struct list_head icq_list; - struct queue_limits limits; - unsigned int required_elevator_features; int node; - struct blk_flush_queue *fq; - struct list_head flush_list; - struct list_head requeue_list; spinlock_t requeue_lock; + struct list_head requeue_list; struct delayed_work requeue_work; + struct blk_flush_queue *fq; + struct list_head flush_list; struct mutex sysfs_lock; - struct mutex sysfs_dir_lock; + struct mutex limits_lock; struct list_head unused_hctx_list; spinlock_t unused_hctx_lock; int mq_freeze_depth; struct callback_head callback_head; wait_queue_head_t mq_freeze_wq; struct mutex mq_freeze_lock; - int quiesce_depth; struct blk_mq_tag_set *tag_set; struct list_head tag_set_list; struct dentry *debugfs_dir; struct dentry *sched_debugfs_dir; struct dentry *rqos_debugfs_dir; struct mutex debugfs_mutex; - bool mq_sysfs_init_done; }; struct request_sock__safe_rcu_or_null { @@ -40834,11 +43448,17 @@ struct request_sock_ops { char *slab_name; int (*rtx_syn_ack)(const struct sock *, struct request_sock *); void (*send_ack)(const struct sock *, struct sk_buff *, struct request_sock *); - void (*send_reset)(const struct sock *, struct sk_buff *); + void (*send_reset)(const struct sock *, struct sk_buff *, enum sk_rst_reason); void (*destructor)(struct request_sock *); void (*syn_ack_timeout)(const struct request_sock *); }; +struct reserve_mem_table { + char name[16]; + phys_addr_t start; + phys_addr_t size; +}; + struct resource { resource_size_t start; resource_size_t end; @@ -40850,11 +43470,13 @@ struct resource { struct resource *child; }; +typedef resource_size_t (*resource_alignf)(void *, const struct resource *, resource_size_t, resource_size_t); + struct resource_constraint { resource_size_t min; resource_size_t max; resource_size_t align; - resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t); + resource_alignf alignf; void *alignf_data; }; @@ -40896,23 +43518,49 @@ struct restart_block { }; }; -typedef void (*rethook_handler_t)(struct rethook_node *, void *, long unsigned int, struct pt_regs *); - struct rethook { void *data; - rethook_handler_t handler; - struct freelist_head pool; - refcount_t ref; + void (*handler)(struct rethook_node *, void *, long unsigned int, struct pt_regs *); + struct objpool_head pool; struct callback_head rcu; }; +struct return_consumer { + __u64 cookie; + __u64 id; +}; + struct return_instance { - struct uprobe *uprobe; + struct hprobe hprobe; long unsigned int func; long unsigned int stack; long unsigned int orig_ret_vaddr; bool chained; + int cons_cnt; struct return_instance *next; + struct callback_head rcu; + struct return_consumer consumer; + struct return_consumer *extra_consumers; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; }; struct reuseport_array { @@ -40972,10 +43620,24 @@ struct ring_buffer_iter { u64 read_stamp; u64 page_stamp; struct ring_buffer_event *event; + size_t event_size; int missed_events; }; -struct trace_buffer; +struct ring_buffer_meta { + int magic; + int struct_size; + long unsigned int text_addr; + long unsigned int data_addr; + long unsigned int first_buffer; + long unsigned int head_buffer; + long unsigned int commit_buffer; + __u32 subbuf_size; + __u32 nr_subbufs; + int buffers[0]; +}; + +struct trace_buffer_meta; struct ring_buffer_per_cpu { int cpu; @@ -40989,6 +43651,7 @@ struct ring_buffer_per_cpu { long unsigned int nr_pages; unsigned int current_context; struct list_head *pages; + long unsigned int cnt; struct buffer_page *head_page; struct buffer_page *tail_page; struct buffer_page *commit_page; @@ -41015,6 +43678,12 @@ struct ring_buffer_per_cpu { u64 event_stamp[5]; u64 read_stamp; long unsigned int pages_removed; + unsigned int mapped; + unsigned int user_mapped; + struct mutex mapping_lock; + long unsigned int *subbuf_ids; + struct trace_buffer_meta *meta_page; + struct ring_buffer_meta *ring_meta; long int nr_pages_to_update; struct list_head new_pages; struct work_struct update_pages_work; @@ -41040,7 +43709,7 @@ struct rmap_walk_control { bool contended; bool (*rmap_one)(struct folio *, struct vm_area_struct *, long unsigned int, void *); int (*done)(struct folio *); - struct anon_vma * (*anon_lock)(struct folio *, struct rmap_walk_control *); + struct anon_vma * (*anon_lock)(const struct folio *, struct rmap_walk_control *); bool (*invalid_vma)(struct vm_area_struct *, void *); }; @@ -41062,8 +43731,8 @@ struct root_domain { struct callback_head rcu; cpumask_var_t span; cpumask_var_t online; - int overload; - int overutilized; + bool overloaded; + bool overutilized; cpumask_var_t dlo_mask; atomic_t dlo_count; struct dl_bw dl_bw; @@ -41077,7 +43746,6 @@ struct root_domain { atomic_t rto_loop_start; cpumask_var_t rto_mask; struct cpupri cpupri; - long unsigned int max_cpu_capacity; struct perf_domain *pd; }; @@ -41094,15 +43762,41 @@ struct rt_rq { int curr; int next; } highest_prio; - unsigned int rt_nr_migratory; - unsigned int rt_nr_total; - int overloaded; + bool overloaded; struct plist_head pushable_tasks; int rt_queued; - int rt_throttled; - u64 rt_time; - u64 rt_runtime; - raw_spinlock_t rt_runtime_lock; +}; + +struct sched_dl_entity; + +typedef bool (*dl_server_has_tasks_f)(struct sched_dl_entity *); + +typedef struct task_struct * (*dl_server_pick_f)(struct sched_dl_entity *); + +struct sched_dl_entity { + struct rb_node rb_node; + u64 dl_runtime; + u64 dl_deadline; + u64 dl_period; + u64 dl_bw; + u64 dl_density; + s64 runtime; + u64 deadline; + unsigned int flags; + unsigned int dl_throttled: 1; + unsigned int dl_yielded: 1; + unsigned int dl_non_contending: 1; + unsigned int dl_overrun: 1; + unsigned int dl_server: 1; + unsigned int dl_server_active: 1; + unsigned int dl_defer: 1; + unsigned int dl_defer_armed: 1; + unsigned int dl_defer_running: 1; + struct hrtimer dl_timer; + struct hrtimer inactive_timer; + struct rq *rq; + dl_server_has_tasks_f server_has_tasks; + dl_server_pick_f server_pick_task; }; struct rq { @@ -41142,8 +43836,13 @@ struct rq { struct cfs_rq cfs; struct rt_rq rt; struct dl_rq dl; + struct sched_dl_entity fair_server; unsigned int nr_uninterruptible; - struct task_struct *curr; + union { + struct task_struct *donor; + struct task_struct *curr; + }; + struct sched_dl_entity *dl_server; struct task_struct *idle; struct task_struct *stop; long unsigned int next_balance; @@ -41173,6 +43872,11 @@ struct rq { long: 64; long: 64; long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; u64 clock_task; u64 clock_pelt; long unsigned int lost_idle_time; @@ -41182,7 +43886,6 @@ struct rq { struct root_domain *rd; struct sched_domain *sd; long unsigned int cpu_capacity; - long unsigned int cpu_capacity_orig; struct balance_callback *balance_callback; unsigned char nohz_idle_balance; unsigned char idle_balance; @@ -41202,12 +43905,11 @@ struct rq { long: 64; long: 64; long: 64; + long: 64; struct sched_avg avg_rt; struct sched_avg avg_dl; u64 idle_stamp; u64 avg_idle; - long unsigned int wake_stamp; - u64 wake_avg_idle; u64 max_idle_balance_cost; struct rcuwait hotplug_wait; long unsigned int calc_load_update; @@ -41232,6 +43934,8 @@ struct rq { long: 64; long: 64; long: 64; + long: 64; + long: 64; }; struct rs_msg { @@ -41239,11 +43943,20 @@ struct rs_msg { __u8 opt[0]; }; +struct rss_nl_dump_ctx { + long unsigned int ifindex; + long unsigned int ctx_idx; + unsigned int match_ifindex; + unsigned int start_ctx; +}; + struct rss_reply_data { struct ethnl_reply_data base; + bool no_key_fields; u32 indir_size; u32 hkey_size; u32 hfunc; + u32 input_xfrm; u32 *indir_table; u8 *hkey; }; @@ -41311,14 +44024,6 @@ struct rt6_statistics { atomic_t fib_rt_alloc; }; -struct rt_bandwidth { - raw_spinlock_t rt_runtime_lock; - ktime_t rt_period; - u64 rt_runtime; - struct hrtimer rt_period_timer; - unsigned int rt_period_active; -}; - struct rt_cache_stat { unsigned int in_slow_tot; unsigned int in_slow_mc; @@ -41330,8 +44035,6 @@ struct rt_cache_stat { unsigned int out_slow_mc; }; -typedef struct rt_rq *rt_rq_iter_t; - struct siginfo { union { struct { @@ -41466,8 +44169,20 @@ struct rtnexthop { int rtnh_ifindex; }; +struct srcu_data; + +struct srcu_usage; + +struct srcu_struct { + unsigned int srcu_idx; + struct srcu_data *sda; + struct lockdep_map dep_map; + struct srcu_usage *srcu_sup; +}; + struct rtnl_af_ops { struct list_head list; + struct srcu_struct srcu; int family; int (*fill_link_af)(struct sk_buff *, const struct net_device *, u32); size_t (*get_link_af_size)(const struct net_device *, u32); @@ -41500,11 +44215,13 @@ struct rtnl_link_ifmap { struct rtnl_link_ops { struct list_head list; + struct srcu_struct srcu; const char *kind; size_t priv_size; struct net_device * (*alloc)(struct nlattr **, const char *, unsigned char, unsigned int, unsigned int); void (*setup)(struct net_device *); bool netns_refund; + const u16 peer_type; unsigned int maxtype; const struct nla_policy *policy; int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *); @@ -41515,8 +44232,8 @@ struct rtnl_link_ops { int (*fill_info)(struct sk_buff *, const struct net_device *); size_t (*get_xstats_size)(const struct net_device *); int (*fill_xstats)(struct sk_buff *, const struct net_device *); - unsigned int (*get_num_tx_queues)(); - unsigned int (*get_num_rx_queues)(); + unsigned int (*get_num_tx_queues)(void); + unsigned int (*get_num_rx_queues)(void); unsigned int slave_maxtype; const struct nla_policy *slave_policy; int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *); @@ -41586,6 +44303,15 @@ struct rtnl_mdb_dump_ctx { long int idx; }; +struct rtnl_msg_handler { + struct module *owner; + int protocol; + int msgtype; + rtnl_doit_func doit; + rtnl_dumpit_func dumpit; + int flags; +}; + struct rtnl_net_dump_cb { struct net *tgt_net; struct net *ref_net; @@ -41595,8 +44321,14 @@ struct rtnl_net_dump_cb { int s_idx; }; +struct rtnl_nets { + struct net *net[3]; + unsigned char len; +}; + struct rtnl_newlink_tbs { - struct nlattr *tb[65]; + struct nlattr *tb[67]; + struct nlattr *linkinfo[6]; struct nlattr *attr[51]; struct nlattr *slave_attr[45]; }; @@ -41682,6 +44414,8 @@ struct rusage { __kernel_long_t ru_nivcsw; }; +typedef struct rw_semaphore *class_rwsem_read_t; + struct rwsem_waiter { struct list_head list; struct task_struct *task; @@ -41746,15 +44480,6 @@ struct s390_jit_data { int pass; }; -struct s390_mmap_arg_struct { - long unsigned int addr; - long unsigned int len; - long unsigned int prot; - long unsigned int flags; - long unsigned int fd; - long unsigned int offset; -}; - struct s390_opcode_offset { unsigned char opcode; unsigned char mask; @@ -41775,11 +44500,11 @@ struct s_data { }; struct saved_cmdlines_buffer { - unsigned int map_pid_to_cmdline[4097]; + unsigned int map_pid_to_cmdline[32769]; unsigned int *map_cmdline_to_pid; unsigned int cmdline_num; int cmdline_idx; - char *saved_cmdlines; + char saved_cmdlines[0]; }; struct saved_syn { @@ -41791,7 +44516,8 @@ struct saved_syn { struct sb_writers { short unsigned int frozen; - short unsigned int freeze_holders; + int freeze_kcount; + int freeze_ucount; struct percpu_rw_semaphore rw_sem[3]; }; @@ -41807,9 +44533,12 @@ struct scan_control { unsigned int may_writepage: 1; unsigned int may_unmap: 1; unsigned int may_swap: 1; + unsigned int no_cache_trim_mode: 1; + unsigned int cache_trim_mode_failed: 1; unsigned int proactive: 1; unsigned int memcg_low_reclaim: 1; unsigned int memcg_low_skipped: 1; + unsigned int memcg_full_walk: 1; unsigned int hibernation_mode: 1; unsigned int compaction_ready: 1; unsigned int cache_trim_mode: 1; @@ -41859,16 +44588,16 @@ struct sched_attr { struct sched_class { void (*enqueue_task)(struct rq *, struct task_struct *, int); - void (*dequeue_task)(struct rq *, struct task_struct *, int); + bool (*dequeue_task)(struct rq *, struct task_struct *, int); void (*yield_task)(struct rq *); bool (*yield_to_task)(struct rq *, struct task_struct *); - void (*check_preempt_curr)(struct rq *, struct task_struct *, int); - struct task_struct * (*pick_next_task)(struct rq *); - void (*put_prev_task)(struct rq *, struct task_struct *); - void (*set_next_task)(struct rq *, struct task_struct *, bool); + void (*wakeup_preempt)(struct rq *, struct task_struct *, int); int (*balance)(struct rq *, struct task_struct *, struct rq_flags *); - int (*select_task_rq)(struct task_struct *, int, int); struct task_struct * (*pick_task)(struct rq *); + struct task_struct * (*pick_next_task)(struct rq *, struct task_struct *); + void (*put_prev_task)(struct rq *, struct task_struct *, struct task_struct *); + void (*set_next_task)(struct rq *, struct task_struct *, bool); + int (*select_task_rq)(struct task_struct *, int, int); void (*migrate_task_rq)(struct task_struct *, int); void (*task_woken)(struct rq *, struct task_struct *); void (*set_cpus_allowed)(struct task_struct *, struct affinity_context *); @@ -41878,31 +44607,15 @@ struct sched_class { void (*task_tick)(struct rq *, struct task_struct *, int); void (*task_fork)(struct task_struct *); void (*task_dead)(struct task_struct *); + void (*switching_to)(struct rq *, struct task_struct *); void (*switched_from)(struct rq *, struct task_struct *); void (*switched_to)(struct rq *, struct task_struct *); + void (*reweight_task)(struct rq *, struct task_struct *, const struct load_weight *); void (*prio_changed)(struct rq *, struct task_struct *, int); unsigned int (*get_rr_interval)(struct rq *, struct task_struct *); void (*update_curr)(struct rq *); }; -struct sched_dl_entity { - struct rb_node rb_node; - u64 dl_runtime; - u64 dl_deadline; - u64 dl_period; - u64 dl_bw; - u64 dl_density; - s64 runtime; - u64 deadline; - unsigned int flags; - unsigned int dl_throttled: 1; - unsigned int dl_yielded: 1; - unsigned int dl_non_contending: 1; - unsigned int dl_overrun: 1; - struct hrtimer dl_timer; - struct hrtimer inactive_timer; -}; - struct sched_group; struct sched_domain_shared; @@ -41925,7 +44638,7 @@ struct sched_domain { unsigned int nr_balance_failed; u64 max_newidle_lb_cost; long unsigned int last_decay_max_lb_cost; - u64 avg_scan_cost; + char *name; union { void *private; struct callback_head rcu; @@ -41948,7 +44661,7 @@ struct sched_domain_shared { typedef const struct cpumask * (*sched_domain_mask_f)(int); -typedef int (*sched_domain_flags_f)(); +typedef int (*sched_domain_flags_f)(void); struct sched_group_capacity; @@ -41965,15 +44678,20 @@ struct sched_domain_topology_level { int flags; int numa_level; struct sd_data data; + char *name; }; struct sched_entity { struct load_weight load; struct rb_node run_node; u64 deadline; - u64 min_deadline; + u64 min_vruntime; + u64 min_slice; struct list_head group_node; - unsigned int on_rq; + unsigned char on_rq; + unsigned char sched_delayed; + unsigned char rel_deadline; + unsigned char custom_slice; u64 exec_start; u64 sum_exec_runtime; u64 prev_sum_exec_runtime; @@ -41995,7 +44713,6 @@ struct sched_entity { long: 64; long: 64; long: 64; - long: 64; struct sched_avg avg; }; @@ -42130,6 +44847,7 @@ struct sclp_info { unsigned char has_core_type: 1; unsigned char has_sprp: 1; unsigned char has_hvs: 1; + unsigned char has_wti: 1; unsigned char has_esca: 1; unsigned char has_sief2: 1; unsigned char has_64bscao: 1; @@ -42142,9 +44860,12 @@ struct sclp_info { unsigned char has_ibs: 1; unsigned char has_skey: 1; unsigned char has_kss: 1; + unsigned char has_diag204_bif: 1; unsigned char has_gisaf: 1; + unsigned char has_diag310: 1; unsigned char has_diag318: 1; unsigned char has_diag320: 1; + unsigned char has_diag324: 1; unsigned char has_sipl: 1; unsigned char has_sipl_eckd: 1; unsigned char has_dirq: 1; @@ -42757,11 +45478,17 @@ struct scm_cookie { struct scm_fp_list { short int count; + short int count_unix; short int max; struct user_struct *user; struct file *fp[253]; }; +struct scm_stat { + atomic_t nr_fds; + long unsigned int nr_unix_fds; +}; + struct scm_timestamping { struct __kernel_old_timespec ts[3]; }; @@ -42814,6 +45541,7 @@ struct xfrm_offload { } seq; __u32 flags; __u32 status; + __u32 orig_mac_len; __u8 proto; __u8 inner_ipproto; }; @@ -42868,21 +45596,8 @@ struct send_signal_irq_work { struct task_struct *task; u32 sig; enum pid_type type; -}; - -struct seq_file { - char *buf; - size_t size; - size_t from; - size_t count; - size_t pad_until; - loff_t index; - loff_t read_pos; - struct mutex lock; - const struct seq_operations *op; - int poll_event; - const struct file *file; - void *private; + bool has_siginfo; + struct kernel_siginfo info; }; struct seq_operations { @@ -42892,6 +45607,12 @@ struct seq_operations { int (*show)(struct seq_file *, void *); }; +struct seqcount_rwlock { + seqcount_t seqcount; +}; + +typedef struct seqcount_rwlock seqcount_rwlock_t; + struct serial_icounter_struct { int cts; int dsr; @@ -42941,6 +45662,14 @@ struct set_affinity_pending { struct migration_arg arg; }; +struct set_event_iter { + enum set_event_iter_type type; + union { + struct trace_event_file *file; + struct event_mod_load *event_mod; + }; +}; + struct set_schib_struct { u32 mme; int mbfc; @@ -42949,6 +45678,12 @@ struct set_schib_struct { int ret; }; +struct sg_table { + struct scatterlist *sgl; + unsigned int nents; + unsigned int orig_nents; +}; + struct sg_append_table { struct sg_table sgt; struct scatterlist *prv; @@ -42991,6 +45726,10 @@ struct shrinker { long int batch; int seeks; unsigned int flags; + refcount_t refcount; + struct completion done; + struct callback_head rcu; + void *private_data; struct list_head list; atomic_long_t *nr_deferred; }; @@ -43000,7 +45739,7 @@ struct shutdown_trigger; struct shutdown_action { char *name; void (*fn)(struct shutdown_trigger *); - int (*init)(); + int (*init)(void); int init_rc; }; @@ -43200,6 +45939,7 @@ struct sk_psock { struct mutex work_mutex; struct sk_psock_work_state work_state; struct delayed_work work; + struct sock *sk_pair; struct rcu_work rwork; }; @@ -43226,6 +45966,14 @@ struct skb_checksum_ops { __wsum (*combine)(__wsum, __wsum, int, int); }; +struct skb_frag { + netmem_ref netmem; + unsigned int len; + unsigned int offset; +}; + +typedef struct skb_frag skb_frag_t; + struct skb_free_array { unsigned int skb_count; void *skb_array[16]; @@ -43259,6 +46007,10 @@ struct skb_shared_hwtstamps { }; }; +struct xsk_tx_metadata_compl { + __u64 *tx_timestamp; +}; + struct skb_shared_info { __u8 flags; __u8 meta_len; @@ -43267,12 +46019,20 @@ struct skb_shared_info { short unsigned int gso_size; short unsigned int gso_segs; struct sk_buff *frag_list; - struct skb_shared_hwtstamps hwtstamps; + union { + struct skb_shared_hwtstamps hwtstamps; + struct xsk_tx_metadata_compl xsk_meta; + }; unsigned int gso_type; u32 tskey; atomic_t dataref; - unsigned int xdp_frags_size; - void *destructor_arg; + union { + struct { + u32 xdp_frags_size; + u32 xdp_frags_truesize; + }; + void *destructor_arg; + }; skb_frag_t frags[17]; }; @@ -43301,7 +46061,7 @@ struct slab { }; struct callback_head callback_head; }; - unsigned int __unused; + unsigned int __page_type; atomic_t __page_refcount; long: 64; }; @@ -43340,13 +46100,24 @@ struct so_timestamping { int bind_phc; }; +struct sock_bh_locked { + struct sock *sock; + local_lock_t bh_lock; +}; + struct sock_diag_handler { + struct module *owner; __u8 family; int (*dump)(struct sk_buff *, struct nlmsghdr *); int (*get_info)(struct sk_buff *, struct sock *); int (*destroy)(struct sk_buff *, struct nlmsghdr *); }; +struct sock_diag_inet_compat { + struct module *owner; + int (*fn)(struct sk_buff *, struct nlmsghdr *); +}; + struct sock_diag_req { __u8 sdiag_family; __u8 sdiag_protocol; @@ -43442,6 +46213,11 @@ struct sockaddr_nl { __u32 nl_groups; }; +struct sockaddr_un { + __kernel_sa_family_t sun_family; + char sun_path[108]; +}; + struct socket_wq { wait_queue_head_t wait; struct fasync_struct *fasync_list; @@ -43511,7 +46287,7 @@ struct socket { struct socket_wq wq; }; -struct socket__safe_trusted { +struct socket__safe_trusted_or_null { struct sock *sk; }; @@ -43543,31 +46319,95 @@ struct socket_alloc { long: 64; long: 64; long: 64; + long: 64; + long: 64; +}; + +struct sockmap_link { + struct bpf_link link; + struct bpf_map *map; + enum bpf_attach_type attach_type; }; struct softirq_action { - void (*action)(struct softirq_action *); + void (*action)(void); }; struct softnet_data { struct list_head poll_list; struct sk_buff_head process_queue; + local_lock_t process_queue_bh_lock; unsigned int processed; unsigned int time_squeeze; + unsigned int received_rps; bool in_net_rx_action; bool in_napi_threaded_poll; struct Qdisc *output_queue; struct Qdisc **output_queue_tailp; struct sk_buff *completion_queue; - struct { - u16 recursion; - u8 more; - u8 skip_txqueue; - } xmit; - unsigned int received_rps; - unsigned int dropped; + struct netdev_xmit xmit; struct sk_buff_head input_pkt_queue; struct napi_struct backlog; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + atomic_t dropped; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; spinlock_t defer_lock; int defer_count; int defer_ipi_scheduled; @@ -43674,7 +46514,7 @@ struct srcu_node; struct srcu_data { atomic_long_t srcu_lock_count[2]; atomic_long_t srcu_unlock_count[2]; - int srcu_nmi_safety; + int srcu_reader_flavor; long: 64; long: 64; long: 64; @@ -43782,13 +46622,6 @@ struct srcu_usage { struct srcu_struct *srcu_ssp; }; -struct srcu_struct { - unsigned int srcu_idx; - struct srcu_data *sda; - struct lockdep_map dep_map; - struct srcu_usage *srcu_sup; -}; - struct srcu_notifier_head { struct mutex mutex; struct srcu_usage srcuu; @@ -43802,6 +46635,18 @@ struct stack_entry { long unsigned int caller[0]; }; +struct stack_frame_user { + long unsigned int back_chain; + long unsigned int empty1[5]; + long unsigned int gprs[10]; + long unsigned int empty2[4]; +}; + +struct stack_frame_vdso_wrapper { + struct stack_frame_user sf; + long unsigned int return_address; +}; + struct stack_info { enum stack_type type; long unsigned int begin; @@ -43822,6 +46667,11 @@ struct stacktrace_cookie { unsigned int len; }; +struct stashed_operations { + void (*put_data)(void *); + int (*init_inode)(struct inode *, void *); +}; + struct stat { long unsigned int st_dev; long unsigned int st_ino; @@ -43916,12 +46766,14 @@ struct stats_reply_data { struct ethtool_eth_mac_stats mac_stats; struct ethtool_eth_ctrl_stats ctrl_stats; struct ethtool_rmon_stats rmon_stats; + struct ethtool_phy_stats phydev_stats; }; struct { struct ethtool_eth_phy_stats phy_stats; struct ethtool_eth_mac_stats mac_stats; struct ethtool_eth_ctrl_stats ctrl_stats; struct ethtool_rmon_stats rmon_stats; + struct ethtool_phy_stats phydev_stats; } stats; }; const struct ethtool_rmon_hist_range *rmon_ranges; @@ -43963,7 +46815,12 @@ struct statx { __u64 stx_mnt_id; __u32 stx_dio_mem_align; __u32 stx_dio_offset_align; - __u64 __spare3[12]; + __u64 stx_subvol; + __u32 stx_atomic_write_unit_min; + __u32 stx_atomic_write_unit_max; + __u32 stx_atomic_write_segments_max; + __u32 stx_dio_read_offset_align; + __u64 __spare3[9]; }; struct sthyi_info { @@ -44074,7 +46931,7 @@ struct strset_info { struct strset_reply_data { struct ethnl_reply_data base; - struct strset_info sets[21]; + struct strset_info sets[23]; }; struct strset_req_info { @@ -44085,7 +46942,7 @@ struct strset_req_info { struct subchannel { struct subchannel_id schid; - spinlock_t *lock; + spinlock_t lock; struct mutex reg_mutex; enum { SUBCHANNEL_TYPE_IO = 0, @@ -44129,7 +46986,7 @@ struct subsys_dev_iter { struct subsys_interface { const char *name; - struct bus_type *subsys; + const struct bus_type *subsys; struct list_head node; int (*add_dev)(struct device *, struct subsys_interface *); void (*remove_dev)(struct device *, struct subsys_interface *); @@ -44172,10 +47029,11 @@ struct super_block { struct rw_semaphore s_umount; int s_count; atomic_t s_active; - const struct xattr_handler **s_xattr; + const struct xattr_handler * const *s_xattr; struct hlist_bl_head s_roots; struct list_head s_mounts; struct block_device *s_bdev; + struct file *s_bdev_file; struct backing_dev_info *s_bdi; struct mtd_info *s_mtd; struct hlist_node s_instances; @@ -44188,13 +47046,14 @@ struct super_block { time64_t s_time_max; char s_id[32]; uuid_t s_uuid; + u8 s_uuid_len; + char s_sysfs_name[37]; unsigned int s_max_links; struct mutex s_vfs_rename_mutex; const char *s_subtype; const struct dentry_operations *s_d_op; - struct shrinker s_shrink; + struct shrinker *s_shrink; atomic_long_t s_remove_count; - atomic_long_t s_fsnotify_connectors; int s_readonly_remount; errseq_t s_wb_err; struct workqueue_struct *s_dio_done_wq; @@ -44280,9 +47139,12 @@ struct swait_queue { struct list_head task_list; }; -struct swap_cluster_list { - struct swap_cluster_info head; - struct swap_cluster_info tail; +struct swap_cluster_info { + spinlock_t lock; + u16 count; + u8 flags; + u8 order; + struct list_head list; }; struct swap_info_struct { @@ -44293,25 +47155,27 @@ struct swap_info_struct { signed char type; unsigned int max; unsigned char *swap_map; + long unsigned int *zeromap; struct swap_cluster_info *cluster_info; - struct swap_cluster_list free_clusters; - unsigned int lowest_bit; - unsigned int highest_bit; + struct list_head free_clusters; + struct list_head full_clusters; + struct list_head nonfull_clusters[1]; + struct list_head frag_clusters[1]; + atomic_long_t frag_cluster_nr[1]; unsigned int pages; - unsigned int inuse_pages; - unsigned int cluster_next; - unsigned int cluster_nr; - unsigned int *cluster_next_cpu; + atomic_long_t inuse_pages; struct percpu_cluster *percpu_cluster; + struct percpu_cluster *global_cluster; + spinlock_t global_cluster_lock; struct rb_root swap_extent_root; struct block_device *bdev; struct file *swap_file; - unsigned int old_block_size; struct completion comp; spinlock_t lock; spinlock_t cont_lock; struct work_struct discard_work; - struct swap_cluster_list discard_clusters; + struct work_struct reclaim_work; + struct list_head discard_clusters; struct plist_node avail_lists[0]; }; @@ -44329,7 +47193,6 @@ struct swevent_htable { struct swevent_hlist *swevent_hlist; struct mutex hlist_mutex; int hlist_refcount; - int recursion[4]; }; struct swnode { @@ -44353,7 +47216,7 @@ struct sym_count_ctx { struct symsearch { const struct kernel_symbol *start; const struct kernel_symbol *stop; - const s32 *crcs; + const u32 *crcs; enum mod_license license; }; @@ -44361,6 +47224,7 @@ struct sys_off_data { int mode; void *cb_data; const char *cmd; + struct device *dev; }; struct sys_off_handler { @@ -44370,6 +47234,7 @@ struct sys_off_handler { enum sys_off_mode mode; bool blocking; void *list; + struct device *dev; }; struct syscall_info { @@ -44386,9 +47251,9 @@ struct syscall_user_dispatch { struct syscore_ops { struct list_head node; - int (*suspend)(); - void (*resume)(); - void (*shutdown)(); + int (*suspend)(void); + void (*resume)(void); + void (*shutdown)(void); }; struct sysfs_ops { @@ -44439,6 +47304,10 @@ struct sysinfo_1_1_1 { unsigned int ncr; unsigned int npr; unsigned int ntr; + char reserved_3[4]; + char model_var_cap[16]; + unsigned int model_var_cap_rating; + unsigned int nvr; }; struct sysinfo_1_2_2 { @@ -44521,7 +47390,8 @@ struct sysrq_key_op { struct system_counterval_t { u64 cycles; - struct clocksource *cs; + enum clocksource_ids cs_id; + bool use_nsecs; }; struct system_device_crosststamp { @@ -44533,6 +47403,7 @@ struct system_device_crosststamp { struct system_time_snapshot { u64 cycles; ktime_t real; + ktime_t boot; ktime_t raw; enum clocksource_ids cs_id; unsigned int clock_was_set_seq; @@ -44543,6 +47414,7 @@ struct taint_flag { char c_true; char c_false; bool module; + const char *desc; }; struct task_cputime { @@ -44557,10 +47429,15 @@ struct task_cputime_atomic { atomic64_t sum_exec_runtime; }; +typedef struct task_struct *class_find_get_task_t; + +typedef struct task_struct *class_task_lock_t; + struct thread_info { long unsigned int flags; long unsigned int syscall_work; unsigned int cpu; + unsigned char sie; }; struct wake_q_node { @@ -44571,6 +47448,20 @@ struct tlbflush_unmap_batch {}; typedef long int (*sys_call_ptr_t)(struct pt_regs *); +union teid { + long unsigned int val; + struct { + long unsigned int addr: 52; + long unsigned int fsi: 2; + char: 2; + long unsigned int b56: 1; + char: 3; + long unsigned int b60: 1; + long unsigned int b61: 1; + long unsigned int as: 2; + }; +}; + struct thread_struct { unsigned int acrs[16]; long unsigned int ksp; @@ -44580,10 +47471,10 @@ struct thread_struct { long unsigned int hardirq_timer; long unsigned int softirq_timer; const sys_call_ptr_t *sys_call_table; - long unsigned int gmap_addr; - unsigned int gmap_write_flag; + union teid gmap_teid; unsigned int gmap_int_code; - unsigned int gmap_pfault; + int ufpu_flags; + int kfpu_flags; struct per_regs per_user; struct per_event per_event; long unsigned int per_flags; @@ -44595,7 +47486,8 @@ struct thread_struct { struct gs_cb *gs_cb; struct gs_cb *gs_bc_cb; struct pgm_tdb trap_tdb; - struct fpu fpu; + struct fpu ufpu; + struct fpu kfpu; }; struct uprobe_task; @@ -44603,6 +47495,7 @@ struct uprobe_task; struct task_struct { struct thread_info thread_info; unsigned int __state; + unsigned int saved_state; void *stack; refcount_t usage; unsigned int flags; @@ -44638,6 +47531,7 @@ struct task_struct { struct sched_entity se; struct sched_rt_entity rt; struct sched_dl_entity dl; + struct sched_dl_entity *dl_server; const struct sched_class *sched_class; long: 64; long: 64; @@ -44665,12 +47559,9 @@ struct task_struct { long: 64; long: 64; long: 64; - long: 64; - long: 64; - long: 64; - long: 64; struct sched_statistics stats; unsigned int policy; + long unsigned int max_allowed_capacity; int nr_cpus_allowed; const cpumask_t *cpus_ptr; cpumask_t *user_cpus_ptr; @@ -44690,6 +47581,7 @@ struct task_struct { struct rb_node pushable_dl_tasks; struct mm_struct *mm; struct mm_struct *active_mm; + struct address_space *faults_disabled_mapping; int exit_state; int exit_code; int exit_signal; @@ -44699,7 +47591,8 @@ struct task_struct { unsigned int sched_reset_on_fork: 1; unsigned int sched_contributes_to_load: 1; unsigned int sched_migrated: 1; - long: 29; + unsigned int sched_task_hot: 1; + long: 28; unsigned int sched_remote_wakeup: 1; unsigned int in_execve: 1; unsigned int in_iowait: 1; @@ -44716,7 +47609,6 @@ struct task_struct { struct list_head ptrace_entry; struct pid *thread_pid; struct hlist_node pid_links[4]; - struct list_head thread_group; struct list_head thread_node; struct completion *vfork_done; int *set_child_tid; @@ -44768,6 +47660,7 @@ struct task_struct { long unsigned int ptrace_message; kernel_siginfo_t *last_siginfo; struct task_io_accounting ioac; + u8 perf_recursion[4]; struct perf_event_context *perf_event_ctxp; struct mutex perf_event_mutex; struct list_head perf_event_list; @@ -44781,8 +47674,9 @@ struct task_struct { u64 default_timer_slack_ns; int curr_ret_stack; int curr_ret_depth; - struct ftrace_ret_stack *ret_stack; + long unsigned int *ret_stack; long long unsigned int ftrace_timestamp; + long long unsigned int ftrace_sleeptime; atomic_t trace_overrun; atomic_t tracing_graph_pause; long unsigned int trace_recursion; @@ -44793,9 +47687,11 @@ struct task_struct { int pagefault_disabled; struct task_struct *oom_reaper_list; struct timer_list oom_reaper_timer; + struct vm_struct *stack_vm_area; refcount_t stack_refcount; struct bpf_local_storage *bpf_storage; struct bpf_run_ctx *bpf_ctx; + struct bpf_net_context *bpf_net_context; struct llist_head kretprobe_instances; struct llist_head rethooks; struct thread_struct thread; @@ -44804,11 +47700,6 @@ struct task_struct { long: 64; long: 64; long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct task_struct__safe_rcu { @@ -44872,11 +47763,12 @@ struct tc_ratespec { struct tc_skb_cb { struct qdisc_skb_cb qdisc_cb; + u32 drop_reason; + u16 zone; u16 mru; u8 post_ct: 1; u8 post_ct_snat: 1; u8 post_ct_dnat: 1; - u16 zone; }; struct tccb_tcah { @@ -44903,6 +47795,7 @@ struct tccb_tcat { struct tcf_chain; struct tcf_block { + struct xarray ports; struct mutex lock; struct list_head chain_list; u32 index; @@ -44914,6 +47807,7 @@ struct tcf_block { struct flow_block flow_block; struct list_head owner_list; bool keep_dst; + atomic_t useswcnt; atomic_t offloadcnt; unsigned int nooffloaddevcnt; unsigned int lockeddevcnt; @@ -44961,6 +47855,8 @@ struct tcf_proto { struct tcf_chain *chain; spinlock_t lock; bool deleting; + bool counted; + bool usesw; refcount_t refcnt; struct callback_head rcu; struct hlist_node destroy_ht_node; @@ -44986,6 +47882,7 @@ struct tcf_proto_ops { void (*bind_class)(void *, u32, long unsigned int, void *, long unsigned int); void * (*tmplt_create)(struct net *, struct tcf_chain *, struct nlattr **, struct netlink_ext_ack *); void (*tmplt_destroy)(void *); + void (*tmplt_reoffload)(struct tcf_chain *, bool, flow_setup_cb_t *, void *); struct tcf_exts * (*get_exts)(const struct tcf_proto *, u32); int (*dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool); int (*terse_dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool); @@ -45023,17 +47920,6 @@ struct tcmsg { __u32 tcm_info; }; -struct tcp_rack { - u64 mstamp; - u32 rtt_us; - u32 end_seq; - u32 last_delivered; - u8 reo_wnd_steps; - u8 reo_wnd_persist: 5; - u8 dsack_seen: 1; - u8 advanced: 1; -}; - struct tcp_options_received { int ts_recent_stamp; u32 ts_recent; @@ -45054,6 +47940,17 @@ struct tcp_options_received { u16 mss_clamp; }; +struct tcp_rack { + u64 mstamp; + u32 rtt_us; + u32 end_seq; + u32 last_delivered; + u8 reo_wnd_steps; + u8 reo_wnd_persist: 5; + u8 dsack_seen: 1; + u8 advanced: 1; +}; + struct tcp_sack_block { u32 start_seq; u32 end_seq; @@ -45063,55 +47960,124 @@ struct tcp_fastopen_request; struct tcp_sock { struct inet_connection_sock inet_conn; - u16 tcp_header_len; + __u8 __cacheline_group_begin__tcp_sock_read_tx[0]; + u32 max_window; + u32 rcv_ssthresh; + u32 reordering; + u32 notsent_lowat; u16 gso_segs; + struct sk_buff *lost_skb_hint; + struct sk_buff *retransmit_skb_hint; + __u8 __cacheline_group_end__tcp_sock_read_tx[0]; + __u8 __cacheline_group_begin__tcp_sock_read_txrx[0]; + u32 tsoffset; + u32 snd_wnd; + u32 mss_cache; + u32 snd_cwnd; + u32 prr_out; + u32 lost_out; + u32 sacked_out; + u16 tcp_header_len; + u8 scaling_ratio; + u8 chrono_type: 2; + u8 repair: 1; + u8 tcp_usec_ts: 1; + u8 is_sack_reneg: 1; + u8 is_cwnd_limited: 1; + __u8 __cacheline_group_end__tcp_sock_read_txrx[0]; + __u8 __cacheline_group_begin__tcp_sock_read_rx[0]; + u32 copied_seq; + u32 rcv_tstamp; + u32 snd_wl1; + u32 tlp_high_seq; + u32 rttvar_us; + u32 retrans_out; + u16 advmss; + u16 urg_data; + u32 lost; + struct minmax rtt_min; + struct rb_root out_of_order_queue; + u32 snd_ssthresh; + u8 recvmsg_inq: 1; + __u8 __cacheline_group_end__tcp_sock_read_rx[0]; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + __u8 __cacheline_group_begin__tcp_sock_write_tx[0]; + u32 segs_out; + u32 data_segs_out; + u64 bytes_sent; + u32 snd_sml; + u32 chrono_start; + u32 chrono_stat[3]; + u32 write_seq; + u32 pushed_seq; + u32 lsndtime; + u32 mdev_us; + u32 rtt_seq; + u64 tcp_wstamp_ns; + struct list_head tsorted_sent_queue; + struct sk_buff *highest_sack; + u8 ecn_flags; + __u8 __cacheline_group_end__tcp_sock_write_tx[0]; + __u8 __cacheline_group_begin__tcp_sock_write_txrx[0]; __be32 pred_flags; + u64 tcp_clock_cache; + u64 tcp_mstamp; + u32 rcv_nxt; + u32 snd_nxt; + u32 snd_una; + u32 window_clamp; + u32 srtt_us; + u32 packets_out; + u32 snd_up; + u32 delivered; + u32 delivered_ce; + u32 app_limited; + u32 rcv_wnd; + struct tcp_options_received rx_opt; + u8 nonagle: 4; + u8 rate_app_limited: 1; + __u8 __cacheline_group_end__tcp_sock_write_txrx[0]; + long: 0; + __u8 __cacheline_group_begin__tcp_sock_write_rx[0]; u64 bytes_received; u32 segs_in; u32 data_segs_in; - u32 rcv_nxt; - u32 copied_seq; u32 rcv_wup; - u32 snd_nxt; - u32 segs_out; - u32 data_segs_out; - u64 bytes_sent; + u32 max_packets_out; + u32 cwnd_usage_seq; + u32 rate_delivered; + u32 rate_interval_us; + u32 rcv_rtt_last_tsecr; + u64 first_tx_mstamp; + u64 delivered_mstamp; u64 bytes_acked; + struct { + u32 rtt_us; + u32 seq; + u64 time; + } rcv_rtt_est; + struct { + u32 space; + u32 seq; + u64 time; + } rcvq_space; + __u8 __cacheline_group_end__tcp_sock_write_rx[0]; u32 dsack_dups; - u32 snd_una; - u32 snd_sml; - u32 rcv_tstamp; - u32 lsndtime; - u32 last_oow_ack_time; u32 compressed_ack_rcv_nxt; - u32 tsoffset; struct list_head tsq_node; - struct list_head tsorted_sent_queue; - u32 snd_wl1; - u32 snd_wnd; - u32 max_window; - u32 mss_cache; - u32 window_clamp; - u32 rcv_ssthresh; - u8 scaling_ratio; struct tcp_rack rack; - u16 advmss; u8 compressed_ack; u8 dup_ack_counter: 2; u8 tlp_retrans: 1; u8 unused: 5; - u32 chrono_start; - u32 chrono_stat[3]; - u8 chrono_type: 2; - u8 rate_app_limited: 1; + u8 thin_lto: 1; u8 fastopen_connect: 1; u8 fastopen_no_cookie: 1; - u8 is_sack_reneg: 1; u8 fastopen_client_fail: 2; - u8 nonagle: 4; - u8 thin_lto: 1; - u8 recvmsg_inq: 1; - u8 repair: 1; u8 frto: 1; u8 repair_queue; u8 save_syn: 2; @@ -45120,62 +48086,23 @@ struct tcp_sock { u8 syn_fastopen_exp: 1; u8 syn_fastopen_ch: 1; u8 syn_data_acked: 1; - u8 is_cwnd_limited: 1; - u32 tlp_high_seq; + u8 keepalive_probes; u32 tcp_tx_delay; - u64 tcp_wstamp_ns; - u64 tcp_clock_cache; - u64 tcp_mstamp; - u32 srtt_us; - u32 mdev_us; u32 mdev_max_us; - u32 rttvar_us; - u32 rtt_seq; - struct minmax rtt_min; - u32 packets_out; - u32 retrans_out; - u32 max_packets_out; - u32 cwnd_usage_seq; - u16 urg_data; - u8 ecn_flags; - u8 keepalive_probes; - u32 reordering; u32 reord_seen; - u32 snd_up; - struct tcp_options_received rx_opt; - u32 snd_ssthresh; - u32 snd_cwnd; u32 snd_cwnd_cnt; u32 snd_cwnd_clamp; u32 snd_cwnd_used; u32 snd_cwnd_stamp; u32 prior_cwnd; u32 prr_delivered; - u32 prr_out; - u32 delivered; - u32 delivered_ce; - u32 lost; - u32 app_limited; - u64 first_tx_mstamp; - u64 delivered_mstamp; - u32 rate_delivered; - u32 rate_interval_us; - u32 rcv_wnd; - u32 write_seq; - u32 notsent_lowat; - u32 pushed_seq; - u32 lost_out; - u32 sacked_out; + u32 last_oow_ack_time; struct hrtimer pacing_timer; struct hrtimer compressed_ack_timer; - struct sk_buff *lost_skb_hint; - struct sk_buff *retransmit_skb_hint; - struct rb_root out_of_order_queue; struct sk_buff *ooo_last_skb; struct tcp_sack_block duplicate_sack[1]; struct tcp_sack_block selective_acks[4]; struct tcp_sack_block recv_sack_cache[4]; - struct sk_buff *highest_sack; int lost_cnt_hint; u32 prior_ssthresh; u32 high_seq; @@ -45184,6 +48111,10 @@ struct tcp_sock { int undo_retrans; u64 bytes_retrans; u32 total_retrans; + u32 rto_stamp; + u16 total_rto; + u16 total_rto_recoveries; + u32 total_rto_time; u32 urg_seq; unsigned int keepalive_time; unsigned int keepalive_intvl; @@ -45192,17 +48123,6 @@ struct tcp_sock { u8 bpf_chg_cc_inprogress: 1; u16 timeout_rehash; u32 rcv_ooopack; - u32 rcv_rtt_last_tsecr; - struct { - u32 rtt_us; - u32 seq; - u64 time; - } rcv_rtt_est; - struct { - u32 space; - u32 seq; - u64 time; - } rcvq_space; struct { u32 probe_seq_start; u32 probe_seq_end; @@ -45212,11 +48132,65 @@ struct tcp_sock { struct tcp_fastopen_request *fastopen_req; struct request_sock *fastopen_rsk; struct saved_syn *saved_syn; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; }; struct tcp6_sock { struct tcp_sock tcp; struct ipv6_pinfo inet6; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; +}; + +union tcp_ao_addr { + struct in_addr a4; + struct in6_addr a6; +}; + +struct tcp_ao_hdr { + u8 kind; + u8 length; + u8 keyid; + u8 rnext_keyid; +}; + +struct tcp_ao_key { + struct hlist_node node; + union tcp_ao_addr addr; + u8 key[80]; + unsigned int tcp_sigpool_id; + unsigned int digest_size; + int l3index; + u8 prefixlen; + u8 family; + u8 keylen; + u8 keyflags; + u8 sndid; + u8 rcvid; + u8 maclen; + struct callback_head rcu; + atomic64_t pkt_good; + atomic64_t pkt_bad; + u8 traffic_keys[0]; }; struct tcp_bbr_info { @@ -45335,11 +48309,28 @@ struct tcp_info { __u32 tcpi_snd_wnd; __u32 tcpi_rcv_wnd; __u32 tcpi_rehash; + __u16 tcpi_total_rto; + __u16 tcpi_total_rto_recoveries; + __u32 tcpi_total_rto_time; }; -union tcp_md5_addr { - struct in_addr a4; - struct in6_addr a6; +struct tcp_md5sig_key; + +struct tcp_key { + union { + struct { + struct tcp_ao_key *ao_key; + char *traffic_key; + u32 sne; + u8 rcv_next; + }; + struct tcp_md5sig_key *md5_key; + }; + enum { + TCP_KEY_NONE = 0, + TCP_KEY_MD5 = 1, + TCP_KEY_AO = 2, + } type; }; struct tcp_md5sig_key { @@ -45348,7 +48339,7 @@ struct tcp_md5sig_key { u8 family; u8 prefixlen; u8 flags; - union tcp_md5_addr addr; + union tcp_ao_addr addr; int l3index; u8 key[80]; struct callback_head rcu; @@ -45411,6 +48402,7 @@ struct tcp_request_sock { u64 snt_synack; bool tfo_listener; bool is_mptcp; + bool req_usec_ts; u32 txhash; u32 rcv_isn; u32 snt_isn; @@ -45422,7 +48414,7 @@ struct tcp_request_sock { struct tcp_request_sock_ops { u16 mss_clamp; - struct dst_entry * (*route_req)(const struct sock *, struct sk_buff *, struct flowi *, struct request_sock *); + struct dst_entry * (*route_req)(const struct sock *, struct sk_buff *, struct flowi *, struct request_sock *, u32); u32 (*init_seq)(const struct sk_buff *); u32 (*init_ts_off)(const struct net *, const struct sk_buff *); int (*send_synack)(const struct sock *, struct dst_entry *, struct flowi *, struct request_sock *, struct tcp_fastopen_cookie *, enum tcp_synack_type, struct sk_buff *); @@ -45447,7 +48439,6 @@ struct tcp_skb_cb { __u32 seq; __u32 end_seq; union { - __u32 tcp_tw_isn; struct { u16 tcp_gso_segs; u16 tcp_gso_size; @@ -45498,7 +48489,7 @@ struct tcp_ulp_ops { int (*init)(struct sock *); void (*update)(struct sock *, struct proto *, void (*)(struct sock *)); void (*release)(struct sock *); - int (*get_info)(const struct sock *, struct sk_buff *); + int (*get_info)(struct sock *, struct sk_buff *); size_t (*get_info_size)(const struct sock *); void (*clone)(const struct request_sock *, struct sock *, const gfp_t); char name[16]; @@ -45530,6 +48521,13 @@ union tcp_word_hdr { __be32 words[5]; }; +struct tcp_xa_pool { + u8 max; + u8 idx; + __u32 tokens[17]; + netmem_ref netmems[17]; +}; + struct tcp_zerocopy_receive { __u64 address; __u32 length; @@ -45557,21 +48555,21 @@ struct tcw { u32 tccbl: 6; u32 r: 1; u32 w: 1; - u64 output; - u64 input; - u64 tsb; - u64 tccb; + dma64_t output; + dma64_t input; + dma64_t tsb; + dma64_t tccb; u32 output_count; u32 input_count; long: 64; int: 32; - u32 intrg; + dma32_t intrg; }; struct tcx_entry { struct mini_Qdisc *miniq; struct bpf_mprog_bundle bundle; - bool miniq_active; + u32 miniq_active; struct callback_head rcu; }; @@ -45622,7 +48620,7 @@ struct tick_device { struct tidaw { u32 flags: 8; u32 count; - u64 addr; + dma64_t addr; }; struct timens_offsets { @@ -45660,7 +48658,6 @@ struct tk_read_base { struct timekeeper { struct tk_read_base tkr_mono; - struct tk_read_base tkr_raw; u64 xtime_sec; long unsigned int ktime_sec; struct timespec64 wall_to_monotonic; @@ -45668,15 +48665,16 @@ struct timekeeper { ktime_t offs_boot; ktime_t offs_tai; s32 tai_offset; + struct tk_read_base tkr_raw; + u64 raw_sec; unsigned int clock_was_set_seq; u8 cs_was_changed_seq; - ktime_t next_leap_ktime; - u64 raw_sec; struct timespec64 monotonic_to_boot; u64 cycle_interval; u64 xtime_interval; s64 xtime_remainder; u64 raw_interval; + ktime_t next_leap_ktime; u64 ntp_tick; s64 ntp_error; u32 ntp_error_shift; @@ -45737,7 +48735,6 @@ struct timewait_sock_ops { struct kmem_cache *twsk_slab; char *twsk_slab_name; unsigned int twsk_obj_size; - int (*twsk_unique)(struct sock *, struct sock *, void *); void (*twsk_destructor)(struct sock *); }; @@ -45750,6 +48747,37 @@ struct tipc_basic_hdr { __be32 w[4]; }; +struct tk_data { + seqcount_raw_spinlock_t seq; + struct timekeeper timekeeper; + struct timekeeper shadow_timekeeper; + raw_spinlock_t lock; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; +}; + struct tk_fast { seqcount_latch_t seq; struct tk_read_base base[2]; @@ -45859,7 +48887,7 @@ struct tls_strparser { u32 stopped: 1; u32 copy_mode: 1; u32 mixed_decrypted: 1; - u32 msg_ready: 1; + bool msg_ready; struct strp_msg stm; struct sk_buff *anchor; struct work_struct work; @@ -45874,9 +48902,9 @@ struct tls_sw_context_rx { u8 async_capable: 1; u8 zc_capable: 1; u8 reader_contended: 1; + bool key_update_pending; struct tls_strparser strp; atomic_t decrypt_pending; - spinlock_t decrypt_compl_lock; struct sk_buff_head async_hold; struct wait_queue_head wq; }; @@ -45895,8 +48923,6 @@ struct tls_sw_context_tx { struct tls_rec *open_rec; struct list_head tx_list; atomic_t encrypt_pending; - spinlock_t encrypt_compl_lock; - int async_notify; u8 async_capable: 1; long unsigned int tx_bitmask; }; @@ -45920,7 +48946,7 @@ struct tms { }; struct tnl_ptk_info { - __be16 flags; + long unsigned int flags[1]; __be16 proto; __be32 key; __be32 seq; @@ -45971,7 +48997,6 @@ struct tp_probes { struct tp_transition_snapshot { long unsigned int rcu; - long unsigned int srcu; bool ongoing; }; @@ -45985,6 +49010,11 @@ struct trace_array { struct list_head list; char *name; struct array_buffer array_buffer; + unsigned int mapped; + long unsigned int range_addr_start; + long unsigned int range_addr_size; + long int text_delta; + long int data_delta; struct trace_pid_list *filtered_pids; struct trace_pid_list *filtered_no_pids; arch_spinlock_t max_lock; @@ -46000,11 +49030,12 @@ struct trace_array { unsigned char trace_flags_index[32]; unsigned int flags; raw_spinlock_t start_lock; + const char *system_names; struct list_head err_log; struct dentry *dir; struct dentry *options; struct dentry *percpu_dir; - struct dentry *event_dir; + struct eventfs_inode *event_dir; struct trace_options *topts; struct list_head systems; struct list_head events; @@ -46013,9 +49044,11 @@ struct trace_array { cpumask_var_t pipe_cpumask; int ref; int trace_ref; + struct list_head mod_events; struct ftrace_ops *ops; struct trace_pid_list *function_pids; struct trace_pid_list *function_no_pids; + struct fgraph_ops *gops; struct list_head func_probes; struct list_head mod_trace; struct list_head mod_notrace; @@ -46023,6 +49056,7 @@ struct trace_array { int no_filter_buffering_ref; struct list_head hist_vars; struct trace_func_repeats *last_func_repeats; + bool ring_buffer_expanded; }; struct trace_array_cpu { @@ -46060,9 +49094,34 @@ struct trace_buffer { struct mutex mutex; struct ring_buffer_per_cpu **buffers; struct hlist_node node; - u64 (*clock)(); + u64 (*clock)(void); struct rb_irq_work irq_work; bool time_stamp_abs; + long unsigned int range_addr_start; + long unsigned int range_addr_end; + long int last_text_delta; + long int last_data_delta; + unsigned int subbuf_size; + unsigned int subbuf_order; + unsigned int max_data_size; +}; + +struct trace_buffer_meta { + __u32 meta_page_size; + __u32 meta_struct_len; + __u32 subbuf_size; + __u32 nr_subbufs; + struct { + __u64 lost_events; + __u32 id; + __u32 read; + } reader; + __u64 flags; + __u64 entries; + __u64 overrun; + __u64 read; + __u64 Reserved1; + __u64 Reserved2; }; struct trace_buffer_struct { @@ -46077,6 +49136,7 @@ struct trace_probe { struct trace_probe_event *event; ssize_t size; unsigned int nr_args; + struct probe_entry_arg *entry_arg; struct probe_arg args[0]; }; @@ -46118,12 +49178,11 @@ struct trace_event_call { struct list_head list; struct trace_event_class *class; union { - char *name; + const char *name; struct tracepoint *tp; }; struct trace_event event; char *print_fmt; - struct event_filter *filter; union { void *module; atomic_t refcnt; @@ -46163,18 +49222,26 @@ struct trace_event_data_offsets_bpf_test_finish {}; struct trace_event_data_offsets_bpf_trace_printk { u32 bpf_string; + const void *bpf_string_ptr_; }; +struct trace_event_data_offsets_bpf_trigger_tp {}; + struct trace_event_data_offsets_bpf_xdp_link_attach_failed { u32 msg; + const void *msg_ptr_; }; +struct trace_event_data_offsets_cap_capable {}; + struct trace_event_data_offsets_clock { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_console { u32 msg; + const void *msg_ptr_; }; struct trace_event_data_offsets_consume_skb {}; @@ -46201,26 +49268,115 @@ struct trace_event_data_offsets_csd_function {}; struct trace_event_data_offsets_csd_queue_cpu {}; +struct trace_event_data_offsets_ctime {}; + +struct trace_event_data_offsets_ctime_ns_xchg {}; + struct trace_event_data_offsets_dev_pm_qos_request { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_device_pm_callback_end { u32 device; + const void *device_ptr_; u32 driver; + const void *driver_ptr_; }; struct trace_event_data_offsets_device_pm_callback_start { u32 device; + const void *device_ptr_; u32 driver; + const void *driver_ptr_; u32 parent; + const void *parent_ptr_; u32 pm_ops; + const void *pm_ops_ptr_; }; struct trace_event_data_offsets_devres { u32 devname; + const void *devname_ptr_; + u32 name; + const void *name_ptr_; }; +struct trace_event_data_offsets_dma_alloc_class { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_alloc_sgt { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_free_class { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_free_sgt { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_map { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_map_sg { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; + u32 dma_addrs; + const void *dma_addrs_ptr_; + u32 lengths; + const void *lengths_ptr_; +}; + +struct trace_event_data_offsets_dma_map_sg_err { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_sync_sg { + u32 device; + const void *device_ptr_; + u32 dma_addrs; + const void *dma_addrs_ptr_; + u32 lengths; + const void *lengths_ptr_; +}; + +struct trace_event_data_offsets_dma_sync_single { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_unmap { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_unmap_sg { + u32 device; + const void *device_ptr_; + u32 addrs; + const void *addrs_ptr_; +}; + +struct trace_event_data_offsets_dql_stall_detected {}; + struct trace_event_data_offsets_error_report_template {}; struct trace_event_data_offsets_exit_mmap {}; @@ -46233,6 +49389,8 @@ struct trace_event_data_offsets_file_check_and_advance_wb_err {}; struct trace_event_data_offsets_filemap_set_wb_err {}; +struct trace_event_data_offsets_fill_mg_cmtime {}; + struct trace_event_data_offsets_finish_task_reaping {}; struct trace_event_data_offsets_free_vmap_area_noflush {}; @@ -46249,6 +49407,8 @@ struct trace_event_data_offsets_hrtimer_init {}; struct trace_event_data_offsets_hrtimer_start {}; +struct trace_event_data_offsets_icmp_send {}; + struct trace_event_data_offsets_inet_sk_error_report {}; struct trace_event_data_offsets_inet_sock_set_state {}; @@ -46257,6 +49417,7 @@ struct trace_event_data_offsets_initcall_finish {}; struct trace_event_data_offsets_initcall_level { u32 level; + const void *level_ptr_; }; struct trace_event_data_offsets_initcall_start {}; @@ -46265,16 +49426,19 @@ struct trace_event_data_offsets_ipi_handler {}; struct trace_event_data_offsets_ipi_raise { u32 target_cpus; + const void *target_cpus_ptr_; }; struct trace_event_data_offsets_ipi_send_cpu {}; struct trace_event_data_offsets_ipi_send_cpumask { u32 cpumask; + const void *cpumask_ptr_; }; struct trace_event_data_offsets_irq_handler_entry { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_irq_handler_exit {}; @@ -46293,6 +49457,7 @@ struct trace_event_data_offsets_kmem_cache_alloc {}; struct trace_event_data_offsets_kmem_cache_free { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_ma_op {}; @@ -46301,7 +49466,10 @@ struct trace_event_data_offsets_ma_read {}; struct trace_event_data_offsets_ma_write {}; -struct trace_event_data_offsets_mark_victim {}; +struct trace_event_data_offsets_mark_victim { + u32 comm; + const void *comm_ptr_; +}; struct trace_event_data_offsets_mem_connect {}; @@ -46311,8 +49479,14 @@ struct trace_event_data_offsets_mem_return_failed {}; struct trace_event_data_offsets_migration_pte {}; +struct trace_event_data_offsets_mm_alloc_contig_migrate_range_info {}; + +struct trace_event_data_offsets_mm_filemap_fault {}; + struct trace_event_data_offsets_mm_filemap_op_page_cache {}; +struct trace_event_data_offsets_mm_filemap_op_page_cache_range {}; + struct trace_event_data_offsets_mm_lru_activate {}; struct trace_event_data_offsets_mm_lru_insertion {}; @@ -46353,73 +49527,85 @@ struct trace_event_data_offsets_mm_vmscan_lru_shrink_inactive {}; struct trace_event_data_offsets_mm_vmscan_node_reclaim_begin {}; +struct trace_event_data_offsets_mm_vmscan_reclaim_pages {}; + struct trace_event_data_offsets_mm_vmscan_throttled {}; struct trace_event_data_offsets_mm_vmscan_wakeup_kswapd {}; struct trace_event_data_offsets_mm_vmscan_write_folio {}; -struct trace_event_data_offsets_mmap_lock { - u32 memcg_path; -}; +struct trace_event_data_offsets_mmap_lock {}; -struct trace_event_data_offsets_mmap_lock_acquire_returned { - u32 memcg_path; -}; +struct trace_event_data_offsets_mmap_lock_acquire_returned {}; struct trace_event_data_offsets_module_free { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_module_load { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_module_request { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_napi_poll { u32 dev_name; + const void *dev_name_ptr_; }; struct trace_event_data_offsets_neigh__update { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_neigh_create { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_neigh_update { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_net_dev_rx_exit_template {}; struct trace_event_data_offsets_net_dev_rx_verbose_template { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_start_xmit { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_template { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_xmit { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_xmit_timeout { u32 name; + const void *name_ptr_; u32 driver; + const void *driver_ptr_; }; struct trace_event_data_offsets_netlink_extack { u32 msg; + const void *msg_ptr_; }; struct trace_event_data_offsets_notifier_info {}; @@ -46448,10 +49634,12 @@ struct trace_event_data_offsets_pm_qos_update {}; struct trace_event_data_offsets_power_domain { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_powernv_throttle { u32 reason; + const void *reason_ptr_; }; struct trace_event_data_offsets_pstate_sample {}; @@ -46460,21 +49648,27 @@ struct trace_event_data_offsets_purge_vmap_area_lazy {}; struct trace_event_data_offsets_qdisc_create { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_qdisc_dequeue {}; struct trace_event_data_offsets_qdisc_destroy { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_qdisc_enqueue {}; struct trace_event_data_offsets_qdisc_reset { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_rcu_stall_warning {}; @@ -46523,8 +49717,18 @@ struct trace_event_data_offsets_sched_numa_pair_template {}; struct trace_event_data_offsets_sched_pi_setprio {}; +struct trace_event_data_offsets_sched_prepare_exec { + u32 interp; + const void *interp_ptr_; + u32 filename; + const void *filename_ptr_; + u32 comm; + const void *comm_ptr_; +}; + struct trace_event_data_offsets_sched_process_exec { u32 filename; + const void *filename_ptr_; }; struct trace_event_data_offsets_sched_process_fork {}; @@ -46565,6 +49769,7 @@ struct trace_event_data_offsets_suspend_resume {}; struct trace_event_data_offsets_swiotlb_bounced { u32 dev_name; + const void *dev_name_ptr_; }; struct trace_event_data_offsets_sys_enter {}; @@ -46573,10 +49778,18 @@ struct trace_event_data_offsets_sys_exit {}; struct trace_event_data_offsets_task_newtask {}; +struct trace_event_data_offsets_task_prctl_unknown {}; + struct trace_event_data_offsets_task_rename {}; struct trace_event_data_offsets_tasklet {}; +struct trace_event_data_offsets_tcp_ao_event {}; + +struct trace_event_data_offsets_tcp_ao_event_sk {}; + +struct trace_event_data_offsets_tcp_ao_event_sne {}; + struct trace_event_data_offsets_tcp_cong_state_set {}; struct trace_event_data_offsets_tcp_event_sk {}; @@ -46585,10 +49798,16 @@ struct trace_event_data_offsets_tcp_event_sk_skb {}; struct trace_event_data_offsets_tcp_event_skb {}; +struct trace_event_data_offsets_tcp_hash_event {}; + struct trace_event_data_offsets_tcp_probe {}; struct trace_event_data_offsets_tcp_retransmit_synack {}; +struct trace_event_data_offsets_tcp_send_reset {}; + +struct trace_event_data_offsets_timer_base_idle {}; + struct trace_event_data_offsets_timer_class {}; struct trace_event_data_offsets_timer_expire_entry {}; @@ -46609,6 +49828,7 @@ struct trace_event_data_offsets_wake_reaper {}; struct trace_event_data_offsets_wakeup_source { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_wbc_class {}; @@ -46621,6 +49841,7 @@ struct trace_event_data_offsets_workqueue_execute_start {}; struct trace_event_data_offsets_workqueue_queue_work { u32 workqueue; + const void *workqueue_ptr_; }; struct trace_event_data_offsets_writeback_bdi_register {}; @@ -46664,7 +49885,8 @@ struct trace_event_fields { const char *name; const int size; const int align; - const int is_signed; + const unsigned int is_signed: 1; + unsigned int needs_test: 1; const int filter_type; const int len; }; @@ -46672,19 +49894,18 @@ struct trace_event_fields { }; }; -struct eventfs_file; - struct trace_subsystem_dir; struct trace_event_file { struct list_head list; struct trace_event_call *event_call; struct event_filter *filter; - struct eventfs_file *ef; + struct eventfs_inode *ei; struct trace_array *tr; struct trace_subsystem_dir *system; struct list_head triggers; long unsigned int flags; + refcount_t ref; atomic_t sm_ref; atomic_t tm_ref; }; @@ -46770,12 +49991,28 @@ struct trace_event_raw_bpf_trace_printk { char __data[0]; }; +struct trace_event_raw_bpf_trigger_tp { + struct trace_entry ent; + int nonce; + char __data[0]; +}; + struct trace_event_raw_bpf_xdp_link_attach_failed { struct trace_entry ent; u32 __data_loc_msg; char __data[0]; }; +struct trace_event_raw_cap_capable { + struct trace_entry ent; + const struct cred *cred; + struct user_namespace *target_ns; + const struct user_namespace *capable_ns; + int cap; + int ret; + char __data[0]; +}; + struct trace_event_raw_clock { struct trace_entry ent; u32 __data_loc_name; @@ -46883,6 +50120,27 @@ struct trace_event_raw_csd_queue_cpu { char __data[0]; }; +struct trace_event_raw_ctime { + struct trace_entry ent; + dev_t dev; + ino_t ino; + time64_t ctime_s; + u32 ctime_ns; + u32 gen; + char __data[0]; +}; + +struct trace_event_raw_ctime_ns_xchg { + struct trace_entry ent; + dev_t dev; + ino_t ino; + u32 gen; + u32 old; + u32 new; + u32 cur; + char __data[0]; +}; + struct trace_event_raw_dev_pm_qos_request { struct trace_entry ent; u32 __data_loc_name; @@ -46915,8 +50173,133 @@ struct trace_event_raw_devres { struct device *dev; const char *op; void *node; - const char *name; + u32 __data_loc_name; + size_t size; + char __data[0]; +}; + +struct trace_event_raw_dma_alloc_class { + struct trace_entry ent; + u32 __data_loc_device; + void *virt_addr; + u64 dma_addr; size_t size; + gfp_t flags; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_alloc_sgt { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + gfp_t flags; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_free_class { + struct trace_entry ent; + u32 __data_loc_device; + void *virt_addr; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_free_sgt { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_map { + struct trace_entry ent; + u32 __data_loc_device; + u64 phys_addr; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_map_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u32 __data_loc_dma_addrs; + u32 __data_loc_lengths; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_map_sg_err { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + int err; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_sync_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_dma_addrs; + u32 __data_loc_lengths; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_sync_single { + struct trace_entry ent; + u32 __data_loc_device; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_unmap { + struct trace_entry ent; + u32 __data_loc_device; + u64 addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_unmap_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_addrs; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dql_stall_detected { + struct trace_entry ent; + short unsigned int thrs; + unsigned int len; + long unsigned int last_reap; + long unsigned int hist_head; + long unsigned int now; + long unsigned int hist[4]; char __data[0]; }; @@ -46940,6 +50323,7 @@ struct trace_event_raw_fib6_table_lookup { int err; int oif; int iif; + u32 flowlabel; __u8 tos; __u8 scope; __u8 flags; @@ -46992,6 +50376,18 @@ struct trace_event_raw_filemap_set_wb_err { char __data[0]; }; +struct trace_event_raw_fill_mg_cmtime { + struct trace_entry ent; + dev_t dev; + ino_t ino; + time64_t ctime_s; + time64_t mtime_s; + u32 ctime_ns; + u32 mtime_ns; + u32 gen; + char __data[0]; +}; + struct trace_event_raw_finish_task_reaping { struct trace_entry ent; int pid; @@ -47058,6 +50454,19 @@ struct trace_event_raw_hrtimer_start { char __data[0]; }; +struct trace_event_raw_icmp_send { + struct trace_entry ent; + const void *skbaddr; + int type; + int code; + __u8 saddr[4]; + __u8 daddr[4]; + __u16 sport; + __u16 dport; + short unsigned int ulen; + char __data[0]; +}; + struct trace_event_raw_inet_sk_error_report { struct trace_entry ent; int error; @@ -47088,7 +50497,7 @@ struct trace_event_raw_inet_sock_set_state { char __data[0]; }; -typedef int (*initcall_t)(); +typedef int (*initcall_t)(void); struct trace_event_raw_initcall_finish { struct trace_entry ent; @@ -47182,6 +50591,7 @@ struct trace_event_raw_kfree_skb { struct trace_entry ent; void *skbaddr; void *location; + void *rx_sk; short unsigned int protocol; enum skb_drop_reason reason; char __data[0]; @@ -47256,6 +50666,14 @@ struct trace_event_raw_ma_write { struct trace_event_raw_mark_victim { struct trace_entry ent; int pid; + u32 __data_loc_comm; + long unsigned int total_vm; + long unsigned int anon_rss; + long unsigned int file_rss; + long unsigned int shmem_rss; + uid_t uid; + long unsigned int pgtables; + short int oom_score_adj; char __data[0]; }; @@ -47297,6 +50715,25 @@ struct trace_event_raw_migration_pte { char __data[0]; }; +struct trace_event_raw_mm_alloc_contig_migrate_range_info { + struct trace_entry ent; + long unsigned int start; + long unsigned int end; + long unsigned int nr_migrated; + long unsigned int nr_reclaimed; + long unsigned int nr_mapped; + int migratetype; + char __data[0]; +}; + +struct trace_event_raw_mm_filemap_fault { + struct trace_entry ent; + long unsigned int i_ino; + dev_t s_dev; + long unsigned int index; + char __data[0]; +}; + struct trace_event_raw_mm_filemap_op_page_cache { struct trace_entry ent; long unsigned int pfn; @@ -47307,6 +50744,15 @@ struct trace_event_raw_mm_filemap_op_page_cache { char __data[0]; }; +struct trace_event_raw_mm_filemap_op_page_cache_range { + struct trace_entry ent; + long unsigned int i_ino; + dev_t s_dev; + long unsigned int index; + long unsigned int last_index; + char __data[0]; +}; + struct trace_event_raw_mm_lru_activate { struct trace_entry ent; struct folio *folio; @@ -47330,6 +50776,7 @@ struct trace_event_raw_mm_migrate_pages { long unsigned int thp_succeeded; long unsigned int thp_failed; long unsigned int thp_split; + long unsigned int large_folio_split; enum migrate_mode mode; int reason; char __data[0]; @@ -47453,7 +50900,6 @@ struct trace_event_raw_mm_vmscan_lru_isolate { long unsigned int nr_scanned; long unsigned int nr_skipped; long unsigned int nr_taken; - unsigned int isolate_mode; int lru; char __data[0]; }; @@ -47496,6 +50942,22 @@ struct trace_event_raw_mm_vmscan_node_reclaim_begin { char __data[0]; }; +struct trace_event_raw_mm_vmscan_reclaim_pages { + struct trace_entry ent; + int nid; + long unsigned int nr_scanned; + long unsigned int nr_reclaimed; + long unsigned int nr_dirty; + long unsigned int nr_writeback; + long unsigned int nr_congested; + long unsigned int nr_immediate; + unsigned int nr_activate0; + unsigned int nr_activate1; + long unsigned int nr_ref_keep; + long unsigned int nr_unmap_fail; + char __data[0]; +}; + struct trace_event_raw_mm_vmscan_throttled { struct trace_entry ent; int nid; @@ -47524,7 +50986,7 @@ struct trace_event_raw_mm_vmscan_write_folio { struct trace_event_raw_mmap_lock { struct trace_entry ent; struct mm_struct *mm; - u32 __data_loc_memcg_path; + u64 memcg_id; bool write; char __data[0]; }; @@ -47532,7 +50994,7 @@ struct trace_event_raw_mmap_lock { struct trace_event_raw_mmap_lock_acquire_returned { struct trace_entry ent; struct mm_struct *mm; - u32 __data_loc_memcg_path; + u64 memcg_id; bool write; bool success; char __data[0]; @@ -47733,7 +51195,7 @@ struct trace_event_raw_page_pool_release { struct trace_event_raw_page_pool_state_hold { struct trace_entry ent; const struct page_pool *pool; - const struct page *page; + long unsigned int netmem; u32 hold; long unsigned int pfn; char __data[0]; @@ -47742,7 +51204,7 @@ struct trace_event_raw_page_pool_state_hold { struct trace_event_raw_page_pool_state_release { struct trace_entry ent; const struct page_pool *pool; - const struct page *page; + long unsigned int netmem; u32 release; long unsigned int pfn; char __data[0]; @@ -48132,6 +51594,15 @@ struct trace_event_raw_sched_pi_setprio { char __data[0]; }; +struct trace_event_raw_sched_prepare_exec { + struct trace_entry ent; + u32 __data_loc_interp; + u32 __data_loc_filename; + pid_t pid; + u32 __data_loc_comm; + char __data[0]; +}; + struct trace_event_raw_sched_process_exec { struct trace_entry ent; u32 __data_loc_filename; @@ -48170,7 +51641,6 @@ struct trace_event_raw_sched_stat_runtime { char comm[16]; pid_t pid; u64 runtime; - u64 vruntime; char __data[0]; }; @@ -48330,9 +51800,18 @@ struct trace_event_raw_task_newtask { char __data[0]; }; +struct trace_event_raw_task_prctl_unknown { + struct trace_entry ent; + int option; + long unsigned int arg2; + long unsigned int arg3; + long unsigned int arg4; + long unsigned int arg5; + char __data[0]; +}; + struct trace_event_raw_task_rename { struct trace_entry ent; - pid_t pid; char oldcomm[16]; char newcomm[16]; short int oom_score_adj; @@ -48346,6 +51825,58 @@ struct trace_event_raw_tasklet { char __data[0]; }; +struct trace_event_raw_tcp_ao_event { + struct trace_entry ent; + __u64 net_cookie; + const void *skbaddr; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + int l3index; + __u16 sport; + __u16 dport; + __u16 family; + bool fin; + bool syn; + bool rst; + bool psh; + bool ack; + __u8 keyid; + __u8 rnext; + __u8 maclen; + char __data[0]; +}; + +struct trace_event_raw_tcp_ao_event_sk { + struct trace_entry ent; + __u64 net_cookie; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + __u16 sport; + __u16 dport; + __u16 family; + __u8 keyid; + __u8 rnext; + char __data[0]; +}; + +struct trace_event_raw_tcp_ao_event_sne { + struct trace_entry ent; + __u64 net_cookie; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + __u16 sport; + __u16 dport; + __u16 family; + __u32 new_sne; + char __data[0]; +}; + struct trace_event_raw_tcp_cong_state_set { struct trace_entry ent; const void *skaddr; @@ -48397,6 +51928,26 @@ struct trace_event_raw_tcp_event_skb { char __data[0]; }; +struct trace_event_raw_tcp_hash_event { + struct trace_entry ent; + __u64 net_cookie; + const void *skbaddr; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + int l3index; + __u16 sport; + __u16 dport; + __u16 family; + bool fin; + bool syn; + bool rst; + bool psh; + bool ack; + char __data[0]; +}; + struct trace_event_raw_tcp_probe { struct trace_entry ent; __u8 saddr[28]; @@ -48414,6 +51965,8 @@ struct trace_event_raw_tcp_probe { __u32 srtt; __u32 rcv_wnd; __u64 sock_cookie; + const void *skbaddr; + const void *skaddr; char __data[0]; }; @@ -48431,6 +51984,24 @@ struct trace_event_raw_tcp_retransmit_synack { char __data[0]; }; +struct trace_event_raw_tcp_send_reset { + struct trace_entry ent; + const void *skbaddr; + const void *skaddr; + int state; + enum sk_rst_reason reason; + __u8 saddr[28]; + __u8 daddr[28]; + char __data[0]; +}; + +struct trace_event_raw_timer_base_idle { + struct trace_entry ent; + bool is_idle; + unsigned int cpu; + char __data[0]; +}; + struct trace_event_raw_timer_class { struct trace_entry ent; void *timer; @@ -48451,6 +52022,7 @@ struct trace_event_raw_timer_start { void *timer; void *function; long unsigned int expires; + long unsigned int bucket_expiry; long unsigned int now; unsigned int flags; char __data[0]; @@ -48466,7 +52038,11 @@ struct trace_event_raw_tlb_flush { struct trace_event_raw_udp_fail_queue_rcv_skb { struct trace_entry ent; int rc; - __u16 lport; + __u16 sport; + __u16 dport; + __u16 family; + __u8 saddr[28]; + __u8 daddr[28]; char __data[0]; }; @@ -48532,6 +52108,7 @@ struct trace_event_raw_wbc_class { struct trace_event_raw_workqueue_activate_work { struct trace_entry ent; void *work; + void *function; char __data[0]; }; @@ -48829,7 +52406,7 @@ struct trace_subsystem_dir { struct list_head list; struct event_subsystem *subsystem; struct trace_array *tr; - struct eventfs_file *ef; + struct eventfs_inode *ei; int ref_count; int nr_events; }; @@ -48838,11 +52415,11 @@ struct trace_uprobe { struct dyn_event devent; struct uprobe_consumer consumer; struct path path; - struct inode *inode; char *filename; + struct uprobe *uprobe; long unsigned int offset; long unsigned int ref_ctr_offset; - long unsigned int nhit; + long unsigned int *nhits; struct trace_probe tp; }; @@ -48851,33 +52428,37 @@ struct tracefs_dir_ops { int (*rmdir)(const char *); }; -struct tracefs_mount_opts { +struct tracefs_fs_info { kuid_t uid; kgid_t gid; umode_t mode; unsigned int opts; }; -struct tracefs_fs_info { - struct tracefs_mount_opts mount_opts; -}; - struct tracefs_inode { + struct inode vfs_inode; + struct list_head list; long unsigned int flags; void *private; - struct inode vfs_inode; }; +struct tracepoint_ext; + struct tracepoint { const char *name; - struct static_key key; + struct static_key_false key; struct static_call_key *static_call_key; void *static_call_tramp; void *iterator; void *probestub; - int (*regfunc)(); - void (*unregfunc)(); struct tracepoint_func *funcs; + struct tracepoint_ext *ext; +}; + +struct tracepoint_ext { + int (*regfunc)(void); + void (*unregfunc)(void); + unsigned int faultable: 1; }; struct traceprobe_parse_context { @@ -48890,6 +52471,7 @@ struct traceprobe_parse_context { const struct btf_type *last_type; u32 last_bitoffs; u32 last_bitsize; + struct trace_probe *tp; unsigned int flags; int offset; }; @@ -49038,9 +52620,29 @@ struct tsb { } tsa; }; +struct tsconfig_reply_data { + struct ethnl_reply_data base; + struct hwtstamp_provider_desc hwprov_desc; + struct { + u32 tx_type; + u32 rx_filter; + u32 flags; + } hwtst_config; +}; + +struct tsconfig_req_info { + struct ethnl_req_info base; +}; + struct tsinfo_reply_data { struct ethnl_reply_data base; - struct ethtool_ts_info ts_info; + struct kernel_ethtool_ts_info ts_info; + struct ethtool_ts_stats stats; +}; + +struct tsinfo_req_info { + struct ethnl_req_info base; + struct hwtstamp_provider_desc hwprov_desc; }; struct tso_t { @@ -49141,9 +52743,10 @@ struct tty_operations { void (*hangup)(struct tty_struct *); int (*break_ctl)(struct tty_struct *, int); void (*flush_buffer)(struct tty_struct *); + int (*ldisc_ok)(struct tty_struct *, int); void (*set_ldisc)(struct tty_struct *); void (*wait_until_sent)(struct tty_struct *, int); - void (*send_xchar)(struct tty_struct *, char); + void (*send_xchar)(struct tty_struct *, u8); int (*tiocmget)(struct tty_struct *); int (*tiocmset)(struct tty_struct *, unsigned int, unsigned int); int (*resize)(struct tty_struct *, struct winsize *); @@ -49193,7 +52796,6 @@ struct tty_struct { spinlock_t lock; bool stopped; bool tco_stopped; - long unsigned int unused[0]; } flow; struct { struct pid *pgrp; @@ -49201,7 +52803,6 @@ struct tty_struct { spinlock_t lock; unsigned char pktstatus; bool packet; - long unsigned int unused[0]; } ctrl; bool hw_stopped; bool closing; @@ -49215,13 +52816,15 @@ struct tty_struct { void *driver_data; spinlock_t files_lock; int write_cnt; - unsigned char *write_buf; + u8 *write_buf; struct list_head tty_files; struct work_struct SAK_work; }; +struct ubuf_info_ops; + struct ubuf_info { - void (*callback)(struct sk_buff *, struct ubuf_info *, bool); + const struct ubuf_info_ops *ops; refcount_t refcnt; u8 flags; }; @@ -49243,6 +52846,11 @@ struct ubuf_info_msgzc { struct mmpin mmp; }; +struct ubuf_info_ops { + void (*complete)(struct sk_buff *, struct ubuf_info *, bool); + int (*link_skb)(struct sk_buff *, struct ubuf_info *); +}; + struct ucontext { long unsigned int uc_flags; struct ucontext *uc_link; @@ -49269,21 +52877,15 @@ struct ucred { struct udp_sock { struct inet_sock inet; + long unsigned int udp_flags; int pending; - unsigned int corkflag; __u8 encap_type; - unsigned char no_check6_tx: 1; - unsigned char no_check6_rx: 1; - unsigned char encap_enabled: 1; - unsigned char gro_enabled: 1; - unsigned char accept_udp_l4: 1; - unsigned char accept_udp_fraglist: 1; + __u16 udp_lrpa_hash; + struct hlist_nulls_node udp_lrpa_node; __u16 len; __u16 gso_size; __u16 pcslen; __u16 pcrlen; - __u8 pcflag; - __u8 unused[3]; int (*encap_rcv)(struct sock *, struct sk_buff *); void (*encap_err_rcv)(struct sock *, struct sk_buff *, int, __be16, u32, u8 *); int (*encap_err_lookup)(struct sock *, struct sk_buff *); @@ -49291,10 +52893,40 @@ struct udp_sock { struct sk_buff * (*gro_receive)(struct sock *, struct list_head *, struct sk_buff *); int (*gro_complete)(struct sock *, struct sk_buff *, int); long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; struct sk_buff_head reader_queue; int forward_deficit; int forward_threshold; - long: 64; + bool peeking_with_offset; long: 64; long: 64; long: 64; @@ -49350,11 +52982,20 @@ struct udp_dev_scratch { }; struct udp_hslot { - struct hlist_head head; + union { + struct hlist_head head; + struct hlist_nulls_head nulls_head; + }; int count; spinlock_t lock; }; +struct udp_hslot_main { + struct udp_hslot hslot; + u32 hash4_cnt; + long: 64; +}; + struct udp_mib { long unsigned int mibs[10]; }; @@ -49370,7 +53011,8 @@ struct udp_skb_cb { struct udp_table { struct udp_hslot *hash; - struct udp_hslot *hash2; + struct udp_hslot_main *hash2; + struct udp_hslot *hash4; unsigned int mask; unsigned int log; }; @@ -49425,27 +53067,94 @@ struct uevent_sock { struct sock *sk; }; -struct uid_gid_extent { - u32 first; - u32 lower_first; - u32 count; +struct uncached_list { + spinlock_t lock; + struct list_head head; }; -struct uid_gid_map { - u32 nr_extents; - union { - struct uid_gid_extent extent[5]; - struct { - struct uid_gid_extent *forward; - struct uid_gid_extent *reverse; - }; - }; +struct unix_address { + refcount_t refcnt; + int len; + struct sockaddr_un name[0]; }; -struct uncached_list { +struct unix_vertex; + +struct unix_sock { + struct sock sk; + struct unix_address *addr; + struct path path; + struct mutex iolock; + struct mutex bindlock; + struct sock *peer; + struct sock *listener; + struct unix_vertex *vertex; spinlock_t lock; - struct list_head head; - struct list_head quarantine; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + struct socket_wq peer_wq; + wait_queue_entry_t peer_wake; + struct scm_stat scm_stat; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; +}; + +struct unix_vertex { + struct list_head edges; + struct list_head entry; + struct list_head scc_entry; + long unsigned int out_degree; + long unsigned int index; + long unsigned int scc_index; +}; + +struct unlink_vma_file_batch { + int count; + struct vm_area_struct *vmas[8]; }; struct unwind_state { @@ -49472,8 +53181,12 @@ struct uprobe { struct rw_semaphore register_rwsem; struct rw_semaphore consumer_rwsem; struct list_head pending_list; - struct uprobe_consumer *consumers; + struct list_head consumers; struct inode *inode; + union { + struct callback_head rcu; + struct work_struct work; + }; loff_t offset; loff_t ref_ctr_offset; long unsigned int flags; @@ -49483,6 +53196,7 @@ struct uprobe { struct uprobe_cpu_buffer { struct mutex mutex; void *buf; + int dsize; }; struct uprobe_dispatch_data { @@ -49492,6 +53206,11 @@ struct uprobe_dispatch_data { struct uprobe_task { enum uprobe_task_state state; + unsigned int depth; + struct return_instance *return_instances; + struct return_instance *ri_pool; + struct timer_list ri_timer; + seqcount_t ri_seqcount; union { struct { struct arch_uprobe_task autask; @@ -49504,8 +53223,7 @@ struct uprobe_task { }; struct uprobe *active_uprobe; long unsigned int xol_vaddr; - struct return_instance *return_instances; - unsigned int depth; + struct arch_uprobe *auprobe; }; struct uprobe_trace_entry_head { @@ -49616,6 +53334,108 @@ struct uts_namespace { struct ns_common ns; }; +struct uv_cb_header { + u16 len; + u16 cmd; + u16 rc; + u16 rrc; +}; + +struct uv_cb_cfs { + struct uv_cb_header header; + u64 reserved08[2]; + u64 paddr; +}; + +struct uv_cb_init { + struct uv_cb_header header; + u64 reserved08[2]; + u64 stor_origin; + u64 stor_len; + u64 reserved28[4]; +}; + +struct uv_cb_list_secrets { + struct uv_cb_header header; + u64 reserved08[2]; + u8 reserved18[6]; + u16 start_idx; + u64 list_addr; + u64 reserved28[4]; +}; + +struct uv_key_hash { + u64 dword[4]; +}; + +struct uv_cb_query_keys { + struct uv_cb_header header; + u64 reserved08[3]; + struct uv_key_hash key_hashes[15]; +}; + +struct uv_cb_retr_secr { + struct uv_cb_header header; + u64 reserved08[2]; + u16 secret_idx; + u16 reserved1a; + u32 buf_size; + u64 buf_addr; + u64 reserved28[4]; +}; + +struct uv_cb_share { + struct uv_cb_header header; + u64 reserved08[3]; + u64 paddr; + u64 reserved28; +}; + +struct uv_info { + long unsigned int inst_calls_list[4]; + long unsigned int uv_base_stor_len; + long unsigned int guest_base_stor_len; + long unsigned int guest_virt_base_stor_len; + long unsigned int guest_virt_var_stor_len; + long unsigned int guest_cpu_stor_len; + long unsigned int max_sec_stor_addr; + unsigned int max_num_sec_conf; + short unsigned int max_guest_cpu_id; + long unsigned int uv_feature_indications; + long unsigned int supp_se_hdr_ver; + long unsigned int supp_se_hdr_pcf; + long unsigned int conf_dump_storage_state_len; + long unsigned int conf_dump_finalize_len; + long unsigned int supp_att_req_hdr_ver; + long unsigned int supp_att_pflags; + long unsigned int supp_add_secret_req_ver; + long unsigned int supp_add_secret_pcf; + long unsigned int supp_secret_types; + short unsigned int max_assoc_secrets; + short unsigned int max_retr_secrets; +}; + +struct uv_secret_list_item_hdr { + u16 index; + u16 type; + u32 length; +}; + +struct uv_secret_list_item { + struct uv_secret_list_item_hdr hdr; + u64 reserverd08; + u8 id[32]; +}; + +struct uv_secret_list { + u16 num_secr_stored; + u16 total_num_secrets; + u16 next_secret_idx; + u16 reserved_06; + u64 reserved_08; + struct uv_secret_list_item secrets[85]; +}; + struct va_format { const char *fmt; va_list *va; @@ -49641,7 +53461,17 @@ struct vdso_data { s32 tz_dsttime; u32 hrtimer_res; u32 __unused; - struct arch_vdso_data arch_data; + struct arch_vdso_time_data arch_data; +}; + +union vdso_data_store { + struct vdso_data data[2]; + u8 page[4096]; +}; + +struct vdso_rng_data { + u64 generation; + u8 is_ready; }; struct vfree_deferred { @@ -49705,9 +53535,9 @@ struct vm_area_struct { const vm_flags_t vm_flags; vm_flags_t __vm_flags; }; - int vm_lock_seq; - struct vma_lock *vm_lock; bool detached; + unsigned int vm_lock_seq; + struct vma_lock *vm_lock; struct { struct rb_node rb; long unsigned int rb_subtree_last; @@ -49743,6 +53573,13 @@ struct vm_fault { pgtable_t prealloc_pte; }; +struct vm_layout { + long unsigned int kaslr_offset; + long unsigned int kaslr_offset_phys; + long unsigned int identity_base; + long unsigned int identity_size; +}; + struct vm_operations_struct { void (*open)(struct vm_area_struct *); void (*close)(struct vm_area_struct *); @@ -49765,8 +53602,16 @@ struct vm_special_mapping { struct page **pages; vm_fault_t (*fault)(const struct vm_special_mapping *, struct vm_area_struct *, struct vm_fault *); int (*mremap)(const struct vm_special_mapping *, struct vm_area_struct *); + void (*close)(const struct vm_special_mapping *, struct vm_area_struct *); }; +struct vm_stack { + struct callback_head rcu; + struct vm_struct *stack_vm_area; +}; + +typedef struct vm_struct *pcp_op_T_____10; + struct vm_struct { struct vm_struct *next; void *addr; @@ -49785,16 +53630,38 @@ struct vm_unmapped_area_info { long unsigned int high_limit; long unsigned int align_mask; long unsigned int align_offset; + long unsigned int start_gap; }; -struct vma_iterator { - struct ma_state mas; +struct vma_list { + struct vm_area_struct *vma; + struct list_head head; + refcount_t mmap_count; }; struct vma_lock { struct rw_semaphore lock; }; +struct vma_merge_struct { + struct mm_struct *mm; + struct vma_iterator *vmi; + long unsigned int pgoff; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct vm_area_struct *vma; + long unsigned int start; + long unsigned int end; + long unsigned int flags; + struct file *file; + struct anon_vma *anon_vma; + struct mempolicy *policy; + struct vm_userfaultfd_ctx uffd_ctx; + struct anon_vma_name *anon_name; + enum vma_merge_flags merge_flags; + enum vma_merge_state state; +}; + struct vma_prepare { struct vm_area_struct *vma; struct vm_area_struct *adj_next; @@ -49829,6 +53696,7 @@ struct vmap_block { struct list_head free_list; struct callback_head callback_head; struct list_head purge; + unsigned int cpu; }; struct vmap_block_queue { @@ -49837,6 +53705,22 @@ struct vmap_block_queue { struct xarray vmap_blocks; }; +struct vmap_pool { + struct list_head head; + long unsigned int len; +}; + +struct vmap_node { + struct vmap_pool pool[256]; + spinlock_t pool_lock; + bool skip_populate; + struct rb_list busy; + struct rb_list lazy; + struct list_head purge_list; + struct work_struct purge_work; + long unsigned int nr_purged; +}; + struct vt220_sccb { struct sccb_header header; struct { @@ -49853,16 +53737,12 @@ struct vtimer_list { long unsigned int data; }; -struct vx_array { - __vector128 _[32]; -}; - struct vxlan_metadata { u32 gbp; }; struct wait_bit_key { - void *flags; + long unsigned int *flags; int bit_nr; long unsigned int timeout; }; @@ -49955,8 +53835,7 @@ struct wol_reply_data { }; struct word_at_a_time { - const long unsigned int high_bits; - const long unsigned int low_bits; + const long unsigned int bits; }; struct work_for_cpu { @@ -49966,6 +53845,12 @@ struct work_for_cpu { long int ret; }; +struct work_offq_data { + u32 pool_id; + u32 disable; + u32 flags; +}; + struct worker { union { struct list_head entry; @@ -49985,7 +53870,7 @@ struct worker { long unsigned int last_active; unsigned int flags; int id; - char desc[24]; + char desc[32]; struct workqueue_struct *rescue_wq; }; @@ -50008,8 +53893,6 @@ struct worker_pool { struct hlist_head busy_hash[64]; struct worker *manager; struct list_head workers; - struct list_head dying_workers; - struct completion *detach_completion; struct ida worker_ida; struct workqueue_attrs *attrs; struct hlist_node hash_node; @@ -50028,6 +53911,8 @@ struct workqueue_attrs { struct wq_flusher; +struct wq_node_nr_active; + struct workqueue_struct { struct list_head pwqs; struct list_head list; @@ -50041,19 +53926,20 @@ struct workqueue_struct { struct list_head maydays; struct worker *rescuer; int nr_drainers; + int max_active; + int min_active; int saved_max_active; + int saved_min_active; struct workqueue_attrs *unbound_attrs; struct pool_workqueue *dfl_pwq; - char name[24]; + char name[32]; struct callback_head rcu; long: 64; long: 64; long: 64; - long: 64; - long: 64; - long: 64; unsigned int flags; struct pool_workqueue **cpu_pwq; + struct wq_node_nr_active *node_nr_active[0]; long: 64; long: 64; long: 64; @@ -50092,12 +53978,25 @@ struct wq_barrier { struct task_struct *task; }; +struct wq_drain_dead_softirq_work { + struct work_struct work; + struct worker_pool *pool; + struct completion done; +}; + struct wq_flusher { struct list_head list; int flush_color; struct completion done; }; +struct wq_node_nr_active { + int max; + atomic_t nr; + raw_spinlock_t lock; + struct list_head pending_pwqs; +}; + struct wq_pod_type { int nr_pods; cpumask_var_t *pod_cpus; @@ -50131,9 +54030,25 @@ struct writeback_control { unsigned int for_reclaim: 1; unsigned int range_cyclic: 1; unsigned int for_sync: 1; - unsigned int unpinned_fscache_wb: 1; + unsigned int unpinned_netfs_wb: 1; unsigned int no_cgroup_owner: 1; struct swap_iocb **swap_plug; + struct list_head *list; + struct folio_batch fbatch; + long unsigned int index; + int saved_err; +}; + +struct wti_debug { + long unsigned int missed; + long unsigned int addr; + pid_t pid; +}; + +struct wti_state { + struct wti_debug dbg; + struct task_struct *thread; + bool pending; }; struct ww_acquire_ctx { @@ -50165,7 +54080,7 @@ struct xa_node { struct list_head private_list; struct callback_head callback_head; }; - void *slots[16]; + void *slots[64]; union { long unsigned int tags[3]; long unsigned int marks[3]; @@ -50187,17 +54102,10 @@ struct xa_state { struct list_lru *xa_lru; }; -struct xattr_name; - -struct xattr_ctx { - union { - const void *cvalue; - void *value; - }; - void *kvalue; - size_t size; - struct xattr_name *kname; - unsigned int flags; +struct xattr_args { + __u64 value; + __u32 size; + __u32 flags; }; struct xattr_handler { @@ -50224,9 +54132,7 @@ struct xdp_buff_xsk { dma_addr_t dma; dma_addr_t frame_dma; struct xsk_buff_pool *pool; - u64 orig_addr; - struct list_head free_list_node; - struct list_head xskb_list_node; + struct list_head list_node; }; struct xdp_bulk_queue { @@ -50259,10 +54165,10 @@ struct xdp_dev_bulk_queue { struct xdp_frame { void *data; - u16 len; - u16 headroom; + u32 len; + u32 headroom; u32 metasize; - struct xdp_mem_info mem; + enum xdp_mem_type mem_type: 32; struct net_device *dev_rx; u32 frame_sz; u32 flags; @@ -50270,8 +54176,7 @@ struct xdp_frame { struct xdp_frame_bulk { int count; - void *xa; - void *q[16]; + netmem_ref q[16]; }; struct xdp_mem_allocator { @@ -50287,6 +54192,7 @@ struct xdp_mem_allocator { struct xdp_metadata_ops { int (*xmo_rx_timestamp)(const struct xdp_md *, u64 *); int (*xmo_rx_hash)(const struct xdp_md *, u32 *, enum xdp_rss_hash_type *); + int (*xmo_rx_vlan_tag)(const struct xdp_md *, __be16 *, u16 *); }; struct xdp_page_head { @@ -50356,6 +54262,7 @@ struct xdp_sock { long: 64; struct xsk_queue *tx; struct list_head tx_list; + u32 tx_budget_spent; spinlock_t rx_lock; u64 rx_dropped; u64 rx_queue_full; @@ -50466,6 +54373,7 @@ struct xdp_umem { struct user_struct *user; refcount_t users; u8 flags; + u8 tx_metadata_len; bool zc; struct page **pgs; int id; @@ -50553,6 +54461,20 @@ struct xfrm_mode { u8 flags; }; +struct xfrm_mode_cbs { + struct module *owner; + int (*init_state)(struct xfrm_state *); + int (*clone_state)(struct xfrm_state *, struct xfrm_state *); + void (*destroy_state)(struct xfrm_state *); + int (*user_init)(struct net *, struct xfrm_state *, struct nlattr **, struct netlink_ext_ack *); + int (*copy_to_user)(struct xfrm_state *, struct sk_buff *); + unsigned int (*sa_len)(const struct xfrm_state *); + u32 (*get_inner_mtu)(struct xfrm_state *, int); + int (*input)(struct xfrm_state *, struct sk_buff *); + int (*output)(struct net *, struct sock *, struct sk_buff *); + int (*prepare_output)(struct xfrm_state *, struct sk_buff *); +}; + struct xfrm_replay_state { __u32 oseq; __u32 seq; @@ -50617,11 +54539,17 @@ struct xfrm_state { struct hlist_node gclist; struct hlist_node bydst; }; - struct hlist_node bysrc; + union { + struct hlist_node dev_gclist; + struct hlist_node bysrc; + }; struct hlist_node byspi; struct hlist_node byseq; + struct hlist_node state_cache; + struct hlist_node state_cache_input; refcount_t refcnt; spinlock_t lock; + u32 pcpu_num; struct xfrm_id id; struct xfrm_selector sel; struct xfrm_mark mark; @@ -50640,6 +54568,7 @@ struct xfrm_state { u16 family; xfrm_address_t saddr; int header_len; + int enc_hdr_len; int trailer_len; u32 extra_flags; struct xfrm_mark smark; @@ -50655,6 +54584,8 @@ struct xfrm_state { u32 mapping_maxage; struct xfrm_encap_tmpl *encap; struct sock *encap_sk; + u32 nat_keepalive_interval; + time64_t nat_keepalive_expiration; xfrm_address_t *coaddr; struct xfrm_state *tunnel; atomic_t tunnel_users; @@ -50681,6 +54612,9 @@ struct xfrm_state { const struct xfrm_type_offload *type_offload; struct xfrm_sec_ctx *security; void *data; + u8 dir; + const struct xfrm_mode_cbs *mode_cbs; + void *mode_data; }; struct xfrm_tunnel { @@ -50712,10 +54646,8 @@ struct xfrm_type_offload { struct xol_area { wait_queue_head_t wq; - atomic_t slot_count; long unsigned int *bitmap; - struct vm_special_mapping xol_mapping; - struct page *pages[2]; + struct page *page; long unsigned int vaddr; }; @@ -50788,10 +54720,12 @@ struct xsk_buff_pool { u32 chunk_size; u32 chunk_shift; u32 frame_len; + u32 xdp_zc_max_segs; + u8 tx_metadata_len; u8 cached_need_wakeup; bool uses_need_wakeup; - bool dma_need_sync; bool unaligned; + bool tx_sw_csum; void *addrs; spinlock_t cq_lock; struct xdp_buff_xsk *free_heads[0]; @@ -50813,12 +54747,18 @@ struct xsk_buff_pool { long: 64; long: 64; long: 64; - long: 64; +}; + +struct xsk_tx_metadata_ops { + void (*tmo_request_timestamp)(void *); + u64 (*tmo_fill_timestamp)(void *); + void (*tmo_request_checksum)(u16, u16, void *); }; struct zap_details { struct folio *single_folio; bool even_cows; + bool reclaim_pt; zap_flags_t zap_flags; }; @@ -50858,8 +54798,6 @@ typedef u64 (*btf_bpf_csum_level)(struct sk_buff *, u64); typedef u64 (*btf_bpf_csum_update)(struct sk_buff *, __wsum); -typedef u64 (*btf_bpf_current_task_under_cgroup)(struct bpf_map *, u32); - typedef u64 (*btf_bpf_d_path)(struct path *, char *, u32); typedef u64 (*btf_bpf_dynptr_data)(const struct bpf_dynptr_kern *, u32, u32); @@ -50894,13 +54832,13 @@ typedef u64 (*btf_bpf_get_cgroup_classid)(const struct sk_buff *); typedef u64 (*btf_bpf_get_current_comm)(char *, u32); -typedef u64 (*btf_bpf_get_current_pid_tgid)(); +typedef u64 (*btf_bpf_get_current_pid_tgid)(void); -typedef u64 (*btf_bpf_get_current_task)(); +typedef u64 (*btf_bpf_get_current_task)(void); -typedef u64 (*btf_bpf_get_current_task_btf)(); +typedef u64 (*btf_bpf_get_current_task_btf)(void); -typedef u64 (*btf_bpf_get_current_uid_gid)(); +typedef u64 (*btf_bpf_get_current_uid_gid)(void); typedef u64 (*btf_bpf_get_func_ip_kprobe)(struct pt_regs *); @@ -50914,6 +54852,8 @@ typedef u64 (*btf_bpf_get_hash_recalc)(struct sk_buff *); typedef u64 (*btf_bpf_get_listener_sock)(struct sock *); +typedef u64 (*btf_bpf_get_netns_cookie)(struct sk_buff *); + typedef u64 (*btf_bpf_get_netns_cookie_sk_msg)(struct sk_msg *); typedef u64 (*btf_bpf_get_netns_cookie_sock)(struct sock *); @@ -50924,13 +54864,13 @@ typedef u64 (*btf_bpf_get_netns_cookie_sock_ops)(struct bpf_sock_ops_kern *); typedef u64 (*btf_bpf_get_ns_current_pid_tgid)(u64, u64, struct bpf_pidns_info *, u32); -typedef u64 (*btf_bpf_get_numa_node_id)(); +typedef u64 (*btf_bpf_get_numa_node_id)(void); -typedef u64 (*btf_bpf_get_raw_cpu_id)(); +typedef u64 (*btf_bpf_get_raw_cpu_id)(void); typedef u64 (*btf_bpf_get_route_realm)(const struct sk_buff *); -typedef u64 (*btf_bpf_get_smp_processor_id)(); +typedef u64 (*btf_bpf_get_smp_processor_id)(void); typedef u64 (*btf_bpf_get_socket_cookie)(struct sk_buff *); @@ -50950,6 +54890,8 @@ typedef u64 (*btf_bpf_get_stack_pe)(struct bpf_perf_event_data_kern *, void *, u typedef u64 (*btf_bpf_get_stack_raw_tp)(struct bpf_raw_tracepoint_args *, void *, u32, u64); +typedef u64 (*btf_bpf_get_stack_sleepable)(struct pt_regs *, void *, u32, u64); + typedef u64 (*btf_bpf_get_stack_tp)(void *, void *, u32, u64); typedef u64 (*btf_bpf_get_stackid)(struct pt_regs *, struct bpf_map *, u64); @@ -50962,19 +54904,21 @@ typedef u64 (*btf_bpf_get_stackid_tp)(void *, struct bpf_map *, u64); typedef u64 (*btf_bpf_get_task_stack)(struct task_struct *, void *, u32, u64); -typedef u64 (*btf_bpf_jiffies64)(); +typedef u64 (*btf_bpf_get_task_stack_sleepable)(struct task_struct *, void *, u32, u64); + +typedef u64 (*btf_bpf_jiffies64)(void); typedef u64 (*btf_bpf_kallsyms_lookup_name)(const char *, int, int, u64 *); typedef u64 (*btf_bpf_kptr_xchg)(void *, void *); -typedef u64 (*btf_bpf_ktime_get_boot_ns)(); +typedef u64 (*btf_bpf_ktime_get_boot_ns)(void); -typedef u64 (*btf_bpf_ktime_get_coarse_ns)(); +typedef u64 (*btf_bpf_ktime_get_coarse_ns)(void); -typedef u64 (*btf_bpf_ktime_get_ns)(); +typedef u64 (*btf_bpf_ktime_get_ns)(void); -typedef u64 (*btf_bpf_ktime_get_tai_ns)(); +typedef u64 (*btf_bpf_ktime_get_tai_ns)(void); typedef u64 (*btf_bpf_l3_csum_replace)(struct sk_buff *, u32, u64, u64, u64); @@ -51218,9 +55162,9 @@ typedef u64 (*btf_bpf_spin_unlock)(struct bpf_spin_lock *); typedef u64 (*btf_bpf_strncmp)(const char *, u32, const char *); -typedef u64 (*btf_bpf_strtol)(const char *, size_t, u64, long int *); +typedef u64 (*btf_bpf_strtol)(const char *, size_t, u64, s64 *); -typedef u64 (*btf_bpf_strtoul)(const char *, size_t, u64, long unsigned int *); +typedef u64 (*btf_bpf_strtoul)(const char *, size_t, u64, u64 *); typedef u64 (*btf_bpf_sys_bpf)(int, union bpf_attr *, u32); @@ -51252,13 +55196,13 @@ typedef u64 (*btf_bpf_tcp_sock)(struct sock *); typedef u64 (*btf_bpf_this_cpu_ptr)(const void *); -typedef u64 (*btf_bpf_timer_cancel)(struct bpf_timer_kern *); +typedef u64 (*btf_bpf_timer_cancel)(struct bpf_async_kern *); -typedef u64 (*btf_bpf_timer_init)(struct bpf_timer_kern *, struct bpf_map *, u64); +typedef u64 (*btf_bpf_timer_init)(struct bpf_async_kern *, struct bpf_map *, u64); -typedef u64 (*btf_bpf_timer_set_callback)(struct bpf_timer_kern *, void *, struct bpf_prog_aux *); +typedef u64 (*btf_bpf_timer_set_callback)(struct bpf_async_kern *, void *, struct bpf_prog_aux *); -typedef u64 (*btf_bpf_timer_start)(struct bpf_timer_kern *, u64, u64); +typedef u64 (*btf_bpf_timer_start)(struct bpf_async_kern *, u64, u64); typedef u64 (*btf_bpf_trace_printk)(char *, u32, u64, u64, u64); @@ -51270,7 +55214,7 @@ typedef u64 (*btf_bpf_unlocked_sk_setsockopt)(struct sock *, int, int, char *, i typedef u64 (*btf_bpf_user_ringbuf_drain)(struct bpf_map *, void *, void *, u64); -typedef u64 (*btf_bpf_user_rnd_u32)(); +typedef u64 (*btf_bpf_user_rnd_u32)(void); typedef u64 (*btf_bpf_xdp_adjust_head)(struct xdp_buff *, int); @@ -51338,8 +55282,12 @@ typedef void (*btf_trace_bpf_test_finish)(void *, int *); typedef void (*btf_trace_bpf_trace_printk)(void *, const char *); +typedef void (*btf_trace_bpf_trigger_tp)(void *, int); + typedef void (*btf_trace_bpf_xdp_link_attach_failed)(void *, const char *); +typedef void (*btf_trace_cap_capable)(void *, const struct cred *, struct user_namespace *, const struct user_namespace *, int, int); + typedef void (*btf_trace_clock_disable)(void *, const char *, unsigned int, unsigned int); typedef void (*btf_trace_clock_enable)(void *, const char *, unsigned int, unsigned int); @@ -51368,11 +55316,15 @@ typedef void (*btf_trace_cpuhp_exit)(void *, unsigned int, int, int, int); typedef void (*btf_trace_cpuhp_multi_enter)(void *, unsigned int, int, int, int (*)(unsigned int, struct hlist_node *), struct hlist_node *); -typedef void (*btf_trace_csd_function_entry)(void *, smp_call_func_t, struct __call_single_data *); +typedef void (*btf_trace_csd_function_entry)(void *, smp_call_func_t, call_single_data_t *); + +typedef void (*btf_trace_csd_function_exit)(void *, smp_call_func_t, call_single_data_t *); + +typedef void (*btf_trace_csd_queue_cpu)(void *, const unsigned int, long unsigned int, smp_call_func_t, call_single_data_t *); -typedef void (*btf_trace_csd_function_exit)(void *, smp_call_func_t, struct __call_single_data *); +typedef void (*btf_trace_ctime_ns_xchg)(void *, struct inode *, u32, u32, u32); -typedef void (*btf_trace_csd_queue_cpu)(void *, const unsigned int, long unsigned int, smp_call_func_t, struct __call_single_data *); +typedef void (*btf_trace_ctime_xchg_skip)(void *, struct inode *, struct timespec64 *); typedef void (*btf_trace_dev_pm_qos_add_request)(void *, const char *, enum dev_pm_qos_req_type, s32); @@ -51386,6 +55338,44 @@ typedef void (*btf_trace_device_pm_callback_start)(void *, struct device *, cons typedef void (*btf_trace_devres_log)(void *, struct device *, const char *, void *, const char *, size_t); +typedef void (*btf_trace_dma_alloc)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_pages)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_sgt)(void *, struct device *, struct sg_table *, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_sgt_err)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_free)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_free_pages)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_free_sgt)(void *, struct device *, struct sg_table *, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_map_page)(void *, struct device *, phys_addr_t, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_resource)(void *, struct device *, phys_addr_t, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_sg)(void *, struct device *, struct scatterlist *, int, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_sg_err)(void *, struct device *, struct scatterlist *, int, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_sync_sg_for_cpu)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_sg_for_device)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_single_for_cpu)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_single_for_device)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_unmap_page)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_unmap_resource)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_unmap_sg)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dql_stall_detected)(void *, short unsigned int, unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int *); + typedef void (*btf_trace_error_report_end)(void *, enum error_detector, long unsigned int); typedef void (*btf_trace_exit_mmap)(void *, struct mm_struct *); @@ -51398,6 +55388,8 @@ typedef void (*btf_trace_file_check_and_advance_wb_err)(void *, struct file *, e typedef void (*btf_trace_filemap_set_wb_err)(void *, struct address_space *, errseq_t); +typedef void (*btf_trace_fill_mg_cmtime)(void *, struct inode *, struct timespec64 *, struct timespec64 *); + typedef void (*btf_trace_finish_task_reaping)(void *, int); typedef void (*btf_trace_folio_wait_writeback)(void *, struct folio *, struct address_space *); @@ -51418,6 +55410,8 @@ typedef void (*btf_trace_hrtimer_init)(void *, struct hrtimer *, clockid_t, enum typedef void (*btf_trace_hrtimer_start)(void *, struct hrtimer *, enum hrtimer_mode); +typedef void (*btf_trace_icmp_send)(void *, const struct sk_buff *, int, int); + typedef void (*btf_trace_inet_sk_error_report)(void *, const struct sock *); typedef void (*btf_trace_inet_sock_set_state)(void *, const struct sock *, const int, const int); @@ -51428,6 +55422,8 @@ typedef void (*btf_trace_initcall_level)(void *, const char *); typedef void (*btf_trace_initcall_start)(void *, initcall_t); +typedef void (*btf_trace_inode_set_ctime_to_ts)(void *, struct inode *, struct timespec64 *); + typedef void (*btf_trace_ipi_entry)(void *, const char *); typedef void (*btf_trace_ipi_exit)(void *, const char *); @@ -51448,7 +55444,7 @@ typedef void (*btf_trace_itimer_state)(void *, int, const struct itimerspec64 * typedef void (*btf_trace_kfree)(void *, long unsigned int, const void *); -typedef void (*btf_trace_kfree_skb)(void *, struct sk_buff *, void *, enum skb_drop_reason); +typedef void (*btf_trace_kfree_skb)(void *, struct sk_buff *, void *, enum skb_drop_reason, struct sock *); typedef void (*btf_trace_kmalloc)(void *, long unsigned int, const void *, size_t, size_t, gfp_t, int); @@ -51462,7 +55458,7 @@ typedef void (*btf_trace_ma_read)(void *, const char *, struct ma_state *); typedef void (*btf_trace_ma_write)(void *, const char *, struct ma_state *, long unsigned int, void *); -typedef void (*btf_trace_mark_victim)(void *, int); +typedef void (*btf_trace_mark_victim)(void *, struct task_struct *, uid_t); typedef void (*btf_trace_mem_connect)(void *, const struct xdp_mem_allocator *, const struct xdp_rxq_info *); @@ -51470,15 +55466,23 @@ typedef void (*btf_trace_mem_disconnect)(void *, const struct xdp_mem_allocator typedef void (*btf_trace_mem_return_failed)(void *, const struct xdp_mem_info *, const struct page *); +typedef void (*btf_trace_mm_alloc_contig_migrate_range_info)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int); + typedef void (*btf_trace_mm_filemap_add_to_page_cache)(void *, struct folio *); typedef void (*btf_trace_mm_filemap_delete_from_page_cache)(void *, struct folio *); +typedef void (*btf_trace_mm_filemap_fault)(void *, struct address_space *, long unsigned int); + +typedef void (*btf_trace_mm_filemap_get_pages)(void *, struct address_space *, long unsigned int, long unsigned int); + +typedef void (*btf_trace_mm_filemap_map_pages)(void *, struct address_space *, long unsigned int, long unsigned int); + typedef void (*btf_trace_mm_lru_activate)(void *, struct folio *); typedef void (*btf_trace_mm_lru_insertion)(void *, struct folio *); -typedef void (*btf_trace_mm_migrate_pages)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, enum migrate_mode, int); +typedef void (*btf_trace_mm_migrate_pages)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, enum migrate_mode, int); typedef void (*btf_trace_mm_migrate_pages_start)(void *, enum migrate_mode, int); @@ -51506,7 +55510,7 @@ typedef void (*btf_trace_mm_vmscan_kswapd_sleep)(void *, int); typedef void (*btf_trace_mm_vmscan_kswapd_wake)(void *, int, int, int); -typedef void (*btf_trace_mm_vmscan_lru_isolate)(void *, int, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, isolate_mode_t, int); +typedef void (*btf_trace_mm_vmscan_lru_isolate)(void *, int, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int); typedef void (*btf_trace_mm_vmscan_lru_shrink_active)(void *, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int, int); @@ -51516,17 +55520,19 @@ typedef void (*btf_trace_mm_vmscan_node_reclaim_begin)(void *, int, int, gfp_t); typedef void (*btf_trace_mm_vmscan_node_reclaim_end)(void *, long unsigned int); +typedef void (*btf_trace_mm_vmscan_reclaim_pages)(void *, int, long unsigned int, long unsigned int, struct reclaim_stat *); + typedef void (*btf_trace_mm_vmscan_throttled)(void *, int, int, int, int); typedef void (*btf_trace_mm_vmscan_wakeup_kswapd)(void *, int, int, int, gfp_t); typedef void (*btf_trace_mm_vmscan_write_folio)(void *, struct folio *); -typedef void (*btf_trace_mmap_lock_acquire_returned)(void *, struct mm_struct *, const char *, bool, bool); +typedef void (*btf_trace_mmap_lock_acquire_returned)(void *, struct mm_struct *, bool, bool); -typedef void (*btf_trace_mmap_lock_released)(void *, struct mm_struct *, const char *, bool); +typedef void (*btf_trace_mmap_lock_released)(void *, struct mm_struct *, bool); -typedef void (*btf_trace_mmap_lock_start_locking)(void *, struct mm_struct *, const char *, bool); +typedef void (*btf_trace_mmap_lock_start_locking)(void *, struct mm_struct *, bool); typedef void (*btf_trace_module_free)(void *, struct module *); @@ -51594,9 +55600,9 @@ typedef void (*btf_trace_oom_score_adj_update)(void *, struct task_struct *); typedef void (*btf_trace_page_pool_release)(void *, const struct page_pool *, s32, u32, u32); -typedef void (*btf_trace_page_pool_state_hold)(void *, const struct page_pool *, const struct page *, u32); +typedef void (*btf_trace_page_pool_state_hold)(void *, const struct page_pool *, netmem_ref, u32); -typedef void (*btf_trace_page_pool_state_release)(void *, const struct page_pool *, const struct page *, u32); +typedef void (*btf_trace_page_pool_state_release)(void *, const struct page_pool *, netmem_ref, u32); typedef void (*btf_trace_page_pool_update_nid)(void *, const struct page_pool *, int); @@ -51604,14 +55610,14 @@ typedef void (*btf_trace_pelt_cfs_tp)(void *, struct cfs_rq *); typedef void (*btf_trace_pelt_dl_tp)(void *, struct rq *); +typedef void (*btf_trace_pelt_hw_tp)(void *, struct rq *); + typedef void (*btf_trace_pelt_irq_tp)(void *, struct rq *); typedef void (*btf_trace_pelt_rt_tp)(void *, struct rq *); typedef void (*btf_trace_pelt_se_tp)(void *, struct sched_entity *); -typedef void (*btf_trace_pelt_thermal_tp)(void *, struct rq *); - typedef void (*btf_trace_percpu_alloc_percpu)(void *, long unsigned int, bool, bool, size_t, size_t, void *, int, void *, size_t, gfp_t); typedef void (*btf_trace_percpu_alloc_percpu_fail)(void *, bool, bool, size_t, size_t); @@ -51692,6 +55698,8 @@ typedef void (*btf_trace_sb_clear_inode_writeback)(void *, struct inode *); typedef void (*btf_trace_sb_mark_inode_writeback)(void *, struct inode *); +typedef void (*btf_trace_sched_compute_energy_tp)(void *, struct task_struct *, int, long unsigned int, long unsigned int, long unsigned int); + typedef void (*btf_trace_sched_cpu_capacity_tp)(void *, struct rq *); typedef void (*btf_trace_sched_kthread_stop)(void *, struct task_struct *); @@ -51712,6 +55720,8 @@ typedef void (*btf_trace_sched_overutilized_tp)(void *, struct root_domain *, bo typedef void (*btf_trace_sched_pi_setprio)(void *, struct task_struct *, struct task_struct *); +typedef void (*btf_trace_sched_prepare_exec)(void *, struct task_struct *, struct linux_binprm *); + typedef void (*btf_trace_sched_process_exec)(void *, struct task_struct *, pid_t, struct linux_binprm *); typedef void (*btf_trace_sched_process_exit)(void *, struct task_struct *); @@ -51722,7 +55732,7 @@ typedef void (*btf_trace_sched_process_free)(void *, struct task_struct *); typedef void (*btf_trace_sched_process_wait)(void *, struct pid *); -typedef void (*btf_trace_sched_stat_runtime)(void *, struct task_struct *, u64, u64); +typedef void (*btf_trace_sched_stat_runtime)(void *, struct task_struct *, u64); typedef void (*btf_trace_sched_stick_numa)(void *, struct task_struct *, int, struct task_struct *, int); @@ -51784,18 +55794,46 @@ typedef void (*btf_trace_sys_exit)(void *, struct pt_regs *, long int); typedef void (*btf_trace_task_newtask)(void *, struct task_struct *, long unsigned int); +typedef void (*btf_trace_task_prctl_unknown)(void *, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int); + typedef void (*btf_trace_task_rename)(void *, struct task_struct *, const char *); typedef void (*btf_trace_tasklet_entry)(void *, struct tasklet_struct *, void *); typedef void (*btf_trace_tasklet_exit)(void *, struct tasklet_struct *, void *); +typedef void (*btf_trace_tcp_ao_handshake_failure)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_key_not_found)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_mismatch)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_rcv_sne_update)(void *, const struct sock *, __u32); + +typedef void (*btf_trace_tcp_ao_rnext_request)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_snd_sne_update)(void *, const struct sock *, __u32); + +typedef void (*btf_trace_tcp_ao_synack_no_key)(void *, const struct sock *, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_wrong_maclen)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + typedef void (*btf_trace_tcp_bad_csum)(void *, const struct sk_buff *); typedef void (*btf_trace_tcp_cong_state_set)(void *, struct sock *, const u8); typedef void (*btf_trace_tcp_destroy_sock)(void *, struct sock *); +typedef void (*btf_trace_tcp_hash_ao_required)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_bad_header)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_mismatch)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_required)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_unexpected)(void *, const struct sock *, const struct sk_buff *); + typedef void (*btf_trace_tcp_probe)(void *, struct sock *, struct sk_buff *); typedef void (*btf_trace_tcp_rcv_space_adjust)(void *, struct sock *); @@ -51806,7 +55844,9 @@ typedef void (*btf_trace_tcp_retransmit_skb)(void *, const struct sock *, const typedef void (*btf_trace_tcp_retransmit_synack)(void *, const struct sock *, const struct request_sock *); -typedef void (*btf_trace_tcp_send_reset)(void *, const struct sock *, const struct sk_buff *); +typedef void (*btf_trace_tcp_send_reset)(void *, const struct sock *, const struct sk_buff *, const enum sk_rst_reason); + +typedef void (*btf_trace_timer_base_idle)(void *, bool, unsigned int); typedef void (*btf_trace_timer_cancel)(void *, struct timer_list *); @@ -51816,11 +55856,11 @@ typedef void (*btf_trace_timer_expire_exit)(void *, struct timer_list *); typedef void (*btf_trace_timer_init)(void *, struct timer_list *); -typedef void (*btf_trace_timer_start)(void *, struct timer_list *, long unsigned int, unsigned int); +typedef void (*btf_trace_timer_start)(void *, struct timer_list *, long unsigned int); typedef void (*btf_trace_tlb_flush)(void *, int, long unsigned int); -typedef void (*btf_trace_udp_fail_queue_rcv_skb)(void *, int, struct sock *); +typedef void (*btf_trace_udp_fail_queue_rcv_skb)(void *, int, struct sock *, struct sk_buff *); typedef void (*btf_trace_vm_unmapped_area)(void *, long unsigned int, struct vm_unmapped_area_info *); @@ -51914,6 +55954,10 @@ typedef struct vfsmount * (*debugfs_automount_t)(struct dentry *, void *); typedef void * (*devcon_match_fn_t)(const struct fwnode_handle *, const char *, void *); +typedef int (*device_iter_t)(struct device *, void *); + +typedef int (*device_match_t)(struct device *, const void *); + typedef int (*dr_match_t)(struct device *, void *, void *); typedef int (*dummy_ops_test_ret_fn)(struct bpf_dummy_ops_state *, ...); @@ -51922,11 +55966,11 @@ typedef int (*dynevent_check_arg_fn_t)(void *); typedef void (*ethnl_notify_handler_t)(struct net_device *, unsigned int, const void *); -typedef void (*exitcall_t)(); +typedef void (*exitcall_t)(void); typedef int filler_t(struct file *, struct folio *); -typedef bool (*filter_func_t)(struct uprobe_consumer *, enum uprobe_filter_ctx, struct mm_struct *); +typedef bool (*filter_func_t)(struct uprobe_consumer *, struct mm_struct *); typedef void free_folio_t(struct folio *, long unsigned int); @@ -51944,6 +55988,14 @@ typedef u32 inet_ehashfn_t(const struct net *, const __be32, const __u16, const typedef initcall_t initcall_entry_t; +struct xattr; + +typedef int (*initxattrs)(struct inode *, const struct xattr *, void *); + +typedef size_t (*iov_step_f)(void *, size_t, size_t, void *, void *); + +typedef size_t (*iov_ustep_f)(void *, size_t, size_t, void *, void *); + typedef void ip6_icmp_send_t(struct sk_buff *, u8, u8, __u32, const struct in6_addr *, const struct inet6_skb_parm *); typedef void iucv_irq_fn(struct iucv_irq_data *); @@ -51952,16 +56004,22 @@ typedef void k_handler_fn(struct kbd_data *, unsigned char); typedef int (*list_cmp_func_t)(void *, const struct list_head *, const struct list_head *); -typedef enum lru_status (*list_lru_walk_cb)(struct list_head *, struct list_lru_one *, spinlock_t *, void *); +typedef enum lru_status (*list_lru_walk_cb)(struct list_head *, struct list_lru_one *, void *); typedef void (*move_fn_t)(struct lruvec *, struct folio *); +typedef int (*netlink_filter_fn)(struct sock *, struct sk_buff *, void *); + typedef struct folio *new_folio_t(struct folio *, long unsigned int); typedef struct ns_common *ns_get_path_helper_t(void *); +typedef int (*objpool_init_obj_cb)(void *, void *); + typedef int (*parse_pred_fn)(const char *, void *, int, struct filter_parse_error *, struct filter_pred **); +typedef int (*parse_unknown_fn)(char *, char *, const char *, void *); + typedef void pcpu_delegate_fn(void *); typedef int pcpu_fc_cpu_distance_fn_t(unsigned int, unsigned int); @@ -51970,13 +56028,19 @@ typedef int pcpu_fc_cpu_to_node_fn_t(int); typedef void perf_iterate_f(struct perf_event *, void *); +typedef int perf_snapshot_branch_stack_t(struct perf_branch_entry *, unsigned int); + typedef struct rt6_info * (*pol_lookup_t)(struct net *, struct fib6_table *, struct flowi6 *, const struct sk_buff *, int); +typedef int (*pp_nl_fill_cb)(struct sk_buff *, const struct page_pool *, const struct genl_info *); + typedef int (*proc_visitor)(struct task_struct *, void *); typedef int (*pte_fn_t)(pte_t *, long unsigned int, void *); -typedef void (*relocate_kernel_t)(long unsigned int, long unsigned int, long unsigned int); +typedef void (*rethook_handler_t)(struct rethook_node *, void *, long unsigned int, struct pt_regs *); + +typedef bool (*ring_buffer_cond_fn)(void *); typedef int (*sendmsg_func)(struct sock *, struct msghdr *); @@ -52006,16 +56070,14 @@ typedef int wait_bit_action_f(struct wait_bit_key *, int); typedef int (*writepage_t)(struct folio *, struct writeback_control *, void *); -struct task_group; - -struct ahash_request; - struct net_bridge; -struct nf_bridge_frag_data; - struct iomap_ops; +struct task_group; + +struct hypfs_diag0c_entry; + typedef void *acpi_handle; struct acpi_device; @@ -52024,37 +56086,125 @@ struct audit_buffer; struct audit_context; -struct bpf_cpu_map_entry; - -struct bpf_dtab_netdev; - struct bpf_iter; -struct btf_iter_num; - struct capture_control; -struct dma_pool; - struct encoded_page; -struct ftrace_func_mapper; - -struct kobj_map; - -struct metadata_dst; - struct nvmem_cell; -struct s390_insn; - -struct unix_sock; - -struct xfrm_state; - /* BPF kfuncs */ #ifndef BPF_NO_KFUNC_PROTOTYPES +extern void *bpf_arena_alloc_pages(void *p__map, void *addr__ign, u32 page_cnt, int node_id, u64 flags) __weak __ksym; +extern void bpf_arena_free_pages(void *p__map, void *ptr__ign, u32 page_cnt) __weak __ksym; +extern __bpf_fastcall void *bpf_cast_to_kern_ctx(void *obj) __weak __ksym; +extern int bpf_copy_from_user_str(void *dst, u32 dst__sz, const void *unsafe_ptr__ign, u64 flags) __weak __ksym; +extern struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_and(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_any_and_distribute(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_any_distribute(const struct cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_clear(struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_copy(struct bpf_cpumask *dst, const struct cpumask *src) __weak __ksym; +extern struct bpf_cpumask *bpf_cpumask_create(void) __weak __ksym; +extern bool bpf_cpumask_empty(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_first(const struct cpumask *cpumask) __weak __ksym; +extern u32 bpf_cpumask_first_and(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_full(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_intersects(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern void bpf_cpumask_or(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern void bpf_cpumask_release(struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_setall(struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_subset(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern bool bpf_cpumask_test_and_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_test_and_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __weak __ksym; +extern u32 bpf_cpumask_weight(const struct cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_xor(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern int bpf_dynptr_adjust(const struct bpf_dynptr *p, u32 start, u32 end) __weak __ksym; +extern int bpf_dynptr_clone(const struct bpf_dynptr *p, struct bpf_dynptr *clone__uninit) __weak __ksym; +extern int bpf_dynptr_from_skb(struct __sk_buff *s, u64 flags, struct bpf_dynptr *ptr__uninit) __weak __ksym; +extern int bpf_dynptr_from_xdp(struct xdp_md *x, u64 flags, struct bpf_dynptr *ptr__uninit) __weak __ksym; +extern bool bpf_dynptr_is_null(const struct bpf_dynptr *p) __weak __ksym; +extern bool bpf_dynptr_is_rdonly(const struct bpf_dynptr *p) __weak __ksym; +extern __u32 bpf_dynptr_size(const struct bpf_dynptr *p) __weak __ksym; +extern void *bpf_dynptr_slice(const struct bpf_dynptr *p, u32 offset, void *buffer__opt, u32 buffer__szk) __weak __ksym; +extern void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *p, u32 offset, void *buffer__opt, u32 buffer__szk) __weak __ksym; +extern int bpf_fentry_test1(int a) __weak __ksym; +extern struct kmem_cache *bpf_get_kmem_cache(u64 addr) __weak __ksym; +extern void bpf_iter_bits_destroy(struct bpf_iter_bits *it) __weak __ksym; +extern int bpf_iter_bits_new(struct bpf_iter_bits *it, const u64 *unsafe_ptr__ign, u32 nr_words) __weak __ksym; +extern int *bpf_iter_bits_next(struct bpf_iter_bits *it) __weak __ksym; +extern void bpf_iter_kmem_cache_destroy(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern int bpf_iter_kmem_cache_new(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern struct kmem_cache *bpf_iter_kmem_cache_next(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern void bpf_iter_num_destroy(struct bpf_iter_num *it) __weak __ksym; +extern int bpf_iter_num_new(struct bpf_iter_num *it, int start, int end) __weak __ksym; +extern int *bpf_iter_num_next(struct bpf_iter_num *it) __weak __ksym; +extern void bpf_iter_task_destroy(struct bpf_iter_task *it) __weak __ksym; +extern int bpf_iter_task_new(struct bpf_iter_task *it, struct task_struct *task__nullable, unsigned int flags) __weak __ksym; +extern struct task_struct *bpf_iter_task_next(struct bpf_iter_task *it) __weak __ksym; +extern void bpf_iter_task_vma_destroy(struct bpf_iter_task_vma *it) __weak __ksym; +extern int bpf_iter_task_vma_new(struct bpf_iter_task_vma *it, struct task_struct *task, u64 addr) __weak __ksym; +extern struct vm_area_struct *bpf_iter_task_vma_next(struct bpf_iter_task_vma *it) __weak __ksym; +extern void bpf_kfunc_call_memb_release(struct prog_test_member *p) __weak __ksym; +extern void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) __weak __ksym; +extern struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) __weak __ksym; +extern struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) __weak __ksym; +extern int bpf_list_push_back_impl(struct bpf_list_head *head, struct bpf_list_node *node, void *meta__ign, u64 off) __weak __ksym; +extern int bpf_list_push_front_impl(struct bpf_list_head *head, struct bpf_list_node *node, void *meta__ign, u64 off) __weak __ksym; +extern void bpf_local_irq_restore(long unsigned int *flags__irq_flag) __weak __ksym; +extern void bpf_local_irq_save(long unsigned int *flags__irq_flag) __weak __ksym; +extern s64 bpf_map_sum_elem_count(const struct bpf_map *map) __weak __ksym; +extern int bpf_modify_return_test(int a, int *b) __weak __ksym; +extern int bpf_modify_return_test2(int a, int *b, short int c, int d, void *e, char f, int g) __weak __ksym; +extern int bpf_modify_return_test_tp(int nonce) __weak __ksym; +extern void bpf_obj_drop_impl(void *p__alloc, void *meta__ign) __weak __ksym; +extern void *bpf_obj_new_impl(u64 local_type_id__k, void *meta__ign) __weak __ksym; +extern void bpf_percpu_obj_drop_impl(void *p__alloc, void *meta__ign) __weak __ksym; +extern void *bpf_percpu_obj_new_impl(u64 local_type_id__k, void *meta__ign) __weak __ksym; +extern void bpf_preempt_disable(void) __weak __ksym; +extern void bpf_preempt_enable(void) __weak __ksym; +extern int bpf_rbtree_add_impl(struct bpf_rb_root *root, struct bpf_rb_node *node, bool (*less)(struct bpf_rb_node *, const struct bpf_rb_node *), void *meta__ign, u64 off) __weak __ksym; +extern struct bpf_rb_node *bpf_rbtree_first(struct bpf_rb_root *root) __weak __ksym; +extern struct bpf_rb_node *bpf_rbtree_remove(struct bpf_rb_root *root, struct bpf_rb_node *node) __weak __ksym; +extern void bpf_rcu_read_lock(void) __weak __ksym; +extern void bpf_rcu_read_unlock(void) __weak __ksym; +extern __bpf_fastcall void *bpf_rdonly_cast(const void *obj__ign, u32 btf_id__k) __weak __ksym; +extern void *bpf_refcount_acquire_impl(void *p__refcounted_kptr, void *meta__ign) __weak __ksym; +extern int bpf_send_signal_task(struct task_struct *task, int sig, enum pid_type type, u64 value) __weak __ksym; +extern __u64 *bpf_session_cookie(void) __weak __ksym; +extern bool bpf_session_is_return(void) __weak __ksym; +extern int bpf_sk_assign_tcp_reqsk(struct __sk_buff *s, struct sock *sk, struct bpf_tcp_req_attrs *attrs, int attrs__sz) __weak __ksym; +extern int bpf_sock_addr_set_sun_path(struct bpf_sock_addr_kern *sa_kern, const u8 *sun_path, u32 sun_path__sz) __weak __ksym; +extern int bpf_sock_destroy(struct sock_common *sock) __weak __ksym; +extern struct task_struct *bpf_task_acquire(struct task_struct *p) __weak __ksym; +extern struct task_struct *bpf_task_from_pid(s32 pid) __weak __ksym; +extern struct task_struct *bpf_task_from_vpid(s32 vpid) __weak __ksym; +extern void bpf_task_release(struct task_struct *p) __weak __ksym; +extern void bpf_throw(u64 cookie) __weak __ksym; +extern int bpf_wq_init(struct bpf_wq *wq, void *p__map, unsigned int flags) __weak __ksym; +extern int bpf_wq_set_callback_impl(struct bpf_wq *wq, int (*callback_fn)(void *, int *, void *), unsigned int flags, void *aux__ign) __weak __ksym; +extern int bpf_wq_start(struct bpf_wq *wq, unsigned int flags) __weak __ksym; +extern int bpf_xdp_metadata_rx_hash(const struct xdp_md *ctx, u32 *hash, enum xdp_rss_hash_type *rss_type) __weak __ksym; +extern int bpf_xdp_metadata_rx_timestamp(const struct xdp_md *ctx, u64 *timestamp) __weak __ksym; +extern int bpf_xdp_metadata_rx_vlan_tag(const struct xdp_md *ctx, __be16 *vlan_proto, u16 *vlan_tci) __weak __ksym; +extern void cubictcp_acked(struct sock *sk, const struct ack_sample *sample) __weak __ksym; +extern void cubictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) __weak __ksym; +extern void cubictcp_cwnd_event(struct sock *sk, enum tcp_ca_event event) __weak __ksym; +extern void cubictcp_init(struct sock *sk) __weak __ksym; +extern u32 cubictcp_recalc_ssthresh(struct sock *sk) __weak __ksym; +extern void cubictcp_state(struct sock *sk, u8 new_state) __weak __ksym; +extern void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked) __weak __ksym; +extern void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked) __weak __ksym; +extern u32 tcp_reno_ssthresh(struct sock *sk) __weak __ksym; +extern u32 tcp_reno_undo_cwnd(struct sock *sk) __weak __ksym; +extern u32 tcp_slow_start(struct tcp_sock *tp, u32 acked) __weak __ksym; #endif #ifndef BPF_NO_PRESERVE_ACCESS_INDEX diff --git a/include/x86/vmlinux.h b/include/x86/vmlinux.h index 0a07c47..f254767 120000 --- a/include/x86/vmlinux.h +++ b/include/x86/vmlinux.h @@ -1 +1 @@ -vmlinux_6.6.h \ No newline at end of file +vmlinux_6.14.h \ No newline at end of file diff --git a/include/x86/vmlinux_6.6.h b/include/x86/vmlinux_6.14.h similarity index 85% rename from include/x86/vmlinux_6.6.h rename to include/x86/vmlinux_6.14.h index 32b3965..6b34fc7 100644 --- a/include/x86/vmlinux_6.6.h +++ b/include/x86/vmlinux_6.14.h @@ -13,6 +13,14 @@ #define __weak __attribute__((weak)) #endif +#ifndef __bpf_fastcall +#if __has_attribute(bpf_fastcall) +#define __bpf_fastcall __attribute__((bpf_fastcall)) +#else +#define __bpf_fastcall +#endif +#endif + enum { AT_PKT_END = -1, BEYOND_PKT_END = -2, @@ -32,8 +40,7 @@ enum { AX25_VALUES_N2 = 10, AX25_VALUES_PACLEN = 11, AX25_VALUES_PROTOCOL = 12, - AX25_VALUES_DS_TIMEOUT = 13, - AX25_MAX_VALUES = 14, + AX25_MAX_VALUES = 13, }; enum { @@ -65,6 +72,7 @@ enum { BPF_FIB_LKUP_RET_UNSUPP_LWT = 6, BPF_FIB_LKUP_RET_NO_NEIGH = 7, BPF_FIB_LKUP_RET_FRAG_NEEDED = 8, + BPF_FIB_LKUP_RET_NO_SRC_ADDR = 9, }; enum { @@ -72,6 +80,8 @@ enum { BPF_FIB_LOOKUP_OUTPUT = 2, BPF_FIB_LOOKUP_SKIP_NEIGH = 4, BPF_FIB_LOOKUP_TBID = 8, + BPF_FIB_LOOKUP_SRC = 16, + BPF_FIB_LOOKUP_MARK = 32, }; enum { @@ -92,11 +102,6 @@ enum { BPF_F_ADJ_ROOM_DECAP_L3_IPV6 = 256, }; -enum { - BPF_F_BROADCAST = 8, - BPF_F_EXCLUDE_INGRESS = 16, -}; - enum { BPF_F_GET_BRANCH_RECORDS_SIZE = 1, }; @@ -113,6 +118,8 @@ enum { enum { BPF_F_INGRESS = 1, + BPF_F_BROADCAST = 8, + BPF_F_EXCLUDE_INGRESS = 16, }; enum { @@ -120,9 +127,9 @@ enum { }; enum { - BPF_F_NEIGH = 2, - BPF_F_PEER = 4, - BPF_F_NEXTHOP = 8, + BPF_F_NEIGH = 65536, + BPF_F_PEER = 131072, + BPF_F_NEXTHOP = 262144, }; enum { @@ -141,6 +148,10 @@ enum { BPF_F_INNER_MAP = 4096, BPF_F_LINK = 8192, BPF_F_PATH_FD = 16384, + BPF_F_VTYPE_BTF_OBJ_FD = 32768, + BPF_F_TOKEN_FD = 65536, + BPF_F_SEGV_ON_FAULT = 131072, + BPF_F_NO_USER_CONV = 262144, }; enum { @@ -164,6 +175,7 @@ enum { enum { BPF_F_TIMER_ABS = 1, + BPF_F_TIMER_CPU_PIN = 2, }; enum { @@ -238,6 +250,9 @@ enum { enum { BPF_SKB_TSTAMP_UNSPEC = 0, BPF_SKB_TSTAMP_DELIVERY_MONO = 1, + BPF_SKB_CLOCK_REALTIME = 0, + BPF_SKB_CLOCK_MONOTONIC = 1, + BPF_SKB_CLOCK_TAI = 2, }; enum { @@ -276,9 +291,9 @@ enum { }; enum { - BPF_STRUCT_OPS_TYPE_bpf_dummy_ops = 0, - BPF_STRUCT_OPS_TYPE_tcp_congestion_ops = 1, - __NR_BPF_STRUCT_OPS_TYPE = 2, + BPF_TASK_ITER_ALL_PROCS = 0, + BPF_TASK_ITER_ALL_THREADS = 1, + BPF_TASK_ITER_PROC_THREADS = 2, }; enum { @@ -294,7 +309,8 @@ enum { BPF_TCP_LISTEN = 10, BPF_TCP_CLOSING = 11, BPF_TCP_NEW_SYN_RECV = 12, - BPF_TCP_MAX_STATES = 13, + BPF_TCP_BOUND_INACTIVE = 13, + BPF_TCP_MAX_STATES = 14, }; enum { @@ -304,7 +320,7 @@ enum { }; enum { - BTF_FIELDS_MAX = 10, + BTF_FIELDS_MAX = 11, }; enum { @@ -393,6 +409,11 @@ enum { BTS_STATE_ACTIVE = 2, }; +enum { + CMIS_MODULE_LOW_PWR = 1, + CMIS_MODULE_READY = 3, +}; + enum { CRNG_EMPTY = 0, CRNG_EARLY = 1, @@ -545,6 +566,16 @@ enum { DEVCONF_MAX = 59, }; +enum { + DIR_OFFSET_FIRST = 2, + DIR_OFFSET_EOD = 2147483647, +}; + +enum { + DIR_OFFSET_MIN = 3, + DIR_OFFSET_MAX = 2147483646, +}; + enum { DISCOVERED = 16, EXPLORED = 32, @@ -614,6 +645,14 @@ enum { ETHTOOL_A_BITSET_MAX = 5, }; +enum { + ETHTOOL_A_C33_PSE_PW_LIMIT_UNSPEC = 0, + ETHTOOL_A_C33_PSE_PW_LIMIT_MIN = 1, + ETHTOOL_A_C33_PSE_PW_LIMIT_MAX = 2, + __ETHTOOL_A_C33_PSE_PW_LIMIT_CNT = 3, + __ETHTOOL_A_C33_PSE_PW_LIMIT_MAX = 2, +}; + enum { ETHTOOL_A_CABLE_AMPLITUDE_UNSPEC = 0, ETHTOOL_A_CABLE_AMPLITUDE_PAIR = 1, @@ -626,8 +665,15 @@ enum { ETHTOOL_A_CABLE_FAULT_LENGTH_UNSPEC = 0, ETHTOOL_A_CABLE_FAULT_LENGTH_PAIR = 1, ETHTOOL_A_CABLE_FAULT_LENGTH_CM = 2, - __ETHTOOL_A_CABLE_FAULT_LENGTH_CNT = 3, - ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 2, + ETHTOOL_A_CABLE_FAULT_LENGTH_SRC = 3, + __ETHTOOL_A_CABLE_FAULT_LENGTH_CNT = 4, + ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 3, +}; + +enum { + ETHTOOL_A_CABLE_INF_SRC_UNSPEC = 0, + ETHTOOL_A_CABLE_INF_SRC_TDR = 1, + ETHTOOL_A_CABLE_INF_SRC_ALCD = 2, }; enum { @@ -656,8 +702,9 @@ enum { ETHTOOL_A_CABLE_RESULT_UNSPEC = 0, ETHTOOL_A_CABLE_RESULT_PAIR = 1, ETHTOOL_A_CABLE_RESULT_CODE = 2, - __ETHTOOL_A_CABLE_RESULT_CNT = 3, - ETHTOOL_A_CABLE_RESULT_MAX = 2, + ETHTOOL_A_CABLE_RESULT_SRC = 3, + __ETHTOOL_A_CABLE_RESULT_CNT = 4, + ETHTOOL_A_CABLE_RESULT_MAX = 3, }; enum { @@ -763,8 +810,10 @@ enum { ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES = 26, ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES = 27, ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS = 28, - __ETHTOOL_A_COALESCE_CNT = 29, - ETHTOOL_A_COALESCE_MAX = 28, + ETHTOOL_A_COALESCE_RX_PROFILE = 29, + ETHTOOL_A_COALESCE_TX_PROFILE = 30, + __ETHTOOL_A_COALESCE_CNT = 31, + ETHTOOL_A_COALESCE_MAX = 30, }; enum { @@ -825,8 +874,18 @@ enum { ETHTOOL_A_HEADER_DEV_INDEX = 1, ETHTOOL_A_HEADER_DEV_NAME = 2, ETHTOOL_A_HEADER_FLAGS = 3, - __ETHTOOL_A_HEADER_CNT = 4, - ETHTOOL_A_HEADER_MAX = 3, + ETHTOOL_A_HEADER_PHY_INDEX = 4, + __ETHTOOL_A_HEADER_CNT = 5, + ETHTOOL_A_HEADER_MAX = 4, +}; + +enum { + ETHTOOL_A_IRQ_MODERATION_UNSPEC = 0, + ETHTOOL_A_IRQ_MODERATION_USEC = 1, + ETHTOOL_A_IRQ_MODERATION_PKTS = 2, + ETHTOOL_A_IRQ_MODERATION_COMPS = 3, + __ETHTOOL_A_IRQ_MODERATION_CNT = 4, + ETHTOOL_A_IRQ_MODERATION_MAX = 3, }; enum { @@ -913,6 +972,19 @@ enum { ETHTOOL_A_MODULE_EEPROM_MAX = 7, }; +enum { + ETHTOOL_A_MODULE_FW_FLASH_UNSPEC = 0, + ETHTOOL_A_MODULE_FW_FLASH_HEADER = 1, + ETHTOOL_A_MODULE_FW_FLASH_FILE_NAME = 2, + ETHTOOL_A_MODULE_FW_FLASH_PASSWORD = 3, + ETHTOOL_A_MODULE_FW_FLASH_STATUS = 4, + ETHTOOL_A_MODULE_FW_FLASH_STATUS_MSG = 5, + ETHTOOL_A_MODULE_FW_FLASH_DONE = 6, + ETHTOOL_A_MODULE_FW_FLASH_TOTAL = 7, + __ETHTOOL_A_MODULE_FW_FLASH_CNT = 8, + ETHTOOL_A_MODULE_FW_FLASH_MAX = 7, +}; + enum { ETHTOOL_A_MODULE_UNSPEC = 0, ETHTOOL_A_MODULE_HEADER = 1, @@ -952,6 +1024,20 @@ enum { ETHTOOL_A_PHC_VCLOCKS_MAX = 3, }; +enum { + ETHTOOL_A_PHY_UNSPEC = 0, + ETHTOOL_A_PHY_HEADER = 1, + ETHTOOL_A_PHY_INDEX = 2, + ETHTOOL_A_PHY_DRVNAME = 3, + ETHTOOL_A_PHY_NAME = 4, + ETHTOOL_A_PHY_UPSTREAM_TYPE = 5, + ETHTOOL_A_PHY_UPSTREAM_INDEX = 6, + ETHTOOL_A_PHY_UPSTREAM_SFP_NAME = 7, + ETHTOOL_A_PHY_DOWNSTREAM_SFP_NAME = 8, + __ETHTOOL_A_PHY_CNT = 9, + ETHTOOL_A_PHY_MAX = 8, +}; + enum { ETHTOOL_A_PLCA_UNSPEC = 0, ETHTOOL_A_PLCA_HEADER = 1, @@ -975,14 +1061,30 @@ enum { ETHTOOL_A_PRIVFLAGS_MAX = 2, }; +enum { + ETHTOOL_A_PROFILE_UNSPEC = 0, + ETHTOOL_A_PROFILE_IRQ_MODERATION = 1, + __ETHTOOL_A_PROFILE_CNT = 2, + ETHTOOL_A_PROFILE_MAX = 1, +}; + enum { ETHTOOL_A_PSE_UNSPEC = 0, ETHTOOL_A_PSE_HEADER = 1, ETHTOOL_A_PODL_PSE_ADMIN_STATE = 2, ETHTOOL_A_PODL_PSE_ADMIN_CONTROL = 3, ETHTOOL_A_PODL_PSE_PW_D_STATUS = 4, - __ETHTOOL_A_PSE_CNT = 5, - ETHTOOL_A_PSE_MAX = 4, + ETHTOOL_A_C33_PSE_ADMIN_STATE = 5, + ETHTOOL_A_C33_PSE_ADMIN_CONTROL = 6, + ETHTOOL_A_C33_PSE_PW_D_STATUS = 7, + ETHTOOL_A_C33_PSE_PW_CLASS = 8, + ETHTOOL_A_C33_PSE_ACTUAL_PW = 9, + ETHTOOL_A_C33_PSE_EXT_STATE = 10, + ETHTOOL_A_C33_PSE_EXT_SUBSTATE = 11, + ETHTOOL_A_C33_PSE_AVAIL_PW_LIMIT = 12, + ETHTOOL_A_C33_PSE_PW_LIMIT_RANGES = 13, + __ETHTOOL_A_PSE_CNT = 14, + ETHTOOL_A_PSE_MAX = 13, }; enum { @@ -1003,8 +1105,10 @@ enum { ETHTOOL_A_RINGS_RX_PUSH = 14, ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN = 15, ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN_MAX = 16, - __ETHTOOL_A_RINGS_CNT = 17, - ETHTOOL_A_RINGS_MAX = 16, + ETHTOOL_A_RINGS_HDS_THRESH = 17, + ETHTOOL_A_RINGS_HDS_THRESH_MAX = 18, + __ETHTOOL_A_RINGS_CNT = 19, + ETHTOOL_A_RINGS_MAX = 18, }; enum { @@ -1014,8 +1118,10 @@ enum { ETHTOOL_A_RSS_HFUNC = 3, ETHTOOL_A_RSS_INDIR = 4, ETHTOOL_A_RSS_HKEY = 5, - __ETHTOOL_A_RSS_CNT = 6, - ETHTOOL_A_RSS_MAX = 5, + ETHTOOL_A_RSS_INPUT_XFRM = 6, + ETHTOOL_A_RSS_START_CONTEXT = 7, + __ETHTOOL_A_RSS_CNT = 8, + ETHTOOL_A_RSS_MAX = 7, }; enum { @@ -1074,6 +1180,17 @@ enum { ETHTOOL_A_STATS_GRP_MAX = 9, }; +enum { + ETHTOOL_A_STATS_PHY_RX_PKTS = 0, + ETHTOOL_A_STATS_PHY_RX_BYTES = 1, + ETHTOOL_A_STATS_PHY_RX_ERRORS = 2, + ETHTOOL_A_STATS_PHY_TX_PKTS = 3, + ETHTOOL_A_STATS_PHY_TX_BYTES = 4, + ETHTOOL_A_STATS_PHY_TX_ERRORS = 5, + __ETHTOOL_A_STATS_PHY_CNT = 6, + ETHTOOL_A_STATS_PHY_MAX = 5, +}; + enum { ETHTOOL_A_STATS_RMON_UNDERSIZE = 0, ETHTOOL_A_STATS_RMON_OVERSIZE = 1, @@ -1134,6 +1251,17 @@ enum { ETHTOOL_A_STRSET_MAX = 3, }; +enum { + ETHTOOL_A_TSCONFIG_UNSPEC = 0, + ETHTOOL_A_TSCONFIG_HEADER = 1, + ETHTOOL_A_TSCONFIG_HWTSTAMP_PROVIDER = 2, + ETHTOOL_A_TSCONFIG_TX_TYPES = 3, + ETHTOOL_A_TSCONFIG_RX_FILTERS = 4, + ETHTOOL_A_TSCONFIG_HWTSTAMP_FLAGS = 5, + __ETHTOOL_A_TSCONFIG_CNT = 6, + ETHTOOL_A_TSCONFIG_MAX = 5, +}; + enum { ETHTOOL_A_TSINFO_UNSPEC = 0, ETHTOOL_A_TSINFO_HEADER = 1, @@ -1141,8 +1269,28 @@ enum { ETHTOOL_A_TSINFO_TX_TYPES = 3, ETHTOOL_A_TSINFO_RX_FILTERS = 4, ETHTOOL_A_TSINFO_PHC_INDEX = 5, - __ETHTOOL_A_TSINFO_CNT = 6, - ETHTOOL_A_TSINFO_MAX = 5, + ETHTOOL_A_TSINFO_STATS = 6, + ETHTOOL_A_TSINFO_HWTSTAMP_PROVIDER = 7, + __ETHTOOL_A_TSINFO_CNT = 8, + ETHTOOL_A_TSINFO_MAX = 7, +}; + +enum { + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_UNSPEC = 0, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_INDEX = 1, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_QUALIFIER = 2, + __ETHTOOL_A_TS_HWTSTAMP_PROVIDER_CNT = 3, + ETHTOOL_A_TS_HWTSTAMP_PROVIDER_MAX = 2, +}; + +enum { + ETHTOOL_A_TS_STAT_UNSPEC = 0, + ETHTOOL_A_TS_STAT_TX_PKTS = 1, + ETHTOOL_A_TS_STAT_TX_LOST = 2, + ETHTOOL_A_TS_STAT_TX_ERR = 3, + ETHTOOL_A_TS_STAT_TX_ONESTEP_PKTS_UNCONFIRMED = 4, + __ETHTOOL_A_TS_STAT_CNT = 5, + ETHTOOL_A_TS_STAT_MAX = 4, }; enum { @@ -1231,8 +1379,13 @@ enum { ETHTOOL_MSG_PLCA_NTF = 41, ETHTOOL_MSG_MM_GET_REPLY = 42, ETHTOOL_MSG_MM_NTF = 43, - __ETHTOOL_MSG_KERNEL_CNT = 44, - ETHTOOL_MSG_KERNEL_MAX = 43, + ETHTOOL_MSG_MODULE_FW_FLASH_NTF = 44, + ETHTOOL_MSG_PHY_GET_REPLY = 45, + ETHTOOL_MSG_PHY_NTF = 46, + ETHTOOL_MSG_TSCONFIG_GET_REPLY = 47, + ETHTOOL_MSG_TSCONFIG_SET_REPLY = 48, + __ETHTOOL_MSG_KERNEL_CNT = 49, + ETHTOOL_MSG_KERNEL_MAX = 48, }; enum { @@ -1280,8 +1433,12 @@ enum { ETHTOOL_MSG_PLCA_GET_STATUS = 41, ETHTOOL_MSG_MM_GET = 42, ETHTOOL_MSG_MM_SET = 43, - __ETHTOOL_MSG_USER_CNT = 44, - ETHTOOL_MSG_USER_MAX = 43, + ETHTOOL_MSG_MODULE_FW_FLASH_ACT = 44, + ETHTOOL_MSG_PHY_GET = 45, + ETHTOOL_MSG_TSCONFIG_GET = 46, + ETHTOOL_MSG_TSCONFIG_SET = 47, + __ETHTOOL_MSG_USER_CNT = 48, + ETHTOOL_MSG_USER_MAX = 47, }; enum { @@ -1289,13 +1446,8 @@ enum { ETHTOOL_STATS_ETH_MAC = 1, ETHTOOL_STATS_ETH_CTRL = 2, ETHTOOL_STATS_RMON = 3, - __ETHTOOL_STATS_CNT = 4, -}; - -enum { - ETHTOOL_TCP_DATA_SPLIT_UNKNOWN = 0, - ETHTOOL_TCP_DATA_SPLIT_DISABLED = 1, - ETHTOOL_TCP_DATA_SPLIT_ENABLED = 2, + ETHTOOL_STATS_PHY = 4, + __ETHTOOL_STATS_CNT = 5, }; enum { @@ -1303,6 +1455,7 @@ enum { ETHTOOL_UDP_TUNNEL_TYPE_GENEVE = 1, ETHTOOL_UDP_TUNNEL_TYPE_VXLAN_GPE = 2, __ETHTOOL_UDP_TUNNEL_TYPE_CNT = 3, + ETHTOOL_UDP_TUNNEL_TYPE_MAX = 2, }; enum { @@ -1312,6 +1465,12 @@ enum { ETH_RSS_HASH_FUNCS_COUNT = 3, }; +enum { + EVENTFS_SAVE_MODE = 65536, + EVENTFS_SAVE_UID = 131072, + EVENTFS_SAVE_GID = 262144, +}; + enum { EVENT_FILE_FL_ENABLED = 1, EVENT_FILE_FL_RECORDED_CMD = 2, @@ -1324,6 +1483,7 @@ enum { EVENT_FILE_FL_TRIGGER_COND = 256, EVENT_FILE_FL_PID_FILTER = 512, EVENT_FILE_FL_WAS_ENABLED = 1024, + EVENT_FILE_FL_FREED = 2048, }; enum { @@ -1338,12 +1498,19 @@ enum { EVENT_FILE_FL_TRIGGER_COND_BIT = 8, EVENT_FILE_FL_PID_FILTER_BIT = 9, EVENT_FILE_FL_WAS_ENABLED_BIT = 10, + EVENT_FILE_FL_FREED_BIT = 11, }; enum { EVENT_TRIGGER_FL_PROBE = 1, }; +enum { + FGRAPH_TYPE_RESERVED = 0, + FGRAPH_TYPE_BITMAP = 1, + FGRAPH_TYPE_DATA = 2, +}; + enum { FIB6_NO_SERNUM_CHANGE = 0, }; @@ -1399,6 +1566,7 @@ enum { FOLL_PIN = 524288, FOLL_FAST_ONLY = 1048576, FOLL_UNLOCKABLE = 2097152, + FOLL_MADV_POPULATE = 4194304, }; enum { @@ -1479,6 +1647,7 @@ enum { FTRACE_OPS_FL_TRACE_ARRAY = 32768, FTRACE_OPS_FL_PERMANENT = 65536, FTRACE_OPS_FL_DIRECT = 131072, + FTRACE_OPS_FL_SUBOP = 262144, }; enum { @@ -1602,6 +1771,11 @@ enum { __ICMP_MIB_MAX = 30, }; +enum { + IDX_MODULE_ID = 0, + IDX_ST_OPS_COMMON_VALUE_ID = 1, +}; + enum { IFAL_ADDRESS = 1, IFAL_LABEL = 2, @@ -1868,7 +2042,9 @@ enum { IFLA_DEVLINK_PORT = 62, IFLA_GSO_IPV4_MAX_SIZE = 63, IFLA_GRO_IPV4_MAX_SIZE = 64, - __IFLA_MAX = 65, + IFLA_DPLL_PIN = 65, + IFLA_MAX_PACING_OFFLOAD_HORIZON = 66, + __IFLA_MAX = 67, }; enum { @@ -2055,6 +2231,17 @@ enum { INET_FLAGS_NODEFRAG = 17, INET_FLAGS_BIND_ADDRESS_NO_PORT = 18, INET_FLAGS_DEFER_CONNECT = 19, + INET_FLAGS_MC6_LOOP = 20, + INET_FLAGS_RECVERR6_RFC4884 = 21, + INET_FLAGS_MC6_ALL = 22, + INET_FLAGS_AUTOFLOWLABEL_SET = 23, + INET_FLAGS_AUTOFLOWLABEL = 24, + INET_FLAGS_DONTFRAG = 25, + INET_FLAGS_RECVERR6 = 26, + INET_FLAGS_REPFLOW = 27, + INET_FLAGS_RTALERT_ISOLATE = 28, + INET_FLAGS_SNDFLOW = 29, + INET_FLAGS_RTALERT = 30, }; enum { @@ -2073,6 +2260,13 @@ enum { __INET_ULP_INFO_MAX = 4, }; +enum { + INSN_F_FRAMENO_MASK = 7, + INSN_F_SPI_MASK = 63, + INSN_F_SPI_SHIFT = 3, + INSN_F_STACK_ACCESS = 512, +}; + enum { INVERT = 1, PROCESS_AND = 2, @@ -2140,47 +2334,6 @@ enum { IORES_MAP_ENCRYPTED = 2, }; -enum { - IORING_REGISTER_BUFFERS = 0, - IORING_UNREGISTER_BUFFERS = 1, - IORING_REGISTER_FILES = 2, - IORING_UNREGISTER_FILES = 3, - IORING_REGISTER_EVENTFD = 4, - IORING_UNREGISTER_EVENTFD = 5, - IORING_REGISTER_FILES_UPDATE = 6, - IORING_REGISTER_EVENTFD_ASYNC = 7, - IORING_REGISTER_PROBE = 8, - IORING_REGISTER_PERSONALITY = 9, - IORING_UNREGISTER_PERSONALITY = 10, - IORING_REGISTER_RESTRICTIONS = 11, - IORING_REGISTER_ENABLE_RINGS = 12, - IORING_REGISTER_FILES2 = 13, - IORING_REGISTER_FILES_UPDATE2 = 14, - IORING_REGISTER_BUFFERS2 = 15, - IORING_REGISTER_BUFFERS_UPDATE = 16, - IORING_REGISTER_IOWQ_AFF = 17, - IORING_UNREGISTER_IOWQ_AFF = 18, - IORING_REGISTER_IOWQ_MAX_WORKERS = 19, - IORING_REGISTER_RING_FDS = 20, - IORING_UNREGISTER_RING_FDS = 21, - IORING_REGISTER_PBUF_RING = 22, - IORING_UNREGISTER_PBUF_RING = 23, - IORING_REGISTER_SYNC_CANCEL = 24, - IORING_REGISTER_FILE_ALLOC_RANGE = 25, - IORING_REGISTER_LAST = 26, - IORING_REGISTER_USE_REGISTERED_RING = 2147483648, -}; - -enum { - IOSQE_FIXED_FILE_BIT = 0, - IOSQE_IO_DRAIN_BIT = 1, - IOSQE_IO_LINK_BIT = 2, - IOSQE_IO_HARDLINK_BIT = 3, - IOSQE_ASYNC_BIT = 4, - IOSQE_BUFFER_SELECT_BIT = 5, - IOSQE_CQE_SKIP_SUCCESS_BIT = 6, -}; - enum { IP6_FH_F_FRAG = 1, IP6_FH_F_AUTH = 2, @@ -2214,7 +2367,9 @@ enum { IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_ETHERNET = 143, + IPPROTO_AGGFRAG = 144, IPPROTO_RAW = 255, + IPPROTO_SMC = 256, IPPROTO_MPTCP = 262, IPPROTO_MAX = 263, }; @@ -2225,7 +2380,7 @@ enum { IPSTATS_MIB_INOCTETS = 2, IPSTATS_MIB_INDELIVERS = 3, IPSTATS_MIB_OUTFORWDATAGRAMS = 4, - IPSTATS_MIB_OUTPKTS = 5, + IPSTATS_MIB_OUTREQUESTS = 5, IPSTATS_MIB_OUTOCTETS = 6, IPSTATS_MIB_INHDRERRORS = 7, IPSTATS_MIB_INTOOBIGERRORS = 8, @@ -2257,7 +2412,8 @@ enum { IPSTATS_MIB_ECT0PKTS = 34, IPSTATS_MIB_CEPKTS = 35, IPSTATS_MIB_REASM_OVERLAPS = 36, - __IPSTATS_MIB_MAX = 37, + IPSTATS_MIB_OUTPKTS = 37, + __IPSTATS_MIB_MAX = 38, }; enum { @@ -2310,6 +2466,29 @@ enum { IPV6_SADDR_RULE_MAX = 9, }; +enum { + IP_TUNNEL_CSUM_BIT = 0, + IP_TUNNEL_ROUTING_BIT = 1, + IP_TUNNEL_KEY_BIT = 2, + IP_TUNNEL_SEQ_BIT = 3, + IP_TUNNEL_STRICT_BIT = 4, + IP_TUNNEL_REC_BIT = 5, + IP_TUNNEL_VERSION_BIT = 6, + IP_TUNNEL_NO_KEY_BIT = 7, + IP_TUNNEL_DONT_FRAGMENT_BIT = 8, + IP_TUNNEL_OAM_BIT = 9, + IP_TUNNEL_CRIT_OPT_BIT = 10, + IP_TUNNEL_GENEVE_OPT_BIT = 11, + IP_TUNNEL_VXLAN_OPT_BIT = 12, + IP_TUNNEL_NOCACHE_BIT = 13, + IP_TUNNEL_ERSPAN_OPT_BIT = 14, + IP_TUNNEL_GTP_OPT_BIT = 15, + IP_TUNNEL_VTI_BIT = 16, + IP_TUNNEL_SIT_ISATAP_BIT = 16, + IP_TUNNEL_PFCP_OPT_BIT = 17, + __IP_TUNNEL_FLAG_NUM = 18, +}; + enum { IRQCHIP_FWNODE_REAL = 0, IRQCHIP_FWNODE_NAMED = 1, @@ -2329,6 +2508,7 @@ enum { IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND = 512, IRQCHIP_AFFINITY_PRE_STARTUP = 1024, IRQCHIP_IMMUTABLE = 2048, + IRQCHIP_MOVE_DEFERRED = 4096, }; enum { @@ -2345,7 +2525,6 @@ enum { IRQD_AFFINITY_SET = 4096, IRQD_LEVEL = 8192, IRQD_WAKEUP_STATE = 16384, - IRQD_MOVE_PCNTXT = 32768, IRQD_IRQ_DISABLED = 65536, IRQD_IRQ_MASKED = 131072, IRQD_IRQ_INPROGRESS = 262144, @@ -2357,11 +2536,10 @@ enum { IRQD_SINGLE_TARGET = 16777216, IRQD_DEFAULT_TRIGGER_SET = 33554432, IRQD_CAN_RESERVE = 67108864, - IRQD_MSI_NOMASK_QUIRK = 134217728, - IRQD_HANDLE_ENFORCE_IRQCTX = 268435456, - IRQD_AFFINITY_ON_ACTIVATE = 536870912, - IRQD_IRQ_ENABLED_ON_SUSPEND = 1073741824, - IRQD_RESEND_WHEN_IN_PROGRESS = 2147483648, + IRQD_HANDLE_ENFORCE_IRQCTX = 134217728, + IRQD_AFFINITY_ON_ACTIVATE = 268435456, + IRQD_IRQ_ENABLED_ON_SUSPEND = 536870912, + IRQD_RESEND_WHEN_IN_PROGRESS = 1073741824, }; enum { @@ -2396,6 +2574,7 @@ enum { IRQ_DOMAIN_FLAG_NO_MAP = 64, IRQ_DOMAIN_FLAG_MSI_PARENT = 256, IRQ_DOMAIN_FLAG_MSI_DEVICE = 512, + IRQ_DOMAIN_FLAG_DESTROY_GC = 1024, IRQ_DOMAIN_FLAG_NONCORE = 65536, }; @@ -2428,7 +2607,6 @@ enum { IRQ_NOREQUEST = 2048, IRQ_NOAUTOEN = 4096, IRQ_NO_BALANCING = 8192, - IRQ_MOVE_PCNTXT = 16384, IRQ_NESTED_THREAD = 32768, IRQ_NOTHREAD = 65536, IRQ_PER_CPU_DEVID = 131072, @@ -2453,6 +2631,7 @@ enum { KF_ARG_LIST_NODE_ID = 2, KF_ARG_RB_ROOT_ID = 3, KF_ARG_RB_NODE_ID = 4, + KF_ARG_WORKQUEUE_ID = 5, }; enum { @@ -2500,118 +2679,124 @@ enum { LINUX_MIB_TIMEWAITKILLED = 13, LINUX_MIB_PAWSACTIVEREJECTED = 14, LINUX_MIB_PAWSESTABREJECTED = 15, - LINUX_MIB_DELAYEDACKS = 16, - LINUX_MIB_DELAYEDACKLOCKED = 17, - LINUX_MIB_DELAYEDACKLOST = 18, - LINUX_MIB_LISTENOVERFLOWS = 19, - LINUX_MIB_LISTENDROPS = 20, - LINUX_MIB_TCPHPHITS = 21, - LINUX_MIB_TCPPUREACKS = 22, - LINUX_MIB_TCPHPACKS = 23, - LINUX_MIB_TCPRENORECOVERY = 24, - LINUX_MIB_TCPSACKRECOVERY = 25, - LINUX_MIB_TCPSACKRENEGING = 26, - LINUX_MIB_TCPSACKREORDER = 27, - LINUX_MIB_TCPRENOREORDER = 28, - LINUX_MIB_TCPTSREORDER = 29, - LINUX_MIB_TCPFULLUNDO = 30, - LINUX_MIB_TCPPARTIALUNDO = 31, - LINUX_MIB_TCPDSACKUNDO = 32, - LINUX_MIB_TCPLOSSUNDO = 33, - LINUX_MIB_TCPLOSTRETRANSMIT = 34, - LINUX_MIB_TCPRENOFAILURES = 35, - LINUX_MIB_TCPSACKFAILURES = 36, - LINUX_MIB_TCPLOSSFAILURES = 37, - LINUX_MIB_TCPFASTRETRANS = 38, - LINUX_MIB_TCPSLOWSTARTRETRANS = 39, - LINUX_MIB_TCPTIMEOUTS = 40, - LINUX_MIB_TCPLOSSPROBES = 41, - LINUX_MIB_TCPLOSSPROBERECOVERY = 42, - LINUX_MIB_TCPRENORECOVERYFAIL = 43, - LINUX_MIB_TCPSACKRECOVERYFAIL = 44, - LINUX_MIB_TCPRCVCOLLAPSED = 45, - LINUX_MIB_TCPDSACKOLDSENT = 46, - LINUX_MIB_TCPDSACKOFOSENT = 47, - LINUX_MIB_TCPDSACKRECV = 48, - LINUX_MIB_TCPDSACKOFORECV = 49, - LINUX_MIB_TCPABORTONDATA = 50, - LINUX_MIB_TCPABORTONCLOSE = 51, - LINUX_MIB_TCPABORTONMEMORY = 52, - LINUX_MIB_TCPABORTONTIMEOUT = 53, - LINUX_MIB_TCPABORTONLINGER = 54, - LINUX_MIB_TCPABORTFAILED = 55, - LINUX_MIB_TCPMEMORYPRESSURES = 56, - LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 57, - LINUX_MIB_TCPSACKDISCARD = 58, - LINUX_MIB_TCPDSACKIGNOREDOLD = 59, - LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 60, - LINUX_MIB_TCPSPURIOUSRTOS = 61, - LINUX_MIB_TCPMD5NOTFOUND = 62, - LINUX_MIB_TCPMD5UNEXPECTED = 63, - LINUX_MIB_TCPMD5FAILURE = 64, - LINUX_MIB_SACKSHIFTED = 65, - LINUX_MIB_SACKMERGED = 66, - LINUX_MIB_SACKSHIFTFALLBACK = 67, - LINUX_MIB_TCPBACKLOGDROP = 68, - LINUX_MIB_PFMEMALLOCDROP = 69, - LINUX_MIB_TCPMINTTLDROP = 70, - LINUX_MIB_TCPDEFERACCEPTDROP = 71, - LINUX_MIB_IPRPFILTER = 72, - LINUX_MIB_TCPTIMEWAITOVERFLOW = 73, - LINUX_MIB_TCPREQQFULLDOCOOKIES = 74, - LINUX_MIB_TCPREQQFULLDROP = 75, - LINUX_MIB_TCPRETRANSFAIL = 76, - LINUX_MIB_TCPRCVCOALESCE = 77, - LINUX_MIB_TCPBACKLOGCOALESCE = 78, - LINUX_MIB_TCPOFOQUEUE = 79, - LINUX_MIB_TCPOFODROP = 80, - LINUX_MIB_TCPOFOMERGE = 81, - LINUX_MIB_TCPCHALLENGEACK = 82, - LINUX_MIB_TCPSYNCHALLENGE = 83, - LINUX_MIB_TCPFASTOPENACTIVE = 84, - LINUX_MIB_TCPFASTOPENACTIVEFAIL = 85, - LINUX_MIB_TCPFASTOPENPASSIVE = 86, - LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 87, - LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 88, - LINUX_MIB_TCPFASTOPENCOOKIEREQD = 89, - LINUX_MIB_TCPFASTOPENBLACKHOLE = 90, - LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 91, - LINUX_MIB_BUSYPOLLRXPACKETS = 92, - LINUX_MIB_TCPAUTOCORKING = 93, - LINUX_MIB_TCPFROMZEROWINDOWADV = 94, - LINUX_MIB_TCPTOZEROWINDOWADV = 95, - LINUX_MIB_TCPWANTZEROWINDOWADV = 96, - LINUX_MIB_TCPSYNRETRANS = 97, - LINUX_MIB_TCPORIGDATASENT = 98, - LINUX_MIB_TCPHYSTARTTRAINDETECT = 99, - LINUX_MIB_TCPHYSTARTTRAINCWND = 100, - LINUX_MIB_TCPHYSTARTDELAYDETECT = 101, - LINUX_MIB_TCPHYSTARTDELAYCWND = 102, - LINUX_MIB_TCPACKSKIPPEDSYNRECV = 103, - LINUX_MIB_TCPACKSKIPPEDPAWS = 104, - LINUX_MIB_TCPACKSKIPPEDSEQ = 105, - LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 106, - LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 107, - LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 108, - LINUX_MIB_TCPWINPROBE = 109, - LINUX_MIB_TCPKEEPALIVE = 110, - LINUX_MIB_TCPMTUPFAIL = 111, - LINUX_MIB_TCPMTUPSUCCESS = 112, - LINUX_MIB_TCPDELIVERED = 113, - LINUX_MIB_TCPDELIVEREDCE = 114, - LINUX_MIB_TCPACKCOMPRESSED = 115, - LINUX_MIB_TCPZEROWINDOWDROP = 116, - LINUX_MIB_TCPRCVQDROP = 117, - LINUX_MIB_TCPWQUEUETOOBIG = 118, - LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 119, - LINUX_MIB_TCPTIMEOUTREHASH = 120, - LINUX_MIB_TCPDUPLICATEDATAREHASH = 121, - LINUX_MIB_TCPDSACKRECVSEGS = 122, - LINUX_MIB_TCPDSACKIGNOREDDUBIOUS = 123, - LINUX_MIB_TCPMIGRATEREQSUCCESS = 124, - LINUX_MIB_TCPMIGRATEREQFAILURE = 125, - LINUX_MIB_TCPPLBREHASH = 126, - __LINUX_MIB_MAX = 127, + LINUX_MIB_PAWS_OLD_ACK = 16, + LINUX_MIB_DELAYEDACKS = 17, + LINUX_MIB_DELAYEDACKLOCKED = 18, + LINUX_MIB_DELAYEDACKLOST = 19, + LINUX_MIB_LISTENOVERFLOWS = 20, + LINUX_MIB_LISTENDROPS = 21, + LINUX_MIB_TCPHPHITS = 22, + LINUX_MIB_TCPPUREACKS = 23, + LINUX_MIB_TCPHPACKS = 24, + LINUX_MIB_TCPRENORECOVERY = 25, + LINUX_MIB_TCPSACKRECOVERY = 26, + LINUX_MIB_TCPSACKRENEGING = 27, + LINUX_MIB_TCPSACKREORDER = 28, + LINUX_MIB_TCPRENOREORDER = 29, + LINUX_MIB_TCPTSREORDER = 30, + LINUX_MIB_TCPFULLUNDO = 31, + LINUX_MIB_TCPPARTIALUNDO = 32, + LINUX_MIB_TCPDSACKUNDO = 33, + LINUX_MIB_TCPLOSSUNDO = 34, + LINUX_MIB_TCPLOSTRETRANSMIT = 35, + LINUX_MIB_TCPRENOFAILURES = 36, + LINUX_MIB_TCPSACKFAILURES = 37, + LINUX_MIB_TCPLOSSFAILURES = 38, + LINUX_MIB_TCPFASTRETRANS = 39, + LINUX_MIB_TCPSLOWSTARTRETRANS = 40, + LINUX_MIB_TCPTIMEOUTS = 41, + LINUX_MIB_TCPLOSSPROBES = 42, + LINUX_MIB_TCPLOSSPROBERECOVERY = 43, + LINUX_MIB_TCPRENORECOVERYFAIL = 44, + LINUX_MIB_TCPSACKRECOVERYFAIL = 45, + LINUX_MIB_TCPRCVCOLLAPSED = 46, + LINUX_MIB_TCPDSACKOLDSENT = 47, + LINUX_MIB_TCPDSACKOFOSENT = 48, + LINUX_MIB_TCPDSACKRECV = 49, + LINUX_MIB_TCPDSACKOFORECV = 50, + LINUX_MIB_TCPABORTONDATA = 51, + LINUX_MIB_TCPABORTONCLOSE = 52, + LINUX_MIB_TCPABORTONMEMORY = 53, + LINUX_MIB_TCPABORTONTIMEOUT = 54, + LINUX_MIB_TCPABORTONLINGER = 55, + LINUX_MIB_TCPABORTFAILED = 56, + LINUX_MIB_TCPMEMORYPRESSURES = 57, + LINUX_MIB_TCPMEMORYPRESSURESCHRONO = 58, + LINUX_MIB_TCPSACKDISCARD = 59, + LINUX_MIB_TCPDSACKIGNOREDOLD = 60, + LINUX_MIB_TCPDSACKIGNOREDNOUNDO = 61, + LINUX_MIB_TCPSPURIOUSRTOS = 62, + LINUX_MIB_TCPMD5NOTFOUND = 63, + LINUX_MIB_TCPMD5UNEXPECTED = 64, + LINUX_MIB_TCPMD5FAILURE = 65, + LINUX_MIB_SACKSHIFTED = 66, + LINUX_MIB_SACKMERGED = 67, + LINUX_MIB_SACKSHIFTFALLBACK = 68, + LINUX_MIB_TCPBACKLOGDROP = 69, + LINUX_MIB_PFMEMALLOCDROP = 70, + LINUX_MIB_TCPMINTTLDROP = 71, + LINUX_MIB_TCPDEFERACCEPTDROP = 72, + LINUX_MIB_IPRPFILTER = 73, + LINUX_MIB_TCPTIMEWAITOVERFLOW = 74, + LINUX_MIB_TCPREQQFULLDOCOOKIES = 75, + LINUX_MIB_TCPREQQFULLDROP = 76, + LINUX_MIB_TCPRETRANSFAIL = 77, + LINUX_MIB_TCPRCVCOALESCE = 78, + LINUX_MIB_TCPBACKLOGCOALESCE = 79, + LINUX_MIB_TCPOFOQUEUE = 80, + LINUX_MIB_TCPOFODROP = 81, + LINUX_MIB_TCPOFOMERGE = 82, + LINUX_MIB_TCPCHALLENGEACK = 83, + LINUX_MIB_TCPSYNCHALLENGE = 84, + LINUX_MIB_TCPFASTOPENACTIVE = 85, + LINUX_MIB_TCPFASTOPENACTIVEFAIL = 86, + LINUX_MIB_TCPFASTOPENPASSIVE = 87, + LINUX_MIB_TCPFASTOPENPASSIVEFAIL = 88, + LINUX_MIB_TCPFASTOPENLISTENOVERFLOW = 89, + LINUX_MIB_TCPFASTOPENCOOKIEREQD = 90, + LINUX_MIB_TCPFASTOPENBLACKHOLE = 91, + LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES = 92, + LINUX_MIB_BUSYPOLLRXPACKETS = 93, + LINUX_MIB_TCPAUTOCORKING = 94, + LINUX_MIB_TCPFROMZEROWINDOWADV = 95, + LINUX_MIB_TCPTOZEROWINDOWADV = 96, + LINUX_MIB_TCPWANTZEROWINDOWADV = 97, + LINUX_MIB_TCPSYNRETRANS = 98, + LINUX_MIB_TCPORIGDATASENT = 99, + LINUX_MIB_TCPHYSTARTTRAINDETECT = 100, + LINUX_MIB_TCPHYSTARTTRAINCWND = 101, + LINUX_MIB_TCPHYSTARTDELAYDETECT = 102, + LINUX_MIB_TCPHYSTARTDELAYCWND = 103, + LINUX_MIB_TCPACKSKIPPEDSYNRECV = 104, + LINUX_MIB_TCPACKSKIPPEDPAWS = 105, + LINUX_MIB_TCPACKSKIPPEDSEQ = 106, + LINUX_MIB_TCPACKSKIPPEDFINWAIT2 = 107, + LINUX_MIB_TCPACKSKIPPEDTIMEWAIT = 108, + LINUX_MIB_TCPACKSKIPPEDCHALLENGE = 109, + LINUX_MIB_TCPWINPROBE = 110, + LINUX_MIB_TCPKEEPALIVE = 111, + LINUX_MIB_TCPMTUPFAIL = 112, + LINUX_MIB_TCPMTUPSUCCESS = 113, + LINUX_MIB_TCPDELIVERED = 114, + LINUX_MIB_TCPDELIVEREDCE = 115, + LINUX_MIB_TCPACKCOMPRESSED = 116, + LINUX_MIB_TCPZEROWINDOWDROP = 117, + LINUX_MIB_TCPRCVQDROP = 118, + LINUX_MIB_TCPWQUEUETOOBIG = 119, + LINUX_MIB_TCPFASTOPENPASSIVEALTKEY = 120, + LINUX_MIB_TCPTIMEOUTREHASH = 121, + LINUX_MIB_TCPDUPLICATEDATAREHASH = 122, + LINUX_MIB_TCPDSACKRECVSEGS = 123, + LINUX_MIB_TCPDSACKIGNOREDDUBIOUS = 124, + LINUX_MIB_TCPMIGRATEREQSUCCESS = 125, + LINUX_MIB_TCPMIGRATEREQFAILURE = 126, + LINUX_MIB_TCPPLBREHASH = 127, + LINUX_MIB_TCPAOREQUIRED = 128, + LINUX_MIB_TCPAOBAD = 129, + LINUX_MIB_TCPAOKEYNOTFOUND = 130, + LINUX_MIB_TCPAOGOOD = 131, + LINUX_MIB_TCPAODROPPEDICMPS = 132, + __LINUX_MIB_MAX = 133, }; enum { @@ -2628,7 +2813,12 @@ enum { LINUX_MIB_TLSRXDEVICERESYNC = 10, LINUX_MIB_TLSDECRYPTRETRY = 11, LINUX_MIB_TLSRXNOPADVIOL = 12, - __LINUX_MIB_TLSMAX = 13, + LINUX_MIB_TLSRXREKEYOK = 13, + LINUX_MIB_TLSRXREKEYERROR = 14, + LINUX_MIB_TLSTXREKEYOK = 15, + LINUX_MIB_TLSTXREKEYERROR = 16, + LINUX_MIB_TLSRXREKEYRECEIVED = 17, + __LINUX_MIB_TLSMAX = 18, }; enum { @@ -2661,7 +2851,11 @@ enum { LINUX_MIB_XFRMFWDHDRERROR = 26, LINUX_MIB_XFRMOUTSTATEINVALID = 27, LINUX_MIB_XFRMACQUIREERROR = 28, - __LINUX_MIB_XFRMMAX = 29, + LINUX_MIB_XFRMOUTSTATEDIRERROR = 29, + LINUX_MIB_XFRMINSTATEDIRERROR = 30, + LINUX_MIB_XFRMINIPTFSERROR = 31, + LINUX_MIB_XFRMOUTNOQSPACE = 32, + __LINUX_MIB_XFRMMAX = 33, }; enum { @@ -2709,6 +2903,13 @@ enum { MAX_OPT_ARGS = 3, }; +enum { + MDBA_GET_ENTRY_UNSPEC = 0, + MDBA_GET_ENTRY = 1, + MDBA_GET_ENTRY_ATTRS = 2, + __MDBA_GET_ENTRY_MAX = 3, +}; + enum { MDBA_SET_ENTRY_UNSPEC = 0, MDBA_SET_ENTRY = 1, @@ -2749,6 +2950,11 @@ enum { NAPIF_STATE_SCHED_THREADED = 512, }; +enum { + NAPI_F_PREFER_BUSY_POLL = 1, + NAPI_F_END_ON_RESCHED = 2, +}; + enum { NAPI_STATE_SCHED = 0, NAPI_STATE_MISSED = 1, @@ -2851,9 +3057,8 @@ enum { enum { NEIGH_ARP_TABLE = 0, NEIGH_ND_TABLE = 1, - NEIGH_DN_TABLE = 2, - NEIGH_NR_TABLES = 3, - NEIGH_LINK_TABLE = 3, + NEIGH_NR_TABLES = 2, + NEIGH_LINK_TABLE = 2, }; enum { @@ -2904,8 +3109,106 @@ enum { NETDEV_A_DEV_PAD = 2, NETDEV_A_DEV_XDP_FEATURES = 3, NETDEV_A_DEV_XDP_ZC_MAX_SEGS = 4, - __NETDEV_A_DEV_MAX = 5, - NETDEV_A_DEV_MAX = 4, + NETDEV_A_DEV_XDP_RX_METADATA_FEATURES = 5, + NETDEV_A_DEV_XSK_FEATURES = 6, + __NETDEV_A_DEV_MAX = 7, + NETDEV_A_DEV_MAX = 6, +}; + +enum { + NETDEV_A_DMABUF_IFINDEX = 1, + NETDEV_A_DMABUF_QUEUES = 2, + NETDEV_A_DMABUF_FD = 3, + NETDEV_A_DMABUF_ID = 4, + __NETDEV_A_DMABUF_MAX = 5, + NETDEV_A_DMABUF_MAX = 4, +}; + +enum { + NETDEV_A_NAPI_IFINDEX = 1, + NETDEV_A_NAPI_ID = 2, + NETDEV_A_NAPI_IRQ = 3, + NETDEV_A_NAPI_PID = 4, + NETDEV_A_NAPI_DEFER_HARD_IRQS = 5, + NETDEV_A_NAPI_GRO_FLUSH_TIMEOUT = 6, + NETDEV_A_NAPI_IRQ_SUSPEND_TIMEOUT = 7, + __NETDEV_A_NAPI_MAX = 8, + NETDEV_A_NAPI_MAX = 7, +}; + +enum { + NETDEV_A_PAGE_POOL_ID = 1, + NETDEV_A_PAGE_POOL_IFINDEX = 2, + NETDEV_A_PAGE_POOL_NAPI_ID = 3, + NETDEV_A_PAGE_POOL_INFLIGHT = 4, + NETDEV_A_PAGE_POOL_INFLIGHT_MEM = 5, + NETDEV_A_PAGE_POOL_DETACH_TIME = 6, + NETDEV_A_PAGE_POOL_DMABUF = 7, + __NETDEV_A_PAGE_POOL_MAX = 8, + NETDEV_A_PAGE_POOL_MAX = 7, +}; + +enum { + NETDEV_A_PAGE_POOL_STATS_INFO = 1, + NETDEV_A_PAGE_POOL_STATS_ALLOC_FAST = 8, + NETDEV_A_PAGE_POOL_STATS_ALLOC_SLOW = 9, + NETDEV_A_PAGE_POOL_STATS_ALLOC_SLOW_HIGH_ORDER = 10, + NETDEV_A_PAGE_POOL_STATS_ALLOC_EMPTY = 11, + NETDEV_A_PAGE_POOL_STATS_ALLOC_REFILL = 12, + NETDEV_A_PAGE_POOL_STATS_ALLOC_WAIVE = 13, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_CACHED = 14, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_CACHE_FULL = 15, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RING = 16, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RING_FULL = 17, + NETDEV_A_PAGE_POOL_STATS_RECYCLE_RELEASED_REFCNT = 18, + __NETDEV_A_PAGE_POOL_STATS_MAX = 19, + NETDEV_A_PAGE_POOL_STATS_MAX = 18, +}; + +enum { + NETDEV_A_QSTATS_IFINDEX = 1, + NETDEV_A_QSTATS_QUEUE_TYPE = 2, + NETDEV_A_QSTATS_QUEUE_ID = 3, + NETDEV_A_QSTATS_SCOPE = 4, + NETDEV_A_QSTATS_RX_PACKETS = 8, + NETDEV_A_QSTATS_RX_BYTES = 9, + NETDEV_A_QSTATS_TX_PACKETS = 10, + NETDEV_A_QSTATS_TX_BYTES = 11, + NETDEV_A_QSTATS_RX_ALLOC_FAIL = 12, + NETDEV_A_QSTATS_RX_HW_DROPS = 13, + NETDEV_A_QSTATS_RX_HW_DROP_OVERRUNS = 14, + NETDEV_A_QSTATS_RX_CSUM_COMPLETE = 15, + NETDEV_A_QSTATS_RX_CSUM_UNNECESSARY = 16, + NETDEV_A_QSTATS_RX_CSUM_NONE = 17, + NETDEV_A_QSTATS_RX_CSUM_BAD = 18, + NETDEV_A_QSTATS_RX_HW_GRO_PACKETS = 19, + NETDEV_A_QSTATS_RX_HW_GRO_BYTES = 20, + NETDEV_A_QSTATS_RX_HW_GRO_WIRE_PACKETS = 21, + NETDEV_A_QSTATS_RX_HW_GRO_WIRE_BYTES = 22, + NETDEV_A_QSTATS_RX_HW_DROP_RATELIMITS = 23, + NETDEV_A_QSTATS_TX_HW_DROPS = 24, + NETDEV_A_QSTATS_TX_HW_DROP_ERRORS = 25, + NETDEV_A_QSTATS_TX_CSUM_NONE = 26, + NETDEV_A_QSTATS_TX_NEEDS_CSUM = 27, + NETDEV_A_QSTATS_TX_HW_GSO_PACKETS = 28, + NETDEV_A_QSTATS_TX_HW_GSO_BYTES = 29, + NETDEV_A_QSTATS_TX_HW_GSO_WIRE_PACKETS = 30, + NETDEV_A_QSTATS_TX_HW_GSO_WIRE_BYTES = 31, + NETDEV_A_QSTATS_TX_HW_DROP_RATELIMITS = 32, + NETDEV_A_QSTATS_TX_STOP = 33, + NETDEV_A_QSTATS_TX_WAKE = 34, + __NETDEV_A_QSTATS_MAX = 35, + NETDEV_A_QSTATS_MAX = 34, +}; + +enum { + NETDEV_A_QUEUE_ID = 1, + NETDEV_A_QUEUE_IFINDEX = 2, + NETDEV_A_QUEUE_TYPE = 3, + NETDEV_A_QUEUE_NAPI_ID = 4, + NETDEV_A_QUEUE_DMABUF = 5, + __NETDEV_A_QUEUE_MAX = 6, + NETDEV_A_QUEUE_MAX = 5, }; enum { @@ -2913,12 +3216,23 @@ enum { NETDEV_CMD_DEV_ADD_NTF = 2, NETDEV_CMD_DEV_DEL_NTF = 3, NETDEV_CMD_DEV_CHANGE_NTF = 4, - __NETDEV_CMD_MAX = 5, - NETDEV_CMD_MAX = 4, + NETDEV_CMD_PAGE_POOL_GET = 5, + NETDEV_CMD_PAGE_POOL_ADD_NTF = 6, + NETDEV_CMD_PAGE_POOL_DEL_NTF = 7, + NETDEV_CMD_PAGE_POOL_CHANGE_NTF = 8, + NETDEV_CMD_PAGE_POOL_STATS_GET = 9, + NETDEV_CMD_QUEUE_GET = 10, + NETDEV_CMD_NAPI_GET = 11, + NETDEV_CMD_QSTATS_GET = 12, + NETDEV_CMD_BIND_RX = 13, + NETDEV_CMD_NAPI_SET = 14, + __NETDEV_CMD_MAX = 15, + NETDEV_CMD_MAX = 14, }; enum { NETDEV_NLGRP_MGMT = 0, + NETDEV_NLGRP_PAGE_POOL = 1, }; enum { @@ -2934,8 +3248,8 @@ enum { NETIF_F_HW_VLAN_CTAG_FILTER_BIT = 9, NETIF_F_VLAN_CHALLENGED_BIT = 10, NETIF_F_GSO_BIT = 11, - NETIF_F_LLTX_BIT = 12, - NETIF_F_NETNS_LOCAL_BIT = 13, + __UNUSED_NETIF_F_12 = 12, + __UNUSED_NETIF_F_13 = 13, NETIF_F_GRO_BIT = 14, NETIF_F_LRO_BIT = 15, NETIF_F_GSO_SHIFT = 16, @@ -2961,7 +3275,7 @@ enum { NETIF_F_GSO_LAST = 34, NETIF_F_FCOE_CRC_BIT = 35, NETIF_F_SCTP_CRC_BIT = 36, - NETIF_F_FCOE_MTU_BIT = 37, + __UNUSED_NETIF_F_37 = 37, NETIF_F_NTUPLE_BIT = 38, NETIF_F_RXHASH_BIT = 39, NETIF_F_RXCSUM_BIT = 40, @@ -3064,6 +3378,20 @@ enum { NFPROTO_NUMPROTO = 11, }; +enum { + NHA_GROUP_STATS_ENTRY_UNSPEC = 0, + NHA_GROUP_STATS_ENTRY_ID = 1, + NHA_GROUP_STATS_ENTRY_PACKETS = 2, + NHA_GROUP_STATS_ENTRY_PACKETS_HW = 3, + __NHA_GROUP_STATS_ENTRY_MAX = 4, +}; + +enum { + NHA_GROUP_STATS_UNSPEC = 0, + NHA_GROUP_STATS_ENTRY = 1, + __NHA_GROUP_STATS_MAX = 2, +}; + enum { NHA_RES_BUCKET_UNSPEC = 0, NHA_RES_BUCKET_PAD = 0, @@ -3098,7 +3426,11 @@ enum { NHA_FDB = 11, NHA_RES_GROUP = 12, NHA_RES_BUCKET = 13, - __NHA_MAX = 14, + NHA_OP_FLAGS = 14, + NHA_GROUP_STATS = 15, + NHA_HW_STATS_ENABLE = 16, + NHA_HW_STATS_USED = 17, + __NHA_MAX = 18, }; enum { @@ -3122,7 +3454,9 @@ enum { NLA_REJECT = 17, NLA_BE16 = 18, NLA_BE32 = 19, - __NLA_TYPE_MAX = 20, + NLA_SINT = 20, + NLA_UINT = 21, + __NLA_TYPE_MAX = 22, }; enum { @@ -3148,23 +3482,19 @@ enum { }; enum { - OPT_MODE = 0, + OPT_UID = 0, + OPT_GID = 1, + OPT_MODE = 2, + OPT_DELEGATE_CMDS = 3, + OPT_DELEGATE_MAPS = 4, + OPT_DELEGATE_PROGS = 5, + OPT_DELEGATE_ATTACHS = 6, }; enum { Opt_uid = 0, Opt_gid = 1, Opt_mode = 2, - Opt_err = 3, -}; - -enum { - PAT_UC = 0, - PAT_WC = 1, - PAT_WT = 4, - PAT_WP = 5, - PAT_WB = 6, - PAT_UC_MINUS = 7, }; enum { @@ -3177,11 +3507,6 @@ enum { DEVICE_COUNT_RESOURCE = 11, }; -enum { - PCONFIG_CPUID_SUBLEAF_INVALID = 0, - PCONFIG_CPUID_SUBLEAF_TARGETID = 1, -}; - enum { PERCPU_REF_INIT_ATOMIC = 1, PERCPU_REF_INIT_DEAD = 2, @@ -3248,6 +3573,8 @@ enum { PERF_X86_EVENT_PEBS_STLAT = 32768, PERF_X86_EVENT_AMD_BRS = 65536, PERF_X86_EVENT_PEBS_LAT_HYBRID = 131072, + PERF_X86_EVENT_NEEDS_BRANCH_STACK = 262144, + PERF_X86_EVENT_BRANCH_COUNTERS = 524288, }; enum { @@ -3282,29 +3609,6 @@ enum { POOL_EARLY_BITS = 128, }; -enum { - POOL_MANAGER_ACTIVE = 1, - POOL_DISASSOCIATED = 4, - WORKER_DIE = 2, - WORKER_IDLE = 4, - WORKER_PREP = 8, - WORKER_CPU_INTENSIVE = 64, - WORKER_UNBOUND = 128, - WORKER_REBOUND = 256, - WORKER_NOT_RUNNING = 456, - NR_STD_WORKER_POOLS = 2, - UNBOUND_POOL_HASH_ORDER = 6, - BUSY_WORKER_HASH_ORDER = 6, - MAX_IDLE_WORKERS_RATIO = 4, - IDLE_WORKER_TIMEOUT = 75000, - MAYDAY_INITIAL_TIMEOUT = 2, - MAYDAY_INTERVAL = 25, - CREATE_COOLDOWN = 250, - RESCUER_NICE_LEVEL = -20, - HIGHPRI_NICE_LEVEL = -20, - WQ_NAME_LEN = 24, -}; - enum { PREFIX_UNSPEC = 0, PREFIX_ADDRESS = 1, @@ -3363,12 +3667,6 @@ enum { REGION_MIXED = 2, }; -enum { - REG_OP_ISFREE = 0, - REG_OP_ALLOC = 1, - REG_OP_RELEASE = 2, -}; - enum { REQ_F_FIXED_FILE_BIT = 0, REQ_F_IO_DRAIN_BIT = 1, @@ -3384,23 +3682,29 @@ enum { REQ_F_LINK_TIMEOUT_BIT = 12, REQ_F_NEED_CLEANUP_BIT = 13, REQ_F_POLLED_BIT = 14, - REQ_F_BUFFER_SELECTED_BIT = 15, - REQ_F_BUFFER_RING_BIT = 16, - REQ_F_REISSUE_BIT = 17, - REQ_F_CREDS_BIT = 18, - REQ_F_REFCOUNT_BIT = 19, - REQ_F_ARM_LTIMEOUT_BIT = 20, - REQ_F_ASYNC_DATA_BIT = 21, - REQ_F_SKIP_LINK_CQES_BIT = 22, - REQ_F_SINGLE_POLL_BIT = 23, - REQ_F_DOUBLE_POLL_BIT = 24, - REQ_F_PARTIAL_IO_BIT = 25, + REQ_F_HYBRID_IOPOLL_STATE_BIT = 15, + REQ_F_BUFFER_SELECTED_BIT = 16, + REQ_F_BUFFER_RING_BIT = 17, + REQ_F_REISSUE_BIT = 18, + REQ_F_CREDS_BIT = 19, + REQ_F_REFCOUNT_BIT = 20, + REQ_F_ARM_LTIMEOUT_BIT = 21, + REQ_F_ASYNC_DATA_BIT = 22, + REQ_F_SKIP_LINK_CQES_BIT = 23, + REQ_F_SINGLE_POLL_BIT = 24, + REQ_F_DOUBLE_POLL_BIT = 25, REQ_F_APOLL_MULTISHOT_BIT = 26, REQ_F_CLEAR_POLLIN_BIT = 27, - REQ_F_HASH_LOCKED_BIT = 28, - REQ_F_SUPPORT_NOWAIT_BIT = 29, - REQ_F_ISREG_BIT = 30, - __REQ_F_LAST_BIT = 31, + REQ_F_SUPPORT_NOWAIT_BIT = 28, + REQ_F_ISREG_BIT = 29, + REQ_F_POLL_NO_LAZY_BIT = 30, + REQ_F_CAN_POLL_BIT = 31, + REQ_F_BL_EMPTY_BIT = 32, + REQ_F_BL_NO_RECYCLE_BIT = 33, + REQ_F_BUFFERS_COMMIT_BIT = 34, + REQ_F_BUF_NODE_BIT = 35, + REQ_F_HAS_METADATA_BIT = 36, + __REQ_F_LAST_BIT = 37, }; enum { @@ -3456,7 +3760,11 @@ enum { RTM_DELACTION = 49, RTM_GETACTION = 50, RTM_NEWPREFIX = 52, + RTM_NEWMULTICAST = 56, + RTM_DELMULTICAST = 57, RTM_GETMULTICAST = 58, + RTM_NEWANYCAST = 60, + RTM_DELANYCAST = 61, RTM_GETANYCAST = 62, RTM_NEWNEIGHTBL = 64, RTM_GETNEIGHTBL = 66, @@ -3572,6 +3880,136 @@ enum { __SEG6_CMD_MAX = 5, }; +enum { + SFF8024_ID_UNK = 0, + SFF8024_ID_SFF_8472 = 2, + SFF8024_ID_SFP = 3, + SFF8024_ID_DWDM_SFP = 11, + SFF8024_ID_QSFP_8438 = 12, + SFF8024_ID_QSFP_8436_8636 = 13, + SFF8024_ID_QSFP28_8636 = 17, + SFF8024_ID_QSFP_DD = 24, + SFF8024_ID_OSFP = 25, + SFF8024_ID_DSFP = 27, + SFF8024_ID_QSFP_PLUS_CMIS = 30, + SFF8024_ID_SFP_DD_CMIS = 31, + SFF8024_ID_SFP_PLUS_CMIS = 32, + SFF8024_ENCODING_UNSPEC = 0, + SFF8024_ENCODING_8B10B = 1, + SFF8024_ENCODING_4B5B = 2, + SFF8024_ENCODING_NRZ = 3, + SFF8024_ENCODING_8472_MANCHESTER = 4, + SFF8024_ENCODING_8472_SONET = 5, + SFF8024_ENCODING_8472_64B66B = 6, + SFF8024_ENCODING_8436_MANCHESTER = 6, + SFF8024_ENCODING_8436_SONET = 4, + SFF8024_ENCODING_8436_64B66B = 5, + SFF8024_ENCODING_256B257B = 7, + SFF8024_ENCODING_PAM4 = 8, + SFF8024_CONNECTOR_UNSPEC = 0, + SFF8024_CONNECTOR_SC = 1, + SFF8024_CONNECTOR_FIBERJACK = 6, + SFF8024_CONNECTOR_LC = 7, + SFF8024_CONNECTOR_MT_RJ = 8, + SFF8024_CONNECTOR_MU = 9, + SFF8024_CONNECTOR_SG = 10, + SFF8024_CONNECTOR_OPTICAL_PIGTAIL = 11, + SFF8024_CONNECTOR_MPO_1X12 = 12, + SFF8024_CONNECTOR_MPO_2X16 = 13, + SFF8024_CONNECTOR_HSSDC_II = 32, + SFF8024_CONNECTOR_COPPER_PIGTAIL = 33, + SFF8024_CONNECTOR_RJ45 = 34, + SFF8024_CONNECTOR_NOSEPARATE = 35, + SFF8024_CONNECTOR_MXC_2X16 = 36, + SFF8024_ECC_UNSPEC = 0, + SFF8024_ECC_100G_25GAUI_C2M_AOC = 1, + SFF8024_ECC_100GBASE_SR4_25GBASE_SR = 2, + SFF8024_ECC_100GBASE_LR4_25GBASE_LR = 3, + SFF8024_ECC_100GBASE_ER4_25GBASE_ER = 4, + SFF8024_ECC_100GBASE_SR10 = 5, + SFF8024_ECC_100GBASE_CR4 = 11, + SFF8024_ECC_25GBASE_CR_S = 12, + SFF8024_ECC_25GBASE_CR_N = 13, + SFF8024_ECC_10GBASE_T_SFI = 22, + SFF8024_ECC_10GBASE_T_SR = 28, + SFF8024_ECC_5GBASE_T = 29, + SFF8024_ECC_2_5GBASE_T = 30, +}; + +enum { + SFP_PHYS_ID = 0, + SFP_PHYS_EXT_ID = 1, + SFP_PHYS_EXT_ID_SFP = 4, + SFP_CONNECTOR = 2, + SFP_COMPLIANCE = 3, + SFP_ENCODING = 11, + SFP_BR_NOMINAL = 12, + SFP_RATE_ID = 13, + SFF_RID_8079 = 1, + SFF_RID_8431_RX_ONLY = 2, + SFF_RID_8431_TX_ONLY = 4, + SFF_RID_8431 = 6, + SFF_RID_10G8G = 14, + SFP_LINK_LEN_SM_KM = 14, + SFP_LINK_LEN_SM_100M = 15, + SFP_LINK_LEN_50UM_OM2_10M = 16, + SFP_LINK_LEN_62_5UM_OM1_10M = 17, + SFP_LINK_LEN_COPPER_1M = 18, + SFP_LINK_LEN_50UM_OM4_10M = 18, + SFP_LINK_LEN_50UM_OM3_10M = 19, + SFP_VENDOR_NAME = 20, + SFP_VENDOR_OUI = 37, + SFP_VENDOR_PN = 40, + SFP_VENDOR_REV = 56, + SFP_OPTICAL_WAVELENGTH_MSB = 60, + SFP_OPTICAL_WAVELENGTH_LSB = 61, + SFP_CABLE_SPEC = 60, + SFP_CC_BASE = 63, + SFP_OPTIONS = 64, + SFP_OPTIONS_HIGH_POWER_LEVEL = 8192, + SFP_OPTIONS_PAGING_A2 = 4096, + SFP_OPTIONS_RETIMER = 2048, + SFP_OPTIONS_COOLED_XCVR = 1024, + SFP_OPTIONS_POWER_DECL = 512, + SFP_OPTIONS_RX_LINEAR_OUT = 256, + SFP_OPTIONS_RX_DECISION_THRESH = 128, + SFP_OPTIONS_TUNABLE_TX = 64, + SFP_OPTIONS_RATE_SELECT = 32, + SFP_OPTIONS_TX_DISABLE = 16, + SFP_OPTIONS_TX_FAULT = 8, + SFP_OPTIONS_LOS_INVERTED = 4, + SFP_OPTIONS_LOS_NORMAL = 2, + SFP_BR_MAX = 66, + SFP_BR_MIN = 67, + SFP_VENDOR_SN = 68, + SFP_DATECODE = 84, + SFP_DIAGMON = 92, + SFP_DIAGMON_DDM = 64, + SFP_DIAGMON_INT_CAL = 32, + SFP_DIAGMON_EXT_CAL = 16, + SFP_DIAGMON_RXPWR_AVG = 8, + SFP_DIAGMON_ADDRMODE = 4, + SFP_ENHOPTS = 93, + SFP_ENHOPTS_ALARMWARN = 128, + SFP_ENHOPTS_SOFT_TX_DISABLE = 64, + SFP_ENHOPTS_SOFT_TX_FAULT = 32, + SFP_ENHOPTS_SOFT_RX_LOS = 16, + SFP_ENHOPTS_SOFT_RATE_SELECT = 8, + SFP_ENHOPTS_APP_SELECT_SFF8079 = 4, + SFP_ENHOPTS_SOFT_RATE_SFF8431 = 2, + SFP_SFF8472_COMPLIANCE = 94, + SFP_SFF8472_COMPLIANCE_NONE = 0, + SFP_SFF8472_COMPLIANCE_REV9_3 = 1, + SFP_SFF8472_COMPLIANCE_REV9_5 = 2, + SFP_SFF8472_COMPLIANCE_REV10_2 = 3, + SFP_SFF8472_COMPLIANCE_REV10_4 = 4, + SFP_SFF8472_COMPLIANCE_REV11_0 = 5, + SFP_SFF8472_COMPLIANCE_REV11_3 = 6, + SFP_SFF8472_COMPLIANCE_REV11_4 = 7, + SFP_SFF8472_COMPLIANCE_REV12_0 = 8, + SFP_CC_EXT = 95, +}; + enum { SKBFL_ZEROCOPY_ENABLE = 1, SKBFL_SHARED_FRAG = 2, @@ -3676,8 +4114,9 @@ enum { SOF_TIMESTAMPING_OPT_TX_SWHW = 16384, SOF_TIMESTAMPING_BIND_PHC = 32768, SOF_TIMESTAMPING_OPT_ID_TCP = 65536, - SOF_TIMESTAMPING_LAST = 65536, - SOF_TIMESTAMPING_MASK = 131071, + SOF_TIMESTAMPING_OPT_RX_FILTER = 131072, + SOF_TIMESTAMPING_LAST = 131072, + SOF_TIMESTAMPING_MASK = 262143, }; enum { @@ -3694,7 +4133,6 @@ enum { SWP_PAGE_DISCARD = 1024, SWP_STABLE_WRITES = 2048, SWP_SYNCHRONOUS_IO = 4096, - SWP_SCANNING = 16384, }; enum { @@ -3713,6 +4151,16 @@ enum { TASK_COMM_LEN = 16, }; +enum { + TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT = 1, + TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST = 2, + TCA_FLOWER_KEY_FLAGS_TUNNEL_CSUM = 4, + TCA_FLOWER_KEY_FLAGS_TUNNEL_DONT_FRAGMENT = 8, + TCA_FLOWER_KEY_FLAGS_TUNNEL_OAM = 16, + TCA_FLOWER_KEY_FLAGS_TUNNEL_CRIT_OPT = 32, + __TCA_FLOWER_KEY_FLAGS_MAX = 33, +}; + enum { TCA_STATS_UNSPEC = 0, TCA_STATS_BASIC = 1, @@ -3760,6 +4208,7 @@ enum { TCPF_LISTEN = 1024, TCPF_CLOSING = 2048, TCPF_NEW_SYN_RECV = 4096, + TCPF_BOUND_INACTIVE = 8192, }; enum { @@ -3784,6 +4233,7 @@ enum { TCP_BPF_SYN = 1005, TCP_BPF_SYN_IP = 1006, TCP_BPF_SYN_MAC = 1007, + TCP_BPF_SOCK_OPS_CB_FLAGS = 1008, }; enum { @@ -3804,7 +4254,8 @@ enum { TCP_LISTEN = 10, TCP_CLOSING = 11, TCP_NEW_SYN_RECV = 12, - TCP_MAX_STATES = 13, + TCP_BOUND_INACTIVE = 13, + TCP_MAX_STATES = 14, }; enum { @@ -3927,78 +4378,85 @@ enum { TP_ERR_NON_UNIQ_SYMBOL = 10, TP_ERR_BAD_RETPROBE = 11, TP_ERR_NO_TRACEPOINT = 12, - TP_ERR_BAD_ADDR_SUFFIX = 13, - TP_ERR_NO_GROUP_NAME = 14, - TP_ERR_GROUP_TOO_LONG = 15, - TP_ERR_BAD_GROUP_NAME = 16, - TP_ERR_NO_EVENT_NAME = 17, - TP_ERR_EVENT_TOO_LONG = 18, - TP_ERR_BAD_EVENT_NAME = 19, - TP_ERR_EVENT_EXIST = 20, - TP_ERR_RETVAL_ON_PROBE = 21, - TP_ERR_NO_RETVAL = 22, - TP_ERR_BAD_STACK_NUM = 23, - TP_ERR_BAD_ARG_NUM = 24, - TP_ERR_BAD_VAR = 25, - TP_ERR_BAD_REG_NAME = 26, - TP_ERR_BAD_MEM_ADDR = 27, - TP_ERR_BAD_IMM = 28, - TP_ERR_IMMSTR_NO_CLOSE = 29, - TP_ERR_FILE_ON_KPROBE = 30, - TP_ERR_BAD_FILE_OFFS = 31, - TP_ERR_SYM_ON_UPROBE = 32, - TP_ERR_TOO_MANY_OPS = 33, - TP_ERR_DEREF_NEED_BRACE = 34, - TP_ERR_BAD_DEREF_OFFS = 35, - TP_ERR_DEREF_OPEN_BRACE = 36, - TP_ERR_COMM_CANT_DEREF = 37, - TP_ERR_BAD_FETCH_ARG = 38, - TP_ERR_ARRAY_NO_CLOSE = 39, - TP_ERR_BAD_ARRAY_SUFFIX = 40, - TP_ERR_BAD_ARRAY_NUM = 41, - TP_ERR_ARRAY_TOO_BIG = 42, - TP_ERR_BAD_TYPE = 43, - TP_ERR_BAD_STRING = 44, - TP_ERR_BAD_SYMSTRING = 45, - TP_ERR_BAD_BITFIELD = 46, - TP_ERR_ARG_NAME_TOO_LONG = 47, - TP_ERR_NO_ARG_NAME = 48, - TP_ERR_BAD_ARG_NAME = 49, - TP_ERR_USED_ARG_NAME = 50, - TP_ERR_ARG_TOO_LONG = 51, - TP_ERR_NO_ARG_BODY = 52, - TP_ERR_BAD_INSN_BNDRY = 53, - TP_ERR_FAIL_REG_PROBE = 54, - TP_ERR_DIFF_PROBE_TYPE = 55, - TP_ERR_DIFF_ARG_TYPE = 56, - TP_ERR_SAME_PROBE = 57, - TP_ERR_NO_EVENT_INFO = 58, - TP_ERR_BAD_ATTACH_EVENT = 59, - TP_ERR_BAD_ATTACH_ARG = 60, - TP_ERR_NO_EP_FILTER = 61, - TP_ERR_NOSUP_BTFARG = 62, - TP_ERR_NO_BTFARG = 63, - TP_ERR_NO_BTF_ENTRY = 64, - TP_ERR_BAD_VAR_ARGS = 65, - TP_ERR_NOFENTRY_ARGS = 66, - TP_ERR_DOUBLE_ARGS = 67, - TP_ERR_ARGS_2LONG = 68, - TP_ERR_ARGIDX_2BIG = 69, - TP_ERR_NO_PTR_STRCT = 70, - TP_ERR_NOSUP_DAT_ARG = 71, - TP_ERR_BAD_HYPHEN = 72, - TP_ERR_NO_BTF_FIELD = 73, - TP_ERR_BAD_BTF_TID = 74, - TP_ERR_BAD_TYPE4STR = 75, + TP_ERR_BAD_TP_NAME = 13, + TP_ERR_BAD_ADDR_SUFFIX = 14, + TP_ERR_NO_GROUP_NAME = 15, + TP_ERR_GROUP_TOO_LONG = 16, + TP_ERR_BAD_GROUP_NAME = 17, + TP_ERR_NO_EVENT_NAME = 18, + TP_ERR_EVENT_TOO_LONG = 19, + TP_ERR_BAD_EVENT_NAME = 20, + TP_ERR_EVENT_EXIST = 21, + TP_ERR_RETVAL_ON_PROBE = 22, + TP_ERR_NO_RETVAL = 23, + TP_ERR_BAD_STACK_NUM = 24, + TP_ERR_BAD_ARG_NUM = 25, + TP_ERR_BAD_VAR = 26, + TP_ERR_BAD_REG_NAME = 27, + TP_ERR_BAD_MEM_ADDR = 28, + TP_ERR_BAD_IMM = 29, + TP_ERR_IMMSTR_NO_CLOSE = 30, + TP_ERR_FILE_ON_KPROBE = 31, + TP_ERR_BAD_FILE_OFFS = 32, + TP_ERR_SYM_ON_UPROBE = 33, + TP_ERR_TOO_MANY_OPS = 34, + TP_ERR_DEREF_NEED_BRACE = 35, + TP_ERR_BAD_DEREF_OFFS = 36, + TP_ERR_DEREF_OPEN_BRACE = 37, + TP_ERR_COMM_CANT_DEREF = 38, + TP_ERR_BAD_FETCH_ARG = 39, + TP_ERR_ARRAY_NO_CLOSE = 40, + TP_ERR_BAD_ARRAY_SUFFIX = 41, + TP_ERR_BAD_ARRAY_NUM = 42, + TP_ERR_ARRAY_TOO_BIG = 43, + TP_ERR_BAD_TYPE = 44, + TP_ERR_BAD_STRING = 45, + TP_ERR_BAD_SYMSTRING = 46, + TP_ERR_BAD_BITFIELD = 47, + TP_ERR_ARG_NAME_TOO_LONG = 48, + TP_ERR_NO_ARG_NAME = 49, + TP_ERR_BAD_ARG_NAME = 50, + TP_ERR_USED_ARG_NAME = 51, + TP_ERR_ARG_TOO_LONG = 52, + TP_ERR_NO_ARG_BODY = 53, + TP_ERR_BAD_INSN_BNDRY = 54, + TP_ERR_FAIL_REG_PROBE = 55, + TP_ERR_DIFF_PROBE_TYPE = 56, + TP_ERR_DIFF_ARG_TYPE = 57, + TP_ERR_SAME_PROBE = 58, + TP_ERR_NO_EVENT_INFO = 59, + TP_ERR_BAD_ATTACH_EVENT = 60, + TP_ERR_BAD_ATTACH_ARG = 61, + TP_ERR_NO_EP_FILTER = 62, + TP_ERR_NOSUP_BTFARG = 63, + TP_ERR_NO_BTFARG = 64, + TP_ERR_NO_BTF_ENTRY = 65, + TP_ERR_BAD_VAR_ARGS = 66, + TP_ERR_NOFENTRY_ARGS = 67, + TP_ERR_DOUBLE_ARGS = 68, + TP_ERR_ARGS_2LONG = 69, + TP_ERR_ARGIDX_2BIG = 70, + TP_ERR_NO_PTR_STRCT = 71, + TP_ERR_NOSUP_DAT_ARG = 72, + TP_ERR_BAD_HYPHEN = 73, + TP_ERR_NO_BTF_FIELD = 74, + TP_ERR_BAD_BTF_TID = 75, + TP_ERR_BAD_TYPE4STR = 76, + TP_ERR_NEED_STRING_TYPE = 77, + TP_ERR_TOO_MANY_EARGS = 78, }; enum { TRACEFS_EVENT_INODE = 2, - TRACEFS_EVENT_TOP_INODE = 4, + TRACEFS_GID_PERM_SET = 4, + TRACEFS_UID_PERM_SET = 8, + TRACEFS_INSTANCE_INODE = 16, }; enum { TRACE_ARRAY_FL_GLOBAL = 1, + TRACE_ARRAY_FL_BOOT = 2, + TRACE_ARRAY_FL_MOD_INIT = 4, }; enum { @@ -4010,31 +4468,31 @@ enum { }; enum { - TRACE_EVENT_FL_FILTERED = 1, - TRACE_EVENT_FL_CAP_ANY = 2, - TRACE_EVENT_FL_NO_SET_FILTER = 4, - TRACE_EVENT_FL_IGNORE_ENABLE = 8, - TRACE_EVENT_FL_TRACEPOINT = 16, - TRACE_EVENT_FL_DYNAMIC = 32, - TRACE_EVENT_FL_KPROBE = 64, - TRACE_EVENT_FL_UPROBE = 128, - TRACE_EVENT_FL_EPROBE = 256, - TRACE_EVENT_FL_FPROBE = 512, - TRACE_EVENT_FL_CUSTOM = 1024, + TRACE_EVENT_FL_CAP_ANY = 1, + TRACE_EVENT_FL_NO_SET_FILTER = 2, + TRACE_EVENT_FL_IGNORE_ENABLE = 4, + TRACE_EVENT_FL_TRACEPOINT = 8, + TRACE_EVENT_FL_DYNAMIC = 16, + TRACE_EVENT_FL_KPROBE = 32, + TRACE_EVENT_FL_UPROBE = 64, + TRACE_EVENT_FL_EPROBE = 128, + TRACE_EVENT_FL_FPROBE = 256, + TRACE_EVENT_FL_CUSTOM = 512, + TRACE_EVENT_FL_TEST_STR = 1024, }; enum { - TRACE_EVENT_FL_FILTERED_BIT = 0, - TRACE_EVENT_FL_CAP_ANY_BIT = 1, - TRACE_EVENT_FL_NO_SET_FILTER_BIT = 2, - TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 3, - TRACE_EVENT_FL_TRACEPOINT_BIT = 4, - TRACE_EVENT_FL_DYNAMIC_BIT = 5, - TRACE_EVENT_FL_KPROBE_BIT = 6, - TRACE_EVENT_FL_UPROBE_BIT = 7, - TRACE_EVENT_FL_EPROBE_BIT = 8, - TRACE_EVENT_FL_FPROBE_BIT = 9, - TRACE_EVENT_FL_CUSTOM_BIT = 10, + TRACE_EVENT_FL_CAP_ANY_BIT = 0, + TRACE_EVENT_FL_NO_SET_FILTER_BIT = 1, + TRACE_EVENT_FL_IGNORE_ENABLE_BIT = 2, + TRACE_EVENT_FL_TRACEPOINT_BIT = 3, + TRACE_EVENT_FL_DYNAMIC_BIT = 4, + TRACE_EVENT_FL_KPROBE_BIT = 5, + TRACE_EVENT_FL_UPROBE_BIT = 6, + TRACE_EVENT_FL_EPROBE_BIT = 7, + TRACE_EVENT_FL_FPROBE_BIT = 8, + TRACE_EVENT_FL_CUSTOM_BIT = 9, + TRACE_EVENT_FL_TEST_STR_BIT = 10, }; enum { @@ -4050,11 +4508,7 @@ enum { TRACE_INTERNAL_TRANSITION_BIT = 9, TRACE_BRANCH_BIT = 10, TRACE_IRQ_BIT = 11, - TRACE_GRAPH_BIT = 12, - TRACE_GRAPH_DEPTH_START_BIT = 13, - TRACE_GRAPH_DEPTH_END_BIT = 14, - TRACE_GRAPH_NOTRACE_BIT = 15, - TRACE_RECORD_RECURSION_BIT = 16, + TRACE_RECORD_RECURSION_BIT = 12, }; enum { @@ -4064,6 +4518,13 @@ enum { TRACE_FUNC_OPT_HIGHEST_BIT = 4, }; +enum { + TRACE_GRAPH_FL = 1, + TRACE_GRAPH_DEPTH_START_BIT = 2, + TRACE_GRAPH_DEPTH_END_BIT = 3, + TRACE_GRAPH_NOTRACE_BIT = 4, +}; + enum { TRACE_NOP_OPT_ACCEPT = 1, TRACE_NOP_OPT_REFUSE = 2, @@ -4088,6 +4549,18 @@ enum { UDP_BPF_NUM_PROTS = 2, }; +enum { + UDP_FLAGS_CORK = 0, + UDP_FLAGS_NO_CHECK6_TX = 1, + UDP_FLAGS_NO_CHECK6_RX = 2, + UDP_FLAGS_GRO_ENABLED = 3, + UDP_FLAGS_ACCEPT_FRAGLIST = 4, + UDP_FLAGS_ACCEPT_L4 = 5, + UDP_FLAGS_ENCAP_ENABLED = 6, + UDP_FLAGS_UDPLITE_SEND_CC = 7, + UDP_FLAGS_UDPLITE_RECV_CC = 8, +}; + enum { UDP_MIB_NUM = 0, UDP_MIB_INDATAGRAMS = 1, @@ -4122,50 +4595,6 @@ enum { WALK_NOFOLLOW = 4, }; -enum { - WORK_STRUCT_PENDING_BIT = 0, - WORK_STRUCT_INACTIVE_BIT = 1, - WORK_STRUCT_PWQ_BIT = 2, - WORK_STRUCT_LINKED_BIT = 3, - WORK_STRUCT_COLOR_SHIFT = 4, - WORK_STRUCT_COLOR_BITS = 4, - WORK_STRUCT_PENDING = 1, - WORK_STRUCT_INACTIVE = 2, - WORK_STRUCT_PWQ = 4, - WORK_STRUCT_LINKED = 8, - WORK_STRUCT_STATIC = 0, - WORK_NR_COLORS = 16, - WORK_CPU_UNBOUND = 1, - WORK_STRUCT_FLAG_BITS = 8, - WORK_OFFQ_FLAG_BASE = 4, - __WORK_OFFQ_CANCELING = 4, - WORK_OFFQ_FLAG_BITS = 1, - WORK_OFFQ_POOL_SHIFT = 5, - WORK_OFFQ_LEFT = 59, - WORK_OFFQ_POOL_BITS = 31, - WORK_BUSY_PENDING = 1, - WORK_BUSY_RUNNING = 2, - WORKER_DESC_LEN = 24, -}; - -enum { - WQ_UNBOUND = 2, - WQ_FREEZABLE = 4, - WQ_MEM_RECLAIM = 8, - WQ_HIGHPRI = 16, - WQ_CPU_INTENSIVE = 32, - WQ_SYSFS = 64, - WQ_POWER_EFFICIENT = 128, - __WQ_DESTROYING = 32768, - __WQ_DRAINING = 65536, - __WQ_ORDERED = 131072, - __WQ_LEGACY = 262144, - __WQ_ORDERED_EXPLICIT = 524288, - WQ_MAX_ACTIVE = 512, - WQ_UNBOUND_MAX_ACTIVE = 512, - WQ_DFL_ACTIVE = 256, -}; - enum { X86_BR_NONE = 0, X86_BR_USER = 1, @@ -4211,12 +4640,6 @@ enum { XDP_ATTACHED_MULTI = 4, }; -enum { - XDP_METADATA_KFUNC_RX_TIMESTAMP = 0, - XDP_METADATA_KFUNC_RX_HASH = 1, - MAX_XDP_METADATA_KFUNC = 2, -}; - enum { XFRM_LOOKUP_ICMP = 1, XFRM_LOOKUP_QUEUE = 2, @@ -4281,7 +4704,6 @@ enum { _IRQ_NOREQUEST = 2048, _IRQ_NOTHREAD = 65536, _IRQ_NOAUTOEN = 4096, - _IRQ_MOVE_PCNTXT = 16384, _IRQ_NO_BALANCING = 8192, _IRQ_NESTED_THREAD = 32768, _IRQ_PER_CPU_DEVID = 131072, @@ -4289,7 +4711,7 @@ enum { _IRQ_DISABLE_UNLAZY = 524288, _IRQ_HIDDEN = 1048576, _IRQ_NO_DEBUG = 2097152, - _IRQF_MODIFY_MASK = 2096911, + _IRQF_MODIFY_MASK = 2080527, }; enum { @@ -4320,29 +4742,58 @@ enum { enum { __SCHED_FEAT_PLACE_LAG = 0, __SCHED_FEAT_PLACE_DEADLINE_INITIAL = 1, - __SCHED_FEAT_RUN_TO_PARITY = 2, - __SCHED_FEAT_NEXT_BUDDY = 3, - __SCHED_FEAT_CACHE_HOT_BUDDY = 4, - __SCHED_FEAT_WAKEUP_PREEMPTION = 5, - __SCHED_FEAT_HRTICK = 6, - __SCHED_FEAT_HRTICK_DL = 7, - __SCHED_FEAT_DOUBLE_TICK = 8, - __SCHED_FEAT_NONTASK_CAPACITY = 9, - __SCHED_FEAT_TTWU_QUEUE = 10, - __SCHED_FEAT_SIS_PROP = 11, - __SCHED_FEAT_SIS_UTIL = 12, - __SCHED_FEAT_WARN_DOUBLE_CLOCK = 13, - __SCHED_FEAT_RT_RUNTIME_SHARE = 14, - __SCHED_FEAT_LB_MIN = 15, - __SCHED_FEAT_ATTACH_AGE_LOAD = 16, - __SCHED_FEAT_WA_IDLE = 17, - __SCHED_FEAT_WA_WEIGHT = 18, - __SCHED_FEAT_WA_BIAS = 19, - __SCHED_FEAT_UTIL_EST = 20, - __SCHED_FEAT_UTIL_EST_FASTUP = 21, - __SCHED_FEAT_LATENCY_WARN = 22, - __SCHED_FEAT_HZ_BW = 23, - __SCHED_FEAT_NR = 24, + __SCHED_FEAT_PLACE_REL_DEADLINE = 2, + __SCHED_FEAT_RUN_TO_PARITY = 3, + __SCHED_FEAT_PREEMPT_SHORT = 4, + __SCHED_FEAT_NEXT_BUDDY = 5, + __SCHED_FEAT_PICK_BUDDY = 6, + __SCHED_FEAT_CACHE_HOT_BUDDY = 7, + __SCHED_FEAT_DELAY_DEQUEUE = 8, + __SCHED_FEAT_DELAY_ZERO = 9, + __SCHED_FEAT_WAKEUP_PREEMPTION = 10, + __SCHED_FEAT_HRTICK = 11, + __SCHED_FEAT_HRTICK_DL = 12, + __SCHED_FEAT_NONTASK_CAPACITY = 13, + __SCHED_FEAT_TTWU_QUEUE = 14, + __SCHED_FEAT_SIS_UTIL = 15, + __SCHED_FEAT_WARN_DOUBLE_CLOCK = 16, + __SCHED_FEAT_RT_RUNTIME_SHARE = 17, + __SCHED_FEAT_LB_MIN = 18, + __SCHED_FEAT_ATTACH_AGE_LOAD = 19, + __SCHED_FEAT_WA_IDLE = 20, + __SCHED_FEAT_WA_WEIGHT = 21, + __SCHED_FEAT_WA_BIAS = 22, + __SCHED_FEAT_UTIL_EST = 23, + __SCHED_FEAT_LATENCY_WARN = 24, + __SCHED_FEAT_NR = 25, +}; + +enum { + ___GFP_DMA_BIT = 0, + ___GFP_HIGHMEM_BIT = 1, + ___GFP_DMA32_BIT = 2, + ___GFP_MOVABLE_BIT = 3, + ___GFP_RECLAIMABLE_BIT = 4, + ___GFP_HIGH_BIT = 5, + ___GFP_IO_BIT = 6, + ___GFP_FS_BIT = 7, + ___GFP_ZERO_BIT = 8, + ___GFP_UNUSED_BIT = 9, + ___GFP_DIRECT_RECLAIM_BIT = 10, + ___GFP_KSWAPD_RECLAIM_BIT = 11, + ___GFP_WRITE_BIT = 12, + ___GFP_NOWARN_BIT = 13, + ___GFP_RETRY_MAYFAIL_BIT = 14, + ___GFP_NOFAIL_BIT = 15, + ___GFP_NORETRY_BIT = 16, + ___GFP_MEMALLOC_BIT = 17, + ___GFP_COMP_BIT = 18, + ___GFP_NOMEMALLOC_BIT = 19, + ___GFP_HARDWALL_BIT = 20, + ___GFP_THISNODE_BIT = 21, + ___GFP_ACCOUNT_BIT = 22, + ___GFP_ZEROTAGS_BIT = 23, + ___GFP_LAST_BIT = 24, }; enum { @@ -4369,8 +4820,7 @@ enum { __ctx_convertBPF_PROG_TYPE_STRUCT_OPS = 20, __ctx_convertBPF_PROG_TYPE_EXT = 21, __ctx_convertBPF_PROG_TYPE_SYSCALL = 22, - __ctx_convertBPF_PROG_TYPE_NETFILTER = 23, - __ctx_convert_unused = 24, + __ctx_convert_unused = 23, }; enum { @@ -4439,7 +4889,8 @@ typedef enum { PHY_INTERFACE_MODE_10GKR = 30, PHY_INTERFACE_MODE_QUSGMII = 31, PHY_INTERFACE_MODE_1000BASEKX = 32, - PHY_INTERFACE_MODE_MAX = 33, + PHY_INTERFACE_MODE_10G_QXGMII = 33, + PHY_INTERFACE_MODE_MAX = 34, } phy_interface_t; typedef enum { @@ -4731,17 +5182,32 @@ enum _cache_type { CTYPE_UNIFIED = 3, }; +enum _slab_flag_bits { + _SLAB_CONSISTENCY_CHECKS = 0, + _SLAB_RED_ZONE = 1, + _SLAB_POISON = 2, + _SLAB_KMALLOC = 3, + _SLAB_HWCACHE_ALIGN = 4, + _SLAB_CACHE_DMA = 5, + _SLAB_CACHE_DMA32 = 6, + _SLAB_STORE_USER = 7, + _SLAB_PANIC = 8, + _SLAB_TYPESAFE_BY_RCU = 9, + _SLAB_TRACE = 10, + _SLAB_NOLEAKTRACE = 11, + _SLAB_NO_MERGE = 12, + _SLAB_NO_USER_FLAGS = 13, + _SLAB_OBJECT_POISON = 14, + _SLAB_CMPXCHG_DOUBLE = 15, + _SLAB_FLAGS_LAST_BIT = 16, +}; + enum addr_type_t { UNICAST_ADDR = 0, MULTICAST_ADDR = 1, ANYCAST_ADDR = 2, }; -enum alarmtimer_restart { - ALARMTIMER_NORESTART = 0, - ALARMTIMER_RESTART = 1, -}; - enum alarmtimer_type { ALARM_REALTIME = 0, ALARM_BOOTTIME = 1, @@ -4755,15 +5221,6 @@ enum align_flags { ALIGN_VA_64 = 2, }; -enum apic_delivery_modes { - APIC_DELIVERY_MODE_FIXED = 0, - APIC_DELIVERY_MODE_LOWESTPRIO = 1, - APIC_DELIVERY_MODE_SMI = 2, - APIC_DELIVERY_MODE_NMI = 4, - APIC_DELIVERY_MODE_INIT = 5, - APIC_DELIVERY_MODE_EXTINT = 7, -}; - enum apic_intr_mode_id { APIC_PIC = 0, APIC_VIRTUAL_WIRE = 1, @@ -4772,6 +5229,11 @@ enum apic_intr_mode_id { APIC_SYMMETRIC_IO_NO_ROUTING = 4, }; +enum atom_native_id { + cmt_native_id = 2, + skt_native_id = 3, +}; + enum audit_ntp_type { AUDIT_NTP_OFFSET = 0, AUDIT_NTP_FREQ = 1, @@ -4802,6 +5264,12 @@ enum behavior { DROP = 2, }; +enum bhi_mitigations { + BHI_MITIGATION_OFF = 0, + BHI_MITIGATION_ON = 1, + BHI_MITIGATION_VMEXIT_ONLY = 2, +}; + enum blake2s_iv { BLAKE2S_IV0 = 1779033703, BLAKE2S_IV1 = 3144134277, @@ -4823,10 +5291,12 @@ enum blake2s_lengths { BLAKE2S_256_HASH_SIZE = 32, }; -enum blk_bounce { - BLK_BOUNCE_NONE = 0, - BLK_BOUNCE_HIGH = 1, -}; +enum blk_integrity_checksum { + BLK_INTEGRITY_CSUM_NONE = 0, + BLK_INTEGRITY_CSUM_IP = 1, + BLK_INTEGRITY_CSUM_CRC = 2, + BLK_INTEGRITY_CSUM_CRC64 = 3, +} __attribute__((mode(byte))); enum blk_unique_id { BLK_UID_T10 = 1, @@ -4834,12 +5304,6 @@ enum blk_unique_id { BLK_UID_NAA = 3, }; -enum blk_zoned_model { - BLK_ZONED_NONE = 0, - BLK_ZONED_HA = 1, - BLK_ZONED_HM = 2, -}; - enum bp_type_idx { TYPE_INST = 0, TYPE_DATA = 0, @@ -4856,6 +5320,10 @@ enum bpf_access_type { BPF_WRITE = 2, }; +enum bpf_addr_space_cast { + BPF_ADDR_SPACE_CAST = 1, +}; + enum bpf_adj_room_mode { BPF_ADJ_ROOM_NET = 0, BPF_ADJ_ROOM_MAC = 1, @@ -4867,36 +5335,40 @@ enum bpf_arg_type { ARG_PTR_TO_MAP_KEY = 2, ARG_PTR_TO_MAP_VALUE = 3, ARG_PTR_TO_MEM = 4, - ARG_CONST_SIZE = 5, - ARG_CONST_SIZE_OR_ZERO = 6, - ARG_PTR_TO_CTX = 7, - ARG_ANYTHING = 8, - ARG_PTR_TO_SPIN_LOCK = 9, - ARG_PTR_TO_SOCK_COMMON = 10, - ARG_PTR_TO_INT = 11, - ARG_PTR_TO_LONG = 12, - ARG_PTR_TO_SOCKET = 13, - ARG_PTR_TO_BTF_ID = 14, - ARG_PTR_TO_RINGBUF_MEM = 15, - ARG_CONST_ALLOC_SIZE_OR_ZERO = 16, - ARG_PTR_TO_BTF_ID_SOCK_COMMON = 17, - ARG_PTR_TO_PERCPU_BTF_ID = 18, - ARG_PTR_TO_FUNC = 19, - ARG_PTR_TO_STACK = 20, - ARG_PTR_TO_CONST_STR = 21, - ARG_PTR_TO_TIMER = 22, - ARG_PTR_TO_KPTR = 23, - ARG_PTR_TO_DYNPTR = 24, - __BPF_ARG_TYPE_MAX = 25, + ARG_PTR_TO_ARENA = 5, + ARG_CONST_SIZE = 6, + ARG_CONST_SIZE_OR_ZERO = 7, + ARG_PTR_TO_CTX = 8, + ARG_ANYTHING = 9, + ARG_PTR_TO_SPIN_LOCK = 10, + ARG_PTR_TO_SOCK_COMMON = 11, + ARG_PTR_TO_SOCKET = 12, + ARG_PTR_TO_BTF_ID = 13, + ARG_PTR_TO_RINGBUF_MEM = 14, + ARG_CONST_ALLOC_SIZE_OR_ZERO = 15, + ARG_PTR_TO_BTF_ID_SOCK_COMMON = 16, + ARG_PTR_TO_PERCPU_BTF_ID = 17, + ARG_PTR_TO_FUNC = 18, + ARG_PTR_TO_STACK = 19, + ARG_PTR_TO_CONST_STR = 20, + ARG_PTR_TO_TIMER = 21, + ARG_KPTR_XCHG_DEST = 22, + ARG_PTR_TO_DYNPTR = 23, + __BPF_ARG_TYPE_MAX = 24, ARG_PTR_TO_MAP_VALUE_OR_NULL = 259, ARG_PTR_TO_MEM_OR_NULL = 260, - ARG_PTR_TO_CTX_OR_NULL = 263, - ARG_PTR_TO_SOCKET_OR_NULL = 269, - ARG_PTR_TO_STACK_OR_NULL = 276, - ARG_PTR_TO_BTF_ID_OR_NULL = 270, - ARG_PTR_TO_UNINIT_MEM = 32772, + ARG_PTR_TO_CTX_OR_NULL = 264, + ARG_PTR_TO_SOCKET_OR_NULL = 268, + ARG_PTR_TO_STACK_OR_NULL = 275, + ARG_PTR_TO_BTF_ID_OR_NULL = 269, + ARG_PTR_TO_UNINIT_MEM = 67141636, ARG_PTR_TO_FIXED_SIZE_MEM = 262148, - __BPF_ARG_TYPE_LIMIT = 33554431, + __BPF_ARG_TYPE_LIMIT = 134217727, +}; + +enum bpf_async_type { + BPF_ASYNC_TYPE_TIMER = 0, + BPF_ASYNC_TYPE_WQ = 1, }; enum bpf_attach_type { @@ -4949,7 +5421,16 @@ enum bpf_attach_type { BPF_TCX_INGRESS = 46, BPF_TCX_EGRESS = 47, BPF_TRACE_UPROBE_MULTI = 48, - __MAX_BPF_ATTACH_TYPE = 49, + BPF_CGROUP_UNIX_CONNECT = 49, + BPF_CGROUP_UNIX_SENDMSG = 50, + BPF_CGROUP_UNIX_RECVMSG = 51, + BPF_CGROUP_UNIX_GETPEERNAME = 52, + BPF_CGROUP_UNIX_GETSOCKNAME = 53, + BPF_NETKIT_PRIMARY = 54, + BPF_NETKIT_PEER = 55, + BPF_TRACE_KPROBE_SESSION = 56, + BPF_TRACE_UPROBE_SESSION = 57, + __MAX_BPF_ATTACH_TYPE = 58, }; enum bpf_audit { @@ -5020,6 +5501,12 @@ enum bpf_cmd { BPF_ITER_CREATE = 33, BPF_LINK_DETACH = 34, BPF_PROG_BIND_MAP = 35, + BPF_TOKEN_CREATE = 36, + __MAX_BPF_CMD = 37, +}; + +enum bpf_cond_pseudo_jmp { + BPF_MAY_GOTO = 0, }; enum bpf_core_relo_kind { @@ -5287,6 +5774,10 @@ enum bpf_jit_poke_reason { BPF_POKE_REASON_TAIL_CALL = 0, }; +enum bpf_kfunc_flags { + BPF_F_PAD_ZEROS = 1, +}; + enum bpf_link_type { BPF_LINK_TYPE_UNSPEC = 0, BPF_LINK_TYPE_RAW_TRACEPOINT = 1, @@ -5301,7 +5792,9 @@ enum bpf_link_type { BPF_LINK_TYPE_NETFILTER = 10, BPF_LINK_TYPE_TCX = 11, BPF_LINK_TYPE_UPROBE_MULTI = 12, - MAX_BPF_LINK_TYPE = 13, + BPF_LINK_TYPE_NETKIT = 13, + BPF_LINK_TYPE_SOCKMAP = 14, + __MAX_BPF_LINK_TYPE = 15, }; enum bpf_lru_list_type { @@ -5335,6 +5828,7 @@ enum bpf_map_type { BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED = 19, BPF_MAP_TYPE_CGROUP_STORAGE = 19, BPF_MAP_TYPE_REUSEPORT_SOCKARRAY = 20, + BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE_DEPRECATED = 21, BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE = 21, BPF_MAP_TYPE_QUEUE = 22, BPF_MAP_TYPE_STACK = 23, @@ -5347,6 +5841,8 @@ enum bpf_map_type { BPF_MAP_TYPE_BLOOM_FILTER = 30, BPF_MAP_TYPE_USER_RINGBUF = 31, BPF_MAP_TYPE_CGRP_STORAGE = 32, + BPF_MAP_TYPE_ARENA = 33, + __MAX_BPF_MAP_TYPE = 34, }; enum bpf_netdev_command { @@ -5401,6 +5897,7 @@ enum bpf_prog_type { BPF_PROG_TYPE_SK_LOOKUP = 30, BPF_PROG_TYPE_SYSCALL = 31, BPF_PROG_TYPE_NETFILTER = 32, + __MAX_BPF_PROG_TYPE = 33, }; enum bpf_reg_liveness { @@ -5431,16 +5928,17 @@ enum bpf_reg_type { PTR_TO_XDP_SOCK = 15, PTR_TO_BTF_ID = 16, PTR_TO_MEM = 17, - PTR_TO_BUF = 18, - PTR_TO_FUNC = 19, - CONST_PTR_TO_DYNPTR = 20, - __BPF_REG_TYPE_MAX = 21, + PTR_TO_ARENA = 18, + PTR_TO_BUF = 19, + PTR_TO_FUNC = 20, + CONST_PTR_TO_DYNPTR = 21, + __BPF_REG_TYPE_MAX = 22, PTR_TO_MAP_VALUE_OR_NULL = 260, PTR_TO_SOCKET_OR_NULL = 267, PTR_TO_SOCK_COMMON_OR_NULL = 268, PTR_TO_TCP_SOCK_OR_NULL = 269, PTR_TO_BTF_ID_OR_NULL = 272, - __BPF_REG_TYPE_LIMIT = 33554431, + __BPF_REG_TYPE_LIMIT = 134217727, }; enum bpf_ret_code { @@ -5470,7 +5968,7 @@ enum bpf_return_type { RET_PTR_TO_DYNPTR_MEM_OR_NULL = 262, RET_PTR_TO_BTF_ID_OR_NULL = 264, RET_PTR_TO_BTF_ID_TRUSTED = 1048584, - __BPF_RET_TYPE_LIMIT = 33554431, + __BPF_RET_TYPE_LIMIT = 134217727, }; enum bpf_stack_build_id_status { @@ -5486,6 +5984,7 @@ enum bpf_stack_slot_type { STACK_ZERO = 3, STACK_DYNPTR = 4, STACK_ITER = 5, + STACK_IRQ_FLAG = 6, }; enum bpf_stats_type { @@ -5558,8 +6057,10 @@ enum bpf_type_flag { NON_OWN_REF = 4194304, DYNPTR_TYPE_SKB = 8388608, DYNPTR_TYPE_XDP = 16777216, - __BPF_TYPE_FLAG_MAX = 16777217, - __BPF_TYPE_LAST_FLAG = 16777216, + MEM_ALIGNED = 33554432, + MEM_WRITE = 67108864, + __BPF_TYPE_FLAG_MAX = 67108865, + __BPF_TYPE_LAST_FLAG = 67108864, }; enum bpf_xdp_mode { @@ -5569,18 +6070,35 @@ enum bpf_xdp_mode { __MAX_XDP_MODE = 3, }; +enum btf_arg_tag { + ARG_TAG_CTX = 1, + ARG_TAG_NONNULL = 2, + ARG_TAG_TRUSTED = 4, + ARG_TAG_NULLABLE = 8, + ARG_TAG_ARENA = 16, +}; + +enum btf_field_iter_kind { + BTF_FIELD_ITER_IDS = 0, + BTF_FIELD_ITER_STRS = 1, +}; + enum btf_field_type { BPF_SPIN_LOCK = 1, BPF_TIMER = 2, BPF_KPTR_UNREF = 4, BPF_KPTR_REF = 8, - BPF_KPTR = 12, - BPF_LIST_HEAD = 16, - BPF_LIST_NODE = 32, - BPF_RB_ROOT = 64, - BPF_RB_NODE = 128, - BPF_GRAPH_NODE_OR_ROOT = 240, - BPF_REFCOUNT = 256, + BPF_KPTR_PERCPU = 16, + BPF_KPTR = 28, + BPF_LIST_HEAD = 32, + BPF_LIST_NODE = 64, + BPF_RB_ROOT = 128, + BPF_RB_NODE = 256, + BPF_GRAPH_NODE = 320, + BPF_GRAPH_ROOT = 160, + BPF_REFCOUNT = 512, + BPF_WORKQUEUE = 1024, + BPF_UPTR = 2048, }; enum btf_func_linkage { @@ -5597,13 +6115,14 @@ enum btf_kfunc_hook { BTF_KFUNC_HOOK_TRACING = 4, BTF_KFUNC_HOOK_SYSCALL = 5, BTF_KFUNC_HOOK_FMODRET = 6, - BTF_KFUNC_HOOK_CGROUP_SKB = 7, + BTF_KFUNC_HOOK_CGROUP = 7, BTF_KFUNC_HOOK_SCHED_ACT = 8, BTF_KFUNC_HOOK_SK_SKB = 9, BTF_KFUNC_HOOK_SOCKET_FILTER = 10, BTF_KFUNC_HOOK_LWT = 11, BTF_KFUNC_HOOK_NETFILTER = 12, - BTF_KFUNC_HOOK_MAX = 13, + BTF_KFUNC_HOOK_KPROBE = 13, + BTF_KFUNC_HOOK_MAX = 14, }; enum bug_trap_type { @@ -5638,7 +6157,15 @@ enum cc_attr { CC_ATTR_GUEST_STATE_ENCRYPT = 3, CC_ATTR_GUEST_UNROLL_STRING_IO = 4, CC_ATTR_GUEST_SEV_SNP = 5, - CC_ATTR_HOTPLUG_DISABLED = 6, + CC_ATTR_GUEST_SNP_SECURE_TSC = 6, + CC_ATTR_HOST_SEV_SNP = 7, +}; + +enum cfi_mode { + CFI_AUTO = 0, + CFI_OFF = 1, + CFI_KCFI = 2, + CFI_FINEIBT = 3, }; enum chacha_constants { @@ -5665,7 +6192,19 @@ enum clock_event_state { enum clocksource_ids { CSID_GENERIC = 0, CSID_ARM_ARCH_COUNTER = 1, - CSID_MAX = 2, + CSID_S390_TOD = 2, + CSID_X86_TSC_EARLY = 3, + CSID_X86_TSC = 4, + CSID_X86_KVM_CLK = 5, + CSID_X86_ART = 6, + CSID_MAX = 7, +}; + +enum cmis_cdb_fw_write_mechanism { + CMIS_CDB_FW_WRITE_MECHANISM_NONE = 0, + CMIS_CDB_FW_WRITE_MECHANISM_LPL = 1, + CMIS_CDB_FW_WRITE_MECHANISM_EPL = 16, + CMIS_CDB_FW_WRITE_MECHANISM_BOTH = 17, }; enum compact_priority { @@ -5709,6 +6248,7 @@ enum cons_flags { CON_BRL = 32, CON_EXTENDED = 64, CON_SUSPENDED = 128, + CON_NBCON = 256, }; enum cp_error_code { @@ -5745,12 +6285,6 @@ enum cpio_fields { C_NFIELDS = 14, }; -enum cpu_mitigations { - CPU_MITIGATIONS_OFF = 0, - CPU_MITIGATIONS_AUTO = 1, - CPU_MITIGATIONS_AUTO_NOSMT = 2, -}; - enum cpu_usage_stat { CPUTIME_USER = 0, CPUTIME_NICE = 1, @@ -5789,186 +6323,180 @@ enum cpuhp_state { CPUHP_PERF_POWER = 5, CPUHP_PERF_SUPERH = 6, CPUHP_X86_HPET_DEAD = 7, - CPUHP_X86_APB_DEAD = 8, - CPUHP_X86_MCE_DEAD = 9, - CPUHP_VIRT_NET_DEAD = 10, - CPUHP_IBMVNIC_DEAD = 11, - CPUHP_SLUB_DEAD = 12, - CPUHP_DEBUG_OBJ_DEAD = 13, - CPUHP_MM_WRITEBACK_DEAD = 14, - CPUHP_MM_DEMOTION_DEAD = 15, - CPUHP_MM_VMSTAT_DEAD = 16, - CPUHP_SOFTIRQ_DEAD = 17, - CPUHP_NET_MVNETA_DEAD = 18, - CPUHP_CPUIDLE_DEAD = 19, - CPUHP_ARM64_FPSIMD_DEAD = 20, - CPUHP_ARM_OMAP_WAKE_DEAD = 21, - CPUHP_IRQ_POLL_DEAD = 22, - CPUHP_BLOCK_SOFTIRQ_DEAD = 23, - CPUHP_BIO_DEAD = 24, - CPUHP_ACPI_CPUDRV_DEAD = 25, - CPUHP_S390_PFAULT_DEAD = 26, - CPUHP_BLK_MQ_DEAD = 27, - CPUHP_FS_BUFF_DEAD = 28, - CPUHP_PRINTK_DEAD = 29, - CPUHP_MM_MEMCQ_DEAD = 30, - CPUHP_PERCPU_CNT_DEAD = 31, - CPUHP_RADIX_DEAD = 32, - CPUHP_PAGE_ALLOC = 33, - CPUHP_NET_DEV_DEAD = 34, - CPUHP_PCI_XGENE_DEAD = 35, - CPUHP_IOMMU_IOVA_DEAD = 36, - CPUHP_LUSTRE_CFS_DEAD = 37, - CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 38, - CPUHP_PADATA_DEAD = 39, - CPUHP_AP_DTPM_CPU_DEAD = 40, - CPUHP_RANDOM_PREPARE = 41, - CPUHP_WORKQUEUE_PREP = 42, - CPUHP_POWER_NUMA_PREPARE = 43, - CPUHP_HRTIMERS_PREPARE = 44, - CPUHP_PROFILE_PREPARE = 45, - CPUHP_X2APIC_PREPARE = 46, - CPUHP_SMPCFD_PREPARE = 47, - CPUHP_RELAY_PREPARE = 48, - CPUHP_SLAB_PREPARE = 49, - CPUHP_MD_RAID5_PREPARE = 50, - CPUHP_RCUTREE_PREP = 51, - CPUHP_CPUIDLE_COUPLED_PREPARE = 52, - CPUHP_POWERPC_PMAC_PREPARE = 53, - CPUHP_POWERPC_MMU_CTX_PREPARE = 54, - CPUHP_XEN_PREPARE = 55, - CPUHP_XEN_EVTCHN_PREPARE = 56, - CPUHP_ARM_SHMOBILE_SCU_PREPARE = 57, - CPUHP_SH_SH3X_PREPARE = 58, - CPUHP_NET_FLOW_PREPARE = 59, - CPUHP_TOPOLOGY_PREPARE = 60, - CPUHP_NET_IUCV_PREPARE = 61, - CPUHP_ARM_BL_PREPARE = 62, - CPUHP_TRACE_RB_PREPARE = 63, - CPUHP_MM_ZS_PREPARE = 64, - CPUHP_MM_ZSWP_MEM_PREPARE = 65, - CPUHP_MM_ZSWP_POOL_PREPARE = 66, - CPUHP_KVM_PPC_BOOK3S_PREPARE = 67, - CPUHP_ZCOMP_PREPARE = 68, - CPUHP_TIMERS_PREPARE = 69, - CPUHP_MIPS_SOC_PREPARE = 70, - CPUHP_BP_PREPARE_DYN = 71, - CPUHP_BP_PREPARE_DYN_END = 91, - CPUHP_BP_KICK_AP = 92, - CPUHP_BRINGUP_CPU = 93, - CPUHP_AP_IDLE_DEAD = 94, - CPUHP_AP_OFFLINE = 95, - CPUHP_AP_CACHECTRL_STARTING = 96, - CPUHP_AP_SCHED_STARTING = 97, - CPUHP_AP_RCUTREE_DYING = 98, - CPUHP_AP_CPU_PM_STARTING = 99, - CPUHP_AP_IRQ_GIC_STARTING = 100, - CPUHP_AP_IRQ_HIP04_STARTING = 101, - CPUHP_AP_IRQ_APPLE_AIC_STARTING = 102, - CPUHP_AP_IRQ_ARMADA_XP_STARTING = 103, - CPUHP_AP_IRQ_BCM2836_STARTING = 104, - CPUHP_AP_IRQ_MIPS_GIC_STARTING = 105, - CPUHP_AP_IRQ_RISCV_STARTING = 106, - CPUHP_AP_IRQ_LOONGARCH_STARTING = 107, - CPUHP_AP_IRQ_SIFIVE_PLIC_STARTING = 108, - CPUHP_AP_ARM_MVEBU_COHERENCY = 109, - CPUHP_AP_MICROCODE_LOADER = 110, - CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 111, - CPUHP_AP_PERF_X86_STARTING = 112, - CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 113, - CPUHP_AP_PERF_X86_CQM_STARTING = 114, - CPUHP_AP_PERF_X86_CSTATE_STARTING = 115, - CPUHP_AP_PERF_XTENSA_STARTING = 116, - CPUHP_AP_MIPS_OP_LOONGSON3_STARTING = 117, - CPUHP_AP_ARM_VFP_STARTING = 118, - CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 119, - CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 120, - CPUHP_AP_PERF_ARM_ACPI_STARTING = 121, - CPUHP_AP_PERF_ARM_STARTING = 122, - CPUHP_AP_PERF_RISCV_STARTING = 123, - CPUHP_AP_ARM_L2X0_STARTING = 124, - CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 125, - CPUHP_AP_ARM_ARCH_TIMER_STARTING = 126, - CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 127, - CPUHP_AP_JCORE_TIMER_STARTING = 128, - CPUHP_AP_ARM_TWD_STARTING = 129, - CPUHP_AP_QCOM_TIMER_STARTING = 130, - CPUHP_AP_TEGRA_TIMER_STARTING = 131, - CPUHP_AP_ARMADA_TIMER_STARTING = 132, - CPUHP_AP_MARCO_TIMER_STARTING = 133, - CPUHP_AP_MIPS_GIC_TIMER_STARTING = 134, - CPUHP_AP_ARC_TIMER_STARTING = 135, - CPUHP_AP_RISCV_TIMER_STARTING = 136, - CPUHP_AP_CLINT_TIMER_STARTING = 137, - CPUHP_AP_CSKY_TIMER_STARTING = 138, - CPUHP_AP_TI_GP_TIMER_STARTING = 139, - CPUHP_AP_HYPERV_TIMER_STARTING = 140, - CPUHP_AP_DUMMY_TIMER_STARTING = 141, - CPUHP_AP_ARM_XEN_STARTING = 142, - CPUHP_AP_ARM_CORESIGHT_STARTING = 143, - CPUHP_AP_ARM_CORESIGHT_CTI_STARTING = 144, - CPUHP_AP_ARM64_ISNDEP_STARTING = 145, - CPUHP_AP_SMPCFD_DYING = 146, - CPUHP_AP_X86_TBOOT_DYING = 147, - CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 148, - CPUHP_AP_ONLINE = 149, - CPUHP_TEARDOWN_CPU = 150, - CPUHP_AP_ONLINE_IDLE = 151, - CPUHP_AP_HYPERV_ONLINE = 152, - CPUHP_AP_KVM_ONLINE = 153, - CPUHP_AP_SCHED_WAIT_EMPTY = 154, - CPUHP_AP_SMPBOOT_THREADS = 155, - CPUHP_AP_X86_VDSO_VMA_ONLINE = 156, - CPUHP_AP_IRQ_AFFINITY_ONLINE = 157, - CPUHP_AP_BLK_MQ_ONLINE = 158, - CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 159, - CPUHP_AP_X86_INTEL_EPB_ONLINE = 160, - CPUHP_AP_PERF_ONLINE = 161, - CPUHP_AP_PERF_X86_ONLINE = 162, - CPUHP_AP_PERF_X86_UNCORE_ONLINE = 163, - CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 164, - CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 165, - CPUHP_AP_PERF_X86_RAPL_ONLINE = 166, - CPUHP_AP_PERF_X86_CQM_ONLINE = 167, - CPUHP_AP_PERF_X86_CSTATE_ONLINE = 168, - CPUHP_AP_PERF_X86_IDXD_ONLINE = 169, - CPUHP_AP_PERF_S390_CF_ONLINE = 170, - CPUHP_AP_PERF_S390_SF_ONLINE = 171, - CPUHP_AP_PERF_ARM_CCI_ONLINE = 172, - CPUHP_AP_PERF_ARM_CCN_ONLINE = 173, - CPUHP_AP_PERF_ARM_HISI_CPA_ONLINE = 174, - CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 175, - CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 176, - CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 177, - CPUHP_AP_PERF_ARM_HISI_PA_ONLINE = 178, - CPUHP_AP_PERF_ARM_HISI_SLLC_ONLINE = 179, - CPUHP_AP_PERF_ARM_HISI_PCIE_PMU_ONLINE = 180, - CPUHP_AP_PERF_ARM_HNS3_PMU_ONLINE = 181, - CPUHP_AP_PERF_ARM_L2X0_ONLINE = 182, - CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 183, - CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 184, - CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 185, - CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 186, - CPUHP_AP_PERF_ARM_MARVELL_CN10K_DDR_ONLINE = 187, - CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 188, - CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 189, - CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 190, - CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 191, - CPUHP_AP_PERF_POWERPC_HV_24x7_ONLINE = 192, - CPUHP_AP_PERF_POWERPC_HV_GPCI_ONLINE = 193, - CPUHP_AP_PERF_CSKY_ONLINE = 194, - CPUHP_AP_WATCHDOG_ONLINE = 195, - CPUHP_AP_WORKQUEUE_ONLINE = 196, - CPUHP_AP_RANDOM_ONLINE = 197, - CPUHP_AP_RCUTREE_ONLINE = 198, - CPUHP_AP_BASE_CACHEINFO_ONLINE = 199, - CPUHP_AP_ONLINE_DYN = 200, - CPUHP_AP_ONLINE_DYN_END = 230, - CPUHP_AP_MM_DEMOTION_ONLINE = 231, - CPUHP_AP_X86_HPET_ONLINE = 232, - CPUHP_AP_X86_KVM_CLK_ONLINE = 233, - CPUHP_AP_ACTIVE = 234, - CPUHP_ONLINE = 235, + CPUHP_X86_MCE_DEAD = 8, + CPUHP_VIRT_NET_DEAD = 9, + CPUHP_IBMVNIC_DEAD = 10, + CPUHP_SLUB_DEAD = 11, + CPUHP_DEBUG_OBJ_DEAD = 12, + CPUHP_MM_WRITEBACK_DEAD = 13, + CPUHP_MM_VMSTAT_DEAD = 14, + CPUHP_SOFTIRQ_DEAD = 15, + CPUHP_NET_MVNETA_DEAD = 16, + CPUHP_CPUIDLE_DEAD = 17, + CPUHP_ARM64_FPSIMD_DEAD = 18, + CPUHP_ARM_OMAP_WAKE_DEAD = 19, + CPUHP_IRQ_POLL_DEAD = 20, + CPUHP_BLOCK_SOFTIRQ_DEAD = 21, + CPUHP_BIO_DEAD = 22, + CPUHP_ACPI_CPUDRV_DEAD = 23, + CPUHP_S390_PFAULT_DEAD = 24, + CPUHP_BLK_MQ_DEAD = 25, + CPUHP_FS_BUFF_DEAD = 26, + CPUHP_PRINTK_DEAD = 27, + CPUHP_MM_MEMCQ_DEAD = 28, + CPUHP_PERCPU_CNT_DEAD = 29, + CPUHP_RADIX_DEAD = 30, + CPUHP_PAGE_ALLOC = 31, + CPUHP_NET_DEV_DEAD = 32, + CPUHP_PCI_XGENE_DEAD = 33, + CPUHP_IOMMU_IOVA_DEAD = 34, + CPUHP_AP_ARM_CACHE_B15_RAC_DEAD = 35, + CPUHP_PADATA_DEAD = 36, + CPUHP_AP_DTPM_CPU_DEAD = 37, + CPUHP_RANDOM_PREPARE = 38, + CPUHP_WORKQUEUE_PREP = 39, + CPUHP_POWER_NUMA_PREPARE = 40, + CPUHP_HRTIMERS_PREPARE = 41, + CPUHP_X2APIC_PREPARE = 42, + CPUHP_SMPCFD_PREPARE = 43, + CPUHP_RELAY_PREPARE = 44, + CPUHP_MD_RAID5_PREPARE = 45, + CPUHP_RCUTREE_PREP = 46, + CPUHP_CPUIDLE_COUPLED_PREPARE = 47, + CPUHP_POWERPC_PMAC_PREPARE = 48, + CPUHP_POWERPC_MMU_CTX_PREPARE = 49, + CPUHP_XEN_PREPARE = 50, + CPUHP_XEN_EVTCHN_PREPARE = 51, + CPUHP_ARM_SHMOBILE_SCU_PREPARE = 52, + CPUHP_SH_SH3X_PREPARE = 53, + CPUHP_TOPOLOGY_PREPARE = 54, + CPUHP_NET_IUCV_PREPARE = 55, + CPUHP_ARM_BL_PREPARE = 56, + CPUHP_TRACE_RB_PREPARE = 57, + CPUHP_MM_ZS_PREPARE = 58, + CPUHP_MM_ZSWP_POOL_PREPARE = 59, + CPUHP_KVM_PPC_BOOK3S_PREPARE = 60, + CPUHP_ZCOMP_PREPARE = 61, + CPUHP_TIMERS_PREPARE = 62, + CPUHP_TMIGR_PREPARE = 63, + CPUHP_MIPS_SOC_PREPARE = 64, + CPUHP_BP_PREPARE_DYN = 65, + CPUHP_BP_PREPARE_DYN_END = 85, + CPUHP_BP_KICK_AP = 86, + CPUHP_BRINGUP_CPU = 87, + CPUHP_AP_IDLE_DEAD = 88, + CPUHP_AP_OFFLINE = 89, + CPUHP_AP_CACHECTRL_STARTING = 90, + CPUHP_AP_SCHED_STARTING = 91, + CPUHP_AP_RCUTREE_DYING = 92, + CPUHP_AP_CPU_PM_STARTING = 93, + CPUHP_AP_IRQ_GIC_STARTING = 94, + CPUHP_AP_IRQ_HIP04_STARTING = 95, + CPUHP_AP_IRQ_APPLE_AIC_STARTING = 96, + CPUHP_AP_IRQ_ARMADA_XP_STARTING = 97, + CPUHP_AP_IRQ_BCM2836_STARTING = 98, + CPUHP_AP_IRQ_MIPS_GIC_STARTING = 99, + CPUHP_AP_IRQ_EIOINTC_STARTING = 100, + CPUHP_AP_IRQ_AVECINTC_STARTING = 101, + CPUHP_AP_IRQ_SIFIVE_PLIC_STARTING = 102, + CPUHP_AP_IRQ_THEAD_ACLINT_SSWI_STARTING = 103, + CPUHP_AP_IRQ_RISCV_IMSIC_STARTING = 104, + CPUHP_AP_IRQ_RISCV_SBI_IPI_STARTING = 105, + CPUHP_AP_ARM_MVEBU_COHERENCY = 106, + CPUHP_AP_PERF_X86_AMD_UNCORE_STARTING = 107, + CPUHP_AP_PERF_X86_STARTING = 108, + CPUHP_AP_PERF_X86_AMD_IBS_STARTING = 109, + CPUHP_AP_PERF_XTENSA_STARTING = 110, + CPUHP_AP_ARM_VFP_STARTING = 111, + CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING = 112, + CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING = 113, + CPUHP_AP_PERF_ARM_ACPI_STARTING = 114, + CPUHP_AP_PERF_ARM_STARTING = 115, + CPUHP_AP_PERF_RISCV_STARTING = 116, + CPUHP_AP_ARM_L2X0_STARTING = 117, + CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING = 118, + CPUHP_AP_ARM_ARCH_TIMER_STARTING = 119, + CPUHP_AP_ARM_ARCH_TIMER_EVTSTRM_STARTING = 120, + CPUHP_AP_ARM_GLOBAL_TIMER_STARTING = 121, + CPUHP_AP_JCORE_TIMER_STARTING = 122, + CPUHP_AP_ARM_TWD_STARTING = 123, + CPUHP_AP_QCOM_TIMER_STARTING = 124, + CPUHP_AP_TEGRA_TIMER_STARTING = 125, + CPUHP_AP_ARMADA_TIMER_STARTING = 126, + CPUHP_AP_MIPS_GIC_TIMER_STARTING = 127, + CPUHP_AP_ARC_TIMER_STARTING = 128, + CPUHP_AP_REALTEK_TIMER_STARTING = 129, + CPUHP_AP_RISCV_TIMER_STARTING = 130, + CPUHP_AP_CLINT_TIMER_STARTING = 131, + CPUHP_AP_CSKY_TIMER_STARTING = 132, + CPUHP_AP_TI_GP_TIMER_STARTING = 133, + CPUHP_AP_HYPERV_TIMER_STARTING = 134, + CPUHP_AP_DUMMY_TIMER_STARTING = 135, + CPUHP_AP_ARM_XEN_STARTING = 136, + CPUHP_AP_ARM_XEN_RUNSTATE_STARTING = 137, + CPUHP_AP_ARM_CORESIGHT_STARTING = 138, + CPUHP_AP_ARM_CORESIGHT_CTI_STARTING = 139, + CPUHP_AP_ARM64_ISNDEP_STARTING = 140, + CPUHP_AP_SMPCFD_DYING = 141, + CPUHP_AP_HRTIMERS_DYING = 142, + CPUHP_AP_TICK_DYING = 143, + CPUHP_AP_X86_TBOOT_DYING = 144, + CPUHP_AP_ARM_CACHE_B15_RAC_DYING = 145, + CPUHP_AP_ONLINE = 146, + CPUHP_TEARDOWN_CPU = 147, + CPUHP_AP_ONLINE_IDLE = 148, + CPUHP_AP_HYPERV_ONLINE = 149, + CPUHP_AP_KVM_ONLINE = 150, + CPUHP_AP_SCHED_WAIT_EMPTY = 151, + CPUHP_AP_SMPBOOT_THREADS = 152, + CPUHP_AP_IRQ_AFFINITY_ONLINE = 153, + CPUHP_AP_BLK_MQ_ONLINE = 154, + CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS = 155, + CPUHP_AP_X86_INTEL_EPB_ONLINE = 156, + CPUHP_AP_PERF_ONLINE = 157, + CPUHP_AP_PERF_X86_ONLINE = 158, + CPUHP_AP_PERF_X86_UNCORE_ONLINE = 159, + CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE = 160, + CPUHP_AP_PERF_X86_AMD_POWER_ONLINE = 161, + CPUHP_AP_PERF_S390_CF_ONLINE = 162, + CPUHP_AP_PERF_S390_SF_ONLINE = 163, + CPUHP_AP_PERF_ARM_CCI_ONLINE = 164, + CPUHP_AP_PERF_ARM_CCN_ONLINE = 165, + CPUHP_AP_PERF_ARM_HISI_CPA_ONLINE = 166, + CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE = 167, + CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE = 168, + CPUHP_AP_PERF_ARM_HISI_L3_ONLINE = 169, + CPUHP_AP_PERF_ARM_HISI_PA_ONLINE = 170, + CPUHP_AP_PERF_ARM_HISI_SLLC_ONLINE = 171, + CPUHP_AP_PERF_ARM_HISI_PCIE_PMU_ONLINE = 172, + CPUHP_AP_PERF_ARM_HNS3_PMU_ONLINE = 173, + CPUHP_AP_PERF_ARM_L2X0_ONLINE = 174, + CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE = 175, + CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE = 176, + CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE = 177, + CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE = 178, + CPUHP_AP_PERF_ARM_MARVELL_CN10K_DDR_ONLINE = 179, + CPUHP_AP_PERF_ARM_MRVL_PEM_ONLINE = 180, + CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE = 181, + CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE = 182, + CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE = 183, + CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE = 184, + CPUHP_AP_PERF_POWERPC_HV_24x7_ONLINE = 185, + CPUHP_AP_PERF_POWERPC_HV_GPCI_ONLINE = 186, + CPUHP_AP_PERF_CSKY_ONLINE = 187, + CPUHP_AP_TMIGR_ONLINE = 188, + CPUHP_AP_WATCHDOG_ONLINE = 189, + CPUHP_AP_WORKQUEUE_ONLINE = 190, + CPUHP_AP_RANDOM_ONLINE = 191, + CPUHP_AP_RCUTREE_ONLINE = 192, + CPUHP_AP_KTHREADS_ONLINE = 193, + CPUHP_AP_BASE_CACHEINFO_ONLINE = 194, + CPUHP_AP_ONLINE_DYN = 195, + CPUHP_AP_ONLINE_DYN_END = 235, + CPUHP_AP_X86_HPET_ONLINE = 236, + CPUHP_AP_X86_KVM_CLK_ONLINE = 237, + CPUHP_AP_ACTIVE = 238, + CPUHP_ONLINE = 239, }; enum cpuid_leafs { @@ -5993,6 +6521,8 @@ enum cpuid_leafs { CPUID_7_EDX = 18, CPUID_8000_001F_EAX = 19, CPUID_8000_0021_EAX = 20, + CPUID_LNX_5 = 21, + NR_CPUID_WORDS = 22, }; enum cpuid_regs_idx { @@ -6003,12 +6533,17 @@ enum cpuid_regs_idx { }; enum ctx_state { - CONTEXT_DISABLED = -1, - CONTEXT_KERNEL = 0, - CONTEXT_IDLE = 1, - CONTEXT_USER = 2, - CONTEXT_GUEST = 3, - CONTEXT_MAX = 4, + CT_STATE_DISABLED = -1, + CT_STATE_KERNEL = 0, + CT_STATE_IDLE = 1, + CT_STATE_USER = 2, + CT_STATE_GUEST = 3, + CT_STATE_MAX = 4, +}; + +enum d_real_type { + D_REAL_DATA = 0, + D_REAL_METADATA = 1, }; enum d_walk_ret { @@ -6029,9 +6564,9 @@ enum dccp_state { DCCP_TIME_WAIT = 6, DCCP_CLOSED = 7, DCCP_NEW_SYN_RECV = 12, - DCCP_PARTOPEN = 13, - DCCP_PASSIVE_CLOSEREQ = 14, - DCCP_MAX_STATES = 15, + DCCP_PARTOPEN = 14, + DCCP_PASSIVE_CLOSEREQ = 15, + DCCP_MAX_STATES = 16, }; enum dentry_d_lock_class { @@ -6167,6 +6702,37 @@ enum die_val { DIE_NMIUNKNOWN = 12, }; +enum dim_cq_period_mode { + DIM_CQ_PERIOD_MODE_START_FROM_EQE = 0, + DIM_CQ_PERIOD_MODE_START_FROM_CQE = 1, + DIM_CQ_PERIOD_NUM_MODES = 2, +}; + +enum dim_state { + DIM_START_MEASURE = 0, + DIM_MEASURE_IN_PROGRESS = 1, + DIM_APPLY_NEW_PROFILE = 2, +}; + +enum dim_stats_state { + DIM_STATS_WORSE = 0, + DIM_STATS_SAME = 1, + DIM_STATS_BETTER = 2, +}; + +enum dim_step_result { + DIM_STEPPED = 0, + DIM_TOO_TIRED = 1, + DIM_ON_EDGE = 2, +}; + +enum dim_tune_state { + DIM_PARKING_ON_TOP = 0, + DIM_PARKING_TIRED = 1, + DIM_GOING_RIGHT = 2, + DIM_GOING_LEFT = 3, +}; + enum dl_dev_state { DL_DEV_NO_DRIVER = 0, DL_DEV_PROBING = 1, @@ -6267,6 +6833,92 @@ enum error_detector { ERROR_DETECTOR_WARN = 2, }; +enum ethnl_sock_type { + ETHTOOL_SOCK_TYPE_MODULE_FW_FLASH = 0, +}; + +enum ethtool_c33_pse_admin_state { + ETHTOOL_C33_PSE_ADMIN_STATE_UNKNOWN = 1, + ETHTOOL_C33_PSE_ADMIN_STATE_DISABLED = 2, + ETHTOOL_C33_PSE_ADMIN_STATE_ENABLED = 3, +}; + +enum ethtool_c33_pse_ext_state { + ETHTOOL_C33_PSE_EXT_STATE_ERROR_CONDITION = 1, + ETHTOOL_C33_PSE_EXT_STATE_MR_MPS_VALID = 2, + ETHTOOL_C33_PSE_EXT_STATE_MR_PSE_ENABLE = 3, + ETHTOOL_C33_PSE_EXT_STATE_OPTION_DETECT_TED = 4, + ETHTOOL_C33_PSE_EXT_STATE_OPTION_VPORT_LIM = 5, + ETHTOOL_C33_PSE_EXT_STATE_OVLD_DETECTED = 6, + ETHTOOL_C33_PSE_EXT_STATE_PD_DLL_POWER_TYPE = 7, + ETHTOOL_C33_PSE_EXT_STATE_POWER_NOT_AVAILABLE = 8, + ETHTOOL_C33_PSE_EXT_STATE_SHORT_DETECTED = 9, +}; + +enum ethtool_c33_pse_ext_substate_error_condition { + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_NON_EXISTING_PORT = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_UNDEFINED_PORT = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_INTERNAL_HW_FAULT = 3, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_COMM_ERROR_AFTER_FORCE_ON = 4, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_UNKNOWN_PORT_STATUS = 5, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_HOST_CRASH_TURN_OFF = 6, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_HOST_CRASH_FORCE_SHUTDOWN = 7, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_CONFIG_CHANGE = 8, + ETHTOOL_C33_PSE_EXT_SUBSTATE_ERROR_CONDITION_DETECTED_OVER_TEMP = 9, +}; + +enum ethtool_c33_pse_ext_substate_mr_pse_enable { + ETHTOOL_C33_PSE_EXT_SUBSTATE_MR_PSE_ENABLE_DISABLE_PIN_ACTIVE = 1, +}; + +enum ethtool_c33_pse_ext_substate_option_detect_ted { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_DETECT_TED_DET_IN_PROCESS = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_DETECT_TED_CONNECTION_CHECK_ERROR = 2, +}; + +enum ethtool_c33_pse_ext_substate_option_vport_lim { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_HIGH_VOLTAGE = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_LOW_VOLTAGE = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_OPTION_VPORT_LIM_VOLTAGE_INJECTION = 3, +}; + +enum ethtool_c33_pse_ext_substate_ovld_detected { + ETHTOOL_C33_PSE_EXT_SUBSTATE_OVLD_DETECTED_OVERLOAD = 1, +}; + +enum ethtool_c33_pse_ext_substate_power_not_available { + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_BUDGET_EXCEEDED = 1, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_PORT_PW_LIMIT_EXCEEDS_CONTROLLER_BUDGET = 2, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_PD_REQUEST_EXCEEDS_PORT_LIMIT = 3, + ETHTOOL_C33_PSE_EXT_SUBSTATE_POWER_NOT_AVAILABLE_HW_PW_LIMIT = 4, +}; + +enum ethtool_c33_pse_ext_substate_short_detected { + ETHTOOL_C33_PSE_EXT_SUBSTATE_SHORT_DETECTED_SHORT_CONDITION = 1, +}; + +enum ethtool_c33_pse_pw_d_status { + ETHTOOL_C33_PSE_PW_D_STATUS_UNKNOWN = 1, + ETHTOOL_C33_PSE_PW_D_STATUS_DISABLED = 2, + ETHTOOL_C33_PSE_PW_D_STATUS_SEARCHING = 3, + ETHTOOL_C33_PSE_PW_D_STATUS_DELIVERING = 4, + ETHTOOL_C33_PSE_PW_D_STATUS_TEST = 5, + ETHTOOL_C33_PSE_PW_D_STATUS_FAULT = 6, + ETHTOOL_C33_PSE_PW_D_STATUS_OTHERFAULT = 7, +}; + +enum ethtool_cmis_cdb_cmd_id { + ETHTOOL_CMIS_CDB_CMD_QUERY_STATUS = 0, + ETHTOOL_CMIS_CDB_CMD_MODULE_FEATURES = 64, + ETHTOOL_CMIS_CDB_CMD_FW_MANAGMENT_FEATURES = 65, + ETHTOOL_CMIS_CDB_CMD_START_FW_DOWNLOAD = 257, + ETHTOOL_CMIS_CDB_CMD_WRITE_FW_BLOCK_LPL = 259, + ETHTOOL_CMIS_CDB_CMD_WRITE_FW_BLOCK_EPL = 260, + ETHTOOL_CMIS_CDB_CMD_COMPLETE_FW_DOWNLOAD = 263, + ETHTOOL_CMIS_CDB_CMD_RUN_FW_IMAGE = 265, + ETHTOOL_CMIS_CDB_CMD_COMMIT_FW_IMAGE = 266, +}; + enum ethtool_fec_config_bits { ETHTOOL_FEC_NONE_BIT = 0, ETHTOOL_FEC_AUTO_BIT = 1, @@ -6284,6 +6936,12 @@ enum ethtool_flags { ETH_FLAG_RXHASH = 268435456, }; +enum ethtool_header_flags { + ETHTOOL_FLAG_COMPACT_BITSETS = 1, + ETHTOOL_FLAG_OMIT_REPLY = 2, + ETHTOOL_FLAG_STATS = 4, +}; + enum ethtool_link_ext_state { ETHTOOL_LINK_EXT_STATE_AUTONEG = 0, ETHTOOL_LINK_EXT_STATE_LINK_TRAINING_FAILURE = 1, @@ -6441,7 +7099,8 @@ enum ethtool_link_mode_bit_indices { ETHTOOL_LINK_MODE_10baseT1S_Full_BIT = 99, ETHTOOL_LINK_MODE_10baseT1S_Half_BIT = 100, ETHTOOL_LINK_MODE_10baseT1S_P2MP_Half_BIT = 101, - __ETHTOOL_LINK_MODE_MASK_NBITS = 102, + ETHTOOL_LINK_MODE_10baseT1BRR_Full_BIT = 102, + __ETHTOOL_LINK_MODE_MASK_NBITS = 103, }; enum ethtool_mac_stats_src { @@ -6459,6 +7118,13 @@ enum ethtool_mm_verify_status { ETHTOOL_MM_VERIFY_STATUS_DISABLED = 5, }; +enum ethtool_module_fw_flash_status { + ETHTOOL_MODULE_FW_FLASH_STATUS_STARTED = 1, + ETHTOOL_MODULE_FW_FLASH_STATUS_IN_PROGRESS = 2, + ETHTOOL_MODULE_FW_FLASH_STATUS_COMPLETED = 3, + ETHTOOL_MODULE_FW_FLASH_STATUS_ERROR = 4, +}; + enum ethtool_module_power_mode { ETHTOOL_MODULE_POWER_MODE_LOW = 1, ETHTOOL_MODULE_POWER_MODE_HIGH = 2, @@ -6496,6 +7162,20 @@ enum ethtool_podl_pse_pw_d_status { ETHTOOL_PODL_PSE_PW_D_STATUS_ERROR = 7, }; +enum ethtool_reset_flags { + ETH_RESET_MGMT = 1, + ETH_RESET_IRQ = 2, + ETH_RESET_DMA = 4, + ETH_RESET_FILTER = 8, + ETH_RESET_OFFLOAD = 16, + ETH_RESET_MAC = 32, + ETH_RESET_PHY = 64, + ETH_RESET_RAM = 128, + ETH_RESET_AP = 256, + ETH_RESET_DEDICATED = 65535, + ETH_RESET_ALL = 4294967295, +}; + enum ethtool_sfeatures_retval_bits { ETHTOOL_F_UNSUPPORTED__BIT = 0, ETHTOOL_F_WISH__BIT = 1, @@ -6524,7 +7204,9 @@ enum ethtool_stringset { ETH_SS_STATS_ETH_MAC = 18, ETH_SS_STATS_ETH_CTRL = 19, ETH_SS_STATS_RMON = 20, - ETH_SS_COUNT = 21, + ETH_SS_STATS_PHY = 21, + ETH_SS_TS_FLAGS = 22, + ETH_SS_COUNT = 23, }; enum ethtool_supported_ring_param { @@ -6533,6 +7215,14 @@ enum ethtool_supported_ring_param { ETHTOOL_RING_USE_TX_PUSH = 4, ETHTOOL_RING_USE_RX_PUSH = 8, ETHTOOL_RING_USE_TX_PUSH_BUF_LEN = 16, + ETHTOOL_RING_USE_TCP_DATA_SPLIT = 32, + ETHTOOL_RING_USE_HDS_THRS = 64, +}; + +enum ethtool_tcp_data_split { + ETHTOOL_TCP_DATA_SPLIT_UNKNOWN = 0, + ETHTOOL_TCP_DATA_SPLIT_DISABLED = 1, + ETHTOOL_TCP_DATA_SPLIT_ENABLED = 2, }; enum event_command_flags { @@ -6555,8 +7245,17 @@ enum event_type_t { EVENT_FLEXIBLE = 1, EVENT_PINNED = 2, EVENT_TIME = 4, - EVENT_CPU = 8, + EVENT_FROZEN = 8, + EVENT_CPU = 16, + EVENT_CGROUP = 32, EVENT_ALL = 3, + EVENT_TIME_FROZEN = 12, +}; + +enum exact_level { + NOT_EXACT = 0, + EXACT = 1, + RANGE_WITHIN = 2, }; enum exception_stack_ordering { @@ -6569,10 +7268,26 @@ enum exception_stack_ordering { N_EXCEPTION_STACKS = 6, }; +enum execmem_range_flags { + EXECMEM_KASAN_SHADOW = 1, + EXECMEM_ROX_CACHE = 2, +}; + +enum execmem_type { + EXECMEM_DEFAULT = 0, + EXECMEM_MODULE_TEXT = 0, + EXECMEM_KPROBES = 1, + EXECMEM_FTRACE = 2, + EXECMEM_BPF = 3, + EXECMEM_MODULE_DATA = 4, + EXECMEM_TYPE_MAX = 5, +}; + enum exit_fastpath_completion { EXIT_FASTPATH_NONE = 0, EXIT_FASTPATH_REENTER_GUEST = 1, EXIT_FASTPATH_EXIT_HANDLED = 2, + EXIT_FASTPATH_EXIT_USERSPACE = 3, }; enum extra_reg_type { @@ -6619,19 +7334,21 @@ enum fetch_op { FETCH_OP_ARG = 7, FETCH_OP_FOFFS = 8, FETCH_OP_DATA = 9, - FETCH_OP_DEREF = 10, - FETCH_OP_UDEREF = 11, - FETCH_OP_ST_RAW = 12, - FETCH_OP_ST_MEM = 13, - FETCH_OP_ST_UMEM = 14, - FETCH_OP_ST_STRING = 15, - FETCH_OP_ST_USTRING = 16, - FETCH_OP_ST_SYMSTR = 17, - FETCH_OP_MOD_BF = 18, - FETCH_OP_LP_ARRAY = 19, - FETCH_OP_TP_ARG = 20, - FETCH_OP_END = 21, - FETCH_NOP_SYMBOL = 22, + FETCH_OP_EDATA = 10, + FETCH_OP_DEREF = 11, + FETCH_OP_UDEREF = 12, + FETCH_OP_ST_RAW = 13, + FETCH_OP_ST_MEM = 14, + FETCH_OP_ST_UMEM = 15, + FETCH_OP_ST_STRING = 16, + FETCH_OP_ST_USTRING = 17, + FETCH_OP_ST_SYMSTR = 18, + FETCH_OP_ST_EDATA = 19, + FETCH_OP_MOD_BF = 20, + FETCH_OP_LP_ARRAY = 21, + FETCH_OP_TP_ARG = 22, + FETCH_OP_END = 23, + FETCH_NOP_SYMBOL = 24, }; enum fib6_walk_state { @@ -6667,7 +7384,11 @@ enum fid_type { FILEID_NILFS_WITH_PARENT = 98, FILEID_FAT_WITHOUT_PARENT = 113, FILEID_FAT_WITH_PARENT = 114, + FILEID_INO64_GEN = 129, + FILEID_INO64_GEN_PARENT = 130, FILEID_LUSTRE = 151, + FILEID_BCACHEFS_WITHOUT_PARENT = 177, + FILEID_BCACHEFS_WITH_PARENT = 178, FILEID_KERNFS = 254, FILEID_INVALID = 255, }; @@ -6830,6 +7551,16 @@ enum flow_dissect_ret { FLOW_DISSECT_RET_CONTINUE = 4, }; +enum flow_dissector_ctrl_flags { + FLOW_DIS_IS_FRAGMENT = 1, + FLOW_DIS_FIRST_FRAG = 2, + FLOW_DIS_F_TUNNEL_CSUM = 4, + FLOW_DIS_F_TUNNEL_DONT_FRAGMENT = 8, + FLOW_DIS_F_TUNNEL_OAM = 16, + FLOW_DIS_F_TUNNEL_CRIT_OPT = 32, + FLOW_DIS_ENCAPSULATION = 64, +}; + enum flow_dissector_key_id { FLOW_DISSECTOR_KEY_CONTROL = 0, FLOW_DISSECTOR_KEY_BASIC = 1, @@ -6880,31 +7611,28 @@ enum folio_references { FOLIOREF_ACTIVATE = 3, }; -enum format_type { - FORMAT_TYPE_NONE = 0, - FORMAT_TYPE_WIDTH = 1, - FORMAT_TYPE_PRECISION = 2, - FORMAT_TYPE_CHAR = 3, - FORMAT_TYPE_STR = 4, - FORMAT_TYPE_PTR = 5, - FORMAT_TYPE_PERCENT_CHAR = 6, - FORMAT_TYPE_INVALID = 7, - FORMAT_TYPE_LONG_LONG = 8, - FORMAT_TYPE_ULONG = 9, - FORMAT_TYPE_LONG = 10, - FORMAT_TYPE_UBYTE = 11, - FORMAT_TYPE_BYTE = 12, - FORMAT_TYPE_USHORT = 13, - FORMAT_TYPE_SHORT = 14, - FORMAT_TYPE_UINT = 15, - FORMAT_TYPE_INT = 16, - FORMAT_TYPE_SIZE_T = 17, - FORMAT_TYPE_PTRDIFF = 18, +enum folio_walk_level { + FW_LEVEL_PTE = 0, + FW_LEVEL_PMD = 1, + FW_LEVEL_PUD = 2, +}; + +enum format_state { + FORMAT_STATE_NONE = 0, + FORMAT_STATE_NUM = 1, + FORMAT_STATE_WIDTH = 2, + FORMAT_STATE_PRECISION = 3, + FORMAT_STATE_CHAR = 4, + FORMAT_STATE_STR = 5, + FORMAT_STATE_PTR = 6, + FORMAT_STATE_PERCENT_CHAR = 7, + FORMAT_STATE_INVALID = 8, }; enum freeze_holder { FREEZE_HOLDER_KERNEL = 1, FREEZE_HOLDER_USERSPACE = 2, + FREEZE_MAY_NEST = 4, }; enum freq_qos_req_type { @@ -6951,10 +7679,18 @@ enum fsconfig_command { enum fsnotify_data_type { FSNOTIFY_EVENT_NONE = 0, - FSNOTIFY_EVENT_PATH = 1, - FSNOTIFY_EVENT_INODE = 2, - FSNOTIFY_EVENT_DENTRY = 3, - FSNOTIFY_EVENT_ERROR = 4, + FSNOTIFY_EVENT_FILE_RANGE = 1, + FSNOTIFY_EVENT_PATH = 2, + FSNOTIFY_EVENT_INODE = 3, + FSNOTIFY_EVENT_DENTRY = 4, + FSNOTIFY_EVENT_ERROR = 5, +}; + +enum fsnotify_group_prio { + FSNOTIFY_PRIO_NORMAL = 0, + FSNOTIFY_PRIO_CONTENT = 1, + FSNOTIFY_PRIO_PRE_CONTENT = 2, + __FSNOTIFY_PRIO_NUM = 3, }; enum fsnotify_iter_type { @@ -6978,6 +7714,7 @@ enum ftrace_dump_mode { DUMP_NONE = 0, DUMP_ALL = 1, DUMP_ORIG = 2, + DUMP_PARAM = 3, }; enum ftrace_ops_cmd { @@ -7016,6 +7753,11 @@ enum gro_result { typedef enum gro_result gro_result_t; +enum handle_to_path_flags { + HANDLE_CHECK_PERMS = 1, + HANDLE_CHECK_SUBTREE = 2, +}; + enum hash_algo { HASH_ALGO_MD4 = 0, HASH_ALGO_MD5 = 1, @@ -7037,20 +7779,23 @@ enum hash_algo { HASH_ALGO_SM3_256 = 17, HASH_ALGO_STREEBOG_256 = 18, HASH_ALGO_STREEBOG_512 = 19, - HASH_ALGO__LAST = 20, + HASH_ALGO_SHA3_256 = 20, + HASH_ALGO_SHA3_384 = 21, + HASH_ALGO_SHA3_512 = 22, + HASH_ALGO__LAST = 23, }; enum hk_type { - HK_TYPE_TIMER = 0, - HK_TYPE_RCU = 1, + HK_TYPE_DOMAIN = 0, + HK_TYPE_MANAGED_IRQ = 1, + HK_TYPE_KERNEL_NOISE = 2, + HK_TYPE_MAX = 3, + HK_TYPE_TICK = 2, + HK_TYPE_TIMER = 2, + HK_TYPE_RCU = 2, HK_TYPE_MISC = 2, - HK_TYPE_SCHED = 3, - HK_TYPE_TICK = 4, - HK_TYPE_DOMAIN = 5, - HK_TYPE_WQ = 6, - HK_TYPE_MANAGED_IRQ = 7, - HK_TYPE_KTHREAD = 8, - HK_TYPE_MAX = 9, + HK_TYPE_WQ = 2, + HK_TYPE_KTHREAD = 2, }; enum hpet_mode { @@ -7060,6 +7805,13 @@ enum hpet_mode { HPET_MODE_DEVICE = 3, }; +enum hprobe_state { + HPROBE_LEASED = 0, + HPROBE_STABLE = 1, + HPROBE_GONE = 2, + HPROBE_CONSUMED = 3, +}; + enum hrtimer_base_type { HRTIMER_BASE_MONOTONIC = 0, HRTIMER_BASE_REALTIME = 1, @@ -7101,20 +7853,18 @@ enum hv_tlb_flush_fifos { HV_NR_TLB_FLUSH_FIFOS = 2, }; -enum hv_tsc_page_status { - HV_TSC_PAGE_UNSET = 0, - HV_TSC_PAGE_GUEST_CHANGED = 1, - HV_TSC_PAGE_HOST_CHANGED = 2, - HV_TSC_PAGE_SET = 3, - HV_TSC_PAGE_BROKEN = 4, -}; - enum hwtstamp_flags { HWTSTAMP_FLAG_BONDED_PHC_INDEX = 1, HWTSTAMP_FLAG_LAST = 1, HWTSTAMP_FLAG_MASK = 1, }; +enum hwtstamp_provider_qualifier { + HWTSTAMP_PROVIDER_QUALIFIER_PRECISE = 0, + HWTSTAMP_PROVIDER_QUALIFIER_APPROX = 1, + HWTSTAMP_PROVIDER_QUALIFIER_CNT = 2, +}; + enum hwtstamp_rx_filters { HWTSTAMP_FILTER_NONE = 0, HWTSTAMP_FILTER_ALL = 1, @@ -7136,8 +7886,9 @@ enum hwtstamp_rx_filters { }; enum hwtstamp_source { - HWTSTAMP_SOURCE_NETDEV = 0, - HWTSTAMP_SOURCE_PHYLIB = 1, + HWTSTAMP_SOURCE_UNSPEC = 0, + HWTSTAMP_SOURCE_NETDEV = 1, + HWTSTAMP_SOURCE_PHYLIB = 2, }; enum hwtstamp_tx_types { @@ -7148,10 +7899,20 @@ enum hwtstamp_tx_types { __HWTSTAMP_TX_CNT = 4, }; +enum hybrid_cpu_type { + HYBRID_INTEL_NONE = 0, + HYBRID_INTEL_ATOM = 32, + HYBRID_INTEL_CORE = 64, +}; + enum hybrid_pmu_type { - hybrid_big = 64, - hybrid_small = 32, - hybrid_big_small = 96, + not_hybrid = 0, + hybrid_small = 1, + hybrid_big = 2, + hybrid_tiny = 4, + hybrid_big_small = 3, + hybrid_small_tiny = 5, + hybrid_big_small_tiny = 7, }; enum ibs_states { @@ -7219,6 +7980,11 @@ enum insn_type { JCC = 4, }; +enum intel_cpu_type { + INTEL_CPU_TYPE_ATOM = 32, + INTEL_CPU_TYPE_CORE = 64, +}; + enum intel_excl_state_type { INTEL_EXCL_UNUSED = 0, INTEL_EXCL_SHARED = 1, @@ -7275,7 +8041,79 @@ enum io_uring_op { IORING_OP_URING_CMD = 46, IORING_OP_SEND_ZC = 47, IORING_OP_SENDMSG_ZC = 48, - IORING_OP_LAST = 49, + IORING_OP_READ_MULTISHOT = 49, + IORING_OP_WAITID = 50, + IORING_OP_FUTEX_WAIT = 51, + IORING_OP_FUTEX_WAKE = 52, + IORING_OP_FUTEX_WAITV = 53, + IORING_OP_FIXED_FD_INSTALL = 54, + IORING_OP_FTRUNCATE = 55, + IORING_OP_BIND = 56, + IORING_OP_LISTEN = 57, + IORING_OP_LAST = 58, +}; + +enum io_uring_register_op { + IORING_REGISTER_BUFFERS = 0, + IORING_UNREGISTER_BUFFERS = 1, + IORING_REGISTER_FILES = 2, + IORING_UNREGISTER_FILES = 3, + IORING_REGISTER_EVENTFD = 4, + IORING_UNREGISTER_EVENTFD = 5, + IORING_REGISTER_FILES_UPDATE = 6, + IORING_REGISTER_EVENTFD_ASYNC = 7, + IORING_REGISTER_PROBE = 8, + IORING_REGISTER_PERSONALITY = 9, + IORING_UNREGISTER_PERSONALITY = 10, + IORING_REGISTER_RESTRICTIONS = 11, + IORING_REGISTER_ENABLE_RINGS = 12, + IORING_REGISTER_FILES2 = 13, + IORING_REGISTER_FILES_UPDATE2 = 14, + IORING_REGISTER_BUFFERS2 = 15, + IORING_REGISTER_BUFFERS_UPDATE = 16, + IORING_REGISTER_IOWQ_AFF = 17, + IORING_UNREGISTER_IOWQ_AFF = 18, + IORING_REGISTER_IOWQ_MAX_WORKERS = 19, + IORING_REGISTER_RING_FDS = 20, + IORING_UNREGISTER_RING_FDS = 21, + IORING_REGISTER_PBUF_RING = 22, + IORING_UNREGISTER_PBUF_RING = 23, + IORING_REGISTER_SYNC_CANCEL = 24, + IORING_REGISTER_FILE_ALLOC_RANGE = 25, + IORING_REGISTER_PBUF_STATUS = 26, + IORING_REGISTER_NAPI = 27, + IORING_UNREGISTER_NAPI = 28, + IORING_REGISTER_CLOCK = 29, + IORING_REGISTER_CLONE_BUFFERS = 30, + IORING_REGISTER_SEND_MSG_RING = 31, + IORING_REGISTER_RESIZE_RINGS = 33, + IORING_REGISTER_MEM_REGION = 34, + IORING_REGISTER_LAST = 35, + IORING_REGISTER_USE_REGISTERED_RING = 2147483648, +}; + +enum io_uring_sqe_flags_bit { + IOSQE_FIXED_FILE_BIT = 0, + IOSQE_IO_DRAIN_BIT = 1, + IOSQE_IO_LINK_BIT = 2, + IOSQE_IO_HARDLINK_BIT = 3, + IOSQE_ASYNC_BIT = 4, + IOSQE_BUFFER_SELECT_BIT = 5, + IOSQE_CQE_SKIP_SUCCESS_BIT = 6, +}; + +enum ioam6_event_attr { + IOAM6_EVENT_ATTR_UNSPEC = 0, + IOAM6_EVENT_ATTR_TRACE_NAMESPACE = 1, + IOAM6_EVENT_ATTR_TRACE_NODELEN = 2, + IOAM6_EVENT_ATTR_TRACE_TYPE = 3, + IOAM6_EVENT_ATTR_TRACE_DATA = 4, + __IOAM6_EVENT_ATTR_MAX = 5, +}; + +enum ioam6_event_type { + IOAM6_EVENT_UNSPEC = 0, + IOAM6_EVENT_TRACE = 1, }; enum ioapic_domain_type { @@ -7301,8 +8139,6 @@ enum ip_conntrack_dir { IP_CT_DIR_MAX = 2, }; -enum ip_conntrack_info; - enum ip_defrag_users { IP_DEFRAG_LOCAL_DELIVER = 0, IP_DEFRAG_CALL_RA_CHAIN = 1, @@ -7345,7 +8181,8 @@ enum irq_domain_bus_token { DOMAIN_BUS_PCI_DEVICE_MSIX = 12, DOMAIN_BUS_DMAR = 13, DOMAIN_BUS_AMDVI = 14, - DOMAIN_BUS_PCI_DEVICE_IMS = 15, + DOMAIN_BUS_DEVICE_MSI = 15, + DOMAIN_BUS_WIRED_TO_MSI = 16, }; enum irq_gc_flags { @@ -7372,12 +8209,13 @@ enum irqreturn { typedef enum irqreturn irqreturn_t; enum iter_type { - ITER_IOVEC = 0, - ITER_KVEC = 1, + ITER_UBUF = 0, + ITER_IOVEC = 1, ITER_BVEC = 2, - ITER_XARRAY = 3, - ITER_DISCARD = 4, - ITER_UBUF = 5, + ITER_KVEC = 3, + ITER_FOLIOQ = 4, + ITER_XARRAY = 5, + ITER_DISCARD = 6, }; enum kcore_type { @@ -7416,16 +8254,6 @@ enum kernel_read_file_id { READING_MAX_ID = 7, }; -enum key_being_used_for { - VERIFYING_MODULE_SIGNATURE = 0, - VERIFYING_FIRMWARE_SIGNATURE = 1, - VERIFYING_KEXEC_PE_SIGNATURE = 2, - VERIFYING_KEY_SIGNATURE = 3, - VERIFYING_KEY_SELF_SIGNATURE = 4, - VERIFYING_UNSPECIFIED_SIGNATURE = 5, - NR__KEY_BEING_USED_FOR = 6, -}; - enum kfunc_ptr_arg_type { KF_ARG_PTR_TO_CTX = 0, KF_ARG_PTR_TO_ALLOC_BTF_ID = 1, @@ -7440,6 +8268,11 @@ enum kfunc_ptr_arg_type { KF_ARG_PTR_TO_CALLBACK = 10, KF_ARG_PTR_TO_RB_ROOT = 11, KF_ARG_PTR_TO_RB_NODE = 12, + KF_ARG_PTR_TO_NULL = 13, + KF_ARG_PTR_TO_CONST_STR = 14, + KF_ARG_PTR_TO_MAP = 15, + KF_ARG_PTR_TO_WORKQUEUE = 16, + KF_ARG_PTR_TO_IRQ_FLAG = 17, }; enum kmalloc_cache_type { @@ -7492,27 +8325,13 @@ enum kvm_apic_logical_mode { KVM_APIC_MODE_MAP_DISABLED = 4, }; -enum kvm_apicv_inhibit { - APICV_INHIBIT_REASON_DISABLE = 0, - APICV_INHIBIT_REASON_HYPERV = 1, - APICV_INHIBIT_REASON_ABSENT = 2, - APICV_INHIBIT_REASON_BLOCKIRQ = 3, - APICV_INHIBIT_REASON_PHYSICAL_ID_ALIASED = 4, - APICV_INHIBIT_REASON_APIC_ID_MODIFIED = 5, - APICV_INHIBIT_REASON_APIC_BASE_MODIFIED = 6, - APICV_INHIBIT_REASON_NESTED = 7, - APICV_INHIBIT_REASON_IRQWIN = 8, - APICV_INHIBIT_REASON_PIT_REINJ = 9, - APICV_INHIBIT_REASON_SEV = 10, - APICV_INHIBIT_REASON_LOGICAL_ID_ALIASED = 11, -}; - enum kvm_bus { KVM_MMIO_BUS = 0, KVM_PIO_BUS = 1, KVM_VIRTIO_CCW_NOTIFY_BUS = 2, KVM_FAST_MMIO_BUS = 3, - KVM_NR_BUSES = 4, + KVM_IOCSR_BUS = 4, + KVM_NR_BUSES = 5, }; enum kvm_irqchip_mode { @@ -7521,6 +8340,17 @@ enum kvm_irqchip_mode { KVM_IRQCHIP_SPLIT = 2, }; +enum kvm_only_cpuid_leafs { + CPUID_12_EAX = 22, + CPUID_7_1_EDX = 23, + CPUID_8000_0007_EDX = 24, + CPUID_8000_0022_EAX = 25, + CPUID_7_2_EDX = 26, + CPUID_24_0_EBX = 27, + NR_KVM_CPU_CAPS = 28, + NKVMCAPINTS = 6, +}; + enum kvm_reg { VCPU_REGS_RAX = 0, VCPU_REGS_RCX = 1, @@ -7642,6 +8472,7 @@ enum lru_status { LRU_ROTATE = 2, LRU_SKIP = 3, LRU_RETRY = 4, + LRU_STOP = 5, }; enum lruvec_flags { @@ -7694,6 +8525,17 @@ enum lwtunnel_ip_t { __LWTUNNEL_IP_MAX = 9, }; +enum maple_status { + ma_active = 0, + ma_start = 1, + ma_root = 2, + ma_none = 3, + ma_pause = 4, + ma_overflow = 5, + ma_underflow = 6, + ma_error = 7, +}; + enum maple_type { maple_dense = 0, maple_leaf_64 = 1, @@ -7708,8 +8550,12 @@ enum mapping_flags { AS_UNEVICTABLE = 3, AS_EXITING = 4, AS_NO_WRITEBACK_TAGS = 5, - AS_LARGE_FOLIO_SUPPORT = 6, - AS_RELEASE_ALWAYS = 7, + AS_RELEASE_ALWAYS = 6, + AS_STABLE_WRITES = 7, + AS_INACCESSIBLE = 8, + AS_FOLIO_ORDER_BITS = 5, + AS_FOLIO_ORDER_MIN = 16, + AS_FOLIO_ORDER_MAX = 21, }; enum mds_mitigations { @@ -7724,6 +8570,7 @@ enum memblock_flags { MEMBLOCK_MIRROR = 2, MEMBLOCK_NOMAP = 4, MEMBLOCK_DRIVER_MANAGED = 8, + MEMBLOCK_RSRV_NOINIT = 16, }; enum memcg_memory_event { @@ -7740,14 +8587,14 @@ enum memcg_memory_event { }; enum memcg_stat_item { - MEMCG_SWAP = 40, - MEMCG_SOCK = 41, - MEMCG_PERCPU_B = 42, - MEMCG_VMALLOC = 43, - MEMCG_KMEM = 44, - MEMCG_ZSWAP_B = 45, - MEMCG_ZSWAPPED = 46, - MEMCG_NR_STAT = 47, + MEMCG_SWAP = 43, + MEMCG_SOCK = 44, + MEMCG_PERCPU_B = 45, + MEMCG_VMALLOC = 46, + MEMCG_KMEM = 47, + MEMCG_ZSWAP_B = 48, + MEMCG_ZSWAPPED = 49, + MEMCG_NR_STAT = 50, }; enum meminit_context { @@ -7774,7 +8621,6 @@ enum migrate_mode { MIGRATE_ASYNC = 0, MIGRATE_SYNC_LIGHT = 1, MIGRATE_SYNC = 2, - MIGRATE_SYNC_NO_COPY = 3, }; enum migrate_reason { @@ -7787,7 +8633,8 @@ enum migrate_reason { MR_CONTIG_RANGE = 6, MR_LONGTERM_PIN = 7, MR_DEMOTION = 8, - MR_TYPES = 9, + MR_DAMON = 9, + MR_TYPES = 10, }; enum migratetype { @@ -7847,10 +8694,33 @@ enum mp_irq_source_types { mp_ExtINT = 3, }; -enum msi_domain_ids { - MSI_DEFAULT_DOMAIN = 0, - MSI_SECONDARY_DOMAIN = 1, - MSI_MAX_DEVICE_IRQDOMAINS = 2, +enum mthp_stat_item { + MTHP_STAT_ANON_FAULT_ALLOC = 0, + MTHP_STAT_ANON_FAULT_FALLBACK = 1, + MTHP_STAT_ANON_FAULT_FALLBACK_CHARGE = 2, + MTHP_STAT_ZSWPOUT = 3, + MTHP_STAT_SWPIN = 4, + MTHP_STAT_SWPIN_FALLBACK = 5, + MTHP_STAT_SWPIN_FALLBACK_CHARGE = 6, + MTHP_STAT_SWPOUT = 7, + MTHP_STAT_SWPOUT_FALLBACK = 8, + MTHP_STAT_SHMEM_ALLOC = 9, + MTHP_STAT_SHMEM_FALLBACK = 10, + MTHP_STAT_SHMEM_FALLBACK_CHARGE = 11, + MTHP_STAT_SPLIT = 12, + MTHP_STAT_SPLIT_FAILED = 13, + MTHP_STAT_SPLIT_DEFERRED = 14, + MTHP_STAT_NR_ANON = 15, + MTHP_STAT_NR_ANON_PARTIALLY_MAPPED = 16, + __MTHP_STAT_COUNT = 17, +}; + +enum nbcon_prio { + NBCON_PRIO_NONE = 0, + NBCON_PRIO_NORMAL = 1, + NBCON_PRIO_EMERGENCY = 2, + NBCON_PRIO_PANIC = 3, + NBCON_PRIO_MAX = 4, }; enum net_device_flags { @@ -7937,40 +8807,42 @@ enum netdev_offload_xstats_type { }; enum netdev_priv_flags { - IFF_802_1Q_VLAN = 1ULL, - IFF_EBRIDGE = 2ULL, - IFF_BONDING = 4ULL, - IFF_ISATAP = 8ULL, - IFF_WAN_HDLC = 16ULL, - IFF_XMIT_DST_RELEASE = 32ULL, - IFF_DONT_BRIDGE = 64ULL, - IFF_DISABLE_NETPOLL = 128ULL, - IFF_MACVLAN_PORT = 256ULL, - IFF_BRIDGE_PORT = 512ULL, - IFF_OVS_DATAPATH = 1024ULL, - IFF_TX_SKB_SHARING = 2048ULL, - IFF_UNICAST_FLT = 4096ULL, - IFF_TEAM_PORT = 8192ULL, - IFF_SUPP_NOFCS = 16384ULL, - IFF_LIVE_ADDR_CHANGE = 32768ULL, - IFF_MACVLAN = 65536ULL, - IFF_XMIT_DST_RELEASE_PERM = 131072ULL, - IFF_L3MDEV_MASTER = 262144ULL, - IFF_NO_QUEUE = 524288ULL, - IFF_OPENVSWITCH = 1048576ULL, - IFF_L3MDEV_SLAVE = 2097152ULL, - IFF_TEAM = 4194304ULL, - IFF_RXFH_CONFIGURED = 8388608ULL, - IFF_PHONY_HEADROOM = 16777216ULL, - IFF_MACSEC = 33554432ULL, - IFF_NO_RX_HANDLER = 67108864ULL, - IFF_FAILOVER = 134217728ULL, - IFF_FAILOVER_SLAVE = 268435456ULL, - IFF_L3MDEV_RX_HANDLER = 536870912ULL, - IFF_NO_ADDRCONF = 1073741824ULL, - IFF_TX_SKB_NO_LINEAR = 2147483648ULL, - IFF_CHANGE_PROTO_DOWN = 4294967296ULL, - IFF_SEE_ALL_HWTSTAMP_REQUESTS = 8589934592ULL, + IFF_802_1Q_VLAN = 1, + IFF_EBRIDGE = 2, + IFF_BONDING = 4, + IFF_ISATAP = 8, + IFF_WAN_HDLC = 16, + IFF_XMIT_DST_RELEASE = 32, + IFF_DONT_BRIDGE = 64, + IFF_DISABLE_NETPOLL = 128, + IFF_MACVLAN_PORT = 256, + IFF_BRIDGE_PORT = 512, + IFF_OVS_DATAPATH = 1024, + IFF_TX_SKB_SHARING = 2048, + IFF_UNICAST_FLT = 4096, + IFF_TEAM_PORT = 8192, + IFF_SUPP_NOFCS = 16384, + IFF_LIVE_ADDR_CHANGE = 32768, + IFF_MACVLAN = 65536, + IFF_XMIT_DST_RELEASE_PERM = 131072, + IFF_L3MDEV_MASTER = 262144, + IFF_NO_QUEUE = 524288, + IFF_OPENVSWITCH = 1048576, + IFF_L3MDEV_SLAVE = 2097152, + IFF_TEAM = 4194304, + IFF_RXFH_CONFIGURED = 8388608, + IFF_PHONY_HEADROOM = 16777216, + IFF_MACSEC = 33554432, + IFF_NO_RX_HANDLER = 67108864, + IFF_FAILOVER = 134217728, + IFF_FAILOVER_SLAVE = 268435456, + IFF_L3MDEV_RX_HANDLER = 536870912, + IFF_NO_ADDRCONF = 1073741824, + IFF_TX_SKB_NO_LINEAR = 2147483648, +}; + +enum netdev_qstats_scope { + NETDEV_QSTATS_SCOPE_QUEUE = 1, }; enum netdev_queue_state_t { @@ -7979,6 +8851,27 @@ enum netdev_queue_state_t { __QUEUE_STATE_FROZEN = 2, }; +enum netdev_queue_type { + NETDEV_QUEUE_TYPE_RX = 0, + NETDEV_QUEUE_TYPE_TX = 1, +}; + +enum netdev_reg_state { + NETREG_UNINITIALIZED = 0, + NETREG_REGISTERED = 1, + NETREG_UNREGISTERING = 2, + NETREG_UNREGISTERED = 3, + NETREG_RELEASED = 4, + NETREG_DUMMY = 5, +}; + +enum netdev_stat_type { + NETDEV_PCPU_STAT_NONE = 0, + NETDEV_PCPU_STAT_LSTATS = 1, + NETDEV_PCPU_STAT_TSTATS = 2, + NETDEV_PCPU_STAT_DSTATS = 3, +}; + enum netdev_state_t { __LINK_STATE_START = 0, __LINK_STATE_PRESENT = 1, @@ -8007,6 +8900,17 @@ enum netdev_xdp_act { NETDEV_XDP_ACT_MASK = 127, }; +enum netdev_xdp_rx_metadata { + NETDEV_XDP_RX_METADATA_TIMESTAMP = 1, + NETDEV_XDP_RX_METADATA_HASH = 2, + NETDEV_XDP_RX_METADATA_VLAN_TAG = 4, +}; + +enum netdev_xsk_flags { + NETDEV_XSK_FLAGS_TX_TIMESTAMP = 1, + NETDEV_XSK_FLAGS_TX_CHECKSUM = 2, +}; + enum netevent_notif_type { NETEVENT_NEIGH_UPDATE = 1, NETEVENT_REDIRECT = 2, @@ -8033,6 +8937,8 @@ enum netlink_attribute_type { NL_ATTR_TYPE_NESTED = 13, NL_ATTR_TYPE_NESTED_ARRAY = 14, NL_ATTR_TYPE_BITFIELD32 = 15, + NL_ATTR_TYPE_SINT = 16, + NL_ATTR_TYPE_UINT = 17, }; enum netlink_policy_type_attr { @@ -8078,18 +8984,7 @@ enum nexthop_event_type { NEXTHOP_EVENT_REPLACE = 1, NEXTHOP_EVENT_RES_TABLE_PRE_REPLACE = 2, NEXTHOP_EVENT_BUCKET_REPLACE = 3, -}; - -enum nf_dev_hooks { - NF_NETDEV_INGRESS = 0, - NF_NETDEV_EGRESS = 1, - NF_NETDEV_NUMHOOKS = 2, -}; - -enum nf_hook_ops_type { - NF_HOOK_OP_UNDEFINED = 0, - NF_HOOK_OP_NF_TABLES = 1, - NF_HOOK_OP_BPF = 2, + NEXTHOP_EVENT_HW_STATS_REPORT_DELTA = 4, }; enum nf_inet_hooks { @@ -8102,30 +8997,6 @@ enum nf_inet_hooks { NF_INET_INGRESS = 5, }; -enum nf_ip_hook_priorities { - NF_IP_PRI_FIRST = -2147483648, - NF_IP_PRI_RAW_BEFORE_DEFRAG = -450, - NF_IP_PRI_CONNTRACK_DEFRAG = -400, - NF_IP_PRI_RAW = -300, - NF_IP_PRI_SELINUX_FIRST = -225, - NF_IP_PRI_CONNTRACK = -200, - NF_IP_PRI_MANGLE = -150, - NF_IP_PRI_NAT_DST = -100, - NF_IP_PRI_FILTER = 0, - NF_IP_PRI_SECURITY = 50, - NF_IP_PRI_NAT_SRC = 100, - NF_IP_PRI_SELINUX_LAST = 225, - NF_IP_PRI_CONNTRACK_HELPER = 300, - NF_IP_PRI_CONNTRACK_CONFIRM = 2147483647, - NF_IP_PRI_LAST = 2147483647, -}; - -enum nf_log_type { - NF_LOG_TYPE_LOG = 0, - NF_LOG_TYPE_ULOG = 1, - NF_LOG_TYPE_MAX = 2, -}; - enum nfs_opnum4 { OP_ACCESS = 3, OP_CLOSE = 4, @@ -8208,6 +9079,7 @@ enum nh_notifier_info_type { NH_NOTIFIER_INFO_TYPE_GRP = 1, NH_NOTIFIER_INFO_TYPE_RES_TABLE = 2, NH_NOTIFIER_INFO_TYPE_RES_BUCKET = 3, + NH_NOTIFIER_INFO_TYPE_GRP_HW_STATS = 4, }; enum nla_policy_validation { @@ -8284,7 +9156,10 @@ enum node_stat_item { NR_KERNEL_STACK_KB = 37, NR_PAGETABLE = 38, NR_SECONDARY_PAGETABLE = 39, - NR_VM_NODE_STAT_ITEMS = 40, + PGDEMOTE_KSWAPD = 40, + PGDEMOTE_DIRECT = 41, + PGDEMOTE_KHUGEPAGED = 42, + NR_VM_NODE_STAT_ITEMS = 43, }; enum node_states { @@ -8328,6 +9203,10 @@ enum page_cache_mode { _PAGE_CACHE_MODE_NUM = 8, }; +enum page_size_enum { + __PAGE_SIZE = 4096, +}; + enum page_walk_action { ACTION_SUBTREE = 0, ACTION_CONTINUE = 1, @@ -8358,33 +9237,45 @@ enum pageflags { PG_waiters = 7, PG_active = 8, PG_workingset = 9, - PG_error = 10, - PG_slab = 11, - PG_owner_priv_1 = 12, - PG_arch_1 = 13, - PG_reserved = 14, - PG_private = 15, - PG_private_2 = 16, - PG_mappedtodisk = 17, - PG_reclaim = 18, - PG_swapbacked = 19, - PG_unevictable = 20, - PG_mlocked = 21, - __NR_PAGEFLAGS = 22, - PG_readahead = 18, - PG_anon_exclusive = 17, - PG_checked = 12, - PG_swapcache = 12, - PG_fscache = 16, - PG_pinned = 12, + PG_owner_priv_1 = 10, + PG_owner_2 = 11, + PG_arch_1 = 12, + PG_reserved = 13, + PG_private = 14, + PG_private_2 = 15, + PG_reclaim = 16, + PG_swapbacked = 17, + PG_unevictable = 18, + PG_dropbehind = 19, + PG_mlocked = 20, + __NR_PAGEFLAGS = 21, + PG_readahead = 16, + PG_swapcache = 10, + PG_checked = 10, + PG_anon_exclusive = 11, + PG_mappedtodisk = 11, + PG_fscache = 15, + PG_pinned = 10, PG_savepinned = 4, - PG_foreign = 12, - PG_xen_remapped = 12, - PG_isolated = 18, + PG_foreign = 10, + PG_xen_remapped = 10, + PG_isolated = 16, PG_reported = 3, - PG_has_hwpoisoned = 10, - PG_hugetlb = 8, + PG_has_hwpoisoned = 8, PG_large_rmappable = 9, + PG_partially_mapped = 16, +}; + +enum pagetype { + PGTY_buddy = 240, + PGTY_offline = 241, + PGTY_table = 242, + PGTY_guard = 243, + PGTY_hugetlb = 244, + PGTY_slab = 245, + PGTY_zsmalloc = 246, + PGTY_unaccepted = 247, + PGTY_mapcount_underflow = 255, }; enum pci_p2pdma_map_type { @@ -8394,12 +9285,6 @@ enum pci_p2pdma_map_type { PCI_P2PDMA_MAP_THRU_HOST_BRIDGE = 3, }; -enum pconfig_target { - INVALID_TARGET = 0, - MKTME_TARGET = 1, - PCONFIG_TARGET_NR = 2, -}; - enum pcpu_fc { PCPU_FC_AUTO = 0, PCPU_FC_EMBED = 1, @@ -8440,7 +9325,8 @@ enum perf_branch_sample_type { PERF_SAMPLE_BRANCH_TYPE_SAVE = 65536, PERF_SAMPLE_BRANCH_HW_INDEX = 131072, PERF_SAMPLE_BRANCH_PRIV_SAVE = 262144, - PERF_SAMPLE_BRANCH_MAX = 524288, + PERF_SAMPLE_BRANCH_COUNTERS = 524288, + PERF_SAMPLE_BRANCH_MAX = 1048576, }; enum perf_branch_sample_type_shift { @@ -8463,7 +9349,8 @@ enum perf_branch_sample_type_shift { PERF_SAMPLE_BRANCH_TYPE_SAVE_SHIFT = 16, PERF_SAMPLE_BRANCH_HW_INDEX_SHIFT = 17, PERF_SAMPLE_BRANCH_PRIV_SAVE_SHIFT = 18, - PERF_SAMPLE_BRANCH_MAX_SHIFT = 19, + PERF_SAMPLE_BRANCH_COUNTERS_SHIFT = 19, + PERF_SAMPLE_BRANCH_MAX_SHIFT = 20, }; enum perf_callchain_context { @@ -8655,6 +9542,16 @@ enum perf_msr_id { PERF_MSR_EVENT_MAX = 8, }; +enum perf_pmu_scope { + PERF_PMU_SCOPE_NONE = 0, + PERF_PMU_SCOPE_CORE = 1, + PERF_PMU_SCOPE_DIE = 2, + PERF_PMU_SCOPE_CLUSTER = 3, + PERF_PMU_SCOPE_PKG = 4, + PERF_PMU_SCOPE_SYS_WIDE = 5, + PERF_PMU_MAX_SCOPE = 6, +}; + enum perf_probe_config { PERF_PROBE_CONFIG_IS_RETPROBE = 1, PERF_UPROBE_REF_CTR_OFFSET_BITS = 32, @@ -8700,19 +9597,14 @@ enum perf_type_id { PERF_TYPE_MAX = 6, }; -enum pfn_cache_usage { - KVM_GUEST_USES_PFN = 1, - KVM_HOST_USES_PFN = 2, - KVM_GUEST_AND_HOST_USE_PFN = 3, -}; - enum pg_level { PG_LEVEL_NONE = 0, PG_LEVEL_4K = 1, PG_LEVEL_2M = 2, PG_LEVEL_1G = 3, PG_LEVEL_512G = 4, - PG_LEVEL_NUM = 5, + PG_LEVEL_256T = 5, + PG_LEVEL_NUM = 6, }; enum pgdat_flags { @@ -8747,6 +9639,11 @@ enum phy_tunable_id { __ETHTOOL_PHY_TUNABLE_COUNT = 4, }; +enum phy_upstream { + PHY_UPSTREAM_MAC = 0, + PHY_UPSTREAM_PHY = 1, +}; + enum pid_type { PIDTYPE_PID = 0, PIDTYPE_TGID = 1, @@ -8810,6 +9707,12 @@ enum print_line_t { TRACE_TYPE_NO_CONSUME = 3, }; +enum priv_stack_mode { + PRIV_STACK_UNKNOWN = 0, + NO_PRIV_STACK = 1, + PRIV_STACK_ADAPTIVE = 2, +}; + enum probe_print_type { PROBE_PRINT_NORMAL = 0, PROBE_PRINT_RETURN = 1, @@ -8836,11 +9739,6 @@ enum proc_cn_event { PROC_EVENT_EXIT = 2147483648, }; -enum psc_op { - SNP_PAGE_STATE_PRIVATE = 1, - SNP_PAGE_STATE_SHARED = 2, -}; - enum pt_capabilities { PT_CAP_max_subleaf = 0, PT_CAP_cr3_filtering = 1, @@ -8902,6 +9800,12 @@ enum reboot_type { BOOT_CF9_SAFE = 113, }; +enum ref_state_type { + REF_TYPE_PTR = 1, + REF_TYPE_IRQ = 2, + REF_TYPE_LOCK = 3, +}; + enum refcount_saturation_type { REFCOUNT_ADD_NOT_ZERO_OVF = 0, REFCOUNT_ADD_OVF = 1, @@ -8955,6 +9859,12 @@ enum retbleed_mitigation_cmd { RETBLEED_CMD_STUFF = 4, }; +enum rfds_mitigations { + RFDS_MITIGATION_OFF = 0, + RFDS_MITIGATION_VERW = 1, + RFDS_MITIGATION_UCODE_NEEDED = 2, +}; + enum ring_buffer_flags { RB_FL_OVERWRITE = 1, }; @@ -8974,6 +9884,11 @@ enum rlimit_type { UCOUNT_RLIMIT_COUNTS = 4, }; +enum rmap_level { + RMAP_LEVEL_PTE = 0, + RMAP_LEVEL_PMD = 1, +}; + enum rp_check { RP_CHECK_CALL = 0, RP_CHECK_CHAIN_CALL = 1, @@ -9052,7 +9967,8 @@ enum rtattr_type_t { RTA_SPORT = 28, RTA_DPORT = 29, RTA_NH_ID = 30, - __RTA_MAX = 31, + RTA_FLOWLABEL = 31, + __RTA_MAX = 32, }; enum rtnetlink_groups { @@ -9093,7 +10009,10 @@ enum rtnetlink_groups { RTNLGRP_MCTP_IFADDR = 34, RTNLGRP_TUNNEL = 35, RTNLGRP_STATS = 36, - __RTNLGRP_MAX = 37, + RTNLGRP_IPV4_MCADDR = 37, + RTNLGRP_IPV6_MCADDR = 38, + RTNLGRP_IPV6_ACADDR = 39, + __RTNLGRP_MAX = 40, }; enum rtnl_kinds { @@ -9106,6 +10025,8 @@ enum rtnl_kinds { enum rtnl_link_flags { RTNL_FLAG_DOIT_UNLOCKED = 1, RTNL_FLAG_BULK_DEL_SUPPORTED = 2, + RTNL_FLAG_DUMP_UNLOCKED = 4, + RTNL_FLAG_DUMP_SPLIT_NLM_DONE = 8, }; enum rw_hint { @@ -9115,7 +10036,7 @@ enum rw_hint { WRITE_LIFE_MEDIUM = 3, WRITE_LIFE_LONG = 4, WRITE_LIFE_EXTREME = 5, -}; +} __attribute__((mode(byte))); enum rwsem_waiter_type { RWSEM_WAITING_FOR_WRITE = 0, @@ -9155,6 +10076,11 @@ enum sctp_msg_flags { MSG_NOTIFICATION = 32768, }; +enum set_event_iter_type { + SET_EVENT_FILE = 0, + SET_EVENT_MOD = 1, +}; + enum show_regs_mode { SHOW_REGS_SHORT = 0, SHOW_REGS_USER = 1, @@ -9198,86 +10124,152 @@ enum sk_psock_state_bits { SK_PSOCK_RX_STRP_ENABLED = 1, }; +enum sk_rst_reason { + SK_RST_REASON_NOT_SPECIFIED = 0, + SK_RST_REASON_NO_SOCKET = 1, + SK_RST_REASON_TCP_INVALID_ACK_SEQUENCE = 2, + SK_RST_REASON_TCP_RFC7323_PAWS = 3, + SK_RST_REASON_TCP_TOO_OLD_ACK = 4, + SK_RST_REASON_TCP_ACK_UNSENT_DATA = 5, + SK_RST_REASON_TCP_FLAGS = 6, + SK_RST_REASON_TCP_OLD_ACK = 7, + SK_RST_REASON_TCP_ABORT_ON_DATA = 8, + SK_RST_REASON_TCP_TIMEWAIT_SOCKET = 9, + SK_RST_REASON_INVALID_SYN = 10, + SK_RST_REASON_TCP_ABORT_ON_CLOSE = 11, + SK_RST_REASON_TCP_ABORT_ON_LINGER = 12, + SK_RST_REASON_TCP_ABORT_ON_MEMORY = 13, + SK_RST_REASON_TCP_STATE = 14, + SK_RST_REASON_TCP_KEEPALIVE_TIMEOUT = 15, + SK_RST_REASON_TCP_DISCONNECT_WITH_DATA = 16, + SK_RST_REASON_MPTCP_RST_EUNSPEC = 17, + SK_RST_REASON_MPTCP_RST_EMPTCP = 18, + SK_RST_REASON_MPTCP_RST_ERESOURCE = 19, + SK_RST_REASON_MPTCP_RST_EPROHIBIT = 20, + SK_RST_REASON_MPTCP_RST_EWQ2BIG = 21, + SK_RST_REASON_MPTCP_RST_EBADPERF = 22, + SK_RST_REASON_MPTCP_RST_EMIDDLEBOX = 23, + SK_RST_REASON_ERROR = 24, + SK_RST_REASON_MAX = 25, +}; + enum skb_drop_reason { SKB_NOT_DROPPED_YET = 0, SKB_CONSUMED = 1, SKB_DROP_REASON_NOT_SPECIFIED = 2, SKB_DROP_REASON_NO_SOCKET = 3, - SKB_DROP_REASON_PKT_TOO_SMALL = 4, - SKB_DROP_REASON_TCP_CSUM = 5, - SKB_DROP_REASON_SOCKET_FILTER = 6, - SKB_DROP_REASON_UDP_CSUM = 7, - SKB_DROP_REASON_NETFILTER_DROP = 8, - SKB_DROP_REASON_OTHERHOST = 9, - SKB_DROP_REASON_IP_CSUM = 10, - SKB_DROP_REASON_IP_INHDR = 11, - SKB_DROP_REASON_IP_RPFILTER = 12, - SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST = 13, - SKB_DROP_REASON_XFRM_POLICY = 14, - SKB_DROP_REASON_IP_NOPROTO = 15, - SKB_DROP_REASON_SOCKET_RCVBUFF = 16, - SKB_DROP_REASON_PROTO_MEM = 17, - SKB_DROP_REASON_TCP_MD5NOTFOUND = 18, - SKB_DROP_REASON_TCP_MD5UNEXPECTED = 19, - SKB_DROP_REASON_TCP_MD5FAILURE = 20, - SKB_DROP_REASON_SOCKET_BACKLOG = 21, - SKB_DROP_REASON_TCP_FLAGS = 22, - SKB_DROP_REASON_TCP_ZEROWINDOW = 23, - SKB_DROP_REASON_TCP_OLD_DATA = 24, - SKB_DROP_REASON_TCP_OVERWINDOW = 25, - SKB_DROP_REASON_TCP_OFOMERGE = 26, - SKB_DROP_REASON_TCP_RFC7323_PAWS = 27, - SKB_DROP_REASON_TCP_OLD_SEQUENCE = 28, - SKB_DROP_REASON_TCP_INVALID_SEQUENCE = 29, - SKB_DROP_REASON_TCP_RESET = 30, - SKB_DROP_REASON_TCP_INVALID_SYN = 31, - SKB_DROP_REASON_TCP_CLOSE = 32, - SKB_DROP_REASON_TCP_FASTOPEN = 33, - SKB_DROP_REASON_TCP_OLD_ACK = 34, - SKB_DROP_REASON_TCP_TOO_OLD_ACK = 35, - SKB_DROP_REASON_TCP_ACK_UNSENT_DATA = 36, - SKB_DROP_REASON_TCP_OFO_QUEUE_PRUNE = 37, - SKB_DROP_REASON_TCP_OFO_DROP = 38, - SKB_DROP_REASON_IP_OUTNOROUTES = 39, - SKB_DROP_REASON_BPF_CGROUP_EGRESS = 40, - SKB_DROP_REASON_IPV6DISABLED = 41, - SKB_DROP_REASON_NEIGH_CREATEFAIL = 42, - SKB_DROP_REASON_NEIGH_FAILED = 43, - SKB_DROP_REASON_NEIGH_QUEUEFULL = 44, - SKB_DROP_REASON_NEIGH_DEAD = 45, - SKB_DROP_REASON_TC_EGRESS = 46, - SKB_DROP_REASON_QDISC_DROP = 47, - SKB_DROP_REASON_CPU_BACKLOG = 48, - SKB_DROP_REASON_XDP = 49, - SKB_DROP_REASON_TC_INGRESS = 50, - SKB_DROP_REASON_UNHANDLED_PROTO = 51, - SKB_DROP_REASON_SKB_CSUM = 52, - SKB_DROP_REASON_SKB_GSO_SEG = 53, - SKB_DROP_REASON_SKB_UCOPY_FAULT = 54, - SKB_DROP_REASON_DEV_HDR = 55, - SKB_DROP_REASON_DEV_READY = 56, - SKB_DROP_REASON_FULL_RING = 57, - SKB_DROP_REASON_NOMEM = 58, - SKB_DROP_REASON_HDR_TRUNC = 59, - SKB_DROP_REASON_TAP_FILTER = 60, - SKB_DROP_REASON_TAP_TXFILTER = 61, - SKB_DROP_REASON_ICMP_CSUM = 62, - SKB_DROP_REASON_INVALID_PROTO = 63, - SKB_DROP_REASON_IP_INADDRERRORS = 64, - SKB_DROP_REASON_IP_INNOROUTES = 65, - SKB_DROP_REASON_PKT_TOO_BIG = 66, - SKB_DROP_REASON_DUP_FRAG = 67, - SKB_DROP_REASON_FRAG_REASM_TIMEOUT = 68, - SKB_DROP_REASON_FRAG_TOO_FAR = 69, - SKB_DROP_REASON_TCP_MINTTL = 70, - SKB_DROP_REASON_IPV6_BAD_EXTHDR = 71, - SKB_DROP_REASON_IPV6_NDISC_FRAG = 72, - SKB_DROP_REASON_IPV6_NDISC_HOP_LIMIT = 73, - SKB_DROP_REASON_IPV6_NDISC_BAD_CODE = 74, - SKB_DROP_REASON_IPV6_NDISC_BAD_OPTIONS = 75, - SKB_DROP_REASON_IPV6_NDISC_NS_OTHERHOST = 76, - SKB_DROP_REASON_QUEUE_PURGE = 77, - SKB_DROP_REASON_MAX = 78, + SKB_DROP_REASON_SOCKET_CLOSE = 4, + SKB_DROP_REASON_SOCKET_FILTER = 5, + SKB_DROP_REASON_SOCKET_RCVBUFF = 6, + SKB_DROP_REASON_UNIX_DISCONNECT = 7, + SKB_DROP_REASON_UNIX_SKIP_OOB = 8, + SKB_DROP_REASON_PKT_TOO_SMALL = 9, + SKB_DROP_REASON_TCP_CSUM = 10, + SKB_DROP_REASON_UDP_CSUM = 11, + SKB_DROP_REASON_NETFILTER_DROP = 12, + SKB_DROP_REASON_OTHERHOST = 13, + SKB_DROP_REASON_IP_CSUM = 14, + SKB_DROP_REASON_IP_INHDR = 15, + SKB_DROP_REASON_IP_RPFILTER = 16, + SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST = 17, + SKB_DROP_REASON_XFRM_POLICY = 18, + SKB_DROP_REASON_IP_NOPROTO = 19, + SKB_DROP_REASON_PROTO_MEM = 20, + SKB_DROP_REASON_TCP_AUTH_HDR = 21, + SKB_DROP_REASON_TCP_MD5NOTFOUND = 22, + SKB_DROP_REASON_TCP_MD5UNEXPECTED = 23, + SKB_DROP_REASON_TCP_MD5FAILURE = 24, + SKB_DROP_REASON_TCP_AONOTFOUND = 25, + SKB_DROP_REASON_TCP_AOUNEXPECTED = 26, + SKB_DROP_REASON_TCP_AOKEYNOTFOUND = 27, + SKB_DROP_REASON_TCP_AOFAILURE = 28, + SKB_DROP_REASON_SOCKET_BACKLOG = 29, + SKB_DROP_REASON_TCP_FLAGS = 30, + SKB_DROP_REASON_TCP_ABORT_ON_DATA = 31, + SKB_DROP_REASON_TCP_ZEROWINDOW = 32, + SKB_DROP_REASON_TCP_OLD_DATA = 33, + SKB_DROP_REASON_TCP_OVERWINDOW = 34, + SKB_DROP_REASON_TCP_OFOMERGE = 35, + SKB_DROP_REASON_TCP_RFC7323_PAWS = 36, + SKB_DROP_REASON_TCP_RFC7323_PAWS_ACK = 37, + SKB_DROP_REASON_TCP_OLD_SEQUENCE = 38, + SKB_DROP_REASON_TCP_INVALID_SEQUENCE = 39, + SKB_DROP_REASON_TCP_INVALID_ACK_SEQUENCE = 40, + SKB_DROP_REASON_TCP_RESET = 41, + SKB_DROP_REASON_TCP_INVALID_SYN = 42, + SKB_DROP_REASON_TCP_CLOSE = 43, + SKB_DROP_REASON_TCP_FASTOPEN = 44, + SKB_DROP_REASON_TCP_OLD_ACK = 45, + SKB_DROP_REASON_TCP_TOO_OLD_ACK = 46, + SKB_DROP_REASON_TCP_ACK_UNSENT_DATA = 47, + SKB_DROP_REASON_TCP_OFO_QUEUE_PRUNE = 48, + SKB_DROP_REASON_TCP_OFO_DROP = 49, + SKB_DROP_REASON_IP_OUTNOROUTES = 50, + SKB_DROP_REASON_BPF_CGROUP_EGRESS = 51, + SKB_DROP_REASON_IPV6DISABLED = 52, + SKB_DROP_REASON_NEIGH_CREATEFAIL = 53, + SKB_DROP_REASON_NEIGH_FAILED = 54, + SKB_DROP_REASON_NEIGH_QUEUEFULL = 55, + SKB_DROP_REASON_NEIGH_DEAD = 56, + SKB_DROP_REASON_TC_EGRESS = 57, + SKB_DROP_REASON_SECURITY_HOOK = 58, + SKB_DROP_REASON_QDISC_DROP = 59, + SKB_DROP_REASON_QDISC_OVERLIMIT = 60, + SKB_DROP_REASON_QDISC_CONGESTED = 61, + SKB_DROP_REASON_CAKE_FLOOD = 62, + SKB_DROP_REASON_FQ_BAND_LIMIT = 63, + SKB_DROP_REASON_FQ_HORIZON_LIMIT = 64, + SKB_DROP_REASON_FQ_FLOW_LIMIT = 65, + SKB_DROP_REASON_CPU_BACKLOG = 66, + SKB_DROP_REASON_XDP = 67, + SKB_DROP_REASON_TC_INGRESS = 68, + SKB_DROP_REASON_UNHANDLED_PROTO = 69, + SKB_DROP_REASON_SKB_CSUM = 70, + SKB_DROP_REASON_SKB_GSO_SEG = 71, + SKB_DROP_REASON_SKB_UCOPY_FAULT = 72, + SKB_DROP_REASON_DEV_HDR = 73, + SKB_DROP_REASON_DEV_READY = 74, + SKB_DROP_REASON_FULL_RING = 75, + SKB_DROP_REASON_NOMEM = 76, + SKB_DROP_REASON_HDR_TRUNC = 77, + SKB_DROP_REASON_TAP_FILTER = 78, + SKB_DROP_REASON_TAP_TXFILTER = 79, + SKB_DROP_REASON_ICMP_CSUM = 80, + SKB_DROP_REASON_INVALID_PROTO = 81, + SKB_DROP_REASON_IP_INADDRERRORS = 82, + SKB_DROP_REASON_IP_INNOROUTES = 83, + SKB_DROP_REASON_IP_LOCAL_SOURCE = 84, + SKB_DROP_REASON_IP_INVALID_SOURCE = 85, + SKB_DROP_REASON_IP_LOCALNET = 86, + SKB_DROP_REASON_IP_INVALID_DEST = 87, + SKB_DROP_REASON_PKT_TOO_BIG = 88, + SKB_DROP_REASON_DUP_FRAG = 89, + SKB_DROP_REASON_FRAG_REASM_TIMEOUT = 90, + SKB_DROP_REASON_FRAG_TOO_FAR = 91, + SKB_DROP_REASON_TCP_MINTTL = 92, + SKB_DROP_REASON_IPV6_BAD_EXTHDR = 93, + SKB_DROP_REASON_IPV6_NDISC_FRAG = 94, + SKB_DROP_REASON_IPV6_NDISC_HOP_LIMIT = 95, + SKB_DROP_REASON_IPV6_NDISC_BAD_CODE = 96, + SKB_DROP_REASON_IPV6_NDISC_BAD_OPTIONS = 97, + SKB_DROP_REASON_IPV6_NDISC_NS_OTHERHOST = 98, + SKB_DROP_REASON_QUEUE_PURGE = 99, + SKB_DROP_REASON_TC_COOKIE_ERROR = 100, + SKB_DROP_REASON_PACKET_SOCK_ERROR = 101, + SKB_DROP_REASON_TC_CHAIN_NOTFOUND = 102, + SKB_DROP_REASON_TC_RECLASSIFY_LOOP = 103, + SKB_DROP_REASON_VXLAN_INVALID_HDR = 104, + SKB_DROP_REASON_VXLAN_VNI_NOT_FOUND = 105, + SKB_DROP_REASON_MAC_INVALID_SOURCE = 106, + SKB_DROP_REASON_VXLAN_ENTRY_EXISTS = 107, + SKB_DROP_REASON_NO_TX_TARGET = 108, + SKB_DROP_REASON_IP_TUNNEL_ECN = 109, + SKB_DROP_REASON_TUNNEL_TXINFO = 110, + SKB_DROP_REASON_LOCAL_MAC = 111, + SKB_DROP_REASON_ARP_PVLAN_DISABLE = 112, + SKB_DROP_REASON_MAC_IEEE_MAC_CONTROL = 113, + SKB_DROP_REASON_BRIDGE_INGRESS_STP_STATE = 114, + SKB_DROP_REASON_MAX = 115, SKB_DROP_REASON_SUBSYS_MASK = 4294901760, }; @@ -9289,6 +10281,13 @@ enum skb_drop_reason_subsys { SKB_DROP_REASON_SUBSYS_NUM = 4, }; +enum skb_tstamp_type { + SKB_CLOCK_REALTIME = 0, + SKB_CLOCK_MONOTONIC = 1, + SKB_CLOCK_TAI = 2, + __SKB_CLOCK_MAX = 2, +}; + enum sknetlink_groups { SKNLGRP_NONE = 0, SKNLGRP_INET_TCP_DESTROY = 1, @@ -9301,9 +10300,8 @@ enum sknetlink_groups { enum slab_state { DOWN = 0, PARTIAL = 1, - PARTIAL_NODE = 2, - UP = 3, - FULL = 4, + UP = 2, + FULL = 3, }; enum sock_flags { @@ -9335,6 +10333,7 @@ enum sock_flags { SOCK_XDP = 25, SOCK_TSTAMP_NEW = 26, SOCK_RCVMARK = 27, + SOCK_RCVPRIORITY = 28, }; enum sock_shutdown_cmd { @@ -9373,6 +10372,20 @@ enum special_kfunc_type { KF_bpf_dynptr_slice = 16, KF_bpf_dynptr_slice_rdwr = 17, KF_bpf_dynptr_clone = 18, + KF_bpf_percpu_obj_new_impl = 19, + KF_bpf_percpu_obj_drop_impl = 20, + KF_bpf_throw = 21, + KF_bpf_wq_set_callback_impl = 22, + KF_bpf_preempt_disable = 23, + KF_bpf_preempt_enable = 24, + KF_bpf_iter_css_task_new = 25, + KF_bpf_session_cookie = 26, + KF_bpf_get_kmem_cache = 27, + KF_bpf_local_irq_save = 28, + KF_bpf_local_irq_restore = 29, + KF_bpf_iter_num_new = 30, + KF_bpf_iter_num_next = 31, + KF_bpf_iter_num_destroy = 32, }; enum spectre_v1_mitigation { @@ -9421,13 +10434,6 @@ enum spectre_v2_user_mitigation { SPECTRE_V2_USER_SECCOMP = 4, }; -enum split_lock_detect_state { - sld_off = 0, - sld_warn = 1, - sld_fatal = 2, - sld_ratelimit = 3, -}; - enum srbds_mitigations { SRBDS_MITIGATION_OFF = 0, SRBDS_MITIGATION_UCODE_NEEDED = 1, @@ -9438,10 +10444,12 @@ enum srbds_mitigations { enum srso_mitigation { SRSO_MITIGATION_NONE = 0, - SRSO_MITIGATION_MICROCODE = 1, - SRSO_MITIGATION_SAFE_RET = 2, - SRSO_MITIGATION_IBPB = 3, - SRSO_MITIGATION_IBPB_ON_VMEXIT = 4, + SRSO_MITIGATION_UCODE_NEEDED = 1, + SRSO_MITIGATION_SAFE_RET_UCODE_NEEDED = 2, + SRSO_MITIGATION_MICROCODE = 3, + SRSO_MITIGATION_SAFE_RET = 4, + SRSO_MITIGATION_IBPB = 5, + SRSO_MITIGATION_IBPB_ON_VMEXIT = 6, }; enum srso_mitigation_cmd { @@ -9507,9 +10515,25 @@ enum stat_item { NR_SLUB_STAT_ITEMS = 26, }; +enum store_type { + wr_invalid = 0, + wr_new_root = 1, + wr_store_root = 2, + wr_exact_fit = 3, + wr_spanning_store = 4, + wr_split_store = 5, + wr_rebalance = 6, + wr_append = 7, + wr_node_store = 8, + wr_slot_store = 9, +}; + enum string_size_units { STRING_UNITS_10 = 0, STRING_UNITS_2 = 1, + STRING_UNITS_MASK = 1, + STRING_UNITS_NO_SPACE = 1073741824, + STRING_UNITS_NO_BYTES = 2147483648, }; enum sum_check_bits { @@ -9557,6 +10581,7 @@ enum task_work_notify_mode { TWA_RESUME = 1, TWA_SIGNAL = 2, TWA_SIGNAL_NO_IPI = 3, + TWA_NMI_CURRENT = 4, }; enum tc_mq_command { @@ -9644,6 +10669,16 @@ enum tcp_queue { TCP_FRAG_IN_RTX_QUEUE = 1, }; +enum tcp_skb_cb_sacked_flags { + TCPCB_SACKED_ACKED = 1, + TCPCB_SACKED_RETRANS = 2, + TCPCB_LOST = 4, + TCPCB_TAGBITS = 7, + TCPCB_REPAIRED = 16, + TCPCB_EVER_RETRANS = 128, + TCPCB_RETRANS = 146, +}; + enum tcp_synack_type { TCP_SYNACK_NORMAL = 0, TCP_SYNACK_FASTOPEN = 1, @@ -9713,7 +10748,8 @@ enum tlb_flush_reason { TLB_LOCAL_SHOOTDOWN = 2, TLB_LOCAL_MM_SHOOTDOWN = 3, TLB_REMOTE_SEND_IPI = 4, - NR_TLB_FLUSH_REASONS = 5, + TLB_REMOTE_WRONG_CPU = 5, + NR_TLB_FLUSH_REASONS = 6, }; enum tlb_infos { @@ -9721,6 +10757,21 @@ enum tlb_infos { NR_INFO = 1, }; +enum topo_types { + INVALID_TYPE = 0, + SMT_TYPE = 1, + CORE_TYPE = 2, + MAX_TYPE_0B = 3, + MODULE_TYPE = 3, + AMD_CCD_TYPE = 3, + TILE_TYPE = 4, + AMD_SOCKET_TYPE = 4, + MAX_TYPE_80000026 = 5, + DIE_TYPE = 5, + DIEGRP_TYPE = 6, + MAX_TYPE_1F = 7, +}; + enum tp_func_state { TP_FUNC_0 = 0, TP_FUNC_1 = 1, @@ -9736,7 +10787,7 @@ enum tp_transition_sync { enum trace_flag_type { TRACE_FLAG_IRQS_OFF = 1, - TRACE_FLAG_IRQS_NOSUPPORT = 2, + TRACE_FLAG_NEED_RESCHED_LAZY = 2, TRACE_FLAG_NEED_RESCHED = 4, TRACE_FLAG_HARDIRQ = 8, TRACE_FLAG_SOFTIRQ = 16, @@ -9775,13 +10826,14 @@ enum trace_iterator_bits { TRACE_ITER_IRQ_INFO_BIT = 20, TRACE_ITER_MARKERS_BIT = 21, TRACE_ITER_EVENT_FORK_BIT = 22, - TRACE_ITER_PAUSE_ON_TRACE_BIT = 23, - TRACE_ITER_HASH_PTR_BIT = 24, - TRACE_ITER_FUNCTION_BIT = 25, - TRACE_ITER_FUNC_FORK_BIT = 26, - TRACE_ITER_DISPLAY_GRAPH_BIT = 27, - TRACE_ITER_STACKTRACE_BIT = 28, - TRACE_ITER_LAST_BIT = 29, + TRACE_ITER_TRACE_PRINTK_BIT = 23, + TRACE_ITER_PAUSE_ON_TRACE_BIT = 24, + TRACE_ITER_HASH_PTR_BIT = 25, + TRACE_ITER_FUNCTION_BIT = 26, + TRACE_ITER_FUNC_FORK_BIT = 27, + TRACE_ITER_DISPLAY_GRAPH_BIT = 28, + TRACE_ITER_STACKTRACE_BIT = 29, + TRACE_ITER_LAST_BIT = 30, }; enum trace_iterator_flags { @@ -9808,12 +10860,13 @@ enum trace_iterator_flags { TRACE_ITER_IRQ_INFO = 1048576, TRACE_ITER_MARKERS = 2097152, TRACE_ITER_EVENT_FORK = 4194304, - TRACE_ITER_PAUSE_ON_TRACE = 8388608, - TRACE_ITER_HASH_PTR = 16777216, - TRACE_ITER_FUNCTION = 33554432, - TRACE_ITER_FUNC_FORK = 67108864, - TRACE_ITER_DISPLAY_GRAPH = 134217728, - TRACE_ITER_STACKTRACE = 268435456, + TRACE_ITER_TRACE_PRINTK = 8388608, + TRACE_ITER_PAUSE_ON_TRACE = 16777216, + TRACE_ITER_HASH_PTR = 33554432, + TRACE_ITER_FUNCTION = 67108864, + TRACE_ITER_FUNC_FORK = 134217728, + TRACE_ITER_DISPLAY_GRAPH = 268435456, + TRACE_ITER_STACKTRACE = 536870912, }; enum trace_reg { @@ -9840,15 +10893,16 @@ enum trace_type { TRACE_BRANCH = 9, TRACE_GRAPH_RET = 10, TRACE_GRAPH_ENT = 11, - TRACE_USER_STACK = 12, - TRACE_BLK = 13, - TRACE_BPUTS = 14, - TRACE_HWLAT = 15, - TRACE_OSNOISE = 16, - TRACE_TIMERLAT = 17, - TRACE_RAW_DATA = 18, - TRACE_FUNC_REPEATS = 19, - __TRACE_LAST_TYPE = 20, + TRACE_GRAPH_RETADDR_ENT = 12, + TRACE_USER_STACK = 13, + TRACE_BLK = 14, + TRACE_BPUTS = 15, + TRACE_HWLAT = 16, + TRACE_OSNOISE = 17, + TRACE_TIMERLAT = 18, + TRACE_RAW_DATA = 19, + TRACE_FUNC_REPEATS = 20, + __TRACE_LAST_TYPE = 21, }; enum tsq_enum { @@ -9858,6 +10912,7 @@ enum tsq_enum { TCP_WRITE_TIMER_DEFERRED = 3, TCP_DELACK_TIMER_DEFERRED = 4, TCP_MTU_REDUCED_DEFERRED = 5, + TCP_ACK_DEFERRED = 6, }; enum tsq_flags { @@ -9867,6 +10922,7 @@ enum tsq_flags { TCPF_WRITE_TIMER_DEFERRED = 8, TCPF_DELACK_TIMER_DEFERRED = 16, TCPF_MTU_REDUCED_DEFERRED = 32, + TCPF_ACK_DEFERRED = 64, }; enum tsx_ctrl_states { @@ -9924,9 +10980,12 @@ enum txtime_flags { enum ucode_state { UCODE_OK = 0, UCODE_NEW = 1, - UCODE_UPDATED = 2, - UCODE_NFOUND = 3, - UCODE_ERROR = 4, + UCODE_NEW_SAFE = 2, + UCODE_UPDATED = 3, + UCODE_NFOUND = 4, + UCODE_ERROR = 5, + UCODE_TIMEOUT = 6, + UCODE_OFFLINE = 7, }; enum ucount_type { @@ -9966,12 +11025,6 @@ enum umount_tree_flags { UMOUNT_CONNECTED = 4, }; -enum uprobe_filter_ctx { - UPROBE_FILTER_REGISTER = 0, - UPROBE_FILTER_UNREGISTER = 1, - UPROBE_FILTER_MMAP = 2, -}; - enum uprobe_task_state { UTASK_RUNNING = 0, UTASK_SSTEP = 1, @@ -10040,37 +11093,34 @@ enum vm_event_item { PGSTEAL_KSWAPD = 22, PGSTEAL_DIRECT = 23, PGSTEAL_KHUGEPAGED = 24, - PGDEMOTE_KSWAPD = 25, - PGDEMOTE_DIRECT = 26, - PGDEMOTE_KHUGEPAGED = 27, - PGSCAN_KSWAPD = 28, - PGSCAN_DIRECT = 29, - PGSCAN_KHUGEPAGED = 30, - PGSCAN_DIRECT_THROTTLE = 31, - PGSCAN_ANON = 32, - PGSCAN_FILE = 33, - PGSTEAL_ANON = 34, - PGSTEAL_FILE = 35, - PGINODESTEAL = 36, - SLABS_SCANNED = 37, - KSWAPD_INODESTEAL = 38, - KSWAPD_LOW_WMARK_HIT_QUICKLY = 39, - KSWAPD_HIGH_WMARK_HIT_QUICKLY = 40, - PAGEOUTRUN = 41, - PGROTATED = 42, - DROP_PAGECACHE = 43, - DROP_SLAB = 44, - OOM_KILL = 45, - UNEVICTABLE_PGCULLED = 46, - UNEVICTABLE_PGSCANNED = 47, - UNEVICTABLE_PGRESCUED = 48, - UNEVICTABLE_PGMLOCKED = 49, - UNEVICTABLE_PGMUNLOCKED = 50, - UNEVICTABLE_PGCLEARED = 51, - UNEVICTABLE_PGSTRANDED = 52, - DIRECT_MAP_LEVEL2_SPLIT = 53, - DIRECT_MAP_LEVEL3_SPLIT = 54, - NR_VM_EVENT_ITEMS = 55, + PGSCAN_KSWAPD = 25, + PGSCAN_DIRECT = 26, + PGSCAN_KHUGEPAGED = 27, + PGSCAN_DIRECT_THROTTLE = 28, + PGSCAN_ANON = 29, + PGSCAN_FILE = 30, + PGSTEAL_ANON = 31, + PGSTEAL_FILE = 32, + PGINODESTEAL = 33, + SLABS_SCANNED = 34, + KSWAPD_INODESTEAL = 35, + KSWAPD_LOW_WMARK_HIT_QUICKLY = 36, + KSWAPD_HIGH_WMARK_HIT_QUICKLY = 37, + PAGEOUTRUN = 38, + PGROTATED = 39, + DROP_PAGECACHE = 40, + DROP_SLAB = 41, + OOM_KILL = 42, + UNEVICTABLE_PGCULLED = 43, + UNEVICTABLE_PGSCANNED = 44, + UNEVICTABLE_PGRESCUED = 45, + UNEVICTABLE_PGMLOCKED = 46, + UNEVICTABLE_PGMUNLOCKED = 47, + UNEVICTABLE_PGCLEARED = 48, + UNEVICTABLE_PGSTRANDED = 49, + DIRECT_MAP_LEVEL2_SPLIT = 50, + DIRECT_MAP_LEVEL3_SPLIT = 51, + NR_VM_EVENT_ITEMS = 52, }; enum vm_fault_reason { @@ -10090,6 +11140,18 @@ enum vm_fault_reason { VM_FAULT_HINDEX_MASK = 983040, }; +enum vma_merge_flags { + VMG_FLAG_DEFAULT = 0, + VMG_FLAG_JUST_EXPAND = 1, +}; + +enum vma_merge_state { + VMA_MERGE_START = 0, + VMA_MERGE_ERROR_NOMEM = 1, + VMA_MERGE_NOMERGE = 2, + VMA_MERGE_SUCCESS = 3, +}; + enum vmscan_throttle_state { VMSCAN_THROTTLE_WRITEBACK = 0, VMSCAN_THROTTLE_ISOLATED = 1, @@ -10154,6 +11216,56 @@ enum which_selector { GS = 1, }; +enum work_bits { + WORK_STRUCT_PENDING_BIT = 0, + WORK_STRUCT_INACTIVE_BIT = 1, + WORK_STRUCT_PWQ_BIT = 2, + WORK_STRUCT_LINKED_BIT = 3, + WORK_STRUCT_FLAG_BITS = 4, + WORK_STRUCT_COLOR_SHIFT = 4, + WORK_STRUCT_COLOR_BITS = 4, + WORK_STRUCT_PWQ_SHIFT = 8, + WORK_OFFQ_FLAG_SHIFT = 4, + WORK_OFFQ_BH_BIT = 4, + WORK_OFFQ_FLAG_END = 5, + WORK_OFFQ_FLAG_BITS = 1, + WORK_OFFQ_DISABLE_SHIFT = 5, + WORK_OFFQ_DISABLE_BITS = 16, + WORK_OFFQ_POOL_SHIFT = 21, + WORK_OFFQ_LEFT = 43, + WORK_OFFQ_POOL_BITS = 31, +}; + +enum work_cancel_flags { + WORK_CANCEL_DELAYED = 1, + WORK_CANCEL_DISABLE = 2, +}; + +enum work_flags { + WORK_STRUCT_PENDING = 1, + WORK_STRUCT_INACTIVE = 2, + WORK_STRUCT_PWQ = 4, + WORK_STRUCT_LINKED = 8, + WORK_STRUCT_STATIC = 0, +}; + +enum worker_flags { + WORKER_DIE = 2, + WORKER_IDLE = 4, + WORKER_PREP = 8, + WORKER_CPU_INTENSIVE = 64, + WORKER_UNBOUND = 128, + WORKER_REBOUND = 256, + WORKER_NOT_RUNNING = 456, +}; + +enum worker_pool_flags { + POOL_BH = 1, + POOL_MANAGER_ACTIVE = 2, + POOL_DISASSOCIATED = 4, + POOL_BH_DRAINING = 8, +}; + enum wq_affn_scope { WQ_AFFN_DFL = 0, WQ_AFFN_CPU = 1, @@ -10164,6 +11276,52 @@ enum wq_affn_scope { WQ_AFFN_NR_TYPES = 6, }; +enum wq_consts { + WQ_MAX_ACTIVE = 2048, + WQ_UNBOUND_MAX_ACTIVE = 2048, + WQ_DFL_ACTIVE = 1024, + WQ_DFL_MIN_ACTIVE = 8, +}; + +enum wq_flags { + WQ_BH = 1, + WQ_UNBOUND = 2, + WQ_FREEZABLE = 4, + WQ_MEM_RECLAIM = 8, + WQ_HIGHPRI = 16, + WQ_CPU_INTENSIVE = 32, + WQ_SYSFS = 64, + WQ_POWER_EFFICIENT = 128, + __WQ_DESTROYING = 32768, + __WQ_DRAINING = 65536, + __WQ_ORDERED = 131072, + __WQ_LEGACY = 262144, + __WQ_BH_ALLOWS = 17, +}; + +enum wq_internal_consts { + NR_STD_WORKER_POOLS = 2, + UNBOUND_POOL_HASH_ORDER = 6, + BUSY_WORKER_HASH_ORDER = 6, + MAX_IDLE_WORKERS_RATIO = 4, + IDLE_WORKER_TIMEOUT = 75000, + MAYDAY_INITIAL_TIMEOUT = 2, + MAYDAY_INTERVAL = 25, + CREATE_COOLDOWN = 250, + RESCUER_NICE_LEVEL = -20, + HIGHPRI_NICE_LEVEL = -20, + WQ_NAME_LEN = 32, + WORKER_ID_LEN = 42, +}; + +enum wq_misc_consts { + WORK_NR_COLORS = 16, + WORK_CPU_UNBOUND = 1, + WORK_BUSY_PENDING = 1, + WORK_BUSY_RUNNING = 2, + WORKER_DESC_LEN = 32, +}; + enum writeback_sync_modes { WB_SYNC_NONE = 0, WB_SYNC_ALL = 1, @@ -10178,6 +11336,17 @@ enum x86_hardware_subarch { X86_NR_SUBARCHS = 5, }; +enum x86_hypervisor_type { + X86_HYPER_NATIVE = 0, + X86_HYPER_VMWARE = 1, + X86_HYPER_MS_HYPERV = 2, + X86_HYPER_XEN_PV = 3, + X86_HYPER_XEN_HVM = 4, + X86_HYPER_KVM = 5, + X86_HYPER_JAILHOUSE = 6, + X86_HYPER_ACRN = 7, +}; + enum x86_intercept_stage; enum x86_legacy_i8042_state { @@ -10195,6 +11364,7 @@ enum x86_pf_error_code { X86_PF_PK = 32, X86_PF_SHSTK = 64, X86_PF_SGX = 32768, + X86_PF_RMP = 2147483648, }; enum x86_regset_32 { @@ -10214,6 +11384,23 @@ enum x86_regset_64 { REGSET64_SSP = 4, }; +enum x86_topology_cpu_type { + TOPO_CPU_TYPE_PERFORMANCE = 0, + TOPO_CPU_TYPE_EFFICIENCY = 1, + TOPO_CPU_TYPE_UNKNOWN = 2, +}; + +enum x86_topology_domains { + TOPO_SMT_DOMAIN = 0, + TOPO_CORE_DOMAIN = 1, + TOPO_MODULE_DOMAIN = 2, + TOPO_TILE_DOMAIN = 3, + TOPO_DIE_DOMAIN = 4, + TOPO_DIEGRP_DOMAIN = 5, + TOPO_PKG_DOMAIN = 6, + TOPO_MAX_DOMAIN = 7, +}; + enum xa_lock_type { XA_LOCK_IRQ = 1, XA_LOCK_BH = 2, @@ -10249,6 +11436,7 @@ enum xdp_rss_hash_type { XDP_RSS_L4_UDP = 32, XDP_RSS_L4_SCTP = 64, XDP_RSS_L4_IPSEC = 128, + XDP_RSS_L4_ICMP = 256, XDP_RSS_TYPE_NONE = 0, XDP_RSS_TYPE_L2 = 0, XDP_RSS_TYPE_L3_IPV4 = 1, @@ -10260,15 +11448,24 @@ enum xdp_rss_hash_type { XDP_RSS_TYPE_L4_IPV4_UDP = 41, XDP_RSS_TYPE_L4_IPV4_SCTP = 73, XDP_RSS_TYPE_L4_IPV4_IPSEC = 137, + XDP_RSS_TYPE_L4_IPV4_ICMP = 265, XDP_RSS_TYPE_L4_IPV6_TCP = 26, XDP_RSS_TYPE_L4_IPV6_UDP = 42, XDP_RSS_TYPE_L4_IPV6_SCTP = 74, XDP_RSS_TYPE_L4_IPV6_IPSEC = 138, + XDP_RSS_TYPE_L4_IPV6_ICMP = 266, XDP_RSS_TYPE_L4_IPV6_TCP_EX = 30, XDP_RSS_TYPE_L4_IPV6_UDP_EX = 46, XDP_RSS_TYPE_L4_IPV6_SCTP_EX = 78, }; +enum xdp_rx_metadata { + XDP_METADATA_KFUNC_RX_TIMESTAMP = 0, + XDP_METADATA_KFUNC_RX_HASH = 1, + XDP_METADATA_KFUNC_RX_VLAN_TAG = 2, + MAX_XDP_METADATA_KFUNC = 3, +}; + enum xen_domain_type { XEN_NATIVE = 0, XEN_PV_DOMAIN = 1, @@ -10332,7 +11529,16 @@ enum xfrm_attr_type_t { XFRMA_SET_MARK_MASK = 30, XFRMA_IF_ID = 31, XFRMA_MTIMER_THRESH = 32, - __XFRMA_MAX = 33, + XFRMA_SA_DIR = 33, + XFRMA_NAT_KEEPALIVE_INTERVAL = 34, + XFRMA_SA_PCPU = 35, + XFRMA_IPTFS_DROP_TIME = 36, + XFRMA_IPTFS_REORDER_WINDOW = 37, + XFRMA_IPTFS_DONT_FRAG = 38, + XFRMA_IPTFS_INIT_DELAY = 39, + XFRMA_IPTFS_MAX_QSIZE = 40, + XFRMA_IPTFS_PKT_SIZE = 41, + __XFRMA_MAX = 42, }; enum xfrm_replay_mode { @@ -10350,6 +11556,7 @@ enum xstate_copy_mode { enum zone_flags { ZONE_BOOSTED_WATERMARK = 0, ZONE_RECLAIM_ACTIVE = 1, + ZONE_BELOW_HIGH = 2, }; enum zone_stat_item { @@ -10404,6 +11611,8 @@ typedef int __kernel_timer_t; typedef int __s32; +typedef int class_get_unused_fd_t; + typedef __kernel_clockid_t clockid_t; typedef __s32 s32; @@ -10412,6 +11621,10 @@ typedef s32 compat_int_t; typedef s32 compat_ssize_t; +typedef int folio_walk_flags_t; + +typedef int fpb_t; + typedef int fpi_t; typedef int initcall_entry_t; @@ -10508,6 +11721,8 @@ typedef u64 hfn_t; typedef u64 hpa_t; +typedef u64 io_req_flags_t; + typedef hfn_t kvm_pfn_t; typedef u64 netdev_features_t; @@ -10536,6 +11751,8 @@ typedef long unsigned int irq_hw_number_t; typedef long unsigned int kernel_ulong_t; +typedef long unsigned int netmem_ref; + typedef long unsigned int old_sigset_t; typedef long unsigned int p4dval_t; @@ -10588,14 +11805,10 @@ typedef __kernel_sa_family_t sa_family_t; typedef __u16 u16; -typedef u16 u_int16_t; - typedef u16 uint16_t; typedef short unsigned int umode_t; -typedef short unsigned int ushort; - typedef signed char __s8; typedef __s8 s8; @@ -10614,8 +11827,6 @@ typedef unsigned char insn_byte_t; typedef u8 kprobe_opcode_t; -typedef __u8 mtrr_type; - typedef u8 u_int8_t; typedef u8 uint8_t; @@ -10650,6 +11861,10 @@ typedef __u32 __portpair; typedef __u32 __wsum; +typedef unsigned int blk_features_t; + +typedef unsigned int blk_flags_t; + typedef unsigned int blk_mode_t; typedef __u32 blk_opf_t; @@ -10676,6 +11891,8 @@ typedef unsigned int fgf_t; typedef unsigned int fmode_t; +typedef unsigned int fop_flags_t; + typedef unsigned int gfp_t; typedef __kernel_gid32_t gid_t; @@ -10684,8 +11901,6 @@ typedef unsigned int insn_attr_t; typedef unsigned int iov_iter_extraction_t; -typedef unsigned int isolate_mode_t; - typedef unsigned int kasan_vmalloc_flags_t; typedef unsigned int pci_channel_state_t; @@ -10698,6 +11913,8 @@ typedef unsigned int pgtbl_mod_mask; typedef u32 phandle; +typedef unsigned int pipe_index_t; + typedef __kernel_uid32_t projid_t; typedef unsigned int sk_buff_data_t; @@ -10712,8 +11929,6 @@ typedef unsigned int tcflag_t; typedef unsigned int u_int; -typedef u32 u_int32_t; - typedef __kernel_uid32_t uid_t; typedef unsigned int uint; @@ -10765,6 +11980,30 @@ typedef struct { unsigned int timeout; } cisco_proto; +typedef struct { + void *lock; +} class_cpus_read_lock_t; + +struct rq; + +typedef struct { + struct rq *lock; + struct rq *lock2; +} class_double_rq_lock_t; + +typedef struct { + void *lock; + long unsigned int flags; +} class_irqsave_t; + +typedef struct { + void *lock; +} class_jump_label_lock_t; + +typedef struct { + void *lock; +} class_preempt_notrace_t; + typedef struct { void *lock; } class_preempt_t; @@ -10773,11 +12012,75 @@ struct raw_spinlock; typedef struct raw_spinlock raw_spinlock_t; +typedef struct { + raw_spinlock_t *lock; +} class_raw_spinlock_irq_t; + typedef struct { raw_spinlock_t *lock; long unsigned int flags; } class_raw_spinlock_irqsave_t; +typedef struct { + raw_spinlock_t *lock; +} class_raw_spinlock_t; + +typedef struct { + void *lock; +} class_rcu_t; + +typedef struct { + void *lock; +} class_rcu_tasks_trace_t; + +struct pin_cookie {}; + +struct rq_flags { + long unsigned int flags; + struct pin_cookie cookie; +}; + +typedef struct { + struct rq *lock; + struct rq_flags rf; +} class_rq_lock_t; + +struct spinlock; + +typedef struct spinlock spinlock_t; + +typedef struct { + spinlock_t *lock; + long unsigned int flags; +} class_spinlock_irqsave_t; + +typedef struct { + spinlock_t *lock; +} class_spinlock_t; + +struct srcu_struct; + +typedef struct { + struct srcu_struct *lock; + int idx; +} class_srcu_t; + +struct task_struct; + +typedef struct { + struct task_struct *lock; + struct rq *rq; + struct rq_flags rf; +} class_task_rq_lock_t; + +typedef struct { + arch_rwlock_t raw_lock; +} rwlock_t; + +typedef struct { + rwlock_t *lock; +} class_write_lock_irq_t; + typedef __kernel_fd_set fd_set; typedef struct { @@ -10789,6 +12092,10 @@ typedef struct { long unsigned int *res_ex; } fd_set_bits; +typedef struct { + atomic64_t refcnt; +} file_ref_t; + typedef struct { unsigned int t391; unsigned int t392; @@ -10828,24 +12135,19 @@ typedef struct { long unsigned int key[2]; } hsiphash_key_t; -typedef struct { - long unsigned int pd; -} hugepd_t; - typedef struct { unsigned int __nmi_count; unsigned int apic_timer_irqs; unsigned int irq_spurious_count; unsigned int icr_read_retry_count; - unsigned int kvm_posted_intr_ipis; - unsigned int kvm_posted_intr_wakeup_ipis; - unsigned int kvm_posted_intr_nested_ipis; unsigned int x86_platform_ipis; unsigned int apic_perf_irqs; unsigned int apic_irq_work_irqs; unsigned int irq_tlb_count; long: 64; long: 64; + long: 64; + long: 64; } irq_cpustat_t; typedef struct { @@ -10896,6 +12198,7 @@ struct vdso_image; typedef struct { u64 ctx_id; atomic64_t tlb_gen; + long unsigned int next_trim_cpumask; long unsigned int flags; struct mutex lock; void *vdso; @@ -10961,10 +12264,6 @@ typedef struct { typedef union { } release_pages_arg; -typedef struct { - arch_rwlock_t raw_lock; -} rwlock_t; - struct seqcount { unsigned int sequence; }; @@ -10987,8 +12286,6 @@ struct spinlock { }; }; -typedef struct spinlock spinlock_t; - typedef struct { seqcount_spinlock_t seqcount; spinlock_t lock; @@ -11158,8 +12455,6 @@ struct hlist_node { struct hlist_node **pprev; }; -struct net_rate_estimator; - struct refcount_struct { atomic_t refs; }; @@ -11213,12 +12508,16 @@ struct callback_head { void (*func)(struct callback_head *); }; +struct lock_class_key {}; + struct Qdisc_ops; struct qdisc_size_table; struct netdev_queue; +struct net_rate_estimator; + struct Qdisc { int (*enqueue)(struct sk_buff *, struct Qdisc *, struct sk_buff **); struct sk_buff * (*dequeue)(struct Qdisc *); @@ -11240,6 +12539,7 @@ struct Qdisc { long: 64; struct gnet_stats_basic_sync bstats; struct gnet_stats_queue qstats; + int owner; long unsigned int state; long unsigned int state2; struct Qdisc *next_sched; @@ -11248,6 +12548,7 @@ struct Qdisc { spinlock_t seqlock; struct callback_head rcu; netdevice_tracker dev_tracker; + struct lock_class_key root_lock_key; long: 64; long: 64; long: 64; @@ -11314,6 +12615,65 @@ struct Qdisc_ops { struct module *owner; }; +struct fred_cs { + u64 cs: 16; + u64 sl: 2; + u64 wfe: 1; +}; + +struct fred_ss { + u64 ss: 16; + u64 sti: 1; + u64 swevent: 1; + u64 nmi: 1; + int: 13; + u64 vector: 8; + short: 8; + u64 type: 4; + char: 4; + u64 enclave: 1; + u64 lm: 1; + u64 nested: 1; + char: 1; + u64 insnlen: 4; +}; + +struct pt_regs { + long unsigned int r15; + long unsigned int r14; + long unsigned int r13; + long unsigned int r12; + long unsigned int bp; + long unsigned int bx; + long unsigned int r11; + long unsigned int r10; + long unsigned int r9; + long unsigned int r8; + long unsigned int ax; + long unsigned int cx; + long unsigned int dx; + long unsigned int si; + long unsigned int di; + long unsigned int orig_ax; + long unsigned int ip; + union { + u16 cs; + u64 csx; + struct fred_cs fred_cs; + }; + long unsigned int flags; + long unsigned int sp; + union { + u16 ss; + u64 ssx; + struct fred_ss fred_ss; + }; +}; + +struct __arch_ftrace_regs { + struct pt_regs regs; +}; + struct __arch_relative_insn { u8 op; s32 raddr; @@ -11348,6 +12708,7 @@ struct tracepoint; struct __find_tracepoint_cb_data { const char *tp_name; struct tracepoint *tpoint; + struct module *mod; }; struct genradix_root; @@ -11783,11 +13144,11 @@ struct address_space { long unsigned int writeback_index; const struct address_space_operations *a_ops; long unsigned int flags; - struct rw_semaphore i_mmap_rwsem; errseq_t wb_err; - spinlock_t private_lock; - struct list_head private_list; - void *private_data; + spinlock_t i_private_lock; + struct list_head i_private_list; + struct rw_semaphore i_mmap_rwsem; + void *i_private_data; }; struct page; @@ -11812,8 +13173,8 @@ struct address_space_operations { int (*writepages)(struct address_space *, struct writeback_control *); bool (*dirty_folio)(struct address_space *, struct folio *); void (*readahead)(struct readahead_control *); - int (*write_begin)(struct file *, struct address_space *, loff_t, unsigned int, struct page **, void **); - int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct page *, void *); + int (*write_begin)(struct file *, struct address_space *, loff_t, unsigned int, struct folio **, void **); + int (*write_end)(struct file *, struct address_space *, loff_t, unsigned int, unsigned int, struct folio *, void *); sector_t (*bmap)(struct address_space *, sector_t); void (*invalidate_folio)(struct folio *, size_t, size_t); bool (*release_folio)(struct folio *, gfp_t); @@ -11823,7 +13184,7 @@ struct address_space_operations { int (*launder_folio)(struct folio *); bool (*is_partially_uptodate)(struct folio *, size_t, size_t); void (*is_dirty_writeback)(struct folio *, bool *, bool *); - int (*error_remove_page)(struct address_space *, struct page *); + int (*error_remove_folio)(struct address_space *, struct folio *); int (*swap_activate)(struct swap_info_struct *, struct file *, sector_t *); void (*swap_deactivate)(struct file *); int (*swap_rw)(struct kiocb *, struct iov_iter *); @@ -11851,6 +13212,29 @@ struct aggregate_device { struct component_match *match; }; +typedef void (*crypto_completion_t)(void *, int); + +struct crypto_tfm; + +struct crypto_async_request { + struct list_head list; + crypto_completion_t complete; + void *data; + struct crypto_tfm *tfm; + u32 flags; +}; + +struct scatterlist; + +struct ahash_request { + struct crypto_async_request base; + unsigned int nbytes; + struct scatterlist *src; + u8 *result; + void *priv; + void *__ctx[0]; +}; + struct rb_node { long unsigned int __rb_parent_color; struct rb_node *rb_right; @@ -11878,7 +13262,7 @@ struct hrtimer { struct alarm { struct timerqueue_node node; struct hrtimer timer; - enum alarmtimer_restart (*function)(struct alarm *, ktime_t); + void (*function)(struct alarm *, ktime_t); enum alarmtimer_type type; int state; void *data; @@ -11893,7 +13277,7 @@ struct timespec64; struct alarm_base { spinlock_t lock; struct timerqueue_head timerqueue; - ktime_t (*get_ktime)(); + ktime_t (*get_ktime)(void); void (*get_timespec)(struct timespec64 *); clockid_t base_clockid; }; @@ -11911,6 +13295,26 @@ struct alloc_context { bool spread_dirty_pages; }; +struct codetag { + unsigned int flags; + unsigned int lineno; + const char *modname; + const char *function; + const char *filename; +}; + +struct alloc_tag_counters; + +struct alloc_tag { + struct codetag ct; + struct alloc_tag_counters *counters; +}; + +struct alloc_tag_counters { + u64 bytes; + u64 calls; +}; + struct alt_instr { s32 instr_offset; s32 repl_offset; @@ -11954,14 +13358,11 @@ struct amd_nb { struct pci_dev; -struct threshold_bank; - struct amd_northbridge { struct pci_dev *root; struct pci_dev *misc; struct pci_dev *link; struct amd_l3_cache l3_cache; - struct threshold_bank *bank4; }; struct attribute_group; @@ -12060,43 +13461,34 @@ struct aperfmperf { u64 mperf; }; -struct physid_mask; - -typedef struct physid_mask physid_mask_t; - struct apic { - void (*eoi)(); - void (*native_eoi)(); + void (*eoi)(void); + void (*native_eoi)(void); void (*write)(u32, u32); u32 (*read)(u32); - void (*wait_icr_idle)(); - u32 (*safe_wait_icr_idle)(); + void (*wait_icr_idle)(void); + u32 (*safe_wait_icr_idle)(void); void (*send_IPI)(int, int); void (*send_IPI_mask)(const struct cpumask *, int); void (*send_IPI_mask_allbutself)(const struct cpumask *, int); void (*send_IPI_allbutself)(int); void (*send_IPI_all)(int); void (*send_IPI_self)(int); - enum apic_delivery_modes delivery_mode; u32 disable_esr: 1; u32 dest_mode_logical: 1; u32 x2apic_set_max_apicid: 1; + u32 nmi_to_offline_cpu: 1; u32 (*calc_dest_apicid)(unsigned int); - u64 (*icr_read)(); + u64 (*icr_read)(void); void (*icr_write)(u32, u32); u32 max_apic_id; - int (*probe)(); + int (*probe)(void); int (*acpi_madt_oem_check)(char *, char *); - bool (*apic_id_registered)(); - bool (*check_apicid_used)(physid_mask_t *, int); - void (*init_apic_ldr)(); - void (*ioapic_phys_id_map)(physid_mask_t *, physid_mask_t *); - int (*cpu_present_to_apicid)(int); - int (*phys_pkg_id)(int, int); - u32 (*get_apic_id)(long unsigned int); - u32 (*set_apic_id)(unsigned int); - int (*wakeup_secondary_cpu)(int, long unsigned int); - int (*wakeup_secondary_cpu_64)(int, long unsigned int); + void (*init_apic_ldr)(void); + u32 (*cpu_present_to_apicid)(int); + u32 (*get_apic_id)(u32); + int (*wakeup_secondary_cpu)(u32, long unsigned int); + int (*wakeup_secondary_cpu_64)(u32, long unsigned int); char *name; }; @@ -12125,8 +13517,8 @@ union apic_ir { }; struct apic_override { - void (*eoi)(); - void (*native_eoi)(); + void (*eoi)(void); + void (*native_eoi)(void); void (*write)(u32, u32); u32 (*read)(u32); void (*send_IPI)(int, int); @@ -12135,10 +13527,10 @@ struct apic_override { void (*send_IPI_allbutself)(int); void (*send_IPI_all)(int); void (*send_IPI_self)(int); - u64 (*icr_read)(); + u64 (*icr_read)(void); void (*icr_write)(u32, u32); - int (*wakeup_secondary_cpu)(int, long unsigned int); - int (*wakeup_secondary_cpu_64)(int, long unsigned int); + int (*wakeup_secondary_cpu)(u32, long unsigned int); + int (*wakeup_secondary_cpu_64)(u32, long unsigned int); }; struct apm_bios_info { @@ -12202,8 +13594,6 @@ struct arch_optimized_insn { struct kprobe; -struct pt_regs; - struct arch_specific_insn { kprobe_opcode_t *insn; unsigned int boostable: 1; @@ -12265,7 +13655,7 @@ struct arch_uprobe_task { unsigned int saved_tf; }; -struct arch_vdso_data {}; +struct arch_vdso_time_data {}; struct net; @@ -12309,10 +13699,10 @@ struct arpreq { char arp_dev[16]; }; -struct trace_buffer; - struct trace_array; +struct trace_buffer; + struct trace_array_cpu; struct array_buffer { @@ -12369,9 +13759,13 @@ struct bin_attribute; struct attribute_group { const char *name; umode_t (*is_visible)(struct kobject *, struct attribute *, int); - umode_t (*is_bin_visible)(struct kobject *, struct bin_attribute *, int); + umode_t (*is_bin_visible)(struct kobject *, const struct bin_attribute *, int); + size_t (*bin_size)(struct kobject *, const struct bin_attribute *, int); struct attribute **attrs; - struct bin_attribute **bin_attrs; + union { + struct bin_attribute **bin_attrs; + const struct bin_attribute * const *bin_attrs_new; + }; }; struct audit_ntp_data {}; @@ -12427,7 +13821,6 @@ struct bdi_writeback { struct list_head work_list; struct delayed_work dwork; struct delayed_work bw_dwork; - long unsigned int dirty_sleep; struct list_head bdi_node; }; @@ -12443,6 +13836,7 @@ struct backing_dev_info { unsigned int max_ratio; unsigned int max_prop_frac; atomic_long_t tot_write_bandwidth; + long unsigned int last_bdp_sleep; struct bdi_writeback wb; struct list_head wb_list; wait_queue_head_t wb_waitq; @@ -12452,15 +13846,13 @@ struct backing_dev_info { struct timer_list laptop_mode_wb_timer; }; -struct pid; +struct vfsmount; -struct fown_struct { - rwlock_t lock; - struct pid *pid; - enum pid_type pid_type; - kuid_t uid; - kuid_t euid; - int signum; +struct dentry; + +struct path { + struct vfsmount *mnt; + struct dentry *dentry; }; struct file_ra_state { @@ -12472,47 +13864,46 @@ struct file_ra_state { loff_t prev_pos; }; -struct vfsmount; - -struct dentry; - -struct path { - struct vfsmount *mnt; - struct dentry *dentry; -}; +struct file_operations; struct cred; -struct file_operations; +struct fown_struct; struct file { - union { - struct llist_node f_llist; - struct callback_head f_rcuhead; - unsigned int f_iocb_flags; - }; + file_ref_t f_ref; spinlock_t f_lock; fmode_t f_mode; - atomic_long_t f_count; - struct mutex f_pos_lock; - loff_t f_pos; + const struct file_operations *f_op; + struct address_space *f_mapping; + void *private_data; + struct inode *f_inode; unsigned int f_flags; - struct fown_struct f_owner; + unsigned int f_iocb_flags; const struct cred *f_cred; - struct file_ra_state f_ra; struct path f_path; - struct inode *f_inode; - const struct file_operations *f_op; - u64 f_version; - void *private_data; - struct address_space *f_mapping; + union { + struct mutex f_pos_lock; + u64 f_pipe; + }; + loff_t f_pos; + struct fown_struct *f_owner; errseq_t f_wb_err; errseq_t f_sb_err; + union { + struct callback_head f_task_work; + struct llist_node f_llist; + struct file_ra_state f_ra; + freeptr_t f_freeptr; + }; }; struct backing_file { struct file file; - struct path real_path; + union { + struct path user_path; + freeptr_t bf_freeptr; + }; }; struct bpf_verifier_env; @@ -12524,8 +13915,6 @@ struct backtrack_state { u64 stack_masks[8]; }; -struct rq; - struct balance_callback { struct balance_callback *next; void (*func)(struct rq *); @@ -12591,10 +13980,13 @@ struct bin_attribute { struct attribute attr; size_t size; void *private; - struct address_space * (*f_mapping)(); + struct address_space * (*f_mapping)(void); ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t); + ssize_t (*read_new)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t); ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *, char *, loff_t, size_t); - int (*mmap)(struct file *, struct kobject *, struct bin_attribute *, struct vm_area_struct *); + ssize_t (*write_new)(struct file *, struct kobject *, const struct bin_attribute *, char *, loff_t, size_t); + loff_t (*llseek)(struct file *, struct kobject *, const struct bin_attribute *, loff_t, int); + int (*mmap)(struct file *, struct kobject *, const struct bin_attribute *, struct vm_area_struct *); }; struct bvec_iter { @@ -12624,13 +14016,16 @@ struct bio { blk_opf_t bi_opf; short unsigned int bi_flags; short unsigned int bi_ioprio; + enum rw_hint bi_write_hint; blk_status_t bi_status; atomic_t __bi_remaining; struct bvec_iter bi_iter; - blk_qc_t bi_cookie; + union { + blk_qc_t bi_cookie; + unsigned int __bi_nr_segments; + }; bio_end_io_t *bi_end_io; void *bi_private; - union {}; short unsigned int bi_vcnt; short unsigned int bi_max_vecs; atomic_t __bi_cnt; @@ -12679,8 +14074,6 @@ struct bio_set { struct hlist_node cpuhp_dead; }; -typedef struct bio_vec skb_frag_t; - struct blacklist_entry { struct list_head next; char *buf; @@ -12698,6 +14091,8 @@ struct blake2s_state { struct blk_holder_ops { void (*mark_dead)(struct block_device *, bool); void (*sync)(struct block_device *); + int (*freeze)(struct block_device *); + int (*thaw)(struct block_device *); }; struct kset; @@ -12734,6 +14129,15 @@ struct blk_independent_access_ranges { struct blk_independent_access_range ia_range[0]; }; +struct blk_integrity { + unsigned char flags; + enum blk_integrity_checksum csum_type; + unsigned char tuple_size; + unsigned char pi_offset; + unsigned char interval_exp; + unsigned char tag_size; +}; + struct blk_plug {}; struct blk_zone { @@ -12770,8 +14174,8 @@ struct dev_pm_qos; struct dev_pm_info { pm_message_t power_state; - unsigned int can_wakeup: 1; - unsigned int async_suspend: 1; + bool can_wakeup: 1; + bool async_suspend: 1; bool in_dpm_list: 1; bool is_prepared: 1; bool is_suspended: 1; @@ -12782,7 +14186,7 @@ struct dev_pm_info { bool direct_complete: 1; u32 driver_flags; spinlock_t lock; - unsigned int should_wakeup: 1; + bool should_wakeup: 1; struct pm_subsys_data *subsys_data; void (*set_latency_tolerance)(struct device *, s32); struct dev_pm_qos *qos; @@ -12859,14 +14263,13 @@ struct device { bool of_node_reused: 1; bool state_synced: 1; bool can_match: 1; + bool dma_skip_sync: 1; }; struct gendisk; struct request_queue; -struct super_block; - struct partition_meta_info; struct block_device { @@ -12876,24 +14279,21 @@ struct block_device { struct request_queue *bd_queue; struct disk_stats *bd_stats; long unsigned int bd_stamp; - bool bd_read_only; - u8 bd_partno; - bool bd_write_holder; - bool bd_has_submit_bio; + atomic_t __bd_flags; dev_t bd_dev; + struct address_space *bd_mapping; atomic_t bd_openers; spinlock_t bd_size_lock; - struct inode *bd_inode; void *bd_claiming; void *bd_holder; const struct blk_holder_ops *bd_holder_ops; struct mutex bd_holder_lock; - int bd_fsfreeze_count; int bd_holders; struct kobject *bd_holder_dir; + atomic_t bd_fsfreeze_count; struct mutex bd_fsfreeze_mutex; - struct super_block *bd_fsfreeze_sb; struct partition_meta_info *bd_meta_info; + int bd_writers; struct device bd_device; }; @@ -13227,17 +14627,14 @@ struct bp_patching_desc { atomic_t refs; }; -struct bpf_active_lock { - void *ptr; - u32 id; -}; - struct bpf_map_ops; struct btf_record; struct btf; +struct btf_type; + struct bpf_map { const struct bpf_map_ops *ops; struct bpf_map *inner_map_meta; @@ -13255,16 +14652,16 @@ struct bpf_map { u32 btf_vmlinux_value_type_id; struct btf *btf; char name[16]; - long: 64; - long: 64; - long: 64; - long: 64; + struct mutex freeze_mutex; atomic64_t refcnt; atomic64_t usercnt; - struct work_struct work; - struct mutex freeze_mutex; + union { + struct work_struct work; + struct callback_head rcu; + }; atomic64_t writecnt; struct { + const struct btf_type *attach_func_proto; spinlock_t lock; enum bpf_prog_type type; bool jited; @@ -13272,10 +14669,27 @@ struct bpf_map { } owner; bool bypass_spec_v1; bool frozen; + bool free_after_mult_rcu_gp; + bool free_after_rcu_gp; + atomic64_t sleepable_refcnt; s64 *elem_count; - long: 64; - long: 64; - long: 64; +}; + +struct range_tree { + struct rb_root_cached it_root; + struct rb_root_cached range_size_root; +}; + +struct vm_struct; + +struct bpf_arena { + struct bpf_map map; + u64 user_vm_start; + u64 user_vm_end; + struct vm_struct *kern_vm; + struct range_tree rt; + struct list_head vma_list; + struct mutex lock; }; struct bpf_array_aux; @@ -13299,12 +14713,6 @@ struct bpf_array { void *pptrs[0]; }; }; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_array_aux { @@ -13314,6 +14722,37 @@ struct bpf_array_aux { struct work_struct work; }; +struct bpf_prog; + +struct bpf_async_cb { + struct bpf_map *map; + struct bpf_prog *prog; + void *callback_fn; + void *value; + union { + struct callback_head rcu; + struct work_struct delete_work; + }; + u64 flags; +}; + +struct bpf_spin_lock { + __u32 val; +}; + +struct bpf_hrtimer; + +struct bpf_work; + +struct bpf_async_kern { + union { + struct bpf_async_cb *cb; + struct bpf_hrtimer *timer; + struct bpf_work *work; + }; + struct bpf_spin_lock lock; +}; + struct btf_func_model { u8 ret_size; u8 ret_flags; @@ -13322,8 +14761,6 @@ struct btf_func_model { u8 arg_flags[12]; }; -struct btf_type; - struct bpf_attach_target_info { struct btf_func_model fmodel; long int tgt_addr; @@ -13348,6 +14785,8 @@ union bpf_attr { __u32 btf_value_type_id; __u32 btf_vmlinux_value_type_id; __u64 map_extra; + __s32 value_type_btf_obj_fd; + __s32 map_token_fd; }; struct { __u32 map_fd; @@ -13398,6 +14837,8 @@ union bpf_attr { __u64 core_relos; __u32 core_relo_rec_size; __u32 log_true_size; + __s32 prog_token_fd; + __u32 fd_array_cnt; }; struct { __u64 pathname; @@ -13474,6 +14915,7 @@ union bpf_attr { struct { __u64 name; __u32 prog_fd; + __u64 cookie; } raw_tracepoint; struct { __u64 btf; @@ -13482,6 +14924,8 @@ union bpf_attr { __u32 btf_log_size; __u32 btf_log_level; __u32 btf_log_true_size; + __u32 btf_flags; + __s32 btf_token_fd; }; struct { __u32 pid; @@ -13547,6 +14991,13 @@ union bpf_attr { __u32 flags; __u32 pid; } uprobe_multi; + struct { + union { + __u32 relative_fd; + __u32 relative_id; + }; + __u64 expected_revision; + } netkit; }; } link_create; struct { @@ -13576,6 +15027,10 @@ union bpf_attr { __u32 map_fd; __u32 flags; } prog_bind_map; + struct { + __u32 flags; + __u32 bpffs_fd; + } token_create; }; struct bpf_binary_header { @@ -13590,12 +15045,6 @@ struct bpf_bloom_filter { u32 hash_seed; u32 nr_hash_funcs; long unsigned int bitset[0]; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_bprintf_buffers { @@ -13640,6 +15089,7 @@ struct bpf_call_arg_meta { u32 ret_btf_id; u32 subprogno; struct btf_field *kptr_field; + s64 const_map_key; }; struct bpf_cand_cache { @@ -13735,13 +15185,6 @@ struct bpf_cpu_map_entry; struct bpf_cpu_map { struct bpf_map map; struct bpf_cpu_map_entry **cpu_map; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_cpumap_val { @@ -13772,10 +15215,6 @@ struct xdp_bulk_queue; struct ptr_ring; -struct task_struct; - -struct bpf_prog; - struct bpf_cpu_map_entry { u32 cpu; int map_id; @@ -13798,6 +15237,7 @@ struct bpf_cpumask { struct bpf_ctx_arg_aux { u32 offset; enum bpf_reg_type reg_type; + struct btf *btf; u32 btf_id; }; @@ -13817,10 +15257,7 @@ struct sk_buff { struct list_head list; struct llist_node ll_node; }; - union { - struct sock *sk; - int ip_defrag_offset; - }; + struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; @@ -13856,7 +15293,7 @@ struct sk_buff { __u8 ip_summed: 2; __u8 ooo_okay: 1; __u8 __mono_tc_offset[0]; - __u8 mono_delivery_time: 1; + __u8 tstamp_type: 2; __u8 tc_at_ingress: 1; __u8 tc_skip_classify: 1; __u8 remcsum_offload: 1; @@ -13874,6 +15311,7 @@ struct sk_buff { __u8 ndisc_nodetype: 2; __u8 redirected: 1; __u8 slow_gro: 1; + __u8 unreadable: 1; __u16 tc_index; u16 alloc_cpu; union { @@ -13921,7 +15359,7 @@ struct sk_buff { __u8 ip_summed: 2; __u8 ooo_okay: 1; __u8 __mono_tc_offset[0]; - __u8 mono_delivery_time: 1; + __u8 tstamp_type: 2; __u8 tc_at_ingress: 1; __u8 tc_skip_classify: 1; __u8 remcsum_offload: 1; @@ -13939,6 +15377,7 @@ struct sk_buff { __u8 ndisc_nodetype: 2; __u8 redirected: 1; __u8 slow_gro: 1; + __u8 unreadable: 1; __u16 tc_index; u16 alloc_cpu; union { @@ -14139,30 +15578,6 @@ struct bpf_flow_dissector { const void *data_end; }; -struct pt_regs { - long unsigned int r15; - long unsigned int r14; - long unsigned int r13; - long unsigned int r12; - long unsigned int bp; - long unsigned int bx; - long unsigned int r11; - long unsigned int r10; - long unsigned int r9; - long unsigned int r8; - long unsigned int ax; - long unsigned int cx; - long unsigned int dx; - long unsigned int si; - long unsigned int di; - long unsigned int orig_ax; - long unsigned int ip; - long unsigned int cs; - long unsigned int flags; - long unsigned int sp; - long unsigned int ss; -}; - typedef struct pt_regs bpf_user_pt_regs_t; struct bpf_perf_event_data { @@ -14250,13 +15665,6 @@ struct bpf_sk_lookup_kern { bool no_reuseport; }; -struct nf_hook_state; - -struct bpf_nf_ctx { - const struct nf_hook_state *state; - struct sk_buff *skb; -}; - struct bpf_ctx_convert { struct __sk_buff BPF_PROG_TYPE_SOCKET_FILTER_prog; struct sk_buff BPF_PROG_TYPE_SOCKET_FILTER_kern; @@ -14304,8 +15712,6 @@ struct bpf_ctx_convert { void *BPF_PROG_TYPE_EXT_kern; void *BPF_PROG_TYPE_SYSCALL_prog; void *BPF_PROG_TYPE_SYSCALL_kern; - struct bpf_nf_ctx BPF_PROG_TYPE_NETFILTER_prog; - struct bpf_nf_ctx BPF_PROG_TYPE_NETFILTER_kern; }; struct bpf_devmap_val { @@ -14361,9 +15767,6 @@ struct bpf_dtab { spinlock_t index_lock; unsigned int items; u32 n_buckets; - long: 64; - long: 64; - long: 64; }; struct bpf_dtab_netdev { @@ -14393,8 +15796,7 @@ struct bpf_dummy_ops_test_args { }; struct bpf_dynptr { - long: 64; - long: 64; + __u64 __opaque[2]; }; struct bpf_dynptr_kern { @@ -14464,8 +15866,15 @@ struct bpf_fib_lookup { }; __u32 tbid; }; - __u8 smac[6]; - __u8 dmac[6]; + union { + struct { + __u32 mark; + }; + struct { + __u8 smac[6]; + __u8 dmac[6]; + }; + }; }; struct bpf_flow_keys { @@ -14501,6 +15910,8 @@ struct bpf_func_info { struct bpf_func_info_aux { u16 linkage; bool unreliable; + bool called: 1; + bool verified: 1; }; struct bpf_func_proto { @@ -14508,6 +15919,7 @@ struct bpf_func_proto { bool gpl_only; bool pkt_access; bool might_sleep; + bool allow_fastcall; enum bpf_return_type ret_type; union { struct { @@ -14597,7 +16009,10 @@ struct bpf_reg_state { bool precise; }; -struct bpf_reference_state; +struct bpf_retval_range { + s32 minval; + s32 maxval; +}; struct bpf_stack_state; @@ -14607,23 +16022,23 @@ struct bpf_func_state { u32 frameno; u32 subprogno; u32 async_entry_cnt; + struct bpf_retval_range callback_ret_range; bool in_callback_fn; - struct tnum callback_ret_range; bool in_async_callback_fn; - int acquired_refs; - struct bpf_reference_state *refs; - int allocated_stack; + bool in_exception_callback_fn; + u32 callback_depth; struct bpf_stack_state *stack; + int allocated_stack; }; struct bpf_hrtimer { + struct bpf_async_cb cb; struct hrtimer timer; - struct bpf_map *map; - struct bpf_prog *prog; - void *callback_fn; - void *value; + atomic_t cancelling; }; +struct obj_cgroup; + struct bpf_mem_caches; struct bpf_mem_cache; @@ -14631,6 +16046,8 @@ struct bpf_mem_cache; struct bpf_mem_alloc { struct bpf_mem_caches *caches; struct bpf_mem_cache *cache; + struct obj_cgroup *objcg; + bool percpu; struct work_struct work; }; @@ -14662,8 +16079,6 @@ struct bpf_lru { bool percpu; }; -struct lock_class_key {}; - struct bucket; struct htab_elem; @@ -14704,11 +16119,6 @@ struct bpf_idset { u32 ids[600]; }; -struct bpf_idx_pair { - u32 prev_idx; - u32 idx; -}; - struct bpf_insn { __u8 code; __u8 dst_reg: 4; @@ -14719,6 +16129,7 @@ struct bpf_insn { struct bpf_insn_access_aux { enum bpf_reg_type reg_type; + bool is_ldsx; union { int ctx_field_size; struct { @@ -14727,6 +16138,13 @@ struct bpf_insn_access_aux { }; }; struct bpf_verifier_log *log; + bool is_retval; +}; + +struct bpf_map_ptr_state { + struct bpf_map *map_ptr; + bool poison; + bool unpriv; }; struct bpf_loop_inline_state { @@ -14740,7 +16158,7 @@ struct btf_struct_meta; struct bpf_insn_aux_data { union { enum bpf_reg_type ptr_type; - long unsigned int map_ptr_state; + struct bpf_map_ptr_state map_ptr_state; s32 call_imm; u32 alu_limit; struct { @@ -14769,13 +16187,18 @@ struct bpf_insn_aux_data { u32 seen; bool sanitize_stack_spill; bool zext_dst; + bool needs_zext; bool storage_get_func_atomic; bool is_iter_next; + bool call_with_percpu_alloc_ptr; u8 alu_state; + u8 fastcall_pattern: 1; + u8 fastcall_spills_num: 3; unsigned int orig_idx; bool jmp_point; bool prune_point; bool force_checkpoint; + bool calls_callback; }; typedef void (*bpf_insn_print_t)(void *, const char *, ...); @@ -14791,6 +16214,13 @@ struct bpf_insn_cbs { void *private_data; }; +struct bpf_insn_hist_entry { + u32 idx; + u32 prev_idx: 22; + u32 flags: 10; + u64 linked_regs; +}; + struct bpf_iter_meta; struct bpf_link; @@ -14852,6 +16282,15 @@ struct bpf_iter__bpf_sk_storage_map { }; }; +struct bpf_iter__kmem_cache { + union { + struct bpf_iter_meta *meta; + }; + union { + struct kmem_cache *s; + }; +}; + struct kallsym_iter; struct bpf_iter__ksym { @@ -14929,6 +16368,27 @@ struct bpf_iter_aux_info { } task; }; +struct bpf_iter_bits { + __u64 __opaque[2]; +}; + +struct bpf_iter_bits_kern { + union { + __u64 *bits; + __u64 bits_copy; + }; + int nr_bits; + int bit; +}; + +struct bpf_iter_kmem_cache { + __u64 __opaque[1]; +}; + +struct bpf_iter_kmem_cache_kern { + struct kmem_cache *pos; +}; + struct bpf_link_ops; struct bpf_link { @@ -14937,7 +16397,11 @@ struct bpf_link { enum bpf_link_type type; const struct bpf_link_ops *ops; struct bpf_prog *prog; - struct work_struct work; + bool sleepable; + union { + struct callback_head rcu; + struct work_struct work; + }; }; struct bpf_iter_target_info; @@ -15107,6 +16571,61 @@ struct bpf_iter_target_info { u32 btf_id; }; +struct bpf_iter_task { + __u64 __opaque[3]; +}; + +struct bpf_iter_task_kern { + struct task_struct *task; + struct task_struct *pos; + unsigned int flags; +}; + +struct bpf_iter_task_vma { + __u64 __opaque[1]; +}; + +struct bpf_iter_task_vma_kern_data; + +struct bpf_iter_task_vma_kern { + struct bpf_iter_task_vma_kern_data *data; +}; + +struct maple_enode; + +struct maple_tree; + +struct maple_alloc; + +struct ma_state { + struct maple_tree *tree; + long unsigned int index; + long unsigned int last; + struct maple_enode *node; + long unsigned int min; + long unsigned int max; + struct maple_alloc *alloc; + enum maple_status status; + unsigned char depth; + unsigned char offset; + unsigned char mas_flags; + unsigned char end; + enum store_type store_type; +}; + +struct vma_iterator { + struct ma_state mas; +}; + +struct mmap_unlock_irq_work; + +struct bpf_iter_task_vma_kern_data { + struct task_struct *task; + struct mm_struct *mm; + struct mmap_unlock_irq_work *work; + struct vma_iterator vmi; +}; + struct bpf_jit_poke_descriptor { void *tailcall_target; void *tailcall_bypass; @@ -15169,6 +16688,10 @@ struct bpf_kfunc_call_arg_meta { u8 spi; u8 frameno; } iter; + struct { + struct bpf_map *ptr; + int uid; + } map; u64 mem_size; }; @@ -15185,49 +16708,23 @@ struct bpf_kfunc_desc_tab { u32 nr_descs; }; -struct ftrace_ops; +struct fprobe; struct ftrace_regs; -typedef void (*ftrace_func_t)(long unsigned int, long unsigned int, struct ftrace_ops *, struct ftrace_regs *); - -struct ftrace_hash; - -struct ftrace_ops_hash { - struct ftrace_hash *notrace_hash; - struct ftrace_hash *filter_hash; - struct mutex regex_lock; -}; +typedef int (*fprobe_entry_cb)(struct fprobe *, long unsigned int, long unsigned int, struct ftrace_regs *, void *); -typedef int (*ftrace_ops_func_t)(struct ftrace_ops *, enum ftrace_ops_cmd); +typedef void (*fprobe_exit_cb)(struct fprobe *, long unsigned int, long unsigned int, struct ftrace_regs *, void *); -struct ftrace_ops { - ftrace_func_t func; - struct ftrace_ops *next; - long unsigned int flags; - void *private; - ftrace_func_t saved_func; - struct ftrace_ops_hash local_hash; - struct ftrace_ops_hash *func_hash; - struct ftrace_ops_hash old_hash; - long unsigned int trampoline; - long unsigned int trampoline_size; - struct list_head list; - ftrace_ops_func_t ops_func; - long unsigned int direct_call; -}; - -struct rethook; +struct fprobe_hlist; struct fprobe { - struct ftrace_ops ops; long unsigned int nmissed; unsigned int flags; - struct rethook *rethook; size_t entry_data_size; - int nr_maxactive; - int (*entry_handler)(struct fprobe *, long unsigned int, long unsigned int, struct pt_regs *, void *); - void (*exit_handler)(struct fprobe *, long unsigned int, long unsigned int, struct pt_regs *, void *); + fprobe_entry_cb entry_handler; + fprobe_exit_cb exit_handler; + struct fprobe_hlist *hlist_array; }; struct bpf_kprobe_multi_link { @@ -15241,8 +16738,14 @@ struct bpf_kprobe_multi_link { u32 flags; }; -struct bpf_kprobe_multi_run_ctx { +struct bpf_session_run_ctx { struct bpf_run_ctx run_ctx; + bool is_return; + void *data; +}; + +struct bpf_kprobe_multi_run_ctx { + struct bpf_session_run_ctx session_ctx; struct bpf_kprobe_multi_link *link; long unsigned int entry_ip; }; @@ -15311,7 +16814,19 @@ struct bpf_link_info { __u64 addrs; __u32 count; __u32 flags; + __u64 missed; + __u64 cookies; } kprobe_multi; + struct { + __u64 path; + __u64 offsets; + __u64 ref_ctr_offsets; + __u64 cookies; + __u32 path_size; + __u32 count; + __u32 flags; + __u32 pid; + } uprobe_multi; struct { __u32 type; union { @@ -15319,20 +16834,25 @@ struct bpf_link_info { __u64 file_name; __u32 name_len; __u32 offset; + __u64 cookie; } uprobe; struct { __u64 func_name; __u32 name_len; __u32 offset; __u64 addr; + __u64 missed; + __u64 cookie; } kprobe; struct { __u64 tp_name; __u32 name_len; + __u64 cookie; } tracepoint; struct { __u64 config; __u32 type; + __u64 cookie; } event; }; } perf_event; @@ -15340,17 +16860,29 @@ struct bpf_link_info { __u32 ifindex; __u32 attach_type; } tcx; + struct { + __u32 ifindex; + __u32 attach_type; + } netkit; + struct { + __u32 map_id; + __u32 attach_type; + } sockmap; }; }; +struct poll_table_struct; + struct bpf_link_ops { void (*release)(struct bpf_link *); void (*dealloc)(struct bpf_link *); + void (*dealloc_deferred)(struct bpf_link *); int (*detach)(struct bpf_link *); int (*update_prog)(struct bpf_link *, struct bpf_prog *, struct bpf_prog *); void (*show_fdinfo)(const struct bpf_link *, struct seq_file *); int (*fill_link_info)(const struct bpf_link *, struct bpf_link_info *); int (*update_map)(struct bpf_link *, struct bpf_map *, struct bpf_map *); + __poll_t (*poll)(struct file *, struct poll_table_struct *); }; struct bpf_link_primer { @@ -15361,14 +16893,11 @@ struct bpf_link_primer { }; struct bpf_list_head { - long: 64; - long: 64; + __u64 __opaque[2]; }; struct bpf_list_node { - long: 64; - long: 64; - long: 64; + __u64 __opaque[3]; }; struct bpf_list_node_kern { @@ -15407,7 +16936,10 @@ struct bpf_local_storage_elem { struct hlist_node map_node; struct hlist_node snode; struct bpf_local_storage *local_storage; - struct callback_head rcu; + union { + struct callback_head rcu; + struct hlist_node free_node; + }; long: 64; struct bpf_local_storage_data sdata; long: 64; @@ -15430,7 +16962,6 @@ struct bpf_local_storage_map { struct bpf_mem_alloc selem_ma; struct bpf_mem_alloc storage_ma; bool bpf_ma; - long: 64; }; struct bpf_local_storage_map_bucket { @@ -15438,8 +16969,15 @@ struct bpf_local_storage_map_bucket { raw_spinlock_t lock; }; -struct bpf_lpm_trie_key { +struct bpf_lpm_trie_key_hdr { __u32 prefixlen; +}; + +struct bpf_lpm_trie_key_u8 { + union { + struct bpf_lpm_trie_key_hdr hdr; + __u32 prefixlen; + }; __u8 data[0]; }; @@ -15480,6 +17018,7 @@ struct bpf_map_info { __u32 btf_id; __u32 btf_key_type_id; __u32 btf_value_type_id; + __u32 btf_vmlinux_id; __u64 map_extra; }; @@ -15487,8 +17026,6 @@ typedef u64 (*bpf_callback_t)(u64, u64, u64, u64, u64); struct bpf_prog_aux; -struct poll_table_struct; - struct bpf_map_ops { int (*map_alloc_check)(union bpf_attr *); struct bpf_map * (*map_alloc)(union bpf_attr *); @@ -15510,7 +17047,7 @@ struct bpf_map_ops { long int (*map_peek_elem)(struct bpf_map *, void *); void * (*map_lookup_percpu_elem)(struct bpf_map *, void *, u32); void * (*map_fd_get_ptr)(struct bpf_map *, struct file *, int); - void (*map_fd_put_ptr)(void *); + void (*map_fd_put_ptr)(struct bpf_map *, void *, bool); int (*map_gen_lookup)(struct bpf_map *, struct bpf_insn *); u32 (*map_fd_sys_lookup_elem)(void *); void (*map_seq_show_elem)(struct bpf_map *, void *, struct seq_file *); @@ -15522,6 +17059,7 @@ struct bpf_map_ops { int (*map_direct_value_meta)(const struct bpf_map *, u64, u32 *); int (*map_mmap)(struct bpf_map *, struct vm_area_struct *); __poll_t (*map_poll)(struct bpf_map *, struct file *, struct poll_table_struct *); + long unsigned int (*map_get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); int (*map_local_storage_charge)(struct bpf_local_storage_map *, void *, u32); void (*map_local_storage_uncharge)(struct bpf_local_storage_map *, void *, u32); struct bpf_local_storage ** (*map_owner_storage_ptr)(void *); @@ -15548,8 +17086,6 @@ struct irq_work { struct rcuwait irqwait; }; -struct obj_cgroup; - struct bpf_mem_cache { struct llist_head free_llist; local_t active; @@ -15582,7 +17118,13 @@ struct bpf_mem_caches { }; struct bpf_mount_opts { + kuid_t uid; + kgid_t gid; umode_t mode; + u64 delegate_cmds; + u64 delegate_maps; + u64 delegate_progs; + u64 delegate_attachs; }; struct bpf_mprog_fp { @@ -15613,42 +17155,45 @@ struct bpf_nested_pt_regs { struct pt_regs regs[3]; }; -struct bpf_netns_link { - struct bpf_link link; - enum bpf_attach_type type; - enum netns_bpf_attach_type netns_type; - struct net *net; - struct list_head node; +struct bpf_nh_params { + u32 nh_family; + union { + u32 ipv4_nh; + struct in6_addr ipv6_nh; + }; }; -typedef unsigned int nf_hookfn(void *, struct sk_buff *, const struct nf_hook_state *); - -struct nf_hook_ops { - nf_hookfn *hook; - struct net_device *dev; - void *priv; - u8 pf; - enum nf_hook_ops_type hook_ops_type: 8; - unsigned int hooknum; - int priority; +struct bpf_redirect_info { + u64 tgt_index; + void *tgt_value; + struct bpf_map *map; + u32 flags; + u32 map_id; + enum bpf_map_type map_type; + struct bpf_nh_params nh; + u32 kern_flags; }; -struct nf_defrag_hook; +struct bpf_net_context { + struct bpf_redirect_info ri; + struct list_head cpu_map_flush_list; + struct list_head dev_map_flush_list; + struct list_head xskmap_map_flush_list; +}; -struct bpf_nf_link { +struct bpf_netns_link { struct bpf_link link; - struct nf_hook_ops hook_ops; + enum bpf_attach_type type; + enum netns_bpf_attach_type netns_type; struct net *net; - u32 dead; - const struct nf_defrag_hook *defrag_hook; + struct list_head node; }; -struct bpf_nh_params { - u32 nh_family; - union { - u32 ipv4_nh; - struct in6_addr ipv6_nh; - }; +struct nf_hook_state; + +struct bpf_nf_ctx { + const struct nf_hook_state *state; + struct sk_buff *skb; }; struct bpf_prog_offload_ops; @@ -15678,9 +17223,6 @@ struct bpf_offloaded_map { const struct bpf_map_dev_ops *dev_ops; void *dev_priv; struct list_head offloads; - long: 64; - long: 64; - long: 64; }; struct bpf_perf_event_value { @@ -15736,6 +17278,7 @@ struct bpf_prog { u16 call_get_stack: 1; u16 call_get_func_ip: 1; u16 tstamp_type_access: 1; + u16 sleepable: 1; enum bpf_prog_type type; enum bpf_attach_type expected_attach_type; u32 len; @@ -15766,6 +17309,8 @@ struct btf_mod_pair; struct user_struct; +struct bpf_token; + struct bpf_prog_offload; struct exception_table_entry; @@ -15780,6 +17325,7 @@ struct bpf_prog_aux { u32 stack_depth; u32 id; u32 func_cnt; + u32 real_func_cnt; u32 func_idx; u32 attach_btf_id; u32 ctx_arg_info_size; @@ -15787,6 +17333,7 @@ struct bpf_prog_aux { u32 max_rdwr_access; struct btf *attach_btf; const struct bpf_ctx_arg_aux *ctx_arg_info; + void *priv_stack_ptr; struct mutex dst_mutex; struct bpf_prog *dst_prog; struct bpf_trampoline *dst_trampoline; @@ -15796,10 +17343,20 @@ struct bpf_prog_aux { bool dev_bound; bool offload_requested; bool attach_btf_trace; + bool attach_tracing_prog; bool func_proto_unreliable; - bool sleepable; bool tail_call_reachable; bool xdp_has_frags; + bool exception_cb; + bool exception_boundary; + bool is_extended; + bool jits_use_priv_stack; + bool priv_stack_requested; + bool changes_pkt_data; + u64 prog_array_member_cnt; + struct mutex ext_mutex; + struct bpf_arena *arena; + void (*recursion_detected)(struct bpf_prog *); const struct btf_type *attach_func_proto; const char *attach_func_name; struct bpf_prog **func; @@ -15820,6 +17377,8 @@ struct bpf_prog_aux { int cgroup_atype; struct bpf_map *cgroup_storage[2]; char name[16]; + u64 (*bpf_exception_cb)(u64, u64, u64, u64, u64); + struct bpf_token *token; struct bpf_prog_offload *offload; struct btf *btf; struct bpf_func_info *func_info; @@ -15937,12 +17496,6 @@ struct bpf_queue_stack { u32 size; long: 0; char elements[0]; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_raw_event_map { @@ -15956,6 +17509,12 @@ struct bpf_raw_event_map { struct bpf_raw_tp_link { struct bpf_link link; struct bpf_raw_event_map *btp; + u64 cookie; +}; + +struct bpf_raw_tp_null_args { + const char *func; + u64 mask; }; struct bpf_raw_tp_regs { @@ -15969,10 +17528,7 @@ struct bpf_raw_tp_test_run_info { }; struct bpf_rb_node { - long: 64; - long: 64; - long: 64; - long: 64; + __u64 __opaque[4]; }; struct bpf_rb_node_kern { @@ -15981,8 +17537,7 @@ struct bpf_rb_node_kern { }; struct bpf_rb_root { - long: 64; - long: 64; + __u64 __opaque[2]; }; struct bpf_redir_neigh { @@ -15993,25 +17548,15 @@ struct bpf_redir_neigh { }; }; -struct bpf_redirect_info { - u64 tgt_index; - void *tgt_value; - struct bpf_map *map; - u32 flags; - u32 kern_flags; - u32 map_id; - enum bpf_map_type map_type; - struct bpf_nh_params nh; -}; - struct bpf_refcount { - int: 32; + __u32 __opaque[1]; }; struct bpf_reference_state { + enum ref_state_type type; int id; int insn_idx; - int callback_ref; + void *ptr; }; struct bpf_reg_types { @@ -16025,7 +17570,7 @@ struct bpf_ringbuf { u64 mask; struct page **pages; int nr_pages; - spinlock_t spinlock; + raw_spinlock_t spinlock; atomic_t busy; long: 64; long: 64; @@ -17043,7 +18588,7 @@ struct bpf_ringbuf { long: 64; long: 64; long unsigned int producer_pos; - long: 64; + long unsigned int pending_pos; long: 64; long: 64; long: 64; @@ -17565,13 +19110,6 @@ struct bpf_ringbuf_hdr { struct bpf_ringbuf_map { struct bpf_map map; struct bpf_ringbuf *rb; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_sanitize_info { @@ -17579,18 +19117,15 @@ struct bpf_sanitize_info { bool mask_to_left; }; -struct bpf_scratchpad { - union { - __be32 diff[128]; - u8 buff[512]; - }; -}; - struct sk_psock_progs { struct bpf_prog *msg_parser; struct bpf_prog *stream_parser; struct bpf_prog *stream_verdict; struct bpf_prog *skb_verdict; + struct bpf_link *msg_parser_link; + struct bpf_link *stream_parser_link; + struct bpf_link *stream_verdict_link; + struct bpf_link *skb_verdict_link; }; struct bpf_shtab_bucket; @@ -17602,7 +19137,6 @@ struct bpf_shtab { u32 elem_size; struct sk_psock_progs progs; atomic_t count; - long: 64; }; struct bpf_shtab_bucket { @@ -17675,6 +19209,7 @@ struct bpf_sock_addr_kern { struct sockaddr *uaddr; u64 tmp_reg; void *t_ctx; + u32 uaddrlen; }; struct bpf_sock_tuple { @@ -17694,18 +19229,11 @@ struct bpf_sock_tuple { }; }; -struct bpf_spin_lock { - __u32 val; -}; - struct bpf_stab { struct bpf_map map; struct sock **sks; struct sk_psock_progs progs; spinlock_t lock; - long: 64; - long: 64; - long: 64; }; struct bpf_stack_build_id { @@ -17725,10 +19253,6 @@ struct bpf_stack_map { struct pcpu_freelist freelist; u32 n_buckets; struct stack_map_bucket *buckets[0]; - long: 64; - long: 64; - long: 64; - long: 64; }; struct bpf_stack_state { @@ -17745,50 +19269,63 @@ struct bpf_struct_ops { int (*init)(struct btf *); int (*check_member)(const struct btf_type *, const struct btf_member *, const struct bpf_prog *); int (*init_member)(const struct btf_type *, const struct btf_member *, void *, const void *); - int (*reg)(void *); - void (*unreg)(void *); - int (*update)(void *, void *); + int (*reg)(void *, struct bpf_link *); + void (*unreg)(void *, struct bpf_link *); + int (*update)(void *, void *, struct bpf_link *); int (*validate)(void *); - const struct btf_type *type; - const struct btf_type *value_type; + void *cfi_stubs; + struct module *owner; const char *name; struct btf_func_model func_models[64]; - u32 type_id; - u32 value_id; }; -struct bpf_struct_ops_bpf_dummy_ops { +struct bpf_struct_ops_arg_info { + struct bpf_ctx_arg_aux *info; + u32 cnt; +}; + +struct bpf_struct_ops_common_value { refcount_t refcnt; enum bpf_struct_ops_state state; +}; + +struct bpf_struct_ops_bpf_dummy_ops { + struct bpf_struct_ops_common_value common; struct bpf_dummy_ops data; }; +struct bpf_struct_ops_desc { + struct bpf_struct_ops *st_ops; + const struct btf_type *type; + const struct btf_type *value_type; + u32 type_id; + u32 value_id; + struct bpf_struct_ops_arg_info *arg_info; +}; + struct bpf_struct_ops_link { struct bpf_link link; struct bpf_map *map; + wait_queue_head_t wait_hup; }; struct bpf_struct_ops_value { - refcount_t refcnt; - enum bpf_struct_ops_state state; + struct bpf_struct_ops_common_value common; char data[0]; }; struct bpf_struct_ops_map { struct bpf_map map; - struct callback_head rcu; - const struct bpf_struct_ops *st_ops; + const struct bpf_struct_ops_desc *st_ops_desc; struct mutex lock; struct bpf_link **links; - void *image; + struct bpf_ksym **ksyms; + u32 funcs_cnt; + u32 image_pages_cnt; + void *image_pages[8]; + struct btf *btf; struct bpf_struct_ops_value *uvalue; struct bpf_struct_ops_value kvalue; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; - long: 64; }; struct rate_sample; @@ -17803,7 +19340,7 @@ struct tcp_congestion_ops { void (*in_ack_event)(struct sock *, u32); void (*pkts_acked)(struct sock *, const struct ack_sample *); u32 (*min_tso_segs)(struct sock *); - void (*cong_control)(struct sock *, const struct rate_sample *); + void (*cong_control)(struct sock *, u32, int, const struct rate_sample *); u32 (*undo_cwnd)(struct sock *); u32 (*sndbuf_expand)(struct sock *); size_t (*get_info)(struct sock *, u32, int *, union tcp_cc_info *); @@ -17817,19 +19354,50 @@ struct tcp_congestion_ops { }; struct bpf_struct_ops_tcp_congestion_ops { - refcount_t refcnt; - enum bpf_struct_ops_state state; + struct bpf_struct_ops_common_value common; struct tcp_congestion_ops data; }; +struct bpf_subprog_arg_info { + enum bpf_arg_type arg_type; + union { + u32 mem_size; + u32 btf_id; + }; +}; + struct bpf_subprog_info { u32 start; u32 linfo_idx; u16 stack_depth; - bool has_tail_call; - bool tail_call_reachable; - bool has_ld_abs; - bool is_async_cb; + u16 stack_extra; + s16 fastcall_stack_off; + bool has_tail_call: 1; + bool tail_call_reachable: 1; + bool has_ld_abs: 1; + bool is_cb: 1; + bool is_async_cb: 1; + bool is_exception_cb: 1; + bool args_cached: 1; + bool keep_fastcall_stack: 1; + bool changes_pkt_data: 1; + enum priv_stack_mode priv_stack_mode; + u8 arg_cnt; + struct bpf_subprog_arg_info args[5]; +}; + +struct bpf_tcp_req_attrs { + u32 rcv_tsval; + u32 rcv_tsecr; + u16 mss; + u8 rcv_wscale; + u8 snd_wscale; + u8 ecn_ok; + u8 wscale_ok; + u8 sack_ok; + u8 tstamp_ok; + u8 usec_ts_ok; + u8 reserved[3]; }; struct bpf_tcp_sock { @@ -17871,14 +19439,27 @@ struct bpf_test_timer { u64 time_spent; }; +struct bpf_throw_ctx { + struct bpf_prog_aux *aux; + u64 sp; + u64 bp; + int cnt; +}; + struct bpf_timer { - long: 64; - long: 64; + __u64 __opaque[2]; }; -struct bpf_timer_kern { - struct bpf_hrtimer *timer; - struct bpf_spin_lock lock; +struct user_namespace; + +struct bpf_token { + struct work_struct work; + atomic64_t refcnt; + struct user_namespace *userns; + u64 allowed_cmds; + u64 allowed_maps; + u64 allowed_progs; + u64 allowed_attachs; }; struct bpf_trace_module { @@ -17948,6 +19529,7 @@ struct perf_sample_data { struct perf_callchain_entry *callchain; struct perf_raw_record *raw; struct perf_branch_stack *br_stack; + u64 *br_stack_cntr; union perf_sample_weight weight; union perf_mem_data_src data_src; u64 txn; @@ -17965,7 +19547,6 @@ struct perf_sample_data { long: 64; long: 64; long: 64; - long: 64; }; struct bpf_trace_sample_data { @@ -17994,6 +19575,7 @@ struct percpu_ref { struct bpf_tramp_image { void *image; + int size; struct bpf_ksym ksym; struct percpu_ref pcref; void *ip_after_call; @@ -18015,6 +19597,8 @@ struct bpf_tramp_run_ctx { struct bpf_run_ctx *saved_run_ctx; }; +struct ftrace_ops; + struct bpf_trampoline { struct hlist_node hlist; struct ftrace_ops *fops; @@ -18031,7 +19615,6 @@ struct bpf_trampoline { struct hlist_head progs_hlist[3]; int progs_cnt[3]; struct bpf_tramp_image *cur_image; - struct module *mod; }; struct bpf_tunnel_key { @@ -18059,31 +19642,38 @@ struct bpf_tuple { }; struct uprobe_consumer { - int (*handler)(struct uprobe_consumer *, struct pt_regs *); - int (*ret_handler)(struct uprobe_consumer *, long unsigned int, struct pt_regs *); - bool (*filter)(struct uprobe_consumer *, enum uprobe_filter_ctx, struct mm_struct *); - struct uprobe_consumer *next; + int (*handler)(struct uprobe_consumer *, struct pt_regs *, __u64 *); + int (*ret_handler)(struct uprobe_consumer *, long unsigned int, struct pt_regs *, __u64 *); + bool (*filter)(struct uprobe_consumer *, struct mm_struct *); + struct list_head cons_node; + __u64 id; }; struct bpf_uprobe_multi_link; +struct uprobe; + struct bpf_uprobe { struct bpf_uprobe_multi_link *link; loff_t offset; + long unsigned int ref_ctr_offset; u64 cookie; + struct uprobe *uprobe; struct uprobe_consumer consumer; + bool session; }; struct bpf_uprobe_multi_link { struct path path; struct bpf_link link; u32 cnt; + u32 flags; struct bpf_uprobe *uprobes; struct task_struct *task; }; struct bpf_uprobe_multi_run_ctx { - struct bpf_run_ctx run_ctx; + struct bpf_session_run_ctx session_ctx; long unsigned int entry_ip; struct bpf_uprobe *uprobe; }; @@ -18114,10 +19704,12 @@ struct bpf_verifier_env { u32 prev_insn_idx; struct bpf_prog *prog; const struct bpf_verifier_ops *ops; + struct module *attach_btf_mod; struct bpf_verifier_stack_elem *head; int stack_size; bool strict_alignment; bool test_state_freq; + bool test_reg_invariants; struct bpf_verifier_state *cur_state; struct bpf_verifier_state_list **explored_states; struct bpf_verifier_state_list *free_list; @@ -18126,6 +19718,8 @@ struct bpf_verifier_env { u32 used_map_cnt; u32 used_btf_cnt; u32 id_gen; + u32 hidden_subprog_cnt; + int exception_callback_subprog; bool explore_alu_limits; bool allow_ptr_leaks; bool allow_uninit_stack; @@ -18133,10 +19727,11 @@ struct bpf_verifier_env { bool bypass_spec_v1; bool bypass_spec_v4; bool seen_direct_write; + bool seen_exception; struct bpf_insn_aux_data *insn_aux_data; const struct bpf_line_info *prev_linfo; struct bpf_verifier_log log; - struct bpf_subprog_info subprog_info[257]; + struct bpf_subprog_info subprog_info[258]; union { struct bpf_idmap idmap_scratch; struct bpf_idset idset_scratch; @@ -18147,6 +19742,9 @@ struct bpf_verifier_env { int cur_stack; } cfg; struct backtrack_state bt; + struct bpf_insn_hist_entry *insn_hist; + struct bpf_insn_hist_entry *cur_hist_ent; + u32 insn_hist_cap; u32 pass_cnt; u32 subprog_cnt; u32 prev_insn_processed; @@ -18163,13 +19761,17 @@ struct bpf_verifier_env { u64 scratched_stack_slots; u64 prev_log_pos; u64 prev_insn_print_pos; + struct bpf_reg_state fake_reg[2]; char tmp_str_buf[320]; + struct bpf_insn insn_buf[32]; + struct bpf_insn epilogue_buf[32]; }; struct bpf_verifier_ops { const struct bpf_func_proto * (*get_func_proto)(enum bpf_func_id, const struct bpf_prog *); bool (*is_valid_access)(int, int, enum bpf_access_type, const struct bpf_prog *, struct bpf_insn_access_aux *); int (*gen_prologue)(struct bpf_insn *, bool, const struct bpf_prog *); + int (*gen_epilogue)(struct bpf_insn *, const struct bpf_prog *, s16); int (*gen_ld_abs)(const struct bpf_insn *, struct bpf_insn *); u32 (*convert_ctx_access)(enum bpf_access_type, const struct bpf_insn *, struct bpf_insn *, struct bpf_prog *, u32 *); int (*btf_struct_access)(struct bpf_verifier_log *, const struct bpf_reg_state *, int, int); @@ -18178,16 +19780,26 @@ struct bpf_verifier_ops { struct bpf_verifier_state { struct bpf_func_state *frame[8]; struct bpf_verifier_state *parent; + struct bpf_reference_state *refs; u32 branches; u32 insn_idx; u32 curframe; - struct bpf_active_lock active_lock; - bool speculative; + u32 acquired_refs; + u32 active_locks; + u32 active_preempt_locks; + u32 active_irq_id; bool active_rcu_lock; + bool speculative; + bool used_as_loop_entry; + bool in_sleepable; u32 first_insn_idx; u32 last_insn_idx; - struct bpf_idx_pair *jmp_history; - u32 jmp_history_cnt; + struct bpf_verifier_state *loop_entry; + u32 insn_hist_start; + u32 insn_hist_end; + u32 dfs_depth; + u32 callback_unroll_depth; + u32 may_goto_depth; }; struct bpf_verifier_stack_elem { @@ -18205,6 +19817,16 @@ struct bpf_verifier_state_list { int hit_cnt; }; +struct bpf_work { + struct bpf_async_cb cb; + struct work_struct work; + struct work_struct delete_work; +}; + +struct bpf_wq { + __u64 __opaque[2]; +}; + struct bpf_xdp_link; struct bpf_xdp_entity { @@ -18222,6 +19844,14 @@ struct bpf_xdp_sock { __u32 queue_id; }; +struct bpffs_btf_enums { + const struct btf *btf; + const struct btf_type *cmd_t; + const struct btf_type *map_t; + const struct btf_type *prog_t; + const struct btf_type *attach_t; +}; + struct trace_entry { short unsigned int type; unsigned char flags; @@ -18242,14 +19872,6 @@ struct bputs_entry { const char *str; }; -struct br_input_skb_cb { - struct net_device *brdev; - u16 frag_max_size; - u8 proxyarp_replied: 1; - u8 src_port_isolated: 1; - u32 backup_nhid; -}; - struct br_mdb_entry { __u32 ifindex; __u8 state; @@ -18313,6 +19935,8 @@ struct btf_id_dtor_kfunc_tab; struct btf_struct_metas; +struct btf_struct_ops_tab; + struct btf { void *data; struct btf_type **types; @@ -18330,11 +19954,13 @@ struct btf { struct btf_kfunc_set_tab *kfunc_set_tab; struct btf_id_dtor_kfunc_tab *dtor_kfunc_tab; struct btf_struct_metas *struct_meta_tab; + struct btf_struct_ops_tab *struct_ops_tab; struct btf *base_btf; u32 start_id; u32 start_str_off; char name[56]; bool kernel_btf; + __u32 *base_id_map; }; struct btf_anon_stack { @@ -18389,6 +20015,14 @@ struct btf_field { }; }; +struct btf_field_desc { + int t_off_cnt; + int t_offs[2]; + int m_sz; + int m_off_cnt; + int m_offs[1]; +}; + struct btf_field_info { enum btf_field_type type; u32 off; @@ -18403,6 +20037,14 @@ struct btf_field_info { }; }; +struct btf_field_iter { + struct btf_field_desc desc; + void *p; + int m_idx; + int off_idx; + int vlen; +}; + struct btf_id_dtor_kfunc { u32 btf_id; u32 kfunc_btf_id; @@ -18441,8 +20083,8 @@ struct btf_kfunc_id_set { }; struct btf_kfunc_set_tab { - struct btf_id_set8 *sets[13]; - struct btf_kfunc_hook_filter hook_filters[13]; + struct btf_id_set8 *sets[14]; + struct btf_kfunc_hook_filter hook_filters[14]; }; struct btf_verifier_env; @@ -18474,6 +20116,13 @@ struct btf_module { int flags; }; +struct btf_name_info { + const char *name; + bool needs_size: 1; + unsigned int size: 31; + __u32 id; +}; + struct btf_param { __u32 name_off; __u32 type; @@ -18490,10 +20139,24 @@ struct btf_record { u32 field_mask; int spin_lock_off; int timer_off; + int wq_off; int refcount_off; struct btf_field fields[0]; }; +struct btf_relocate { + struct btf *btf; + const struct btf *base_btf; + const struct btf *dist_base_btf; + unsigned int nr_base_types; + unsigned int nr_split_types; + unsigned int nr_dist_base_types; + int dist_str_len; + int base_str_len; + __u32 *id_map; + __u32 *str_map; +}; + struct btf_sec_info { u32 off; u32 len; @@ -18541,6 +20204,12 @@ struct btf_struct_metas { struct btf_struct_meta types[0]; }; +struct btf_struct_ops_tab { + u32 cnt; + u32 capacity; + struct bpf_struct_ops_desc ops[0]; +}; + struct btf_type { __u32 name_off; __u32 info; @@ -20140,12 +21809,20 @@ struct buffer_data_page { unsigned char data[0]; }; +struct buffer_data_read_page { + unsigned int order; + struct buffer_data_page *data; +}; + struct buffer_page { struct list_head list; local_t write; unsigned int read; local_t entries; long unsigned int real_end; + unsigned int order; + u32 id: 30; + u32 range: 1; struct buffer_data_page *page; }; @@ -20166,23 +21843,21 @@ struct bus_dma_region { phys_addr_t cpu_start; dma_addr_t dma_start; u64 size; - u64 offset; }; -struct iommu_ops; - struct bus_type { const char *name; const char *dev_name; const struct attribute_group **bus_groups; const struct attribute_group **dev_groups; const struct attribute_group **drv_groups; - int (*match)(struct device *, struct device_driver *); + int (*match)(struct device *, const struct device_driver *); int (*uevent)(const struct device *, struct kobj_uevent_env *); int (*probe)(struct device *); void (*sync_state)(struct device *); void (*remove)(struct device *); void (*shutdown)(struct device *); + const struct cpumask * (*irq_get_affinity)(struct device *, unsigned int); int (*online)(struct device *); int (*offline)(struct device *); int (*suspend)(struct device *, pm_message_t); @@ -20191,7 +21866,6 @@ struct bus_type { int (*dma_configure)(struct device *); void (*dma_cleanup)(struct device *); const struct dev_pm_ops *pm; - const struct iommu_ops *iommu_ops; bool need_parent_lock; }; @@ -20216,13 +21890,11 @@ struct callchain_cpus_entries { struct perf_callchain_entry *cpu_entries[0]; }; -struct paravirt_patch_site; - struct callthunk_sites { s32 *call_start; s32 *call_end; - struct paravirt_patch_site *pv_start; - struct paravirt_patch_site *pv_end; + struct alt_instr *alt_start; + struct alt_instr *alt_end; }; struct cdev { @@ -20266,13 +21938,12 @@ struct sched_entity; struct cfs_rq { struct load_weight load; - unsigned int nr_running; - unsigned int h_nr_running; - unsigned int idle_nr_running; - unsigned int idle_h_nr_running; + unsigned int nr_queued; + unsigned int h_nr_queued; + unsigned int h_nr_runnable; + unsigned int h_nr_idle; s64 avg_vruntime; u64 avg_load; - u64 exec_clock; u64 min_vruntime; struct rb_root_cached tasks_timeline; struct sched_entity *curr; @@ -20286,7 +21957,7 @@ struct cgroup__safe_rcu { struct proc_ns_operations; struct ns_common { - atomic_long_t stashed; + struct dentry *stashed; const struct proc_ns_operations *ops; unsigned int inum; refcount_t count; @@ -20294,8 +21965,6 @@ struct ns_common { struct css_set; -struct user_namespace; - struct ucounts; struct cgroup_namespace { @@ -20347,8 +22016,6 @@ struct check_mount { unsigned int mounted; }; -struct crypto_tfm; - struct cipher_alg { unsigned int cia_min_keysize; unsigned int cia_max_keysize; @@ -20358,8 +22025,8 @@ struct cipher_alg { }; struct cipher_context { - char *iv; - char *rec_seq; + char iv[20]; + char rec_seq[8]; }; struct class_attribute { @@ -20443,6 +22110,8 @@ struct clock_identity { u8 id[8]; }; +struct clocksource_base; + struct clocksource { u64 (*read)(struct clocksource *); u64 mask; @@ -20452,12 +22121,15 @@ struct clocksource { u32 maxadj; u32 uncertainty_margin; u64 max_cycles; + u64 max_raw_delta; const char *name; struct list_head list; + u32 freq_khz; int rating; enum clocksource_ids id; enum vdso_clock_mode vdso_clock_mode; long unsigned int flags; + struct clocksource_base *base; int (*enable)(struct clocksource *); void (*disable)(struct clocksource *); void (*suspend)(struct clocksource *); @@ -20470,6 +22142,14 @@ struct clocksource { struct module *owner; }; +struct clocksource_base { + enum clocksource_ids id; + u32 freq_khz; + u64 offset; + u32 numerator; + u32 denominator; +}; + struct clone_args { __u64 flags; __u64 pidfd; @@ -20484,6 +22164,94 @@ struct clone_args { __u64 cgroup; }; +struct cmis_cdb_advert_rpl { + u8 inst_supported; + u8 read_write_len_ext; + u8 resv1; + u8 resv2; +}; + +struct cmis_cdb_fw_mng_features_rpl { + u8 resv1; + u8 resv2; + u8 start_cmd_payload_size; + u8 resv3; + u8 read_write_len_ext; + u8 write_mechanism; + u8 resv4; + u8 resv5; + __be16 max_duration_start; + __be16 resv6; + __be16 max_duration_write; + __be16 max_duration_complete; + __be16 resv7; +}; + +struct cmis_cdb_module_features_rpl { + u8 resv1[34]; + __be16 max_completion_time; +}; + +struct cmis_cdb_query_status_pl { + u16 response_delay; +}; + +struct cmis_cdb_query_status_rpl { + u8 length; + u8 status; +}; + +struct cmis_cdb_run_fw_image_pl { + u8 resv1; + u8 image_to_run; + u16 delay_to_reset; +}; + +struct cmis_cdb_start_fw_download_pl_h { + __be32 image_size; + __be32 resv1; +}; + +struct cmis_cdb_start_fw_download_pl { + union { + struct { + __be32 image_size; + __be32 resv1; + }; + struct cmis_cdb_start_fw_download_pl_h head; + }; + u8 vendor_data[112]; +}; + +struct cmis_cdb_write_fw_block_epl_pl { + u8 fw_block[2048]; +}; + +struct cmis_cdb_write_fw_block_lpl_pl { + __be32 block_address; + u8 fw_block[116]; +}; + +struct cmis_fw_update_fw_mng_features { + u8 start_cmd_payload_size; + u8 write_mechanism; + u16 max_duration_start; + u16 max_duration_write; + u16 max_duration_complete; +}; + +struct cmis_password_entry_pl { + __be32 password; +}; + +struct cmis_rev_rpl { + u8 rev; +}; + +struct cmis_wait_for_cond_rpl { + u8 state; +}; + struct cmsghdr { __kernel_size_t cmsg_len; int cmsg_level; @@ -20678,14 +22446,30 @@ struct compress_format { decompress_fn decompressor; }; +struct console; + +struct printk_buffers; + +struct nbcon_context { + struct console *console; + unsigned int spinwait_max_us; + enum nbcon_prio prio; + unsigned int allow_unsafe_takeover: 1; + unsigned int backlog: 1; + struct printk_buffers *pbufs; + u64 seq; +}; + struct tty_driver; +struct nbcon_write_context; + struct console { char name[16]; void (*write)(struct console *, const char *, unsigned int); int (*read)(struct console *, char *, unsigned int); struct tty_driver * (*device)(struct console *, int *); - void (*unblank)(); + void (*unblank)(void); int (*setup)(struct console *, char *); int (*exit)(struct console *); int (*match)(struct console *, char *, int, char *); @@ -20698,15 +22482,35 @@ struct console { long unsigned int dropped; void *data; struct hlist_node node; + void (*write_atomic)(struct console *, struct nbcon_write_context *); + void (*write_thread)(struct console *, struct nbcon_write_context *); + void (*device_lock)(struct console *, long unsigned int *); + void (*device_unlock)(struct console *, long unsigned int); + atomic_t nbcon_state; + atomic_long_t nbcon_seq; + struct nbcon_context nbcon_device_ctxt; + atomic_long_t nbcon_prev_seq; + struct printk_buffers *pbufs; + struct task_struct *kthread; + struct rcuwait rcuwait; + struct irq_work irq_work; }; struct console_cmdline { char name[16]; int index; + char devname[32]; bool user_specified; char *options; }; +struct console_flush_type { + bool nbcon_atomic; + bool nbcon_offload; + bool legacy_direct; + bool legacy_offload; +}; + struct constant_table { const char *name; int value; @@ -20716,7 +22520,6 @@ struct microcode_amd; struct cont_desc { struct microcode_amd *mc; - u32 cpuid_1_eax; u32 psize; u8 *data; size_t size; @@ -20784,6 +22587,7 @@ struct cpu_attr { struct cpu_cacheinfo { struct cacheinfo *info_list; + unsigned int per_cpu_data_slice_size; unsigned int num_levels; unsigned int num_leaves; bool cpu_map_populated; @@ -21347,8 +23151,9 @@ struct cpu_entry_area { struct folio_batch { unsigned char nr; + unsigned char i; bool percpu_pvec_drained; - struct folio *folios[15]; + struct folio *folios[31]; }; struct cpu_fbatches { @@ -21357,6 +23162,8 @@ struct cpu_fbatches { struct folio_batch lru_deactivate_file; struct folio_batch lru_deactivate; struct folio_batch lru_lazyfree; + local_lock_t lock_irq; + struct folio_batch lru_move_tail; }; struct perf_branch_entry { @@ -21426,6 +23233,7 @@ struct cpu_hw_events { int lbr_pebs_users; struct perf_branch_stack lbr_stack; struct perf_branch_entry lbr_entries[32]; + u64 lbr_counters[32]; union { struct er_account *lbr_sel; struct er_account *lbr_ctl; @@ -21671,6 +23479,28 @@ union cpuid28_ecx { unsigned int lbr_mispred: 1; unsigned int lbr_timed_lbr: 1; unsigned int lbr_br_type: 1; + unsigned int reserved: 13; + unsigned int lbr_counters: 4; + } split; + unsigned int full; +}; + +union cpuid35_eax { + struct { + unsigned int leaf0: 1; + unsigned int cntr_subleaf: 1; + unsigned int acr_subleaf: 1; + unsigned int events_subleaf: 1; + unsigned int reserved: 28; + } split; + unsigned int full; +}; + +union cpuid35_ebx { + struct { + unsigned int umask2: 1; + unsigned int eq: 1; + unsigned int reserved: 30; } split; unsigned int full; }; @@ -21680,10 +23510,24 @@ union cpuid_0x80000022_ebx { unsigned int num_core_pmc: 4; unsigned int lbr_v2_stack_sz: 6; unsigned int num_df_pmc: 6; + unsigned int num_umc_pmc: 6; } split; unsigned int full; }; +union cpuid_1_eax { + struct { + __u32 stepping: 4; + __u32 model: 4; + __u32 family: 4; + __u32 __reserved0: 4; + __u32 ext_model: 4; + __u32 ext_fam: 8; + __u32 __reserved1: 4; + }; + __u32 full; +}; + struct cpuid_bit { u16 feature; u8 reg; @@ -21702,13 +23546,6 @@ struct cpuid_dependent_feature { u32 level; }; -struct cpuid_regs { - u32 eax; - u32 ebx; - u32 ecx; - u32 edx; -}; - struct cpuidle_state_usage { long long unsigned int disable; long long unsigned int usage; @@ -21753,7 +23590,7 @@ struct cpuidle_state { int power_usage; unsigned int target_residency; int (*enter)(struct cpuidle_device *, struct cpuidle_driver *, int); - int (*enter_dead)(struct cpuidle_device *, int); + void (*enter_dead)(struct cpuidle_device *, int); int (*enter_s2idle)(struct cpuidle_device *, struct cpuidle_driver *, int); }; @@ -21768,25 +23605,58 @@ struct cpuidle_driver { const char *governor; }; +struct cpuinfo_topology { + u32 apicid; + u32 initial_apicid; + u32 pkg_id; + u32 die_id; + u32 cu_id; + u32 core_id; + u32 logical_pkg_id; + u32 logical_die_id; + u32 logical_core_id; + u32 amd_node_id; + u32 llc_id; + u32 l2c_id; + union { + u32 cpu_type; + struct { + u32 intel_native_model_id: 24; + u32 intel_type: 8; + }; + struct { + u32 amd_num_processors: 16; + u32 amd_power_eff_ranking: 8; + u32 amd_native_model_id: 4; + u32 amd_type: 4; + }; + }; +}; + struct cpuinfo_x86 { - __u8 x86; - __u8 x86_vendor; - __u8 x86_model; + union { + struct { + __u8 x86_model; + __u8 x86; + __u8 x86_vendor; + __u8 x86_reserved; + }; + __u32 x86_vfm; + }; __u8 x86_stepping; int x86_tlbsize; __u32 vmx_capability[5]; __u8 x86_virt_bits; __u8 x86_phys_bits; - __u8 x86_coreid_bits; - __u8 cu_id; __u32 extended_cpuid_level; int cpuid_level; union { - __u32 x86_capability[23]; + __u32 x86_capability[24]; long unsigned int x86_capability_alignment; }; char x86_vendor_id[16]; char x86_model_id[64]; + struct cpuinfo_topology topo; unsigned int x86_cache_size; int x86_cache_alignment; int x86_cache_max_rmid; @@ -21795,16 +23665,8 @@ struct cpuinfo_x86 { int x86_power; long unsigned int loops_per_jiffy; u64 ppin; - u16 x86_max_cores; - u16 apicid; - u16 initial_apicid; u16 x86_clflush_size; u16 booted_cores; - u16 phys_proc_id; - u16 logical_proc_id; - u16 cpu_core_id; - u16 cpu_die_id; - u16 logical_die_id; u16 cpu_index; bool smt_active; u32 microcode; @@ -21819,14 +23681,14 @@ struct cpumap { unsigned int managed_allocated; bool initialized; bool online; - long unsigned int alloc_map[4]; - long unsigned int managed_map[4]; + long unsigned int *managed_map; + long unsigned int alloc_map[0]; }; struct group_info; struct cred { - atomic_t usage; + atomic_long_t usage; kuid_t uid; kgid_t gid; kuid_t suid; @@ -21925,7 +23787,7 @@ struct ctl_node; struct ctl_table_header { union { struct { - struct ctl_table *ctl_table; + const struct ctl_table *ctl_table; int ctl_table_size; int used; int count; @@ -21934,12 +23796,16 @@ struct ctl_table_header { struct callback_head rcu; }; struct completion *unregistering; - struct ctl_table *ctl_table_arg; + const struct ctl_table *ctl_table_arg; struct ctl_table_root *root; struct ctl_table_set *set; struct ctl_dir *parent; struct ctl_node *node; struct hlist_head inodes; + enum { + SYSCTL_TABLE_TYPE_DEFAULT = 0, + SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY = 1, + } type; }; struct ctl_dir { @@ -21952,7 +23818,7 @@ struct ctl_node { struct ctl_table_header *header; }; -typedef int proc_handler(struct ctl_table *, int, void *, size_t *, loff_t *); +typedef int proc_handler(const struct ctl_table *, int, void *, size_t *, loff_t *); struct ctl_table_poll; @@ -21961,10 +23827,6 @@ struct ctl_table { void *data; int maxlen; umode_t mode; - enum { - SYSCTL_TABLE_TYPE_DEFAULT = 0, - SYSCTL_TABLE_TYPE_PERMANENTLY_EMPTY = 1, - } type; proc_handler *proc_handler; struct ctl_table_poll *poll; void *extra1; @@ -21984,8 +23846,8 @@ struct ctl_table_set { struct ctl_table_root { struct ctl_table_set default_set; struct ctl_table_set * (*lookup)(struct ctl_table_root *); - void (*set_ownership)(struct ctl_table_header *, struct ctl_table *, kuid_t *, kgid_t *); - int (*permissions)(struct ctl_table_header *, struct ctl_table *); + void (*set_ownership)(struct ctl_table_header *, kuid_t *, kgid_t *); + int (*permissions)(struct ctl_table_header *, const struct ctl_table *); }; struct netlink_policy_dump_state; @@ -22015,24 +23877,6 @@ struct ctx_switch_entry { unsigned char next_state; }; -struct wait_queue_entry; - -typedef int (*wait_queue_func_t)(struct wait_queue_entry *, unsigned int, int, void *); - -struct wait_queue_entry { - unsigned int flags; - void *private; - wait_queue_func_t func; - struct list_head entry; -}; - -typedef struct wait_queue_entry wait_queue_entry_t; - -struct cwt_wait { - wait_queue_entry_t wait; - struct work_struct *work; -}; - struct cyc2ns_data { u32 cyc2ns_mul; u32 cyc2ns_shift; @@ -22061,8 +23905,6 @@ struct delayed_call { void *arg; }; -struct uprobe; - struct delayed_uprobe { struct list_head list; struct uprobe *uprobe; @@ -22085,6 +23927,11 @@ struct qstr { const unsigned char *name; }; +union shortname_store { + unsigned char string[40]; + long unsigned int words[5]; +}; + struct lockref { union { struct { @@ -22096,6 +23943,8 @@ struct lockref { struct dentry_operations; +struct super_block; + struct dentry { unsigned int d_flags; seqcount_spinlock_t d_seq; @@ -22103,18 +23952,18 @@ struct dentry { struct dentry *d_parent; struct qstr d_name; struct inode *d_inode; - unsigned char d_iname[32]; - struct lockref d_lockref; + union shortname_store d_shortname; const struct dentry_operations *d_op; struct super_block *d_sb; long unsigned int d_time; void *d_fsdata; + struct lockref d_lockref; union { struct list_head d_lru; wait_queue_head_t *d_wait; }; - struct list_head d_child; - struct list_head d_subdirs; + struct hlist_node d_sib; + struct hlist_head d_children; union { struct hlist_node d_alias; struct hlist_bl_node d_in_lookup_hash; @@ -22126,13 +23975,8 @@ struct dentry__safe_trusted { struct inode *d_inode; }; -struct dentry_list { - void *cursor; - struct dentry **dentries; -}; - struct dentry_operations { - int (*d_revalidate)(struct dentry *, unsigned int); + int (*d_revalidate)(struct inode *, const struct qstr *, struct dentry *, unsigned int); int (*d_weak_revalidate)(struct dentry *, unsigned int); int (*d_hash)(const struct dentry *, struct qstr *); int (*d_compare)(const struct dentry *, unsigned int, const char *, const struct qstr *); @@ -22144,9 +23988,9 @@ struct dentry_operations { char * (*d_dname)(struct dentry *, char *, int); struct vfsmount * (*d_automount)(struct path *); int (*d_manage)(const struct path *, bool); - struct dentry * (*d_real)(struct dentry *, const struct inode *); - long: 64; - long: 64; + struct dentry * (*d_real)(struct dentry *, enum d_real_type); + bool (*d_unalias_trylock)(const struct dentry *); + void (*d_unalias_unlock)(const struct dentry *); long: 64; }; @@ -22202,6 +24046,7 @@ struct vmem_altmap { long unsigned int free; long unsigned int align; long unsigned int alloc; + bool inaccessible; }; struct range { @@ -22271,6 +24116,7 @@ struct dev_pm_domain { int (*activate)(struct device *); void (*sync)(struct device *); void (*dismiss)(struct device *); + int (*set_performance_state)(struct device *, unsigned int); }; struct pm_qos_flags { @@ -22317,11 +24163,6 @@ struct dev_pm_qos_request { struct device *dev; }; -struct dev_printk_info { - char subsystem[16]; - char device[48]; -}; - struct device_attach_data { struct device *dev; bool check_async; @@ -22428,7 +24269,7 @@ struct device_private { struct klist_node knode_bus; struct klist_node knode_class; struct list_head deferred_probe; - struct device_driver *async_driver; + const struct device_driver *async_driver; char *deferred_probe_reason; struct device *device; u8 dead: 1; @@ -22525,6 +24366,7 @@ struct devlink_port { struct list_head reporter_list; struct devlink_rate *devlink_rate; struct devlink_linecard *linecard; + u32 rel_index; }; struct devlink_port_ops { @@ -22544,6 +24386,8 @@ struct devlink_port_ops { int (*port_fn_ipsec_crypto_set)(struct devlink_port *, bool, struct netlink_ext_ack *); int (*port_fn_ipsec_packet_get)(struct devlink_port *, bool *, struct netlink_ext_ack *); int (*port_fn_ipsec_packet_set)(struct devlink_port *, bool, struct netlink_ext_ack *); + int (*port_fn_max_io_eqs_get)(struct devlink_port *, u32 *, struct netlink_ext_ack *); + int (*port_fn_max_io_eqs_set)(struct devlink_port *, u32, struct netlink_ext_ack *); }; struct devlink_rate { @@ -22593,6 +24437,56 @@ struct die_args { int signr; }; +struct dim_stats { + int ppms; + int bpms; + int epms; + int cpms; + int cpe_ratio; +}; + +struct dim_sample { + ktime_t time; + u32 pkt_ctr; + u32 byte_ctr; + u16 event_ctr; + u32 comp_ctr; +}; + +struct dim { + u8 state; + struct dim_stats prev_stats; + struct dim_sample start_sample; + struct dim_sample measuring_sample; + struct work_struct work; + void *priv; + u8 profile_ix; + u8 mode; + u8 tune_state; + u8 steps_right; + u8 steps_left; + u8 tired; +}; + +struct dim_cq_moder { + u16 usec; + u16 pkts; + u16 comps; + u8 cq_period_mode; + struct callback_head rcu; +}; + +struct dim_irq_moder { + u8 profile_flags; + u8 coal_flags; + u8 dim_rx_mode; + u8 dim_tx_mode; + struct dim_cq_moder *rx_profile; + struct dim_cq_moder *tx_profile; + void (*rx_dim_work)(struct work_struct *); + void (*tx_dim_work)(struct work_struct *); +}; + struct dir_context; typedef bool (*filldir_t)(struct dir_context *, const char *, int, loff_t, u64, unsigned int); @@ -22613,6 +24507,8 @@ struct dirty_throttle_control { long unsigned int wb_thresh; long unsigned int wb_bg_thresh; long unsigned int pos_ratio; + bool freerun; + bool dirty_exceeded; }; struct dl_bw { @@ -22652,13 +24548,10 @@ struct dma_devres { struct sg_table; struct dma_map_ops { - unsigned int flags; void * (*alloc)(struct device *, size_t, dma_addr_t *, gfp_t, long unsigned int); void (*free)(struct device *, size_t, void *, dma_addr_t, long unsigned int); - struct page * (*alloc_pages)(struct device *, size_t, dma_addr_t *, enum dma_data_direction, gfp_t); + struct page * (*alloc_pages_op)(struct device *, size_t, dma_addr_t *, enum dma_data_direction, gfp_t); void (*free_pages)(struct device *, size_t, struct page *, dma_addr_t, enum dma_data_direction); - struct sg_table * (*alloc_noncontiguous)(struct device *, size_t, enum dma_data_direction, gfp_t, long unsigned int); - void (*free_noncontiguous)(struct device *, size_t, struct sg_table *, enum dma_data_direction); int (*mmap)(struct device *, struct vm_area_struct *, void *, dma_addr_t, size_t, long unsigned int); int (*get_sgtable)(struct device *, struct sg_table *, void *, dma_addr_t, size_t, long unsigned int); dma_addr_t (*map_page)(struct device *, struct page *, long unsigned int, size_t, enum dma_data_direction, long unsigned int); @@ -22675,7 +24568,7 @@ struct dma_map_ops { int (*dma_supported)(struct device *, u64); u64 (*get_required_mask)(struct device *); size_t (*max_mapping_size)(struct device *); - size_t (*opt_mapping_size)(); + size_t (*opt_mapping_size)(void); long unsigned int (*get_merge_boundary)(struct device *); }; @@ -22700,15 +24593,17 @@ struct dma_pool { struct list_head pools; }; -struct sg_table { - struct scatterlist *sgl; - unsigned int nents; - unsigned int orig_nents; +struct dmabuf_cmsg { + __u64 frag_offset; + __u32 frag_size; + __u32 frag_token; + __u32 dmabuf_id; + __u32 flags; }; -struct dma_sgt_handle { - struct sg_table sgt; - struct page **pages; +struct dmabuf_token { + __u32 token_start; + __u32 token_count; }; struct dmi_strmatch { @@ -22866,7 +24761,7 @@ struct dst_ops { u32 * (*cow_metrics)(struct dst_entry *, long unsigned int); void (*destroy)(struct dst_entry *); void (*ifdown)(struct dst_entry *, struct net_device *); - struct dst_entry * (*negative_advice)(struct dst_entry *); + void (*negative_advice)(struct sock *, struct dst_entry *); void (*link_failure)(struct sk_buff *); void (*update_pmtu)(struct dst_entry *, struct sock *, struct sk_buff *, u32, bool); void (*redirect)(struct dst_entry *, struct sock *, struct sk_buff *); @@ -22917,7 +24812,6 @@ struct seq_buf { char *buffer; size_t size; size_t len; - loff_t readpos; }; struct dynevent_cmd; @@ -22944,21 +24838,30 @@ struct e820_table { struct e820_entry entries[131]; }; -struct ethtool_eee { - __u32 cmd; - __u32 supported; - __u32 advertised; - __u32 lp_advertised; - __u32 eee_active; - __u32 eee_enabled; - __u32 tx_lpi_enabled; - __u32 tx_lpi_timer; - __u32 reserved[2]; +struct early_load_data { + u32 old_rev; + u32 new_rev; +}; + +struct eee_config { + u32 tx_lpi_timer; + bool tx_lpi_enabled; + bool eee_enabled; +}; + +struct ethtool_keee { + long unsigned int supported[2]; + long unsigned int advertised[2]; + long unsigned int lp_advertised[2]; + u32 tx_lpi_timer; + bool tx_lpi_enabled; + bool eee_active; + bool eee_enabled; }; struct eee_reply_data { struct ethnl_reply_data base; - struct ethtool_eee eee; + struct ethtool_keee eee; }; struct eeprom_reply_data { @@ -22971,6 +24874,7 @@ struct ethnl_req_info { struct net_device *dev; netdevice_tracker dev_tracker; u32 flags; + u32 phy_index; }; struct eeprom_req_info { @@ -23182,6 +25086,20 @@ struct ethnl_dump_ctx { long unsigned int pos_ifindex; }; +struct ethnl_module_fw_flash_ntf_params { + u32 portid; + u32 seq; + bool closed_sock; +}; + +struct phy_req_info; + +struct ethnl_phy_dump_ctx { + struct phy_req_info *phy_req_info; + long unsigned int ifindex; + long unsigned int phy_index; +}; + struct genl_info; struct ethnl_request_ops { @@ -23201,6 +25119,25 @@ struct ethnl_request_ops { int (*set)(struct ethnl_req_info *, struct genl_info *); }; +struct ethnl_sock_priv { + struct net_device *dev; + u32 portid; + enum ethnl_sock_type type; +}; + +struct tsinfo_req_info; + +struct tsinfo_reply_data; + +struct ethnl_tsinfo_dump_ctx { + struct tsinfo_req_info *req_info; + struct tsinfo_reply_data *reply_data; + long unsigned int pos_ifindex; + bool netdev_dump_done; + long unsigned int pos_phyindex; + enum hwtstamp_provider_qualifier pos_phcqualifier; +}; + struct ethnl_tunnel_info_dump_ctx { struct ethnl_req_info req_info; long unsigned int ifindex; @@ -23220,6 +25157,25 @@ struct ethtool_ah_espip6_spec { __u8 tclass; }; +struct ethtool_c33_pse_ext_state_info { + enum ethtool_c33_pse_ext_state c33_pse_ext_state; + union { + enum ethtool_c33_pse_ext_substate_error_condition error_condition; + enum ethtool_c33_pse_ext_substate_mr_pse_enable mr_pse_enable; + enum ethtool_c33_pse_ext_substate_option_detect_ted option_detect_ted; + enum ethtool_c33_pse_ext_substate_option_vport_lim option_vport_lim; + enum ethtool_c33_pse_ext_substate_ovld_detected ovld_detected; + enum ethtool_c33_pse_ext_substate_power_not_available power_not_available; + enum ethtool_c33_pse_ext_substate_short_detected short_detected; + u32 __c33_pse_ext_substate; + }; +}; + +struct ethtool_c33_pse_pw_limit_range { + u32 min; + u32 max; +}; + struct ethtool_cmd { __u32 cmd; __u32 supported; @@ -23240,6 +25196,69 @@ struct ethtool_cmd { __u32 reserved[2]; }; +struct ethtool_cmis_cdb { + u8 cmis_rev; + u8 read_write_len_ext; + u16 max_completion_time; +}; + +struct ethtool_cmis_cdb_request { + __be16 id; + union { + struct { + __be16 epl_len; + u8 lpl_len; + u8 chk_code; + u8 resv1; + u8 resv2; + u8 payload[120]; + }; + struct { + __be16 epl_len; + u8 lpl_len; + u8 chk_code; + u8 resv1; + u8 resv2; + u8 payload[120]; + } body; + }; + u8 *epl; +}; + +struct ethtool_cmis_cdb_cmd_args { + struct ethtool_cmis_cdb_request req; + u16 max_duration; + u8 read_write_len_ext; + u8 msleep_pre_rpl; + u8 rpl_exp_len; + u8 flags; + char *err_msg; +}; + +struct ethtool_cmis_cdb_rpl_hdr { + u8 rpl_len; + u8 rpl_chk_code; +}; + +struct ethtool_cmis_cdb_rpl { + struct ethtool_cmis_cdb_rpl_hdr hdr; + u8 payload[120]; +}; + +struct ethtool_module_fw_flash_params { + __be32 password; + u8 password_valid: 1; +}; + +struct firmware; + +struct ethtool_cmis_fw_update_params { + struct net_device *dev; + struct ethtool_module_fw_flash_params params; + struct ethnl_module_fw_flash_ntf_params ntf_params; + const struct firmware *fw; +}; + struct ethtool_flash { __u32 cmd; __u32 region; @@ -23277,6 +25296,18 @@ struct ethtool_dump { __u8 data[0]; }; +struct ethtool_eee { + __u32 cmd; + __u32 supported; + __u32 advertised; + __u32 lp_advertised; + __u32 eee_active; + __u32 eee_enabled; + __u32 tx_lpi_enabled; + __u32 tx_lpi_timer; + __u32 reserved[2]; +}; + struct ethtool_eeprom { __u32 cmd; __u32 magic; @@ -23443,6 +25474,13 @@ union ethtool_flow_union { __u8 hdata[52]; }; +struct ethtool_forced_speed_map { + u32 speed; + long unsigned int caps[2]; + const u32 *cap_arr; + u32 arr_size; +}; + struct ethtool_get_features_block { __u32 available; __u32 requested; @@ -23496,7 +25534,6 @@ struct ethtool_link_settings { __u8 master_slave_state; __u8 rate_matching; __u32 reserved[7]; - __u32 link_mode_masks[0]; }; struct ethtool_link_ksettings { @@ -23563,11 +25600,25 @@ struct ethtool_module_eeprom { u8 *data; }; +struct ethtool_module_fw_flash { + struct list_head list; + netdevice_tracker dev_tracker; + struct work_struct work; + struct ethtool_cmis_fw_update_params fw_update; +}; + struct ethtool_module_power_mode_params { enum ethtool_module_power_mode_policy policy; enum ethtool_module_power_mode mode; }; +struct ethtool_netdev_state { + struct xarray rss_ctx; + struct mutex rss_lock; + unsigned int wol_enabled: 1; + unsigned int module_fw_flash_in_progress: 1; +}; + struct ethtool_regs; struct ethtool_wolinfo; @@ -23586,7 +25637,13 @@ struct ethtool_stats; struct ethtool_rxnfc; -struct ethtool_ts_info; +struct ethtool_rxfh_param; + +struct ethtool_rxfh_context; + +struct kernel_ethtool_ts_info; + +struct ethtool_ts_stats; struct ethtool_tunable; @@ -23596,8 +25653,17 @@ struct ethtool_rmon_hist_range; struct ethtool_ops { u32 cap_link_lanes_supported: 1; + u32 cap_rss_ctx_supported: 1; + u32 cap_rss_sym_xor_supported: 1; + u32 rxfh_per_ctx_key: 1; + u32 cap_rss_rxnfc_adds: 1; + u32 rxfh_indir_space; + u16 rxfh_key_space; + u16 rxfh_priv_size; + u32 rxfh_max_num_contexts; u32 supported_coalesce_params; u32 supported_ring_params; + u32 supported_hwtstamp_qualifiers; void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *); int (*get_regs_len)(struct net_device *); void (*get_regs)(struct net_device *, struct ethtool_regs *, void *); @@ -23634,20 +25700,22 @@ struct ethtool_ops { int (*reset)(struct net_device *, u32 *); u32 (*get_rxfh_key_size)(struct net_device *); u32 (*get_rxfh_indir_size)(struct net_device *); - int (*get_rxfh)(struct net_device *, u32 *, u8 *, u8 *); - int (*set_rxfh)(struct net_device *, const u32 *, const u8 *, const u8); - int (*get_rxfh_context)(struct net_device *, u32 *, u8 *, u8 *, u32); - int (*set_rxfh_context)(struct net_device *, const u32 *, const u8 *, const u8, u32 *, bool); + int (*get_rxfh)(struct net_device *, struct ethtool_rxfh_param *); + int (*set_rxfh)(struct net_device *, struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*create_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, const struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*modify_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, const struct ethtool_rxfh_param *, struct netlink_ext_ack *); + int (*remove_rxfh_context)(struct net_device *, struct ethtool_rxfh_context *, u32, struct netlink_ext_ack *); void (*get_channels)(struct net_device *, struct ethtool_channels *); int (*set_channels)(struct net_device *, struct ethtool_channels *); int (*get_dump_flag)(struct net_device *, struct ethtool_dump *); int (*get_dump_data)(struct net_device *, struct ethtool_dump *, void *); int (*set_dump)(struct net_device *, struct ethtool_dump *); - int (*get_ts_info)(struct net_device *, struct ethtool_ts_info *); + int (*get_ts_info)(struct net_device *, struct kernel_ethtool_ts_info *); + void (*get_ts_stats)(struct net_device *, struct ethtool_ts_stats *); int (*get_module_info)(struct net_device *, struct ethtool_modinfo *); int (*get_module_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *); - int (*get_eee)(struct net_device *, struct ethtool_eee *); - int (*set_eee)(struct net_device *, struct ethtool_eee *); + int (*get_eee)(struct net_device *, struct ethtool_keee *); + int (*set_eee)(struct net_device *, struct ethtool_keee *); int (*get_tunable)(struct net_device *, const struct ethtool_tunable *, void *); int (*set_tunable)(struct net_device *, const struct ethtool_tunable *, const void *); int (*get_per_queue_coalesce)(struct net_device *, u32, struct ethtool_coalesce *); @@ -23661,6 +25729,7 @@ struct ethtool_ops { int (*get_phy_tunable)(struct net_device *, const struct ethtool_tunable *, void *); int (*set_phy_tunable)(struct net_device *, const struct ethtool_tunable *, const void *); int (*get_module_eeprom_by_page)(struct net_device *, const struct ethtool_module_eeprom *, struct netlink_ext_ack *); + int (*set_module_eeprom_by_page)(struct net_device *, const struct ethtool_module_eeprom *, struct netlink_ext_ack *); void (*get_eth_phy_stats)(struct net_device *, struct ethtool_eth_phy_stats *); void (*get_eth_mac_stats)(struct net_device *, struct ethtool_eth_mac_stats *); void (*get_eth_ctrl_stats)(struct net_device *, struct ethtool_eth_ctrl_stats *); @@ -23725,6 +25794,28 @@ struct ethtool_phy_ops { int (*start_cable_test_tdr)(struct phy_device *, struct netlink_ext_ack *, const struct phy_tdr_config *); }; +struct ethtool_phy_stats { + u64 rx_packets; + u64 rx_bytes; + u64 rx_errors; + u64 tx_packets; + u64 tx_bytes; + u64 tx_errors; +}; + +struct ethtool_pse_control_status { + enum ethtool_podl_pse_admin_state podl_admin_state; + enum ethtool_podl_pse_pw_d_status podl_pw_status; + enum ethtool_c33_pse_admin_state c33_admin_state; + enum ethtool_c33_pse_pw_d_status c33_pw_status; + u32 c33_pw_class; + u32 c33_actual_pw; + struct ethtool_c33_pse_ext_state_info c33_ext_state_info; + u32 c33_avail_pw_limit; + struct ethtool_c33_pse_pw_limit_range *c33_pw_limit_ranges; + u32 c33_pw_limit_nb_ranges; +}; + struct ethtool_regs { __u32 cmd; __u32 version; @@ -23872,11 +25963,36 @@ struct ethtool_rxfh { __u32 indir_size; __u32 key_size; __u8 hfunc; - __u8 rsvd8[3]; + __u8 input_xfrm; + __u8 rsvd8[2]; __u32 rsvd32; __u32 rss_config[0]; }; +struct ethtool_rxfh_context { + u32 indir_size; + u32 key_size; + u16 priv_size; + u8 hfunc; + u8 input_xfrm; + u8 indir_configured: 1; + u8 key_configured: 1; + u32 key_off; + long: 0; + u8 data[0]; +}; + +struct ethtool_rxfh_param { + u8 hfunc; + u32 indir_size; + u32 *indir; + u32 key_size; + u8 *key; + u32 rss_context; + u8 rss_delete; + u8 input_xfrm; +}; + struct ethtool_rxnfc { __u32 cmd; __u32 flow_type; @@ -23931,6 +26047,23 @@ struct ethtool_ts_info { __u32 rx_reserved[3]; }; +struct ethtool_ts_stats { + union { + struct { + u64 pkts; + u64 onestep_pkts_unconfirmed; + u64 lost; + u64 err; + }; + struct { + u64 pkts; + u64 onestep_pkts_unconfirmed; + u64 lost; + u64 err; + } tx_stats; + }; +}; + struct ethtool_tunable { __u32 cmd; __u32 id; @@ -23992,6 +26125,14 @@ struct event_function_struct { void *data; }; +struct event_mod_load { + struct list_head list; + char *module; + char *match; + char *system; + char *event; +}; + struct event_probe_data { struct trace_event_file *file; long unsigned int count; @@ -24032,29 +26173,43 @@ struct event_trigger_ops { int (*print)(struct seq_file *, struct event_trigger_data *); }; -struct eventfs_inode; +struct eventfs_attr { + int mode; + kuid_t uid; + kgid_t gid; +}; + +typedef int (*eventfs_callback)(const char *, umode_t *, void **, const struct file_operations **); -struct inode_operations; +typedef void (*eventfs_release)(const char *, void *); -struct eventfs_file { +struct eventfs_entry { const char *name; - struct dentry *d_parent; - struct dentry *dentry; - struct list_head list; - struct eventfs_inode *ei; - const struct file_operations *fop; - const struct inode_operations *iop; + eventfs_callback callback; + eventfs_release release; +}; + +struct eventfs_inode { union { - struct list_head del_list; + struct list_head list; struct callback_head rcu; - long unsigned int is_freed; }; + struct list_head children; + const struct eventfs_entry *entries; + const char *name; + struct eventfs_attr *entry_attrs; void *data; - umode_t mode; + struct eventfs_attr attr; + struct kref kref; + unsigned int is_freed: 1; + unsigned int is_events: 1; + unsigned int nr_entries: 30; + unsigned int ino; }; -struct eventfs_inode { - struct list_head e_top_files; +struct eventfs_root_inode { + struct eventfs_inode ei; + struct dentry *events_dir; }; struct exception_stacks { @@ -24079,6 +26234,20 @@ struct exception_table_entry { int data; }; +struct execmem_range { + long unsigned int start; + long unsigned int end; + long unsigned int fallback_start; + long unsigned int fallback_end; + pgprot_t pgprot; + unsigned int alignment; + enum execmem_range_flags flags; +}; + +struct execmem_info { + struct execmem_range ranges[5]; +}; + struct execute_work { struct work_struct work; }; @@ -24089,6 +26258,8 @@ struct fid; struct iattr; +struct handle_to_path_ctx; + struct export_operations { int (*encode_fh)(struct inode *, __u32 *, int *, struct inode *); struct dentry * (*fh_to_dentry)(struct super_block *, struct fid *, int, int); @@ -24099,6 +26270,8 @@ struct export_operations { int (*get_uuid)(struct super_block *, u8 *, u32 *, u64 *); int (*map_blocks)(struct inode *, loff_t, u64, struct iomap *, bool, u32 *); int (*commit_blocks)(struct inode *, struct iomap *, int, struct iattr *); + int (*permission)(struct handle_to_path_ctx *, unsigned int); + struct file * (*open)(struct path *, unsigned int); long unsigned int flags; }; @@ -24116,10 +26289,8 @@ struct extended_sigtable { }; struct external_name { - union { - atomic_t count; - struct callback_head head; - } u; + atomic_t count; + struct callback_head head; unsigned char name[0]; }; @@ -24166,6 +26337,20 @@ struct fasync_struct { struct callback_head fa_rcu; }; +struct faux_device { + struct device dev; +}; + +struct faux_device_ops { + int (*probe)(struct faux_device *); + void (*remove)(struct faux_device *); +}; + +struct faux_object { + struct faux_device faux_dev; + const struct faux_device_ops *faux_ops; +}; + struct fc_log { refcount_t usage; u8 head; @@ -24176,8 +26361,18 @@ struct fc_log { }; struct fd { - struct file *file; - unsigned int flags; + long unsigned int word; +}; + +typedef struct fd class_fd_pos_t; + +typedef struct fd class_fd_raw_t; + +typedef struct fd class_fd_t; + +struct fd_range { + unsigned int from; + unsigned int to; }; struct fdtable { @@ -24278,37 +26473,75 @@ struct ftrace_graph_ret { long unsigned int func; int depth; unsigned int overrun; - long long unsigned int calltime; - long long unsigned int rettime; }; struct ftrace_graph_ret_entry { struct trace_entry ent; struct ftrace_graph_ret ret; + long long unsigned int calltime; + long long unsigned int rettime; }; struct fgraph_data { struct fgraph_cpu_data *cpu_data; - struct ftrace_graph_ent_entry ent; + union { + struct ftrace_graph_ent_entry ent; + struct ftrace_graph_ent_entry rent; + } ent; struct ftrace_graph_ret_entry ret; int failed; int cpu; long: 0; } __attribute__((packed)); -typedef int (*trace_func_graph_ent_t)(struct ftrace_graph_ent *); +struct fgraph_ops; + +typedef int (*trace_func_graph_ent_t)(struct ftrace_graph_ent *, struct fgraph_ops *, struct ftrace_regs *); -typedef void (*trace_func_graph_ret_t)(struct ftrace_graph_ret *); +typedef void (*trace_func_graph_ret_t)(struct ftrace_graph_ret *, struct fgraph_ops *, struct ftrace_regs *); + +typedef void (*ftrace_func_t)(long unsigned int, long unsigned int, struct ftrace_ops *, struct ftrace_regs *); + +struct ftrace_hash; + +struct ftrace_ops_hash { + struct ftrace_hash *notrace_hash; + struct ftrace_hash *filter_hash; + struct mutex regex_lock; +}; + +typedef int (*ftrace_ops_func_t)(struct ftrace_ops *, enum ftrace_ops_cmd); + +struct ftrace_ops { + ftrace_func_t func; + struct ftrace_ops *next; + long unsigned int flags; + void *private; + ftrace_func_t saved_func; + struct ftrace_ops_hash local_hash; + struct ftrace_ops_hash *func_hash; + struct ftrace_ops_hash old_hash; + long unsigned int trampoline; + long unsigned int trampoline_size; + struct list_head list; + struct list_head subop_list; + ftrace_ops_func_t ops_func; + struct ftrace_ops *managed; + long unsigned int direct_call; +}; struct fgraph_ops { trace_func_graph_ent_t entryfunc; trace_func_graph_ret_t retfunc; + struct ftrace_ops ops; + void *private; + trace_func_graph_ent_t saved_func; + int idx; }; -struct fgraph_ret_regs { - long unsigned int ax; - long unsigned int dx; - long unsigned int bp; +struct fgraph_times { + long long unsigned int calltime; + long long unsigned int sleeptime; }; struct fib6_node; @@ -24627,6 +26860,7 @@ struct fib_dump_filter { bool filter_set; bool dump_routes; bool dump_exceptions; + bool rtnl_held; unsigned char protocol; unsigned char rt_type; unsigned int flags; @@ -24703,7 +26937,7 @@ struct fib_notifier_net { struct fib_notifier_ops { int family; struct list_head list; - unsigned int (*fib_seq_read)(struct net *); + unsigned int (*fib_seq_read)(const struct net *); int (*fib_dump)(struct net *, struct notifier_block *, struct netlink_ext_ack *); struct module *owner; struct callback_head rcu; @@ -24723,6 +26957,7 @@ struct fib_result { unsigned char type; unsigned char scope; u32 tclassid; + dscp_t dscp; struct fib_nh_common *nhc; struct fib_info *fi; struct fib_table *table; @@ -24773,6 +27008,10 @@ struct fid { u32 parent_ino; u32 parent_gen; } i32; + struct { + u64 ino; + u32 gen; + } __attribute__((packed)) i64; struct { u32 block; u16 partref; @@ -24844,6 +27083,31 @@ struct file_dedupe_range { typedef void *fl_owner_t; +struct file_lock_core { + struct file_lock_core *flc_blocker; + struct list_head flc_list; + struct hlist_node flc_link; + struct list_head flc_blocked_requests; + struct list_head flc_blocked_member; + fl_owner_t flc_owner; + unsigned int flc_flags; + unsigned char flc_type; + pid_t flc_pid; + int flc_link_cpu; + wait_queue_head_t flc_wait; + struct file *flc_file; +}; + +struct lease_manager_operations; + +struct file_lease { + struct file_lock_core c; + struct fasync_struct *fl_fasync; + long unsigned int fl_break_time; + long unsigned int fl_downgrade_time; + const struct lease_manager_operations *fl_lmops; +}; + struct nlm_lockowner; struct nfs_lock_info { @@ -24863,23 +27127,9 @@ struct file_lock_operations; struct lock_manager_operations; struct file_lock { - struct file_lock *fl_blocker; - struct list_head fl_list; - struct hlist_node fl_link; - struct list_head fl_blocked_requests; - struct list_head fl_blocked_member; - fl_owner_t fl_owner; - unsigned int fl_flags; - unsigned char fl_type; - unsigned int fl_pid; - int fl_link_cpu; - wait_queue_head_t fl_wait; - struct file *fl_file; + struct file_lock_core c; loff_t fl_start; loff_t fl_end; - struct fasync_struct *fl_fasync; - long unsigned int fl_break_time; - long unsigned int fl_downgrade_time; const struct file_lock_operations *fl_ops; const struct lock_manager_operations *fl_lmops; union { @@ -24908,12 +27158,13 @@ struct file_lock_operations { void (*fl_release_private)(struct file_lock *); }; -struct pipe_inode_info; - struct io_uring_cmd; +struct pipe_inode_info; + struct file_operations { struct module *owner; + fop_flags_t fop_flags; loff_t (*llseek)(struct file *, loff_t, int); ssize_t (*read)(struct file *, char *, size_t, loff_t *); ssize_t (*write)(struct file *, const char *, size_t, loff_t *); @@ -24925,7 +27176,6 @@ struct file_operations { long int (*unlocked_ioctl)(struct file *, unsigned int, long unsigned int); long int (*compat_ioctl)(struct file *, unsigned int, long unsigned int); int (*mmap)(struct file *, struct vm_area_struct *); - long unsigned int mmap_supported_flags; int (*open)(struct inode *, struct file *); int (*flush)(struct file *, fl_owner_t); int (*release)(struct inode *, struct file *); @@ -24938,7 +27188,7 @@ struct file_operations { ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int); ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int); void (*splice_eof)(struct file *); - int (*setlease)(struct file *, int, struct file_lock **, void **); + int (*setlease)(struct file *, int, struct file_lease **, void **); long int (*fallocate)(struct file *, int, loff_t, loff_t); void (*show_fdinfo)(struct seq_file *, struct file *); ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t, size_t, unsigned int); @@ -25018,6 +27268,14 @@ struct filter_list { struct event_filter *filter; }; +struct filter_match_data { + const char *filter; + const char *notfilter; + size_t index; + size_t size; + long unsigned int *addrs; +}; + struct filter_parse_error { int lasterr; int lasterr_pos; @@ -25047,7 +27305,7 @@ struct find_symbol_arg { bool gplok; bool warn; struct module *owner; - const s32 *crc; + const u32 *crc; const struct kernel_symbol *sym; enum mod_license license; }; @@ -25073,14 +27331,14 @@ struct flock { typedef void (*action_destr)(void *); -struct ip_tunnel_info; - struct psample_group; struct nf_flowtable; struct action_gate_entry; +struct ip_tunnel_info; + struct flow_action_cookie; struct flow_action_entry { @@ -25285,7 +27543,7 @@ struct flow_dissector_key_ct { struct flow_dissector_key_enc_opts { u8 data[255]; u8 len; - __be16 dst_opt_type; + u32 dst_opt_type; }; struct flow_dissector_key_hash { @@ -25546,8 +27804,8 @@ struct flowi_common { __u8 flowic_flags; __u32 flowic_secid; kuid_t flowic_uid; - struct flowi_tunnel flowic_tun_key; __u32 flowic_multipath_hash; + struct flowi_tunnel flowic_tun_key; }; union flowi_uli { @@ -25589,6 +27847,11 @@ struct flowi { } u; }; +struct flush_backlogs { + cpumask_t flush_cpus; + struct work_struct w[0]; +}; + struct flush_tlb_info { struct mm_struct *mm; long unsigned int start; @@ -25597,6 +27860,13 @@ struct flush_tlb_info { unsigned int initiating_cpu; u8 stride_shift; u8 freed_tables; + u8 trim_cpumask; +}; + +struct fmt { + const char *str; + unsigned char state; + unsigned char size; }; struct fnhe_hash_bucket { @@ -25630,10 +27900,7 @@ struct page { struct page_pool *pp; long unsigned int _pp_mapping_pad; long unsigned int dma_addr; - union { - long unsigned int dma_addr_upper; - atomic_long_t pp_frag_count; - }; + atomic_long_t pp_ref_count; }; struct { long unsigned int compound_head; @@ -25645,8 +27912,8 @@ struct page { struct callback_head callback_head; }; union { - atomic_t _mapcount; unsigned int page_type; + atomic_t _mapcount; }; atomic_t _refcount; long: 64; @@ -25678,7 +27945,7 @@ struct folio { struct { long unsigned int _flags_1; long unsigned int _head_1; - long unsigned int _folio_avail; + atomic_t _large_mapcount; atomic_t _entire_mapcount; atomic_t _nr_pages_mapped; atomic_t _pincount; @@ -25704,6 +27971,18 @@ struct folio { }; }; +struct folio_queue { + struct folio_batch vec; + u8 orders[31]; + struct folio_queue *next; + struct folio_queue *prev; + long unsigned int marks; + long unsigned int marks2; + long unsigned int marks3; + unsigned int rreq_id; + unsigned int debug_id; +}; + struct mem_cgroup; struct folio_referenced_arg { @@ -25713,11 +27992,39 @@ struct folio_referenced_arg { struct mem_cgroup *memcg; }; +struct folio_walk { + struct page *page; + enum folio_walk_level level; + union { + pte_t *ptep; + pud_t *pudp; + pmd_t *pmdp; + }; + union { + pte_t pte; + pud_t pud; + pmd_t pmd; + }; + struct vm_area_struct *vma; + spinlock_t *ptl; +}; + struct follow_page_context { struct dev_pagemap *pgmap; unsigned int page_mask; }; +struct follow_pfnmap_args { + struct vm_area_struct *vma; + long unsigned int address; + spinlock_t *lock; + pte_t *ptep; + long unsigned int pfn; + pgprot_t pgprot; + bool writable; + bool special; +}; + struct inactive_task_frame { long unsigned int r15; long unsigned int r14; @@ -25733,6 +28040,25 @@ struct fork_frame { struct pt_regs regs; }; +struct format_state___2 { + unsigned char state; + unsigned char size; + unsigned char flags_or_double_size; + unsigned char base; +}; + +struct pid; + +struct fown_struct { + struct file *file; + rwlock_t lock; + struct pid *pid; + enum pid_type pid_type; + kuid_t uid; + kuid_t euid; + int signum; +}; + struct fregs_state { u32 cwd; u32 swd; @@ -25814,27 +28140,18 @@ union fpregs_state { u8 __padding[4096]; }; -struct freelist_node { - atomic_t refs; - struct freelist_node *next; -}; - -struct rethook_node { - union { - struct freelist_node freelist; - struct callback_head rcu; - }; - struct llist_node llist; - struct rethook *rethook; - long unsigned int ret_addr; - long unsigned int frame; +struct fprobe_hlist_node { + struct hlist_node hlist; + long unsigned int addr; + struct fprobe *fp; }; -struct fprobe_rethook_node { - struct rethook_node node; - long unsigned int entry_ip; - long unsigned int entry_parent_ip; - char data[0]; +struct fprobe_hlist { + struct hlist_node hlist; + struct callback_head rcu; + struct fprobe *fp; + int size; + struct fprobe_hlist_node array[0]; }; struct fprop_global { @@ -25843,12 +28160,6 @@ struct fprop_global { seqcount_t sequence; }; -struct fprop_local_single { - long unsigned int events; - unsigned int period; - raw_spinlock_t lock; -}; - struct fpstate { unsigned int size; unsigned int user_size; @@ -25895,6 +28206,7 @@ struct fpu_state_config { u64 max_features; u64 default_features; u64 legacy_features; + u64 independent_features; }; typedef u32 (*rht_hashfn_t)(const void *, u32, u32); @@ -25985,7 +28297,7 @@ struct inet_frag_queue { ktime_t stamp; int len; int meat; - u8 mono_delivery_time; + u8 tstamp_type; __u8 flags; u16 max_size; struct fqdir *fqdir; @@ -25999,15 +28311,30 @@ struct frag_queue { u8 ecn; }; +struct freader { + void *buf; + u32 buf_sz; + int err; + union { + struct { + struct file *file; + struct folio *folio; + void *addr; + loff_t folio_off; + bool may_fault; + }; + struct { + const char *data; + u64 data_sz; + }; + }; +}; + struct free_area { struct list_head free_list[4]; long unsigned int nr_free; }; -struct freelist_head { - struct freelist_node *head; -}; - struct muldiv { u32 multiplier; u32 divider; @@ -26095,6 +28422,8 @@ struct fs_parse_result { int int_32; unsigned int uint_32; u64 uint_64; + kuid_t uid; + kgid_t gid; }; }; @@ -26116,6 +28445,33 @@ struct fs_struct { struct path pwd; }; +struct fs_sysfs_path { + __u8 len; + __u8 name[128]; +}; + +struct fsnotify_mark_connector { + spinlock_t lock; + unsigned char type; + unsigned char prio; + short unsigned int flags; + union { + void *obj; + struct fsnotify_mark_connector *destroy_next; + }; + struct hlist_head list; +}; + +struct fsnotify_sb_info { + struct fsnotify_mark_connector *sb_marks; + atomic_long_t watched_objects[3]; +}; + +struct fsuuid2 { + __u8 len; + __u8 uuid[16]; +}; + struct fsxattr { __u32 fsx_xflags; __u32 fsx_extsize; @@ -26126,8 +28482,9 @@ struct fsxattr { }; struct trace_seq { - char buffer[4096]; + char buffer[8156]; struct seq_buf seq; + size_t readpos; int full; }; @@ -26148,9 +28505,10 @@ struct trace_iterator { unsigned int temp_size; char *fmt; unsigned int fmt_size; - long int wait_index; + atomic_t wait_index; struct trace_seq tmp_seq; cpumask_var_t started; + bool closed; bool snapshot; struct trace_seq seq; struct trace_entry *ent; @@ -26167,6 +28525,7 @@ struct ftrace_buffer_info { struct trace_iterator iter; void *spare; unsigned int spare_cpu; + unsigned int spare_size; unsigned int read; }; @@ -26183,7 +28542,8 @@ struct ftrace_event_field { int filter_type; int offset; int size; - int is_signed; + unsigned int is_signed: 1; + unsigned int needs_test: 1; int len; }; @@ -26326,14 +28686,11 @@ struct ftrace_rec_iter { int index; }; -struct ftrace_regs { - struct pt_regs regs; -}; +struct ftrace_regs {}; struct ftrace_ret_stack { long unsigned int ret; long unsigned int func; - long long unsigned int calltime; long unsigned int *retp; }; @@ -26394,6 +28751,7 @@ struct fwnode_operations { bool (*device_dma_supported)(const struct fwnode_handle *); enum dev_dma_attr (*device_get_dma_attr)(const struct fwnode_handle *); bool (*property_present)(const struct fwnode_handle *, const char *); + bool (*property_read_bool)(const struct fwnode_handle *, const char *); int (*property_read_int_array)(const struct fwnode_handle *, const char *, unsigned int, void *, size_t); int (*property_read_string_array)(const struct fwnode_handle *, const char *, const char **, size_t); const char * (*get_name)(const struct fwnode_handle *); @@ -27026,7 +29384,10 @@ struct genl_info { struct genlmsghdr *genlhdr; struct nlattr **attrs; possible_net_t _net; - void *user_ptr[2]; + union { + u8 ctx[48]; + void *user_ptr[2]; + }; struct netlink_ext_ack *extack; }; @@ -27056,13 +29417,19 @@ struct genl_family { const struct nla_policy *policy; int (*pre_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); void (*post_doit)(const struct genl_split_ops *, struct sk_buff *, struct genl_info *); + int (*bind)(int); + void (*unbind)(int); const struct genl_ops *ops; const struct genl_small_ops *small_ops; const struct genl_split_ops *split_ops; const struct genl_multicast_group *mcgrps; struct module *module; + size_t sock_priv_size; + void (*sock_priv_init)(void *); + void (*sock_priv_destroy)(void *); int id; unsigned int mcgrp_offset; + struct xarray *sock_privs; }; struct genl_multicast_group { @@ -27123,8 +29490,8 @@ struct genradix_iter { struct genradix_node { union { - struct genradix_node *children[512]; - u8 data[4096]; + struct genradix_node *children[64]; + u8 data[512]; }; }; @@ -27164,21 +29531,17 @@ struct gfn_to_hva_cache { struct kvm; -struct kvm_vcpu; - struct gfn_to_pfn_cache { u64 generation; gpa_t gpa; long unsigned int uhva; struct kvm_memory_slot *memslot; struct kvm *kvm; - struct kvm_vcpu *vcpu; struct list_head list; rwlock_t lock; struct mutex refresh_lock; void *khva; kvm_pfn_t pfn; - enum pfn_cache_usage usage; bool active; bool valid; }; @@ -27244,11 +29607,13 @@ struct gro_list { int count; }; +struct napi_config; + struct napi_struct { struct list_head poll_list; long unsigned int state; int weight; - int defer_hard_irqs_count; + u32 defer_hard_irqs_count; long unsigned int gro_bitmask; int (*poll)(struct napi_struct *, int); int list_owner; @@ -27260,8 +29625,14 @@ struct napi_struct { unsigned int napi_id; struct hrtimer timer; struct task_struct *thread; + long unsigned int gro_flush_timeout; + long unsigned int irq_suspend_timeout; + u32 defer_hard_irqs; struct list_head dev_list; struct hlist_node napi_hash_node; + int irq; + int index; + struct napi_config *config; }; struct gro_cell { @@ -27293,7 +29664,7 @@ struct group_filter { }; struct group_info { - atomic_t usage; + refcount_t usage; int ngroups; kgid_t gid[0]; }; @@ -27309,6 +29680,12 @@ struct group_source_req { struct __kernel_sockaddr_storage gsr_source; }; +struct handle_to_path_ctx { + struct path root; + enum handle_to_path_flags flags; + unsigned int fh_flags; +}; + struct hh_cache; struct header_ops { @@ -27366,6 +29743,12 @@ struct hpet_channel { long: 64; }; +struct hprobe { + enum hprobe_state state; + int srcu_idx; + struct uprobe *uprobe; +}; + struct seqcount_raw_spinlock { seqcount_t seqcount; }; @@ -27381,7 +29764,7 @@ struct hrtimer_clock_base { seqcount_raw_spinlock_t seq; struct hrtimer *running; struct timerqueue_head active; - ktime_t (*get_time)(); + ktime_t (*get_time)(void); ktime_t offset; }; @@ -27394,6 +29777,7 @@ struct hrtimer_cpu_base { unsigned int in_hrtirq: 1; unsigned int hang_detected: 1; unsigned int softirq_activated: 1; + unsigned int online: 1; ktime_t expires_next; struct hrtimer *next_timer; ktime_t softirq_expires_next; @@ -27401,6 +29785,11 @@ struct hrtimer_cpu_base { long: 64; long: 64; struct hrtimer_clock_base clock_base[8]; + call_single_data_t csd; + long: 64; + long: 64; + long: 64; + long: 64; }; struct hrtimer_sleeper { @@ -27455,89 +29844,6 @@ struct htab_elem { char key[0]; }; -union hv_message_flags { - __u8 asu8; - struct { - __u8 msg_pending: 1; - __u8 reserved: 7; - }; -}; - -union hv_port_id { - __u32 asu32; - struct { - __u32 id: 24; - __u32 reserved: 8; - } u; -}; - -struct hv_message_header { - __u32 message_type; - __u8 payload_size; - union hv_message_flags message_flags; - __u8 reserved[2]; - union { - __u64 sender; - union hv_port_id port; - }; -}; - -struct hv_message { - struct hv_message_header header; - union { - __u64 payload[30]; - } u; -}; - -struct hv_nested_enlightenments_control { - struct { - __u32 directhypercall: 1; - __u32 reserved: 31; - } features; - struct { - __u32 inter_partition_comm: 1; - __u32 reserved: 31; - } hypercallControls; -}; - -struct hv_partition_assist_pg { - u32 tlb_lock_count; -}; - -union hv_stimer_config { - u64 as_uint64; - struct { - u64 enable: 1; - u64 periodic: 1; - u64 lazy: 1; - u64 auto_enable: 1; - u64 apic_vector: 8; - u64 direct_mode: 1; - u64 reserved_z0: 3; - u64 sintx: 4; - u64 reserved_z1: 44; - }; -}; - -struct hv_vp_assist_page { - __u32 apic_assist; - __u32 reserved1; - __u32 vtl_entry_reason; - __u32 vtl_reserved; - __u64 vtl_ret_x64rax; - __u64 vtl_ret_x64rcx; - struct hv_nested_enlightenments_control nested_control; - __u8 enlighten_vmentry; - __u8 reserved2[7]; - __u64 current_nested_vmcs; - __u8 synthetic_time_unhalted_timer_expired; - __u8 reserved3[7]; - __u8 virtualization_fault_information[40]; - __u8 reserved4[8]; - __u8 intercept_message[256]; - __u8 vtl_ret_actions[256]; -}; - struct hw_perf_event_extra { u64 config; unsigned int reg; @@ -27564,6 +29870,10 @@ struct hw_perf_event { struct hw_perf_event_extra extra_reg; struct hw_perf_event_extra branch_reg; }; + struct { + u64 aux_config; + unsigned int aux_paused; + }; struct { struct hrtimer hrtimer; }; @@ -27635,6 +29945,18 @@ struct hwtstamp_config { int rx_filter; }; +struct hwtstamp_provider_desc { + int index; + enum hwtstamp_provider_qualifier qualifier; +}; + +struct hwtstamp_provider { + struct callback_head callback_head; + enum hwtstamp_source source; + struct phy_device *phydev; + struct hwtstamp_provider_desc desc; +}; + struct iattr { unsigned int ia_valid; umode_t ia_mode; @@ -28302,7 +30624,7 @@ struct in_device { }; struct in_ifaddr { - struct hlist_node hash; + struct hlist_node addr_lst; struct in_ifaddr *ifa_next; struct in_device *ifa_dev; struct callback_head callback_head; @@ -28348,9 +30670,14 @@ struct ipv6_stable_secret { }; struct ipv6_devconf { - __s32 forwarding; + __u8 __cacheline_group_begin__ipv6_devconf_read_txrx[0]; + __s32 disable_ipv6; __s32 hop_limit; __s32 mtu6; + __s32 forwarding; + __s32 disable_policy; + __s32 proxy_ndp; + __u8 __cacheline_group_end__ipv6_devconf_read_txrx[0]; __s32 accept_ra; __s32 accept_redirects; __s32 autoconf; @@ -28365,6 +30692,7 @@ struct ipv6_devconf { __s32 use_tempaddr; __s32 temp_valid_lft; __s32 temp_prefered_lft; + __s32 regen_min_advance; __s32 regen_max_retry; __s32 max_desync_factor; __s32 max_addresses; @@ -28374,10 +30702,8 @@ struct ipv6_devconf { __s32 accept_ra_min_lft; __s32 accept_ra_pinfo; __s32 ignore_routes_with_linkdown; - __s32 proxy_ndp; __s32 accept_source_route; __s32 accept_ra_from_local; - __s32 disable_ipv6; __s32 drop_unicast_in_l2_multicast; __s32 accept_dad; __s32 force_tllao; @@ -28392,13 +30718,14 @@ struct ipv6_devconf { __s32 seg6_enabled; __u32 enhanced_dad; __u32 addr_gen_mode; - __s32 disable_policy; __s32 ndisc_tclass; __s32 rpl_seg_enabled; __u32 ioam6_id; __u32 ioam6_id_wide; __u8 ioam6_enabled; __u8 ndisc_evict_nocarrier; + __u8 ra_honor_pio_life; + __u8 ra_honor_pio_pflag; struct ctl_table_header *sysctl_header; }; @@ -28464,6 +30791,7 @@ struct inet6_fill_args { int netnsid; int ifindex; enum addr_type_t type; + bool force_rt_scope_universe; }; struct inet6_ifaddr { @@ -28503,6 +30831,7 @@ struct inet6_protocol { int (*handler)(struct sk_buff *); int (*err_handler)(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int, __be32); unsigned int flags; + u32 secret; }; struct inet6_skb_parm { @@ -28522,14 +30851,11 @@ struct inet_bind2_bucket { possible_net_t ib_net; int l3mdev; short unsigned int port; - short unsigned int family; - union { - struct in6_addr v6_rcv_saddr; - __be32 rcv_saddr; - }; + short unsigned int addr_type; + struct in6_addr v6_rcv_saddr; struct hlist_node node; + struct hlist_node bhash_node; struct hlist_head owners; - struct hlist_head deathrow; }; struct inet_bind_bucket { @@ -28544,7 +30870,7 @@ struct inet_bind_bucket { short unsigned int fast_sk_family; bool fast_ipv6_only; struct hlist_node node; - struct hlist_head owners; + struct hlist_head bhash2; }; struct inet_bind_hashbucket { @@ -28634,12 +30960,9 @@ struct sock_reuseport; struct sock { struct sock_common __sk_common; - struct dst_entry *sk_rx_dst; - int sk_rx_dst_ifindex; - u32 sk_rx_dst_cookie; - socket_lock_t sk_lock; + __u8 __cacheline_group_begin__sock_write_rx[0]; atomic_t sk_drops; - int sk_rcvlowat; + __s32 sk_peek_off; struct sk_buff_head sk_error_queue; struct sk_buff_head sk_receive_queue; struct { @@ -28648,18 +30971,39 @@ struct sock { struct sk_buff *head; struct sk_buff *tail; } sk_backlog; - int sk_forward_alloc; - u32 sk_reserved_mem; + __u8 __cacheline_group_end__sock_write_rx[0]; + __u8 __cacheline_group_begin__sock_read_rx[0]; + struct dst_entry *sk_rx_dst; + int sk_rx_dst_ifindex; + u32 sk_rx_dst_cookie; unsigned int sk_ll_usec; unsigned int sk_napi_id; + u16 sk_busy_poll_budget; + u8 sk_prefer_busy_poll; + u8 sk_userlocks; int sk_rcvbuf; - int sk_disconnects; struct sk_filter *sk_filter; union { struct socket_wq *sk_wq; struct socket_wq *sk_wq_raw; }; - struct dst_entry *sk_dst_cache; + void (*sk_data_ready)(struct sock *); + long int sk_rcvtimeo; + int sk_rcvlowat; + __u8 __cacheline_group_end__sock_read_rx[0]; + __u8 __cacheline_group_begin__sock_read_rxtx[0]; + int sk_err; + struct socket *sk_socket; + struct mem_cgroup *sk_memcg; + __u8 __cacheline_group_end__sock_read_rxtx[0]; + __u8 __cacheline_group_begin__sock_write_rxtx[0]; + socket_lock_t sk_lock; + u32 sk_reserved_mem; + int sk_forward_alloc; + u32 sk_tsflags; + __u8 __cacheline_group_end__sock_write_rxtx[0]; + __u8 __cacheline_group_begin__sock_write_tx[0]; + int sk_write_pending; atomic_t sk_omem_alloc; int sk_sndbuf; int sk_wmem_queued; @@ -28670,63 +31014,57 @@ struct sock { struct rb_root tcp_rtx_queue; }; struct sk_buff_head sk_write_queue; - __s32 sk_peek_off; - int sk_write_pending; - __u32 sk_dst_pending_confirm; + u32 sk_dst_pending_confirm; u32 sk_pacing_status; - long int sk_sndtimeo; + struct page_frag sk_frag; struct timer_list sk_timer; - __u32 sk_priority; - __u32 sk_mark; long unsigned int sk_pacing_rate; + atomic_t sk_zckey; + atomic_t sk_tskey; + __u8 __cacheline_group_end__sock_write_tx[0]; + __u8 __cacheline_group_begin__sock_read_tx[0]; long unsigned int sk_max_pacing_rate; - struct page_frag sk_frag; + long int sk_sndtimeo; + u32 sk_priority; + u32 sk_mark; + struct dst_entry *sk_dst_cache; netdev_features_t sk_route_caps; - int sk_gso_type; + u16 sk_gso_type; + u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; - __u32 sk_txhash; + u32 sk_txhash; + u8 sk_pacing_shift; + bool sk_use_task_frag; + __u8 __cacheline_group_end__sock_read_tx[0]; u8 sk_gso_disabled: 1; u8 sk_kern_sock: 1; u8 sk_no_check_tx: 1; u8 sk_no_check_rx: 1; - u8 sk_userlocks: 4; - u8 sk_pacing_shift; + u8 sk_shutdown; u16 sk_type; u16 sk_protocol; - u16 sk_gso_max_segs; long unsigned int sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; - int sk_err; int sk_err_soft; u32 sk_ack_backlog; u32 sk_max_ack_backlog; kuid_t sk_uid; - u8 sk_txrehash; - u8 sk_prefer_busy_poll; - u16 sk_busy_poll_budget; spinlock_t sk_peer_lock; int sk_bind_phc; struct pid *sk_peer_pid; const struct cred *sk_peer_cred; - long int sk_rcvtimeo; ktime_t sk_stamp; - atomic_t sk_tskey; - atomic_t sk_zckey; - u32 sk_tsflags; - u8 sk_shutdown; + int sk_disconnects; + u8 sk_txrehash; u8 sk_clockid; u8 sk_txtime_deadline_mode: 1; u8 sk_txtime_report_errors: 1; u8 sk_txtime_unused: 6; - bool sk_use_task_frag; - struct socket *sk_socket; void *sk_user_data; struct sock_cgroup_data sk_cgrp_data; - struct mem_cgroup *sk_memcg; void (*sk_state_change)(struct sock *); - void (*sk_data_ready)(struct sock *); void (*sk_write_space)(struct sock *); void (*sk_error_report)(struct sock *); int (*sk_backlog_rcv)(struct sock *, struct sk_buff *); @@ -28735,7 +31073,7 @@ struct sock { struct bpf_local_storage *sk_bpf_storage; struct callback_head sk_rcu; netns_tracker ns_tracker; - struct hlist_node sk_bind2_node; + struct xarray sk_user_frags; }; struct inet_cork { @@ -28748,8 +31086,9 @@ struct inet_cork { u8 tx_flags; __u8 ttl; __s16 tos; - char priority; + u32 priority; __u16 gso_size; + u32 ts_opt_id; u64 transmit_time; u32 mark; }; @@ -28781,10 +31120,7 @@ struct inet_sock { int uc_index; int mc_index; __be32 mc_addr; - struct { - __u16 lo; - __u16 hi; - } local_port_range; + u32 local_port_range; struct ip_mc_socklist *mc_list; struct inet_cork_full cork; }; @@ -28837,7 +31173,9 @@ struct inet_connection_sock { __u8 quick; __u8 pingpong; __u8 retry; - __u32 ato; + __u32 ato: 8; + __u32 lrcv_flowlabel: 20; + __u32 unused: 4; long unsigned int timeout; __u32 lrcvtime; __u16 last_seg_size; @@ -28863,7 +31201,6 @@ struct inet_connection_sock_af_ops { int (*conn_request)(struct sock *, struct sk_buff *); struct sock * (*syn_recv_sock)(const struct sock *, struct sk_buff *, struct request_sock *, struct dst_entry *, struct request_sock *, bool *); u16 net_header_len; - u16 net_frag_header_len; u16 sockaddr_len; int (*setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); int (*getsockopt)(struct sock *, int, int, char *, int *); @@ -28877,8 +31214,6 @@ struct inet_diag_bc_op { short unsigned int no; }; -struct bpf_sk_storage_diag; - struct inet_diag_dump_data { struct nlattr *req_nlas[4]; struct bpf_sk_storage_diag *bpf_stg_diag; @@ -28900,6 +31235,7 @@ struct inet_diag_req_v2; struct inet_diag_msg; struct inet_diag_handler { + struct module *owner; void (*dump)(struct sk_buff *, struct netlink_callback *, const struct inet_diag_req_v2 *); int (*dump_one)(struct netlink_callback *, const struct inet_diag_req_v2 *); void (*idiag_get_info)(struct sock *, struct inet_diag_msg *, void *); @@ -29132,21 +31468,24 @@ struct inet_timewait_death_row { struct inet_timewait_sock { struct sock_common __tw_common; __u32 tw_mark; - volatile unsigned char tw_substate; + unsigned char tw_substate; unsigned char tw_rcv_wscale; __be16 tw_sport; unsigned int tw_transparent: 1; unsigned int tw_flowlabel: 20; - unsigned int tw_pad: 3; + unsigned int tw_usec_ts: 1; + unsigned int tw_pad: 2; unsigned int tw_tos: 8; u32 tw_txhash; u32 tw_priority; + u32 tw_entry_stamp; struct timer_list tw_timer; struct inet_bind_bucket *tw_tb; struct inet_bind2_bucket *tw_tb2; - struct hlist_node tw_bind2_node; }; +struct inode_operations; + struct inode { umode_t i_mode; short unsigned int i_opflags; @@ -29163,15 +31502,19 @@ struct inode { }; dev_t i_rdev; loff_t i_size; - struct timespec64 i_atime; - struct timespec64 i_mtime; - struct timespec64 __i_ctime; + time64_t i_atime_sec; + time64_t i_mtime_sec; + time64_t i_ctime_sec; + u32 i_atime_nsec; + u32 i_mtime_nsec; + u32 i_ctime_nsec; + u32 i_generation; spinlock_t i_lock; short unsigned int i_bytes; u8 i_blkbits; - u8 i_write_hint; + enum rw_hint i_write_hint; blkcnt_t i_blocks; - long unsigned int i_state; + u32 i_state; struct rw_semaphore i_rwsem; long unsigned int dirtied_when; long unsigned int dirtied_time_when; @@ -29195,14 +31538,16 @@ struct inode { }; struct file_lock_context *i_flctx; struct address_space i_data; - struct list_head i_devices; + union { + struct list_head i_devices; + int i_linklen; + }; union { struct pipe_inode_info *i_pipe; struct cdev *i_cdev; char *i_link; unsigned int i_dir_seq; }; - __u32 i_generation; void *i_private; }; @@ -29338,6 +31683,15 @@ union intel_x86_pebs_dse { unsigned int mtl_fwd_blk: 1; unsigned int ld_reserved4: 24; }; + struct { + unsigned int lnc_dse: 8; + unsigned int ld_reserved5: 2; + unsigned int lnc_stlb_miss: 1; + unsigned int lnc_locked: 1; + unsigned int lnc_data_blk: 1; + unsigned int lnc_addr_blk: 1; + unsigned int ld_reserved6: 18; + }; }; struct internal_container { @@ -29370,8 +31724,13 @@ struct io_bitmap { struct request; +struct rq_list { + struct request *head; + struct request *tail; +}; + struct io_comp_batch { - struct request *req_list; + struct rq_list req_list; bool need_ts; void (*complete)(struct io_comp_batch *); }; @@ -29413,83 +31772,8 @@ struct io_tlb_mem { struct io_tlb_slot { phys_addr_t orig_addr; size_t alloc_size; - unsigned int list; -}; - -struct io_uring_sqe; - -struct io_uring_cmd { - struct file *file; - const struct io_uring_sqe *sqe; - union { - void (*task_work_cb)(struct io_uring_cmd *, unsigned int); - void *cookie; - }; - u32 cmd_op; - u32 flags; - u8 pdu[32]; -}; - -struct io_uring_sqe { - __u8 opcode; - __u8 flags; - __u16 ioprio; - __s32 fd; - union { - __u64 off; - __u64 addr2; - struct { - __u32 cmd_op; - __u32 __pad1; - }; - }; - union { - __u64 addr; - __u64 splice_off_in; - }; - __u32 len; - union { - __kernel_rwf_t rw_flags; - __u32 fsync_flags; - __u16 poll_events; - __u32 poll32_events; - __u32 sync_range_flags; - __u32 msg_flags; - __u32 timeout_flags; - __u32 accept_flags; - __u32 cancel_flags; - __u32 open_flags; - __u32 statx_flags; - __u32 fadvise_advice; - __u32 splice_flags; - __u32 rename_flags; - __u32 unlink_flags; - __u32 hardlink_flags; - __u32 xattr_flags; - __u32 msg_ring_flags; - __u32 uring_cmd_flags; - }; - __u64 user_data; - union { - __u16 buf_index; - __u16 buf_group; - }; - __u16 personality; - union { - __s32 splice_fd_in; - __u32 file_index; - struct { - __u16 addr_len; - __u16 __pad3[1]; - }; - }; - union { - struct { - __u64 addr3; - __u64 __pad2[1]; - }; - __u8 cmd[0]; - }; + short unsigned int list; + short unsigned int pad_slots; }; struct ioam6_hdr { @@ -29609,8 +31893,6 @@ struct ioapic_alloc_info { struct iommu_group {}; -struct iommu_ops {}; - struct ioremap_desc { unsigned int flags; }; @@ -29624,14 +31906,9 @@ struct kvec; struct iov_iter { u8 iter_type; - bool copy_mc; bool nofault; bool data_source; - bool user_backed; - union { - size_t iov_offset; - int last_offset; - }; + size_t iov_offset; union { struct iovec __ubuf_iovec; struct { @@ -29639,6 +31916,7 @@ struct iov_iter { const struct iovec *__iov; const struct kvec *kvec; const struct bio_vec *bvec; + const struct folio_queue *folioq; struct xarray *xarray; void *ubuf; }; @@ -29647,6 +31925,7 @@ struct iov_iter { }; union { long unsigned int nr_segs; + u8 folioq_slot; loff_t xarray_start; }; }; @@ -29719,12 +31998,6 @@ struct ip6_ra_chain { void (*destructor)(struct sock *); }; -struct ip6_rt_info { - struct in6_addr daddr; - struct in6_addr saddr; - u_int32_t mark; -}; - struct ip6_sf_list { struct ip6_sf_list *sf_next; struct in6_addr sf_addr; @@ -29830,6 +32103,8 @@ struct ip_mc_list { char loaded; unsigned char gsquery; unsigned char crcount; + long unsigned int mca_cstamp; + long unsigned int mca_tstamp; struct callback_head rcu; }; @@ -29894,13 +32169,6 @@ struct ip_reply_arg { kuid_t uid; }; -struct ip_rt_info { - __be32 daddr; - __be32 saddr; - u_int8_t tos; - u_int32_t mark; -}; - struct ip_sf_list { struct ip_sf_list *sf_next; long unsigned int sf_count[2]; @@ -29939,13 +32207,13 @@ struct iphdr { }; }; -struct ip_tunnel_parm { +struct ip_tunnel_parm_kern { char name[16]; - int link; - __be16 i_flags; - __be16 o_flags; + long unsigned int i_flags[1]; + long unsigned int o_flags[1]; __be32 i_key; __be32 o_key; + int link; struct iphdr iph; }; @@ -29974,7 +32242,7 @@ struct ip_tunnel { u8 dir; u16 hwid; struct dst_cache dst_cache; - struct ip_tunnel_parm parms; + struct ip_tunnel_parm_kern parms; int mlink; int encap_hlen; int hlen; @@ -30006,11 +32274,11 @@ struct ip_tunnel_key { struct in6_addr dst; } ipv6; } u; - __be16 tun_flags; - u8 tos; - u8 ttl; + long unsigned int tun_flags[1]; __be32 label; u32 nhid; + u8 tos; + u8 ttl; __be16 tp_src; __be16 tp_dst; __u8 flow_flags; @@ -30034,6 +32302,16 @@ struct ip_tunnel_net { int type; }; +struct ip_tunnel_parm { + char name[16]; + int link; + __be16 i_flags; + __be16 o_flags; + __be32 i_key; + __be32 o_key; + struct iphdr iph; +}; + struct ip_tunnel_prl { __be32 addr; __u16 flags; @@ -30095,6 +32373,8 @@ struct sockcm_cookie { u64 transmit_time; u32 mark; u32 tsflags; + u32 ts_opt_id; + u32 priority; }; struct ipcm6_cookie { @@ -30114,7 +32394,6 @@ struct ipcm_cookie { __u8 protocol; __u8 ttl; __s16 tos; - char priority; __u16 gso_size; }; @@ -30125,6 +32404,7 @@ struct ipfrag_skb_cb { }; struct sk_buff *next_frag; int frag_run_len; + int ip_defrag_offset; }; struct ipq { @@ -30137,7 +32417,7 @@ struct ipq { }; struct ipstats_mib { - u64 mibs[37]; + u64 mibs[38]; struct u64_stats_sync syncp; }; @@ -30151,9 +32431,10 @@ struct udp_table; struct ipv6_bpf_stub { int (*inet6_bind)(struct sock *, struct sockaddr *, int, u32); - struct sock * (*udp6_lib_lookup)(struct net *, const struct in6_addr *, __be16, const struct in6_addr *, __be16, int, int, struct udp_table *, struct sk_buff *); + struct sock * (*udp6_lib_lookup)(const struct net *, const struct in6_addr *, __be16, const struct in6_addr *, __be16, int, int, struct udp_table *, struct sk_buff *); int (*ipv6_setsockopt)(struct sock *, int, int, sockptr_t, unsigned int); int (*ipv6_getsockopt)(struct sock *, int, int, sockptr_t, sockptr_t); + int (*ipv6_dev_get_saddr)(struct net *, const struct net_device *, const struct in6_addr *, unsigned int, struct in6_addr *); }; struct ipv6_fl_socklist { @@ -30192,11 +32473,8 @@ struct ipv6_pinfo { const struct in6_addr *daddr_cache; __be32 flow_label; __u32 frag_size; - __u16 __unused_1: 7; - __s16 hop_limit: 9; - __u16 mc_loop: 1; - __u16 __unused_2: 6; - __s16 mcast_hops: 9; + s16 hop_limit; + u8 mcast_hops; int ucast_oif; int mcast_oif; union { @@ -30219,18 +32497,8 @@ struct ipv6_pinfo { } bits; __u16 all; } rxopt; - __u16 recverr: 1; - __u16 sndflow: 1; - __u16 repflow: 1; - __u16 pmtudisc: 3; - __u16 padding: 1; - __u16 srcprefs: 3; - __u16 dontfrag: 1; - __u16 autoflowlabel: 1; - __u16 autoflowlabel_set: 1; - __u16 mc_all: 1; - __u16 recverr_rfc4884: 1; - __u16 rtalert_isolate: 1; + __u8 srcprefs; + __u8 pmtudisc; __u8 min_hopcount; __u8 tclass; __be32 rcv_flowinfo; @@ -30319,11 +32587,12 @@ struct ipv6_stub { void (*fib6_update_sernum)(struct net *, struct fib6_info *); int (*ip6_del_rt)(struct net *, struct fib6_info *, bool); void (*fib6_rt_update)(struct net *, struct fib6_info *, struct nl_info *); - void (*udpv6_encap_enable)(); + void (*udpv6_encap_enable)(void); void (*ndisc_send_na)(struct net_device *, const struct in6_addr *, const struct in6_addr *, bool, bool, bool, bool); struct neigh_table *nd_tbl; int (*ipv6_fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *)); struct net_device * (*ipv6_dev_find)(struct net *, const struct in6_addr *, struct net_device *); + int (*ip6_xmit)(const struct sock *, struct sk_buff *, struct flowi6 *, __u32, struct ipv6_txoptions *, int, u32); }; struct ipv6_txoptions { @@ -30446,7 +32715,6 @@ struct irq_chip_regs { long unsigned int ack; long unsigned int eoi; long unsigned int type; - long unsigned int polarity; }; struct irq_desc; @@ -30472,8 +32740,6 @@ struct irq_chip_generic { unsigned int irq_base; unsigned int irq_cnt; u32 mask_cache; - u32 type_cache; - u32 polarity_cache; u32 wake_enabled; u32 wake_active; unsigned int num_ct; @@ -30494,7 +32760,7 @@ struct irq_common_data { struct irq_data { u32 mask; unsigned int irq; - long unsigned int hwirq; + irq_hw_number_t hwirq; struct irq_common_data *common; struct irq_chip *chip; struct irq_domain *domain; @@ -30502,12 +32768,14 @@ struct irq_data { void *chip_data; }; +struct irqstat; + struct irqaction; struct irq_desc { struct irq_common_data irq_common_data; struct irq_data irq_data; - unsigned int *kstat_irqs; + struct irqstat *kstat_irqs; irq_flow_handler_t handle_irq; struct irqaction *action; unsigned int status_use_accessors; @@ -30564,6 +32832,7 @@ struct irq_domain { struct device *dev; struct device *pm_dev; struct irq_domain *parent; + void (*exit)(struct irq_domain *); irq_hw_number_t hwirq_max; unsigned int revmap_size; struct xarray revmap_tree; @@ -30576,9 +32845,40 @@ struct irq_domain_chip_generic { unsigned int irq_flags_to_clear; unsigned int irq_flags_to_set; enum irq_gc_flags gc_flags; + void (*exit)(struct irq_chip_generic *); struct irq_chip_generic *gc[0]; }; +struct irq_domain_chip_generic_info { + const char *name; + irq_flow_handler_t handler; + unsigned int irqs_per_chip; + unsigned int num_ct; + unsigned int irq_flags_to_clear; + unsigned int irq_flags_to_set; + enum irq_gc_flags gc_flags; + int (*init)(struct irq_chip_generic *); + void (*exit)(struct irq_chip_generic *); +}; + +struct irq_domain_info { + struct fwnode_handle *fwnode; + unsigned int domain_flags; + unsigned int size; + irq_hw_number_t hwirq_max; + int direct_max; + unsigned int hwirq_base; + unsigned int virq_base; + enum irq_domain_bus_token bus_token; + const char *name_suffix; + const struct irq_domain_ops *ops; + void *host_data; + struct irq_domain *parent; + struct irq_domain_chip_generic_info *dgc_info; + int (*init)(struct irq_domain *); + void (*exit)(struct irq_domain *); +}; + struct irq_fwspec; struct irq_domain_ops { @@ -30611,8 +32911,8 @@ struct irq_matrix { unsigned int total_allocated; unsigned int online_maps; struct cpumap *maps; - long unsigned int scratch_map[4]; - long unsigned int system_map[4]; + long unsigned int *system_map; + long unsigned int scratch_map[0]; }; struct irq_pin_list { @@ -30659,6 +32959,10 @@ struct irqentry_state { typedef struct irqentry_state irqentry_state_t; +struct irqstat { + unsigned int cnt; +}; + struct itimerspec64 { struct timespec64 it_interval; struct timespec64 it_value; @@ -30674,7 +32978,7 @@ typedef void __signalfn_t(int); typedef __signalfn_t *__sighandler_t; -typedef void __restorefn_t(); +typedef void __restorefn_t(void); typedef __restorefn_t *__sigrestore_t; @@ -30739,6 +33043,7 @@ struct kernel_clone_args { void *fn_arg; struct cgroup *cgrp; struct css_set *cset; + unsigned int kill_seq; }; struct kernel_cpustat { @@ -30753,6 +33058,17 @@ struct kernel_ethtool_ringparam { u32 cqe_size; u32 tx_push_buf_len; u32 tx_push_buf_max_len; + u32 hds_thresh; + u32 hds_thresh_max; +}; + +struct kernel_ethtool_ts_info { + u32 cmd; + u32 so_timestamping; + int phc_index; + enum hwtstamp_provider_qualifier phc_qualifier; + enum hwtstamp_tx_types tx_types; + enum hwtstamp_rx_filters rx_filters; }; struct kernel_hwtstamp_config { @@ -30762,6 +33078,7 @@ struct kernel_hwtstamp_config { struct ifreq *ifr; bool copied_to_user; enum hwtstamp_source source; + enum hwtstamp_provider_qualifier qualifier; }; struct kernel_param_ops; @@ -30825,6 +33142,19 @@ struct kernel_vm86_regs { short unsigned int __gsh; }; +struct xattr_name; + +struct kernel_xattr_ctx { + union { + const void *cvalue; + void *value; + }; + void *kvalue; + size_t size; + struct xattr_name *kname; + unsigned int flags; +}; + struct kernfs_open_node; struct kernfs_ops; @@ -30859,16 +33189,17 @@ struct kernfs_node { struct rb_node rb; const void *ns; unsigned int hash; + short unsigned int flags; + umode_t mode; union { struct kernfs_elem_dir dir; struct kernfs_elem_symlink symlink; struct kernfs_elem_attr attr; }; - void *priv; u64 id; - short unsigned int flags; - umode_t mode; + void *priv; struct kernfs_iattrs *iattr; + struct callback_head rcu; }; struct vm_operations_struct; @@ -30902,6 +33233,7 @@ struct kernfs_ops { ssize_t (*write)(struct kernfs_open_file *, char *, size_t, loff_t); __poll_t (*poll)(struct kernfs_open_file *, struct poll_table_struct *); int (*mmap)(struct kernfs_open_file *, struct vm_area_struct *); + loff_t (*llseek)(struct kernfs_open_file *, loff_t, int); }; struct key_vector { @@ -30918,6 +33250,38 @@ struct key_vector { }; }; +struct rcu_gp_oldstate { + long unsigned int rgos_norm; +}; + +struct kfree_rcu_cpu; + +struct kfree_rcu_cpu_work { + struct rcu_work rcu_work; + struct callback_head *head_free; + struct rcu_gp_oldstate head_free_gp_snap; + struct list_head bulk_head_free[2]; + struct kfree_rcu_cpu *krcp; +}; + +struct kfree_rcu_cpu { + struct callback_head *head; + long unsigned int head_gp_snap; + atomic_t head_count; + struct list_head bulk_head[2]; + atomic_t bulk_count[2]; + struct kfree_rcu_cpu_work krw_arr[2]; + raw_spinlock_t lock; + struct delayed_work monitor_work; + bool initialized; + struct delayed_work page_cache_work; + atomic_t backoff_page_cache_fill; + atomic_t work_in_progress; + struct hrtimer hrtimer; + struct llist_head bkvcache; + int nr_bkv_objs; +}; + struct wait_page_queue; struct kiocb { @@ -30952,6 +33316,8 @@ struct kmalloced_param { struct kmap_ctrl {}; +typedef struct kmem_cache *kmem_buckets[14]; + struct reciprocal_value { u32 m; u8 sh1; @@ -30984,6 +33350,20 @@ struct kmem_cache { struct kmem_cache_node *node[1]; }; +struct kmem_cache_args { + unsigned int align; + unsigned int useroffset; + unsigned int usersize; + unsigned int freeptr_offset; + bool use_freeptr_offset; + void (*ctor)(void *); +}; + +union kmem_cache_iter_priv { + struct bpf_iter_kmem_cache it; + struct bpf_iter_kmem_cache_kern kit; +}; + struct kmem_cache_node { spinlock_t list_lock; long unsigned int nr_partial; @@ -31005,10 +33385,10 @@ struct kobj_map { struct kobj_ns_type_operations { enum kobj_ns_type type; - bool (*current_may_mount)(); - void * (*grab_current_ns)(); + bool (*current_may_mount)(void); + void * (*grab_current_ns)(void); const void * (*netlink_ns)(struct sock *); - const void * (*initial_ns)(); + const void * (*initial_ns)(void); void (*drop_ns)(void *); }; @@ -31084,7 +33464,7 @@ struct kprobe_ctlblk { struct kprobe_insn_cache { struct mutex mutex; - void * (*alloc)(); + void * (*alloc)(void); void (*free)(void *); const char *sym; struct list_head pages; @@ -31110,6 +33490,8 @@ struct kretprobe_instance; typedef int (*kretprobe_handler_t)(struct kretprobe_instance *, struct pt_regs *); +struct rethook; + struct kretprobe { struct kprobe kp; kretprobe_handler_t handler; @@ -31125,6 +33507,14 @@ struct kretprobe_blackpoint { void *addr; }; +struct rethook_node { + struct callback_head rcu; + struct llist_node llist; + struct rethook *rethook; + long unsigned int ret_addr; + long unsigned int frame; +}; + struct kretprobe_instance { struct rethook_node node; char data[0]; @@ -31176,9 +33566,14 @@ struct kstat { struct timespec64 btime; u64 blocks; u64 mnt_id; + u64 change_cookie; + u64 subvol; u32 dio_mem_align; u32 dio_offset_align; - u64 change_cookie; + u32 dio_read_offset_align; + u32 atomic_write_unit_min; + u32 atomic_write_unit_max; + u32 atomic_write_segments_max; }; struct kstatfs { @@ -31196,6 +33591,62 @@ struct kstatfs { long int f_spare[4]; }; +struct statmount { + __u32 size; + __u32 mnt_opts; + __u64 mask; + __u32 sb_dev_major; + __u32 sb_dev_minor; + __u64 sb_magic; + __u32 sb_flags; + __u32 fs_type; + __u64 mnt_id; + __u64 mnt_parent_id; + __u32 mnt_id_old; + __u32 mnt_parent_id_old; + __u64 mnt_attr; + __u64 mnt_propagation; + __u64 mnt_peer_group; + __u64 mnt_master; + __u64 propagate_from; + __u32 mnt_root; + __u32 mnt_point; + __u64 mnt_ns_id; + __u32 fs_subtype; + __u32 sb_source; + __u32 opt_num; + __u32 opt_array; + __u32 opt_sec_num; + __u32 opt_sec_array; + __u64 __spare2[46]; + char str[0]; +}; + +struct seq_file { + char *buf; + size_t size; + size_t from; + size_t count; + size_t pad_until; + loff_t index; + loff_t read_pos; + struct mutex lock; + const struct seq_operations *op; + int poll_event; + const struct file *file; + void *private; +}; + +struct kstatmount { + struct statmount *buf; + size_t bufsize; + struct vfsmount *mnt; + u64 mask; + struct path root; + struct statmount sm; + struct seq_file seq; +}; + struct ktermios { tcflag_t c_iflag; tcflag_t c_oflag; @@ -31210,12 +33661,17 @@ struct ktermios { struct kthread { long unsigned int flags; unsigned int cpu; + unsigned int node; + int started; int result; int (*threadfn)(void *); void *data; struct completion parked; struct completion exited; char *full_name; + struct task_struct *task; + struct list_head hotplug_node; + struct cpumask *preferred_affinity; }; struct kthread_create_info { @@ -31260,10 +33716,11 @@ struct kthread_worker { struct kthread_work *current_work; }; -struct ktime_timestamps { - u64 mono; - u64 boot; - u64 real; +struct kvfree_rcu_bulk_data { + struct list_head list; + struct rcu_gp_oldstate gp_snap; + long unsigned int nr_records; + void *records[0]; }; struct kvm_memslots { @@ -31320,58 +33777,17 @@ struct kvm_xen_hvm_config { __u8 pad2[30]; }; -struct ms_hyperv_tsc_page { - volatile u32 tsc_sequence; - u32 reserved1; - volatile u64 tsc_scale; - volatile s64 tsc_offset; -}; +struct vhost_task; -struct kvm_hv_syndbg { - struct { - u64 control; - u64 status; - u64 send_page; - u64 recv_page; - u64 pending_page; - } control; - u64 options; -}; - -struct kvm_hv { - struct mutex hv_lock; - u64 hv_guest_os_id; - u64 hv_hypercall; - u64 hv_tsc_page; - enum hv_tsc_page_status hv_tsc_page_status; - u64 hv_crash_param[5]; - u64 hv_crash_ctl; - struct ms_hyperv_tsc_page tsc_ref; - struct idr conn_to_evt; - u64 hv_reenlightenment_control; - u64 hv_tsc_emulation_control; - u64 hv_tsc_emulation_status; - u64 hv_invtsc_control; - atomic_t num_mismatched_vp_indexes; - unsigned int synic_auto_eoi_used; - struct hv_partition_assist_pg *hv_pa_pg; - struct kvm_hv_syndbg hv_syndbg; -}; - -struct kvm_xen { - struct mutex xen_lock; - u32 xen_version; - bool long_mode; - bool runstate_update_flag; - u8 upcall_vector; - struct gfn_to_pfn_cache shinfo_cache; - struct idr evtchn_ports; - long unsigned int poll_mask[16]; +struct once { + atomic_t state; + struct mutex lock; }; struct kvm_mmu_memory_cache { gfp_t gfp_zero; gfp_t gfp_custom; + u64 init_value; struct kmem_cache *kmem_cache; int capacity; int nobjs; @@ -31390,12 +33806,15 @@ struct kvm_arch { long unsigned int n_max_mmu_pages; unsigned int indirect_shadow_pages; u8 mmu_valid_gen; + u8 vm_type; + bool has_private_mem; + bool has_protected_state; + bool pre_fault_allowed; struct hlist_head mmu_page_hash[4096]; struct list_head active_mmu_pages; - struct list_head zapped_obsolete_pages; struct list_head possible_nx_huge_pages; spinlock_t mmu_unsync_pages_lock; - struct list_head assigned_dev_head; + u64 shadow_mmio_value; struct iommu_domain *iommu_domain; bool iommu_noncoherent; atomic_t noncoherent_dma_count; @@ -31429,6 +33848,8 @@ struct kvm_arch { u64 cur_tsc_generation; int nr_vcpus_matched_tsc; u32 default_tsc_khz; + bool user_set_tsc; + u64 apic_bus_cycle_ns; seqcount_raw_spinlock_t pvclock_sc; bool use_master_clock; u64 master_kernel_ns; @@ -31437,8 +33858,6 @@ struct kvm_arch { struct delayed_work kvmclock_sync_work; struct kvm_xen_hvm_config xen_hvm_config; struct hlist_head mask_notifier_list; - struct kvm_hv hyperv; - struct kvm_xen xen; bool backwards_tsc_observed; bool boot_vcpu_runs_old_kvmclock; u32 bsp_vcpu_id; @@ -31461,7 +33880,9 @@ struct kvm_arch { u32 hypercall_exit_enabled; bool sgx_provisioning_allowed; struct kvm_x86_pmu_event_filter *pmu_event_filter; - struct task_struct *nx_huge_page_recovery_thread; + struct vhost_task *nx_huge_page_recovery_thread; + u64 nx_huge_page_last; + struct once nx_once; atomic64_t tdp_mmu_pages; struct list_head tdp_mmu_roots; spinlock_t tdp_mmu_pages_lock; @@ -31471,6 +33892,7 @@ struct kvm_arch { struct kvm_mmu_memory_cache split_shadow_page_cache; struct kvm_mmu_memory_cache split_page_header_cache; struct kvm_mmu_memory_cache split_desc_cache; + gfn_t gfn_direct_bits; }; struct srcu_struct { @@ -31510,7 +33932,8 @@ struct kvm { int last_boosted_vcpu; struct list_head vm_list; struct mutex lock; - struct kvm_io_bus *buses[4]; + struct kvm_io_bus *buses[5]; + struct list_head ioeventfds; struct kvm_vm_stat stat; struct kvm_arch arch; refcount_t users_count; @@ -31570,7 +33993,8 @@ union kvm_mmu_page_role { unsigned int ad_disabled: 1; unsigned int guest_mode: 1; unsigned int passthrough: 1; - char: 5; + unsigned int is_mirror: 1; + char: 4; unsigned int smm: 8; }; }; @@ -31670,11 +34094,6 @@ struct kvm_hyperv_exit { } u; }; -struct kvm_hypervisor_cpuid { - u32 base; - u32 limit; -}; - struct kvm_io_device; struct kvm_io_range { @@ -31729,6 +34148,8 @@ struct rsvd_bits_validate { u64 bad_mt_xwr; }; +struct kvm_vcpu; + struct kvm_mmu { long unsigned int (*get_guest_pgd)(struct kvm_vcpu *); u64 (*get_pdptr)(struct kvm_vcpu *, int); @@ -31737,6 +34158,7 @@ struct kvm_mmu { gpa_t (*gva_to_gpa)(struct kvm_vcpu *, struct kvm_mmu *, gpa_t, u64, struct x86_exception *); int (*sync_spte)(struct kvm_vcpu *, struct kvm_mmu_page *, int); struct kvm_mmu_root_info root; + hpa_t mirror_root_hpa; union kvm_cpu_role cpu_role; union kvm_mmu_page_role root_role; u32 pkru_mask; @@ -31750,23 +34172,12 @@ struct kvm_mmu { u64 pdptrs[4]; }; -struct kvm_msr_entry { - __u32 index; - __u32 reserved; - __u64 data; -}; - -struct kvm_mtrr_range { - u64 base; - u64 mask; - struct list_head node; -}; - struct kvm_mtrr { - struct kvm_mtrr_range var_ranges[8]; - mtrr_type fixed_ranges[88]; + u64 var[16]; + u64 fixed_64k; + u64 fixed_16k[2]; + u64 fixed_4k[8]; u64 deftype; - struct list_head head; }; struct kvm_vmx_nested_state_hdr { @@ -31828,7 +34239,7 @@ struct kvm_pmc { bool is_paused; bool intr; u64 counter; - u64 prev_counter; + u64 emulated_counter; u64 eventsel; struct perf_event *perf_event; struct kvm_vcpu *vcpu; @@ -31841,12 +34252,12 @@ struct kvm_pmu { unsigned int nr_arch_fixed_counters; unsigned int available_event_types; u64 fixed_ctr_ctrl; - u64 fixed_ctr_ctrl_mask; + u64 fixed_ctr_ctrl_rsvd; u64 global_ctrl; u64 global_status; u64 counter_bitmask[2]; - u64 global_ctrl_mask; - u64 global_status_mask; + u64 global_ctrl_rsvd; + u64 global_status_rsvd; u64 reserved_bits; u64 raw_event_mask; struct kvm_pmc gp_counters[8]; @@ -31859,9 +34270,9 @@ struct kvm_pmu { long unsigned int pmc_in_use[1]; u64 ds_area; u64 pebs_enable; - u64 pebs_enable_mask; + u64 pebs_enable_rsvd; u64 pebs_data_cfg; - u64 pebs_data_cfg_mask; + u64 pebs_data_cfg_rsvd; u64 host_cross_mapped_mask; bool need_cleanup; u8 event_count; @@ -32002,7 +34413,7 @@ struct kvm_sync_regs { struct kvm_run { __u8 request_interrupt_window; - __u8 immediate_exit; + __u8 immediate_exit__unsafe; __u8 padding1[6]; __u32 exit_reason; __u8 ready_for_interrupt_injection; @@ -32038,6 +34449,12 @@ struct kvm_run { __u32 len; __u8 is_write; } mmio; + struct { + __u64 phys_addr; + __u8 data[8]; + __u32 len; + __u8 is_write; + } iocsr_io; struct { __u64 nr; __u64 args[6]; @@ -32147,6 +34564,11 @@ struct kvm_run { struct { __u32 flags; } notify; + struct { + __u64 flags; + __u64 gpa; + __u64 size; + } memory_fault; char padding[256]; }; __u64 kvm_valid_regs; @@ -32176,30 +34598,6 @@ struct pvclock_vcpu_time_info { u8 pad[2]; }; -struct kvm_vcpu_xen { - u64 hypercall_rip; - u32 current_runstate; - u8 upcall_vector; - struct gfn_to_pfn_cache vcpu_info_cache; - struct gfn_to_pfn_cache vcpu_time_info_cache; - struct gfn_to_pfn_cache runstate_cache; - struct gfn_to_pfn_cache runstate2_cache; - u64 last_steal; - u64 runstate_entry_time; - u64 runstate_times[4]; - long unsigned int evtchn_pending_sel; - u32 vcpu_id; - u32 timer_virq; - u64 timer_expires; - atomic_t timer_pending; - struct hrtimer timer; - int poll_evtchn; - struct timer_list poll_timer; - struct kvm_hypervisor_cpuid cpuid; -}; - -struct kvm_vcpu_hv; - struct kvm_vcpu_arch { long unsigned int regs[17]; u32 regs_avail; @@ -32216,6 +34614,7 @@ struct kvm_vcpu_arch { u32 pkru; u32 hflags; u64 efer; + u64 host_debugctl; u64 apic_base; struct kvm_lapic *apic; bool load_eoi_exitmap_pending; @@ -32242,6 +34641,7 @@ struct kvm_vcpu_arch { struct kvm_mmu_memory_cache mmu_shadow_page_cache; struct kvm_mmu_memory_cache mmu_shadowed_info_cache; struct kvm_mmu_memory_cache mmu_page_header_cache; + struct kvm_mmu_memory_cache mmu_external_spt_cache; struct fpu_guest guest_fpu; u64 xcr0; u64 guest_supported_xcr0; @@ -32257,10 +34657,8 @@ struct kvm_vcpu_arch { int halt_request; int cpuid_nent; struct kvm_cpuid_entry2 *cpuid_entries; - struct kvm_hypervisor_cpuid kvm_cpuid; - struct { - long unsigned int enabled[1]; - } governed_features; + bool is_amd_compatible; + u32 cpu_caps[28]; u64 reserved_gpa_bits; int maxphyaddr; struct x86_emulate_ctxt *emulate_ctxt; @@ -32322,9 +34720,6 @@ struct kvm_vcpu_arch { u64 mmio_gen; struct kvm_pmu pmu; long unsigned int singlestep_rip; - bool hyperv_enabled; - struct kvm_vcpu_hv *hyperv; - struct kvm_vcpu_xen xen; cpumask_var_t wbinvd_dirty_mask; long unsigned int last_retry_eip; long unsigned int last_retry_addr; @@ -32350,7 +34745,6 @@ struct kvm_vcpu_arch { struct gfn_to_hva_cache data; } pv_eoi; u64 msr_kvm_poll_control; - long unsigned int exit_qualification; struct { bool pv_unhalted; } pv; @@ -32433,6 +34827,7 @@ struct kvm_vcpu { struct kvm_run *run; struct rcuwait wait; struct pid *pid; + rwlock_t pid_lock; int sigset_active; sigset_t sigset; unsigned int halt_poll_ns; @@ -32443,8 +34838,10 @@ struct kvm_vcpu { int mmio_cur_fragment; int mmio_nr_fragments; struct kvm_mmio_fragment mmio_fragments[2]; + bool wants_to_run; bool preempted; bool ready; + bool scheduled_out; struct kvm_vcpu_arch arch; struct kvm_vcpu_stat stat; char stats_id[48]; @@ -32453,74 +34850,6 @@ struct kvm_vcpu { u64 last_used_slot_gen; }; -struct kvm_vcpu_hv_synic { - u64 version; - u64 control; - u64 msg_page; - u64 evt_page; - atomic64_t sint[16]; - atomic_t sint_to_gsi[16]; - long unsigned int auto_eoi_bitmap[4]; - long unsigned int vec_bitmap[4]; - bool active; - bool dont_zero_synic_pages; -}; - -struct kvm_vcpu_hv_stimer { - struct hrtimer timer; - int index; - union hv_stimer_config config; - u64 count; - u64 exp_time; - struct hv_message msg; - bool msg_pending; -}; - -struct kvm_vcpu_hv_tlb_flush_fifo { - spinlock_t write_lock; - struct { - union { - struct __kfifo kfifo; - u64 *type; - const u64 *const_type; - char (*rectype)[0]; - u64 *ptr; - const u64 *ptr_const; - }; - u64 buf[16]; - } entries; -}; - -struct kvm_vcpu_hv { - struct kvm_vcpu *vcpu; - u32 vp_index; - u64 hv_vapic; - s64 runtime_offset; - struct kvm_vcpu_hv_synic synic; - struct kvm_hyperv_exit exit; - struct kvm_vcpu_hv_stimer stimer[4]; - long unsigned int stimer_pending_bitmap[1]; - bool enforce_cpuid; - struct { - u32 features_eax; - u32 features_ebx; - u32 features_edx; - u32 enlightenments_eax; - u32 enlightenments_ebx; - u32 syndbg_cap_eax; - u32 nested_eax; - u32 nested_ebx; - } cpuid_cache; - struct kvm_vcpu_hv_tlb_flush_fifo tlb_flush_fifo[2]; - u64 sparse_banks[64]; - struct hv_vp_assist_page vp_assist_page; - struct { - u64 pa_page_gpa; - u64 vm_id; - u32 vp_id; - } nested; -}; - struct msr_bitmap_range { u32 flags; u32 nmsrs; @@ -32538,7 +34867,7 @@ struct kvm_x86_nested_ops { void (*leave_nested)(struct kvm_vcpu *); bool (*is_exception_vmexit)(struct kvm_vcpu *, u8, u32); int (*check_events)(struct kvm_vcpu *); - bool (*has_events)(struct kvm_vcpu *); + bool (*has_events)(struct kvm_vcpu *, bool); void (*triple_fault)(struct kvm_vcpu *); int (*get_state)(struct kvm_vcpu *, struct kvm_nested_state *, unsigned int); int (*set_state)(struct kvm_vcpu *, struct kvm_nested_state *, struct kvm_nested_state *); @@ -32549,16 +34878,19 @@ struct kvm_x86_nested_ops { void (*hv_inject_synthetic_vmexit_post_tlb_flush)(struct kvm_vcpu *); }; +typedef void cpu_emergency_virt_cb(void); + struct x86_instruction_info; struct msr_data; struct kvm_x86_ops { const char *name; - int (*check_processor_compatibility)(); - int (*hardware_enable)(); - void (*hardware_disable)(); - void (*hardware_unsetup)(); + int (*check_processor_compatibility)(void); + int (*enable_virtualization_cpu)(void); + void (*disable_virtualization_cpu)(void); + cpu_emergency_virt_cb *emergency_disable_virtualization_cpu; + void (*hardware_unsetup)(void); bool (*has_emulated_msr)(struct kvm *, u32); void (*vcpu_after_set_cpuid)(struct kvm_vcpu *); unsigned int vm_size; @@ -32577,6 +34909,7 @@ struct kvm_x86_ops { u64 (*get_segment_base)(struct kvm_vcpu *, int); void (*get_segment)(struct kvm_vcpu *, struct kvm_segment *, int); int (*get_cpl)(struct kvm_vcpu *); + int (*get_cpl_no_cache)(struct kvm_vcpu *); void (*set_segment)(struct kvm_vcpu *, struct kvm_segment *, int); void (*get_cs_db_l_bits)(struct kvm_vcpu *, int *, int *); bool (*is_valid_cr0)(struct kvm_vcpu *, long unsigned int); @@ -32590,6 +34923,7 @@ struct kvm_x86_ops { void (*get_gdt)(struct kvm_vcpu *, struct desc_ptr *); void (*set_gdt)(struct kvm_vcpu *, struct desc_ptr *); void (*sync_dirty_debug_regs)(struct kvm_vcpu *); + void (*set_dr6)(struct kvm_vcpu *, long unsigned int); void (*set_dr7)(struct kvm_vcpu *, long unsigned int); void (*cache_reg)(struct kvm_vcpu *, enum kvm_reg); long unsigned int (*get_rflags)(struct kvm_vcpu *); @@ -32597,12 +34931,10 @@ struct kvm_x86_ops { bool (*get_if_flag)(struct kvm_vcpu *); void (*flush_tlb_all)(struct kvm_vcpu *); void (*flush_tlb_current)(struct kvm_vcpu *); - int (*flush_remote_tlbs)(struct kvm *); - int (*flush_remote_tlbs_range)(struct kvm *, gfn_t, gfn_t); void (*flush_tlb_gva)(struct kvm_vcpu *, gva_t); void (*flush_tlb_guest)(struct kvm_vcpu *); int (*vcpu_pre_run)(struct kvm_vcpu *); - enum exit_fastpath_completion (*vcpu_run)(struct kvm_vcpu *); + enum exit_fastpath_completion (*vcpu_run)(struct kvm_vcpu *, bool); int (*handle_exit)(struct kvm_vcpu *, enum exit_fastpath_completion); int (*skip_emulated_instruction)(struct kvm_vcpu *); void (*update_emulated_instruction)(struct kvm_vcpu *); @@ -32622,13 +34954,11 @@ struct kvm_x86_ops { void (*enable_nmi_window)(struct kvm_vcpu *); void (*enable_irq_window)(struct kvm_vcpu *); void (*update_cr8_intercept)(struct kvm_vcpu *, int, int); - bool (*check_apicv_inhibit_reasons)(enum kvm_apicv_inhibit); + const bool x2apic_icr_is_split; const long unsigned int required_apicv_inhibits; bool allow_apicv_in_x2apic_without_x2apic_virtualization; void (*refresh_apicv_exec_ctrl)(struct kvm_vcpu *); - void (*hwapic_irr_update)(struct kvm_vcpu *, int); - void (*hwapic_isr_update)(int); - bool (*guest_apic_has_interrupt)(struct kvm_vcpu *); + void (*hwapic_isr_update)(struct kvm_vcpu *, int); void (*load_eoi_exitmap)(struct kvm_vcpu *, u64 *); void (*set_virtual_apic_mode)(struct kvm_vcpu *); void (*set_apic_access_page_addr)(struct kvm_vcpu *); @@ -32638,16 +34968,19 @@ struct kvm_x86_ops { int (*set_identity_map_addr)(struct kvm *, u64); u8 (*get_mt_mask)(struct kvm_vcpu *, gfn_t, bool); void (*load_mmu_pgd)(struct kvm_vcpu *, hpa_t, int); - bool (*has_wbinvd_exit)(); + int (*link_external_spt)(struct kvm *, gfn_t, enum pg_level, void *); + int (*set_external_spte)(struct kvm *, gfn_t, enum pg_level, kvm_pfn_t); + int (*free_external_spt)(struct kvm *, gfn_t, enum pg_level, void *); + int (*remove_external_spte)(struct kvm *, gfn_t, enum pg_level, kvm_pfn_t); + bool (*has_wbinvd_exit)(void); u64 (*get_l2_tsc_offset)(struct kvm_vcpu *); u64 (*get_l2_tsc_multiplier)(struct kvm_vcpu *); void (*write_tsc_offset)(struct kvm_vcpu *); void (*write_tsc_multiplier)(struct kvm_vcpu *); void (*get_exit_info)(struct kvm_vcpu *, u32 *, u64 *, u64 *, u32 *, u32 *); + void (*get_entry_info)(struct kvm_vcpu *, u32 *, u32 *); int (*check_intercept)(struct kvm_vcpu *, struct x86_instruction_info *, enum x86_intercept_stage, struct x86_exception *); void (*handle_exit_irqoff)(struct kvm_vcpu *); - void (*request_immediate_exit)(struct kvm_vcpu *); - void (*sched_in)(struct kvm_vcpu *, int); int cpu_dirty_log_size; void (*update_cpu_dirty_logging)(struct kvm_vcpu *); const struct kvm_x86_nested_ops *nested_ops; @@ -32655,19 +34988,21 @@ struct kvm_x86_ops { void (*vcpu_unblocking)(struct kvm_vcpu *); int (*pi_update_irte)(struct kvm *, unsigned int, uint32_t, bool); void (*pi_start_assignment)(struct kvm *); + void (*apicv_pre_state_restore)(struct kvm_vcpu *); void (*apicv_post_state_restore)(struct kvm_vcpu *); bool (*dy_apicv_has_pending_interrupt)(struct kvm_vcpu *); int (*set_hv_timer)(struct kvm_vcpu *, u64, bool *); void (*cancel_hv_timer)(struct kvm_vcpu *); void (*setup_mce)(struct kvm_vcpu *); + int (*dev_get_attr)(u32, u64, u64 *); int (*mem_enc_ioctl)(struct kvm *, void *); int (*mem_enc_register_region)(struct kvm *, struct kvm_enc_region *); int (*mem_enc_unregister_region)(struct kvm *, struct kvm_enc_region *); int (*vm_copy_enc_context_from)(struct kvm *, unsigned int); int (*vm_move_enc_context_from)(struct kvm *, unsigned int); void (*guest_memory_reclaimed)(struct kvm *); - int (*get_msr_feature)(struct kvm_msr_entry *); - bool (*can_emulate_instruction)(struct kvm_vcpu *, int, void *, int); + int (*get_feature_msr)(u32, u64 *); + int (*check_emulate_instruction)(struct kvm_vcpu *, int, void *, int); bool (*apic_init_signal_blocked)(struct kvm_vcpu *); int (*enable_l2_tlb_flush)(struct kvm_vcpu *); void (*migrate_timers)(struct kvm_vcpu *); @@ -32675,6 +35010,11 @@ struct kvm_x86_ops { int (*complete_emulated_msr)(struct kvm_vcpu *, int); void (*vcpu_deliver_sipi_vector)(struct kvm_vcpu *, u8); long unsigned int (*vcpu_get_apicv_inhibit_reasons)(struct kvm_vcpu *); + gva_t (*get_untagged_addr)(struct kvm_vcpu *, gva_t, unsigned int); + void * (*alloc_apic_backing_page)(struct kvm_vcpu *); + int (*gmem_prepare)(struct kvm *, kvm_pfn_t, gfn_t, int); + void (*gmem_invalidate)(kvm_pfn_t, kvm_pfn_t); + int (*private_max_mapping_level)(struct kvm *, kvm_pfn_t); }; struct kvm_x86_pmu_event_filter { @@ -32757,6 +35097,13 @@ typedef struct ldttss_desc ldt_desc; typedef struct ldttss_desc tss_desc; +struct lease_manager_operations { + bool (*lm_break)(struct file_lease *); + int (*lm_change)(struct file_lease *, int, struct list_head *); + void (*lm_setup)(struct file_lease *, void **); + bool (*lm_breaker_owns_lease)(struct file_lease *); +}; + struct legacy_fs_context { char *legacy_data; size_t data_size; @@ -32768,10 +35115,10 @@ struct legacy_pic { struct irq_chip *chip; void (*mask)(unsigned int); void (*unmask)(unsigned int); - void (*mask_all)(); - void (*restore_mask)(); + void (*mask_all)(void); + void (*restore_mask)(void); void (*init)(int); - int (*probe)(); + int (*probe)(void); int (*irq_pending)(unsigned int); void (*make_irq)(unsigned int); }; @@ -32787,6 +35134,20 @@ struct link_mode_info { u8 duplex; }; +struct linked_reg { + u8 frameno; + union { + u8 spi; + u8 regno; + }; + bool is_reg; +}; + +struct linked_regs { + int cnt; + struct linked_reg entries[6]; +}; + struct linkinfo_reply_data { struct ethnl_reply_data base; struct ethtool_link_ksettings ksettings; @@ -32827,13 +35188,15 @@ struct rlimit { struct linux_binprm { struct vm_area_struct *vma; long unsigned int vma_pages; + long unsigned int argmin; struct mm_struct *mm; long unsigned int p; - long unsigned int argmin; unsigned int have_execfd: 1; unsigned int execfd_creds: 1; unsigned int secureexec: 1; unsigned int point_of_no_return: 1; + unsigned int comm_from_dentry: 1; + unsigned int is_check: 1; struct file *executable; struct file *interpreter; struct file *file; @@ -32873,7 +35236,7 @@ struct linux_dirent64 { }; struct linux_mib { - long unsigned int mibs[127]; + long unsigned int mibs[133]; }; struct list_lru_node; @@ -32885,12 +35248,12 @@ struct list_lru { struct list_lru_one { struct list_head list; long int nr_items; + spinlock_t lock; }; struct list_lru_node { - spinlock_t lock; struct list_lru_one lru; - long int nr_items; + atomic_long_t nr_items; }; struct listeners { @@ -32919,12 +35282,13 @@ struct load_info { unsigned int vers; unsigned int info; unsigned int pcpu; + unsigned int vers_ext_crc; + unsigned int vers_ext_name; } index; }; struct local_ports { - seqlock_t lock; - int range[2]; + u32 range; bool warned; }; @@ -32934,12 +35298,8 @@ struct lock_manager_operations { void (*lm_put_owner)(fl_owner_t); void (*lm_notify)(struct file_lock *); int (*lm_grant)(struct file_lock *, int); - bool (*lm_break)(struct file_lock *); - int (*lm_change)(struct file_lock *, int, struct list_head *); - void (*lm_setup)(struct file_lock *, void **); - bool (*lm_breaker_owns_lease)(struct file_lock *); bool (*lm_lock_expirable)(struct file_lock *); - void (*lm_expire_lock)(); + void (*lm_expire_lock)(void); }; struct logic_pio_host_ops { @@ -32951,7 +35311,7 @@ struct logic_pio_host_ops { struct logic_pio_hwaddr { struct list_head list; - struct fwnode_handle *fwnode; + const struct fwnode_handle *fwnode; resource_size_t hw_start; resource_size_t io_start; resource_size_t size; @@ -32975,28 +35335,21 @@ struct lpm_trie_node; struct lpm_trie { struct bpf_map map; struct lpm_trie_node *root; + struct bpf_mem_alloc ma; size_t n_entries; size_t max_prefixlen; size_t data_size; - spinlock_t lock; - long: 64; - long: 64; - long: 64; - long: 64; + raw_spinlock_t lock; }; struct lpm_trie_node { - struct callback_head rcu; struct lpm_trie_node *child[2]; u32 prefixlen; u32 flags; u8 data[0]; }; -struct lru_rotate { - local_lock_t lock; - struct folio_batch fbatch; -}; +struct zswap_lruvec_state {}; struct lruvec { struct list_head lists[5]; @@ -33006,6 +35359,19 @@ struct lruvec { atomic_long_t nonresident_age; long unsigned int refaults[2]; long unsigned int flags; + struct zswap_lruvec_state zswap_lruvec_state; +}; + +struct lsm_context { + char *context; + u32 len; + int id; +}; + +struct lwq { + spinlock_t lock; + struct llist_node *ready; + struct llist_head new; }; struct lwtunnel_encap_ops { @@ -33031,25 +35397,6 @@ struct lwtunnel_state { __u8 data[0]; }; -struct maple_enode; - -struct maple_tree; - -struct maple_alloc; - -struct ma_state { - struct maple_tree *tree; - long unsigned int index; - long unsigned int last; - struct maple_enode *node; - long unsigned int min; - long unsigned int max; - struct maple_alloc *alloc; - unsigned char depth; - unsigned char offset; - unsigned char mas_flags; -}; - struct ma_topiary { struct maple_enode *head; struct maple_enode *tail; @@ -33065,7 +35412,6 @@ struct ma_wr_state { long unsigned int r_max; enum maple_type type; unsigned char offset_end; - unsigned char node_end; long unsigned int *pivots; long unsigned int end_piv; void **slots; @@ -33075,11 +35421,11 @@ struct ma_wr_state { struct machine_ops { void (*restart)(char *); - void (*halt)(); - void (*power_off)(); - void (*shutdown)(); + void (*halt)(void); + void (*power_off)(void); + void (*shutdown)(void); void (*crash_shutdown)(struct pt_regs *); - void (*emergency_restart)(); + void (*emergency_restart)(void); }; struct macsec_info { @@ -33126,7 +35472,6 @@ struct maple_arange_64 { }; struct maple_big_node { - struct maple_pnode *parent; long unsigned int pivot[33]; union { struct maple_enode *slot[34]; @@ -33232,11 +35577,12 @@ struct mdio_device { struct device dev; struct mii_bus *bus; char modalias[32]; - int (*bus_match)(struct device *, struct device_driver *); + int (*bus_match)(struct device *, const struct device_driver *); void (*device_free)(struct mdio_device *); void (*device_remove)(struct mdio_device *); int addr; int flags; + int reset_state; struct gpio_desc *reset_gpio; struct reset_control *reset_ctrl; unsigned int reset_assert_delay; @@ -33254,7 +35600,7 @@ typedef struct pglist_data pg_data_t; struct mem_cgroup_reclaim_cookie { pg_data_t *pgdat; - unsigned int generation; + int generation; }; struct quota_format_type; @@ -33279,6 +35625,7 @@ struct mem_section { }; struct mem_section_usage { + struct callback_head rcu; long unsigned int subsection_map[1]; long unsigned int pageblock_flags[0]; }; @@ -33319,6 +35666,8 @@ struct memdev { }; struct memory_notify { + long unsigned int altmap_start_pfn; + long unsigned int altmap_nr_pages; long unsigned int start_pfn; long unsigned int nr_pages; int status_change_nid_normal; @@ -33385,7 +35734,8 @@ struct microcode_header_intel { unsigned int datasize; unsigned int totalsize; unsigned int metasize; - unsigned int reserved[2]; + unsigned int min_req_ver; + unsigned int reserved; }; struct microcode_intel { @@ -33398,12 +35748,16 @@ struct microcode_ops { void (*microcode_fini_cpu)(int); enum ucode_state (*apply_microcode)(int); int (*collect_cpu_info)(int, struct cpu_signature *); + void (*finalize_late_load)(int); + unsigned int nmi_safe: 1; + unsigned int use_nmi: 1; }; struct migration_target_control { int nid; nodemask_t *nmask; gfp_t gfp_mask; + enum migrate_reason reason; }; struct phy_package_shared; @@ -33442,24 +35796,26 @@ struct mii_bus { struct mii_timestamper { bool (*rxtstamp)(struct mii_timestamper *, struct sk_buff *, int); void (*txtstamp)(struct mii_timestamper *, struct sk_buff *, int); - int (*hwtstamp)(struct mii_timestamper *, struct ifreq *); + int (*hwtstamp)(struct mii_timestamper *, struct kernel_hwtstamp_config *, struct netlink_ext_ack *); void (*link_state)(struct mii_timestamper *, struct phy_device *); - int (*ts_info)(struct mii_timestamper *, struct ethtool_ts_info *); + int (*ts_info)(struct mii_timestamper *, struct kernel_ethtool_ts_info *); struct device *device; }; -struct min_heap { - void *data; - int nr; - int size; +struct min_heap_callbacks { + bool (*less)(const void *, const void *, void *); + void (*swp)(void *, void *, void *); }; -struct min_heap_callbacks { - int elem_size; - bool (*less)(const void *, const void *); - void (*swp)(void *, void *); +struct min_heap_char { + size_t nr; + size_t size; + char *data; + char preallocated[0]; }; +typedef struct min_heap_char min_heap_char; + struct tcf_proto; struct mini_Qdisc { @@ -33549,7 +35905,6 @@ struct mm_struct { atomic_t mm_count; }; struct maple_tree mm_mt; - long unsigned int (*get_unmapped_area)(struct file *, long unsigned int, long unsigned int, long unsigned int, long unsigned int); long unsigned int mmap_base; long unsigned int mmap_legacy_base; long unsigned int task_size; @@ -33624,9 +35979,49 @@ struct mm_walk_ops { int (*test_walk)(long unsigned int, long unsigned int, struct mm_walk *); int (*pre_vma)(long unsigned int, long unsigned int, struct mm_walk *); void (*post_vma)(struct mm_walk *); + int (*install_pte)(long unsigned int, long unsigned int, pte_t *, struct mm_walk *); enum page_walk_lock walk_lock; }; +struct vma_munmap_struct { + struct vma_iterator *vmi; + struct vm_area_struct *vma; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct list_head *uf; + long unsigned int start; + long unsigned int end; + long unsigned int unmap_start; + long unsigned int unmap_end; + int vma_count; + bool unlock; + bool clear_ptes; + long unsigned int nr_pages; + long unsigned int locked_vm; + long unsigned int nr_accounted; + long unsigned int exec_vm; + long unsigned int stack_vm; + long unsigned int data_vm; +}; + +struct mmap_state { + struct mm_struct *mm; + struct vma_iterator *vmi; + long unsigned int addr; + long unsigned int end; + long unsigned int pgoff; + long unsigned int pglen; + long unsigned int flags; + struct file *file; + long unsigned int charged; + bool retry_merge; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct vma_munmap_struct vms; + struct ma_state mas_detach; + struct maple_tree mt_detach; +}; + struct mmap_unlock_irq_work { struct irq_work irq_work; struct mm_struct *mm; @@ -33687,8 +36082,36 @@ struct mmu_notifier_range { long unsigned int end; }; +struct mnt_id_req { + __u32 size; + __u32 spare; + __u64 mnt_id; + __u64 param; + __u64 mnt_ns_id; +}; + +struct uid_gid_extent { + u32 first; + u32 lower_first; + u32 count; +}; + +struct uid_gid_map { + union { + struct { + struct uid_gid_extent extent[5]; + u32 nr_extents; + }; + struct { + struct uid_gid_extent *forward; + struct uid_gid_extent *reverse; + }; + }; +}; + struct mnt_idmap { - struct user_namespace *owner; + struct uid_gid_map uid_map; + struct uid_gid_map gid_map; refcount_t count; }; @@ -33697,15 +36120,30 @@ struct mount; struct mnt_namespace { struct ns_common ns; struct mount *root; - struct list_head list; - spinlock_t ns_lock; + struct { + struct rb_root mounts; + struct rb_node *mnt_last_node; + struct rb_node *mnt_first_node; + }; struct user_namespace *user_ns; struct ucounts *ucounts; u64 seq; - wait_queue_head_t poll; + union { + wait_queue_head_t poll; + struct callback_head mnt_ns_rcu; + }; u64 event; - unsigned int mounts; + unsigned int nr_mounts; unsigned int pending_mounts; + struct rb_node mnt_ns_tree_node; + struct list_head mnt_ns_list; + refcount_t passive; +}; + +struct mnt_ns_info { + __u32 size; + __u32 nr_mounts; + __u64 mnt_ns_id; }; struct mod_arch_specific {}; @@ -33747,6 +36185,8 @@ struct module_kobject { struct module_memory { void *base; + void *rw_copy; + bool is_rox; unsigned int size; struct mod_tree_node mtn; }; @@ -33773,18 +36213,18 @@ struct module { const char *srcversion; struct kobject *holders_dir; const struct kernel_symbol *syms; - const s32 *crcs; + const u32 *crcs; unsigned int num_syms; struct kernel_param *kp; unsigned int num_kp; unsigned int num_gpl_syms; const struct kernel_symbol *gpl_syms; - const s32 *gpl_crcs; + const u32 *gpl_crcs; bool using_gplonly_symbols; bool async_probe_requested; unsigned int num_exentries; struct exception_table_entry *extable; - int (*init)(); + int (*init)(void); long: 64; long: 64; long: 64; @@ -33804,7 +36244,9 @@ struct module { unsigned int num_bpf_raw_events; struct bpf_raw_event_map *bpf_raw_events; unsigned int btf_data_size; + unsigned int btf_base_data_size; void *btf_data; + void *btf_base_data; unsigned int num_trace_bprintk_fmt; const char **trace_bprintk_fmt_start; struct trace_event_call **trace_events; @@ -33828,8 +36270,8 @@ struct module { struct module_attribute { struct attribute attr; - ssize_t (*show)(struct module_attribute *, struct module_kobject *, char *); - ssize_t (*store)(struct module_attribute *, struct module_kobject *, const char *, size_t); + ssize_t (*show)(const struct module_attribute *, struct module_kobject *, char *); + ssize_t (*store)(const struct module_attribute *, struct module_kobject *, const char *, size_t); void (*setup)(struct module *, const char *); int (*test)(struct module *); void (*free)(struct module *); @@ -33878,6 +36320,7 @@ struct mount { struct dentry *mnt_mountpoint; struct vfsmount mnt; union { + struct rb_node mnt_node; struct callback_head mnt_rcu; struct llist_node mnt_llist; }; @@ -33901,6 +36344,7 @@ struct mount { }; struct list_head mnt_umounting; int mnt_id; + u64 mnt_id_unique; int mnt_group_id; int mnt_expiry_mark; struct hlist_head mnt_pins; @@ -34036,7 +36480,7 @@ struct msghdr { __kernel_size_t msg_controllen; struct kiocb *msg_iocb; struct ubuf_info *msg_ubuf; - int (*sg_from_iter)(struct sock *, struct sk_buff *, struct iov_iter *, size_t); + int (*sg_from_iter)(struct sk_buff *, struct iov_iter *, size_t); }; struct x86_msi_addr_lo { @@ -34178,6 +36622,10 @@ struct multiprocess_signals { struct hlist_node node; }; +typedef struct mutex *class_mutex_t; + +typedef class_mutex_t class_mutex_intr_t; + struct ww_acquire_ctx; struct mutex_waiter { @@ -34188,7 +36636,7 @@ struct mutex_waiter { struct name_snapshot { struct qstr name; - unsigned char inline_name[32]; + union shortname_store inline_name; }; struct saved { @@ -34215,6 +36663,7 @@ struct nameidata { struct saved *stack; struct saved internal[2]; struct filename *name; + const char *pathname; struct nameidata *saved; unsigned int root_seq; int dfd; @@ -34223,26 +36672,25 @@ struct nameidata { }; struct page_frag_cache { - void *va; - __u16 offset; - __u16 size; - unsigned int pagecnt_bias; - bool pfmemalloc; -}; - -struct page_frag_1k { - void *va; - u16 offset; - bool pfmemalloc; + long unsigned int encoded_page; + __u32 offset; + __u32 pagecnt_bias; }; struct napi_alloc_cache { + local_lock_t bh_lock; struct page_frag_cache page; - struct page_frag_1k page_small; unsigned int skb_count; void *skb_cache[64]; }; +struct napi_config { + u64 gro_flush_timeout; + u64 irq_suspend_timeout; + u32 defer_hard_irqs; + unsigned int napi_id; +}; + struct napi_gro_cb { union { struct { @@ -34256,9 +36704,9 @@ struct napi_gro_cb { }; int data_offset; u16 flush; - u16 flush_id; u16 count; u16 proto; + u16 pad; union { struct { u16 gro_remcsum_start; @@ -34269,7 +36717,7 @@ struct napi_gro_cb { u8 free: 2; u8 is_ipv6: 1; u8 is_fou: 1; - u8 is_atomic: 1; + u8 ip_fixedid: 1; u8 recursion_counter: 4; u8 is_flist: 1; }; @@ -34282,12 +36730,26 @@ struct napi_gro_cb { u8 free: 2; u8 is_ipv6: 1; u8 is_fou: 1; - u8 is_atomic: 1; + u8 ip_fixedid: 1; u8 recursion_counter: 4; u8 is_flist: 1; } zeroed; }; __wsum csum; + union { + struct { + u16 network_offset; + u16 inner_network_offset; + }; + u16 network_offsets[2]; + }; +}; + +struct nbcon_write_context { + struct nbcon_context ctxt; + char *outbuf; + unsigned int len; + bool unsafe_takeover; }; struct nd_msg { @@ -34313,7 +36775,6 @@ struct ndisc_options; struct prefix_info; struct ndisc_ops { - int (*is_useropt)(u8); int (*parse_options)(const struct net_device *, struct nd_opt_hdr *, struct ndisc_options *); void (*update)(const struct net_device *, struct neighbour *, u32, u8, const struct ndisc_options *); int (*opt_addr_space)(const struct net_device *, u8, struct neighbour *, u8 *, u8 **); @@ -34337,6 +36798,11 @@ struct ndmsg { __u8 ndm_type; }; +struct ndo_fdb_dump_context { + long unsigned int ifindex; + long unsigned int fdb_idx; +}; + struct ndt_config { __u16 ndtc_key_len; __u16 ndtc_entry_size; @@ -34386,7 +36852,7 @@ struct neigh_dump_filter { }; struct neigh_hash_table { - struct neighbour **hash_buckets; + struct hlist_head *hash_heads; unsigned int hash_shift; __u32 hash_rnd[4]; struct callback_head rcu; @@ -34471,7 +36937,8 @@ struct neigh_table { }; struct neighbour { - struct neighbour *next; + struct hlist_node hash; + struct hlist_node dev_list; struct neigh_table *tbl; struct neigh_parms *parms; long unsigned int confirmed; @@ -34520,7 +36987,9 @@ struct raw_notifier_head { struct netns_core { struct ctl_table_header *sysctl_hdr; int sysctl_somaxconn; + int sysctl_optmem_max; u8 sysctl_txrehash; + u8 sysctl_tstamp_allow_data; }; struct tcp_mib; @@ -34562,6 +37031,28 @@ struct ping_group_range { }; struct netns_ipv4 { + __u8 __cacheline_group_begin__netns_ipv4_read_tx[0]; + u8 sysctl_tcp_early_retrans; + u8 sysctl_tcp_tso_win_divisor; + u8 sysctl_tcp_tso_rtt_log; + u8 sysctl_tcp_autocorking; + int sysctl_tcp_min_snd_mss; + unsigned int sysctl_tcp_notsent_lowat; + int sysctl_tcp_limit_output_bytes; + int sysctl_tcp_min_rtt_wlen; + int sysctl_tcp_wmem[3]; + u8 sysctl_ip_fwd_use_pmtu; + __u8 __cacheline_group_end__netns_ipv4_read_tx[0]; + __u8 __cacheline_group_begin__netns_ipv4_read_txrx[0]; + u8 sysctl_tcp_moderate_rcvbuf; + __u8 __cacheline_group_end__netns_ipv4_read_txrx[0]; + __u8 __cacheline_group_begin__netns_ipv4_read_rx[0]; + u8 sysctl_ip_early_demux; + u8 sysctl_tcp_early_demux; + u8 sysctl_tcp_l3mdev_accept; + int sysctl_tcp_reordering; + int sysctl_tcp_rmem[3]; + __u8 __cacheline_group_end__netns_ipv4_read_rx[0]; struct inet_timewait_death_row tcp_death_row; struct udp_table *udp_table; struct ipv4_devconf *devconf_all; @@ -34583,6 +37074,10 @@ struct netns_ipv4 { u8 sysctl_icmp_errors_use_inbound_ifaddr; int sysctl_icmp_ratelimit; int sysctl_icmp_ratemask; + int sysctl_icmp_msgs_per_sec; + int sysctl_icmp_msgs_burst; + atomic_t icmp_global_credit; + u32 icmp_global_stamp; u32 ip_rt_min_pmtu; int ip_rt_mtu_expires; int ip_rt_min_advmss; @@ -34591,13 +37086,10 @@ struct netns_ipv4 { u8 sysctl_tcp_ecn_fallback; u8 sysctl_ip_default_ttl; u8 sysctl_ip_no_pmtu_disc; - u8 sysctl_ip_fwd_use_pmtu; u8 sysctl_ip_fwd_update_priority; u8 sysctl_ip_nonlocal_bind; u8 sysctl_ip_autobind_reuse; u8 sysctl_ip_dynaddr; - u8 sysctl_ip_early_demux; - u8 sysctl_tcp_early_demux; u8 sysctl_udp_early_demux; u8 sysctl_nexthop_compat_mode; u8 sysctl_fwmark_reflect; @@ -34605,7 +37097,6 @@ struct netns_ipv4 { u8 sysctl_tcp_mtu_probing; int sysctl_tcp_mtu_probe_floor; int sysctl_tcp_base_mss; - int sysctl_tcp_min_snd_mss; int sysctl_tcp_probe_threshold; u32 sysctl_tcp_probe_interval; int sysctl_tcp_keepalive_time; @@ -34616,17 +37107,18 @@ struct netns_ipv4 { u8 sysctl_tcp_syncookies; u8 sysctl_tcp_migrate_req; u8 sysctl_tcp_comp_sack_nr; - int sysctl_tcp_reordering; + u8 sysctl_tcp_backlog_ack_defer; + u8 sysctl_tcp_pingpong_thresh; u8 sysctl_tcp_retries1; u8 sysctl_tcp_retries2; u8 sysctl_tcp_orphan_retries; u8 sysctl_tcp_tw_reuse; + unsigned int sysctl_tcp_tw_reuse_delay; int sysctl_tcp_fin_timeout; - unsigned int sysctl_tcp_notsent_lowat; u8 sysctl_tcp_sack; u8 sysctl_tcp_window_scaling; u8 sysctl_tcp_timestamps; - u8 sysctl_tcp_early_retrans; + int sysctl_tcp_rto_min_us; u8 sysctl_tcp_recovery; u8 sysctl_tcp_thin_linear_timeouts; u8 sysctl_tcp_slow_start_after_idle; @@ -34642,21 +37134,13 @@ struct netns_ipv4 { u8 sysctl_tcp_frto; u8 sysctl_tcp_nometrics_save; u8 sysctl_tcp_no_ssthresh_metrics_save; - u8 sysctl_tcp_moderate_rcvbuf; - u8 sysctl_tcp_tso_win_divisor; u8 sysctl_tcp_workaround_signed_windows; - int sysctl_tcp_limit_output_bytes; int sysctl_tcp_challenge_ack_limit; - int sysctl_tcp_min_rtt_wlen; u8 sysctl_tcp_min_tso_segs; - u8 sysctl_tcp_tso_rtt_log; - u8 sysctl_tcp_autocorking; u8 sysctl_tcp_reflect_tos; int sysctl_tcp_invalid_ratelimit; int sysctl_tcp_pacing_ss_ratio; int sysctl_tcp_pacing_ca_ratio; - int sysctl_tcp_wmem[3]; - int sysctl_tcp_rmem[3]; unsigned int sysctl_tcp_child_ehash_entries; long unsigned int sysctl_tcp_comp_sack_delay_ns; long unsigned int sysctl_tcp_comp_sack_slack_ns; @@ -34691,6 +37175,8 @@ struct netns_ipv4 { unsigned int ipmr_seq; atomic_t rt_genid; siphash_key_t ip_id_key; + struct hlist_head *inet_addr_lst; + struct delayed_work addr_chk_work; }; struct netns_sysctl_ipv6 { @@ -34776,16 +37262,6 @@ struct netns_ipv6 { struct ioam6_pernet_data *ioam6_data; }; -struct nf_logger; - -struct nf_hook_entries; - -struct netns_nf { - const struct nf_logger *nf_loggers[11]; - struct nf_hook_entries *hooks_ipv4[5]; - struct nf_hook_entries *hooks_ipv6[5]; -}; - struct netns_bpf { struct bpf_prog_array *run_array[2]; struct bpf_prog *progs[2]; @@ -34799,13 +37275,13 @@ struct net_generic; struct net { refcount_t passive; spinlock_t rules_mod_lock; - atomic_t dev_unreg_count; unsigned int dev_base_seq; u32 ifindex; spinlock_t nsid_lock; atomic_t fnhe_genid; struct list_head list; struct list_head exit_list; + struct llist_node defer_free_list; struct llist_node cleanup_list; struct user_namespace *user_ns; struct ucounts *ucounts; @@ -34832,13 +37308,19 @@ struct net { struct netns_nexthop nexthop; struct netns_ipv4 ipv4; struct netns_ipv6 ipv6; - struct netns_nf nf; struct net_generic *gen; struct netns_bpf bpf; u64 net_cookie; struct sock *diag_nlsk; }; +struct netdev_tc_txq { + u16 count; + u16 offset; +}; + +typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **); + struct net_device_stats { union { long unsigned int rx_packets; @@ -34940,75 +37422,118 @@ struct netdev_hw_addr_list { struct rb_root tree; }; -typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **); +struct sfp_bus; -struct pcpu_dstats; +struct udp_tunnel_nic; -struct netdev_tc_txq { - u16 count; - u16 offset; -}; +struct net_device_ops; -struct sfp_bus; +struct pcpu_lstats; -struct udp_tunnel_nic; +struct pcpu_sw_netstats; -struct netdev_name_node; +struct pcpu_dstats; -struct net_device_ops; +struct netdev_rx_queue; + +struct netdev_name_node; struct xdp_metadata_ops; -struct net_device_core_stats; +struct xsk_tx_metadata_ops; -struct netdev_rx_queue; +struct net_device_core_stats; struct xdp_dev_bulk_queue; -struct pcpu_lstats; +struct netdev_stat_ops; -struct pcpu_sw_netstats; +struct netdev_queue_mgmt_ops; + +struct phy_link_topology; struct udp_tunnel_nic_info; +struct netdev_config; + struct rtnl_hw_stats64; struct net_device { + __u8 __cacheline_group_begin__net_device_read_tx[0]; + union { + struct { + long unsigned int priv_flags: 32; + long unsigned int lltx: 1; + }; + struct { + long unsigned int priv_flags: 32; + long unsigned int lltx: 1; + } priv_flags_fast; + }; + const struct net_device_ops *netdev_ops; + const struct header_ops *header_ops; + struct netdev_queue *_tx; + netdev_features_t gso_partial_features; + unsigned int real_num_tx_queues; + unsigned int gso_max_size; + unsigned int gso_ipv4_max_size; + u16 gso_max_segs; + s16 num_tc; + unsigned int mtu; + short unsigned int needed_headroom; + struct netdev_tc_txq tc_to_txq[16]; + struct bpf_mprog_entry *tcx_egress; + __u8 __cacheline_group_end__net_device_read_tx[0]; + __u8 __cacheline_group_begin__net_device_read_txrx[0]; + union { + struct pcpu_lstats *lstats; + struct pcpu_sw_netstats *tstats; + struct pcpu_dstats *dstats; + }; + long unsigned int state; + unsigned int flags; + short unsigned int hard_header_len; + netdev_features_t features; + struct inet6_dev *ip6_ptr; + __u8 __cacheline_group_end__net_device_read_txrx[0]; + __u8 __cacheline_group_begin__net_device_read_rx[0]; + struct bpf_prog *xdp_prog; + struct list_head ptype_specific; + int ifindex; + unsigned int real_num_rx_queues; + struct netdev_rx_queue *_rx; + unsigned int gro_max_size; + unsigned int gro_ipv4_max_size; + rx_handler_func_t *rx_handler; + void *rx_handler_data; + possible_net_t nd_net; + struct bpf_mprog_entry *tcx_ingress; + __u8 __cacheline_group_end__net_device_read_rx[0]; char name[16]; struct netdev_name_node *name_node; struct dev_ifalias *ifalias; long unsigned int mem_end; long unsigned int mem_start; long unsigned int base_addr; - long unsigned int state; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; struct list_head close_list; struct list_head ptype_all; - struct list_head ptype_specific; struct { struct list_head upper; struct list_head lower; } adj_list; - unsigned int flags; xdp_features_t xdp_features; - long long unsigned int priv_flags; - const struct net_device_ops *netdev_ops; const struct xdp_metadata_ops *xdp_metadata_ops; - int ifindex; + const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; short unsigned int gflags; - short unsigned int hard_header_len; - unsigned int mtu; - short unsigned int needed_headroom; short unsigned int needed_tailroom; - netdev_features_t features; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; - netdev_features_t gso_partial_features; unsigned int min_mtu; unsigned int max_mtu; short unsigned int type; @@ -35021,8 +37546,7 @@ struct net_device { atomic_t carrier_down_count; const struct ethtool_ops *ethtool_ops; const struct ndisc_ops *ndisc_ops; - const struct header_ops *header_ops; - unsigned char operstate; + unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; @@ -35034,9 +37558,9 @@ struct net_device { short unsigned int neigh_priv_len; short unsigned int dev_id; short unsigned int dev_port; - short unsigned int padded; - spinlock_t addr_list_lock; int irq; + u32 priv_len; + spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; @@ -35044,33 +37568,18 @@ struct net_device { unsigned int allmulti; bool uc_promisc; struct in_device *ip_ptr; - struct inet6_dev *ip6_ptr; + struct hlist_head fib_nh_head; const unsigned char *dev_addr; - struct netdev_rx_queue *_rx; unsigned int num_rx_queues; - unsigned int real_num_rx_queues; - struct bpf_prog *xdp_prog; - long unsigned int gro_flush_timeout; - int napi_defer_hard_irqs; - unsigned int gro_max_size; - unsigned int gro_ipv4_max_size; unsigned int xdp_zc_max_segs; - rx_handler_func_t *rx_handler; - void *rx_handler_data; - struct bpf_mprog_entry *tcx_ingress; struct netdev_queue *ingress_queue; - struct nf_hook_entries *nf_hooks_ingress; unsigned char broadcast[32]; struct hlist_node index_hlist; - struct netdev_queue *_tx; unsigned int num_tx_queues; - unsigned int real_num_tx_queues; struct Qdisc *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue *xdp_bulkq; - struct bpf_mprog_entry *tcx_egress; - struct nf_hook_entries *nf_hooks_egress; struct timer_list watchdog_timer; int watchdog_timeo; u32 proto_down_reason; @@ -35078,14 +37587,7 @@ struct net_device { refcount_t dev_refcnt; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; - enum { - NETREG_UNINITIALIZED = 0, - NETREG_REGISTERED = 1, - NETREG_UNREGISTERING = 2, - NETREG_UNREGISTERED = 3, - NETREG_RELEASED = 4, - NETREG_DUMMY = 5, - } reg_state: 8; + u8 reg_state; bool dismantle; enum { RTNL_LINK_INITIALIZED = 0, @@ -35093,35 +37595,34 @@ struct net_device { } rtnl_link_state: 16; bool needs_free_netdev; void (*priv_destructor)(struct net_device *); - possible_net_t nd_net; void *ml_priv; enum netdev_ml_priv_type ml_priv_type; - union { - struct pcpu_lstats *lstats; - struct pcpu_sw_netstats *tstats; - struct pcpu_dstats *dstats; - }; + enum netdev_stat_type pcpu_stat_type: 8; struct device dev; const struct attribute_group *sysfs_groups[4]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; - unsigned int gso_max_size; + const struct netdev_stat_ops *stat_ops; + const struct netdev_queue_mgmt_ops *queue_mgmt_ops; unsigned int tso_max_size; - u16 gso_max_segs; u16 tso_max_segs; - unsigned int gso_ipv4_max_size; - s16 num_tc; - struct netdev_tc_txq tc_to_txq[16]; u8 prio_tc_map[16]; + struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; - unsigned int wol_enabled: 1; - unsigned int threaded: 1; + bool threaded; + long unsigned int see_all_hwtstamp_requests: 1; + long unsigned int change_proto_down: 1; + long unsigned int netns_local: 1; + long unsigned int fcoe_mtu: 1; struct list_head net_notifier_list; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; + struct netdev_config *cfg; + struct netdev_config *cfg_pending; + struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[3]; u8 dev_addr_shadow[32]; netdevice_tracker linkwatch_dev_tracker; @@ -35129,6 +37630,24 @@ struct net_device { netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; + struct hlist_head page_pools; + struct dim_irq_moder *irq_moder; + u64 max_pacing_offload_horizon; + struct napi_config *napi_config; + long unsigned int gro_flush_timeout; + u32 napi_defer_hard_irqs; + bool up; + struct mutex lock; + struct hlist_head neighbours[2]; + struct hwtstamp_provider *hwprov; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; + u8 priv[0]; }; struct net_device_core_stats { @@ -35203,14 +37722,16 @@ struct net_device_ops { int (*ndo_set_features)(struct net_device *, netdev_features_t); int (*ndo_neigh_construct)(struct net_device *, struct neighbour *); void (*ndo_neigh_destroy)(struct net_device *, struct neighbour *); - int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, struct netlink_ext_ack *); - int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, struct netlink_ext_ack *); - int (*ndo_fdb_del_bulk)(struct ndmsg *, struct nlattr **, struct net_device *, u16, struct netlink_ext_ack *); + int (*ndo_fdb_add)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, bool *, struct netlink_ext_ack *); + int (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, bool *, struct netlink_ext_ack *); + int (*ndo_fdb_del_bulk)(struct nlmsghdr *, struct net_device *, struct netlink_ext_ack *); int (*ndo_fdb_dump)(struct sk_buff *, struct netlink_callback *, struct net_device *, struct net_device *, int *); int (*ndo_fdb_get)(struct sk_buff *, struct nlattr **, struct net_device *, const unsigned char *, u16, u32, u32, struct netlink_ext_ack *); int (*ndo_mdb_add)(struct net_device *, struct nlattr **, u16, struct netlink_ext_ack *); int (*ndo_mdb_del)(struct net_device *, struct nlattr **, struct netlink_ext_ack *); + int (*ndo_mdb_del_bulk)(struct net_device *, struct nlattr **, struct netlink_ext_ack *); int (*ndo_mdb_dump)(struct net_device *, struct sk_buff *, struct netlink_callback *); + int (*ndo_mdb_get)(struct net_device *, struct nlattr **, u32, u32, struct netlink_ext_ack *); int (*ndo_bridge_setlink)(struct net_device *, struct nlmsghdr *, u16, struct netlink_ext_ack *); int (*ndo_bridge_getlink)(struct sk_buff *, u32, u32, struct net_device *, u32, int); int (*ndo_bridge_dellink)(struct net_device *, struct nlmsghdr *, u16); @@ -35228,7 +37749,7 @@ struct net_device_ops { int (*ndo_xdp_xmit)(struct net_device *, int, struct xdp_frame **, u32); struct net_device * (*ndo_xdp_get_xmit_slave)(struct net_device *, struct xdp_buff *); int (*ndo_xsk_wakeup)(struct net_device *, u32, u32); - int (*ndo_tunnel_ctl)(struct net_device *, struct ip_tunnel_parm *, int); + int (*ndo_tunnel_ctl)(struct net_device *, struct ip_tunnel_parm_kern *, int); struct net_device * (*ndo_get_peer_dev)(struct net_device *); int (*ndo_fill_forward_path)(struct net_device_path_ctx *, struct net_device_path *); ktime_t (*ndo_get_tstamp)(struct net_device *, const struct skb_shared_hwtstamps *, bool); @@ -35264,6 +37785,7 @@ struct net_device_path { u8 queue; u16 wcid; u8 bss; + u8 amsdu; } mtk_wdma; }; }; @@ -35283,6 +37805,24 @@ struct net_device_path_stack { struct net_device_path path[5]; }; +struct dma_buf; + +struct dma_buf_attachment; + +struct gen_pool; + +struct net_devmem_dmabuf_binding { + struct dma_buf *dmabuf; + struct dma_buf_attachment *attachment; + struct sg_table *sgt; + struct net_device *dev; + struct gen_pool *chunk_pool; + refcount_t ref; + struct list_head list; + struct xarray bound_rxqs; + u32 id; +}; + struct net_fill_args { u32 portid; u32 seq; @@ -35312,15 +37852,17 @@ struct offload_callbacks { int (*gro_complete)(struct sk_buff *, int); }; -struct net_offload { +struct packet_offload { + __be16 type; + u16 priority; struct offload_callbacks callbacks; - unsigned int flags; + struct list_head list; }; -struct net_proto_family { - int family; - int (*create)(struct net *, struct socket *, int, int); - struct module *owner; +struct net_offload { + struct offload_callbacks callbacks; + unsigned int flags; + u32 secret; }; struct net_protocol { @@ -35328,6 +37870,52 @@ struct net_protocol { int (*err_handler)(struct sk_buff *, u32); unsigned int no_policy: 1; unsigned int icmp_strict_tag_validation: 1; + u32 secret; +}; + +struct net_hotdata { + struct packet_offload ip_packet_offload; + struct net_offload tcpv4_offload; + struct net_protocol tcp_protocol; + struct net_offload udpv4_offload; + struct net_protocol udp_protocol; + struct packet_offload ipv6_packet_offload; + struct net_offload tcpv6_offload; + struct inet6_protocol tcpv6_protocol; + struct inet6_protocol udpv6_protocol; + struct net_offload udpv6_offload; + struct list_head offload_base; + struct list_head ptype_all; + struct kmem_cache *skbuff_cache; + struct kmem_cache *skbuff_fclone_cache; + struct kmem_cache *skb_small_head_cache; + int gro_normal_batch; + int netdev_budget; + int netdev_budget_usecs; + int tstamp_prequeue; + int max_backlog; + int dev_tx_weight; + int dev_rx_weight; + int sysctl_max_skb_frags; + int sysctl_skb_defer_max; + int sysctl_mem_pcpu_rsv; +}; + +struct dmabuf_genpool_chunk_owner; + +struct net_iov { + long unsigned int __unused_padding; + long unsigned int pp_magic; + struct page_pool *pp; + struct dmabuf_genpool_chunk_owner *owner; + long unsigned int dma_addr; + atomic_long_t pp_ref_count; +}; + +struct net_proto_family { + int family; + int (*create)(struct net *, struct socket *, int, int); + struct module *owner; }; struct net_rate_estimator { @@ -35387,6 +37975,11 @@ struct netdev_bpf { }; }; +struct netdev_config { + u32 hds_thresh; + u8 hds_config; +}; + struct netdev_hw_addr { struct list_head list; struct rb_node node; @@ -35404,6 +37997,7 @@ struct netdev_name_node { struct list_head list; struct net_device *dev; const char *name; + struct callback_head rcu; }; struct netdev_nested_priv { @@ -35416,6 +38010,13 @@ struct netdev_net_notifier { struct notifier_block *nb; }; +struct netdev_nl_dump_ctx { + long unsigned int ifindex; + unsigned int rxq_idx; + unsigned int txq_idx; + unsigned int napi_id; +}; + struct netdev_notifier_info { struct net_device *dev; struct netlink_ext_ack *extack; @@ -35502,6 +38103,47 @@ struct netdev_queue { int xmit_lock_owner; long unsigned int trans_start; long unsigned int state; + struct napi_struct *napi; +}; + +struct netdev_queue_mgmt_ops { + size_t ndo_queue_mem_size; + int (*ndo_queue_mem_alloc)(struct net_device *, void *, int); + void (*ndo_queue_mem_free)(struct net_device *, void *); + int (*ndo_queue_start)(struct net_device *, void *, int); + int (*ndo_queue_stop)(struct net_device *, void *, int); +}; + +struct netdev_queue_stats_rx { + u64 bytes; + u64 packets; + u64 alloc_fail; + u64 hw_drops; + u64 hw_drop_overruns; + u64 csum_unnecessary; + u64 csum_none; + u64 csum_bad; + u64 hw_gro_packets; + u64 hw_gro_bytes; + u64 hw_gro_wire_packets; + u64 hw_gro_wire_bytes; + u64 hw_drop_ratelimits; +}; + +struct netdev_queue_stats_tx { + u64 bytes; + u64 packets; + u64 hw_drops; + u64 hw_drop_errors; + u64 csum_none; + u64 needs_csum; + u64 hw_gso_packets; + u64 hw_gso_bytes; + u64 hw_gso_wire_packets; + u64 hw_gso_wire_bytes; + u64 hw_drop_ratelimits; + u64 stop; + u64 wake; }; struct xdp_mem_info { @@ -35514,7 +38156,6 @@ struct xdp_rxq_info { u32 queue_index; u32 reg_state; struct xdp_mem_info mem; - unsigned int napi_id; u32 frag_size; long: 64; long: 64; @@ -35522,18 +38163,34 @@ struct xdp_rxq_info { long: 64; }; +struct pp_memory_provider_params { + void *mp_priv; +}; + struct netdev_rx_queue { struct xdp_rxq_info xdp_rxq; struct kobject kobj; struct net_device *dev; netdevice_tracker dev_tracker; + struct napi_struct *napi; + struct pp_memory_provider_params mp_params; long: 64; long: 64; long: 64; long: 64; long: 64; - long: 64; - long: 64; +}; + +struct netdev_stat_ops { + void (*get_queue_stats_rx)(struct net_device *, int, struct netdev_queue_stats_rx *); + void (*get_queue_stats_tx)(struct net_device *, int, struct netdev_queue_stats_tx *); + void (*get_base_stats)(struct net_device *, struct netdev_queue_stats_rx *, struct netdev_queue_stats_tx *); +}; + +struct netdev_xmit { + u16 recursion; + u8 more; + u8 skip_txqueue; }; struct netevent_redirect { @@ -35572,6 +38229,7 @@ struct netlink_callback { u32 min_dump_alloc; unsigned int prev_seq; unsigned int seq; + int flags; bool strict_check; union { u8 ctx[48]; @@ -35592,6 +38250,7 @@ struct netlink_dump_control { void *data; struct module *module; u32 min_dump_alloc; + int flags; }; struct netlink_ext_ack { @@ -35609,7 +38268,6 @@ struct netlink_kernel_cfg { unsigned int groups; unsigned int flags; void (*input)(struct sk_buff *); - struct mutex *cb_mutex; int (*bind)(struct net *, int); void (*unbind)(struct net *, int); void (*release)(struct sock *, long unsigned int *); @@ -35680,8 +38338,7 @@ struct netlink_sock { bool cb_running; int dump_done_errno; struct netlink_callback cb; - struct mutex *cb_mutex; - struct mutex cb_def_mutex; + struct mutex nl_cb_mutex; void (*netlink_rcv)(struct sk_buff *); int (*netlink_bind)(struct net *, int); void (*netlink_unbind)(struct net *, int); @@ -35689,7 +38346,6 @@ struct netlink_sock { struct module *module; struct rhash_head node; struct callback_head rcu; - struct work_struct work; }; struct netlink_table { @@ -35752,43 +38408,10 @@ struct nexthop { struct nexthop_grp { __u32 id; __u8 weight; - __u8 resvd1; + __u8 weight_high; __u16 resvd2; }; -struct nf_conntrack; - -struct nf_conntrack_tuple; - -struct nf_ct_hook { - int (*update)(struct net *, struct sk_buff *); - void (*destroy)(struct nf_conntrack *); - bool (*get_tuple_skb)(struct nf_conntrack_tuple *, const struct sk_buff *); - void (*attach)(struct sk_buff *, const struct sk_buff *); - void (*set_closing)(struct nf_conntrack *); -}; - -struct nf_defrag_hook { - struct module *owner; - int (*enable)(struct net *); - void (*disable)(struct net *); -}; - -struct nf_hook_entry { - nf_hookfn *hook; - void *priv; -}; - -struct nf_hook_entries { - u16 num_hook_entries; - struct nf_hook_entry hooks[0]; -}; - -struct nf_hook_entries_rcu_head { - struct callback_head head; - void *allocation; -}; - struct nf_hook_state { u8 hook; u8 pf; @@ -35799,82 +38422,6 @@ struct nf_hook_state { int (*okfn)(struct net *, struct sock *, struct sk_buff *); }; -struct nf_queue_entry; - -struct nf_ipv6_ops { - void (*route_input)(struct sk_buff *); - int (*fragment)(struct net *, struct sock *, struct sk_buff *, int (*)(struct net *, struct sock *, struct sk_buff *)); - int (*reroute)(struct sk_buff *, const struct nf_queue_entry *); -}; - -struct nf_log_buf { - unsigned int count; - char buf[1020]; -}; - -struct nf_loginfo; - -typedef void nf_logfn(struct net *, u_int8_t, unsigned int, const struct sk_buff *, const struct net_device *, const struct net_device *, const struct nf_loginfo *, const char *); - -struct nf_logger { - char *name; - enum nf_log_type type; - nf_logfn *logfn; - struct module *me; -}; - -struct nf_loginfo { - u_int8_t type; - union { - struct { - u_int32_t copy_len; - u_int16_t group; - u_int16_t qthreshold; - u_int16_t flags; - } ulog; - struct { - u_int8_t level; - u_int8_t logflags; - } log; - } u; -}; - -struct nf_queue_entry { - struct list_head list; - struct sk_buff *skb; - unsigned int id; - unsigned int hook_index; - struct nf_hook_state state; - u16 size; -}; - -struct nf_queue_handler { - int (*outfn)(struct nf_queue_entry *, unsigned int); - void (*nf_hook_drop)(struct net *); -}; - -struct nf_sockopt_ops { - struct list_head list; - u_int8_t pf; - int set_optmin; - int set_optmax; - int (*set)(struct sock *, int, sockptr_t, unsigned int); - int get_optmin; - int get_optmax; - int (*get)(struct sock *, int, void *, int *); - struct module *owner; -}; - -struct nf_conn; - -struct nfnl_ct_hook { - size_t (*build_size)(const struct nf_conn *); - int (*build)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, u_int16_t, u_int16_t); - int (*parse)(const struct nlattr *, struct nf_conn *); - int (*attach_expect)(const struct nlattr *, struct nf_conn *, u32, u32); - void (*seq_adjust)(struct sk_buff *, struct nf_conn *, enum ip_conntrack_info, s32); -}; - struct nh_config { u32 nh_id; u8 nh_family; @@ -35896,6 +38443,7 @@ struct nh_config { bool nh_grp_res_has_num_buckets; bool nh_grp_res_has_idle_timer; bool nh_grp_res_has_unbalanced_timer; + bool nh_hw_stats; struct nlattr *nh_encap; u16 nh_encap_type; u32 nlflags; @@ -35909,11 +38457,15 @@ struct nh_dump_filter { bool group_filter; bool fdb_filter; u32 res_bucket_nh_id; + u32 op_flags; }; +struct nh_grp_entry_stats; + struct nh_grp_entry { struct nexthop *nh; - u8 weight; + struct nh_grp_entry_stats *stats; + u16 weight; union { struct { atomic_t upper_bound; @@ -35926,6 +38478,7 @@ struct nh_grp_entry { }; struct list_head nh_list; struct nexthop *nh_parent; + u64 packets_hw; }; struct nh_res_table; @@ -35938,10 +38491,16 @@ struct nh_group { bool resilient; bool fdb_nh; bool has_v4; + bool hw_stats; struct nh_res_table *res_table; struct nh_grp_entry nh_entries[0]; }; +struct nh_grp_entry_stats { + u64_stats_t packets; + struct u64_stats_sync syncp; +}; + struct nh_info { struct hlist_node dev_hash; struct nexthop *nh_parent; @@ -35962,20 +38521,32 @@ struct nh_notifier_single_info { __be32 ipv4; struct in6_addr ipv6; }; + u32 id; u8 is_reject: 1; u8 is_fdb: 1; u8 has_encap: 1; }; struct nh_notifier_grp_entry_info { - u8 weight; - u32 id; + u16 weight; struct nh_notifier_single_info nh; }; +struct nh_notifier_grp_hw_stats_entry_info { + u32 id; + u64 packets; +}; + +struct nh_notifier_grp_hw_stats_info { + u16 num_nh; + bool hw_stats_used; + struct nh_notifier_grp_hw_stats_entry_info stats[0]; +}; + struct nh_notifier_grp_info { u16 num_nh; bool is_fdb; + bool hw_stats; struct nh_notifier_grp_entry_info nh_entries[0]; }; @@ -35993,6 +38564,7 @@ struct nh_notifier_info { struct nh_notifier_grp_info *nh_grp; struct nh_notifier_res_table_info *nh_res_table; struct nh_notifier_res_bucket_info *nh_res_bucket; + struct nh_notifier_grp_hw_stats_info *nh_grp_hw_stats; }; }; @@ -36006,6 +38578,7 @@ struct nh_notifier_res_bucket_info { struct nh_notifier_res_table_info { u16 num_nh_buckets; + bool hw_stats; struct nh_notifier_single_info nhs[0]; }; @@ -36056,8 +38629,8 @@ struct nla_policy { const u32 mask; const char *reject_message; const struct nla_policy *nested_policy; - struct netlink_range_validation *range; - struct netlink_range_validation_signed *range_signed; + const struct netlink_range_validation *range; + const struct netlink_range_validation_signed *range_signed; struct { s16 min; s16 max; @@ -36153,6 +38726,50 @@ struct nsset { const struct cred *cred; }; +struct ntp_data { + long unsigned int tick_usec; + u64 tick_length; + u64 tick_length_base; + int time_state; + int time_status; + s64 time_offset; + long int time_constant; + long int time_maxerror; + long int time_esterror; + s64 time_freq; + time64_t time_reftime; + long int time_adjust; + s64 ntp_tick_adj; + time64_t ntp_next_leap_sec; +}; + +struct objpool_head; + +typedef int (*objpool_fini_cb)(struct objpool_head *, void *); + +struct objpool_slot; + +struct objpool_head { + int obj_size; + int nr_objs; + int nr_possible_cpus; + int capacity; + gfp_t gfp; + refcount_t ref; + long unsigned int flags; + struct objpool_slot **cpu_slots; + objpool_fini_cb release; + void *context; +}; + +struct objpool_slot { + uint32_t head; + uint32_t tail; + uint32_t last; + uint32_t mask; + void *entries[0]; +}; + struct obs_kernel_param { const char *str; int (*setup_func)(char *); @@ -36173,8 +38790,8 @@ struct of_phandle_args { }; struct offset_ctx { - struct xarray xa; - u32 next_offset; + struct maple_tree mt; + long unsigned int next_offset; }; struct old_timespec32 { @@ -36285,13 +38902,6 @@ struct p4_pebs_bind { unsigned int metric_vert; }; -struct packet_offload { - __be16 type; - u16 priority; - struct offload_callbacks callbacks; - struct list_head list; -}; - struct packet_type { __be16 type; bool ignore_outgoing; @@ -36317,8 +38927,7 @@ struct page_flags_fields { const char *name; }; -struct page_pool_params { - unsigned int flags; +struct page_pool_params_fast { unsigned int order; unsigned int pool_size; int nid; @@ -36327,13 +38936,11 @@ struct page_pool_params { enum dma_data_direction dma_dir; unsigned int max_len; unsigned int offset; - void (*init_callback)(struct page *, void *); - void *init_arg; }; struct pp_alloc_cache { u32 count; - struct page *cache[128]; + netmem_ref cache[128]; }; struct ptr_ring { @@ -36347,12 +38954,31 @@ struct ptr_ring { void **queue; }; +struct page_pool_params_slow { + struct net_device *netdev; + unsigned int queue_idx; + unsigned int flags; + void (*init_callback)(netmem_ref, void *); + void *init_arg; +}; + struct page_pool { - struct page_pool_params p; + struct page_pool_params_fast p; + int cpuid; + u32 pages_state_hold_cnt; + bool has_init_callback: 1; + bool dma_map: 1; + bool dma_sync: 1; + bool dma_sync_for_cpu: 1; + long: 0; + __u8 __cacheline_group_begin__frag[0]; long int frag_users; - struct page *frag_page; + netmem_ref frag_page; unsigned int frag_offset; - u32 pages_state_hold_cnt; + long: 0; + __u8 __cacheline_group_end__frag[0]; + long: 64; + struct {} __cacheline_group_pad__frag; struct delayed_work release_dw; void (*disconnect)(void *); long unsigned int defer_start; @@ -36360,9 +38986,48 @@ struct page_pool { u32 xdp_mem_id; struct pp_alloc_cache alloc; struct ptr_ring ring; + void *mp_priv; atomic_t pages_state_release_cnt; refcount_t user_cnt; u64 destroy_cnt; + struct page_pool_params_slow slow; + struct { + struct hlist_node list; + u64 detach_time; + u32 id; + } user; + long: 64; +}; + +struct page_pool_dump_cb { + long unsigned int ifindex; + u32 pp_id; +}; + +struct page_pool_params { + union { + struct { + unsigned int order; + unsigned int pool_size; + int nid; + struct device *dev; + struct napi_struct *napi; + enum dma_data_direction dma_dir; + unsigned int max_len; + unsigned int offset; + }; + struct page_pool_params_fast fast; + }; + union { + struct { + struct net_device *netdev; + unsigned int queue_idx; + unsigned int flags; + void (*init_callback)(netmem_ref, void *); + void *init_arg; + }; + struct page_pool_params_slow slow; + }; }; struct page_vma_mapped_walk { @@ -36388,16 +39053,10 @@ struct pages_devres { unsigned int order; }; -struct paravirt_patch_site { - u8 *instr; - u8 type; - u8 len; -}; - struct partial_context { - struct slab **slab; gfp_t flags; unsigned int orig_size; + void *object; }; struct partial_page { @@ -36411,6 +39070,11 @@ struct partition_meta_info { u8 volname[64]; }; +struct patch_digest { + u32 patch_id; + u8 sha256[32]; +}; + struct pause_reply_data { struct ethnl_reply_data base; struct ethtool_pauseparam pauseparam; @@ -36469,6 +39133,8 @@ struct pci_vpd { u8 cap; }; +struct pcie_bwctrl_data; + struct pci_slot; struct pci_driver; @@ -36502,9 +39168,11 @@ struct pci_dev { struct device_dma_parameters dma_parms; pci_power_t current_state; u8 pm_cap; - unsigned int imm_ready: 1; unsigned int pme_support: 5; unsigned int pme_poll: 1; + unsigned int pinned: 1; + unsigned int config_rrs_sv: 1; + unsigned int imm_ready: 1; unsigned int d1_support: 1; unsigned int d2_support: 1; unsigned int no_d1d2: 1; @@ -36519,8 +39187,9 @@ struct pci_dev { unsigned int clear_retrain_link: 1; unsigned int d3hot_delay; unsigned int d3cold_delay; + u16 l1ss; unsigned int pasid_no_tlp: 1; - unsigned int eetlp_prefix_path: 1; + unsigned int eetlp_prefix_max: 3; pci_channel_state_t error_state; struct device dev; int cfg_size; @@ -36545,6 +39214,7 @@ struct pci_dev { unsigned int ats_enabled: 1; unsigned int pasid_enabled: 1; unsigned int pri_enabled: 1; + unsigned int tph_enabled: 1; unsigned int is_managed: 1; unsigned int is_msi_managed: 1; unsigned int needs_freset: 1; @@ -36574,12 +39244,14 @@ struct pci_dev { struct bin_attribute *res_attr[11]; struct bin_attribute *res_attr_wc[11]; struct pci_vpd vpd; + struct pcie_bwctrl_data *link_bwctrl; u16 acs_cap; + u8 supported_speeds; phys_addr_t rom; size_t romlen; const char *driver_override; long unsigned int priv_flags; - u8 reset_methods[7]; + u8 reset_methods[8]; }; struct pci_device_id { @@ -36601,7 +39273,6 @@ struct pci_dynids { struct pci_error_handlers; struct pci_driver { - struct list_head node; const char *name; const struct pci_device_id *id_table; int (*probe)(struct pci_dev *, const struct pci_device_id *); @@ -36702,6 +39373,18 @@ struct pcpu_chunk { long unsigned int populated[0]; }; +struct pcpu_dstats { + u64_stats_t rx_packets; + u64_stats_t rx_bytes; + u64_stats_t tx_packets; + u64_stats_t tx_bytes; + u64_stats_t rx_drops; + u64_stats_t tx_drops; + struct u64_stats_sync syncp; + long: 64; + long: 64; +}; + struct pcpu_gen_cookie { local_t nesting; u64 last; @@ -36739,7 +39422,9 @@ struct pcpu_sw_netstats { struct pdev_archdata {}; struct pebs_basic { - u64 format_size; + u64 format_group: 32; + u64 retire_latency: 16; + u64 format_size: 16; u64 ip; u64 applicable_counters; u64 tsc; @@ -36769,7 +39454,15 @@ struct pebs_gprs { struct pebs_meminfo { u64 address; u64 aux; - u64 latency; + union { + u64 mem_latency; + struct { + u64 instr_latency: 16; + u64 pad2: 16; + u64 cache_latency: 16; + u64 pad3: 16; + }; + }; u64 tsx_tuning; }; @@ -36853,29 +39546,27 @@ struct pebs_xmm { struct per_cpu_nodestat { s8 stat_threshold; - s8 vm_node_stat_diff[40]; + s8 vm_node_stat_diff[43]; }; struct per_cpu_pages { spinlock_t lock; int count; int high; + int high_min; + int high_max; int batch; - short int free_factor; + u8 flags; + u8 alloc_factor; + short int free_count; struct list_head lists[12]; }; struct per_cpu_zonestat {}; -struct swap_cluster_info { - spinlock_t lock; - unsigned int data: 24; - unsigned int flags: 8; -}; - struct percpu_cluster { - struct swap_cluster_info index; - unsigned int next; + local_lock_t lock; + unsigned int next[1]; }; struct percpu_free_defer { @@ -36985,6 +39676,7 @@ struct perf_buffer { atomic_t mmap_count; long unsigned int mmap_locked; struct user_struct *mmap_user; + struct mutex aux_mutex; long int aux_head; unsigned int aux_nest; long int aux_wakeup; @@ -36996,6 +39688,7 @@ struct perf_buffer { void (*free_aux)(void *); refcount_t aux_refcount; int aux_in_sampling; + int aux_in_pause_resume; void **aux_pages; void *aux_priv; struct perf_event_mmap_page *user_page; @@ -37028,6 +39721,7 @@ union perf_capabilities { u64 pebs_output_pt_available: 1; u64 pebs_timing_info: 1; u64 anythread_deprecated: 1; + u64 rdpmc_metrics_clear: 1; }; u64 capabilities; }; @@ -37072,7 +39766,7 @@ struct perf_event_context { u64 generation; int pin_count; struct callback_head callback_head; - local_t nr_pending; + local_t nr_no_switch_fast; }; struct perf_cpu_context { @@ -37092,6 +39786,8 @@ struct perf_event_pmu_context { struct list_head flexible_active; unsigned int embedded: 1; unsigned int nr_events; + unsigned int nr_cgroups; + unsigned int nr_freq; atomic_t refcount; struct callback_head callback_head; void *task_ctx_data; @@ -37185,7 +39881,15 @@ struct perf_event_attr { __u16 sample_max_stack; __u16 __reserved_2; __u32 aux_sample_size; - __u32 __reserved_3; + union { + __u32 aux_action; + struct { + __u32 aux_start_paused: 1; + __u32 aux_pause: 1; + __u32 aux_resume: 1; + __u32 __reserved_3: 29; + }; + }; __u64 sig_data; __u64 config3; }; @@ -37243,11 +39947,12 @@ struct perf_event { unsigned int pending_wakeup; unsigned int pending_kill; unsigned int pending_disable; - unsigned int pending_sigtrap; long unsigned int pending_addr; struct irq_work pending_irq; + struct irq_work pending_disable_irq; struct callback_head pending_task; unsigned int pending_work; + struct rcuwait pending_work_wait; atomic_t event_limit; struct perf_addr_filters_head addr_filters; struct perf_addr_filter_range *addr_filter_ranges; @@ -37258,10 +39963,9 @@ struct perf_event { struct pid_namespace *ns; u64 id; atomic64_t lost_samples; - u64 (*clock)(); + u64 (*clock)(void); perf_overflow_handler_t overflow_handler; void *overflow_handler_context; - perf_overflow_handler_t orig_overflow_handler; struct bpf_prog *prog; u64 bpf_cookie; struct trace_event_call *tp_event; @@ -37271,6 +39975,13 @@ struct perf_event { __u32 orig_type; }; +struct perf_event_min_heap { + size_t nr; + size_t size; + struct perf_event **data; + struct perf_event *preallocated[0]; +}; + struct perf_event_mmap_page { __u32 version; __u32 compat_version; @@ -37327,6 +40038,7 @@ struct pmu { const char *name; int type; int capabilities; + unsigned int scope; int *pmu_disable_count; struct perf_cpu_pmu_context *cpu_pmu_context; atomic_t exclusive_cnt; @@ -37557,8 +40269,9 @@ struct pernet_operations { void (*pre_exit)(struct net *); void (*exit)(struct net *); void (*exit_batch)(struct list_head *); - unsigned int *id; - size_t size; + void (*exit_batch_rtnl)(struct list_head *, struct list_head *); + unsigned int * const id; + const size_t size; }; struct skb_array { @@ -37573,11 +40286,13 @@ struct zone { long unsigned int _watermark[4]; long unsigned int watermark_boost; long unsigned int nr_reserved_highatomic; + long unsigned int nr_free_highatomic; long int lowmem_reserve[3]; struct pglist_data *zone_pgdat; struct per_cpu_pages *per_cpu_pageset; struct per_cpu_zonestat *per_cpu_zonestats; - int pageset_high; + int pageset_high_min; + int pageset_high_max; int pageset_batch; long unsigned int zone_start_pfn; atomic_long_t managed_pages; @@ -37624,7 +40339,7 @@ struct pglist_data { struct lruvec __lruvec; long unsigned int flags; struct per_cpu_nodestat *per_cpu_nodestats; - atomic_long_t vm_stat[40]; + atomic_long_t vm_stat[43]; }; struct phc_vclocks_reply_data { @@ -37647,8 +40362,9 @@ struct phy_driver; struct phy_device { struct mdio_device mdio; - struct phy_driver *drv; + const struct phy_driver *drv; struct device_link *devlink; + u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned int is_c45: 1; @@ -37670,10 +40386,12 @@ struct phy_device { unsigned int interrupts: 1; unsigned int irq_suspended: 1; unsigned int irq_rerun: 1; + unsigned int default_timestamp: 1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; + long unsigned int possible_interfaces[1]; int speed; int duplex; int port; @@ -37688,9 +40406,11 @@ struct phy_device { long unsigned int adv_old[2]; long unsigned int supported_eee[2]; long unsigned int advertising_eee[2]; - bool eee_enabled; + long unsigned int eee_broken_modes[2]; + bool enable_tx_lpi; + bool eee_active; + struct eee_config eee_cfg; long unsigned int host_interfaces[1]; - u32 eee_broken_modes; struct list_head leds; int irq; void *priv; @@ -37714,6 +40434,16 @@ struct phy_device { void (*adjust_link)(struct net_device *); }; +struct phy_device_node { + enum phy_upstream upstream_type; + union { + struct net_device *netdev; + struct phy_device *phydev; + } upstream; + struct sfp_bus *parent_sfp_bus; + struct phy_device *phy; +}; + struct phy_driver { struct mdio_driver_common mdiodrv; u32 phy_id; @@ -37726,6 +40456,8 @@ struct phy_driver { int (*config_init)(struct phy_device *); int (*probe)(struct phy_device *); int (*get_features)(struct phy_device *); + unsigned int (*inband_caps)(struct phy_device *, phy_interface_t); + int (*config_inband)(struct phy_device *, unsigned int); int (*get_rate_matching)(struct phy_device *, phy_interface_t); int (*suspend)(struct phy_device *); int (*resume)(struct phy_device *); @@ -37748,6 +40480,9 @@ struct phy_driver { int (*cable_test_start)(struct phy_device *); int (*cable_test_tdr_start)(struct phy_device *, const struct phy_tdr_config *); int (*cable_test_get_status)(struct phy_device *, bool *); + void (*get_phy_stats)(struct phy_device *, struct ethtool_eth_phy_stats *, struct ethtool_phy_stats *); + void (*get_link_stats)(struct phy_device *, struct ethtool_link_ext_stats *); + int (*update_stats)(struct phy_device *); int (*get_sset_count)(struct phy_device *); void (*get_strings)(struct phy_device *, u8 *); void (*get_stats)(struct phy_device *, struct ethtool_stats *, u64 *); @@ -37764,10 +40499,17 @@ struct phy_driver { int (*led_hw_is_supported)(struct phy_device *, u8, long unsigned int); int (*led_hw_control_set)(struct phy_device *, u8, long unsigned int); int (*led_hw_control_get)(struct phy_device *, u8, long unsigned int *); + int (*led_polarity_set)(struct phy_device *, int, long unsigned int); +}; + +struct phy_link_topology { + struct xarray phys; + u32 next_phy_index; }; struct phy_package_shared { - int addr; + u8 base_addr; + struct device_node *np; refcount_t refcnt; long unsigned int flags; size_t priv_size; @@ -37788,6 +40530,11 @@ struct phy_plca_status { bool pst; }; +struct phy_req_info { + struct ethnl_req_info base; + struct phy_device_node *pdn; +}; + struct phy_tdr_config { u32 first; u32 last; @@ -37795,10 +40542,6 @@ struct phy_tdr_config { s8 pair; }; -struct physid_mask { - long unsigned int mask[512]; -}; - struct upid { int nr; struct pid_namespace *ns; @@ -37808,6 +40551,9 @@ struct pid { refcount_t count; unsigned int level; spinlock_t lock; + struct dentry *stashed; + u64 ino; + struct rb_node pidfs_node; struct hlist_head tasks[4]; struct hlist_head inodes; wait_queue_head_t wait_pidfd; @@ -37822,14 +40568,31 @@ struct pid_namespace { struct task_struct *child_reaper; struct kmem_cache *pid_cachep; unsigned int level; + int pid_max; struct pid_namespace *parent; struct user_namespace *user_ns; struct ucounts *ucounts; int reboot; struct ns_common ns; + struct work_struct work; }; -struct pin_cookie {}; +struct pidfd_info { + __u64 mask; + __u64 cgroupid; + __u32 pid; + __u32 tgid; + __u32 ppid; + __u32 ruid; + __u32 rgid; + __u32 euid; + __u32 egid; + __u32 suid; + __u32 sgid; + __u32 fsuid; + __u32 fsgid; + __u32 spare0[1]; +}; struct ping_table { struct hlist_head hash[64]; @@ -37870,12 +40633,25 @@ struct pipe_buffer { long unsigned int private; }; +union pipe_index { + long unsigned int head_tail; + struct { + pipe_index_t head; + pipe_index_t tail; + }; +}; + struct pipe_inode_info { struct mutex mutex; wait_queue_head_t rd_wait; wait_queue_head_t wr_wait; - unsigned int head; - unsigned int tail; + union { + long unsigned int head_tail; + struct { + pipe_index_t head; + pipe_index_t tail; + }; + }; unsigned int max_usage; unsigned int ring_size; unsigned int nr_accounted; @@ -37892,6 +40668,11 @@ struct pipe_inode_info { struct user_struct *user; }; +struct pipe_wait { + struct trace_iterator *iter; + int wait_index; +}; + struct pkru_state { u32 pkru; u32 pad; @@ -37939,8 +40720,7 @@ struct platform_device_info { struct platform_driver { int (*probe)(struct platform_device *); - int (*remove)(struct platform_device *); - void (*remove_new)(struct platform_device *); + void (*remove)(struct platform_device *); void (*shutdown)(struct platform_device *); int (*suspend)(struct platform_device *, pm_message_t); int (*resume)(struct platform_device *); @@ -37989,10 +40769,23 @@ struct pollfd { struct poll_list { struct poll_list *next; - int len; + unsigned int len; struct pollfd entries[0]; }; +struct wait_queue_entry; + +typedef int (*wait_queue_func_t)(struct wait_queue_entry *, unsigned int, int, void *); + +struct wait_queue_entry { + unsigned int flags; + void *private; + wait_queue_func_t func; + struct list_head entry; +}; + +typedef struct wait_queue_entry wait_queue_entry_t; + struct poll_table_entry { struct file *filp; __poll_t key; @@ -38034,9 +40827,10 @@ struct pool_workqueue { int flush_color; int refcnt; int nr_in_flight[16]; + bool plugged; int nr_active; - int max_active; struct list_head inactive_works; + struct list_head pending_node; struct list_head pwqs_node; struct list_head mayday_node; u64 stats[8]; @@ -38070,8 +40864,6 @@ struct pool_workqueue { long: 64; long: 64; long: 64; - long: 64; - long: 64; }; struct port_identity { @@ -38090,8 +40882,8 @@ struct posix_acl_entry { struct posix_acl { refcount_t a_refcount; - struct callback_head a_rcu; unsigned int a_count; + struct callback_head a_rcu; struct posix_acl_entry a_entries[0]; }; @@ -38158,9 +40950,16 @@ struct prefix_info { __u8 type; __u8 length; __u8 prefix_len; - __u8 reserved: 6; - __u8 autoconf: 1; - __u8 onlink: 1; + union { + __u8 flags; + struct { + __u8 reserved: 4; + __u8 preferpd: 1; + __u8 routeraddr: 1; + __u8 autoconf: 1; + __u8 onlink: 1; + }; + }; __be32 valid; __be32 prefered; __be32 reserved2; @@ -38196,11 +40995,10 @@ struct print_entry { }; struct printf_spec { - unsigned int type: 8; - int field_width: 24; - unsigned int flags: 8; - unsigned int base: 8; - int precision: 16; + unsigned char flags; + unsigned char base; + short int precision; + int field_width; }; struct printk_buffers { @@ -38208,30 +41006,6 @@ struct printk_buffers { char scratchbuf[0]; }; -struct printk_info { - u64 seq; - u64 ts_nsec; - u16 text_len; - u8 facility; - u8 flags: 5; - u8 level: 3; - u32 caller_id; - struct dev_printk_info dev_info; -}; - -struct printk_message { - struct printk_buffers *pbufs; - unsigned int outbuf_len; - u64 seq; - long unsigned int dropped; -}; - -struct printk_record { - struct printk_info *info; - char *text_buf; - unsigned int text_buf_size; -}; - struct privflags_reply_data { struct ethnl_reply_data base; const char (*priv_flag_names)[32]; @@ -38262,6 +41036,11 @@ struct probe_arg { const struct fetch_type *type; }; +struct probe_entry_arg { + struct fetch_insn *code; + unsigned int size; +}; + struct proc_ns_operations { const char *name; const char *real_ns_name; @@ -38346,6 +41125,8 @@ struct property_entry { struct smc_hashinfo; +struct proto_accept_arg; + struct sk_psock; struct timewait_sock_ops; @@ -38357,7 +41138,7 @@ struct proto { int (*pre_connect)(struct sock *, struct sockaddr *, int); int (*connect)(struct sock *, struct sockaddr *, int); int (*disconnect)(struct sock *, int); - struct sock * (*accept)(struct sock *, int, int *, bool); + struct sock * (*accept)(struct sock *, struct proto_accept_arg *); int (*ioctl)(struct sock *, int, int *); int (*init)(struct sock *); void (*destroy)(struct sock *); @@ -38415,6 +41196,13 @@ struct proto { int (*diag_destroy)(struct sock *, int); }; +struct proto_accept_arg { + int flags; + int err; + int is_empty; + bool kern; +}; + typedef int (*sk_read_actor_t)(read_descriptor_t *, struct sk_buff *, unsigned int, size_t); typedef int (*skb_read_actor_t)(struct sock *, struct sk_buff *); @@ -38426,7 +41214,7 @@ struct proto_ops { int (*bind)(struct socket *, struct sockaddr *, int); int (*connect)(struct socket *, struct sockaddr *, int, int); int (*socketpair)(struct socket *, struct socket *); - int (*accept)(struct socket *, struct socket *, int, bool); + int (*accept)(struct socket *, struct socket *, struct proto_accept_arg *); int (*getname)(struct socket *, struct sockaddr *, int); __poll_t (*poll)(struct file *, struct socket *, struct poll_table_struct *); int (*ioctl)(struct socket *, unsigned int, long unsigned int); @@ -38465,17 +41253,13 @@ struct psched_ratecfg { }; struct pse_control_config { - enum ethtool_podl_pse_admin_state admin_cotrol; -}; - -struct pse_control_status { - enum ethtool_podl_pse_admin_state podl_admin_state; - enum ethtool_podl_pse_pw_d_status podl_pw_status; + enum ethtool_podl_pse_admin_state podl_admin_control; + enum ethtool_c33_pse_admin_state c33_admin_control; }; struct pse_reply_data { struct ethnl_reply_data base; - struct pse_control_status status; + struct ethtool_pse_control_status status; }; struct super_operations; @@ -38484,7 +41268,8 @@ struct xattr_handler; struct pseudo_fs_context { const struct super_operations *ops; - const struct xattr_handler **xattr; + const struct export_operations *eops; + const struct xattr_handler * const *xattr; const struct dentry_operations *dops; long unsigned int magic; }; @@ -38505,6 +41290,8 @@ struct pt { struct pt_filters filters; int handle_nmi; int vmx_on; + int pause_allowed; + int resume_allowed; u64 output_base; u64 output_mask; }; @@ -38531,6 +41318,7 @@ struct pt_buffer { local64_t head; bool snapshot; bool single; + bool wrapped; long int stop_pos; long int intr_pos; struct topa_entry *stop_te; @@ -38572,6 +41360,7 @@ struct ptdesc { }; long unsigned int __page_mapping; union { + long unsigned int pt_index; struct mm_struct *pt_mm; atomic_t pt_frag_refcount; }; @@ -38580,7 +41369,7 @@ struct ptdesc { spinlock_t ptl; }; unsigned int __page_type; - atomic_t _refcount; + atomic_t __page_refcount; }; struct ptp_header { @@ -38634,14 +41423,6 @@ struct ptrace_syscall_info { }; }; -struct pvclock_vsyscall_time_info { - struct pvclock_vcpu_time_info pvti; - long: 64; - long: 64; - long: 64; - long: 64; -}; - struct qc_dqblk { int d_fieldmask; u64 d_spc_hardlimit; @@ -38717,7 +41498,8 @@ struct qdisc_walker { }; struct queue_limits { - enum blk_bounce bounce; + blk_features_t features; + blk_flags_t flags; long unsigned int seg_boundary_mask; long unsigned int virt_boundary_mask; unsigned int max_hw_sectors; @@ -38726,6 +41508,7 @@ struct queue_limits { unsigned int max_sectors; unsigned int max_user_sectors; unsigned int max_segment_size; + unsigned int min_segment_size; unsigned int physical_block_size; unsigned int logical_block_size; unsigned int alignment_offset; @@ -38733,20 +41516,30 @@ struct queue_limits { unsigned int io_opt; unsigned int max_discard_sectors; unsigned int max_hw_discard_sectors; + unsigned int max_user_discard_sectors; unsigned int max_secure_erase_sectors; unsigned int max_write_zeroes_sectors; + unsigned int max_hw_zone_append_sectors; unsigned int max_zone_append_sectors; unsigned int discard_granularity; unsigned int discard_alignment; unsigned int zone_write_granularity; + unsigned int atomic_write_hw_max; + unsigned int atomic_write_max_sectors; + unsigned int atomic_write_hw_boundary; + unsigned int atomic_write_boundary_sectors; + unsigned int atomic_write_hw_unit_min; + unsigned int atomic_write_unit_min; + unsigned int atomic_write_hw_unit_max; + unsigned int atomic_write_unit_max; short unsigned int max_segments; short unsigned int max_integrity_segments; short unsigned int max_discard_segments; - unsigned char misaligned; - unsigned char discard_misaligned; - unsigned char raid_partial_stripes_expensive; - enum blk_zoned_model zoned; + unsigned int max_open_zones; + unsigned int max_active_zones; unsigned int dma_alignment; + unsigned int dma_pad_mask; + struct blk_integrity integrity; }; struct quota_format_ops { @@ -38818,6 +41611,14 @@ struct ramfs_fs_info { struct ramfs_mount_opts mount_opts; }; +struct range_node { + struct rb_node rn_rbnode; + struct rb_node rb_range_size; + u32 rn_start; + u32 rn_last; + u32 __rn_subtree_last; +}; + struct rate_sample { u64 prior_mstamp; u32 prior_delivered; @@ -38843,8 +41644,8 @@ struct ratelimit_state { int burst; int printed; int missed; + unsigned int flags; long unsigned int begin; - long unsigned int flags; }; struct raw6_frag_vec { @@ -38908,18 +41709,29 @@ struct rb_irq_work { struct irq_work work; wait_queue_head_t waiters; wait_queue_head_t full_waiters; - long int wait_index; + atomic_t seq; bool waiters_pending; bool full_waiters_pending; bool wakeup_full; }; +struct rb_list { + struct rb_root root; + struct list_head head; + spinlock_t lock; +}; + struct rb_time_struct { local64_t time; }; typedef struct rb_time_struct rb_time_t; +struct rb_wait_data { + struct rb_irq_work *irq_work; + int seq; +}; + struct rcu_cblist { struct callback_head *head; struct callback_head **tail; @@ -38933,10 +41745,6 @@ struct rcu_ctrlblk { long unsigned int gp_seq; }; -struct rcu_gp_oldstate { - long unsigned int rgos_norm; -}; - struct rcu_segcblist { struct callback_head *head; struct callback_head **tails[4]; @@ -39002,7 +41810,9 @@ struct rcu_tasks { holdouts_func_t holdouts_func; postgp_func_t postgp_func; call_rcu_func_t call_func; + unsigned int wait_state; struct rcu_tasks_percpu *rtpcpu; + struct rcu_tasks_percpu **rtpcp_array; int percpu_enqueue_shift; int percpu_enqueue_lim; int percpu_dequeue_lim; @@ -39011,6 +41821,7 @@ struct rcu_tasks { atomic_t barrier_q_count; struct completion barrier_q_completion; long unsigned int barrier_q_seq; + long unsigned int barrier_q_start; char *name; char *kname; }; @@ -39026,7 +41837,9 @@ struct rcu_tasks_percpu { struct irq_work rtp_irq_work; struct callback_head barrier_q_head; struct list_head rtp_blkd_tasks; + struct list_head rtp_exit_list; int cpu; + int index; struct rcu_tasks *rtpp; }; @@ -39044,6 +41857,7 @@ struct readahead_control { long unsigned int _index; unsigned int _nr_pages; unsigned int _batch_count; + bool dropbehind; bool _workingset; long unsigned int _pflags; }; @@ -39083,6 +41897,7 @@ struct reclaim_stat { unsigned int nr_ref_keep; unsigned int nr_unmap_fail; unsigned int nr_lazyfree_fail; + unsigned int nr_demoted; }; struct reclaim_state { @@ -39139,14 +41954,14 @@ struct renamedata { struct elevator_queue; -struct blk_queue_stats; - -struct rq_qos; - struct blk_mq_ops; struct blk_mq_ctx; +struct blk_queue_stats; + +struct rq_qos; + struct blk_mq_tags; struct blk_flush_queue; @@ -39154,57 +41969,58 @@ struct blk_flush_queue; struct blk_mq_tag_set; struct request_queue { - struct request *last_merge; + void *queuedata; struct elevator_queue *elevator; - struct percpu_ref q_usage_counter; - struct blk_queue_stats *stats; - struct rq_qos *rq_qos; - struct mutex rq_qos_mutex; const struct blk_mq_ops *mq_ops; struct blk_mq_ctx *queue_ctx; + long unsigned int queue_flags; + unsigned int rq_timeout; unsigned int queue_depth; - struct xarray hctx_table; + refcount_t refs; unsigned int nr_hw_queues; - void *queuedata; - long unsigned int queue_flags; - atomic_t pm_only; - int id; + struct xarray hctx_table; + struct percpu_ref q_usage_counter; + struct lock_class_key io_lock_cls_key; + struct lockdep_map io_lockdep_map; + struct lock_class_key q_lock_cls_key; + struct lockdep_map q_lockdep_map; + struct request *last_merge; spinlock_t queue_lock; + int quiesce_depth; struct gendisk *disk; - refcount_t refs; struct kobject *mq_kobj; + struct queue_limits limits; + atomic_t pm_only; + struct blk_queue_stats *stats; + struct rq_qos *rq_qos; + struct mutex rq_qos_mutex; + int id; long unsigned int nr_requests; - unsigned int dma_pad_mask; - unsigned int rq_timeout; struct timer_list timeout; struct work_struct timeout_work; atomic_t nr_active_requests_shared_tags; struct blk_mq_tags *sched_shared_tags; struct list_head icq_list; - struct queue_limits limits; - unsigned int required_elevator_features; int node; - struct blk_flush_queue *fq; - struct list_head flush_list; - struct list_head requeue_list; spinlock_t requeue_lock; + struct list_head requeue_list; struct delayed_work requeue_work; + struct blk_flush_queue *fq; + struct list_head flush_list; struct mutex sysfs_lock; - struct mutex sysfs_dir_lock; + struct mutex limits_lock; struct list_head unused_hctx_list; spinlock_t unused_hctx_lock; int mq_freeze_depth; struct callback_head callback_head; wait_queue_head_t mq_freeze_wq; struct mutex mq_freeze_lock; - int quiesce_depth; struct blk_mq_tag_set *tag_set; struct list_head tag_set_list; struct dentry *debugfs_dir; struct dentry *sched_debugfs_dir; struct dentry *rqos_debugfs_dir; struct mutex debugfs_mutex; - bool mq_sysfs_init_done; }; struct request_sock__safe_rcu_or_null { @@ -39218,16 +42034,24 @@ struct request_sock_ops { char *slab_name; int (*rtx_syn_ack)(const struct sock *, struct request_sock *); void (*send_ack)(const struct sock *, struct sk_buff *, struct request_sock *); - void (*send_reset)(const struct sock *, struct sk_buff *); + void (*send_reset)(const struct sock *, struct sk_buff *, enum sk_rst_reason); void (*destructor)(struct request_sock *); void (*syn_ack_timeout)(const struct request_sock *); }; +struct reserve_mem_table { + char name[16]; + phys_addr_t start; + phys_addr_t size; +}; + +typedef resource_size_t (*resource_alignf)(void *, const struct resource *, resource_size_t, resource_size_t); + struct resource_constraint { resource_size_t min; resource_size_t max; resource_size_t align; - resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t); + resource_alignf alignf; void *alignf_data; }; @@ -39269,23 +42093,33 @@ struct restart_block { }; }; -typedef void (*rethook_handler_t)(struct rethook_node *, void *, long unsigned int, struct pt_regs *); - struct rethook { void *data; - rethook_handler_t handler; - struct freelist_head pool; - refcount_t ref; + void (*handler)(struct rethook_node *, void *, long unsigned int, struct pt_regs *); + struct objpool_head pool; struct callback_head rcu; }; +struct return_consumer { + __u64 cookie; + __u64 id; +}; + struct return_instance { - struct uprobe *uprobe; + struct hprobe hprobe; long unsigned int func; long unsigned int stack; long unsigned int orig_ret_vaddr; bool chained; + int cons_cnt; struct return_instance *next; + struct callback_head rcu; + struct return_consumer consumer; + struct return_consumer *extra_consumers; + long: 64; + long: 64; + long: 64; + long: 64; }; struct reuseport_array { @@ -39338,10 +42172,24 @@ struct ring_buffer_iter { u64 read_stamp; u64 page_stamp; struct ring_buffer_event *event; + size_t event_size; int missed_events; }; -struct trace_buffer; +struct ring_buffer_meta { + int magic; + int struct_size; + long unsigned int text_addr; + long unsigned int data_addr; + long unsigned int first_buffer; + long unsigned int head_buffer; + long unsigned int commit_buffer; + __u32 subbuf_size; + __u32 nr_subbufs; + int buffers[0]; +}; + +struct trace_buffer_meta; struct ring_buffer_per_cpu { int cpu; @@ -39355,6 +42203,7 @@ struct ring_buffer_per_cpu { long unsigned int nr_pages; unsigned int current_context; struct list_head *pages; + long unsigned int cnt; struct buffer_page *head_page; struct buffer_page *tail_page; struct buffer_page *commit_page; @@ -39381,6 +42230,12 @@ struct ring_buffer_per_cpu { u64 event_stamp[5]; u64 read_stamp; long unsigned int pages_removed; + unsigned int mapped; + unsigned int user_mapped; + struct mutex mapping_lock; + long unsigned int *subbuf_ids; + struct trace_buffer_meta *meta_page; + struct ring_buffer_meta *ring_meta; long int nr_pages_to_update; struct list_head new_pages; struct work_struct update_pages_work; @@ -39406,7 +42261,7 @@ struct rmap_walk_control { bool contended; bool (*rmap_one)(struct folio *, struct vm_area_struct *, long unsigned int, void *); int (*done)(struct folio *); - struct anon_vma * (*anon_lock)(struct folio *, struct rmap_walk_control *); + struct anon_vma * (*anon_lock)(const struct folio *, struct rmap_walk_control *); bool (*invalid_vma)(struct vm_area_struct *, void *); }; @@ -39432,10 +42287,38 @@ struct rt_rq { unsigned int rt_nr_running; unsigned int rr_nr_running; int rt_queued; - int rt_throttled; - u64 rt_time; - u64 rt_runtime; - raw_spinlock_t rt_runtime_lock; +}; + +struct sched_dl_entity; + +typedef bool (*dl_server_has_tasks_f)(struct sched_dl_entity *); + +typedef struct task_struct * (*dl_server_pick_f)(struct sched_dl_entity *); + +struct sched_dl_entity { + struct rb_node rb_node; + u64 dl_runtime; + u64 dl_deadline; + u64 dl_period; + u64 dl_bw; + u64 dl_density; + s64 runtime; + u64 deadline; + unsigned int flags; + unsigned int dl_throttled: 1; + unsigned int dl_yielded: 1; + unsigned int dl_non_contending: 1; + unsigned int dl_overrun: 1; + unsigned int dl_server: 1; + unsigned int dl_server_active: 1; + unsigned int dl_defer: 1; + unsigned int dl_defer_armed: 1; + unsigned int dl_defer_running: 1; + struct hrtimer dl_timer; + struct hrtimer inactive_timer; + struct rq *rq; + dl_server_has_tasks_f server_has_tasks; + dl_server_pick_f server_pick_task; }; struct rq { @@ -39445,8 +42328,13 @@ struct rq { struct cfs_rq cfs; struct rt_rq rt; struct dl_rq dl; + struct sched_dl_entity fair_server; unsigned int nr_uninterruptible; - struct task_struct *curr; + union { + struct task_struct *donor; + struct task_struct *curr; + }; + struct sched_dl_entity *dl_server; struct task_struct *idle; struct task_struct *stop; long unsigned int next_balance; @@ -39455,6 +42343,10 @@ struct rq { u64 clock; long: 64; long: 64; + long: 64; + long: 64; + long: 64; + long: 64; u64 clock_task; u64 clock_pelt; long unsigned int lost_idle_time; @@ -39468,21 +42360,25 @@ struct rq { cpumask_var_t scratch_mask; }; -struct rq_flags { - long unsigned int flags; - struct pin_cookie cookie; -}; - struct rs_msg { struct icmp6hdr icmph; __u8 opt[0]; }; +struct rss_nl_dump_ctx { + long unsigned int ifindex; + long unsigned int ctx_idx; + unsigned int match_ifindex; + unsigned int start_ctx; +}; + struct rss_reply_data { struct ethnl_reply_data base; + bool no_key_fields; u32 indir_size; u32 hkey_size; u32 hfunc; + u32 input_xfrm; u32 *indir_table; u8 *hkey; }; @@ -39550,14 +42446,6 @@ struct rt6_statistics { atomic_t fib_rt_alloc; }; -struct rt_bandwidth { - raw_spinlock_t rt_runtime_lock; - ktime_t rt_period; - u64 rt_runtime; - struct hrtimer rt_period_timer; - unsigned int rt_period_active; -}; - struct rt_cache_stat { unsigned int in_slow_tot; unsigned int in_slow_mc; @@ -39731,6 +42619,7 @@ struct rtnexthop { struct rtnl_af_ops { struct list_head list; + struct srcu_struct srcu; int family; int (*fill_link_af)(struct sk_buff *, const struct net_device *, u32); size_t (*get_link_af_size)(const struct net_device *, u32); @@ -39763,11 +42652,13 @@ struct rtnl_link_ifmap { struct rtnl_link_ops { struct list_head list; + struct srcu_struct srcu; const char *kind; size_t priv_size; struct net_device * (*alloc)(struct nlattr **, const char *, unsigned char, unsigned int, unsigned int); void (*setup)(struct net_device *); bool netns_refund; + const u16 peer_type; unsigned int maxtype; const struct nla_policy *policy; int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *); @@ -39778,8 +42669,8 @@ struct rtnl_link_ops { int (*fill_info)(struct sk_buff *, const struct net_device *); size_t (*get_xstats_size)(const struct net_device *); int (*fill_xstats)(struct sk_buff *, const struct net_device *); - unsigned int (*get_num_tx_queues)(); - unsigned int (*get_num_rx_queues)(); + unsigned int (*get_num_tx_queues)(void); + unsigned int (*get_num_rx_queues)(void); unsigned int slave_maxtype; const struct nla_policy *slave_policy; int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *); @@ -39849,6 +42740,15 @@ struct rtnl_mdb_dump_ctx { long int idx; }; +struct rtnl_msg_handler { + struct module *owner; + int protocol; + int msgtype; + rtnl_doit_func doit; + rtnl_dumpit_func dumpit; + int flags; +}; + struct rtnl_net_dump_cb { struct net *tgt_net; struct net *ref_net; @@ -39858,8 +42758,14 @@ struct rtnl_net_dump_cb { int s_idx; }; +struct rtnl_nets { + struct net *net[3]; + unsigned char len; +}; + struct rtnl_newlink_tbs { - struct nlattr *tb[65]; + struct nlattr *tb[67]; + struct nlattr *linkinfo[6]; struct nlattr *attr[51]; struct nlattr *slave_attr[45]; }; @@ -39897,6 +42803,8 @@ struct rusage { __kernel_long_t ru_nivcsw; }; +typedef struct rw_semaphore *class_rwsem_read_t; + struct rwsem_waiter { struct list_head list; struct task_struct *task; @@ -39906,11 +42814,11 @@ struct rwsem_waiter { }; struct saved_cmdlines_buffer { - unsigned int map_pid_to_cmdline[4097]; + unsigned int map_pid_to_cmdline[32769]; unsigned int *map_cmdline_to_pid; unsigned int cmdline_num; int cmdline_idx; - char *saved_cmdlines; + char saved_cmdlines[0]; }; struct saved_syn { @@ -39922,7 +42830,8 @@ struct saved_syn { struct sb_writers { short unsigned int frozen; - short unsigned int freeze_holders; + int freeze_kcount; + int freeze_ucount; struct percpu_rw_semaphore rw_sem[3]; }; @@ -39938,9 +42847,12 @@ struct scan_control { unsigned int may_writepage: 1; unsigned int may_unmap: 1; unsigned int may_swap: 1; + unsigned int no_cache_trim_mode: 1; + unsigned int cache_trim_mode_failed: 1; unsigned int proactive: 1; unsigned int memcg_low_reclaim: 1; unsigned int memcg_low_skipped: 1; + unsigned int memcg_full_walk: 1; unsigned int hibernation_mode: 1; unsigned int compaction_ready: 1; unsigned int cache_trim_mode: 1; @@ -39990,18 +42902,22 @@ struct sched_attr { struct sched_class { void (*enqueue_task)(struct rq *, struct task_struct *, int); - void (*dequeue_task)(struct rq *, struct task_struct *, int); + bool (*dequeue_task)(struct rq *, struct task_struct *, int); void (*yield_task)(struct rq *); bool (*yield_to_task)(struct rq *, struct task_struct *); - void (*check_preempt_curr)(struct rq *, struct task_struct *, int); - struct task_struct * (*pick_next_task)(struct rq *); - void (*put_prev_task)(struct rq *, struct task_struct *); + void (*wakeup_preempt)(struct rq *, struct task_struct *, int); + int (*balance)(struct rq *, struct task_struct *, struct rq_flags *); + struct task_struct * (*pick_task)(struct rq *); + struct task_struct * (*pick_next_task)(struct rq *, struct task_struct *); + void (*put_prev_task)(struct rq *, struct task_struct *, struct task_struct *); void (*set_next_task)(struct rq *, struct task_struct *, bool); void (*task_tick)(struct rq *, struct task_struct *, int); void (*task_fork)(struct task_struct *); void (*task_dead)(struct task_struct *); + void (*switching_to)(struct rq *, struct task_struct *); void (*switched_from)(struct rq *, struct task_struct *); void (*switched_to)(struct rq *, struct task_struct *); + void (*reweight_task)(struct rq *, struct task_struct *, const struct load_weight *); void (*prio_changed)(struct rq *, struct task_struct *, int); unsigned int (*get_rr_interval)(struct rq *, struct task_struct *); void (*update_curr)(struct rq *); @@ -40013,31 +42929,17 @@ struct sched_clock_data { u64 clock; }; -struct sched_dl_entity { - struct rb_node rb_node; - u64 dl_runtime; - u64 dl_deadline; - u64 dl_period; - u64 dl_bw; - u64 dl_density; - s64 runtime; - u64 deadline; - unsigned int flags; - unsigned int dl_throttled: 1; - unsigned int dl_yielded: 1; - unsigned int dl_non_contending: 1; - unsigned int dl_overrun: 1; - struct hrtimer dl_timer; - struct hrtimer inactive_timer; -}; - struct sched_entity { struct load_weight load; struct rb_node run_node; u64 deadline; - u64 min_deadline; + u64 min_vruntime; + u64 min_slice; struct list_head group_node; - unsigned int on_rq; + unsigned char on_rq; + unsigned char sched_delayed; + unsigned char rel_deadline; + unsigned char custom_slice; u64 exec_start; u64 sum_exec_runtime; u64 prev_sum_exec_runtime; @@ -40075,11 +42977,17 @@ struct scm_cookie { struct scm_fp_list { short int count; + short int count_unix; short int max; struct user_struct *user; struct file *fp[253]; }; +struct scm_stat { + atomic_t nr_fds; + long unsigned int nr_unix_fds; +}; + struct scm_timestamping { struct __kernel_old_timespec ts[3]; }; @@ -40105,6 +43013,7 @@ struct xfrm_offload { } seq; __u32 flags; __u32 status; + __u32 orig_mac_len; __u8 proto; __u8 inner_ipproto; }; @@ -40159,21 +43068,8 @@ struct send_signal_irq_work { struct task_struct *task; u32 sig; enum pid_type type; -}; - -struct seq_file { - char *buf; - size_t size; - size_t from; - size_t count; - size_t pad_until; - loff_t index; - loff_t read_pos; - struct mutex lock; - const struct seq_operations *op; - int poll_event; - const struct file *file; - void *private; + bool has_siginfo; + struct kernel_siginfo info; }; struct seq_operations { @@ -40183,6 +43079,20 @@ struct seq_operations { int (*show)(struct seq_file *, void *); }; +struct seqcount_rwlock { + seqcount_t seqcount; +}; + +typedef struct seqcount_rwlock seqcount_rwlock_t; + +struct set_event_iter { + enum set_event_iter_type type; + union { + struct trace_event_file *file; + struct event_mod_load *event_mod; + }; +}; + struct setup_data { __u64 next; __u32 type; @@ -40197,6 +43107,19 @@ struct setup_indirect { __u64 addr; }; +struct sev_config { + __u64 debug: 1; + __u64 ghcbs_initialized: 1; + __u64 use_cas: 1; + __u64 __reserved: 61; +}; + +struct sg_table { + struct scatterlist *sgl; + unsigned int nents; + unsigned int orig_nents; +}; + struct sg_append_table { struct sg_table sgt; struct scatterlist *prv; @@ -40225,6 +43148,12 @@ struct sg_mapping_iter { unsigned int __flags; }; +struct sha256_state { + u32 state[8]; + u64 count; + u8 buf[64]; +}; + struct shrink_control { gfp_t gfp_mask; int nid; @@ -40239,6 +43168,10 @@ struct shrinker { long int batch; int seeks; unsigned int flags; + refcount_t refcount; + struct completion done; + struct callback_head rcu; + void *private_data; struct list_head list; atomic_long_t *nr_deferred; }; @@ -40412,6 +43345,7 @@ struct sk_psock { struct mutex work_mutex; struct sk_psock_work_state work_state; struct delayed_work work; + struct sock *sk_pair; struct rcu_work rwork; }; @@ -40438,6 +43372,14 @@ struct skb_checksum_ops { __wsum (*combine)(__wsum, __wsum, int, int); }; +struct skb_frag { + netmem_ref netmem; + unsigned int len; + unsigned int offset; +}; + +typedef struct skb_frag skb_frag_t; + struct skb_free_array { unsigned int skb_count; void *skb_array[16]; @@ -40471,6 +43413,10 @@ struct skb_shared_hwtstamps { }; }; +struct xsk_tx_metadata_compl { + __u64 *tx_timestamp; +}; + struct skb_shared_info { __u8 flags; __u8 meta_len; @@ -40479,17 +43425,25 @@ struct skb_shared_info { short unsigned int gso_size; short unsigned int gso_segs; struct sk_buff *frag_list; - struct skb_shared_hwtstamps hwtstamps; + union { + struct skb_shared_hwtstamps hwtstamps; + struct xsk_tx_metadata_compl xsk_meta; + }; unsigned int gso_type; u32 tskey; atomic_t dataref; - unsigned int xdp_frags_size; - void *destructor_arg; + union { + struct { + u32 xdp_frags_size; + u32 xdp_frags_truesize; + }; + void *destructor_arg; + }; skb_frag_t frags[17]; }; struct sku_microcode { - u8 model; + u32 vfm; u8 stepping; u32 microcode; }; @@ -40519,7 +43473,7 @@ struct slab { }; struct callback_head callback_head; }; - unsigned int __unused; + unsigned int __page_type; atomic_t __page_refcount; long: 64; }; @@ -40549,13 +43503,24 @@ struct so_timestamping { int bind_phc; }; +struct sock_bh_locked { + struct sock *sock; + local_lock_t bh_lock; +}; + struct sock_diag_handler { + struct module *owner; __u8 family; int (*dump)(struct sk_buff *, struct nlmsghdr *); int (*get_info)(struct sk_buff *, struct sock *); int (*destroy)(struct sk_buff *, struct nlmsghdr *); }; +struct sock_diag_inet_compat { + struct module *owner; + int (*fn)(struct sk_buff *, struct nlmsghdr *); +}; + struct sock_diag_req { __u8 sdiag_family; __u8 sdiag_protocol; @@ -40651,6 +43616,11 @@ struct sockaddr_nl { __u32 nl_groups; }; +struct sockaddr_un { + __kernel_sa_family_t sun_family; + char sun_path[108]; +}; + struct socket_wq { wait_queue_head_t wait; struct fasync_struct *fasync_list; @@ -40668,7 +43638,7 @@ struct socket { struct socket_wq wq; }; -struct socket__safe_trusted { +struct socket__safe_trusted_or_null { struct sock *sk; }; @@ -40677,35 +43647,37 @@ struct socket_alloc { struct inode vfs_inode; }; +struct sockmap_link { + struct bpf_link link; + struct bpf_map *map; + enum bpf_attach_type attach_type; +}; + struct softirq_action { - void (*action)(struct softirq_action *); + void (*action)(void); }; struct softnet_data { struct list_head poll_list; struct sk_buff_head process_queue; + local_lock_t process_queue_bh_lock; unsigned int processed; unsigned int time_squeeze; + unsigned int received_rps; bool in_net_rx_action; bool in_napi_threaded_poll; struct Qdisc *output_queue; struct Qdisc **output_queue_tailp; struct sk_buff *completion_queue; - struct { - u16 recursion; - u8 more; - u8 skip_txqueue; - } xmit; - unsigned int received_rps; - unsigned int dropped; + struct netdev_xmit xmit; struct sk_buff_head input_pkt_queue; struct napi_struct backlog; + atomic_t dropped; spinlock_t defer_lock; int defer_count; int defer_ipi_scheduled; struct sk_buff *defer_list; long: 64; - long: 64; call_single_data_t defer_csd; }; @@ -40808,6 +43780,11 @@ struct stacktrace_cookie { unsigned int len; }; +struct stashed_operations { + void (*put_data)(void *); + int (*init_inode)(struct inode *, void *); +}; + struct stat { __kernel_ulong_t st_dev; __kernel_ulong_t st_ino; @@ -40925,12 +43902,14 @@ struct stats_reply_data { struct ethtool_eth_mac_stats mac_stats; struct ethtool_eth_ctrl_stats ctrl_stats; struct ethtool_rmon_stats rmon_stats; + struct ethtool_phy_stats phydev_stats; }; struct { struct ethtool_eth_phy_stats phy_stats; struct ethtool_eth_mac_stats mac_stats; struct ethtool_eth_ctrl_stats ctrl_stats; struct ethtool_rmon_stats rmon_stats; + struct ethtool_phy_stats phydev_stats; } stats; }; const struct ethtool_rmon_hist_range *rmon_ranges; @@ -40972,7 +43951,12 @@ struct statx { __u64 stx_mnt_id; __u32 stx_dio_mem_align; __u32 stx_dio_offset_align; - __u64 __spare3[12]; + __u64 stx_subvol; + __u32 stx_atomic_write_unit_min; + __u32 stx_atomic_write_unit_max; + __u32 stx_atomic_write_segments_max; + __u32 stx_dio_read_offset_align; + __u64 __spare3[9]; }; struct stop_event_data { @@ -40994,7 +43978,7 @@ struct strset_info { struct strset_reply_data { struct ethnl_reply_data base; - struct strset_info sets[21]; + struct strset_info sets[23]; }; struct strset_req_info { @@ -41023,7 +44007,7 @@ struct subsys_dev_iter { struct subsys_interface { const char *name; - struct bus_type *subsys; + const struct bus_type *subsys; struct list_head node; int (*add_dev)(struct device *, struct subsys_interface *); void (*remove_dev)(struct device *, struct subsys_interface *); @@ -41066,10 +44050,11 @@ struct super_block { struct rw_semaphore s_umount; int s_count; atomic_t s_active; - const struct xattr_handler **s_xattr; + const struct xattr_handler * const *s_xattr; struct hlist_bl_head s_roots; struct list_head s_mounts; struct block_device *s_bdev; + struct file *s_bdev_file; struct backing_dev_info *s_bdi; struct mtd_info *s_mtd; struct hlist_node s_instances; @@ -41082,13 +44067,14 @@ struct super_block { time64_t s_time_max; char s_id[32]; uuid_t s_uuid; + u8 s_uuid_len; + char s_sysfs_name[37]; unsigned int s_max_links; struct mutex s_vfs_rename_mutex; const char *s_subtype; const struct dentry_operations *s_d_op; - struct shrinker s_shrink; + struct shrinker *s_shrink; atomic_long_t s_remove_count; - atomic_long_t s_fsnotify_connectors; int s_readonly_remount; errseq_t s_wb_err; struct workqueue_struct *s_dio_done_wq; @@ -41137,9 +44123,12 @@ struct swait_queue { struct list_head task_list; }; -struct swap_cluster_list { - struct swap_cluster_info head; - struct swap_cluster_info tail; +struct swap_cluster_info { + spinlock_t lock; + u16 count; + u8 flags; + u8 order; + struct list_head list; }; struct swap_info_struct { @@ -41150,25 +44139,27 @@ struct swap_info_struct { signed char type; unsigned int max; unsigned char *swap_map; + long unsigned int *zeromap; struct swap_cluster_info *cluster_info; - struct swap_cluster_list free_clusters; - unsigned int lowest_bit; - unsigned int highest_bit; + struct list_head free_clusters; + struct list_head full_clusters; + struct list_head nonfull_clusters[1]; + struct list_head frag_clusters[1]; + atomic_long_t frag_cluster_nr[1]; unsigned int pages; - unsigned int inuse_pages; - unsigned int cluster_next; - unsigned int cluster_nr; - unsigned int *cluster_next_cpu; + atomic_long_t inuse_pages; struct percpu_cluster *percpu_cluster; + struct percpu_cluster *global_cluster; + spinlock_t global_cluster_lock; struct rb_root swap_extent_root; struct block_device *bdev; struct file *swap_file; - unsigned int old_block_size; struct completion comp; spinlock_t lock; spinlock_t cont_lock; struct work_struct discard_work; - struct swap_cluster_list discard_clusters; + struct work_struct reclaim_work; + struct list_head discard_clusters; struct plist_node avail_lists[0]; }; @@ -41181,7 +44172,6 @@ struct swevent_htable { struct swevent_hlist *swevent_hlist; struct mutex hlist_mutex; int hlist_refcount; - int recursion[4]; }; struct swnode { @@ -41205,7 +44195,7 @@ struct sym_count_ctx { struct symsearch { const struct kernel_symbol *start; const struct kernel_symbol *stop; - const s32 *crcs; + const u32 *crcs; enum mod_license license; }; @@ -41213,6 +44203,7 @@ struct sys_off_data { int mode; void *cb_data; const char *cmd; + struct device *dev; }; struct sys_off_handler { @@ -41222,6 +44213,7 @@ struct sys_off_handler { enum sys_off_mode mode; bool blocking; void *list; + struct device *dev; }; struct syscall_info { @@ -41238,9 +44230,9 @@ struct syscall_user_dispatch { struct syscore_ops { struct list_head node; - int (*suspend)(); - void (*resume)(); - void (*shutdown)(); + int (*suspend)(void); + void (*resume)(void); + void (*shutdown)(void); }; struct sysfs_ops { @@ -41267,7 +44259,8 @@ struct sysinfo { struct system_counterval_t { u64 cycles; - struct clocksource *cs; + enum clocksource_ids cs_id; + bool use_nsecs; }; struct system_device_crosststamp { @@ -41279,6 +44272,7 @@ struct system_device_crosststamp { struct system_time_snapshot { u64 cycles; ktime_t real; + ktime_t boot; ktime_t raw; enum clocksource_ids cs_id; unsigned int clock_was_set_seq; @@ -41289,6 +44283,7 @@ struct taint_flag { char c_true; char c_false; bool module; + const char *desc; }; struct task_cputime { @@ -41303,6 +44298,10 @@ struct task_cputime_atomic { atomic64_t sum_exec_runtime; }; +typedef struct task_struct *class_find_get_task_t; + +typedef struct task_struct *class_task_lock_t; + struct thread_info { long unsigned int flags; long unsigned int syscall_work; @@ -41337,7 +44336,6 @@ struct thread_struct { struct io_bitmap *io_bitmap; long unsigned int iopl_emul; unsigned int iopl_warn: 1; - unsigned int sig_on_uaccess_err: 1; u32 pkru; long: 64; long: 64; @@ -41349,11 +44347,10 @@ struct thread_struct { struct uprobe_task; -struct vm_struct; - struct task_struct { struct thread_info thread_info; unsigned int __state; + unsigned int saved_state; void *stack; refcount_t usage; unsigned int flags; @@ -41366,13 +44363,18 @@ struct task_struct { struct sched_entity se; struct sched_rt_entity rt; struct sched_dl_entity dl; + struct sched_dl_entity *dl_server; const struct sched_class *sched_class; long: 64; long: 64; long: 64; long: 64; + long: 64; + long: 64; + long: 64; struct sched_statistics stats; unsigned int policy; + long unsigned int max_allowed_capacity; int nr_cpus_allowed; const cpumask_t *cpus_ptr; cpumask_t *user_cpus_ptr; @@ -41389,6 +44391,7 @@ struct task_struct { struct list_head tasks; struct mm_struct *mm; struct mm_struct *active_mm; + struct address_space *faults_disabled_mapping; int exit_state; int exit_code; int exit_signal; @@ -41398,12 +44401,12 @@ struct task_struct { unsigned int sched_reset_on_fork: 1; unsigned int sched_contributes_to_load: 1; unsigned int sched_migrated: 1; - long: 29; + unsigned int sched_task_hot: 1; + long: 28; unsigned int sched_remote_wakeup: 1; unsigned int in_execve: 1; unsigned int in_iowait: 1; unsigned int restore_sigmask: 1; - unsigned int reported_split_lock: 1; long unsigned int atomic_flags; struct restart_block restart_block; pid_t pid; @@ -41417,7 +44420,6 @@ struct task_struct { struct list_head ptrace_entry; struct pid *thread_pid; struct hlist_node pid_links[4]; - struct list_head thread_group; struct list_head thread_node; struct completion *vfork_done; int *set_child_tid; @@ -41467,6 +44469,7 @@ struct task_struct { long unsigned int ptrace_message; kernel_siginfo_t *last_siginfo; struct task_io_accounting ioac; + u8 perf_recursion[4]; struct perf_event_context *perf_event_ctxp; struct mutex perf_event_mutex; struct list_head perf_event_list; @@ -41480,8 +44483,9 @@ struct task_struct { u64 default_timer_slack_ns; int curr_ret_stack; int curr_ret_depth; - struct ftrace_ret_stack *ret_stack; + long unsigned int *ret_stack; long long unsigned int ftrace_timestamp; + long long unsigned int ftrace_sleeptime; atomic_t trace_overrun; atomic_t tracing_graph_pause; long unsigned int trace_recursion; @@ -41496,11 +44500,16 @@ struct task_struct { refcount_t stack_refcount; struct bpf_local_storage *bpf_storage; struct bpf_run_ctx *bpf_ctx; + struct bpf_net_context *bpf_net_context; struct llist_head kretprobe_instances; struct llist_head rethooks; struct callback_head l1d_flush_kill; long: 64; long: 64; + long: 64; + long: 64; + long: 64; + long: 64; struct thread_struct thread; }; @@ -41565,16 +44574,18 @@ struct tc_ratespec { struct tc_skb_cb { struct qdisc_skb_cb qdisc_cb; + u32 drop_reason; + u16 zone; u16 mru; u8 post_ct: 1; u8 post_ct_snat: 1; u8 post_ct_dnat: 1; - u16 zone; }; struct tcf_chain; struct tcf_block { + struct xarray ports; struct mutex lock; struct list_head chain_list; u32 index; @@ -41586,6 +44597,7 @@ struct tcf_block { struct flow_block flow_block; struct list_head owner_list; bool keep_dst; + atomic_t useswcnt; atomic_t offloadcnt; unsigned int nooffloaddevcnt; unsigned int lockeddevcnt; @@ -41633,6 +44645,8 @@ struct tcf_proto { struct tcf_chain *chain; spinlock_t lock; bool deleting; + bool counted; + bool usesw; refcount_t refcnt; struct callback_head rcu; struct hlist_node destroy_ht_node; @@ -41658,6 +44672,7 @@ struct tcf_proto_ops { void (*bind_class)(void *, u32, long unsigned int, void *, long unsigned int); void * (*tmplt_create)(struct net *, struct tcf_chain *, struct nlattr **, struct netlink_ext_ack *); void (*tmplt_destroy)(void *); + void (*tmplt_reoffload)(struct tcf_chain *, bool, flow_setup_cb_t *, void *); struct tcf_exts * (*get_exts)(const struct tcf_proto *, u32); int (*dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool); int (*terse_dump)(struct net *, struct tcf_proto *, void *, struct sk_buff *, struct tcmsg *, bool); @@ -41695,17 +44710,6 @@ struct tcmsg { __u32 tcm_info; }; -struct tcp_rack { - u64 mstamp; - u32 rtt_us; - u32 end_seq; - u32 last_delivered; - u8 reo_wnd_steps; - u8 reo_wnd_persist: 5; - u8 dsack_seen: 1; - u8 advanced: 1; -}; - struct tcp_options_received { int ts_recent_stamp; u32 ts_recent; @@ -41726,6 +44730,17 @@ struct tcp_options_received { u16 mss_clamp; }; +struct tcp_rack { + u64 mstamp; + u32 rtt_us; + u32 end_seq; + u32 last_delivered; + u8 reo_wnd_steps; + u8 reo_wnd_persist: 5; + u8 dsack_seen: 1; + u8 advanced: 1; +}; + struct tcp_sack_block { u32 start_seq; u32 end_seq; @@ -41735,55 +44750,120 @@ struct tcp_fastopen_request; struct tcp_sock { struct inet_connection_sock inet_conn; - u16 tcp_header_len; + __u8 __cacheline_group_begin__tcp_sock_read_tx[0]; + u32 max_window; + u32 rcv_ssthresh; + u32 reordering; + u32 notsent_lowat; u16 gso_segs; + struct sk_buff *lost_skb_hint; + struct sk_buff *retransmit_skb_hint; + __u8 __cacheline_group_end__tcp_sock_read_tx[0]; + __u8 __cacheline_group_begin__tcp_sock_read_txrx[0]; + u32 tsoffset; + u32 snd_wnd; + u32 mss_cache; + u32 snd_cwnd; + u32 prr_out; + u32 lost_out; + u32 sacked_out; + u16 tcp_header_len; + u8 scaling_ratio; + u8 chrono_type: 2; + u8 repair: 1; + u8 tcp_usec_ts: 1; + u8 is_sack_reneg: 1; + u8 is_cwnd_limited: 1; + __u8 __cacheline_group_end__tcp_sock_read_txrx[0]; + __u8 __cacheline_group_begin__tcp_sock_read_rx[0]; + u32 copied_seq; + u32 rcv_tstamp; + u32 snd_wl1; + u32 tlp_high_seq; + u32 rttvar_us; + u32 retrans_out; + u16 advmss; + u16 urg_data; + u32 lost; + struct minmax rtt_min; + struct rb_root out_of_order_queue; + u32 snd_ssthresh; + u8 recvmsg_inq: 1; + __u8 __cacheline_group_end__tcp_sock_read_rx[0]; + long: 64; + __u8 __cacheline_group_begin__tcp_sock_write_tx[0]; + u32 segs_out; + u32 data_segs_out; + u64 bytes_sent; + u32 snd_sml; + u32 chrono_start; + u32 chrono_stat[3]; + u32 write_seq; + u32 pushed_seq; + u32 lsndtime; + u32 mdev_us; + u32 rtt_seq; + u64 tcp_wstamp_ns; + struct list_head tsorted_sent_queue; + struct sk_buff *highest_sack; + u8 ecn_flags; + __u8 __cacheline_group_end__tcp_sock_write_tx[0]; + __u8 __cacheline_group_begin__tcp_sock_write_txrx[0]; __be32 pred_flags; + u64 tcp_clock_cache; + u64 tcp_mstamp; + u32 rcv_nxt; + u32 snd_nxt; + u32 snd_una; + u32 window_clamp; + u32 srtt_us; + u32 packets_out; + u32 snd_up; + u32 delivered; + u32 delivered_ce; + u32 app_limited; + u32 rcv_wnd; + struct tcp_options_received rx_opt; + u8 nonagle: 4; + u8 rate_app_limited: 1; + __u8 __cacheline_group_end__tcp_sock_write_txrx[0]; + long: 0; + __u8 __cacheline_group_begin__tcp_sock_write_rx[0]; u64 bytes_received; u32 segs_in; u32 data_segs_in; - u32 rcv_nxt; - u32 copied_seq; u32 rcv_wup; - u32 snd_nxt; - u32 segs_out; - u32 data_segs_out; - u64 bytes_sent; + u32 max_packets_out; + u32 cwnd_usage_seq; + u32 rate_delivered; + u32 rate_interval_us; + u32 rcv_rtt_last_tsecr; + u64 first_tx_mstamp; + u64 delivered_mstamp; u64 bytes_acked; + struct { + u32 rtt_us; + u32 seq; + u64 time; + } rcv_rtt_est; + struct { + u32 space; + u32 seq; + u64 time; + } rcvq_space; + __u8 __cacheline_group_end__tcp_sock_write_rx[0]; u32 dsack_dups; - u32 snd_una; - u32 snd_sml; - u32 rcv_tstamp; - u32 lsndtime; - u32 last_oow_ack_time; u32 compressed_ack_rcv_nxt; - u32 tsoffset; struct list_head tsq_node; - struct list_head tsorted_sent_queue; - u32 snd_wl1; - u32 snd_wnd; - u32 max_window; - u32 mss_cache; - u32 window_clamp; - u32 rcv_ssthresh; - u8 scaling_ratio; struct tcp_rack rack; - u16 advmss; u8 compressed_ack; u8 dup_ack_counter: 2; u8 tlp_retrans: 1; u8 unused: 5; - u32 chrono_start; - u32 chrono_stat[3]; - u8 chrono_type: 2; - u8 rate_app_limited: 1; + u8 thin_lto: 1; u8 fastopen_connect: 1; u8 fastopen_no_cookie: 1; - u8 is_sack_reneg: 1; u8 fastopen_client_fail: 2; - u8 nonagle: 4; - u8 thin_lto: 1; - u8 recvmsg_inq: 1; - u8 repair: 1; u8 frto: 1; u8 repair_queue; u8 save_syn: 2; @@ -41792,62 +44872,23 @@ struct tcp_sock { u8 syn_fastopen_exp: 1; u8 syn_fastopen_ch: 1; u8 syn_data_acked: 1; - u8 is_cwnd_limited: 1; - u32 tlp_high_seq; + u8 keepalive_probes; u32 tcp_tx_delay; - u64 tcp_wstamp_ns; - u64 tcp_clock_cache; - u64 tcp_mstamp; - u32 srtt_us; - u32 mdev_us; u32 mdev_max_us; - u32 rttvar_us; - u32 rtt_seq; - struct minmax rtt_min; - u32 packets_out; - u32 retrans_out; - u32 max_packets_out; - u32 cwnd_usage_seq; - u16 urg_data; - u8 ecn_flags; - u8 keepalive_probes; - u32 reordering; u32 reord_seen; - u32 snd_up; - struct tcp_options_received rx_opt; - u32 snd_ssthresh; - u32 snd_cwnd; u32 snd_cwnd_cnt; u32 snd_cwnd_clamp; u32 snd_cwnd_used; u32 snd_cwnd_stamp; u32 prior_cwnd; u32 prr_delivered; - u32 prr_out; - u32 delivered; - u32 delivered_ce; - u32 lost; - u32 app_limited; - u64 first_tx_mstamp; - u64 delivered_mstamp; - u32 rate_delivered; - u32 rate_interval_us; - u32 rcv_wnd; - u32 write_seq; - u32 notsent_lowat; - u32 pushed_seq; - u32 lost_out; - u32 sacked_out; + u32 last_oow_ack_time; struct hrtimer pacing_timer; struct hrtimer compressed_ack_timer; - struct sk_buff *lost_skb_hint; - struct sk_buff *retransmit_skb_hint; - struct rb_root out_of_order_queue; struct sk_buff *ooo_last_skb; struct tcp_sack_block duplicate_sack[1]; struct tcp_sack_block selective_acks[4]; struct tcp_sack_block recv_sack_cache[4]; - struct sk_buff *highest_sack; int lost_cnt_hint; u32 prior_ssthresh; u32 high_seq; @@ -41856,6 +44897,10 @@ struct tcp_sock { int undo_retrans; u64 bytes_retrans; u32 total_retrans; + u32 rto_stamp; + u16 total_rto; + u16 total_rto_recoveries; + u32 total_rto_time; u32 urg_seq; unsigned int keepalive_time; unsigned int keepalive_intvl; @@ -41864,17 +44909,6 @@ struct tcp_sock { u8 bpf_chg_cc_inprogress: 1; u16 timeout_rehash; u32 rcv_ooopack; - u32 rcv_rtt_last_tsecr; - struct { - u32 rtt_us; - u32 seq; - u64 time; - } rcv_rtt_est; - struct { - u32 space; - u32 seq; - u64 time; - } rcvq_space; struct { u32 probe_seq_start; u32 probe_seq_end; @@ -41884,11 +44918,49 @@ struct tcp_sock { struct tcp_fastopen_request *fastopen_req; struct request_sock *fastopen_rsk; struct saved_syn *saved_syn; + long: 64; }; struct tcp6_sock { struct tcp_sock tcp; struct ipv6_pinfo inet6; + long: 64; + long: 64; + long: 64; + long: 64; + long: 64; +}; + +union tcp_ao_addr { + struct in_addr a4; + struct in6_addr a6; +}; + +struct tcp_ao_hdr { + u8 kind; + u8 length; + u8 keyid; + u8 rnext_keyid; +}; + +struct tcp_ao_key { + struct hlist_node node; + union tcp_ao_addr addr; + u8 key[80]; + unsigned int tcp_sigpool_id; + unsigned int digest_size; + int l3index; + u8 prefixlen; + u8 family; + u8 keylen; + u8 keyflags; + u8 sndid; + u8 rcvid; + u8 maclen; + struct callback_head rcu; + atomic64_t pkt_good; + atomic64_t pkt_bad; + u8 traffic_keys[0]; }; struct tcp_bbr_info { @@ -42007,11 +45079,28 @@ struct tcp_info { __u32 tcpi_snd_wnd; __u32 tcpi_rcv_wnd; __u32 tcpi_rehash; + __u16 tcpi_total_rto; + __u16 tcpi_total_rto_recoveries; + __u32 tcpi_total_rto_time; }; -union tcp_md5_addr { - struct in_addr a4; - struct in6_addr a6; +struct tcp_md5sig_key; + +struct tcp_key { + union { + struct { + struct tcp_ao_key *ao_key; + char *traffic_key; + u32 sne; + u8 rcv_next; + }; + struct tcp_md5sig_key *md5_key; + }; + enum { + TCP_KEY_NONE = 0, + TCP_KEY_MD5 = 1, + TCP_KEY_AO = 2, + } type; }; struct tcp_md5sig_key { @@ -42020,7 +45109,7 @@ struct tcp_md5sig_key { u8 family; u8 prefixlen; u8 flags; - union tcp_md5_addr addr; + union tcp_ao_addr addr; int l3index; u8 key[80]; struct callback_head rcu; @@ -42083,6 +45172,7 @@ struct tcp_request_sock { u64 snt_synack; bool tfo_listener; bool is_mptcp; + bool req_usec_ts; u32 txhash; u32 rcv_isn; u32 snt_isn; @@ -42094,7 +45184,7 @@ struct tcp_request_sock { struct tcp_request_sock_ops { u16 mss_clamp; - struct dst_entry * (*route_req)(const struct sock *, struct sk_buff *, struct flowi *, struct request_sock *); + struct dst_entry * (*route_req)(const struct sock *, struct sk_buff *, struct flowi *, struct request_sock *, u32); u32 (*init_seq)(const struct sk_buff *); u32 (*init_ts_off)(const struct net *, const struct sk_buff *); int (*send_synack)(const struct sock *, struct dst_entry *, struct flowi *, struct request_sock *, struct tcp_fastopen_cookie *, enum tcp_synack_type, struct sk_buff *); @@ -42119,7 +45209,6 @@ struct tcp_skb_cb { __u32 seq; __u32 end_seq; union { - __u32 tcp_tw_isn; struct { u16 tcp_gso_segs; u16 tcp_gso_size; @@ -42170,7 +45259,7 @@ struct tcp_ulp_ops { int (*init)(struct sock *); void (*update)(struct sock *, struct proto *, void (*)(struct sock *)); void (*release)(struct sock *); - int (*get_info)(const struct sock *, struct sk_buff *); + int (*get_info)(struct sock *, struct sk_buff *); size_t (*get_info_size)(const struct sock *); void (*clone)(const struct request_sock *, struct sock *, const gfp_t); char name[16]; @@ -42202,6 +45291,13 @@ union tcp_word_hdr { __be32 words[5]; }; +struct tcp_xa_pool { + u8 max; + u8 idx; + __u32 tokens[17]; + netmem_ref netmems[17]; +}; + struct tcp_zerocopy_receive { __u64 address; __u32 length; @@ -42224,7 +45320,7 @@ struct tcpm_hash_bucket { struct tcx_entry { struct mini_Qdisc *miniq; struct bpf_mprog_bundle bundle; - bool miniq_active; + u32 miniq_active; struct callback_head rcu; }; @@ -42255,27 +45351,6 @@ struct thread_group_cputimer { struct task_cputime_atomic cputime_atomic; }; -struct threshold_block; - -struct threshold_bank { - struct kobject *kobj; - struct threshold_block *blocks; - refcount_t cpus; - unsigned int shared; -}; - -struct threshold_block { - unsigned int block; - unsigned int bank; - unsigned int cpu; - u32 address; - u16 interrupt_enable; - bool interrupt_capable; - u16 threshold_limit; - struct kobject kobj; - struct list_head miscj; -}; - struct tick_device { struct clock_event_device *evtdev; enum tick_device_mode mode; @@ -42316,7 +45391,6 @@ struct tk_read_base { struct timekeeper { struct tk_read_base tkr_mono; - struct tk_read_base tkr_raw; u64 xtime_sec; long unsigned int ktime_sec; struct timespec64 wall_to_monotonic; @@ -42324,15 +45398,16 @@ struct timekeeper { ktime_t offs_boot; ktime_t offs_tai; s32 tai_offset; + struct tk_read_base tkr_raw; + u64 raw_sec; unsigned int clock_was_set_seq; u8 cs_was_changed_seq; - ktime_t next_leap_ktime; - u64 raw_sec; struct timespec64 monotonic_to_boot; u64 cycle_interval; u64 xtime_interval; s64 xtime_remainder; u64 raw_interval; + ktime_t next_leap_ktime; u64 ntp_tick; s64 ntp_error; u32 ntp_error_shift; @@ -42378,7 +45453,6 @@ struct timewait_sock_ops { struct kmem_cache *twsk_slab; char *twsk_slab_name; unsigned int twsk_obj_size; - int (*twsk_unique)(struct sock *, struct sock *, void *); void (*twsk_destructor)(struct sock *); }; @@ -42391,6 +45465,14 @@ struct tipc_basic_hdr { __be32 w[4]; }; +struct tk_data { + seqcount_raw_spinlock_t seq; + struct timekeeper timekeeper; + struct timekeeper shadow_timekeeper; + raw_spinlock_t lock; + long: 64; +}; + struct tk_fast { seqcount_latch_t seq; struct tk_read_base base[2]; @@ -42523,7 +45605,7 @@ struct tls_strparser { u32 stopped: 1; u32 copy_mode: 1; u32 mixed_decrypted: 1; - u32 msg_ready: 1; + bool msg_ready; struct strp_msg stm; struct sk_buff *anchor; struct work_struct work; @@ -42538,9 +45620,9 @@ struct tls_sw_context_rx { u8 async_capable: 1; u8 zc_capable: 1; u8 reader_contended: 1; + bool key_update_pending; struct tls_strparser strp; atomic_t decrypt_pending; - spinlock_t decrypt_compl_lock; struct sk_buff_head async_hold; struct wait_queue_head wq; }; @@ -42559,8 +45641,6 @@ struct tls_sw_context_tx { struct tls_rec *open_rec; struct list_head tx_list; atomic_t encrypt_pending; - spinlock_t encrypt_compl_lock; - int async_notify; u8 async_capable: 1; long unsigned int tx_bitmask; }; @@ -42584,7 +45664,7 @@ struct tms { }; struct tnl_ptk_info { - __be16 flags; + long unsigned int flags[1]; __be16 proto; __be32 key; __be32 seq; @@ -42616,8 +45696,8 @@ struct topa_entry { u64 rsvd2: 1; u64 size: 4; u64 rsvd3: 2; - u64 base: 36; - u64 rsvd4: 16; + u64 base: 40; + u64 rsvd4: 12; }; struct topa_page { @@ -42625,6 +45705,15 @@ struct topa_page { struct topa topa; }; +struct topo_scan { + struct cpuinfo_x86 *c; + unsigned int dom_shifts[7]; + unsigned int dom_ncpus[7]; + unsigned int ebx1_nproc_shift; + u16 amd_nodes_per_pkg; + u16 amd_node_id; +}; + struct tp_module { struct list_head list; struct module *mod; @@ -42643,7 +45732,6 @@ struct tp_probes { struct tp_transition_snapshot { long unsigned int rcu; - long unsigned int srcu; bool ongoing; }; @@ -42657,6 +45745,11 @@ struct trace_array { struct list_head list; char *name; struct array_buffer array_buffer; + unsigned int mapped; + long unsigned int range_addr_start; + long unsigned int range_addr_size; + long int text_delta; + long int data_delta; struct trace_pid_list *filtered_pids; struct trace_pid_list *filtered_no_pids; arch_spinlock_t max_lock; @@ -42672,11 +45765,12 @@ struct trace_array { unsigned char trace_flags_index[32]; unsigned int flags; raw_spinlock_t start_lock; + const char *system_names; struct list_head err_log; struct dentry *dir; struct dentry *options; struct dentry *percpu_dir; - struct dentry *event_dir; + struct eventfs_inode *event_dir; struct trace_options *topts; struct list_head systems; struct list_head events; @@ -42685,9 +45779,11 @@ struct trace_array { cpumask_var_t pipe_cpumask; int ref; int trace_ref; + struct list_head mod_events; struct ftrace_ops *ops; struct trace_pid_list *function_pids; struct trace_pid_list *function_no_pids; + struct fgraph_ops *gops; struct list_head func_probes; struct list_head mod_trace; struct list_head mod_notrace; @@ -42695,6 +45791,7 @@ struct trace_array { int no_filter_buffering_ref; struct list_head hist_vars; struct trace_func_repeats *last_func_repeats; + bool ring_buffer_expanded; }; struct trace_array_cpu { @@ -42732,9 +45829,34 @@ struct trace_buffer { struct mutex mutex; struct ring_buffer_per_cpu **buffers; struct hlist_node node; - u64 (*clock)(); + u64 (*clock)(void); struct rb_irq_work irq_work; bool time_stamp_abs; + long unsigned int range_addr_start; + long unsigned int range_addr_end; + long int last_text_delta; + long int last_data_delta; + unsigned int subbuf_size; + unsigned int subbuf_order; + unsigned int max_data_size; +}; + +struct trace_buffer_meta { + __u32 meta_page_size; + __u32 meta_struct_len; + __u32 subbuf_size; + __u32 nr_subbufs; + struct { + __u64 lost_events; + __u32 id; + __u32 read; + } reader; + __u64 flags; + __u64 entries; + __u64 overrun; + __u64 read; + __u64 Reserved1; + __u64 Reserved2; }; struct trace_buffer_struct { @@ -42749,6 +45871,7 @@ struct trace_probe { struct trace_probe_event *event; ssize_t size; unsigned int nr_args; + struct probe_entry_arg *entry_arg; struct probe_arg args[0]; }; @@ -42790,12 +45913,11 @@ struct trace_event_call { struct list_head list; struct trace_event_class *class; union { - char *name; + const char *name; struct tracepoint *tp; }; struct trace_event event; char *print_fmt; - struct event_filter *filter; union { void *module; atomic_t refcnt; @@ -42835,18 +45957,26 @@ struct trace_event_data_offsets_bpf_test_finish {}; struct trace_event_data_offsets_bpf_trace_printk { u32 bpf_string; + const void *bpf_string_ptr_; }; +struct trace_event_data_offsets_bpf_trigger_tp {}; + struct trace_event_data_offsets_bpf_xdp_link_attach_failed { u32 msg; + const void *msg_ptr_; }; +struct trace_event_data_offsets_cap_capable {}; + struct trace_event_data_offsets_clock { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_console { u32 msg; + const void *msg_ptr_; }; struct trace_event_data_offsets_consume_skb {}; @@ -42869,26 +45999,115 @@ struct trace_event_data_offsets_cpuhp_exit {}; struct trace_event_data_offsets_cpuhp_multi_enter {}; +struct trace_event_data_offsets_ctime {}; + +struct trace_event_data_offsets_ctime_ns_xchg {}; + struct trace_event_data_offsets_dev_pm_qos_request { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_device_pm_callback_end { u32 device; + const void *device_ptr_; u32 driver; + const void *driver_ptr_; }; struct trace_event_data_offsets_device_pm_callback_start { u32 device; + const void *device_ptr_; u32 driver; + const void *driver_ptr_; u32 parent; + const void *parent_ptr_; u32 pm_ops; + const void *pm_ops_ptr_; }; struct trace_event_data_offsets_devres { u32 devname; + const void *devname_ptr_; + u32 name; + const void *name_ptr_; +}; + +struct trace_event_data_offsets_dma_alloc_class { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_alloc_sgt { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_free_class { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_free_sgt { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; +}; + +struct trace_event_data_offsets_dma_map { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_map_sg { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; + u32 dma_addrs; + const void *dma_addrs_ptr_; + u32 lengths; + const void *lengths_ptr_; +}; + +struct trace_event_data_offsets_dma_map_sg_err { + u32 device; + const void *device_ptr_; + u32 phys_addrs; + const void *phys_addrs_ptr_; }; +struct trace_event_data_offsets_dma_sync_sg { + u32 device; + const void *device_ptr_; + u32 dma_addrs; + const void *dma_addrs_ptr_; + u32 lengths; + const void *lengths_ptr_; +}; + +struct trace_event_data_offsets_dma_sync_single { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_unmap { + u32 device; + const void *device_ptr_; +}; + +struct trace_event_data_offsets_dma_unmap_sg { + u32 device; + const void *device_ptr_; + u32 addrs; + const void *addrs_ptr_; +}; + +struct trace_event_data_offsets_dql_stall_detected {}; + struct trace_event_data_offsets_emulate_vsyscall {}; struct trace_event_data_offsets_error_report_template {}; @@ -42903,6 +46122,8 @@ struct trace_event_data_offsets_file_check_and_advance_wb_err {}; struct trace_event_data_offsets_filemap_set_wb_err {}; +struct trace_event_data_offsets_fill_mg_cmtime {}; + struct trace_event_data_offsets_finish_task_reaping {}; struct trace_event_data_offsets_free_vmap_area_noflush {}; @@ -42919,6 +46140,8 @@ struct trace_event_data_offsets_hrtimer_init {}; struct trace_event_data_offsets_hrtimer_start {}; +struct trace_event_data_offsets_icmp_send {}; + struct trace_event_data_offsets_inet_sk_error_report {}; struct trace_event_data_offsets_inet_sock_set_state {}; @@ -42927,6 +46150,7 @@ struct trace_event_data_offsets_initcall_finish {}; struct trace_event_data_offsets_initcall_level { u32 level; + const void *level_ptr_; }; struct trace_event_data_offsets_initcall_start {}; @@ -42935,16 +46159,19 @@ struct trace_event_data_offsets_ipi_handler {}; struct trace_event_data_offsets_ipi_raise { u32 target_cpus; + const void *target_cpus_ptr_; }; struct trace_event_data_offsets_ipi_send_cpu {}; struct trace_event_data_offsets_ipi_send_cpumask { u32 cpumask; + const void *cpumask_ptr_; }; struct trace_event_data_offsets_irq_handler_entry { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_irq_handler_exit {}; @@ -42969,6 +46196,7 @@ struct trace_event_data_offsets_kmem_cache_alloc {}; struct trace_event_data_offsets_kmem_cache_free { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_ma_op {}; @@ -42977,7 +46205,10 @@ struct trace_event_data_offsets_ma_read {}; struct trace_event_data_offsets_ma_write {}; -struct trace_event_data_offsets_mark_victim {}; +struct trace_event_data_offsets_mark_victim { + u32 comm; + const void *comm_ptr_; +}; struct trace_event_data_offsets_mem_connect {}; @@ -42987,8 +46218,14 @@ struct trace_event_data_offsets_mem_return_failed {}; struct trace_event_data_offsets_migration_pte {}; +struct trace_event_data_offsets_mm_alloc_contig_migrate_range_info {}; + +struct trace_event_data_offsets_mm_filemap_fault {}; + struct trace_event_data_offsets_mm_filemap_op_page_cache {}; +struct trace_event_data_offsets_mm_filemap_op_page_cache_range {}; + struct trace_event_data_offsets_mm_lru_activate {}; struct trace_event_data_offsets_mm_lru_insertion {}; @@ -43029,75 +46266,87 @@ struct trace_event_data_offsets_mm_vmscan_lru_shrink_inactive {}; struct trace_event_data_offsets_mm_vmscan_node_reclaim_begin {}; +struct trace_event_data_offsets_mm_vmscan_reclaim_pages {}; + struct trace_event_data_offsets_mm_vmscan_throttled {}; struct trace_event_data_offsets_mm_vmscan_wakeup_kswapd {}; struct trace_event_data_offsets_mm_vmscan_write_folio {}; -struct trace_event_data_offsets_mmap_lock { - u32 memcg_path; -}; +struct trace_event_data_offsets_mmap_lock {}; -struct trace_event_data_offsets_mmap_lock_acquire_returned { - u32 memcg_path; -}; +struct trace_event_data_offsets_mmap_lock_acquire_returned {}; struct trace_event_data_offsets_module_free { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_module_load { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_module_request { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_msr_trace_class {}; struct trace_event_data_offsets_napi_poll { u32 dev_name; + const void *dev_name_ptr_; }; struct trace_event_data_offsets_neigh__update { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_neigh_create { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_neigh_update { u32 dev; + const void *dev_ptr_; }; struct trace_event_data_offsets_net_dev_rx_exit_template {}; struct trace_event_data_offsets_net_dev_rx_verbose_template { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_start_xmit { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_template { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_xmit { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_net_dev_xmit_timeout { u32 name; + const void *name_ptr_; u32 driver; + const void *driver_ptr_; }; struct trace_event_data_offsets_netlink_extack { u32 msg; + const void *msg_ptr_; }; struct trace_event_data_offsets_nmi_handler {}; @@ -43128,10 +46377,12 @@ struct trace_event_data_offsets_pm_qos_update {}; struct trace_event_data_offsets_power_domain { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_powernv_throttle { u32 reason; + const void *reason_ptr_; }; struct trace_event_data_offsets_pstate_sample {}; @@ -43140,21 +46391,27 @@ struct trace_event_data_offsets_purge_vmap_area_lazy {}; struct trace_event_data_offsets_qdisc_create { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_qdisc_dequeue {}; struct trace_event_data_offsets_qdisc_destroy { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_qdisc_enqueue {}; struct trace_event_data_offsets_qdisc_reset { u32 dev; + const void *dev_ptr_; u32 kind; + const void *kind_ptr_; }; struct trace_event_data_offsets_rcu_utilization {}; @@ -43181,8 +46438,18 @@ struct trace_event_data_offsets_sched_numa_pair_template {}; struct trace_event_data_offsets_sched_pi_setprio {}; +struct trace_event_data_offsets_sched_prepare_exec { + u32 interp; + const void *interp_ptr_; + u32 filename; + const void *filename_ptr_; + u32 comm; + const void *comm_ptr_; +}; + struct trace_event_data_offsets_sched_process_exec { u32 filename; + const void *filename_ptr_; }; struct trace_event_data_offsets_sched_process_fork {}; @@ -43223,6 +46490,7 @@ struct trace_event_data_offsets_suspend_resume {}; struct trace_event_data_offsets_swiotlb_bounced { u32 dev_name; + const void *dev_name_ptr_; }; struct trace_event_data_offsets_sys_enter {}; @@ -43231,10 +46499,18 @@ struct trace_event_data_offsets_sys_exit {}; struct trace_event_data_offsets_task_newtask {}; +struct trace_event_data_offsets_task_prctl_unknown {}; + struct trace_event_data_offsets_task_rename {}; struct trace_event_data_offsets_tasklet {}; +struct trace_event_data_offsets_tcp_ao_event {}; + +struct trace_event_data_offsets_tcp_ao_event_sk {}; + +struct trace_event_data_offsets_tcp_ao_event_sne {}; + struct trace_event_data_offsets_tcp_cong_state_set {}; struct trace_event_data_offsets_tcp_event_sk {}; @@ -43243,10 +46519,16 @@ struct trace_event_data_offsets_tcp_event_sk_skb {}; struct trace_event_data_offsets_tcp_event_skb {}; +struct trace_event_data_offsets_tcp_hash_event {}; + struct trace_event_data_offsets_tcp_probe {}; struct trace_event_data_offsets_tcp_retransmit_synack {}; +struct trace_event_data_offsets_tcp_send_reset {}; + +struct trace_event_data_offsets_timer_base_idle {}; + struct trace_event_data_offsets_timer_class {}; struct trace_event_data_offsets_timer_expire_entry {}; @@ -43285,6 +46567,7 @@ struct trace_event_data_offsets_wake_reaper {}; struct trace_event_data_offsets_wakeup_source { u32 name; + const void *name_ptr_; }; struct trace_event_data_offsets_wbc_class {}; @@ -43297,6 +46580,7 @@ struct trace_event_data_offsets_workqueue_execute_start {}; struct trace_event_data_offsets_workqueue_queue_work { u32 workqueue; + const void *workqueue_ptr_; }; struct trace_event_data_offsets_writeback_bdi_register {}; @@ -43346,7 +46630,8 @@ struct trace_event_fields { const char *name; const int size; const int align; - const int is_signed; + const unsigned int is_signed: 1; + unsigned int needs_test: 1; const int filter_type; const int len; }; @@ -43354,19 +46639,18 @@ struct trace_event_fields { }; }; -struct eventfs_file; - struct trace_subsystem_dir; struct trace_event_file { struct list_head list; struct trace_event_call *event_call; struct event_filter *filter; - struct eventfs_file *ef; + struct eventfs_inode *ei; struct trace_array *tr; struct trace_subsystem_dir *system; struct list_head triggers; long unsigned int flags; + refcount_t ref; atomic_t sm_ref; atomic_t tm_ref; }; @@ -43452,12 +46736,28 @@ struct trace_event_raw_bpf_trace_printk { char __data[0]; }; +struct trace_event_raw_bpf_trigger_tp { + struct trace_entry ent; + int nonce; + char __data[0]; +}; + struct trace_event_raw_bpf_xdp_link_attach_failed { struct trace_entry ent; u32 __data_loc_msg; char __data[0]; }; +struct trace_event_raw_cap_capable { + struct trace_entry ent; + const struct cred *cred; + struct user_namespace *target_ns; + const struct user_namespace *capable_ns; + int cap; + int ret; + char __data[0]; +}; + struct trace_event_raw_clock { struct trace_entry ent; u32 __data_loc_name; @@ -43549,6 +46849,27 @@ struct trace_event_raw_cpuhp_multi_enter { char __data[0]; }; +struct trace_event_raw_ctime { + struct trace_entry ent; + dev_t dev; + ino_t ino; + time64_t ctime_s; + u32 ctime_ns; + u32 gen; + char __data[0]; +}; + +struct trace_event_raw_ctime_ns_xchg { + struct trace_entry ent; + dev_t dev; + ino_t ino; + u32 gen; + u32 old; + u32 new; + u32 cur; + char __data[0]; +}; + struct trace_event_raw_dev_pm_qos_request { struct trace_entry ent; u32 __data_loc_name; @@ -43581,8 +46902,133 @@ struct trace_event_raw_devres { struct device *dev; const char *op; void *node; - const char *name; + u32 __data_loc_name; + size_t size; + char __data[0]; +}; + +struct trace_event_raw_dma_alloc_class { + struct trace_entry ent; + u32 __data_loc_device; + void *virt_addr; + u64 dma_addr; + size_t size; + gfp_t flags; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_alloc_sgt { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + gfp_t flags; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_free_class { + struct trace_entry ent; + u32 __data_loc_device; + void *virt_addr; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_free_sgt { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u64 dma_addr; size_t size; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_map { + struct trace_entry ent; + u32 __data_loc_device; + u64 phys_addr; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_map_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + u32 __data_loc_dma_addrs; + u32 __data_loc_lengths; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_map_sg_err { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_phys_addrs; + int err; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_sync_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_dma_addrs; + u32 __data_loc_lengths; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_sync_single { + struct trace_entry ent; + u32 __data_loc_device; + u64 dma_addr; + size_t size; + enum dma_data_direction dir; + char __data[0]; +}; + +struct trace_event_raw_dma_unmap { + struct trace_entry ent; + u32 __data_loc_device; + u64 addr; + size_t size; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dma_unmap_sg { + struct trace_entry ent; + u32 __data_loc_device; + u32 __data_loc_addrs; + enum dma_data_direction dir; + long unsigned int attrs; + char __data[0]; +}; + +struct trace_event_raw_dql_stall_detected { + struct trace_entry ent; + short unsigned int thrs; + unsigned int len; + long unsigned int last_reap; + long unsigned int hist_head; + long unsigned int now; + long unsigned int hist[4]; char __data[0]; }; @@ -43612,6 +47058,7 @@ struct trace_event_raw_fib6_table_lookup { int err; int oif; int iif; + u32 flowlabel; __u8 tos; __u8 scope; __u8 flags; @@ -43664,6 +47111,18 @@ struct trace_event_raw_filemap_set_wb_err { char __data[0]; }; +struct trace_event_raw_fill_mg_cmtime { + struct trace_entry ent; + dev_t dev; + ino_t ino; + time64_t ctime_s; + time64_t mtime_s; + u32 ctime_ns; + u32 mtime_ns; + u32 gen; + char __data[0]; +}; + struct trace_event_raw_finish_task_reaping { struct trace_entry ent; int pid; @@ -43730,6 +47189,19 @@ struct trace_event_raw_hrtimer_start { char __data[0]; }; +struct trace_event_raw_icmp_send { + struct trace_entry ent; + const void *skbaddr; + int type; + int code; + __u8 saddr[4]; + __u8 daddr[4]; + __u16 sport; + __u16 dport; + short unsigned int ulen; + char __data[0]; +}; + struct trace_event_raw_inet_sk_error_report { struct trace_entry ent; int error; @@ -43760,7 +47232,7 @@ struct trace_event_raw_inet_sock_set_state { char __data[0]; }; -typedef int (*initcall_t)(); +typedef int (*initcall_t)(void); struct trace_event_raw_initcall_finish { struct trace_entry ent; @@ -43888,6 +47360,7 @@ struct trace_event_raw_kfree_skb { struct trace_entry ent; void *skbaddr; void *location; + void *rx_sk; short unsigned int protocol; enum skb_drop_reason reason; char __data[0]; @@ -43962,6 +47435,14 @@ struct trace_event_raw_ma_write { struct trace_event_raw_mark_victim { struct trace_entry ent; int pid; + u32 __data_loc_comm; + long unsigned int total_vm; + long unsigned int anon_rss; + long unsigned int file_rss; + long unsigned int shmem_rss; + uid_t uid; + long unsigned int pgtables; + short int oom_score_adj; char __data[0]; }; @@ -44003,6 +47484,25 @@ struct trace_event_raw_migration_pte { char __data[0]; }; +struct trace_event_raw_mm_alloc_contig_migrate_range_info { + struct trace_entry ent; + long unsigned int start; + long unsigned int end; + long unsigned int nr_migrated; + long unsigned int nr_reclaimed; + long unsigned int nr_mapped; + int migratetype; + char __data[0]; +}; + +struct trace_event_raw_mm_filemap_fault { + struct trace_entry ent; + long unsigned int i_ino; + dev_t s_dev; + long unsigned int index; + char __data[0]; +}; + struct trace_event_raw_mm_filemap_op_page_cache { struct trace_entry ent; long unsigned int pfn; @@ -44013,6 +47513,15 @@ struct trace_event_raw_mm_filemap_op_page_cache { char __data[0]; }; +struct trace_event_raw_mm_filemap_op_page_cache_range { + struct trace_entry ent; + long unsigned int i_ino; + dev_t s_dev; + long unsigned int index; + long unsigned int last_index; + char __data[0]; +}; + struct trace_event_raw_mm_lru_activate { struct trace_entry ent; struct folio *folio; @@ -44036,6 +47545,7 @@ struct trace_event_raw_mm_migrate_pages { long unsigned int thp_succeeded; long unsigned int thp_failed; long unsigned int thp_split; + long unsigned int large_folio_split; enum migrate_mode mode; int reason; char __data[0]; @@ -44159,7 +47669,6 @@ struct trace_event_raw_mm_vmscan_lru_isolate { long unsigned int nr_scanned; long unsigned int nr_skipped; long unsigned int nr_taken; - unsigned int isolate_mode; int lru; char __data[0]; }; @@ -44202,6 +47711,22 @@ struct trace_event_raw_mm_vmscan_node_reclaim_begin { char __data[0]; }; +struct trace_event_raw_mm_vmscan_reclaim_pages { + struct trace_entry ent; + int nid; + long unsigned int nr_scanned; + long unsigned int nr_reclaimed; + long unsigned int nr_dirty; + long unsigned int nr_writeback; + long unsigned int nr_congested; + long unsigned int nr_immediate; + unsigned int nr_activate0; + unsigned int nr_activate1; + long unsigned int nr_ref_keep; + long unsigned int nr_unmap_fail; + char __data[0]; +}; + struct trace_event_raw_mm_vmscan_throttled { struct trace_entry ent; int nid; @@ -44230,7 +47755,7 @@ struct trace_event_raw_mm_vmscan_write_folio { struct trace_event_raw_mmap_lock { struct trace_entry ent; struct mm_struct *mm; - u32 __data_loc_memcg_path; + u64 memcg_id; bool write; char __data[0]; }; @@ -44238,7 +47763,7 @@ struct trace_event_raw_mmap_lock { struct trace_event_raw_mmap_lock_acquire_returned { struct trace_entry ent; struct mm_struct *mm; - u32 __data_loc_memcg_path; + u64 memcg_id; bool write; bool success; char __data[0]; @@ -44455,7 +47980,7 @@ struct trace_event_raw_page_pool_release { struct trace_event_raw_page_pool_state_hold { struct trace_entry ent; const struct page_pool *pool; - const struct page *page; + long unsigned int netmem; u32 hold; long unsigned int pfn; char __data[0]; @@ -44464,7 +47989,7 @@ struct trace_event_raw_page_pool_state_hold { struct trace_event_raw_page_pool_state_release { struct trace_entry ent; const struct page_pool *pool; - const struct page *page; + long unsigned int netmem; u32 release; long unsigned int pfn; char __data[0]; @@ -44727,6 +48252,15 @@ struct trace_event_raw_sched_pi_setprio { char __data[0]; }; +struct trace_event_raw_sched_prepare_exec { + struct trace_entry ent; + u32 __data_loc_interp; + u32 __data_loc_filename; + pid_t pid; + u32 __data_loc_comm; + char __data[0]; +}; + struct trace_event_raw_sched_process_exec { struct trace_entry ent; u32 __data_loc_filename; @@ -44765,7 +48299,6 @@ struct trace_event_raw_sched_stat_runtime { char comm[16]; pid_t pid; u64 runtime; - u64 vruntime; char __data[0]; }; @@ -44925,9 +48458,18 @@ struct trace_event_raw_task_newtask { char __data[0]; }; +struct trace_event_raw_task_prctl_unknown { + struct trace_entry ent; + int option; + long unsigned int arg2; + long unsigned int arg3; + long unsigned int arg4; + long unsigned int arg5; + char __data[0]; +}; + struct trace_event_raw_task_rename { struct trace_entry ent; - pid_t pid; char oldcomm[16]; char newcomm[16]; short int oom_score_adj; @@ -44941,6 +48483,58 @@ struct trace_event_raw_tasklet { char __data[0]; }; +struct trace_event_raw_tcp_ao_event { + struct trace_entry ent; + __u64 net_cookie; + const void *skbaddr; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + int l3index; + __u16 sport; + __u16 dport; + __u16 family; + bool fin; + bool syn; + bool rst; + bool psh; + bool ack; + __u8 keyid; + __u8 rnext; + __u8 maclen; + char __data[0]; +}; + +struct trace_event_raw_tcp_ao_event_sk { + struct trace_entry ent; + __u64 net_cookie; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + __u16 sport; + __u16 dport; + __u16 family; + __u8 keyid; + __u8 rnext; + char __data[0]; +}; + +struct trace_event_raw_tcp_ao_event_sne { + struct trace_entry ent; + __u64 net_cookie; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + __u16 sport; + __u16 dport; + __u16 family; + __u32 new_sne; + char __data[0]; +}; + struct trace_event_raw_tcp_cong_state_set { struct trace_entry ent; const void *skaddr; @@ -44992,6 +48586,26 @@ struct trace_event_raw_tcp_event_skb { char __data[0]; }; +struct trace_event_raw_tcp_hash_event { + struct trace_entry ent; + __u64 net_cookie; + const void *skbaddr; + const void *skaddr; + int state; + __u8 saddr[28]; + __u8 daddr[28]; + int l3index; + __u16 sport; + __u16 dport; + __u16 family; + bool fin; + bool syn; + bool rst; + bool psh; + bool ack; + char __data[0]; +}; + struct trace_event_raw_tcp_probe { struct trace_entry ent; __u8 saddr[28]; @@ -45009,6 +48623,8 @@ struct trace_event_raw_tcp_probe { __u32 srtt; __u32 rcv_wnd; __u64 sock_cookie; + const void *skbaddr; + const void *skaddr; char __data[0]; }; @@ -45026,6 +48642,24 @@ struct trace_event_raw_tcp_retransmit_synack { char __data[0]; }; +struct trace_event_raw_tcp_send_reset { + struct trace_entry ent; + const void *skbaddr; + const void *skaddr; + int state; + enum sk_rst_reason reason; + __u8 saddr[28]; + __u8 daddr[28]; + char __data[0]; +}; + +struct trace_event_raw_timer_base_idle { + struct trace_entry ent; + bool is_idle; + unsigned int cpu; + char __data[0]; +}; + struct trace_event_raw_timer_class { struct trace_entry ent; void *timer; @@ -45046,6 +48680,7 @@ struct trace_event_raw_timer_start { void *timer; void *function; long unsigned int expires; + long unsigned int bucket_expiry; long unsigned int now; unsigned int flags; char __data[0]; @@ -45061,7 +48696,11 @@ struct trace_event_raw_tlb_flush { struct trace_event_raw_udp_fail_queue_rcv_skb { struct trace_entry ent; int rc; - __u16 lport; + __u16 sport; + __u16 dport; + __u16 family; + __u8 saddr[28]; + __u8 daddr[28]; char __data[0]; }; @@ -45204,6 +48843,7 @@ struct trace_event_raw_wbc_class { struct trace_event_raw_workqueue_activate_work { struct trace_entry ent; void *work; + void *function; char __data[0]; }; @@ -45524,7 +49164,7 @@ struct trace_subsystem_dir { struct list_head list; struct event_subsystem *subsystem; struct trace_array *tr; - struct eventfs_file *ef; + struct eventfs_inode *ei; int ref_count; int nr_events; }; @@ -45533,11 +49173,11 @@ struct trace_uprobe { struct dyn_event devent; struct uprobe_consumer consumer; struct path path; - struct inode *inode; char *filename; + struct uprobe *uprobe; long unsigned int offset; long unsigned int ref_ctr_offset; - long unsigned int nhit; + long unsigned int *nhits; struct trace_probe tp; }; @@ -45546,33 +49186,37 @@ struct tracefs_dir_ops { int (*rmdir)(const char *); }; -struct tracefs_mount_opts { +struct tracefs_fs_info { kuid_t uid; kgid_t gid; umode_t mode; unsigned int opts; }; -struct tracefs_fs_info { - struct tracefs_mount_opts mount_opts; -}; - struct tracefs_inode { + struct inode vfs_inode; + struct list_head list; long unsigned int flags; void *private; - struct inode vfs_inode; }; +struct tracepoint_ext; + struct tracepoint { const char *name; - struct static_key key; + struct static_key_false key; struct static_call_key *static_call_key; void *static_call_tramp; void *iterator; void *probestub; - int (*regfunc)(); - void (*unregfunc)(); struct tracepoint_func *funcs; + struct tracepoint_ext *ext; +}; + +struct tracepoint_ext { + int (*regfunc)(void); + void (*unregfunc)(void); + unsigned int faultable: 1; }; struct traceprobe_parse_context { @@ -45585,6 +49229,7 @@ struct traceprobe_parse_context { const struct btf_type *last_type; u32 last_bitoffs; u32 last_bitsize; + struct trace_probe *tp; unsigned int flags; int offset; }; @@ -45707,9 +49352,29 @@ struct tsc_adjust { bool warned; }; +struct tsconfig_reply_data { + struct ethnl_reply_data base; + struct hwtstamp_provider_desc hwprov_desc; + struct { + u32 tx_type; + u32 rx_filter; + u32 flags; + } hwtst_config; +}; + +struct tsconfig_req_info { + struct ethnl_req_info base; +}; + struct tsinfo_reply_data { struct ethnl_reply_data base; - struct ethtool_ts_info ts_info; + struct kernel_ethtool_ts_info ts_info; + struct ethtool_ts_stats stats; +}; + +struct tsinfo_req_info { + struct ethnl_req_info base; + struct hwtstamp_provider_desc hwprov_desc; }; struct tso_t { @@ -45839,9 +49504,10 @@ struct tty_operations { void (*hangup)(struct tty_struct *); int (*break_ctl)(struct tty_struct *, int); void (*flush_buffer)(struct tty_struct *); + int (*ldisc_ok)(struct tty_struct *, int); void (*set_ldisc)(struct tty_struct *); void (*wait_until_sent)(struct tty_struct *, int); - void (*send_xchar)(struct tty_struct *, char); + void (*send_xchar)(struct tty_struct *, u8); int (*tiocmget)(struct tty_struct *); int (*tiocmset)(struct tty_struct *, unsigned int, unsigned int); int (*resize)(struct tty_struct *, struct winsize *); @@ -45872,17 +49538,17 @@ struct tty_port { unsigned char console: 1; struct mutex mutex; struct mutex buf_mutex; - unsigned char *xmit_buf; + u8 *xmit_buf; struct { union { struct __kfifo kfifo; - unsigned char *type; - const unsigned char *const_type; + u8 *type; + const u8 *const_type; char (*rectype)[0]; - unsigned char *ptr; - const unsigned char *ptr_const; + u8 *ptr; + const u8 *ptr_const; }; - unsigned char buf[0]; + u8 buf[0]; } xmit_fifo; unsigned int close_delay; unsigned int closing_wait; @@ -45937,7 +49603,6 @@ struct tty_struct { spinlock_t lock; bool stopped; bool tco_stopped; - long unsigned int unused[0]; } flow; struct { struct pid *pgrp; @@ -45945,7 +49610,6 @@ struct tty_struct { spinlock_t lock; unsigned char pktstatus; bool packet; - long unsigned int unused[0]; } ctrl; bool hw_stopped; bool closing; @@ -45959,13 +49623,15 @@ struct tty_struct { void *driver_data; spinlock_t files_lock; int write_cnt; - unsigned char *write_buf; + u8 *write_buf; struct list_head tty_files; struct work_struct SAK_work; }; +struct ubuf_info_ops; + struct ubuf_info { - void (*callback)(struct sk_buff *, struct ubuf_info *, bool); + const struct ubuf_info_ops *ops; refcount_t refcnt; u8 flags; }; @@ -45987,6 +49653,11 @@ struct ubuf_info_msgzc { struct mmpin mmp; }; +struct ubuf_info_ops { + void (*complete)(struct sk_buff *, struct ubuf_info *, bool); + int (*link_skb)(struct sk_buff *, struct ubuf_info *); +}; + struct ucode_cpu_info { struct cpu_signature cpu_sig; void *mc; @@ -46017,21 +49688,15 @@ struct ucred { struct udp_sock { struct inet_sock inet; + long unsigned int udp_flags; int pending; - unsigned int corkflag; __u8 encap_type; - unsigned char no_check6_tx: 1; - unsigned char no_check6_rx: 1; - unsigned char encap_enabled: 1; - unsigned char gro_enabled: 1; - unsigned char accept_udp_l4: 1; - unsigned char accept_udp_fraglist: 1; + __u16 udp_lrpa_hash; + struct hlist_nulls_node udp_lrpa_node; __u16 len; __u16 gso_size; __u16 pcslen; __u16 pcrlen; - __u8 pcflag; - __u8 unused[3]; int (*encap_rcv)(struct sock *, struct sk_buff *); void (*encap_err_rcv)(struct sock *, struct sk_buff *, int, __be16, u32, u8 *); int (*encap_err_lookup)(struct sock *, struct sk_buff *); @@ -46041,6 +49706,7 @@ struct udp_sock { struct sk_buff_head reader_queue; int forward_deficit; int forward_threshold; + bool peeking_with_offset; }; struct udp6_sock { @@ -46056,11 +49722,20 @@ struct udp_dev_scratch { }; struct udp_hslot { - struct hlist_head head; + union { + struct hlist_head head; + struct hlist_nulls_head nulls_head; + }; int count; spinlock_t lock; }; +struct udp_hslot_main { + struct udp_hslot hslot; + u32 hash4_cnt; + long: 64; +}; + struct udp_mib { long unsigned int mibs[10]; }; @@ -46076,7 +49751,8 @@ struct udp_skb_cb { struct udp_table { struct udp_hslot *hash; - struct udp_hslot *hash2; + struct udp_hslot_main *hash2; + struct udp_hslot *hash4; unsigned int mask; unsigned int log; }; @@ -46131,27 +49807,46 @@ struct uevent_sock { struct sock *sk; }; -struct uid_gid_extent { - u32 first; - u32 lower_first; - u32 count; +struct uncached_list { + spinlock_t lock; + struct list_head head; }; -struct uid_gid_map { - u32 nr_extents; - union { - struct uid_gid_extent extent[5]; - struct { - struct uid_gid_extent *forward; - struct uid_gid_extent *reverse; - }; - }; +struct unix_address { + refcount_t refcnt; + int len; + struct sockaddr_un name[0]; }; -struct uncached_list { +struct unix_vertex; + +struct unix_sock { + struct sock sk; + struct unix_address *addr; + struct path path; + struct mutex iolock; + struct mutex bindlock; + struct sock *peer; + struct sock *listener; + struct unix_vertex *vertex; spinlock_t lock; - struct list_head head; - struct list_head quarantine; + struct socket_wq peer_wq; + wait_queue_entry_t peer_wake; + struct scm_stat scm_stat; +}; + +struct unix_vertex { + struct list_head edges; + struct list_head entry; + struct list_head scc_entry; + long unsigned int out_degree; + long unsigned int index; + long unsigned int scc_index; +}; + +struct unlink_vma_file_batch { + int count; + struct vm_area_struct *vmas[8]; }; struct unwind_state { @@ -46175,8 +49870,12 @@ struct uprobe { struct rw_semaphore register_rwsem; struct rw_semaphore consumer_rwsem; struct list_head pending_list; - struct uprobe_consumer *consumers; + struct list_head consumers; struct inode *inode; + union { + struct callback_head rcu; + struct work_struct work; + }; loff_t offset; loff_t ref_ctr_offset; long unsigned int flags; @@ -46186,6 +49885,7 @@ struct uprobe { struct uprobe_cpu_buffer { struct mutex mutex; void *buf; + int dsize; }; struct uprobe_dispatch_data { @@ -46195,6 +49895,11 @@ struct uprobe_dispatch_data { struct uprobe_task { enum uprobe_task_state state; + unsigned int depth; + struct return_instance *return_instances; + struct return_instance *ri_pool; + struct timer_list ri_timer; + seqcount_t ri_seqcount; union { struct { struct arch_uprobe_task autask; @@ -46207,8 +49912,7 @@ struct uprobe_task { }; struct uprobe *active_uprobe; long unsigned int xol_vaddr; - struct return_instance *return_instances; - unsigned int depth; + struct arch_uprobe *auprobe; }; struct uprobe_trace_entry_head { @@ -46375,6 +50079,7 @@ struct vdso_data { u32 seq; s32 clock_mode; u64 cycle_last; + u64 max_cycles; u64 mask; u32 mult; u32 shift; @@ -46386,7 +50091,12 @@ struct vdso_data { s32 tz_dsttime; u32 hrtimer_res; u32 __unused; - struct arch_vdso_data arch_data; + struct arch_vdso_time_data arch_data; +}; + +union vdso_data_store { + struct vdso_data data[2]; + u8 page[4096]; }; struct vdso_exception_table_entry { @@ -46416,6 +50126,11 @@ struct vdso_image { long int sym_vdso32_rt_sigreturn_landing_pad; }; +struct vdso_rng_data { + u64 generation; + u8 is_ready; +}; + struct vfree_deferred { struct llist_head list; struct work_struct wq; @@ -46531,6 +50246,7 @@ struct vm_special_mapping { struct page **pages; vm_fault_t (*fault)(const struct vm_special_mapping *, struct vm_area_struct *, struct vm_fault *); int (*mremap)(const struct vm_special_mapping *, struct vm_area_struct *); + void (*close)(const struct vm_special_mapping *, struct vm_area_struct *); }; struct vm_stack { @@ -46557,10 +50273,32 @@ struct vm_unmapped_area_info { long unsigned int high_limit; long unsigned int align_mask; long unsigned int align_offset; + long unsigned int start_gap; }; -struct vma_iterator { - struct ma_state mas; +struct vma_list { + struct vm_area_struct *vma; + struct list_head head; + refcount_t mmap_count; +}; + +struct vma_merge_struct { + struct mm_struct *mm; + struct vma_iterator *vmi; + long unsigned int pgoff; + struct vm_area_struct *prev; + struct vm_area_struct *next; + struct vm_area_struct *vma; + long unsigned int start; + long unsigned int end; + long unsigned int flags; + struct file *file; + struct anon_vma *anon_vma; + struct mempolicy *policy; + struct vm_userfaultfd_ctx uffd_ctx; + struct anon_vma_name *anon_name; + enum vma_merge_flags merge_flags; + enum vma_merge_state state; }; struct vma_prepare { @@ -46597,6 +50335,7 @@ struct vmap_block { struct list_head free_list; struct callback_head callback_head; struct list_head purge; + unsigned int cpu; }; struct vmap_block_queue { @@ -46605,12 +50344,28 @@ struct vmap_block_queue { struct xarray vmap_blocks; }; +struct vmap_pool { + struct list_head head; + long unsigned int len; +}; + +struct vmap_node { + struct vmap_pool pool[256]; + spinlock_t pool_lock; + bool skip_populate; + struct rb_list busy; + struct rb_list lazy; + struct list_head purge_list; + struct work_struct purge_work; + long unsigned int nr_purged; +}; + struct vxlan_metadata { u32 gbp; }; struct wait_bit_key { - void *flags; + long unsigned int *flags; int bit_nr; long unsigned int timeout; }; @@ -46707,6 +50462,12 @@ struct word_at_a_time { const long unsigned int high_bits; }; +struct work_offq_data { + u32 pool_id; + u32 disable; + u32 flags; +}; + struct worker { union { struct list_head entry; @@ -46726,7 +50487,7 @@ struct worker { long unsigned int last_active; unsigned int flags; int id; - char desc[24]; + char desc[32]; struct workqueue_struct *rescue_wq; }; @@ -46749,8 +50510,6 @@ struct worker_pool { struct hlist_head busy_hash[64]; struct worker *manager; struct list_head workers; - struct list_head dying_workers; - struct completion *detach_completion; struct ida worker_ida; struct workqueue_attrs *attrs; struct hlist_node hash_node; @@ -46769,6 +50528,8 @@ struct workqueue_attrs { struct wq_flusher; +struct wq_node_nr_active; + struct workqueue_struct { struct list_head pwqs; struct list_head list; @@ -46782,20 +50543,21 @@ struct workqueue_struct { struct list_head maydays; struct worker *rescuer; int nr_drainers; + int max_active; + int min_active; int saved_max_active; + int saved_min_active; struct workqueue_attrs *unbound_attrs; struct pool_workqueue *dfl_pwq; - char name[24]; + char name[32]; struct callback_head rcu; long: 64; long: 64; long: 64; long: 64; - long: 64; - long: 64; - long: 64; unsigned int flags; struct pool_workqueue **cpu_pwq; + struct wq_node_nr_active *node_nr_active[0]; long: 64; long: 64; long: 64; @@ -46810,12 +50572,25 @@ struct wq_barrier { struct task_struct *task; }; +struct wq_drain_dead_softirq_work { + struct work_struct work; + struct worker_pool *pool; + struct completion done; +}; + struct wq_flusher { struct list_head list; int flush_color; struct completion done; }; +struct wq_node_nr_active { + int max; + atomic_t nr; + raw_spinlock_t lock; + struct list_head pending_pwqs; +}; + struct wq_pod_type { int nr_pods; cpumask_var_t *pod_cpus; @@ -46844,9 +50619,13 @@ struct writeback_control { unsigned int for_reclaim: 1; unsigned int range_cyclic: 1; unsigned int for_sync: 1; - unsigned int unpinned_fscache_wb: 1; + unsigned int unpinned_netfs_wb: 1; unsigned int no_cgroup_owner: 1; struct swap_iocb **swap_plug; + struct list_head *list; + struct folio_batch fbatch; + long unsigned int index; + int saved_err; }; struct ww_acquire_ctx { @@ -46873,19 +50652,7 @@ struct x64_jit_data { struct x86_apic_ops { unsigned int (*io_apic_read)(unsigned int, unsigned int); - void (*restore)(); -}; - -struct x86_cpu { - struct cpu cpu; -}; - -struct x86_cpu_desc { - u8 x86_family; - u8 x86_vendor; - u8 x86_model; - u8 x86_stepping; - u32 x86_microcode_rev; + void (*restore)(void); }; struct x86_cpu_id { @@ -46894,33 +50661,43 @@ struct x86_cpu_id { __u16 model; __u16 steppings; __u16 feature; + __u16 flags; kernel_ulong_t driver_data; }; struct x86_cpuinit_ops { - void (*setup_percpu_clockev)(); - void (*early_percpu_clock_init)(); + void (*setup_percpu_clockev)(void); + void (*early_percpu_clock_init)(void); void (*fixup_cpu_id)(struct cpuinfo_x86 *, int); bool parallel_bringup; }; struct x86_guest { - bool (*enc_status_change_prepare)(long unsigned int, int, bool); - bool (*enc_status_change_finish)(long unsigned int, int, bool); + int (*enc_status_change_prepare)(long unsigned int, int, bool); + int (*enc_status_change_finish)(long unsigned int, int, bool); bool (*enc_tlb_flush_required)(bool); - bool (*enc_cache_flush_required)(); + bool (*enc_cache_flush_required)(void); + void (*enc_kexec_begin)(void); + void (*enc_kexec_finish)(void); }; struct x86_hybrid_pmu { struct pmu pmu; const char *name; - u8 cpu_type; + enum hybrid_pmu_type pmu_type; cpumask_t supported_cpus; union perf_capabilities intel_cap; u64 intel_ctrl; - int max_pebs_events; - int num_counters; - int num_counters_fixed; + u64 pebs_events_mask; + u64 config_mask; + union { + u64 cntr_mask64; + long unsigned int cntr_mask[1]; + }; + union { + u64 fixed_cntr_mask64; + long unsigned int fixed_cntr_mask[1]; + }; struct event_constraint unconstrained; u64 hw_cache_event_ids[42]; u64 hw_cache_extra_regs[42]; @@ -46930,16 +50707,16 @@ struct x86_hybrid_pmu { unsigned int late_ack: 1; unsigned int mid_ack: 1; unsigned int enabled_ack: 1; - u64 pebs_data_source[16]; + u64 pebs_data_source[256]; }; struct x86_hyper_init { - void (*init_platform)(); - void (*guest_late_init)(); - bool (*x2apic_available)(); - bool (*msi_ext_dest_id)(); - void (*init_mem_mapping)(); - void (*init_after_bootmem)(); + void (*init_platform)(void); + void (*guest_late_init)(void); + bool (*x2apic_available)(void); + bool (*msi_ext_dest_id)(void); + void (*init_mem_mapping)(void); + void (*init_after_bootmem)(void); }; struct ghcb; @@ -46953,54 +50730,56 @@ struct x86_hyper_runtime { struct x86_init_acpi { void (*set_root_pointer)(u64); - u64 (*get_root_pointer)(); - void (*reduced_hw_early_init)(); + u64 (*get_root_pointer)(void); + void (*reduced_hw_early_init)(void); }; struct x86_init_iommu { - int (*iommu_init)(); + int (*iommu_init)(void); }; struct x86_init_irqs { - void (*pre_vector_init)(); - void (*intr_init)(); - void (*intr_mode_select)(); - void (*intr_mode_init)(); - struct irq_domain * (*create_pci_msi_domain)(); + void (*pre_vector_init)(void); + void (*intr_init)(void); + void (*intr_mode_select)(void); + void (*intr_mode_init)(void); + struct irq_domain * (*create_pci_msi_domain)(void); }; struct x86_init_mpparse { - void (*setup_ioapic_ids)(); - void (*find_smp_config)(); - void (*get_smp_config)(unsigned int); + void (*setup_ioapic_ids)(void); + void (*find_mptable)(void); + void (*early_parse_smp_cfg)(void); + void (*parse_smp_cfg)(void); }; struct x86_init_oem { - void (*arch_setup)(); - void (*banner)(); + void (*arch_setup)(void); + void (*banner)(void); }; struct x86_init_resources { - void (*probe_roms)(); - void (*reserve_resources)(); - char * (*memory_setup)(); + void (*probe_roms)(void); + void (*reserve_resources)(void); + char * (*memory_setup)(void); + void (*dmi_setup)(void); }; struct x86_init_paging { - void (*pagetable_init)(); + void (*pagetable_init)(void); }; struct x86_init_timers { - void (*setup_percpu_clockev)(); - void (*timer_init)(); - void (*wallclock_init)(); + void (*setup_percpu_clockev)(void); + void (*timer_init)(void); + void (*wallclock_init)(void); }; struct x86_init_pci { - int (*arch_init)(); - int (*init)(); - void (*init_irq)(); - void (*fixup_irqs)(); + int (*arch_init)(void); + int (*init)(void); + void (*init_irq)(void); + void (*fixup_irqs)(void); }; struct x86_init_ops { @@ -47031,6 +50810,7 @@ struct x86_legacy_features { struct x86_mapping_info { void * (*alloc_pgt_page)(void *); + void (*free_pgt_page)(void *, void *); void *context; long unsigned int page_flag; long unsigned int offset; @@ -47084,21 +50864,21 @@ struct x86_perf_task_context_arch_lbr_xsave { }; struct x86_platform_ops { - long unsigned int (*calibrate_cpu)(); - long unsigned int (*calibrate_tsc)(); + long unsigned int (*calibrate_cpu)(void); + long unsigned int (*calibrate_tsc)(void); void (*get_wallclock)(struct timespec64 *); int (*set_wallclock)(const struct timespec64 *); - void (*iommu_shutdown)(); + void (*iommu_shutdown)(void); bool (*is_untracked_pat_range)(u64, u64); - void (*nmi_init)(); - unsigned char (*get_nmi_reason)(); - void (*save_sched_clock_state)(); - void (*restore_sched_clock_state)(); - void (*apic_post_init)(); + void (*nmi_init)(void); + unsigned char (*get_nmi_reason)(void); + void (*save_sched_clock_state)(void); + void (*restore_sched_clock_state)(void); + void (*apic_post_init)(void); struct x86_legacy_features legacy; - void (*set_legacy_features)(); - void (*realmode_reserve)(); - void (*realmode_init)(); + void (*set_legacy_features)(void); + void (*realmode_reserve)(void); + void (*realmode_init)(void); struct x86_hyper_runtime hyper; struct x86_guest guest; }; @@ -47109,7 +50889,7 @@ struct x86_pmu { const char *name; int version; int (*handle_irq)(struct pt_regs *); - void (*disable_all)(); + void (*disable_all)(void); void (*enable_all)(int); void (*enable)(struct perf_event *); void (*disable)(struct perf_event *); @@ -47123,12 +50903,20 @@ struct x86_pmu { int (*schedule_events)(struct cpu_hw_events *, int, int *); unsigned int eventsel; unsigned int perfctr; + unsigned int fixedctr; int (*addr_offset)(int, bool); int (*rdpmc_index)(int); u64 (*event_map)(int); int max_events; - int num_counters; - int num_counters_fixed; + u64 config_mask; + union { + u64 cntr_mask64; + long unsigned int cntr_mask[1]; + }; + union { + u64 fixed_cntr_mask64; + long unsigned int fixed_cntr_mask[1]; + }; int cntval_bits; u64 cntval_mask; union { @@ -47159,7 +50947,7 @@ struct x86_pmu { void (*cpu_starting)(int); void (*cpu_dying)(int); void (*cpu_dead)(int); - void (*check_microcode)(); + void (*check_microcode)(void); void (*sched_task)(struct perf_event_pmu_context *, bool); u64 intel_ctrl; union perf_capabilities intel_cap; @@ -47175,7 +50963,7 @@ struct x86_pmu { unsigned int pebs_ept: 1; int pebs_record_size; int pebs_buffer_size; - int max_pebs_events; + u64 pebs_events_mask; void (*drain_pebs)(struct pt_regs *, struct perf_sample_data *); struct event_constraint *pebs_constraints; void (*pebs_aliases)(struct perf_event *); @@ -47211,7 +50999,8 @@ struct x86_pmu { unsigned int lbr_mispred: 1; unsigned int lbr_timed_lbr: 1; unsigned int lbr_br_type: 1; - void (*lbr_reset)(); + unsigned int lbr_counters: 4; + void (*lbr_reset)(void); void (*lbr_read)(struct cpu_hw_events *); void (*lbr_save)(void *); void (*lbr_restore)(void *); @@ -47228,7 +51017,7 @@ struct x86_pmu { void (*filter)(struct pmu *, int, bool *); int num_hybrid_pmus; struct x86_hybrid_pmu *hybrid_pmu; - u8 (*get_hybrid_cpu_type)(); + enum hybrid_cpu_type (*get_hybrid_cpu_type)(void); }; struct x86_pmu_capability { @@ -47268,11 +51057,17 @@ struct x86_pmu_lbr { unsigned int from; unsigned int to; unsigned int info; + bool has_callstack; }; struct x86_pmu_quirk { struct x86_pmu_quirk *next; - void (*func)(); + void (*func)(void); +}; + +struct x86_topology_system { + unsigned int dom_shifts[7]; + unsigned int dom_size[7]; }; struct xa_limit { @@ -47291,7 +51086,7 @@ struct xa_node { struct list_head private_list; struct callback_head callback_head; }; - void *slots[16]; + void *slots[64]; union { long unsigned int tags[3]; long unsigned int marks[3]; @@ -47313,17 +51108,10 @@ struct xa_state { struct list_lru *xa_lru; }; -struct xattr_name; - -struct xattr_ctx { - union { - const void *cvalue; - void *value; - }; - void *kvalue; - size_t size; - struct xattr_name *kname; - unsigned int flags; +struct xattr_args { + __u64 value; + __u32 size; + __u32 flags; }; struct xattr_handler { @@ -47350,9 +51138,8 @@ struct xdp_buff_xsk { dma_addr_t dma; dma_addr_t frame_dma; struct xsk_buff_pool *pool; - u64 orig_addr; - struct list_head free_list_node; - struct list_head xskb_list_node; + struct list_head list_node; + long: 64; }; struct xdp_bulk_queue { @@ -47385,10 +51172,10 @@ struct xdp_dev_bulk_queue { struct xdp_frame { void *data; - u16 len; - u16 headroom; + u32 len; + u32 headroom; u32 metasize; - struct xdp_mem_info mem; + enum xdp_mem_type mem_type: 32; struct net_device *dev_rx; u32 frame_sz; u32 flags; @@ -47396,8 +51183,7 @@ struct xdp_frame { struct xdp_frame_bulk { int count; - void *xa; - void *q[16]; + netmem_ref q[16]; }; struct xdp_mem_allocator { @@ -47413,6 +51199,7 @@ struct xdp_mem_allocator { struct xdp_metadata_ops { int (*xmo_rx_timestamp)(const struct xdp_md *, u64 *); int (*xmo_rx_hash)(const struct xdp_md *, u32 *, enum xdp_rss_hash_type *); + int (*xmo_rx_vlan_tag)(const struct xdp_md *, __be16 *, u16 *); }; struct xdp_page_head { @@ -47451,6 +51238,7 @@ struct xdp_sock { } state; struct xsk_queue *tx; struct list_head tx_list; + u32 tx_budget_spent; spinlock_t rx_lock; u64 rx_dropped; u64 rx_queue_full; @@ -47497,6 +51285,7 @@ struct xdp_umem { struct user_struct *user; refcount_t users; u8 flags; + u8 tx_metadata_len; bool zc; struct page **pgs; int id; @@ -47584,6 +51373,20 @@ struct xfrm_mode { u8 flags; }; +struct xfrm_mode_cbs { + struct module *owner; + int (*init_state)(struct xfrm_state *); + int (*clone_state)(struct xfrm_state *, struct xfrm_state *); + void (*destroy_state)(struct xfrm_state *); + int (*user_init)(struct net *, struct xfrm_state *, struct nlattr **, struct netlink_ext_ack *); + int (*copy_to_user)(struct xfrm_state *, struct sk_buff *); + unsigned int (*sa_len)(const struct xfrm_state *); + u32 (*get_inner_mtu)(struct xfrm_state *, int); + int (*input)(struct xfrm_state *, struct sk_buff *); + int (*output)(struct net *, struct sock *, struct sk_buff *); + int (*prepare_output)(struct xfrm_state *, struct sk_buff *); +}; + struct xfrm_replay_state { __u32 oseq; __u32 seq; @@ -47648,11 +51451,17 @@ struct xfrm_state { struct hlist_node gclist; struct hlist_node bydst; }; - struct hlist_node bysrc; + union { + struct hlist_node dev_gclist; + struct hlist_node bysrc; + }; struct hlist_node byspi; struct hlist_node byseq; + struct hlist_node state_cache; + struct hlist_node state_cache_input; refcount_t refcnt; spinlock_t lock; + u32 pcpu_num; struct xfrm_id id; struct xfrm_selector sel; struct xfrm_mark mark; @@ -47671,6 +51480,7 @@ struct xfrm_state { u16 family; xfrm_address_t saddr; int header_len; + int enc_hdr_len; int trailer_len; u32 extra_flags; struct xfrm_mark smark; @@ -47686,6 +51496,8 @@ struct xfrm_state { u32 mapping_maxage; struct xfrm_encap_tmpl *encap; struct sock *encap_sk; + u32 nat_keepalive_interval; + time64_t nat_keepalive_expiration; xfrm_address_t *coaddr; struct xfrm_state *tunnel; atomic_t tunnel_users; @@ -47712,6 +51524,9 @@ struct xfrm_state { const struct xfrm_type_offload *type_offload; struct xfrm_sec_ctx *security; void *data; + u8 dir; + const struct xfrm_mode_cbs *mode_cbs; + void *mode_data; }; struct xfrm_tunnel { @@ -47743,10 +51558,8 @@ struct xfrm_type_offload { struct xol_area { wait_queue_head_t wq; - atomic_t slot_count; long unsigned int *bitmap; - struct vm_special_mapping xol_mapping; - struct page *pages[2]; + struct page *page; long unsigned int vaddr; }; @@ -47776,22 +51589,43 @@ struct xsk_buff_pool { u32 chunk_size; u32 chunk_shift; u32 frame_len; + u32 xdp_zc_max_segs; + u8 tx_metadata_len; u8 cached_need_wakeup; bool uses_need_wakeup; - bool dma_need_sync; bool unaligned; + bool tx_sw_csum; void *addrs; spinlock_t cq_lock; struct xdp_buff_xsk *free_heads[0]; }; +struct xsk_tx_metadata_ops { + void (*tmo_request_timestamp)(void *); + u64 (*tmo_fill_timestamp)(void *); + void (*tmo_request_checksum)(u16, u16, void *); +}; + struct zap_details { struct folio *single_folio; bool even_cows; + bool reclaim_pt; zap_flags_t zap_flags; }; -typedef void amd_pmu_branch_reset_t(); +union zen_patch_rev { + struct { + __u32 rev: 8; + __u32 stepping: 4; + __u32 model: 4; + __u32 __reserved: 4; + __u32 ext_model: 4; + __u32 ext_fam: 8; + }; + __u32 ucode_rev; +}; + +typedef void amd_pmu_branch_reset_t(void); typedef int (*bpf_aux_classic_check_t)(struct sock_filter *, unsigned int); @@ -47829,8 +51663,6 @@ typedef u64 (*btf_bpf_csum_level)(struct sk_buff *, u64); typedef u64 (*btf_bpf_csum_update)(struct sk_buff *, __wsum); -typedef u64 (*btf_bpf_current_task_under_cgroup)(struct bpf_map *, u32); - typedef u64 (*btf_bpf_d_path)(struct path *, char *, u32); typedef u64 (*btf_bpf_dynptr_data)(const struct bpf_dynptr_kern *, u32, u32); @@ -47865,13 +51697,13 @@ typedef u64 (*btf_bpf_get_cgroup_classid)(const struct sk_buff *); typedef u64 (*btf_bpf_get_current_comm)(char *, u32); -typedef u64 (*btf_bpf_get_current_pid_tgid)(); +typedef u64 (*btf_bpf_get_current_pid_tgid)(void); -typedef u64 (*btf_bpf_get_current_task)(); +typedef u64 (*btf_bpf_get_current_task)(void); -typedef u64 (*btf_bpf_get_current_task_btf)(); +typedef u64 (*btf_bpf_get_current_task_btf)(void); -typedef u64 (*btf_bpf_get_current_uid_gid)(); +typedef u64 (*btf_bpf_get_current_uid_gid)(void); typedef u64 (*btf_bpf_get_func_ip_kprobe)(struct pt_regs *); @@ -47885,6 +51717,8 @@ typedef u64 (*btf_bpf_get_hash_recalc)(struct sk_buff *); typedef u64 (*btf_bpf_get_listener_sock)(struct sock *); +typedef u64 (*btf_bpf_get_netns_cookie)(struct sk_buff *); + typedef u64 (*btf_bpf_get_netns_cookie_sk_msg)(struct sk_msg *); typedef u64 (*btf_bpf_get_netns_cookie_sock)(struct sock *); @@ -47895,13 +51729,13 @@ typedef u64 (*btf_bpf_get_netns_cookie_sock_ops)(struct bpf_sock_ops_kern *); typedef u64 (*btf_bpf_get_ns_current_pid_tgid)(u64, u64, struct bpf_pidns_info *, u32); -typedef u64 (*btf_bpf_get_numa_node_id)(); +typedef u64 (*btf_bpf_get_numa_node_id)(void); -typedef u64 (*btf_bpf_get_raw_cpu_id)(); +typedef u64 (*btf_bpf_get_raw_cpu_id)(void); typedef u64 (*btf_bpf_get_route_realm)(const struct sk_buff *); -typedef u64 (*btf_bpf_get_smp_processor_id)(); +typedef u64 (*btf_bpf_get_smp_processor_id)(void); typedef u64 (*btf_bpf_get_socket_cookie)(struct sk_buff *); @@ -47921,6 +51755,8 @@ typedef u64 (*btf_bpf_get_stack_pe)(struct bpf_perf_event_data_kern *, void *, u typedef u64 (*btf_bpf_get_stack_raw_tp)(struct bpf_raw_tracepoint_args *, void *, u32, u64); +typedef u64 (*btf_bpf_get_stack_sleepable)(struct pt_regs *, void *, u32, u64); + typedef u64 (*btf_bpf_get_stack_tp)(void *, void *, u32, u64); typedef u64 (*btf_bpf_get_stackid)(struct pt_regs *, struct bpf_map *, u64); @@ -47933,19 +51769,21 @@ typedef u64 (*btf_bpf_get_stackid_tp)(void *, struct bpf_map *, u64); typedef u64 (*btf_bpf_get_task_stack)(struct task_struct *, void *, u32, u64); -typedef u64 (*btf_bpf_jiffies64)(); +typedef u64 (*btf_bpf_get_task_stack_sleepable)(struct task_struct *, void *, u32, u64); + +typedef u64 (*btf_bpf_jiffies64)(void); typedef u64 (*btf_bpf_kallsyms_lookup_name)(const char *, int, int, u64 *); typedef u64 (*btf_bpf_kptr_xchg)(void *, void *); -typedef u64 (*btf_bpf_ktime_get_boot_ns)(); +typedef u64 (*btf_bpf_ktime_get_boot_ns)(void); -typedef u64 (*btf_bpf_ktime_get_coarse_ns)(); +typedef u64 (*btf_bpf_ktime_get_coarse_ns)(void); -typedef u64 (*btf_bpf_ktime_get_ns)(); +typedef u64 (*btf_bpf_ktime_get_ns)(void); -typedef u64 (*btf_bpf_ktime_get_tai_ns)(); +typedef u64 (*btf_bpf_ktime_get_tai_ns)(void); typedef u64 (*btf_bpf_l3_csum_replace)(struct sk_buff *, u32, u64, u64, u64); @@ -48193,9 +52031,9 @@ typedef u64 (*btf_bpf_spin_unlock)(struct bpf_spin_lock *); typedef u64 (*btf_bpf_strncmp)(const char *, u32, const char *); -typedef u64 (*btf_bpf_strtol)(const char *, size_t, u64, long int *); +typedef u64 (*btf_bpf_strtol)(const char *, size_t, u64, s64 *); -typedef u64 (*btf_bpf_strtoul)(const char *, size_t, u64, long unsigned int *); +typedef u64 (*btf_bpf_strtoul)(const char *, size_t, u64, u64 *); typedef u64 (*btf_bpf_sys_bpf)(int, union bpf_attr *, u32); @@ -48227,13 +52065,13 @@ typedef u64 (*btf_bpf_tcp_sock)(struct sock *); typedef u64 (*btf_bpf_this_cpu_ptr)(const void *); -typedef u64 (*btf_bpf_timer_cancel)(struct bpf_timer_kern *); +typedef u64 (*btf_bpf_timer_cancel)(struct bpf_async_kern *); -typedef u64 (*btf_bpf_timer_init)(struct bpf_timer_kern *, struct bpf_map *, u64); +typedef u64 (*btf_bpf_timer_init)(struct bpf_async_kern *, struct bpf_map *, u64); -typedef u64 (*btf_bpf_timer_set_callback)(struct bpf_timer_kern *, void *, struct bpf_prog_aux *); +typedef u64 (*btf_bpf_timer_set_callback)(struct bpf_async_kern *, void *, struct bpf_prog_aux *); -typedef u64 (*btf_bpf_timer_start)(struct bpf_timer_kern *, u64, u64); +typedef u64 (*btf_bpf_timer_start)(struct bpf_async_kern *, u64, u64); typedef u64 (*btf_bpf_trace_printk)(char *, u32, u64, u64, u64); @@ -48245,7 +52083,7 @@ typedef u64 (*btf_bpf_unlocked_sk_setsockopt)(struct sock *, int, int, char *, i typedef u64 (*btf_bpf_user_ringbuf_drain)(struct bpf_map *, void *, void *, u64); -typedef u64 (*btf_bpf_user_rnd_u32)(); +typedef u64 (*btf_bpf_user_rnd_u32)(void); typedef u64 (*btf_bpf_xdp_adjust_head)(struct xdp_buff *, int); @@ -48313,8 +52151,12 @@ typedef void (*btf_trace_bpf_test_finish)(void *, int *); typedef void (*btf_trace_bpf_trace_printk)(void *, const char *); +typedef void (*btf_trace_bpf_trigger_tp)(void *, int); + typedef void (*btf_trace_bpf_xdp_link_attach_failed)(void *, const char *); +typedef void (*btf_trace_cap_capable)(void *, const struct cred *, struct user_namespace *, const struct user_namespace *, int, int); + typedef void (*btf_trace_clock_disable)(void *, const char *, unsigned int, unsigned int); typedef void (*btf_trace_clock_enable)(void *, const char *, unsigned int, unsigned int); @@ -48343,6 +52185,10 @@ typedef void (*btf_trace_cpuhp_exit)(void *, unsigned int, int, int, int); typedef void (*btf_trace_cpuhp_multi_enter)(void *, unsigned int, int, int, int (*)(unsigned int, struct hlist_node *), struct hlist_node *); +typedef void (*btf_trace_ctime_ns_xchg)(void *, struct inode *, u32, u32, u32); + +typedef void (*btf_trace_ctime_xchg_skip)(void *, struct inode *, struct timespec64 *); + typedef void (*btf_trace_dev_pm_qos_add_request)(void *, const char *, enum dev_pm_qos_req_type, s32); typedef void (*btf_trace_dev_pm_qos_remove_request)(void *, const char *, enum dev_pm_qos_req_type, s32); @@ -48355,6 +52201,44 @@ typedef void (*btf_trace_device_pm_callback_start)(void *, struct device *, cons typedef void (*btf_trace_devres_log)(void *, struct device *, const char *, void *, const char *, size_t); +typedef void (*btf_trace_dma_alloc)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_pages)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_sgt)(void *, struct device *, struct sg_table *, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_alloc_sgt_err)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, gfp_t, long unsigned int); + +typedef void (*btf_trace_dma_free)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_free_pages)(void *, struct device *, void *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_free_sgt)(void *, struct device *, struct sg_table *, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_map_page)(void *, struct device *, phys_addr_t, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_resource)(void *, struct device *, phys_addr_t, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_sg)(void *, struct device *, struct scatterlist *, int, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_map_sg_err)(void *, struct device *, struct scatterlist *, int, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_sync_sg_for_cpu)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_sg_for_device)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_single_for_cpu)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_sync_single_for_device)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction); + +typedef void (*btf_trace_dma_unmap_page)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_unmap_resource)(void *, struct device *, dma_addr_t, size_t, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dma_unmap_sg)(void *, struct device *, struct scatterlist *, int, enum dma_data_direction, long unsigned int); + +typedef void (*btf_trace_dql_stall_detected)(void *, short unsigned int, unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int *); + typedef void (*btf_trace_emulate_vsyscall)(void *, int); typedef void (*btf_trace_error_apic_entry)(void *, int); @@ -48373,6 +52257,8 @@ typedef void (*btf_trace_file_check_and_advance_wb_err)(void *, struct file *, e typedef void (*btf_trace_filemap_set_wb_err)(void *, struct address_space *, errseq_t); +typedef void (*btf_trace_fill_mg_cmtime)(void *, struct inode *, struct timespec64 *, struct timespec64 *); + typedef void (*btf_trace_finish_task_reaping)(void *, int); typedef void (*btf_trace_folio_wait_writeback)(void *, struct folio *, struct address_space *); @@ -48393,6 +52279,8 @@ typedef void (*btf_trace_hrtimer_init)(void *, struct hrtimer *, clockid_t, enum typedef void (*btf_trace_hrtimer_start)(void *, struct hrtimer *, enum hrtimer_mode); +typedef void (*btf_trace_icmp_send)(void *, const struct sk_buff *, int, int); + typedef void (*btf_trace_inet_sk_error_report)(void *, const struct sock *); typedef void (*btf_trace_inet_sock_set_state)(void *, const struct sock *, const int, const int); @@ -48403,6 +52291,8 @@ typedef void (*btf_trace_initcall_level)(void *, const char *); typedef void (*btf_trace_initcall_start)(void *, initcall_t); +typedef void (*btf_trace_inode_set_ctime_to_ts)(void *, struct inode *, struct timespec64 *); + typedef void (*btf_trace_ipi_entry)(void *, const char *); typedef void (*btf_trace_ipi_exit)(void *, const char *); @@ -48451,7 +52341,7 @@ typedef void (*btf_trace_itimer_state)(void *, int, const struct itimerspec64 * typedef void (*btf_trace_kfree)(void *, long unsigned int, const void *); -typedef void (*btf_trace_kfree_skb)(void *, struct sk_buff *, void *, enum skb_drop_reason); +typedef void (*btf_trace_kfree_skb)(void *, struct sk_buff *, void *, enum skb_drop_reason, struct sock *); typedef void (*btf_trace_kmalloc)(void *, long unsigned int, const void *, size_t, size_t, gfp_t, int); @@ -48469,7 +52359,7 @@ typedef void (*btf_trace_ma_read)(void *, const char *, struct ma_state *); typedef void (*btf_trace_ma_write)(void *, const char *, struct ma_state *, long unsigned int, void *); -typedef void (*btf_trace_mark_victim)(void *, int); +typedef void (*btf_trace_mark_victim)(void *, struct task_struct *, uid_t); typedef void (*btf_trace_mem_connect)(void *, const struct xdp_mem_allocator *, const struct xdp_rxq_info *); @@ -48477,15 +52367,23 @@ typedef void (*btf_trace_mem_disconnect)(void *, const struct xdp_mem_allocator typedef void (*btf_trace_mem_return_failed)(void *, const struct xdp_mem_info *, const struct page *); +typedef void (*btf_trace_mm_alloc_contig_migrate_range_info)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int); + typedef void (*btf_trace_mm_filemap_add_to_page_cache)(void *, struct folio *); typedef void (*btf_trace_mm_filemap_delete_from_page_cache)(void *, struct folio *); +typedef void (*btf_trace_mm_filemap_fault)(void *, struct address_space *, long unsigned int); + +typedef void (*btf_trace_mm_filemap_get_pages)(void *, struct address_space *, long unsigned int, long unsigned int); + +typedef void (*btf_trace_mm_filemap_map_pages)(void *, struct address_space *, long unsigned int, long unsigned int); + typedef void (*btf_trace_mm_lru_activate)(void *, struct folio *); typedef void (*btf_trace_mm_lru_insertion)(void *, struct folio *); -typedef void (*btf_trace_mm_migrate_pages)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, enum migrate_mode, int); +typedef void (*btf_trace_mm_migrate_pages)(void *, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, enum migrate_mode, int); typedef void (*btf_trace_mm_migrate_pages_start)(void *, enum migrate_mode, int); @@ -48513,7 +52411,7 @@ typedef void (*btf_trace_mm_vmscan_kswapd_sleep)(void *, int); typedef void (*btf_trace_mm_vmscan_kswapd_wake)(void *, int, int, int); -typedef void (*btf_trace_mm_vmscan_lru_isolate)(void *, int, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, isolate_mode_t, int); +typedef void (*btf_trace_mm_vmscan_lru_isolate)(void *, int, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int); typedef void (*btf_trace_mm_vmscan_lru_shrink_active)(void *, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, int, int); @@ -48523,17 +52421,19 @@ typedef void (*btf_trace_mm_vmscan_node_reclaim_begin)(void *, int, int, gfp_t); typedef void (*btf_trace_mm_vmscan_node_reclaim_end)(void *, long unsigned int); +typedef void (*btf_trace_mm_vmscan_reclaim_pages)(void *, int, long unsigned int, long unsigned int, struct reclaim_stat *); + typedef void (*btf_trace_mm_vmscan_throttled)(void *, int, int, int, int); typedef void (*btf_trace_mm_vmscan_wakeup_kswapd)(void *, int, int, int, gfp_t); typedef void (*btf_trace_mm_vmscan_write_folio)(void *, struct folio *); -typedef void (*btf_trace_mmap_lock_acquire_returned)(void *, struct mm_struct *, const char *, bool, bool); +typedef void (*btf_trace_mmap_lock_acquire_returned)(void *, struct mm_struct *, bool, bool); -typedef void (*btf_trace_mmap_lock_released)(void *, struct mm_struct *, const char *, bool); +typedef void (*btf_trace_mmap_lock_released)(void *, struct mm_struct *, bool); -typedef void (*btf_trace_mmap_lock_start_locking)(void *, struct mm_struct *, const char *, bool); +typedef void (*btf_trace_mmap_lock_start_locking)(void *, struct mm_struct *, bool); typedef void (*btf_trace_module_free)(void *, struct module *); @@ -48607,9 +52507,9 @@ typedef void (*btf_trace_page_fault_user)(void *, long unsigned int, struct pt_r typedef void (*btf_trace_page_pool_release)(void *, const struct page_pool *, s32, u32, u32); -typedef void (*btf_trace_page_pool_state_hold)(void *, const struct page_pool *, const struct page *, u32); +typedef void (*btf_trace_page_pool_state_hold)(void *, const struct page_pool *, netmem_ref, u32); -typedef void (*btf_trace_page_pool_state_release)(void *, const struct page_pool *, const struct page *, u32); +typedef void (*btf_trace_page_pool_state_release)(void *, const struct page_pool *, netmem_ref, u32); typedef void (*btf_trace_page_pool_update_nid)(void *, const struct page_pool *, int); @@ -48617,14 +52517,14 @@ typedef void (*btf_trace_pelt_cfs_tp)(void *, struct cfs_rq *); typedef void (*btf_trace_pelt_dl_tp)(void *, struct rq *); +typedef void (*btf_trace_pelt_hw_tp)(void *, struct rq *); + typedef void (*btf_trace_pelt_irq_tp)(void *, struct rq *); typedef void (*btf_trace_pelt_rt_tp)(void *, struct rq *); typedef void (*btf_trace_pelt_se_tp)(void *, struct sched_entity *); -typedef void (*btf_trace_pelt_thermal_tp)(void *, struct rq *); - typedef void (*btf_trace_percpu_alloc_percpu)(void *, long unsigned int, bool, bool, size_t, size_t, void *, int, void *, size_t, gfp_t); typedef void (*btf_trace_percpu_alloc_percpu_fail)(void *, bool, bool, size_t, size_t); @@ -48679,6 +52579,8 @@ typedef void (*btf_trace_sb_clear_inode_writeback)(void *, struct inode *); typedef void (*btf_trace_sb_mark_inode_writeback)(void *, struct inode *); +typedef void (*btf_trace_sched_compute_energy_tp)(void *, struct task_struct *, int, long unsigned int, long unsigned int, long unsigned int); + typedef void (*btf_trace_sched_cpu_capacity_tp)(void *, struct rq *); typedef void (*btf_trace_sched_kthread_stop)(void *, struct task_struct *); @@ -48701,6 +52603,8 @@ typedef void (*btf_trace_sched_overutilized_tp)(void *, struct root_domain *, bo typedef void (*btf_trace_sched_pi_setprio)(void *, struct task_struct *, struct task_struct *); +typedef void (*btf_trace_sched_prepare_exec)(void *, struct task_struct *, struct linux_binprm *); + typedef void (*btf_trace_sched_process_exec)(void *, struct task_struct *, pid_t, struct linux_binprm *); typedef void (*btf_trace_sched_process_exit)(void *, struct task_struct *); @@ -48711,7 +52615,7 @@ typedef void (*btf_trace_sched_process_free)(void *, struct task_struct *); typedef void (*btf_trace_sched_process_wait)(void *, struct pid *); -typedef void (*btf_trace_sched_stat_runtime)(void *, struct task_struct *, u64, u64); +typedef void (*btf_trace_sched_stat_runtime)(void *, struct task_struct *, u64); typedef void (*btf_trace_sched_stick_numa)(void *, struct task_struct *, int, struct task_struct *, int); @@ -48777,18 +52681,46 @@ typedef void (*btf_trace_sys_exit)(void *, struct pt_regs *, long int); typedef void (*btf_trace_task_newtask)(void *, struct task_struct *, long unsigned int); +typedef void (*btf_trace_task_prctl_unknown)(void *, int, long unsigned int, long unsigned int, long unsigned int, long unsigned int); + typedef void (*btf_trace_task_rename)(void *, struct task_struct *, const char *); typedef void (*btf_trace_tasklet_entry)(void *, struct tasklet_struct *, void *); typedef void (*btf_trace_tasklet_exit)(void *, struct tasklet_struct *, void *); +typedef void (*btf_trace_tcp_ao_handshake_failure)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_key_not_found)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_mismatch)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_rcv_sne_update)(void *, const struct sock *, __u32); + +typedef void (*btf_trace_tcp_ao_rnext_request)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_snd_sne_update)(void *, const struct sock *, __u32); + +typedef void (*btf_trace_tcp_ao_synack_no_key)(void *, const struct sock *, const __u8, const __u8); + +typedef void (*btf_trace_tcp_ao_wrong_maclen)(void *, const struct sock *, const struct sk_buff *, const __u8, const __u8, const __u8); + typedef void (*btf_trace_tcp_bad_csum)(void *, const struct sk_buff *); typedef void (*btf_trace_tcp_cong_state_set)(void *, struct sock *, const u8); typedef void (*btf_trace_tcp_destroy_sock)(void *, struct sock *); +typedef void (*btf_trace_tcp_hash_ao_required)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_bad_header)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_mismatch)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_required)(void *, const struct sock *, const struct sk_buff *); + +typedef void (*btf_trace_tcp_hash_md5_unexpected)(void *, const struct sock *, const struct sk_buff *); + typedef void (*btf_trace_tcp_probe)(void *, struct sock *, struct sk_buff *); typedef void (*btf_trace_tcp_rcv_space_adjust)(void *, struct sock *); @@ -48799,7 +52731,9 @@ typedef void (*btf_trace_tcp_retransmit_skb)(void *, const struct sock *, const typedef void (*btf_trace_tcp_retransmit_synack)(void *, const struct sock *, const struct request_sock *); -typedef void (*btf_trace_tcp_send_reset)(void *, const struct sock *, const struct sk_buff *); +typedef void (*btf_trace_tcp_send_reset)(void *, const struct sock *, const struct sk_buff *, const enum sk_rst_reason); + +typedef void (*btf_trace_timer_base_idle)(void *, bool, unsigned int); typedef void (*btf_trace_timer_cancel)(void *, struct timer_list *); @@ -48809,11 +52743,11 @@ typedef void (*btf_trace_timer_expire_exit)(void *, struct timer_list *); typedef void (*btf_trace_timer_init)(void *, struct timer_list *); -typedef void (*btf_trace_timer_start)(void *, struct timer_list *, long unsigned int, unsigned int); +typedef void (*btf_trace_timer_start)(void *, struct timer_list *, long unsigned int); typedef void (*btf_trace_tlb_flush)(void *, int, long unsigned int); -typedef void (*btf_trace_udp_fail_queue_rcv_skb)(void *, int, struct sock *); +typedef void (*btf_trace_udp_fail_queue_rcv_skb)(void *, int, struct sock *, struct sk_buff *); typedef void (*btf_trace_vector_activate)(void *, unsigned int, bool, bool, bool); @@ -48957,6 +52891,10 @@ typedef struct vfsmount * (*debugfs_automount_t)(struct dentry *, void *); typedef void * (*devcon_match_fn_t)(const struct fwnode_handle *, const char *, void *); +typedef int (*device_iter_t)(struct device *, void *); + +typedef int (*device_match_t)(struct device *, const void *); + typedef int (*dr_match_t)(struct device *, void *, void *); typedef int (*dummy_ops_test_ret_fn)(struct bpf_dummy_ops_state *, ...); @@ -48965,11 +52903,11 @@ typedef int (*dynevent_check_arg_fn_t)(void *); typedef void (*ethnl_notify_handler_t)(struct net_device *, unsigned int, const void *); -typedef void (*exitcall_t)(); +typedef void (*exitcall_t)(void); typedef int filler_t(struct file *, struct folio *); -typedef bool (*filter_func_t)(struct uprobe_consumer *, enum uprobe_filter_ctx, struct mm_struct *); +typedef bool (*filter_func_t)(struct uprobe_consumer *, struct mm_struct *); typedef void free_folio_t(struct folio *, long unsigned int); @@ -48983,40 +52921,64 @@ typedef u32 inet6_ehashfn_t(const struct net *, const struct in6_addr *, const u typedef u32 inet_ehashfn_t(const struct net *, const __be32, const __u16, const __be32, const __be16); +struct xattr; + +typedef int (*initxattrs)(struct inode *, const struct xattr *, void *); + +typedef size_t (*iov_step_f)(void *, size_t, size_t, void *, void *); + +typedef size_t (*iov_ustep_f)(void *, size_t, size_t, void *, void *); + typedef void ip6_icmp_send_t(struct sk_buff *, u8, u8, __u32, const struct in6_addr *, const struct inet6_skb_parm *); typedef int (*list_cmp_func_t)(void *, const struct list_head *, const struct list_head *); -typedef enum lru_status (*list_lru_walk_cb)(struct list_head *, struct list_lru_one *, spinlock_t *, void *); +typedef enum lru_status (*list_lru_walk_cb)(struct list_head *, struct list_lru_one *, void *); typedef void (*move_fn_t)(struct lruvec *, struct folio *); +typedef int (*netlink_filter_fn)(struct sock *, struct sk_buff *, void *); + typedef struct folio *new_folio_t(struct folio *, long unsigned int); typedef void (*nmi_shootdown_cb)(int, struct pt_regs *); typedef struct ns_common *ns_get_path_helper_t(void *); +typedef int (*objpool_init_obj_cb)(void *, void *); + typedef int (*parse_pred_fn)(const char *, void *, int, struct filter_parse_error *, struct filter_pred **); +typedef int (*parse_unknown_fn)(char *, char *, const char *, void *); + typedef void perf_iterate_f(struct perf_event *, void *); typedef int perf_snapshot_branch_stack_t(struct perf_branch_entry *, unsigned int); typedef struct rt6_info * (*pol_lookup_t)(struct net *, struct fib6_table *, struct flowi6 *, const struct sk_buff *, int); +typedef int (*pp_nl_fill_cb)(struct sk_buff *, const struct page_pool *, const struct genl_info *); + typedef int (*proc_visitor)(struct task_struct *, void *); typedef int (*pte_fn_t)(pte_t *, long unsigned int, void *); +typedef void (*rethook_handler_t)(struct rethook_node *, void *, long unsigned int, struct pt_regs *); + +typedef bool (*ring_buffer_cond_fn)(void *); + typedef int (*sendmsg_func)(struct sock *, struct msghdr *); typedef int (*set_callee_state_fn)(struct bpf_verifier_env *, struct bpf_func_state *, struct bpf_func_state *, int); +typedef void (*setup_fn)(struct perf_event *, struct pt_regs *, void *, struct perf_sample_data *, struct pt_regs *); + typedef struct scatterlist *sg_alloc_fn(unsigned int, gfp_t); typedef void sg_free_fn(struct scatterlist *, unsigned int); +typedef void sha256_block_fn(struct sha256_state *, const u8 *, int); + typedef bool (*smp_cond_func_t)(int, void *); typedef int splice_actor(struct pipe_inode_info *, struct pipe_buffer *, struct splice_desc *); @@ -49041,20 +53003,12 @@ typedef int wait_bit_action_f(struct wait_bit_key *, int); typedef int (*writepage_t)(struct folio *, struct writeback_control *, void *); -struct ahash_request; - -struct linux_binprm; - struct net_bridge; -struct in6_addr; - struct iomap_ops; struct task_group; -struct nf_bridge_frag_data; - typedef void *acpi_handle; struct acpi_device; @@ -49063,39 +53017,123 @@ struct audit_buffer; struct audit_context; -struct bpf_cpu_map_entry; - -struct bpf_dtab_netdev; - struct bpf_iter; -struct btf_iter_num; - struct capture_control; -struct clock_event_device; - -struct ftrace_func_mapper; - -struct ftrace_rec_iter; - -struct irq_matrix; - -struct kobj_map; - -struct metadata_dst; - struct nvmem_cell; -struct unix_sock; - -struct warn_args; - -struct xfrm_state; - /* BPF kfuncs */ #ifndef BPF_NO_KFUNC_PROTOTYPES +extern void *bpf_arena_alloc_pages(void *p__map, void *addr__ign, u32 page_cnt, int node_id, u64 flags) __weak __ksym; +extern void bpf_arena_free_pages(void *p__map, void *ptr__ign, u32 page_cnt) __weak __ksym; +extern __bpf_fastcall void *bpf_cast_to_kern_ctx(void *obj) __weak __ksym; +extern int bpf_copy_from_user_str(void *dst, u32 dst__sz, const void *unsafe_ptr__ign, u64 flags) __weak __ksym; +extern struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_and(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_any_and_distribute(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_any_distribute(const struct cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_clear(struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_copy(struct bpf_cpumask *dst, const struct cpumask *src) __weak __ksym; +extern struct bpf_cpumask *bpf_cpumask_create(void) __weak __ksym; +extern bool bpf_cpumask_empty(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_first(const struct cpumask *cpumask) __weak __ksym; +extern u32 bpf_cpumask_first_and(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern u32 bpf_cpumask_first_zero(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_full(const struct cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_intersects(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern void bpf_cpumask_or(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern void bpf_cpumask_release(struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_setall(struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_subset(const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern bool bpf_cpumask_test_and_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_test_and_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __weak __ksym; +extern bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __weak __ksym; +extern u32 bpf_cpumask_weight(const struct cpumask *cpumask) __weak __ksym; +extern void bpf_cpumask_xor(struct bpf_cpumask *dst, const struct cpumask *src1, const struct cpumask *src2) __weak __ksym; +extern int bpf_dynptr_adjust(const struct bpf_dynptr *p, u32 start, u32 end) __weak __ksym; +extern int bpf_dynptr_clone(const struct bpf_dynptr *p, struct bpf_dynptr *clone__uninit) __weak __ksym; +extern int bpf_dynptr_from_skb(struct __sk_buff *s, u64 flags, struct bpf_dynptr *ptr__uninit) __weak __ksym; +extern int bpf_dynptr_from_xdp(struct xdp_md *x, u64 flags, struct bpf_dynptr *ptr__uninit) __weak __ksym; +extern bool bpf_dynptr_is_null(const struct bpf_dynptr *p) __weak __ksym; +extern bool bpf_dynptr_is_rdonly(const struct bpf_dynptr *p) __weak __ksym; +extern __u32 bpf_dynptr_size(const struct bpf_dynptr *p) __weak __ksym; +extern void *bpf_dynptr_slice(const struct bpf_dynptr *p, u32 offset, void *buffer__opt, u32 buffer__szk) __weak __ksym; +extern void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *p, u32 offset, void *buffer__opt, u32 buffer__szk) __weak __ksym; +extern int bpf_fentry_test1(int a) __weak __ksym; +extern struct kmem_cache *bpf_get_kmem_cache(u64 addr) __weak __ksym; +extern void bpf_iter_bits_destroy(struct bpf_iter_bits *it) __weak __ksym; +extern int bpf_iter_bits_new(struct bpf_iter_bits *it, const u64 *unsafe_ptr__ign, u32 nr_words) __weak __ksym; +extern int *bpf_iter_bits_next(struct bpf_iter_bits *it) __weak __ksym; +extern void bpf_iter_kmem_cache_destroy(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern int bpf_iter_kmem_cache_new(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern struct kmem_cache *bpf_iter_kmem_cache_next(struct bpf_iter_kmem_cache *it) __weak __ksym; +extern void bpf_iter_num_destroy(struct bpf_iter_num *it) __weak __ksym; +extern int bpf_iter_num_new(struct bpf_iter_num *it, int start, int end) __weak __ksym; +extern int *bpf_iter_num_next(struct bpf_iter_num *it) __weak __ksym; +extern void bpf_iter_task_destroy(struct bpf_iter_task *it) __weak __ksym; +extern int bpf_iter_task_new(struct bpf_iter_task *it, struct task_struct *task__nullable, unsigned int flags) __weak __ksym; +extern struct task_struct *bpf_iter_task_next(struct bpf_iter_task *it) __weak __ksym; +extern void bpf_iter_task_vma_destroy(struct bpf_iter_task_vma *it) __weak __ksym; +extern int bpf_iter_task_vma_new(struct bpf_iter_task_vma *it, struct task_struct *task, u64 addr) __weak __ksym; +extern struct vm_area_struct *bpf_iter_task_vma_next(struct bpf_iter_task_vma *it) __weak __ksym; +extern void bpf_kfunc_call_memb_release(struct prog_test_member *p) __weak __ksym; +extern void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p) __weak __ksym; +extern struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head) __weak __ksym; +extern struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head) __weak __ksym; +extern int bpf_list_push_back_impl(struct bpf_list_head *head, struct bpf_list_node *node, void *meta__ign, u64 off) __weak __ksym; +extern int bpf_list_push_front_impl(struct bpf_list_head *head, struct bpf_list_node *node, void *meta__ign, u64 off) __weak __ksym; +extern void bpf_local_irq_restore(long unsigned int *flags__irq_flag) __weak __ksym; +extern void bpf_local_irq_save(long unsigned int *flags__irq_flag) __weak __ksym; +extern s64 bpf_map_sum_elem_count(const struct bpf_map *map) __weak __ksym; +extern int bpf_modify_return_test(int a, int *b) __weak __ksym; +extern int bpf_modify_return_test2(int a, int *b, short int c, int d, void *e, char f, int g) __weak __ksym; +extern int bpf_modify_return_test_tp(int nonce) __weak __ksym; +extern void bpf_obj_drop_impl(void *p__alloc, void *meta__ign) __weak __ksym; +extern void *bpf_obj_new_impl(u64 local_type_id__k, void *meta__ign) __weak __ksym; +extern void bpf_percpu_obj_drop_impl(void *p__alloc, void *meta__ign) __weak __ksym; +extern void *bpf_percpu_obj_new_impl(u64 local_type_id__k, void *meta__ign) __weak __ksym; +extern void bpf_preempt_disable(void) __weak __ksym; +extern void bpf_preempt_enable(void) __weak __ksym; +extern int bpf_rbtree_add_impl(struct bpf_rb_root *root, struct bpf_rb_node *node, bool (*less)(struct bpf_rb_node *, const struct bpf_rb_node *), void *meta__ign, u64 off) __weak __ksym; +extern struct bpf_rb_node *bpf_rbtree_first(struct bpf_rb_root *root) __weak __ksym; +extern struct bpf_rb_node *bpf_rbtree_remove(struct bpf_rb_root *root, struct bpf_rb_node *node) __weak __ksym; +extern void bpf_rcu_read_lock(void) __weak __ksym; +extern void bpf_rcu_read_unlock(void) __weak __ksym; +extern __bpf_fastcall void *bpf_rdonly_cast(const void *obj__ign, u32 btf_id__k) __weak __ksym; +extern void *bpf_refcount_acquire_impl(void *p__refcounted_kptr, void *meta__ign) __weak __ksym; +extern int bpf_send_signal_task(struct task_struct *task, int sig, enum pid_type type, u64 value) __weak __ksym; +extern __u64 *bpf_session_cookie(void) __weak __ksym; +extern bool bpf_session_is_return(void) __weak __ksym; +extern int bpf_sk_assign_tcp_reqsk(struct __sk_buff *s, struct sock *sk, struct bpf_tcp_req_attrs *attrs, int attrs__sz) __weak __ksym; +extern int bpf_sock_addr_set_sun_path(struct bpf_sock_addr_kern *sa_kern, const u8 *sun_path, u32 sun_path__sz) __weak __ksym; +extern int bpf_sock_destroy(struct sock_common *sock) __weak __ksym; +extern struct task_struct *bpf_task_acquire(struct task_struct *p) __weak __ksym; +extern struct task_struct *bpf_task_from_pid(s32 pid) __weak __ksym; +extern struct task_struct *bpf_task_from_vpid(s32 vpid) __weak __ksym; +extern void bpf_task_release(struct task_struct *p) __weak __ksym; +extern void bpf_throw(u64 cookie) __weak __ksym; +extern int bpf_wq_init(struct bpf_wq *wq, void *p__map, unsigned int flags) __weak __ksym; +extern int bpf_wq_set_callback_impl(struct bpf_wq *wq, int (*callback_fn)(void *, int *, void *), unsigned int flags, void *aux__ign) __weak __ksym; +extern int bpf_wq_start(struct bpf_wq *wq, unsigned int flags) __weak __ksym; +extern int bpf_xdp_metadata_rx_hash(const struct xdp_md *ctx, u32 *hash, enum xdp_rss_hash_type *rss_type) __weak __ksym; +extern int bpf_xdp_metadata_rx_timestamp(const struct xdp_md *ctx, u64 *timestamp) __weak __ksym; +extern int bpf_xdp_metadata_rx_vlan_tag(const struct xdp_md *ctx, __be16 *vlan_proto, u16 *vlan_tci) __weak __ksym; +extern void cubictcp_acked(struct sock *sk, const struct ack_sample *sample) __weak __ksym; +extern void cubictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) __weak __ksym; +extern void cubictcp_cwnd_event(struct sock *sk, enum tcp_ca_event event) __weak __ksym; +extern void cubictcp_init(struct sock *sk) __weak __ksym; +extern u32 cubictcp_recalc_ssthresh(struct sock *sk) __weak __ksym; +extern void cubictcp_state(struct sock *sk, u8 new_state) __weak __ksym; +extern void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked) __weak __ksym; +extern void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked) __weak __ksym; +extern u32 tcp_reno_ssthresh(struct sock *sk) __weak __ksym; +extern u32 tcp_reno_undo_cwnd(struct sock *sk) __weak __ksym; +extern u32 tcp_slow_start(struct tcp_sock *tp, u32 acked) __weak __ksym; #endif #ifndef BPF_NO_PRESERVE_ACCESS_INDEX diff --git a/kconfigs/config.common b/kconfigs/config.common index 841ce96..730bdeb 100644 --- a/kconfigs/config.common +++ b/kconfigs/config.common @@ -8,6 +8,7 @@ CONFIG_DEBUG_INFO_DWARF4=y CONFIG_FPROBE=y CONFIG_FTRACE=y CONFIG_FUNCTION_TRACER=y +CONFIG_INET=y CONFIG_KPROBES=y CONFIG_KPROBE_EVENTS=y CONFIG_MMU=y diff --git a/scripts/download-latest-linux-release.sh b/scripts/download-latest-linux-release.sh index b0edd90..a9ccaf6 100755 --- a/scripts/download-latest-linux-release.sh +++ b/scripts/download-latest-linux-release.sh @@ -4,8 +4,9 @@ set -eux sudo apt install -y curl jq tar xz-utils +# pick the first stable release, it's usually the newest url=$(curl -s https://www.kernel.org/releases.json \ - | jq -r '.releases[] | select(.moniker == "mainline") | .source') + | jq -r '[.releases[] | select(.moniker == "stable")][0].source') curl -LO "$url" tar -xf $(basename "$url")