| /kernel/linux/linux-6.6/Documentation/filesystems/ |
| D | inotify.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Inotify - A Powerful yet Simple File Change Notification System 13 - Deleted obsoleted interface, just refer to manpages for user interface. 18 What is the design decision behind not tying the watch to the open fd of 29 What is the design decision behind using an-fd-per-instance as opposed to 30 an fd-per-watch? 33 An fd-per-watch quickly consumes more file descriptors than are allowed, 34 more fd's than are feasible to manage, and more fd's than are optimally 35 select()-able. Yes, root can bump the per-process fd limit and yes, users 36 can use epoll, but requiring both is a silly and extraneous requirement. [all …]
|
| /kernel/linux/linux-5.10/Documentation/filesystems/ |
| D | inotify.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Inotify - A Powerful yet Simple File Change Notification System 13 - Deleted obsoleted interface, just refer to manpages for user interface. 18 What is the design decision behind not tying the watch to the open fd of 29 What is the design decision behind using an-fd-per-instance as opposed to 30 an fd-per-watch? 33 An fd-per-watch quickly consumes more file descriptors than are allowed, 34 more fd's than are feasible to manage, and more fd's than are optimally 35 select()-able. Yes, root can bump the per-process fd limit and yes, users 36 can use epoll, but requiring both is a silly and extraneous requirement. [all …]
|
| /kernel/linux/linux-5.10/tools/bpf/bpftool/ |
| D | struct_ops.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 51 t = btf__type_by_id(kern_btf, info->btf_vmlinux_value_type_id); in get_kern_struct_ops_name() 52 st_ops_name = btf__name_by_offset(kern_btf, t->name_off); in get_kern_struct_ops_name() 74 p_err("can't find bpf_map_info from btf_vmlinux"); in get_map_info_type_id() 80 map_info_alloc_len = map_info_type->size; in get_map_info_type_id() 119 * It returns the fd in "*res_fd" and map_info in "*info". 120 * In the very first iteration, info->id should be 0. 121 * An optional map "*name" filter can be specified. 122 * The filter can be made more flexible in the future. 123 * e.g. filter by kernel-struct-ops-name, regex-name, glob-name, ...etc. [all …]
|
| /kernel/linux/linux-6.6/include/linux/can/ |
| D | length.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2020 Marc Kleine-Budde <kernel@pengutronix.de> 11 #include <linux/can.h> 12 #include <linux/can/netlink.h> 16 * Size of a Classical CAN Standard Frame header in bits 19 * --------------------------------------------------------- 26 * FD Format indicator (FDF) 1 34 * Size of a Classical CAN Extended Frame header in bits 37 * --------------------------------------------------------- 46 * FD Format indicator (FDF) 1 [all …]
|
| /kernel/linux/linux-6.6/tools/bpf/bpftool/ |
| D | struct_ops.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 51 t = btf__type_by_id(kern_btf, info->btf_vmlinux_value_type_id); in get_kern_struct_ops_name() 52 st_ops_name = btf__name_by_offset(kern_btf, t->name_off); in get_kern_struct_ops_name() 72 p_err("can't find bpf_map_info from btf_vmlinux"); in get_map_info_type_id() 78 map_info_alloc_len = map_info_type->size; in get_map_info_type_id() 117 * It returns the fd in "*res_fd" and map_info in "*info". 118 * In the very first iteration, info->id should be 0. 119 * An optional map "*name" filter can be specified. 120 * The filter can be made more flexible in the future. 121 * e.g. filter by kernel-struct-ops-name, regex-name, glob-name, ...etc. [all …]
|
| D | common.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /* Copyright (C) 2017-2018 Netronome Systems, Inc. */ 81 /* Probe whether kernel switched from memlock-based (RLIMIT_MEMLOCK) to 82 * memcg-based memory accounting for BPF maps and programs. This was done in 83 * commit 97306be45fbe ("Merge branch 'switch to memcg-based memory 86 * Libbpf also offers to probe for memcg-based accounting vs rlimit, but does 90 * Instead, we can probe by lowering the process-based rlimit to 0, trying to 92 * memcg-based accounting is supported. 96 * that bpftool is single-threaded, this is fine to do here. 158 "mount --make-private %s failed: %s", in mnt_fs() [all …]
|
| /kernel/linux/linux-6.6/Documentation/networking/ |
| D | can.rst | 2 SocketCAN - Controller Area Network 8 The socketcan package is an implementation of CAN protocols 9 (Controller Area Network) for Linux. CAN is a networking technology 11 automotive fields. While there have been other CAN implementations 13 socket API, the Linux network stack and implements the CAN device 14 drivers as network interfaces. The CAN socket API has been designed 16 familiar with network programming, to easily learn how to use CAN 20 .. _socketcan-motivation: 25 There have been CAN implementations for Linux before SocketCAN so the 27 implementations come as a device driver for some CAN hardware, they [all …]
|
| D | phonet.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 ------------ 12 and RPC. With the Linux Phonet socket family, Linux host processes can 16 Phonet packets can be exchanged through various hardware connections 19 - USB with the CDC Phonet interface, 20 - infrared, 21 - Bluetooth, 22 - an RS232 serial port (with a dedicated "FBUS" line discipline), 23 - the SSI bus with some TI OMAP processors. 27 -------------- [all …]
|
| D | tuntap.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 Copyright |copy| 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com> 11 Copyright |copy| 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com> 14 Copyright |copy| 1999-2000 Maksim Yevmenkin <m_evmenkin@yahoo.com> 22 It can be seen as a simple Point-to-Point or Ethernet device, which, 40 br_select.c - bridge based on select system call. 41 br_sigio.c - bridge based on async io and SIGIO signal. 56 There's no harm in allowing the device to be accessible by non-root users, 65 Make sure that "Kernel module loader" - module auto-loading 83 ----------------------------- [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/ |
| D | can.rst | 2 SocketCAN - Controller Area Network 8 The socketcan package is an implementation of CAN protocols 9 (Controller Area Network) for Linux. CAN is a networking technology 11 automotive fields. While there have been other CAN implementations 13 socket API, the Linux network stack and implements the CAN device 14 drivers as network interfaces. The CAN socket API has been designed 16 familiar with network programming, to easily learn how to use CAN 20 .. _socketcan-motivation: 25 There have been CAN implementations for Linux before SocketCAN so the 27 implementations come as a device driver for some CAN hardware, they [all …]
|
| D | phonet.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 ------------ 12 and RPC. With the Linux Phonet socket family, Linux host processes can 16 Phonet packets can be exchanged through various hardware connections 19 - USB with the CDC Phonet interface, 20 - infrared, 21 - Bluetooth, 22 - an RS232 serial port (with a dedicated "FBUS" line discipline), 23 - the SSI bus with some TI OMAP processors. 27 -------------- [all …]
|
| D | tuntap.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 Copyright |copy| 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com> 11 Copyright |copy| 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com> 14 Copyright |copy| 1999-2000 Maksim Yevmenkin <m_evmenkin@yahoo.com> 22 It can be seen as a simple Point-to-Point or Ethernet device, which, 40 br_select.c - bridge based on select system call. 41 br_sigio.c - bridge based on async io and SIGIO signal. 56 There's no harm in allowing the device to be accessible by non-root users, 65 Make sure that "Kernel module loader" - module auto-loading 83 ----------------------------- [all …]
|
| /kernel/linux/linux-5.10/arch/um/kernel/ |
| D | irq.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2017 - Cambridge Greys Ltd 4 * Copyright (C) 2011 - 2014 Cisco Systems Inc 5 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 18 #include <as-layout.h> 27 * we can also have different IRQs for read and write. 28 * This is why we keep a small irq_fd array for each fd - 34 int fd; member 45 * irq->active guards against reentry in irq_io_loop() 46 * irq->pending accumulates pending requests in irq_io_loop() [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/mei/ |
| D | mei.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 resource (Co-processor) residing inside certain Intel chipsets. The Intel ME 18 each client has its own protocol. The protocol is message-based with a 30 The number of instances of an Intel ME feature that can be opened 37 Because some of the Intel ME features can change the system 41 The session is terminated calling :c:expr:`close(fd)`. 46 can use :c:macro:`MEI_CONNECT_CLIENT_IOCTL_VTAG` to create 50 .. code-block:: C 53 fd = open(MEI_DEVICE); 57 ioctl(fd, IOCTL_MEI_CONNECT_CLIENT, &data); [all …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/mei/ |
| D | mei.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 resource (Co-processor) residing inside certain Intel chipsets. The Intel ME 18 each client has its own protocol. The protocol is message-based with a 30 The number of instances of an Intel ME feature that can be opened 37 Because some of the Intel ME features can change the system 41 The session is terminated calling :c:expr:`close(fd)`. 46 can use :c:macro:`MEI_CONNECT_CLIENT_IOCTL_VTAG` to create 50 .. code-block:: C 53 fd = open(MEI_DEVICE); 57 ioctl(fd, IOCTL_MEI_CONNECT_CLIENT, &data); [all …]
|
| /kernel/linux/linux-5.10/tools/spi/ |
| D | spidev_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Cross-compile with cross-gcc -I/path/to/cross-kernel/include 71 while (length-- > 0) { in hex_dump() 91 * Unescape - process hexadecimal escape character 92 * converts shell input "\x23" -> 0x23 118 static void transfer(int fd, uint8_t const *tx, uint8_t const *rx, size_t len) in transfer() argument 150 ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr); in transfer() 152 pabort("can't send spi message"); in transfer() 175 printf("Usage: %s [-DsbdlHOLC3vpNR24SI]\n", prog); in print_usage() 176 puts(" -D --device device to use (default /dev/spidev1.1)\n" in print_usage() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/can/ |
| D | rcar_canfd.txt | 1 Renesas R-Car CAN FD controller Device Tree Bindings 2 ---------------------------------------------------- 5 - compatible: Must contain one or more of the following: 6 - "renesas,rcar-gen3-canfd" for R-Car Gen3 and RZ/G2 compatible controllers. 7 - "renesas,r8a774a1-canfd" for R8A774A1 (RZ/G2M) compatible controller. 8 - "renesas,r8a774b1-canfd" for R8A774B1 (RZ/G2N) compatible controller. 9 - "renesas,r8a774c0-canfd" for R8A774C0 (RZ/G2E) compatible controller. 10 - "renesas,r8a774e1-canfd" for R8A774E1 (RZ/G2H) compatible controller. 11 - "renesas,r8a7795-canfd" for R8A7795 (R-Car H3) compatible controller. 12 - "renesas,r8a7796-canfd" for R8A7796 (R-Car M3-W) compatible controller. [all …]
|
| /kernel/linux/linux-5.10/tools/perf/Documentation/ |
| D | perf-stat.txt | 1 perf-stat(1) 5 ---- 6 perf-stat - Run a command and gather performance counter statistics 9 -------- 11 'perf stat' [-e <EVENT> | --event=EVENT] [-a] <command> 12 'perf stat' [-e <EVENT> | --event=EVENT] [-a] -- <command> [<options>] 13 'perf stat' [-e <EVENT> | --event=EVENT] [-a] record [-o file] -- <command> [<options>] 14 'perf stat' report [-i file] 17 ----------- 23 ------- [all …]
|
| /kernel/linux/linux-6.6/tools/spi/ |
| D | spidev_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Cross-compile with cross-gcc -I/path/to/cross-kernel/include 71 while (length-- > 0) { in hex_dump() 91 * Unescape - process hexadecimal escape character 92 * converts shell input "\x23" -> 0x23 118 static void transfer(int fd, uint8_t const *tx, uint8_t const *rx, size_t len) in transfer() argument 150 ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr); in transfer() 152 pabort("can't send spi message"); in transfer() 175 printf("Usage: %s [-2348CDFHILMNORSZbdilopsv]\n", prog); in print_usage() 177 " -D --device device to use (default /dev/spidev1.1)\n" in print_usage() [all …]
|
| /kernel/linux/linux-6.6/Documentation/networking/device_drivers/can/ctu/ |
| D | ctucanfd-driver.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 3 CTU CAN FD Driver 9 About CTU CAN FD IP Core 10 ------------------------ 12 `CTU CAN FD <https://gitlab.fel.cvut.cz/canbus/ctucanfd_ip_core>`_ 19 `Vivado integration <https://gitlab.fel.cvut.cz/canbus/zynq/zynq-can-sja1000-top>`_ 20 and Intel Cyclone V 5CSEMA4U23C6 based DE0-Nano-SoC Terasic board 21 `QSys integration <https://gitlab.fel.cvut.cz/canbus/intel-soc-ctucanfd>`_ 23 `PCIe integration <https://gitlab.fel.cvut.cz/canbus/pcie-ctucanfd>`_ of the core. 30 The basic functional model of the CTU CAN FD peripheral has been [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | standard.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 20 Applications can use the predefined bits to select a particular 34 band. Enumeration gives a "PAL-B/G" or "PAL-I" choice. Similar a 35 Composite input may collapse standards, enumerating "PAL-B/G/H/I", 36 "NTSC-M" and "SECAM-D/K". [#f1]_ 41 *received* standard can be sensed with the 47 :ref:`v4l2_std_id <v4l2-std-id>` type (a standard set), *not* an 55 - incapable of capturing fields or frames at the nominal rate of the 58 - that does not support the video standard formats at all. 66 Applications can make use of the :ref:`input-capabilities` and [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/ |
| D | standard.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 20 Applications can use the predefined bits to select a particular 34 band. Enumeration gives a "PAL-B/G" or "PAL-I" choice. Similar a 35 Composite input may collapse standards, enumerating "PAL-B/G/H/I", 36 "NTSC-M" and "SECAM-D/K". [#f1]_ 41 *received* standard can be sensed with the 47 :ref:`v4l2_std_id <v4l2-std-id>` type (a standard set), *not* an 55 - incapable of capturing fields or frames at the nominal rate of the 58 - that does not support the video standard formats at all. 66 Applications can make use of the :ref:`input-capabilities` and [all …]
|
| /kernel/linux/linux-6.6/arch/um/kernel/ |
| D | irq.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2017 - Cambridge Greys Ltd 4 * Copyright (C) 2011 - 2014 Cisco Systems Inc 5 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 18 #include <as-layout.h> 23 #include <linux/time-internal.h> 27 * we can also have different IRQs for read and write. 28 * This is why we keep a small irq_reg array for each fd - 49 int fd; member 63 * irq->active guards against reentry in irq_io_loop() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| D | test_tcp_check_syncookie_user.c | 1 // SPDX-License-Identifier: GPL-2.0 23 int fd; in start_server() local 25 fd = socket(addr->sa_family, SOCK_STREAM, 0); in start_server() 26 if (fd == -1) { in start_server() 31 if (bind(fd, addr, len) == -1) { in start_server() 36 if (listen(fd, 128) == -1) { in start_server() 44 close(fd); in start_server() 45 fd = -1; in start_server() 47 return fd; in start_server() 54 int fd = -1; in connect_to_server() local [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/mincore/ |
| D | mincore_selftest.c | 1 // SPDX-License-Identifier: GPL-2.0+ 47 EXPECT_EQ(-1, retval); in TEST() 52 MAP_SHARED | MAP_ANONYMOUS, -1, 0); in TEST() 57 /* <addr> argument is not page-aligned */ in TEST() 60 EXPECT_EQ(-1, retval); in TEST() 65 retval = mincore(addr, -1, vec); in TEST() 66 EXPECT_EQ(-1, retval); in TEST() 72 EXPECT_EQ(-1, retval); in TEST() 81 * but after accessing it (on-demand allocation). 82 * Then free the page and check that it's not memory-resident. [all …]
|