Home
last modified time | relevance | path

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

12345678910>>...180

/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 …]
/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 …]
/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 …]
/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 …]
Dprog_cgroup_sysctl.rst7 This document describes ``BPF_PROG_TYPE_CGROUP_SYSCTL`` program type that
17 ``BPF_PROG_TYPE_CGROUP_SYSCTL`` program to a cgroup.
23 BPF program::
49 ``BPF_PROG_TYPE_CGROUP_SYSCTL`` program must return one of the following
55 If program returns ``0`` user space will get ``-1`` from ``read(2)`` or
65 ``/proc/sys`` into provided by BPF program buffer;
68 sysctl into provided by BPF program buffer. This helper is available on both
78 has to be overridden BPF program can set ``file_pos`` to zero before calling
83 BPF program sees sysctl value same way as user space does in proc filesystem,
98 See `test_sysctl_prog.c`_ for an example of BPF program in C that access
[all …]
Dbpf_lsm.rst15 The example shows an eBPF program that can be attached to the ``file_mprotect``
24 for accessing information from the attached eBPF program's context. They can
25 simply declare the structures in the eBPF program and only specify the fields
61 * ``"lsm/file_mprotect"`` indicates the LSM hook that the program must
63 * ``mprotect_audit`` is the name of the eBPF program
71 /* ret is the return value from the previous BPF program
92 also validates all the accesses made to the various types in the eBPF program.
113 and the program can be loaded by including ``my_prog.skel.h`` and using
123 The program can be detached from the LSM hook by *destroying* the ``link``
132 An example eBPF program can be found in
/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 …]
/linux-5.10/include/uapi/linux/
Dauxvec.h11 #define AT_EXECFD 2 /* file descriptor of program */
12 #define AT_PHDR 3 /* program headers for program */
13 #define AT_PHENT 4 /* size of program header entry */
14 #define AT_PHNUM 5 /* number of program headers */
18 #define AT_ENTRY 9 /* entry point of program */
19 #define AT_NOTELF 10 /* program is not ELF */
34 #define AT_EXECFN 31 /* filename of program */
/linux-5.10/drivers/staging/comedi/drivers/
Ddt2815.c28 * [4] - Firmware program configuration
29 * 0 == program 1 (see manual table 5-4)
30 * 1 == program 2 (see manual table 5-4)
31 * 2 == program 3 (see manual table 5-4)
32 * 3 == program 4 (see manual table 5-4)
125 * options[4] Firmware program configuration
126 * 0 == program 1 (see manual table 5-4)
127 * 1 == program 2 (see manual table 5-4)
128 * 2 == program 3 (see manual table 5-4)
129 * 3 == program 4 (see manual table 5-4)
[all …]
/linux-5.10/Documentation/admin-guide/nfs/
Dnfs-idmapper.rst29 ``#OP TYPE DESCRIPTION CALLOUT INFO PROGRAM ARG1 ARG2 ARG3 ...``
34 This will direct all id_resolver requests to the program /usr/sbin/nfs.idmap.
47 program. If you would like to use your own program for a uid lookup then you
50 ``#OP TYPE DESCRIPTION CALLOUT INFO PROGRAM ARG1 ARG2 ARG3 ...``
52 ``create id_resolver uid:* * /some/other/program %k %d 600``
56 Notice that the new line was added above the line for the generic program.
57 request-key will find the first matching line and corresponding program. In
58 this case, /some/other/program will handle all uid lookups and
69 hand". This program takes two arguments, a serialized key and a key
/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dxdp_devmap_attach.c29 /* can not attach program with DEVMAPs that allow programs in test_xdp_with_devmap_helpers()
34 CHECK(err == 0, "Generic attach of program with 8-byte devmap", in test_xdp_with_devmap_helpers()
45 CHECK(err, "Add program to devmap entry", in test_xdp_with_devmap_helpers()
50 CHECK(info.id != val.bpf_prog.id, "Expected program id in devmap entry", in test_xdp_with_devmap_helpers()
53 /* can not attach BPF_XDP_DEVMAP program to a device */ in test_xdp_with_devmap_helpers()
55 CHECK(err == 0, "Attach of BPF_XDP_DEVMAP program", in test_xdp_with_devmap_helpers()
61 CHECK(err == 0, "Add non-BPF_XDP_DEVMAP program to devmap entry", in test_xdp_with_devmap_helpers()
75 "Load of XDP program accessing egress ifindex without attach type", in test_neg_xdp_devmap_helpers()
Dxdp_cpumap_attach.c27 /* can not attach program with cpumaps that allow programs in test_xdp_with_cpumap_helpers()
32 CHECK(err == 0, "Generic attach of program with 8-byte CPUMAP", in test_xdp_with_cpumap_helpers()
43 CHECK(err, "Add program to cpumap entry", "err %d errno %d\n", in test_xdp_with_cpumap_helpers()
48 CHECK(info.id != val.bpf_prog.id, "Expected program id in cpumap entry", in test_xdp_with_cpumap_helpers()
51 /* can not attach BPF_XDP_CPUMAP program to a device */ in test_xdp_with_cpumap_helpers()
53 CHECK(err == 0, "Attach of BPF_XDP_CPUMAP program", in test_xdp_with_cpumap_helpers()
59 CHECK(err == 0, "Add non-BPF_XDP_CPUMAP program to cpumap entry", in test_xdp_with_cpumap_helpers()
/linux-5.10/tools/testing/selftests/bpf/
Dtest_offload.py10 # THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
14 # OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
200 …raise Exception("Time out waiting for program counts to stabilize want %d, have %d" % (expected, n…
466 …raise Exception("Time out waiting for program counts to stabilize want %d/%d, have %d bound, %d lo…
498 "XDP program not reporting in iplink (reported %s, expected %s)" %
648 fail(dev != m["dev"], "Map's device different than program's")
673 fail("prog" in two_xdps, "Base program reported in multi program mode")
675 "Wrong attached program count with two programs")
697 fail("prog" not in xdp, "Base program not reported in single program mode")
699 "Wrong attached program count with one program")
[all …]
/linux-5.10/tools/bpf/bpftool/Documentation/
Dbpftool-cgroup.rst41 Output will start with program ID followed by attach type,
42 attach flags and program name.
55 program ID, attach type, attach flags and program name.
62 Attach program *PROG* to the cgroup *CGROUP* with attach type
66 some bpf program, the program in this cgroup yields to sub-cgroup
67 program; **multi** if a sub-cgroup installs some bpf program,
68 that cgroup program gets run in addition to the program in this
71 Only one program is allowed to be attached to a cgroup with
73 program will release old program and attach the new one.
/linux-5.10/include/trace/events/
Dsunrpc.h139 const char *program,
143 TP_ARGS(clnt, xprt, program, server),
149 __string(program, program)
157 __assign_str(program, program)
161 TP_printk("client=%u peer=[%s]:%s program=%s server=%s",
163 __get_str(program), __get_str(server))
168 const char *program,
173 TP_ARGS(program, server, error),
177 __string(program, program)
183 __assign_str(program, program)
[all …]
/linux-5.10/drivers/char/mwave/
Dsmapi.h10 * This program is free software; you can redistribute it and/or modify
15 * This program is distributed in the hope that it will be useful,
21 * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
26 * distributing the Program and assumes all risks associated with its
28 * the risks and costs of program errors, damage to or loss of data,
37 * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
41 * along with this program; if not, write to the Free Software
Dmwavepub.h11 * This program is free software; you can redistribute it and/or modify
16 * This program is distributed in the hope that it will be useful,
22 * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
27 * distributing the Program and assumes all risks associated with its
29 * the risks and costs of program errors, damage to or loss of data,
38 * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
42 * along with this program; if not, write to the Free Software
/linux-5.10/samples/bpf/
Dtest_cgrp2_sock2.c2 /* eBPF example program:
4 * - Loads eBPF program
6 * The eBPF program loads a filter from file and attaches the
7 * program to a cgroup using BPF_PROG_ATTACH
55 printf("Invalid program id; program not found in file\n"); in main()
Dhbm_out_kern.c4 * This program is free software; you can redistribute it and/or
8 * Sample Host Bandwidth Manager (HBM) BPF program.
10 * A cgroup skb BPF egress program to limit cgroup output bandwidth.
38 * by a cgroup skb BPF program do not automatically trigger a call to
41 * This BPF program actually uses 2 drop thresholds, one threshold
46 * a user program through a shared BPF map. In addition, by default this BPF
47 * program does not limit connections using loopback. This behavior can be
48 * overwritten by the user program. There is also an option to calculate
50 * the user program can access.
52 * A latter patch provides such a program (hbm.c)
/linux-5.10/tools/testing/selftests/kvm/lib/
Delf.c108 * Loads the program image of the ELF file specified by filename,
130 /* For each program header. in kvm_vm_elf_load()
132 * and size of the program headers: in kvm_vm_elf_load()
134 * e_phoff - File offset to start of program headers in kvm_vm_elf_load()
135 * e_phentsize - Size of each program header in kvm_vm_elf_load()
136 * e_phnum - Number of program header entries in kvm_vm_elf_load()
139 /* Seek to the beginning of the program header. */ in kvm_vm_elf_load()
143 "Failed to seek to begining of program header %u,\n" in kvm_vm_elf_load()
148 /* Read in the program header. */ in kvm_vm_elf_load()
186 "Seek to program segment offset failed,\n" in kvm_vm_elf_load()
[all …]
/linux-5.10/Documentation/admin-guide/
Djava.rst8 other program after you have done the following:
60 You, too, need the little program after the script. Compile like::
66 Both the javawrapper shellscript and the javaclassname program
171 * This program is free software; you can redistribute it and/or modify
176 * This program is distributed in the hope that it will be useful,
182 * along with this program; if not, write to the Free Software
210 #define seek_error() error("%s: Cannot seek\n", program)
211 #define corrupt_error() error("%s: Class file corrupt\n", program)
212 #define eof_error() error("%s: Unexpected end of file\n", program)
213 #define utf8_error() error("%s: Only ASCII 1-255 supported\n", program);
[all …]
/linux-5.10/Documentation/misc-devices/
Dspear-pcie-gadget.rst30 and then program its various registers to configure it as a particular device
68 bar0 is SYSRAM1(E0800000). Always program bar size before bar
78 Program all PCIe registers in such a way that when this device is connected
90 program vendor id as 0x104a::
94 program device id as 0xCD80::
98 program BAR0 size as 1MB::
106 Program BAR0 Address as DDR (0x2100000). This is the physical address of
108 can also be made visible to PCIe host. E.g., if you program base address of UART
116 program interrupt type : INTA::
142 if MSI is to be used as interrupt, program no of msi vector needed (say4)::
/linux-5.10/drivers/scsi/smartpqi/
DKconfig10 # This program is free software; you can redistribute it and/or
15 # This program is distributed in the hope that it will be useful,
21 # THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
26 # distributing the Program and assumes all risks associated with its
28 # the risks and costs of program errors, damage to or loss of data,
37 # USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED

12345678910>>...180