Home
last modified time | relevance | path

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

1234567

/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 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 Dscc.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <uapi/linux/scc.h>
31 unsigned char persist; /* Persistence (0-255) as a % */
41 unsigned char group; /* Group ID for AX.25 TX interlocking */ member
H A Dstddef.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <uapi/linux/stddef.h>
19 * sizeof_field() - Report the size of a struct field in bytes
24 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER))
27 * offsetofend() - Report the offset of a struct field within the struct
36 * struct_group() - Wrap a set of declarations in a mirrored struct
38 * @NAME: The identifier name of the mirrored sub-struct
43 * used normally without sub-struct naming, and the latter can be
44 * used to reason about the start, end, and size of the group of
51 * struct_group_attr() - Create a struct_group() with trailing attributes
[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>
H A Dmroute.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #include <uapi/linux/mroute.h>
30 return -ENOPROTOOPT; in ip_mroute_setsockopt()
36 return -ENOPROTOOPT; in ip_mroute_getsockopt()
41 return -ENOIOCTLCMD; in ipmr_ioctl()
74 * struct mfc_cache - multicast routing entries
76 * @mfc_mcastgrp: destination multicast group address
/linux/include/rdma/
H A Drdma_netlink.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 #include <uapi/rdma/rdma_netlink.h>
30 * index _index. Since the client indexes were setup in a uapi header as an
39 MODULE_ALIAS("rdma-netlink-subsys-" __stringify(_val))
44 * @cb_table: A table for op->callback
98 * Send the supplied skb to a netlink group.
101 * @group: Netlink group ID
106 unsigned int group, gfp_t flags);
109 * Check if there are any listeners to the netlink group
110 * @group: the netlink group ID
[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/Documentation/networking/
H A Dbridge.rst1 .. SPDX-License-Identifier: GPL-2.0
10 The IEEE 802.1Q-2022 (Bridges and Bridged Networks) standard defines the
23 .. kernel-doc:: net/bridge/br_private.h
26 Bridge uAPI
29 Modern Linux bridge uAPI is accessed via Netlink interface. You can find
33 -------------------------
35 .. kernel-doc:: include/uapi/linux/if_link.h
39 ------------------------------
41 .. kernel-doc:: include/uapi/linux/if_link.h
45 ------------
[all …]
/linux/include/net/
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/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/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/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/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/Documentation/userspace-api/netlink/
H A Dintro.rst1 .. SPDX-License-Identifier: BSD-3-Clause
8 It aims to replace fixed-format C structures as supplied
12 To achieve this Netlink uses a minimal fixed-format metadata header
27 .. code-block:: c
39 .. code-block:: c
52 .. code-block:: c
69 The first two arguments of the socket() call require little explanation -
76 --------------------------
81 The list of them is defined on top of the ``include/uapi/linux/netlink.h``
82 file, they include among others - general networking (NETLINK_ROUTE),
[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/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.
20 #include <linux/dma-map-ops.h>
29 #include <uapi/linux/vduse.h>
30 #include <uapi/linux/vdpa.h>
31 #include <uapi/linux/virtio_config.h>
32 #include <uapi/linux/virtio_ids.h>
33 #include <uapi/linux/virtio_blk.h>
34 #include <uapi/linux/virtio_ring.h>
53 #define IRQ_UNBOUND -1
[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/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/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/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 …]
/linux/drivers/firmware/psci/
H A Dpsci_checker.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <uapi/linux/sched/types.h>
26 #include <uapi/linux/psci.h>
31 static int tos_resident_cpu = -1;
42 * "enable-method" property of each CPU in the DT, but given that there is no
43 * arch-specific way to check this, we assume that the DT is sensible.
47 int migrate_type = -1; in psci_ops_check()
52 return -EOPNOTSUPP; in psci_ops_check()
66 if (tos_resident_cpu == -1) in psci_ops_check()
94 if (ret != -EBUSY) { in down_and_up_cpus()
[all …]

1234567