Home
last modified time | relevance | path

Searched refs:program (Results 1 – 25 of 709) sorted by relevance

12345678910>>...29

/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()
198 program[0] = LOAD | value; in stmpe_24xx_pwm_config()
199 program[1] = 0x0000; in stmpe_24xx_pwm_config()
212 program[0] = PRESCALE_512 | STEPTIME_1 | incdec; in stmpe_24xx_pwm_config()
215 program[1] = BRANCH; in stmpe_24xx_pwm_config()
220 pwm->hwpwm, value, last, program[0], program[1], in stmpe_24xx_pwm_config()
[all …]
/kernel/linux/linux-5.10/Documentation/bpf/
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 …]
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_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
Dbpf_design_QA.rst94 program can have. The verifier has various internal limits.
96 program analysis. Currently, that limit is set to 1 million.
97 Which essentially means that the largest program can consist
101 a limit to the number of maps used by the program.
102 All these limits can be hit with a sufficiently complex program.
103 There are also non-numerical limits that can cause the program
109 being removed. The only way to know that the program is going to
183 compiling a program. Furthermore, the verifier can now mark the
209 such that the program needs to be adapted accordingly.
211 Q: How much stack space a BPF program uses?
[all …]
/kernel/linux/linux-5.10/tools/bpf/bpftool/Documentation/
Dbpftool-cgroup.rst42 Output will start with program ID followed by attach type,
43 attach flags and program name.
56 program ID, attach type, attach flags and program name.
63 Attach program *PROG* to the cgroup *CGROUP* with attach type
67 some bpf program, the program in this cgroup yields to sub-cgroup
68 program; **multi** if a sub-cgroup installs some bpf program,
69 that cgroup program gets run in addition to the program in this
72 Only one program is allowed to be attached to a cgroup with
74 program will release old program and attach the new one.
Dbpftool-net.rst34 List bpf program attachments in the kernel networking subsystem.
38 program types **BPF_PROG_TYPE_SCHED_CLS**,
47 The current output will start with all xdp program attachments, followed by
48 all tc class/qdisc bpf program attachments. Both xdp programs and
56 Attach bpf program *PROG* to network interface *NAME* with
57 type specified by *ATTACH_TYPE*. Previously attached bpf program
68 Detach bpf program attached to network interface *NAME* with
69 type specified by *ATTACH_TYPE*. To detach bpf program, same
Dbpftool-prog.rst67 Output will start with program ID followed by program type and
71 programs (such as the total time spent running the program,
75 program run. Activation or deactivation of the feature is
91 **visual** is specified, *PROG* must match a single program.
106 Dump jited image (host machine code) of the program.
110 *PROG* must match a single program when **file** is specified.
120 Pin program *PROG* as *FILE*.
127 Load bpf program(s) from binary *OBJ* and pin as *PATH*.
128 **bpftool prog load** pins only the first program from the
131 **type** is optional, if not specified program type will be
[all …]
/kernel/linux/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)
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)
188 __get_str(program), __get_str(server), __entry->error)
[all …]
/kernel/linux/linux-5.10/security/tomoyo/
Ddomain.c231 && p1->program == p2->program; in tomoyo_same_transition_control()
247 char *program = param->data; in tomoyo_write_transition_control() local
248 char *domainname = strstr(program, " from "); in tomoyo_write_transition_control()
255 domainname = program; in tomoyo_write_transition_control()
256 program = NULL; in tomoyo_write_transition_control()
258 if (program && strcmp(program, "any")) { in tomoyo_write_transition_control()
259 if (!tomoyo_correct_path(program)) in tomoyo_write_transition_control()
261 e.program = tomoyo_get_name(program); in tomoyo_write_transition_control()
262 if (!e.program) in tomoyo_write_transition_control()
280 tomoyo_put_name(e.program); in tomoyo_write_transition_control()
[all …]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vidtv/
Dvidtv_psi.c868 struct vidtv_psi_table_pat_program *program; in vidtv_psi_pat_program_init() local
871 program = kzalloc(sizeof(*program), GFP_KERNEL); in vidtv_psi_pat_program_init()
872 if (!program) in vidtv_psi_pat_program_init()
875 program->service_id = cpu_to_be16(service_id); in vidtv_psi_pat_program_init()
878 program->bitfield = cpu_to_be16((RESERVED << 13) | program_map_pid); in vidtv_psi_pat_program_init()
879 program->next = NULL; in vidtv_psi_pat_program_init()
885 head->next = program; in vidtv_psi_pat_program_init()
888 return program; in vidtv_psi_pat_program_init()
909 struct vidtv_psi_table_pat_program *program; in vidtv_psi_pat_program_assign() local
914 program = p; in vidtv_psi_pat_program_assign()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Draw_tp_writable_reject_nbd_invalid.c12 const struct bpf_insn program[] = { in test_raw_tp_writable_reject_nbd_invalid() local
24 .insns = program, in test_raw_tp_writable_reject_nbd_invalid()
25 .insns_cnt = sizeof(program) / sizeof(struct bpf_insn), in test_raw_tp_writable_reject_nbd_invalid()
/kernel/linux/linux-5.10/Documentation/admin-guide/nfs/
Dnfs-idmapper.rst34 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
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
/kernel/linux/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
90 program vendor id as 0x104a::
94 program device id as 0xCD80::
98 program BAR0 size as 1MB::
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)::
/kernel/linux/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 …]
/kernel/linux/linux-5.10/net/netfilter/
Dxt_bpf.c27 struct sock_fprog_kern program; in __bpf_mt_check_bytecode() local
32 program.len = len; in __bpf_mt_check_bytecode()
33 program.filter = insns; in __bpf_mt_check_bytecode()
35 if (bpf_prog_create(ret, &program)) { in __bpf_mt_check_bytecode()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
DLICENSE4 This program is free software; you can redistribute it and/or modify it
8 This program is distributed in the hope that it will be useful, but WITHOUT
14 this program; if not, write to the Free Software Foundation, Inc., 59
/kernel/linux/linux-5.10/arch/nios2/boot/compressed/
Dvmlinux.scr4 * This program is free software; you can redistribute it and/or modify
9 * This program is distributed in the hope that it will be useful,
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Ddt2815.c188 unsigned int program; in dt2815_attach() local
190 program = (it->options[4] & 0x3) << 3 | 0x7; in dt2815_attach()
191 outb(program, dev->iobase + DT2815_DATA); in dt2815_attach()
193 program, i); in dt2815_attach()
/kernel/linux/linux-5.10/arch/arm/nwfpe/
Dfpmodule.inl7 This program is free software; you can redistribute it and/or modify
12 This program is distributed in the hope that it will be useful,
18 along with this program; if not, write to the Free Software
25 As a result the program counter has been advanced to the next
/kernel/linux/linux-5.10/Documentation/leds/
Dleds-lp5562.rst16 LP5562 has the internal program memory for running various LED patterns.
41 How to load the program data using engine_mux
44 Before loading the LP5562 program data, engine_mux should be written between
47 RGB is used for loading RGB program data, W is used for W program data.
/kernel/linux/linux-5.10/Documentation/driver-api/fpga/
Dfpga-programming.rst18 * program the FPGA using info passed in :c:expr:`fpga_region->info`.
22 The struct fpga_image_info specifies what FPGA image to program. It is
26 How to program an FPGA using a region
42 * program.
88 * fpga_image_info() — Specifies what FPGA image to program
/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
96 c) If the modified program normally reads commands interactively when
101 warranty) and that users may redistribute the program under these
130 received the program in object code or executable form alone.)
206 If you develop a new program, and you want it to be of the greatest
211 To do so, attach the following notices to the program. It is safest to
216 <one line to give the program's name and a brief idea of what it does.>
[all …]

12345678910>>...29