Home
last modified time | relevance | path

Searched +full:uapi +full:- +full:group (Results 1 – 25 of 158) sorted by relevance

1234567

/linux/include/net/
H A Dnet_shaper.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 #include <uapi/linux/net_shaper.h>
33 * struct net_shaper - represents a shaping node on the NIC H/W
61 * struct net_shaper_ops - Operations on device H/W shapers
66 * The network core keeps track of the applied user-configuration in
71 * @group operation.
74 * comprising the shaper scope and a scope-specific id.
76 * Driver ops vs uAPI
77 * ------------------
78 * Members of the driver ops mirror the Netlink uAPI but driver calls do not
[all …]
H A Dpsample.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <uapi/linux/psample.h>
34 void psample_group_take(struct psample_group *group);
35 void psample_group_put(struct psample_group *group);
41 void psample_sample_packet(struct psample_group *group,
47 static inline void psample_sample_packet(struct psample_group *group, in psample_sample_packet() argument
/linux/include/linux/
H A Dfanotify.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <uapi/linux/fanotify.h>
8 #define FAN_GROUP_FLAG(group, flag) \ argument
9 ((group)->fanotify_data.flags & (flag))
15 * they are uapi exposed constants. If there are programs out there using
16 * these constant, the programs may break if re-compiled with new uapi headers
20 /* Group classes where permission events are allowed */
45 * FAN_CLASS_NOTIF is the only class we allow for unprivileged group.
56 /* Internal group flags */
86 * Directory entry modification events - reported only to directory
[all …]
H A Diommu.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2007-2008 Advanced Micro Devices, Inc.
17 #include <uapi/linux/iommufd.h>
63 * struct iommu_fault_page_request - Page Request data
65 * is the last page in group (IOMMU_FAULT_PAGE_REQUEST_* values).
70 * @grpid: Page Request Group Index
73 * @private_data: device-specific private information
88 * struct iommu_fault - Generic fault data
98 * enum iommu_page_response_code - Return status of fault handlers
113 * struct iommu_page_response - Generic page response information
[all …]
H A Dconnector.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * 2004-2005 Copyright (c) Evgeniy Polyakov <zbr@ioremap.net>
18 #include <uapi/linux/connector.h>
45 u32 seq, group; member
58 * cn_add_callback() - Registers new callback with connector core.
62 * in-kernel users.
70 * cn_del_callback() - Unregisters new callback with connector core.
78 * cn_netlink_send_mult - Sends message to the specified groups.
83 * If non-zero the message will be sent to the given port,
85 * @group: destination group.
[all …]
H A Dsock_diag.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #include <uapi/linux/sock_diag.h>
57 switch (sk->sk_family) { in sock_diag_destroy_group()
59 if (sk->sk_type == SOCK_RAW) in sock_diag_destroy_group()
62 switch (sk->sk_protocol) { in sock_diag_destroy_group()
71 if (sk->sk_type == SOCK_RAW) in sock_diag_destroy_group()
74 switch (sk->sk_protocol) { in sock_diag_destroy_group()
91 const enum sknetlink_groups group = sock_diag_destroy_group(sk); in sock_diag_has_destroy_listeners() local
93 return group != SKNLGRP_NONE && n->diag_nlsk && in sock_diag_has_destroy_listeners()
94 netlink_has_listeners(n->diag_nlsk, group); in sock_diag_has_destroy_listeners()
H A Drtnetlink.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #include <uapi/linux/rtnetlink.h>
12 extern int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, u32 group, int echo);
15 u32 pid, u32 group, int echo) in rtnetlink_maybe_send() argument
17 return !skb ? 0 : rtnetlink_send(skb, net, pid, group, echo); in rtnetlink_maybe_send()
22 u32 group, const struct nlmsghdr *nlh, gfp_t flags);
23 extern void rtnl_set_sk_err(struct net *net, u32 group, int error);
69 * rcu_dereference_rtnl - rcu_dereference with debug checking
79 * rtnl_dereference - fetch RCU pointer when updates are prevented by RTNL
82 * Return: the value of the specified RCU-protected pointer, but omit
[all …]
H A Dedd.h1 /* SPDX-License-Identifier: GPL-2.0-only */
9 * This is based on the T13 group document D1572 Revision 0 (August 14 2002)
14 * table in the boot_params that contains a list of BIOS-enumerated
24 #include <uapi/linux/edd.h>
/linux/Documentation/netlink/
H A Dgenetlink.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
21 # e.g. u8-min, u16-max, etc.
[all …]
H A Dnetlink-raw.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
12 name-cap:
14 pattern: ^[0-9a-zA-Z-]+$
18 len-or-define:
20 pattern: ^[0-9A-Za-z_-]+( - 1)?$
22 len-or-limit:
[all …]
H A Dgenetlink-c.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int, const name, or limit based on fixed-width type
18 # e.g. u8-min, u16-max, etc.
20 pattern: ^[0-9A-Za-z_-]+$
[all …]
H A Dgenetlink-legacy.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
21 # e.g. u8-min, u16-max, etc.
[all …]
/linux/scripts/
H A Dbpf_doc.py2 # SPDX-License-Identifier: GPL-2.0-only
4 # Copyright (C) 2018-2019 Netronome Systems, Inc.
76 res['ret_type'] = capture.group(1)
77 res['ret_star'] = capture.group(2)
78 res['name'] = capture.group(3)
81 args = capture.group(4).split(', ')
85 'type' : capture.group(1),
86 'star' : capture.group(5),
87 'name' : capture.group(6)
109 @filename: name of file to parse, usually include/uapi/linux/bpf.h in the
[all …]
/linux/tools/lib/python/kdoc/
H A Dparse_data_structs.py2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2016-2025 by Mauro Carvalho Chehab <mchehab@kernel.org>.
13 ``enum`` and ``enum`` symbols and create cross-references for all of them.
31 Creates an enriched version of a Kernel header file with cross-links
35 uAPI headers will create cross-reference links to the code.
38 ``enum`` and ``enum`` symbols and create cross-references for all of them.
58 -
[all...]
/linux/drivers/net/netdevsim/
H A Dpsample.c1 // SPDX-License-Identifier: GPL-2.0
14 #include <uapi/linux/ip.h>
15 #include <uapi/linux/udp.h>
26 struct psample_group *group; member
53 eth_random_addr(eth->h_dest); in nsim_dev_psample_skb_build()
54 eth_random_addr(eth->h_source); in nsim_dev_psample_skb_build()
55 eth->h_proto = htons(ETH_P_IP); in nsim_dev_psample_skb_build()
56 skb->protocol = htons(ETH_P_IP); in nsim_dev_psample_skb_build()
58 skb_set_network_header(skb, skb->len); in nsim_dev_psample_skb_build()
60 iph->protocol = IPPROTO_UDP; in nsim_dev_psample_skb_build()
[all …]
/linux/include/linux/netfilter/
H A Dnfnetlink.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 #include <uapi/linux/netfilter/nfnetlink.h>
54 int nfnetlink_has_listeners(struct net *net, unsigned int group);
56 unsigned int group, int echo, gfp_t flags);
57 int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error);
60 __u32 group, gfp_t allocation);
73 nfmsg->nfgen_family = family; in nfnl_fill_hdr()
74 nfmsg->version = version; in nfnl_fill_hdr()
75 nfmsg->res_id = res_id; in nfnl_fill_hdr()
106 MODULE_ALIAS("nfnetlink-subsys-" __stringify(subsys))
/linux/Documentation/userspace-api/
H A Diommufd.rst1 .. SPDX-License-Identifier: GPL-2.0+
20 I/O page tables for all IOMMUs, with room in the design to add non-generic
31 --------------------
35 - IOMMUFD_OBJ_IOAS, representing an I/O address space (IOAS), allowing map/unmap
41 - IOMMUFD_OBJ_DEVICE, representing a device that is bound to iommufd by an
44 - IOMMUFD_OBJ_HWPT_PAGING, representing an actual hardware I/O page table
48 feature flag. This can be either an UNMANAGED stage-1 domain for a device
49 running in the user space, or a nesting parent stage-2 domain for mappings
50 from guest-level physical addresses to host-level physical addresses.
55 - IOMMUFD_OBJ_HWPT_NESTED, representing an actual hardware I/O page table
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-net35 Values vary based on the lower-level protocol used by the
37 include/uapi/linux/if_*.h for actual values.
54 01-80-C2-00-00-0X on a bridge device. Only values that set bits
62 0 01-80-C2-00-00-00 Bridge Group Address used for STP
63 1 01-80-C2-00-00-01 (MAC Control) 802.3 used for MAC PAUSE
64 2 01-80-C2-00-00-02 (Link Aggregation) 802.3ad
68 care when forwarding control frames e.g. 802.1X-PAE or LLDP.
135 the device is not usable unless some supplicant-based
177 include/uapi/linux/if.h for a list of all possible values and
193 Indicates the system-wide interface unique index identifier as a
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_exec.c1 // SPDX-License-Identifier: MIT
11 #include <uapi/drm/xe_drm.h>
32 * - Passing in a list BO which are read / written to creating implicit syncs
33 * - Binding at exec time
34 * - Flow controlling the ring at exec time
37 * passed into an exec, using the dma-buf implicit sync uAPI, have binds as
62 * Rebinds / dma-resv usage applies to non-compute mode VMs only as for compute
75 * .. code-block::
78 * Wait for any async VM bind passed as in-fences to start
79 * <----------------------------------------------------------------------|
[all …]
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-feature.rst1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 bpftool-feature
6 -------------------------------------------------------------------------------
7 tool for inspection of eBPF-related parameters for Linux kernel or net device
8 -------------------------------------------------------------------------------
27 | **bpftool** **feature list_builtins** *GROUP*
31 | *GROUP* := { **prog_types** | **map_types** | **attach_types** | **link_types** | **helpers** }
36 Probe the running kernel and dump a number of eBPF-related parameters, such
44 If the **macros** keyword (but not the **-j** option) is passed, a subset
59 bpftool is inadvertently run as non-root, for example. This keyword is
[all …]
/linux/Documentation/netlink/specs/
H A Dnlctrl.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
4 protocol: genetlink-legacy
5 uapi-header: linux/genetlink.h
8 genetlink meta-family that exposes information about all genetlink
12 -
13 name: op-flags
15 enum-name:
17 - admin-perm
18 - cmd-cap-do
[all …]
/linux/Documentation/admin-guide/
H A Dkernel-parameters.rst1 .. SPDX-License-Identifier: GPL-2.0
5 The kernel's command-line parameters
14 The kernel parses parameters from the kernel command line up to "``--``";
18 Everything after "``--``" is passed as an argument to init.
33 "modinfo -p ${modulename}" shows a current list of all parameters of a loadable
37 ``echo -n ${value} > /sys/module/${modulename}/parameters/${parm}``.
40 ----------------
44 log_buf_len=1M print-fatal-signals=1
48 log-buf-len=1M print_fatal_signals=1
50 Double-quotes can be used to protect spaces in values, e.g.::
[all …]
/linux/drivers/vdpa/vdpa_user/
H A Dvduse_dev.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2020-2021 Bytedance Inc. and/or its affiliates. All rights reserved.
21 #include <linux/dma-map-ops.h>
30 #include <uapi/linux/vduse.h>
31 #include <uapi/linux/vdpa.h>
32 #include <uapi/linux/virtio_config.h>
33 #include <uapi/linux/virtio_ids.h>
34 #include <uapi/linux/virtio_blk.h>
35 #include <uapi/linux/virtio_ring.h>
53 #define IRQ_UNBOUND -1
[all …]
/linux/fs/btrfs/
H A Dblock-group.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 #include <uapi/linux/btrfs_tree.h>
16 #include "free-space-cache.h"
76 /* Block group flags set at runtime */
85 /* Does the block group need to be added to the free space tree? */
87 /* Set after we add a new block group to the free space tree. */
89 /* Indicate that the block group is placed on a sequential zone */
92 * Indicate that block group is in the list of new block groups of a
138 /* The last commited identity_remap_count value of this block group. */
141 * The last committed used bytes of this block group, if the above @used
[all …]
/linux/drivers/accel/habanalabs/gaudi/
H A DgaudiP.h1 /* SPDX-License-Identifier: GPL-2.0
3 * Copyright 2019-2022 HabanaLabs, Ltd.
11 #include <uapi/drm/habanalabs_accel.h>
52 #define GAUDI_HBM_CFG_BASE (mmHBM0_BASE - CFG_BASE)
53 #define GAUDI_HBM_CFG_OFFSET (mmHBM1_BASE - mmHBM0_BASE)
79 #define DMA_QMAN_OFFSET (mmDMA1_QM_BASE - mmDMA0_QM_BASE)
80 #define TPC_QMAN_OFFSET (mmTPC1_QM_BASE - mmTPC0_QM_BASE)
81 #define MME_QMAN_OFFSET (mmMME1_QM_BASE - mmMME0_QM_BASE)
82 #define NIC_MACRO_QMAN_OFFSET (mmNIC1_QM0_BASE - mmNIC0_QM0_BASE)
83 #define NIC_ENGINE_QMAN_OFFSET (mmNIC0_QM1_BASE - mmNIC0_QM0_BASE)
[all …]

1234567