Home
last modified time | relevance | path

Searched full:program (Results 1 – 25 of 7251) sorted by relevance

12345678910>>...291

/kernel/linux/patches/
DLICENSE16 Foundation's software and to any other program whose authors commit to
33 For example, if you distribute copies of such a program, whether
50 Finally, any free program is threatened constantly by software
52 program will individually obtain patent licenses, in effect making the
53 program proprietary. To prevent this, we have made it clear that any
62 0. This License applies to any program or other work which contains
64 under the terms of this General Public License. The "Program", below,
65 refers to any such program or work, and a "work based on the Program"
66 means either the Program or any derivative work under copyright law:
67 that is to say, a work containing the Program or a portion of it,
[all …]
/kernel/linux/config/
DLICENSE16 Foundation's software and to any other program whose authors commit to
33 For example, if you distribute copies of such a program, whether
50 Finally, any free program is threatened constantly by software
52 program will individually obtain patent licenses, in effect making the
53 program proprietary. To prevent this, we have made it clear that any
62 0. This License applies to any program or other work which contains
64 under the terms of this General Public License. The "Program", below,
65 refers to any such program or work, and a "work based on the Program"
66 means either the Program or any derivative work under copyright law:
67 that is to say, a work containing the Program or a portion of it,
[all …]
/kernel/linux/linux-5.10/LICENSES/preferred/
DGPL-2.035 Foundation's software and to any other program whose authors commit to
52 For example, if you distribute copies of such a program, whether
69 Finally, any free program is threatened constantly by software
71 program will individually obtain patent licenses, in effect making the
72 program proprietary. To prevent this, we have made it clear that any
81 0. This License applies to any program or other work which contains
83 under the terms of this General Public License. The "Program", below,
84 refers to any such program or work, and a "work based on the Program"
85 means either the Program or any derivative work under copyright law:
86 that is to say, a work containing the Program or a portion of it,
[all …]
/kernel/linux/common_modules/
DLICENSES-GPL-2.035 Foundation's software and to any other program whose authors commit to
52 For example, if you distribute copies of such a program, whether
69 Finally, any free program is threatened constantly by software
71 program will individually obtain patent licenses, in effect making the
72 program proprietary. To prevent this, we have made it clear that any
81 0. This License applies to any program or other work which contains
83 under the terms of this General Public License. The "Program", below,
84 refers to any such program or work, and a "work based on the Program"
85 means either the Program or any derivative work under copyright law:
86 that is to say, a work containing the Program or a portion of it,
[all …]
/kernel/linux/linux-6.6/LICENSES/preferred/
DGPL-2.035 Foundation's software and to any other program whose authors commit to
52 For example, if you distribute copies of such a program, whether
69 Finally, any free program is threatened constantly by software
71 program will individually obtain patent licenses, in effect making the
72 program proprietary. To prevent this, we have made it clear that any
81 0. This License applies to any program or other work which contains
83 under the terms of this General Public License. The "Program", below,
84 refers to any such program or work, and a "work based on the Program"
85 means either the Program or any derivative work under copyright law:
86 that is to say, a work containing the Program or a portion of it,
[all …]
/kernel/linux/build/
DLICENSE16 Foundation's software and to any other program whose authors commit to
33 For example, if you distribute copies of such a program, whether
50 Finally, any free program is threatened constantly by software
52 program will individually obtain patent licenses, in effect making the
53 program proprietary. To prevent this, we have made it clear that any
62 0. This License applies to any program or other work which contains
64 under the terms of this General Public License. The "Program", below,
65 refers to any such program or work, and a "work based on the Program"
66 means either the Program or any derivative work under copyright law:
67 that is to say, a work containing the Program or a portion of it,
[all …]
/kernel/linux/common_modules/newip/third_party/linux-5.10/LICENSES/
DGPL-2.035 Foundation's software and to any other program whose authors commit to
52 For example, if you distribute copies of such a program, whether
69 Finally, any free program is threatened constantly by software
71 program will individually obtain patent licenses, in effect making the
72 program proprietary. To prevent this, we have made it clear that any
81 0. This License applies to any program or other work which contains
83 under the terms of this General Public License. The "Program", below,
84 refers to any such program or work, and a "work based on the Program"
85 means either the Program or any derivative work under copyright law:
86 that is to say, a work containing the Program or a portion of it,
[all …]
/kernel/linux/linux-6.6/tools/usb/usbip/
DCOPYING16 Foundation's software and to any other program whose authors commit to
33 For example, if you distribute copies of such a program, whether
50 Finally, any free program is threatened constantly by software
52 program will individually obtain patent licenses, in effect making the
53 program proprietary. To prevent this, we have made it clear that any
62 0. This License applies to any program or other work which contains
64 under the terms of this General Public License. The "Program", below,
65 refers to any such program or work, and a "work based on the Program"
66 means either the Program or any derivative work under copyright law:
67 that is to say, a work containing the Program or a portion of it,
[all …]
/kernel/linux/linux-5.10/tools/usb/usbip/
DCOPYING16 Foundation's software and to any other program whose authors commit to
33 For example, if you distribute copies of such a program, whether
50 Finally, any free program is threatened constantly by software
52 program will individually obtain patent licenses, in effect making the
53 program proprietary. To prevent this, we have made it clear that any
62 0. This License applies to any program or other work which contains
64 under the terms of this General Public License. The "Program", below,
65 refers to any such program or work, and a "work based on the Program"
66 means either the Program or any derivative work under copyright law:
67 that is to say, a work containing the Program or a portion of it,
[all …]
/kernel/linux/linux-6.6/LICENSES/deprecated/
DGPL-1.028 software and to any other program whose authors commit to using it.
43 For example, if you distribute copies of a such a program, whether
65 0. This License Agreement applies to any program or other work which
68 "Program", below, refers to any such program or work, and a "work based
69 on the Program" means either the Program or any work containing the
70 Program or a portion of it, either verbatim or with modifications. Each
73 1. You may copy and distribute verbatim copies of the Program's source
78 other recipients of the Program a copy of this General Public License
79 along with the Program. You may charge a fee for the physical act of
82 2. You may modify your copy or copies of the Program or any portion of
[all …]
/kernel/linux/linux-5.10/LICENSES/deprecated/
DGPL-1.028 software and to any other program whose authors commit to using it.
43 For example, if you distribute copies of a such a program, whether
65 0. This License Agreement applies to any program or other work which
68 "Program", below, refers to any such program or work, and a "work based
69 on the Program" means either the Program or any work containing the
70 Program or a portion of it, either verbatim or with modifications. Each
73 1. You may copy and distribute verbatim copies of the Program's source
78 other recipients of the Program a copy of this General Public License
79 along with the Program. You may charge a fee for the physical act of
82 2. You may modify your copy or copies of the Program or any portion of
[all …]
/kernel/linux/linux-6.6/Documentation/hid/
Dhid-bpf.rst38 HID-BPF allows the userspace program to load the program itself, ensuring we
48 We can reduce this burden by providing an eBPF program instead. Once such a
49 program has been verified by the user, we can embed the source code into the
50 kernel tree and ship the eBPF program and load it directly instead of loading
80 events into wheel events. Also, the userspace program can set/unset the haptic
96 kernel/bpf program because we can intercept any incoming command.
119 program.
128 When a BPF program needs to emit input events, it needs to talk with the HID
144 A ``hid_bpf_device_event`` is calling a BPF program when an event is received from
153 BPF program of this type. This is called on ``probe`` from the driver and allows to
[all …]
/kernel/linux/linux-6.6/Documentation/bpf/
Dbpf_prog_run.rst19 execute a BPF program in the kernel and return the results to userspace. This
44 object and (for program types operating on network packets) a buffer containing
45 the packet data that the BPF program will operate on. The kernel will then
46 execute the program and return the results to userspace. Note that programs will
48 will not actually be redirected or dropped, the program return code will just be
57 be processed by the kernel after the execution of the XDP program as if they
59 ``BPF_F_TEST_XDP_LIVE_FRAMES`` flag when supplying an XDP program to
63 XDP program many times (suitable for, e.g., running as a traffic generator),
67 - When executing an XDP program in live frame mode, the result of the execution
69 operation indicated by the program's return code (drop the packet, redirect
[all …]
Dmap_cgroup_storage.rst11 storage is identified by the cgroup the program is attached to.
13 The map provide a local storage at the cgroup that the BPF program is attached
34 ``attach_type`` is the program's attach type.
42 To access the storage in a program, use ``bpf_get_local_storage``::
67 int program(struct __sk_buff *skb)
102 int program(struct __sk_buff *skb)
131 for a single ``CGROUP_STORAGE`` map, there can be at most one program loaded
132 that uses the map. A program may be attached to multiple cgroups or have
137 non-per-CPU) and the BPF program during load verification time. As a result,
138 each map can only be used by one BPF program and each BPF program can only use
[all …]
Dprog_sk_lookup.rst4 BPF sk_lookup program
7 BPF sk_lookup program type (``BPF_PROG_TYPE_SK_LOOKUP``) introduces programmability
11 When invoked BPF sk_lookup program can select a socket that will receive the
19 BPF sk_lookup program type was introduced to address setup scenarios where
36 BPF sk_lookup program can be attached to a network namespace with
53 verdict code. As for other BPF program types that are network filters,
58 A BPF sk_lookup program can also select a socket to receive the packet by
59 calling ``bpf_sk_assign()`` BPF helper. Typically, the program looks up a socket
62 selection. Selecting a socket only takes effect if the program has terminated
68 1. If any program returned ``SK_PASS`` and selected a valid socket, the socket
[all …]
Dbpf_iterators.rst34 A BPF iterator is a type of BPF program that allows users to iterate over
45 A BPF program is always loaded into the kernel at the behest of a user space
46 process. A user space process loads a BPF program by opening and initializing
47 the program skeleton as required and then invoking a syscall to have the BPF
48 program verified and loaded by the kernel.
50 In traditional tracing programs, a program is activated by having user space
51 obtain a ``bpf_link`` to the program with ``bpf_program__attach()``. Once
52 activated, the program callback will be invoked whenever the tracepoint is
54 program is obtained using ``bpf_link_create()``, and the program callback is
66 a BPF iterator program. To begin, we’ll look at `bpf_iter.c
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
Dxdp_devmap_attach.c30 if (!ASSERT_OK(err, "Generic attach of program with 8-byte devmap")) in test_xdp_with_devmap_helpers()
34 ASSERT_OK(err, "XDP program detach"); in test_xdp_with_devmap_helpers()
44 ASSERT_OK(err, "Add program to devmap entry"); in test_xdp_with_devmap_helpers()
48 ASSERT_EQ(info.id, val.bpf_prog.id, "Match program id to devmap entry prog_id"); in test_xdp_with_devmap_helpers()
50 /* can not attach BPF_XDP_DEVMAP program to a device */ in test_xdp_with_devmap_helpers()
52 if (!ASSERT_NEQ(err, 0, "Attach of BPF_XDP_DEVMAP program")) in test_xdp_with_devmap_helpers()
58 ASSERT_NEQ(err, 0, "Add non-BPF_XDP_DEVMAP program to devmap entry"); in test_xdp_with_devmap_helpers()
60 /* Try to attach BPF_XDP program with frags to devmap when we have in test_xdp_with_devmap_helpers()
61 * already loaded a BPF_XDP program on the map in test_xdp_with_devmap_helpers()
67 ASSERT_NEQ(err, 0, "Add BPF_XDP program with frags to devmap entry"); in test_xdp_with_devmap_helpers()
[all …]
Dxdp_cpumap_attach.c28 if (!ASSERT_OK(err, "Generic attach of program with 8-byte CPUMAP")) in test_xdp_with_cpumap_helpers()
32 ASSERT_OK(err, "XDP program detach"); in test_xdp_with_cpumap_helpers()
42 ASSERT_OK(err, "Add program to cpumap entry"); in test_xdp_with_cpumap_helpers()
46 ASSERT_EQ(info.id, val.bpf_prog.id, "Match program id to cpumap entry prog_id"); in test_xdp_with_cpumap_helpers()
48 /* can not attach BPF_XDP_CPUMAP program to a device */ in test_xdp_with_cpumap_helpers()
50 if (!ASSERT_NEQ(err, 0, "Attach of BPF_XDP_CPUMAP program")) in test_xdp_with_cpumap_helpers()
56 ASSERT_NEQ(err, 0, "Add non-BPF_XDP_CPUMAP program to cpumap entry"); in test_xdp_with_cpumap_helpers()
58 /* Try to attach BPF_XDP program with frags to cpumap when we have in test_xdp_with_cpumap_helpers()
59 * already loaded a BPF_XDP program on the map in test_xdp_with_cpumap_helpers()
65 ASSERT_NEQ(err, 0, "Add BPF_XDP program with frags to cpumap entry"); in test_xdp_with_cpumap_helpers()
[all …]
/kernel/linux/linux-5.10/Documentation/bpf/
Dmap_cgroup_storage.rst11 storage is identified by the cgroup the program is attached to.
13 The map provide a local storage at the cgroup that the BPF program is attached
34 ``attach_type`` is the the program's attach type.
42 To access the storage in a program, use ``bpf_get_local_storage``::
67 int program(struct __sk_buff *skb)
102 int program(struct __sk_buff *skb)
131 for a single ``CGROUP_STORAGE`` map, there can be at most one program loaded
132 that uses the map. A program may be attached to multiple cgroups or have
137 non-per-CPU) and the BPF program during load verification time. As a result,
138 each map can only be used by one BPF program and each BPF program can only use
[all …]
Dprog_sk_lookup.rst4 BPF sk_lookup program
7 BPF sk_lookup program type (``BPF_PROG_TYPE_SK_LOOKUP``) introduces programmability
11 When invoked BPF sk_lookup program can select a socket that will receive the
19 BPF sk_lookup program type was introduced to address setup scenarios where
36 BPF sk_lookup program can be attached to a network namespace with
53 verdict code. As for other BPF program types that are network filters,
58 A BPF sk_lookup program can also select a socket to receive the packet by
59 calling ``bpf_sk_assign()`` BPF helper. Typically, the program looks up a socket
62 selection. Selecting a socket only takes effect if the program has terminated
68 1. If any program returned ``SK_PASS`` and selected a valid socket, the socket
[all …]
Dprog_cgroup_sockopt.rst7 ``BPF_PROG_TYPE_CGROUP_SOCKOPT`` program type can be attached to two
26 If BPF program sets ``optlen`` to -1, the control will be returned
38 * ``1`` - success, continue with next BPF program in the cgroup chain.
62 the BPF program from the parent cgroup).
76 the programs are executed from the bottom up: B, A. First program
79 control will be passed to the second (A) program which will see the
82 Same for ``BPF_CGROUP_SETSOCKOPT``: if the program is attached to
85 then the next program in the chain (A) will see those changes,
91 When the ``optval`` is greater than the ``PAGE_SIZE``, the BPF program
96 done by the BPF program to the ``optval`` are ignored.
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
Dbpf_misc.h8 * The test_loader sequentially loads each program in a skeleton.
19 * For test filtering purposes the name of the program loaded in
20 * unprivileged mode is derived from the usual program name by adding
27 * __success Expect program load success in privileged mode.
28 * __success_unpriv Expect program load success in unprivileged mode.
30 * __failure Expect program load failure in privileged mode.
31 * __failure_unpriv Expect program load failure in unprivileged mode.
33 * __retval Execute the program using BPF_PROG_TEST_RUN command,
40 * __retval_unpriv Same, but load program in unprivileged mode.
42 * __description Text to be used instead of a program name for display
[all …]
/kernel/linux/linux-6.6/include/linux/
Dhid_bpf.h27 * @index: program index in the jump table. No special meaning (a smaller index
28 * doesn't mean the program will be executed before another program with
35 * by the HID program.
42 * program.
47 * @retval: Return value of the previous program.
61 * enum hid_bpf_attach_flags - flags used when attaching a HIF-BPF program
64 * insert the program
65 * @HID_BPF_FLAG_INSERT_HEAD: insert the given program before any other program
67 * guarantee that this program will always be first
130 u8 *device_data; /* allocated when a bpf program of type
[all …]
/kernel/linux/linux-6.6/drivers/fpga/
Dlattice-sysconfig.c91 struct gpio_desc *program = priv->program; in sysconfig_gpio_refresh() local
97 gpiod_set_value(program, 1); in sysconfig_gpio_refresh()
106 /* Enter program mode */ in sysconfig_gpio_refresh()
107 gpiod_set_value(program, 0); in sysconfig_gpio_refresh()
128 struct gpio_desc *program = priv->program; in sysconfig_refresh() local
132 if (program && init && done) in sysconfig_refresh()
285 /* Enter program mode */ in sysconfig_ops_write_init()
288 dev_err(dev, "Failed to go to program mode\n"); in sysconfig_ops_write_init()
355 struct gpio_desc *program, *init, *done; in sysconfig_probe() local
370 program = devm_gpiod_get_optional(dev, "program", GPIOD_OUT_LOW); in sysconfig_probe()
[all …]
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-stmpe.c104 u16 program[3] = { in stmpe_24xx_pwm_config() local
157 program[0] = SMAX; /* off all the time */ in stmpe_24xx_pwm_config()
160 program[0] = LOAD | 0xff; /* LOAD 0xff */ in stmpe_24xx_pwm_config()
165 program[0] = SMIN; /* on all the time */ in stmpe_24xx_pwm_config()
168 program[0] = LOAD | 0x00; /* LOAD 0x00 */ in stmpe_24xx_pwm_config()
191 /* Run the old program */ in stmpe_24xx_pwm_config()
198 program[0] = LOAD | value; in stmpe_24xx_pwm_config()
199 program[1] = 0x0000; in stmpe_24xx_pwm_config()
201 /* STMPE2401 need a complex program */ in stmpe_24xx_pwm_config()
212 program[0] = PRESCALE_512 | STEPTIME_1 | incdec; in stmpe_24xx_pwm_config()
[all …]

12345678910>>...291