| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | q_in_q_veto.sh | 2 # SPDX-License-Identifier: GPL-2.0 28 ip link set dev $swp1 up 29 ip link set dev $swp2 up 38 ip link set dev $swp2 down 39 ip link set dev $swp1 down 51 ip link set dev br0 addrgenmode none 53 ip link set dev br0 up 54 ip link set dev $swp1 master br0 58 check_fail $? "$netdev_proto vlan upper creation on top of an $bridge_proto bridge not rejected" 62 | grep -q mlxsw_spectrum [all …]
|
| /linux/drivers/media/pci/bt8xx/ |
| H A D | bttv-risc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 bttv-risc.c -- interfaces to other kernel modules 7 - memory management 8 - generation 10 (c) 2000-2003 Gerd Knorr <kraxel@bytesex.org> 25 #include <media/v4l2-ioctl.h> 31 /* ---------------------------------------------------------- */ 54 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions)) < 0) in bttv_risc_packed() 58 rp = risc->cpu; in bttv_risc_packed() 62 while (skip_lines-- > 0) { in bttv_risc_packed() [all …]
|
| /linux/tools/perf/ |
| H A D | builtin-top.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * builtin-top.c 5 * Builtin top command: Display a continuously updated profile of 24 #include "util/bpf-event.h" 40 #include "util/synthetic-events.h" 41 #include "util/top.h" 44 #include <subcmd/parse-options.h> 45 #include "util/parse-events.h" 52 #include "util/parse-branch-options.h" 57 #include "util/ordered-events.h" [all …]
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-config.txt | 1 perf-config(1) 5 ---- 6 perf-config - Get and set variables in a configuration file. 9 -------- 11 'perf config' [<file-option>] [section.name[=value] ...] 13 'perf config' [<file-option>] -l | --list 16 ----------- 20 ------- 22 -l:: 23 --list:: [all …]
|
| /linux/tools/tracing/rtla/tests/ |
| H A D | timerlat.t | 2 # SPDX-License-Identifier: GPL-2.0 9 if ldd $RTLA | grep libbpf >/dev/null && [ -d "$timerlat_sample_event" ] 24 "timerlat --help" 0 "timerlat version" 25 check "verify -s/--stack" \ 26 "timerlat top -s 3 -T 10 -t" 2 "Blocking thread stack trace" 27 check "verify -P/--priority" \ 28 …"timerlat top -P F:1 -c 0 -d 10s -q -T 1 --on-threshold shell,command=\"tests/scripts/check-priori… 29 2 "Priorities are set correctly" 31 "timerlat top -i 2 -c 0 -n -d 10s" 2 "ns" 32 check "set the automatic trace mode" \ [all …]
|
| H A D | osnoise.t | 2 # SPDX-License-Identifier: GPL-2.0 9 "osnoise --help" 0 "osnoise version" 10 check "verify the --priority/-P param" \ 11 …"osnoise top -P F:1 -c 0 -r 900000 -d 10s -q -S 1 --on-threshold shell,command=\"tests/scripts/che… 12 2 "Priorities are set correctly" 13 check "verify the --stop/-s param" \ 14 "osnoise top -s 30 -T 1" 2 "osnoise hit stop tracing" 15 check "verify the --trace param" \ 16 "osnoise hist -s 30 -T 1 -t" 2 "Saving trace to osnoise_trace.txt" 17 check "verify the --entries/-E param" \ [all …]
|
| /linux/tools/tracing/rtla/src/ |
| H A D | timerlat_top.c | 1 // SPDX-License-Identifier: GPL-2.0 49 * timerlat_free_top - free runtime data 53 free(data->cpu_data); in timerlat_free_top() 59 timerlat_free_top(tool->data); in timerlat_free_top_tool() 64 * timerlat_alloc_histogram - alloc runtime data 75 data->nr_cpus = nr_cpus; in timerlat_alloc_top() 77 /* one set of histograms per CPU */ in timerlat_alloc_top() 78 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in timerlat_alloc_top() 79 if (!data->cpu_data) in timerlat_alloc_top() 82 /* set the min to max */ in timerlat_alloc_top() [all …]
|
| H A D | osnoise_top.c | 1 // SPDX-License-Identifier: GPL-2.0 38 * osnoise_free_top - free runtime data 42 free(data->cpu_data); in osnoise_free_top() 48 osnoise_free_top(tool->data); in osnoise_free_top_tool() 52 * osnoise_alloc_histogram - alloc runtime data 62 data->nr_cpus = nr_cpus; in osnoise_alloc_top() 64 /* one set of histograms per CPU */ in osnoise_alloc_top() 65 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in osnoise_alloc_top() 66 if (!data->cpu_data) in osnoise_alloc_top() 77 * osnoise_top_handler - this is the handler for osnoise tracer events [all …]
|
| H A D | osnoise.c | 1 // SPDX-License-Identifier: GPL-2.0 24 * osnoise_get_cpus - return the original "osnoise/cpus" content 30 if (context->curr_cpus) in osnoise_get_cpus() 31 return context->curr_cpus; in osnoise_get_cpus() 33 if (context->orig_cpus) in osnoise_get_cpus() 34 return context->orig_cpus; in osnoise_get_cpus() 36 context->orig_cpus = tracefs_instance_file_read(NULL, "osnoise/cpus", NULL); in osnoise_get_cpus() 42 return context->orig_cpus; in osnoise_get_cpus() 46 * osnoise_set_cpus - configure osnoise to run on *cpus 48 * "osnoise/cpus" file is used to set the cpus in which osnoise/timerlat [all …]
|
| /linux/arch/powerpc/mm/book3s32/ |
| H A D | mmu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * -- paulus 10 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 28 #include <asm/text-patching.h> 60 return bat_addrs[b].phys + (va - bat_addrs[b].start); in v_block_mapped() 72 && pa < (bat_addrs[b].limit-bat_addrs[b].start) in p_block_mapped() 74 return bat_addrs[b].start+(pa-bat_addrs[b].phys); in p_block_mapped() 89 return -1; in find_free_bat() 95 * - max block size is 256 on 6xx. 96 * - base address must be aligned to the block size. So the maximum block size [all …]
|
| /linux/Documentation/tools/rtla/ |
| H A D | rtla-osnoise-top.rst | 1 .. |tool| replace:: osnoise top 4 rtla-osnoise-top 6 ----------------------------------------------- 8 ----------------------------------------------- 14 **rtla osnoise top** [*OPTIONS*] 20 **rtla osnoise top** collects the periodic summary from the *osnoise* tracer, 22 displaying the results in a user-friendly format. 37 In the example below, the **rtla osnoise top** tool is set to run with a 38 real-time priority *FIFO:1*, on CPUs *0-3*, for *900ms* at each period 40 the rtla tool. The tool is also set to run for *one minute* and to display [all …]
|
| /linux/kernel/time/ |
| H A D | timer_migration.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include "tick-internal.h" 34 * GRP0:0 - GRP0:2 GRP0:3 - GRP0:5 37 * CPUS 0-7 8-15 16-23 24-31 32-39 40-47 41 * ignore flag of events is set. 50 * no CPU is active, it also checks the groups where no migrator is set 66 * child, the ignore flag of the tmigr_event is set. This indicates, that 80 * duties up to the top level of the hierarchy (LVL2 in the example). It 86 * --------------- 96 * -------------- [all …]
|
| /linux/Documentation/sound/designs/ |
| H A D | channel-mapping-api.rst | 2 ALSA PCM channel-mapping API 38 the kernel/user-space ABI perspective. It uses only the existing 57 --- 61 ``type data-bytes ch0 ch1 ch2...`` 71 type is where pair-wise channels are swappable. For example, when you 88 /* this follows the alsa-lib mixer channel value + 3 */ 108 SNDRV_CHMAP_TC, /* top center */ 109 SNDRV_CHMAP_TFL, /* top front left */ 110 SNDRV_CHMAP_TFR, /* top front right */ 111 SNDRV_CHMAP_TFC, /* top front center */ [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | selection-api-configuration.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 20 :ref:`constraint flags <v4l2-selection-flags>`. 26 See figure :ref:`sel-targets-capture` for examples of the selection 30 The range of coordinates of the top left corner, width and height of 32 target. It is recommended for the driver developers to put the top/left 36 The top left corner, width and height of the source rectangle, that is 45 driver writer considers the complete picture. Drivers shall set the 51 coordinates are expressed in pixels. The rectangle's top/left corner 53 the image size set by :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`. 63 :ref:`constraint flags <v4l2-selection-flags>`. [all …]
|
| H A D | dev-overlay.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 11 Video overlay devices have the ability to genlock (TV-)video into the 12 (VGA-)video signal of a graphics card, or to store captured images 48 Devices supporting the video overlay interface set the 62 :ref:`streaming parameter <streaming-par>` ioctls as needed. The 76 set these parameters, respectively. The :ref:`VIDIOC_S_FBUF <VIDIOC_G_FBUF>` ioctl is 77 privileged because it allows to set up DMA into physical memory, 80 supposed to run TV applications as root or with SUID bit set. A small 93 1. Chroma-keying displays the overlaid image only where pixels in the 98 the overlaid image. When the bit is set, the corresponding video [all …]
|
| H A D | field-order.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _field-order: 29 combine to frames. We distinguish between top (aka odd) and bottom (aka 30 even) fields, the *spatial order*: The first line of the top field is 35 whether a frame commences with the top or bottom field is pointless. Any 36 two successive top and bottom, or bottom and top fields yield a valid 41 Counter to intuition the top field is not necessarily the older field. 42 Whether the older field contains the top or bottom lines is a convention 48 bus in the same order they were captured, so if the top field was 49 captured first (is the older field), the top field is also transmitted [all …]
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | br_netfilter.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 # setup is: ns1 <->,ns0 <-> ns3 10 # ns2 <-' `'-> ns4 14 checktool "nft --version" "run test without nft tool" 17 if [ "$t" -n [all...] |
| /linux/drivers/net/ethernet/dec/tulip/ |
| H A D | pnic2.c | 5 Written/copyright 1994-2001 by Donald Becker. 15 /* Understanding the PNIC_II - everything is this file is based 24 * ----- 25 * Bit 24 - SCR 26 * Bit 23 - PCS 27 * Bit 22 - TTM (Trasmit Threshold Mode) 28 * Bit 18 - Port Select 29 * Bit 13 - Start - 1, Stop - 0 Transmissions 30 * Bit 11:10 - Loop Back Operation Mode 31 * Bit 9 - Full Duplex mode (Advertise 10BaseT-FD is CSR14<7> is set) [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_lwt_ip_encap.sh | |
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_lan_hmc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2013 - 2018 Intel Corporation. */ 9 /* forward-declare the HW struct for the compiler */ 17 * boundaries. If we do not have the width of the variable set to the correct 18 * size then we could end up shifting bits off the top of the variable when the 19 * variable is at the top of a byte and crosses over into the next byte. 44 u8 prefena; /* NOTE: normally must be set to 1 at init */ 50 * boundaries. If we do not have the width of the variable set to the correct 51 * size then we could end up shifting bits off the top of the variable when the 52 * variable is at the top of a byte and crosses over into the next byte.
|
| /linux/Documentation/locking/ |
| H A D | rt-mutex-design.rst | 2 RT-mutex implementation design 12 Documentation/locking/rt-mutex.rst. Although this document does explain problems 22 ---------------------------- 49 A ---+ 52 C +----+ 54 B +--------> 59 ------------------------- 74 ----------- 80 - The PI chain is an ordered series of locks and processes that cause 86 - In this document, to differentiate from locks that implement [all …]
|
| /linux/arch/powerpc/mm/ |
| H A D | pgtable_32.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * -- paulus 7 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 44 for (; (s32)(FIXADDR_TOP - addr) > 0; in early_ioremap_init() 72 int err = -ENOMEM; in map_kernel_page() 76 /* Use middle 10 bits of VA to index the second-level map */ in map_kernel_page() 83 /* The PTE should never be already set nor present in the in map_kernel_page() 96 static void __init __mapin_ram_chunk(unsigned long offset, unsigned long top) in __mapin_ram_chunk() argument 105 for (; s < top; s += PAGE_SIZE) { in __mapin_ram_chunk() 119 phys_addr_t top = min(end, total_lowmem); in mapin_ram() local [all …]
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_hw_top.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 31 * struct split_pipe_cfg - pipe configuration for dual display panels 47 * @mdp: top level status 56 * struct dpu_vsync_source_cfg - configure vsync source and configure the 78 * struct dpu_hw_mdp_ops - interface to the MDP TOP Hw driver functions 87 * @mdp : mdp top context driver 95 * @mdp : mdp top context driver 102 * setup_clk_force_ctrl - set clock force control 103 * @mdp: mdp top context driver [all …]
|
| /linux/drivers/md/bcache/ |
| H A D | bset.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 * that it also filters out keys of size 0 - these are keys that have been 27 * them on disk, just unnecessary work - so we filter them out when resorting 31 * collection needs to find them to ensure bucket gens don't wrap around - 35 * front or the back of a bkey - this is mainly used for fixing overlapping 45 * 4 in memory - we lazily resort as needed. 48 * (described below) for searching an individial bset, and on top of that we 53 * Most of the code in bcache doesn't care about an individual bset - it needs 62 * Since keys are variable length, we can't use a binary search on a bset - we 68 * into the last (unwritten) set, most of the keys within a given btree node are [all …]
|
| /linux/include/media/ |
| H A D | v4l2-rect.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * v4l2-rect.h - v4l2_rect helper functions 14 * v4l2_rect_set_size_to() - copy the width/height values. 15 * @r: rect whose width and height fields will be set 21 r->width = size->width; in v4l2_rect_set_size_to() 22 r->height = size->height; in v4l2_rect_set_size_to() 26 * v4l2_rect_set_min_size() - width and height of r should be >= min_size. 33 if (r->width < min_size->width) in v4l2_rect_set_min_size() 34 r->width = min_size->width; in v4l2_rect_set_min_size() 35 if (r->height < min_size->height) in v4l2_rect_set_min_size() [all …]
|